@seamapi/types 1.407.0 → 1.409.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 +2194 -526
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +4416 -1760
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +9 -3
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.js +2 -1
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/access-grants/requested-access-method.js +1 -5
- package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/pagination.d.ts +1 -0
- package/lib/seam/connect/models/spaces/index.d.ts +1 -0
- package/lib/seam/connect/models/spaces/index.js +2 -0
- package/lib/seam/connect/models/spaces/index.js.map +1 -0
- package/lib/seam/connect/models/spaces/space.d.ts +21 -0
- package/lib/seam/connect/models/spaces/space.js +20 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +5805 -3750
- package/lib/seam/connect/openapi.js +6538 -4891
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +476 -13
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/model-types.ts +6 -0
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +9 -3
- package/src/lib/seam/connect/models/access-grants/access-method.ts +2 -1
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +1 -5
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/models/pagination.ts +2 -0
- package/src/lib/seam/connect/models/spaces/index.ts +1 -0
- package/src/lib/seam/connect/models/spaces/space.ts +24 -0
- package/src/lib/seam/connect/openapi.ts +7562 -5851
- package/src/lib/seam/connect/route-types.ts +481 -13
- package/src/lib/seam/connect/schemas.ts +2 -0
|
@@ -10109,6 +10109,276 @@ export interface Routes {
|
|
|
10109
10109
|
formData: {}
|
|
10110
10110
|
jsonResponse: {}
|
|
10111
10111
|
}
|
|
10112
|
+
'/access_grants/create': {
|
|
10113
|
+
route: '/access_grants/create'
|
|
10114
|
+
method: 'POST'
|
|
10115
|
+
queryParams: {}
|
|
10116
|
+
jsonBody: {}
|
|
10117
|
+
commonParams: (
|
|
10118
|
+
| {
|
|
10119
|
+
/** ID of user identity for whom access is being granted. */
|
|
10120
|
+
user_identity_id: string
|
|
10121
|
+
}
|
|
10122
|
+
| {
|
|
10123
|
+
/** When used, creates a new user identity with the given details, and grants them access. */
|
|
10124
|
+
user_identity: {
|
|
10125
|
+
/** Unique email address for the user identity. */
|
|
10126
|
+
email_address?: (string | null) | undefined
|
|
10127
|
+
/** Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100). */
|
|
10128
|
+
phone_number?: (string | null) | undefined
|
|
10129
|
+
full_name?: (string | null) | undefined
|
|
10130
|
+
}
|
|
10131
|
+
}
|
|
10132
|
+
) & {
|
|
10133
|
+
/**
|
|
10134
|
+
* @deprecated Use `space_ids`. */
|
|
10135
|
+
location_ids?: string[] | undefined
|
|
10136
|
+
/** Set of IDs of existing spaces to which access is being granted. */
|
|
10137
|
+
space_ids?: string[] | undefined
|
|
10138
|
+
/** When used, creates a new location with the given entrances and devices, and gives the user access to this location. */
|
|
10139
|
+
location?:
|
|
10140
|
+
| {
|
|
10141
|
+
/** Name of the location. */
|
|
10142
|
+
name?: string | undefined
|
|
10143
|
+
/**
|
|
10144
|
+
* @deprecated Use `acs_entrance_ids` at the top level. */
|
|
10145
|
+
acs_entrance_ids?: string[]
|
|
10146
|
+
/**
|
|
10147
|
+
* @deprecated Use `device_ids` at the top level. */
|
|
10148
|
+
device_ids?: string[]
|
|
10149
|
+
}
|
|
10150
|
+
| undefined
|
|
10151
|
+
/** Set of IDs of the [entrances](https://docs.seam.co/latest/api/acs/systems/list) to which access is being granted. */
|
|
10152
|
+
acs_entrance_ids?: string[]
|
|
10153
|
+
/** Set of IDs of the [devices](https://docs.seam.co/latest/api/devices/list) to which access is being granted. */
|
|
10154
|
+
device_ids?: string[]
|
|
10155
|
+
requested_access_methods: Array<{
|
|
10156
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
10157
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
10158
|
+
}>
|
|
10159
|
+
/** Date and time at which the validity of the new grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
10160
|
+
starts_at?: string | undefined
|
|
10161
|
+
/** Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
|
|
10162
|
+
ends_at?: string | undefined
|
|
10163
|
+
}
|
|
10164
|
+
formData: {}
|
|
10165
|
+
jsonResponse: {
|
|
10166
|
+
/** */
|
|
10167
|
+
access_grant: {
|
|
10168
|
+
/** Unique identifier for the Seam workspace associated with the access grant. */
|
|
10169
|
+
workspace_id: string
|
|
10170
|
+
/** ID of the access grant. */
|
|
10171
|
+
access_grant_id: string
|
|
10172
|
+
/** ID of user identity to which access is being granted. */
|
|
10173
|
+
user_identity_id: string
|
|
10174
|
+
/**
|
|
10175
|
+
* @deprecated Use `space_ids`. */
|
|
10176
|
+
location_ids: string[]
|
|
10177
|
+
/** IDs of the spaces to which access is being given. */
|
|
10178
|
+
space_ids: string[]
|
|
10179
|
+
/** Access methods that the user requested for this access grant. */
|
|
10180
|
+
requested_access_methods: Array<{
|
|
10181
|
+
/** Display name of the access method. */
|
|
10182
|
+
display_name: string
|
|
10183
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
10184
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
10185
|
+
/** Date and time at which the requested access method was added to this access grant. */
|
|
10186
|
+
created_at: string
|
|
10187
|
+
/** IDs of the access methods that were created for this requested access method. */
|
|
10188
|
+
created_access_method_ids: string[]
|
|
10189
|
+
}>
|
|
10190
|
+
/** IDs of the access methods that were created for this access grant. */
|
|
10191
|
+
access_method_ids: string[]
|
|
10192
|
+
/** Display name of the access grant. */
|
|
10193
|
+
display_name: string
|
|
10194
|
+
/** Date and time at which the access grant was created. */
|
|
10195
|
+
created_at: string
|
|
10196
|
+
}
|
|
10197
|
+
}
|
|
10198
|
+
}
|
|
10199
|
+
'/access_grants/delete': {
|
|
10200
|
+
route: '/access_grants/delete'
|
|
10201
|
+
method: 'GET' | 'POST'
|
|
10202
|
+
queryParams: {}
|
|
10203
|
+
jsonBody: {}
|
|
10204
|
+
commonParams: {
|
|
10205
|
+
/** ID of access grant to delete. */
|
|
10206
|
+
access_grant_id: string
|
|
10207
|
+
}
|
|
10208
|
+
formData: {}
|
|
10209
|
+
jsonResponse: {}
|
|
10210
|
+
}
|
|
10211
|
+
'/access_grants/get': {
|
|
10212
|
+
route: '/access_grants/get'
|
|
10213
|
+
method: 'GET' | 'POST'
|
|
10214
|
+
queryParams: {}
|
|
10215
|
+
jsonBody: {}
|
|
10216
|
+
commonParams: {
|
|
10217
|
+
/** ID of access grant to get. */
|
|
10218
|
+
access_grant_id: string
|
|
10219
|
+
}
|
|
10220
|
+
formData: {}
|
|
10221
|
+
jsonResponse: {
|
|
10222
|
+
/** */
|
|
10223
|
+
access_grant: {
|
|
10224
|
+
/** Unique identifier for the Seam workspace associated with the access grant. */
|
|
10225
|
+
workspace_id: string
|
|
10226
|
+
/** ID of the access grant. */
|
|
10227
|
+
access_grant_id: string
|
|
10228
|
+
/** ID of user identity to which access is being granted. */
|
|
10229
|
+
user_identity_id: string
|
|
10230
|
+
/**
|
|
10231
|
+
* @deprecated Use `space_ids`. */
|
|
10232
|
+
location_ids: string[]
|
|
10233
|
+
/** IDs of the spaces to which access is being given. */
|
|
10234
|
+
space_ids: string[]
|
|
10235
|
+
/** Access methods that the user requested for this access grant. */
|
|
10236
|
+
requested_access_methods: Array<{
|
|
10237
|
+
/** Display name of the access method. */
|
|
10238
|
+
display_name: string
|
|
10239
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
10240
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
10241
|
+
/** Date and time at which the requested access method was added to this access grant. */
|
|
10242
|
+
created_at: string
|
|
10243
|
+
/** IDs of the access methods that were created for this requested access method. */
|
|
10244
|
+
created_access_method_ids: string[]
|
|
10245
|
+
}>
|
|
10246
|
+
/** IDs of the access methods that were created for this access grant. */
|
|
10247
|
+
access_method_ids: string[]
|
|
10248
|
+
/** Display name of the access grant. */
|
|
10249
|
+
display_name: string
|
|
10250
|
+
/** Date and time at which the access grant was created. */
|
|
10251
|
+
created_at: string
|
|
10252
|
+
}
|
|
10253
|
+
}
|
|
10254
|
+
}
|
|
10255
|
+
'/access_grants/list': {
|
|
10256
|
+
route: '/access_grants/list'
|
|
10257
|
+
method: 'GET' | 'POST'
|
|
10258
|
+
queryParams: {}
|
|
10259
|
+
jsonBody: {}
|
|
10260
|
+
commonParams: {
|
|
10261
|
+
/** ID of user identity to filter list of access grants by. */
|
|
10262
|
+
user_identity_id?: string | undefined
|
|
10263
|
+
/** ID of system to filter list of access grants by. */
|
|
10264
|
+
acs_system_id?: string | undefined
|
|
10265
|
+
/** ID of entrance to filter list of access grants by. */
|
|
10266
|
+
acs_entrance_id?: string | undefined
|
|
10267
|
+
/**
|
|
10268
|
+
* @deprecated Use `space_id`. */
|
|
10269
|
+
location_id?: string | undefined
|
|
10270
|
+
/** ID of space to filter list of access grants by. */
|
|
10271
|
+
space_id?: string | undefined
|
|
10272
|
+
}
|
|
10273
|
+
formData: {}
|
|
10274
|
+
jsonResponse: {
|
|
10275
|
+
access_grants: Array<{
|
|
10276
|
+
/** Unique identifier for the Seam workspace associated with the access grant. */
|
|
10277
|
+
workspace_id: string
|
|
10278
|
+
/** ID of the access grant. */
|
|
10279
|
+
access_grant_id: string
|
|
10280
|
+
/** ID of user identity to which access is being granted. */
|
|
10281
|
+
user_identity_id: string
|
|
10282
|
+
/**
|
|
10283
|
+
* @deprecated Use `space_ids`. */
|
|
10284
|
+
location_ids: string[]
|
|
10285
|
+
/** IDs of the spaces to which access is being given. */
|
|
10286
|
+
space_ids: string[]
|
|
10287
|
+
/** Access methods that the user requested for this access grant. */
|
|
10288
|
+
requested_access_methods: Array<{
|
|
10289
|
+
/** Display name of the access method. */
|
|
10290
|
+
display_name: string
|
|
10291
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
10292
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
10293
|
+
/** Date and time at which the requested access method was added to this access grant. */
|
|
10294
|
+
created_at: string
|
|
10295
|
+
/** IDs of the access methods that were created for this requested access method. */
|
|
10296
|
+
created_access_method_ids: string[]
|
|
10297
|
+
}>
|
|
10298
|
+
/** IDs of the access methods that were created for this access grant. */
|
|
10299
|
+
access_method_ids: string[]
|
|
10300
|
+
/** Display name of the access grant. */
|
|
10301
|
+
display_name: string
|
|
10302
|
+
/** Date and time at which the access grant was created. */
|
|
10303
|
+
created_at: string
|
|
10304
|
+
}>
|
|
10305
|
+
}
|
|
10306
|
+
}
|
|
10307
|
+
'/access_methods/delete': {
|
|
10308
|
+
route: '/access_methods/delete'
|
|
10309
|
+
method: 'GET' | 'POST'
|
|
10310
|
+
queryParams: {}
|
|
10311
|
+
jsonBody: {}
|
|
10312
|
+
commonParams: {
|
|
10313
|
+
/** ID of access method to get. */
|
|
10314
|
+
access_method_id: string
|
|
10315
|
+
}
|
|
10316
|
+
formData: {}
|
|
10317
|
+
jsonResponse: {}
|
|
10318
|
+
}
|
|
10319
|
+
'/access_methods/get': {
|
|
10320
|
+
route: '/access_methods/get'
|
|
10321
|
+
method: 'GET' | 'POST'
|
|
10322
|
+
queryParams: {}
|
|
10323
|
+
jsonBody: {}
|
|
10324
|
+
commonParams: {
|
|
10325
|
+
/** ID of access method to get. */
|
|
10326
|
+
access_method_id: string
|
|
10327
|
+
}
|
|
10328
|
+
formData: {}
|
|
10329
|
+
jsonResponse: {
|
|
10330
|
+
/** */
|
|
10331
|
+
access_method: {
|
|
10332
|
+
/** Unique identifier for the Seam workspace associated with the access grant. */
|
|
10333
|
+
workspace_id: string
|
|
10334
|
+
/** ID of the access method. */
|
|
10335
|
+
access_method_id: string
|
|
10336
|
+
/** Display name of the access method. */
|
|
10337
|
+
display_name: string
|
|
10338
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
10339
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
10340
|
+
/** Date and time at which the access method was created. */
|
|
10341
|
+
created_at: string
|
|
10342
|
+
/** Date and time at which the access method was issued. */
|
|
10343
|
+
issued_at?: string | undefined
|
|
10344
|
+
/** URL of instant key for mobile key access methods. */
|
|
10345
|
+
instant_key_url?: string | undefined
|
|
10346
|
+
/** Whether card encoding is required for plastic card access methods. */
|
|
10347
|
+
is_card_encoding_required?: boolean | undefined
|
|
10348
|
+
}
|
|
10349
|
+
}
|
|
10350
|
+
}
|
|
10351
|
+
'/access_methods/list': {
|
|
10352
|
+
route: '/access_methods/list'
|
|
10353
|
+
method: 'GET' | 'POST'
|
|
10354
|
+
queryParams: {}
|
|
10355
|
+
jsonBody: {}
|
|
10356
|
+
commonParams: {
|
|
10357
|
+
/** ID of access grant to list access methods for. */
|
|
10358
|
+
access_grant_id: string
|
|
10359
|
+
}
|
|
10360
|
+
formData: {}
|
|
10361
|
+
jsonResponse: {
|
|
10362
|
+
access_methods: Array<{
|
|
10363
|
+
/** Unique identifier for the Seam workspace associated with the access grant. */
|
|
10364
|
+
workspace_id: string
|
|
10365
|
+
/** ID of the access method. */
|
|
10366
|
+
access_method_id: string
|
|
10367
|
+
/** Display name of the access method. */
|
|
10368
|
+
display_name: string
|
|
10369
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
10370
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
10371
|
+
/** Date and time at which the access method was created. */
|
|
10372
|
+
created_at: string
|
|
10373
|
+
/** Date and time at which the access method was issued. */
|
|
10374
|
+
issued_at?: string | undefined
|
|
10375
|
+
/** URL of instant key for mobile key access methods. */
|
|
10376
|
+
instant_key_url?: string | undefined
|
|
10377
|
+
/** Whether card encoding is required for plastic card access methods. */
|
|
10378
|
+
is_card_encoding_required?: boolean | undefined
|
|
10379
|
+
}>
|
|
10380
|
+
}
|
|
10381
|
+
}
|
|
10112
10382
|
'/acs/access_groups/add_user': {
|
|
10113
10383
|
route: '/acs/access_groups/add_user'
|
|
10114
10384
|
method: 'PUT' | 'POST'
|
|
@@ -16631,8 +16901,11 @@ export interface Routes {
|
|
|
16631
16901
|
acs_system_id?: string | undefined
|
|
16632
16902
|
/** ID of the credential for which you want to retrieve all entrances. */
|
|
16633
16903
|
acs_credential_id?: string | undefined
|
|
16634
|
-
/**
|
|
16904
|
+
/**
|
|
16905
|
+
* @deprecated Use `space_id`. */
|
|
16635
16906
|
location_id?: (string | null) | undefined
|
|
16907
|
+
/** ID of the space for which you want to list entrances. */
|
|
16908
|
+
space_id?: string | undefined
|
|
16636
16909
|
}
|
|
16637
16910
|
formData: {}
|
|
16638
16911
|
jsonResponse: {
|
|
@@ -24169,8 +24442,11 @@ export interface Routes {
|
|
|
24169
24442
|
| 'can_simulate_disconnection'
|
|
24170
24443
|
>
|
|
24171
24444
|
| undefined
|
|
24172
|
-
/**
|
|
24445
|
+
/**
|
|
24446
|
+
* @deprecated Use `space_id`. */
|
|
24173
24447
|
unstable_location_id?: (string | null) | undefined
|
|
24448
|
+
/** ID of the space for which you want to list devices. */
|
|
24449
|
+
space_id?: string | undefined
|
|
24174
24450
|
}
|
|
24175
24451
|
formData: {}
|
|
24176
24452
|
jsonResponse: {
|
|
@@ -26337,8 +26613,11 @@ export interface Routes {
|
|
|
26337
26613
|
| 'can_simulate_disconnection'
|
|
26338
26614
|
>
|
|
26339
26615
|
| undefined
|
|
26340
|
-
/**
|
|
26616
|
+
/**
|
|
26617
|
+
* @deprecated Use `space_id`. */
|
|
26341
26618
|
unstable_location_id?: (string | null) | undefined
|
|
26619
|
+
/** ID of the space for which you want to list devices. */
|
|
26620
|
+
space_id?: string | undefined
|
|
26342
26621
|
}
|
|
26343
26622
|
formData: {}
|
|
26344
26623
|
jsonResponse: {
|
|
@@ -33027,8 +33306,11 @@ export interface Routes {
|
|
|
33027
33306
|
| 'can_simulate_disconnection'
|
|
33028
33307
|
>
|
|
33029
33308
|
| undefined
|
|
33030
|
-
/**
|
|
33309
|
+
/**
|
|
33310
|
+
* @deprecated Use `space_id`. */
|
|
33031
33311
|
unstable_location_id?: (string | null) | undefined
|
|
33312
|
+
/** ID of the space for which you want to list devices. */
|
|
33313
|
+
space_id?: string | undefined
|
|
33032
33314
|
}
|
|
33033
33315
|
formData: {}
|
|
33034
33316
|
jsonResponse: {
|
|
@@ -41236,8 +41518,11 @@ export interface Routes {
|
|
|
41236
41518
|
| 'can_simulate_disconnection'
|
|
41237
41519
|
>
|
|
41238
41520
|
| undefined
|
|
41239
|
-
/**
|
|
41521
|
+
/**
|
|
41522
|
+
* @deprecated Use `space_id`. */
|
|
41240
41523
|
unstable_location_id?: (string | null) | undefined
|
|
41524
|
+
/** ID of the space for which you want to list devices. */
|
|
41525
|
+
space_id?: string | undefined
|
|
41241
41526
|
}
|
|
41242
41527
|
formData: {}
|
|
41243
41528
|
jsonResponse: {
|
|
@@ -49146,6 +49431,165 @@ export interface Routes {
|
|
|
49146
49431
|
}>
|
|
49147
49432
|
}
|
|
49148
49433
|
}
|
|
49434
|
+
'/spaces/add_acs_entrances': {
|
|
49435
|
+
route: '/spaces/add_acs_entrances'
|
|
49436
|
+
method: 'POST' | 'PUT'
|
|
49437
|
+
queryParams: {}
|
|
49438
|
+
jsonBody: {
|
|
49439
|
+
space_id: string
|
|
49440
|
+
acs_entrance_ids: string[]
|
|
49441
|
+
}
|
|
49442
|
+
commonParams: {}
|
|
49443
|
+
formData: {}
|
|
49444
|
+
jsonResponse: {}
|
|
49445
|
+
}
|
|
49446
|
+
'/spaces/add_devices': {
|
|
49447
|
+
route: '/spaces/add_devices'
|
|
49448
|
+
method: 'POST' | 'PUT'
|
|
49449
|
+
queryParams: {}
|
|
49450
|
+
jsonBody: {
|
|
49451
|
+
space_id: string
|
|
49452
|
+
device_ids: string[]
|
|
49453
|
+
}
|
|
49454
|
+
commonParams: {}
|
|
49455
|
+
formData: {}
|
|
49456
|
+
jsonResponse: {}
|
|
49457
|
+
}
|
|
49458
|
+
'/spaces/create': {
|
|
49459
|
+
route: '/spaces/create'
|
|
49460
|
+
method: 'POST'
|
|
49461
|
+
queryParams: {}
|
|
49462
|
+
jsonBody: {
|
|
49463
|
+
name: string
|
|
49464
|
+
device_ids?: string[] | undefined
|
|
49465
|
+
acs_entrance_ids?: string[] | undefined
|
|
49466
|
+
}
|
|
49467
|
+
commonParams: {}
|
|
49468
|
+
formData: {}
|
|
49469
|
+
jsonResponse: {
|
|
49470
|
+
/** */
|
|
49471
|
+
space: {
|
|
49472
|
+
/** Unique identifier for the space. */
|
|
49473
|
+
space_id: string
|
|
49474
|
+
/** Unique identifier for the Seam workspace associated with the space. */
|
|
49475
|
+
workspace_id: string
|
|
49476
|
+
/** Name of the space. */
|
|
49477
|
+
name: string
|
|
49478
|
+
/** Display name of the space. */
|
|
49479
|
+
display_name: string
|
|
49480
|
+
/** Date and time at which the space object was created. */
|
|
49481
|
+
created_at: string
|
|
49482
|
+
}
|
|
49483
|
+
}
|
|
49484
|
+
}
|
|
49485
|
+
'/spaces/delete': {
|
|
49486
|
+
route: '/spaces/delete'
|
|
49487
|
+
method: 'DELETE' | 'POST'
|
|
49488
|
+
queryParams: {}
|
|
49489
|
+
jsonBody: {
|
|
49490
|
+
space_id: string
|
|
49491
|
+
}
|
|
49492
|
+
commonParams: {}
|
|
49493
|
+
formData: {}
|
|
49494
|
+
jsonResponse: {}
|
|
49495
|
+
}
|
|
49496
|
+
'/spaces/get': {
|
|
49497
|
+
route: '/spaces/get'
|
|
49498
|
+
method: 'GET' | 'POST'
|
|
49499
|
+
queryParams: {}
|
|
49500
|
+
jsonBody: {}
|
|
49501
|
+
commonParams: {
|
|
49502
|
+
space_id: string
|
|
49503
|
+
}
|
|
49504
|
+
formData: {}
|
|
49505
|
+
jsonResponse: {
|
|
49506
|
+
/** */
|
|
49507
|
+
space: {
|
|
49508
|
+
/** Unique identifier for the space. */
|
|
49509
|
+
space_id: string
|
|
49510
|
+
/** Unique identifier for the Seam workspace associated with the space. */
|
|
49511
|
+
workspace_id: string
|
|
49512
|
+
/** Name of the space. */
|
|
49513
|
+
name: string
|
|
49514
|
+
/** Display name of the space. */
|
|
49515
|
+
display_name: string
|
|
49516
|
+
/** Date and time at which the space object was created. */
|
|
49517
|
+
created_at: string
|
|
49518
|
+
}
|
|
49519
|
+
}
|
|
49520
|
+
}
|
|
49521
|
+
'/spaces/list': {
|
|
49522
|
+
route: '/spaces/list'
|
|
49523
|
+
method: 'GET' | 'POST'
|
|
49524
|
+
queryParams: {}
|
|
49525
|
+
jsonBody: {}
|
|
49526
|
+
commonParams: {}
|
|
49527
|
+
formData: {}
|
|
49528
|
+
jsonResponse: {
|
|
49529
|
+
spaces: Array<{
|
|
49530
|
+
/** Unique identifier for the space. */
|
|
49531
|
+
space_id: string
|
|
49532
|
+
/** Unique identifier for the Seam workspace associated with the space. */
|
|
49533
|
+
workspace_id: string
|
|
49534
|
+
/** Name of the space. */
|
|
49535
|
+
name: string
|
|
49536
|
+
/** Display name of the space. */
|
|
49537
|
+
display_name: string
|
|
49538
|
+
/** Date and time at which the space object was created. */
|
|
49539
|
+
created_at: string
|
|
49540
|
+
}>
|
|
49541
|
+
}
|
|
49542
|
+
}
|
|
49543
|
+
'/spaces/remove_acs_entrances': {
|
|
49544
|
+
route: '/spaces/remove_acs_entrances'
|
|
49545
|
+
method: 'POST' | 'DELETE'
|
|
49546
|
+
queryParams: {}
|
|
49547
|
+
jsonBody: {}
|
|
49548
|
+
commonParams: {
|
|
49549
|
+
space_id: string
|
|
49550
|
+
acs_entrance_ids: string[]
|
|
49551
|
+
}
|
|
49552
|
+
formData: {}
|
|
49553
|
+
jsonResponse: {}
|
|
49554
|
+
}
|
|
49555
|
+
'/spaces/remove_devices': {
|
|
49556
|
+
route: '/spaces/remove_devices'
|
|
49557
|
+
method: 'POST' | 'DELETE'
|
|
49558
|
+
queryParams: {}
|
|
49559
|
+
jsonBody: {}
|
|
49560
|
+
commonParams: {
|
|
49561
|
+
space_id: string
|
|
49562
|
+
device_ids: string[]
|
|
49563
|
+
}
|
|
49564
|
+
formData: {}
|
|
49565
|
+
jsonResponse: {}
|
|
49566
|
+
}
|
|
49567
|
+
'/spaces/update': {
|
|
49568
|
+
route: '/spaces/update'
|
|
49569
|
+
method: 'POST' | 'PATCH'
|
|
49570
|
+
queryParams: {}
|
|
49571
|
+
jsonBody: {
|
|
49572
|
+
space_id: string
|
|
49573
|
+
name?: string | undefined
|
|
49574
|
+
}
|
|
49575
|
+
commonParams: {}
|
|
49576
|
+
formData: {}
|
|
49577
|
+
jsonResponse: {
|
|
49578
|
+
/** */
|
|
49579
|
+
space: {
|
|
49580
|
+
/** Unique identifier for the space. */
|
|
49581
|
+
space_id: string
|
|
49582
|
+
/** Unique identifier for the Seam workspace associated with the space. */
|
|
49583
|
+
workspace_id: string
|
|
49584
|
+
/** Name of the space. */
|
|
49585
|
+
name: string
|
|
49586
|
+
/** Display name of the space. */
|
|
49587
|
+
display_name: string
|
|
49588
|
+
/** Date and time at which the space object was created. */
|
|
49589
|
+
created_at: string
|
|
49590
|
+
}
|
|
49591
|
+
}
|
|
49592
|
+
}
|
|
49149
49593
|
'/thermostats/activate_climate_preset': {
|
|
49150
49594
|
route: '/thermostats/activate_climate_preset'
|
|
49151
49595
|
method: 'POST'
|
|
@@ -57347,8 +57791,11 @@ export interface Routes {
|
|
|
57347
57791
|
| 'can_simulate_disconnection'
|
|
57348
57792
|
>
|
|
57349
57793
|
| undefined
|
|
57350
|
-
/**
|
|
57794
|
+
/**
|
|
57795
|
+
* @deprecated Use `space_id`. */
|
|
57351
57796
|
unstable_location_id?: (string | null) | undefined
|
|
57797
|
+
/** ID of the space for which you want to list devices. */
|
|
57798
|
+
space_id?: string | undefined
|
|
57352
57799
|
}
|
|
57353
57800
|
formData: {}
|
|
57354
57801
|
jsonResponse: {
|
|
@@ -65835,19 +66282,28 @@ export interface Routes {
|
|
|
65835
66282
|
}
|
|
65836
66283
|
}
|
|
65837
66284
|
) & {
|
|
65838
|
-
/**
|
|
66285
|
+
/**
|
|
66286
|
+
* @deprecated Use `space_ids`. */
|
|
65839
66287
|
location_ids?: string[] | undefined
|
|
66288
|
+
/** Set of IDs of existing spaces to which access is being granted. */
|
|
66289
|
+
space_ids?: string[] | undefined
|
|
65840
66290
|
/** When used, creates a new location with the given entrances and devices, and gives the user access to this location. */
|
|
65841
66291
|
location?:
|
|
65842
66292
|
| {
|
|
65843
66293
|
/** Name of the location. */
|
|
65844
66294
|
name?: string | undefined
|
|
65845
|
-
/**
|
|
66295
|
+
/**
|
|
66296
|
+
* @deprecated Use `acs_entrance_ids` at the top level. */
|
|
65846
66297
|
acs_entrance_ids?: string[]
|
|
65847
|
-
/**
|
|
66298
|
+
/**
|
|
66299
|
+
* @deprecated Use `device_ids` at the top level. */
|
|
65848
66300
|
device_ids?: string[]
|
|
65849
66301
|
}
|
|
65850
66302
|
| undefined
|
|
66303
|
+
/** Set of IDs of the [entrances](https://docs.seam.co/latest/api/acs/systems/list) to which access is being granted. */
|
|
66304
|
+
acs_entrance_ids?: string[]
|
|
66305
|
+
/** Set of IDs of the [devices](https://docs.seam.co/latest/api/devices/list) to which access is being granted. */
|
|
66306
|
+
device_ids?: string[]
|
|
65851
66307
|
requested_access_methods: Array<{
|
|
65852
66308
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
65853
66309
|
mode: 'code' | 'card' | 'mobile_key'
|
|
@@ -65867,8 +66323,11 @@ export interface Routes {
|
|
|
65867
66323
|
access_grant_id: string
|
|
65868
66324
|
/** ID of user identity to which access is being granted. */
|
|
65869
66325
|
user_identity_id: string
|
|
65870
|
-
/**
|
|
66326
|
+
/**
|
|
66327
|
+
* @deprecated Use `space_ids`. */
|
|
65871
66328
|
location_ids: string[]
|
|
66329
|
+
/** IDs of the spaces to which access is being given. */
|
|
66330
|
+
space_ids: string[]
|
|
65872
66331
|
/** Access methods that the user requested for this access grant. */
|
|
65873
66332
|
requested_access_methods: Array<{
|
|
65874
66333
|
/** Display name of the access method. */
|
|
@@ -65920,8 +66379,11 @@ export interface Routes {
|
|
|
65920
66379
|
access_grant_id: string
|
|
65921
66380
|
/** ID of user identity to which access is being granted. */
|
|
65922
66381
|
user_identity_id: string
|
|
65923
|
-
/**
|
|
66382
|
+
/**
|
|
66383
|
+
* @deprecated Use `space_ids`. */
|
|
65924
66384
|
location_ids: string[]
|
|
66385
|
+
/** IDs of the spaces to which access is being given. */
|
|
66386
|
+
space_ids: string[]
|
|
65925
66387
|
/** Access methods that the user requested for this access grant. */
|
|
65926
66388
|
requested_access_methods: Array<{
|
|
65927
66389
|
/** Display name of the access method. */
|
|
@@ -65954,8 +66416,11 @@ export interface Routes {
|
|
|
65954
66416
|
acs_system_id?: string | undefined
|
|
65955
66417
|
/** ID of entrance to filter list of access grants by. */
|
|
65956
66418
|
acs_entrance_id?: string | undefined
|
|
65957
|
-
/**
|
|
66419
|
+
/**
|
|
66420
|
+
* @deprecated Use `space_id`. */
|
|
65958
66421
|
location_id?: string | undefined
|
|
66422
|
+
/** ID of space to filter list of access grants by. */
|
|
66423
|
+
space_id?: string | undefined
|
|
65959
66424
|
}
|
|
65960
66425
|
formData: {}
|
|
65961
66426
|
jsonResponse: {
|
|
@@ -65966,8 +66431,11 @@ export interface Routes {
|
|
|
65966
66431
|
access_grant_id: string
|
|
65967
66432
|
/** ID of user identity to which access is being granted. */
|
|
65968
66433
|
user_identity_id: string
|
|
65969
|
-
/**
|
|
66434
|
+
/**
|
|
66435
|
+
* @deprecated Use `space_ids`. */
|
|
65970
66436
|
location_ids: string[]
|
|
66437
|
+
/** IDs of the spaces to which access is being given. */
|
|
66438
|
+
space_ids: string[]
|
|
65971
66439
|
/** Access methods that the user requested for this access grant. */
|
|
65972
66440
|
requested_access_methods: Array<{
|
|
65973
66441
|
/** Display name of the access method. */
|
|
@@ -9,6 +9,7 @@ export {
|
|
|
9
9
|
action_attempt,
|
|
10
10
|
bridge,
|
|
11
11
|
bridge_client_session,
|
|
12
|
+
building_block_type,
|
|
12
13
|
client_session,
|
|
13
14
|
common_failed_action_attempt,
|
|
14
15
|
common_pending_action_attempt,
|
|
@@ -19,6 +20,7 @@ export {
|
|
|
19
20
|
device,
|
|
20
21
|
device_provider,
|
|
21
22
|
instant_key,
|
|
23
|
+
magic_link,
|
|
22
24
|
noise_threshold,
|
|
23
25
|
pagination,
|
|
24
26
|
seam_event,
|