@seamapi/types 1.726.0 → 1.727.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +20 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +113 -2
- package/dist/index.cjs +20 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +12 -0
- package/lib/seam/connect/openapi.js +14 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +101 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +14 -0
- package/src/lib/seam/connect/route-types.ts +110 -0
|
@@ -10456,8 +10456,8 @@ export type Routes = {
|
|
|
10456
10456
|
access_grant_ids?: string[] | undefined;
|
|
10457
10457
|
/** Keys of the access grants that you want to get along with their related resources. */
|
|
10458
10458
|
access_grant_keys?: string[] | undefined;
|
|
10459
|
-
include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups')[] | undefined;
|
|
10460
|
-
exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups')[] | undefined;
|
|
10459
|
+
include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups' | 'access_methods')[] | undefined;
|
|
10460
|
+
exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups' | 'access_methods')[] | undefined;
|
|
10461
10461
|
};
|
|
10462
10462
|
formData: {};
|
|
10463
10463
|
jsonResponse: {
|
|
@@ -12248,6 +12248,105 @@ export type Routes = {
|
|
|
12248
12248
|
})[];
|
|
12249
12249
|
is_managed: true;
|
|
12250
12250
|
}[] | undefined;
|
|
12251
|
+
access_methods?: {
|
|
12252
|
+
/** ID of the Seam workspace associated with the access method. */
|
|
12253
|
+
workspace_id: string;
|
|
12254
|
+
/** ID of the access method. */
|
|
12255
|
+
access_method_id: string;
|
|
12256
|
+
/** Display name of the access method. */
|
|
12257
|
+
display_name: string;
|
|
12258
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
12259
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
12260
|
+
/** Date and time at which the access method was created. */
|
|
12261
|
+
created_at: string;
|
|
12262
|
+
/** Date and time at which the access method was issued. */
|
|
12263
|
+
issued_at: string | null;
|
|
12264
|
+
/** Indicates whether the access method has been issued. */
|
|
12265
|
+
is_issued: boolean;
|
|
12266
|
+
/** URL of the Instant Key for mobile key access methods. */
|
|
12267
|
+
instant_key_url?: string | undefined;
|
|
12268
|
+
/** Token of the client session associated with the access method. */
|
|
12269
|
+
client_session_token?: string | undefined;
|
|
12270
|
+
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
12271
|
+
is_encoding_required?: boolean | undefined;
|
|
12272
|
+
/** The actual PIN code for code access methods. */
|
|
12273
|
+
code?: (string | null) | undefined;
|
|
12274
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
12275
|
+
warnings: ({
|
|
12276
|
+
/** Date and time at which Seam created the warning. */
|
|
12277
|
+
created_at: string;
|
|
12278
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
12279
|
+
message: string;
|
|
12280
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12281
|
+
warning_code: 'being_deleted';
|
|
12282
|
+
} | {
|
|
12283
|
+
/** Date and time at which Seam created the warning. */
|
|
12284
|
+
created_at: string;
|
|
12285
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
12286
|
+
message: string;
|
|
12287
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12288
|
+
warning_code: 'updating_access_times';
|
|
12289
|
+
})[];
|
|
12290
|
+
/** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
|
|
12291
|
+
pending_mutations: ({
|
|
12292
|
+
/** Date and time at which the mutation was created. */
|
|
12293
|
+
created_at: string;
|
|
12294
|
+
/** Detailed description of the mutation. */
|
|
12295
|
+
message: string;
|
|
12296
|
+
/** Mutation code to indicate that Seam is in the process of provisioning access for this access method on new devices. */
|
|
12297
|
+
mutation_code: 'provisioning_access';
|
|
12298
|
+
/** Previous device configuration. */
|
|
12299
|
+
from: {
|
|
12300
|
+
/** Previous device IDs where access was provisioned. */
|
|
12301
|
+
device_ids: string[];
|
|
12302
|
+
};
|
|
12303
|
+
/** New device configuration. */
|
|
12304
|
+
to: {
|
|
12305
|
+
/** New device IDs where access is being provisioned. */
|
|
12306
|
+
device_ids: string[];
|
|
12307
|
+
};
|
|
12308
|
+
} | {
|
|
12309
|
+
/** Date and time at which the mutation was created. */
|
|
12310
|
+
created_at: string;
|
|
12311
|
+
/** Detailed description of the mutation. */
|
|
12312
|
+
message: string;
|
|
12313
|
+
/** Mutation code to indicate that Seam is in the process of revoking access for this access method from devices. */
|
|
12314
|
+
mutation_code: 'revoking_access';
|
|
12315
|
+
/** Previous device configuration. */
|
|
12316
|
+
from: {
|
|
12317
|
+
/** Previous device IDs where access existed. */
|
|
12318
|
+
device_ids: string[];
|
|
12319
|
+
};
|
|
12320
|
+
/** New device configuration. */
|
|
12321
|
+
to: {
|
|
12322
|
+
/** New device IDs where access should remain. */
|
|
12323
|
+
device_ids: string[];
|
|
12324
|
+
};
|
|
12325
|
+
} | {
|
|
12326
|
+
/** Date and time at which the mutation was created. */
|
|
12327
|
+
created_at: string;
|
|
12328
|
+
/** Detailed description of the mutation. */
|
|
12329
|
+
message: string;
|
|
12330
|
+
/** Mutation code to indicate that Seam is in the process of updating the access times for this access method. */
|
|
12331
|
+
mutation_code: 'updating_access_times';
|
|
12332
|
+
/** Previous access time configuration. */
|
|
12333
|
+
from: {
|
|
12334
|
+
/** Previous start time for access. */
|
|
12335
|
+
starts_at: string | null;
|
|
12336
|
+
/** Previous end time for access. */
|
|
12337
|
+
ends_at: string | null;
|
|
12338
|
+
};
|
|
12339
|
+
/** New access time configuration. */
|
|
12340
|
+
to: {
|
|
12341
|
+
/** New start time for access. */
|
|
12342
|
+
starts_at: string | null;
|
|
12343
|
+
/** New end time for access. */
|
|
12344
|
+
ends_at: string | null;
|
|
12345
|
+
};
|
|
12346
|
+
})[];
|
|
12347
|
+
/** ID of the customization profile associated with the access method. */
|
|
12348
|
+
customization_profile_id?: string | undefined;
|
|
12349
|
+
}[] | undefined;
|
|
12251
12350
|
};
|
|
12252
12351
|
};
|
|
12253
12352
|
maxDuration: undefined;
|
package/package.json
CHANGED
|
@@ -33038,6 +33038,7 @@ export default {
|
|
|
33038
33038
|
'acs_systems',
|
|
33039
33039
|
'user_identities',
|
|
33040
33040
|
'acs_access_groups',
|
|
33041
|
+
'access_methods',
|
|
33041
33042
|
],
|
|
33042
33043
|
type: 'string',
|
|
33043
33044
|
},
|
|
@@ -33057,6 +33058,7 @@ export default {
|
|
|
33057
33058
|
'acs_systems',
|
|
33058
33059
|
'user_identities',
|
|
33059
33060
|
'acs_access_groups',
|
|
33061
|
+
'access_methods',
|
|
33060
33062
|
],
|
|
33061
33063
|
type: 'string',
|
|
33062
33064
|
},
|
|
@@ -33073,6 +33075,10 @@ export default {
|
|
|
33073
33075
|
batch: {
|
|
33074
33076
|
description: 'A batch of workspace resources.',
|
|
33075
33077
|
properties: {
|
|
33078
|
+
access_methods: {
|
|
33079
|
+
items: { $ref: '#/components/schemas/access_method' },
|
|
33080
|
+
type: 'array',
|
|
33081
|
+
},
|
|
33076
33082
|
acs_access_groups: {
|
|
33077
33083
|
items: {
|
|
33078
33084
|
$ref: '#/components/schemas/acs_access_group',
|
|
@@ -33136,6 +33142,7 @@ export default {
|
|
|
33136
33142
|
'acs_systems',
|
|
33137
33143
|
'user_identities',
|
|
33138
33144
|
'acs_access_groups',
|
|
33145
|
+
'access_methods',
|
|
33139
33146
|
],
|
|
33140
33147
|
'x-draft': 'Early access.',
|
|
33141
33148
|
'x-fern-sdk-group-name': ['access_grants'],
|
|
@@ -33175,6 +33182,7 @@ export default {
|
|
|
33175
33182
|
'acs_systems',
|
|
33176
33183
|
'user_identities',
|
|
33177
33184
|
'acs_access_groups',
|
|
33185
|
+
'access_methods',
|
|
33178
33186
|
],
|
|
33179
33187
|
type: 'string',
|
|
33180
33188
|
},
|
|
@@ -33190,6 +33198,7 @@ export default {
|
|
|
33190
33198
|
'acs_systems',
|
|
33191
33199
|
'user_identities',
|
|
33192
33200
|
'acs_access_groups',
|
|
33201
|
+
'access_methods',
|
|
33193
33202
|
],
|
|
33194
33203
|
type: 'string',
|
|
33195
33204
|
},
|
|
@@ -33210,6 +33219,10 @@ export default {
|
|
|
33210
33219
|
batch: {
|
|
33211
33220
|
description: 'A batch of workspace resources.',
|
|
33212
33221
|
properties: {
|
|
33222
|
+
access_methods: {
|
|
33223
|
+
items: { $ref: '#/components/schemas/access_method' },
|
|
33224
|
+
type: 'array',
|
|
33225
|
+
},
|
|
33213
33226
|
acs_access_groups: {
|
|
33214
33227
|
items: {
|
|
33215
33228
|
$ref: '#/components/schemas/acs_access_group',
|
|
@@ -33273,6 +33286,7 @@ export default {
|
|
|
33273
33286
|
'acs_systems',
|
|
33274
33287
|
'user_identities',
|
|
33275
33288
|
'acs_access_groups',
|
|
33289
|
+
'access_methods',
|
|
33276
33290
|
],
|
|
33277
33291
|
'x-draft': 'Early access.',
|
|
33278
33292
|
'x-fern-sdk-group-name': ['access_grants'],
|
|
@@ -11786,6 +11786,7 @@ export type Routes = {
|
|
|
11786
11786
|
| 'acs_systems'
|
|
11787
11787
|
| 'user_identities'
|
|
11788
11788
|
| 'acs_access_groups'
|
|
11789
|
+
| 'access_methods'
|
|
11789
11790
|
)[]
|
|
11790
11791
|
| undefined
|
|
11791
11792
|
exclude?:
|
|
@@ -11797,6 +11798,7 @@ export type Routes = {
|
|
|
11797
11798
|
| 'acs_systems'
|
|
11798
11799
|
| 'user_identities'
|
|
11799
11800
|
| 'acs_access_groups'
|
|
11801
|
+
| 'access_methods'
|
|
11800
11802
|
)[]
|
|
11801
11803
|
| undefined
|
|
11802
11804
|
}
|
|
@@ -14064,6 +14066,114 @@ export type Routes = {
|
|
|
14064
14066
|
is_managed: true
|
|
14065
14067
|
}[]
|
|
14066
14068
|
| undefined
|
|
14069
|
+
access_methods?:
|
|
14070
|
+
| {
|
|
14071
|
+
/** ID of the Seam workspace associated with the access method. */
|
|
14072
|
+
workspace_id: string
|
|
14073
|
+
/** ID of the access method. */
|
|
14074
|
+
access_method_id: string
|
|
14075
|
+
/** Display name of the access method. */
|
|
14076
|
+
display_name: string
|
|
14077
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
14078
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
14079
|
+
/** Date and time at which the access method was created. */
|
|
14080
|
+
created_at: string
|
|
14081
|
+
/** Date and time at which the access method was issued. */
|
|
14082
|
+
issued_at: string | null
|
|
14083
|
+
/** Indicates whether the access method has been issued. */
|
|
14084
|
+
is_issued: boolean
|
|
14085
|
+
/** URL of the Instant Key for mobile key access methods. */
|
|
14086
|
+
instant_key_url?: string | undefined
|
|
14087
|
+
/** Token of the client session associated with the access method. */
|
|
14088
|
+
client_session_token?: string | undefined
|
|
14089
|
+
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
14090
|
+
is_encoding_required?: boolean | undefined
|
|
14091
|
+
/** The actual PIN code for code access methods. */
|
|
14092
|
+
code?: (string | null) | undefined
|
|
14093
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
14094
|
+
warnings: (
|
|
14095
|
+
| {
|
|
14096
|
+
/** Date and time at which Seam created the warning. */
|
|
14097
|
+
created_at: string
|
|
14098
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
14099
|
+
message: string
|
|
14100
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14101
|
+
warning_code: 'being_deleted'
|
|
14102
|
+
}
|
|
14103
|
+
| {
|
|
14104
|
+
/** Date and time at which Seam created the warning. */
|
|
14105
|
+
created_at: string
|
|
14106
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
14107
|
+
message: string
|
|
14108
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14109
|
+
warning_code: 'updating_access_times'
|
|
14110
|
+
}
|
|
14111
|
+
)[]
|
|
14112
|
+
/** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
|
|
14113
|
+
pending_mutations: (
|
|
14114
|
+
| {
|
|
14115
|
+
/** Date and time at which the mutation was created. */
|
|
14116
|
+
created_at: string
|
|
14117
|
+
/** Detailed description of the mutation. */
|
|
14118
|
+
message: string
|
|
14119
|
+
/** Mutation code to indicate that Seam is in the process of provisioning access for this access method on new devices. */
|
|
14120
|
+
mutation_code: 'provisioning_access'
|
|
14121
|
+
/** Previous device configuration. */
|
|
14122
|
+
from: {
|
|
14123
|
+
/** Previous device IDs where access was provisioned. */
|
|
14124
|
+
device_ids: string[]
|
|
14125
|
+
}
|
|
14126
|
+
/** New device configuration. */
|
|
14127
|
+
to: {
|
|
14128
|
+
/** New device IDs where access is being provisioned. */
|
|
14129
|
+
device_ids: string[]
|
|
14130
|
+
}
|
|
14131
|
+
}
|
|
14132
|
+
| {
|
|
14133
|
+
/** Date and time at which the mutation was created. */
|
|
14134
|
+
created_at: string
|
|
14135
|
+
/** Detailed description of the mutation. */
|
|
14136
|
+
message: string
|
|
14137
|
+
/** Mutation code to indicate that Seam is in the process of revoking access for this access method from devices. */
|
|
14138
|
+
mutation_code: 'revoking_access'
|
|
14139
|
+
/** Previous device configuration. */
|
|
14140
|
+
from: {
|
|
14141
|
+
/** Previous device IDs where access existed. */
|
|
14142
|
+
device_ids: string[]
|
|
14143
|
+
}
|
|
14144
|
+
/** New device configuration. */
|
|
14145
|
+
to: {
|
|
14146
|
+
/** New device IDs where access should remain. */
|
|
14147
|
+
device_ids: string[]
|
|
14148
|
+
}
|
|
14149
|
+
}
|
|
14150
|
+
| {
|
|
14151
|
+
/** Date and time at which the mutation was created. */
|
|
14152
|
+
created_at: string
|
|
14153
|
+
/** Detailed description of the mutation. */
|
|
14154
|
+
message: string
|
|
14155
|
+
/** Mutation code to indicate that Seam is in the process of updating the access times for this access method. */
|
|
14156
|
+
mutation_code: 'updating_access_times'
|
|
14157
|
+
/** Previous access time configuration. */
|
|
14158
|
+
from: {
|
|
14159
|
+
/** Previous start time for access. */
|
|
14160
|
+
starts_at: string | null
|
|
14161
|
+
/** Previous end time for access. */
|
|
14162
|
+
ends_at: string | null
|
|
14163
|
+
}
|
|
14164
|
+
/** New access time configuration. */
|
|
14165
|
+
to: {
|
|
14166
|
+
/** New start time for access. */
|
|
14167
|
+
starts_at: string | null
|
|
14168
|
+
/** New end time for access. */
|
|
14169
|
+
ends_at: string | null
|
|
14170
|
+
}
|
|
14171
|
+
}
|
|
14172
|
+
)[]
|
|
14173
|
+
/** ID of the customization profile associated with the access method. */
|
|
14174
|
+
customization_profile_id?: string | undefined
|
|
14175
|
+
}[]
|
|
14176
|
+
| undefined
|
|
14067
14177
|
}
|
|
14068
14178
|
}
|
|
14069
14179
|
maxDuration: undefined
|