Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65395,6 +65395,7 @@ export default {
'acs_entrances',
'connected_accounts',
'acs_systems',
'access_methods',
],
type: 'string',
},
Expand All @@ -65412,6 +65413,7 @@ export default {
'acs_entrances',
'connected_accounts',
'acs_systems',
'access_methods',
],
type: 'string',
},
Expand All @@ -65428,6 +65430,10 @@ export default {
batch: {
description: 'A batch of workspace resources.',
properties: {
access_methods: {
items: { $ref: '#/components/schemas/access_method' },
type: 'array',
},
acs_entrances: {
items: { $ref: '#/components/schemas/acs_entrance' },
type: 'array',
Expand Down Expand Up @@ -65480,6 +65486,7 @@ export default {
'acs_entrances',
'connected_accounts',
'acs_systems',
'access_methods',
],
'x-draft': 'Early access.',
'x-fern-sdk-group-name': ['spaces'],
Expand All @@ -65504,6 +65511,7 @@ export default {
'acs_entrances',
'connected_accounts',
'acs_systems',
'access_methods',
],
type: 'string',
},
Expand All @@ -65517,6 +65525,7 @@ export default {
'acs_entrances',
'connected_accounts',
'acs_systems',
'access_methods',
],
type: 'string',
},
Expand Down Expand Up @@ -65549,6 +65558,10 @@ export default {
batch: {
description: 'A batch of workspace resources.',
properties: {
access_methods: {
items: { $ref: '#/components/schemas/access_method' },
type: 'array',
},
acs_entrances: {
items: { $ref: '#/components/schemas/acs_entrance' },
type: 'array',
Expand Down Expand Up @@ -65601,6 +65614,7 @@ export default {
'acs_entrances',
'connected_accounts',
'acs_systems',
'access_methods',
],
'x-draft': 'Early access.',
'x-fern-sdk-group-name': ['spaces'],
Expand Down
110 changes: 110 additions & 0 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72405,6 +72405,7 @@ export type Routes = {
| 'acs_entrances'
| 'connected_accounts'
| 'acs_systems'
| 'access_methods'
)[]
| undefined
exclude?:
Expand All @@ -72414,6 +72415,7 @@ export type Routes = {
| 'acs_entrances'
| 'connected_accounts'
| 'acs_systems'
| 'access_methods'
)[]
| undefined
}
Expand Down Expand Up @@ -74546,6 +74548,114 @@ export type Routes = {
)[]
}[]
| undefined
access_methods?:
| {
/** ID of the Seam workspace associated with the access method. */
workspace_id: string
/** ID of the access method. */
access_method_id: string
/** Display name of the access method. */
display_name: string
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
mode: 'code' | 'card' | 'mobile_key'
/** Date and time at which the access method was created. */
created_at: string
/** Date and time at which the access method was issued. */
issued_at: string | null
/** Indicates whether the access method has been issued. */
is_issued: boolean
/** URL of the Instant Key for mobile key access methods. */
instant_key_url?: string | undefined
/** Token of the client session associated with the access method. */
client_session_token?: string | undefined
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
is_encoding_required?: boolean | undefined
/** The actual PIN code for code access methods. */
code?: (string | null) | undefined
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
warnings: (
| {
/** Date and time at which Seam created the warning. */
created_at: string
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'being_deleted'
}
| {
/** Date and time at which Seam created the warning. */
created_at: string
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'updating_access_times'
}
)[]
/** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
pending_mutations: (
| {
/** Date and time at which the mutation was created. */
created_at: string
/** Detailed description of the mutation. */
message: string
/** Mutation code to indicate that Seam is in the process of provisioning access for this access method on new devices. */
mutation_code: 'provisioning_access'
/** Previous device configuration. */
from: {
/** Previous device IDs where access was provisioned. */
device_ids: string[]
}
/** New device configuration. */
to: {
/** New device IDs where access is being provisioned. */
device_ids: string[]
}
}
| {
/** Date and time at which the mutation was created. */
created_at: string
/** Detailed description of the mutation. */
message: string
/** Mutation code to indicate that Seam is in the process of revoking access for this access method from devices. */
mutation_code: 'revoking_access'
/** Previous device configuration. */
from: {
/** Previous device IDs where access existed. */
device_ids: string[]
}
/** New device configuration. */
to: {
/** New device IDs where access should remain. */
device_ids: string[]
}
}
| {
/** Date and time at which the mutation was created. */
created_at: string
/** Detailed description of the mutation. */
message: string
/** Mutation code to indicate that Seam is in the process of updating the access times for this access method. */
mutation_code: 'updating_access_times'
/** Previous access time configuration. */
from: {
/** Previous start time for access. */
starts_at: string | null
/** Previous end time for access. */
ends_at: string | null
}
/** New access time configuration. */
to: {
/** New start time for access. */
starts_at: string | null
/** New end time for access. */
ends_at: string | null
}
}
)[]
/** ID of the customization profile associated with the access method. */
customization_profile_id?: string | undefined
}[]
| undefined
}
}
maxDuration: undefined
Expand Down
Loading