@seamapi/types 1.369.1 → 1.370.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 +380 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +525 -28
- 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/models/access-grants/access-grant.d.ts +57 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +29 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -0
- package/lib/seam/connect/models/access-grants/access-method.d.ts +21 -0
- package/lib/seam/connect/models/access-grants/access-method.js +24 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -0
- package/lib/seam/connect/models/access-grants/index.d.ts +2 -0
- package/lib/seam/connect/models/access-grants/index.js +3 -0
- package/lib/seam/connect/models/access-grants/index.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +20 -20
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
- package/lib/seam/connect/models/bridges/{bridge_client_session.js → bridge-client-session.js} +1 -1
- package/lib/seam/connect/models/bridges/{bridge_client_session.js.map → bridge-client-session.js.map} +1 -1
- package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +30 -0
- package/lib/seam/connect/models/bridges/bridge-connected-system.js +17 -0
- package/lib/seam/connect/models/bridges/bridge-connected-system.js.map +1 -0
- package/lib/seam/connect/models/bridges/index.d.ts +2 -1
- package/lib/seam/connect/models/bridges/index.js +2 -1
- package/lib/seam/connect/models/bridges/index.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.js +1 -0
- package/lib/seam/connect/models/pagination.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +408 -0
- package/lib/seam/connect/openapi.js +375 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +89 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +3 -0
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +34 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +28 -0
- package/src/lib/seam/connect/models/access-grants/index.ts +2 -0
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +2 -0
- package/src/lib/seam/connect/models/bridges/bridge-connected-system.ts +19 -0
- package/src/lib/seam/connect/models/bridges/index.ts +2 -1
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/models/pagination.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +400 -0
- package/src/lib/seam/connect/route-types.ts +96 -0
- /package/lib/seam/connect/models/bridges/{bridge_client_session.d.ts → bridge-client-session.d.ts} +0 -0
- /package/src/lib/seam/connect/models/bridges/{bridge_client_session.ts → bridge-client-session.ts} +0 -0
|
@@ -2421,6 +2421,7 @@ export default {
|
|
|
2421
2421
|
full_name: {
|
|
2422
2422
|
description:
|
|
2423
2423
|
'Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
|
|
2424
|
+
minLength: 1,
|
|
2424
2425
|
type: 'string',
|
|
2425
2426
|
},
|
|
2426
2427
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
@@ -14948,6 +14949,7 @@ export default {
|
|
|
14948
14949
|
full_name: {
|
|
14949
14950
|
description:
|
|
14950
14951
|
'Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
|
|
14952
|
+
minLength: 1,
|
|
14951
14953
|
type: 'string',
|
|
14952
14954
|
},
|
|
14953
14955
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
@@ -21028,6 +21030,7 @@ export default {
|
|
|
21028
21030
|
full_name: {
|
|
21029
21031
|
description:
|
|
21030
21032
|
'Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
|
|
21033
|
+
minLength: 1,
|
|
21031
21034
|
type: 'string',
|
|
21032
21035
|
},
|
|
21033
21036
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
@@ -21111,6 +21114,7 @@ export default {
|
|
|
21111
21114
|
full_name: {
|
|
21112
21115
|
description:
|
|
21113
21116
|
'Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
|
|
21117
|
+
minLength: 1,
|
|
21114
21118
|
type: 'string',
|
|
21115
21119
|
},
|
|
21116
21120
|
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
@@ -22892,6 +22896,7 @@ export default {
|
|
|
22892
22896
|
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
22893
22897
|
'x-fern-sdk-method-name': 'access_code_lock',
|
|
22894
22898
|
'x-response-key': null,
|
|
22899
|
+
'x-undocumented': 'Unreleased.',
|
|
22895
22900
|
},
|
|
22896
22901
|
},
|
|
22897
22902
|
'/devices/simulate/access_code_unlock': {
|
|
@@ -22937,6 +22942,7 @@ export default {
|
|
|
22937
22942
|
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
22938
22943
|
'x-fern-sdk-method-name': 'access_code_unlock',
|
|
22939
22944
|
'x-response-key': null,
|
|
22945
|
+
'x-undocumented': 'Unreleased.',
|
|
22940
22946
|
},
|
|
22941
22947
|
},
|
|
22942
22948
|
'/devices/simulate/connect': {
|
|
@@ -26194,6 +26200,151 @@ export default {
|
|
|
26194
26200
|
'x-undocumented': 'Seam Bridge Client only.',
|
|
26195
26201
|
},
|
|
26196
26202
|
},
|
|
26203
|
+
'/seam/bridge/v1/bridge_connected_systems/list': {
|
|
26204
|
+
get: {
|
|
26205
|
+
description:
|
|
26206
|
+
'Returns the bridge connected systems associated with the session token used.',
|
|
26207
|
+
operationId: 'seamBridgeV1BridgeConnectedSystemsListGet',
|
|
26208
|
+
responses: {
|
|
26209
|
+
200: {
|
|
26210
|
+
content: {
|
|
26211
|
+
'application/json': {
|
|
26212
|
+
schema: {
|
|
26213
|
+
properties: {
|
|
26214
|
+
bridge_connected_systems: {
|
|
26215
|
+
items: {
|
|
26216
|
+
properties: {
|
|
26217
|
+
acs_system_display_name: { type: 'string' },
|
|
26218
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
26219
|
+
bridge_created_at: {
|
|
26220
|
+
format: 'date-time',
|
|
26221
|
+
type: 'string',
|
|
26222
|
+
},
|
|
26223
|
+
bridge_id: { format: 'uuid', type: 'string' },
|
|
26224
|
+
connected_account_created_at: {
|
|
26225
|
+
format: 'date-time',
|
|
26226
|
+
type: 'string',
|
|
26227
|
+
},
|
|
26228
|
+
connected_account_id: {
|
|
26229
|
+
format: 'uuid',
|
|
26230
|
+
type: 'string',
|
|
26231
|
+
},
|
|
26232
|
+
workspace_display_name: { type: 'string' },
|
|
26233
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
26234
|
+
},
|
|
26235
|
+
required: [
|
|
26236
|
+
'bridge_id',
|
|
26237
|
+
'bridge_created_at',
|
|
26238
|
+
'connected_account_id',
|
|
26239
|
+
'connected_account_created_at',
|
|
26240
|
+
'acs_system_id',
|
|
26241
|
+
'acs_system_display_name',
|
|
26242
|
+
'workspace_id',
|
|
26243
|
+
'workspace_display_name',
|
|
26244
|
+
],
|
|
26245
|
+
type: 'object',
|
|
26246
|
+
'x-route-path':
|
|
26247
|
+
'/seam/bridge/v1/bridge_connected_systems',
|
|
26248
|
+
'x-undocumented': 'Seam Bridge Client only.',
|
|
26249
|
+
},
|
|
26250
|
+
type: 'array',
|
|
26251
|
+
},
|
|
26252
|
+
ok: { type: 'boolean' },
|
|
26253
|
+
},
|
|
26254
|
+
required: ['bridge_connected_systems', 'ok'],
|
|
26255
|
+
type: 'object',
|
|
26256
|
+
},
|
|
26257
|
+
},
|
|
26258
|
+
},
|
|
26259
|
+
description: 'OK',
|
|
26260
|
+
},
|
|
26261
|
+
400: { description: 'Bad Request' },
|
|
26262
|
+
401: { description: 'Unauthorized' },
|
|
26263
|
+
},
|
|
26264
|
+
security: [{ bridge_client_session: [] }],
|
|
26265
|
+
summary: '/seam/bridge/v1/bridge_connected_systems/list',
|
|
26266
|
+
tags: [],
|
|
26267
|
+
'x-fern-ignore': true,
|
|
26268
|
+
'x-response-key': 'bridge_connected_systems',
|
|
26269
|
+
'x-title': 'List Bridge Connected Systems',
|
|
26270
|
+
'x-undocumented': 'Seam Bridge Client only.',
|
|
26271
|
+
},
|
|
26272
|
+
post: {
|
|
26273
|
+
description:
|
|
26274
|
+
'Returns the bridge connected systems associated with the session token used.',
|
|
26275
|
+
operationId: 'seamBridgeV1BridgeConnectedSystemsListPost',
|
|
26276
|
+
responses: {
|
|
26277
|
+
200: {
|
|
26278
|
+
content: {
|
|
26279
|
+
'application/json': {
|
|
26280
|
+
schema: {
|
|
26281
|
+
properties: {
|
|
26282
|
+
bridge_connected_systems: {
|
|
26283
|
+
items: {
|
|
26284
|
+
properties: {
|
|
26285
|
+
acs_system_display_name: { type: 'string' },
|
|
26286
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
26287
|
+
bridge_created_at: {
|
|
26288
|
+
format: 'date-time',
|
|
26289
|
+
type: 'string',
|
|
26290
|
+
},
|
|
26291
|
+
bridge_id: { format: 'uuid', type: 'string' },
|
|
26292
|
+
connected_account_created_at: {
|
|
26293
|
+
format: 'date-time',
|
|
26294
|
+
type: 'string',
|
|
26295
|
+
},
|
|
26296
|
+
connected_account_id: {
|
|
26297
|
+
format: 'uuid',
|
|
26298
|
+
type: 'string',
|
|
26299
|
+
},
|
|
26300
|
+
workspace_display_name: { type: 'string' },
|
|
26301
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
26302
|
+
},
|
|
26303
|
+
required: [
|
|
26304
|
+
'bridge_id',
|
|
26305
|
+
'bridge_created_at',
|
|
26306
|
+
'connected_account_id',
|
|
26307
|
+
'connected_account_created_at',
|
|
26308
|
+
'acs_system_id',
|
|
26309
|
+
'acs_system_display_name',
|
|
26310
|
+
'workspace_id',
|
|
26311
|
+
'workspace_display_name',
|
|
26312
|
+
],
|
|
26313
|
+
type: 'object',
|
|
26314
|
+
'x-route-path':
|
|
26315
|
+
'/seam/bridge/v1/bridge_connected_systems',
|
|
26316
|
+
'x-undocumented': 'Seam Bridge Client only.',
|
|
26317
|
+
},
|
|
26318
|
+
type: 'array',
|
|
26319
|
+
},
|
|
26320
|
+
ok: { type: 'boolean' },
|
|
26321
|
+
},
|
|
26322
|
+
required: ['bridge_connected_systems', 'ok'],
|
|
26323
|
+
type: 'object',
|
|
26324
|
+
},
|
|
26325
|
+
},
|
|
26326
|
+
},
|
|
26327
|
+
description: 'OK',
|
|
26328
|
+
},
|
|
26329
|
+
400: { description: 'Bad Request' },
|
|
26330
|
+
401: { description: 'Unauthorized' },
|
|
26331
|
+
},
|
|
26332
|
+
security: [{ bridge_client_session: [] }],
|
|
26333
|
+
summary: '/seam/bridge/v1/bridge_connected_systems/list',
|
|
26334
|
+
tags: [],
|
|
26335
|
+
'x-fern-sdk-group-name': [
|
|
26336
|
+
'seam',
|
|
26337
|
+
'bridge',
|
|
26338
|
+
'v1',
|
|
26339
|
+
'bridge_connected_systems',
|
|
26340
|
+
],
|
|
26341
|
+
'x-fern-sdk-method-name': 'list',
|
|
26342
|
+
'x-fern-sdk-return-value': 'bridge_connected_systems',
|
|
26343
|
+
'x-response-key': 'bridge_connected_systems',
|
|
26344
|
+
'x-title': 'List Bridge Connected Systems',
|
|
26345
|
+
'x-undocumented': 'Seam Bridge Client only.',
|
|
26346
|
+
},
|
|
26347
|
+
},
|
|
26197
26348
|
'/thermostats/activate_climate_preset': {
|
|
26198
26349
|
post: {
|
|
26199
26350
|
description:
|
|
@@ -28420,6 +28571,254 @@ export default {
|
|
|
28420
28571
|
'x-title': 'Update a Climate Preset',
|
|
28421
28572
|
},
|
|
28422
28573
|
},
|
|
28574
|
+
'/unstable_access_grants/create': {
|
|
28575
|
+
post: {
|
|
28576
|
+
description: 'Creates a new access grant.',
|
|
28577
|
+
operationId: 'unstableAccessGrantsCreatePost',
|
|
28578
|
+
requestBody: {
|
|
28579
|
+
content: {
|
|
28580
|
+
'application/json': {
|
|
28581
|
+
schema: {
|
|
28582
|
+
allOf: [
|
|
28583
|
+
{
|
|
28584
|
+
oneOf: [
|
|
28585
|
+
{
|
|
28586
|
+
properties: {
|
|
28587
|
+
user_identity_id: {
|
|
28588
|
+
description:
|
|
28589
|
+
'ID of user identity for whom access is being granted.',
|
|
28590
|
+
format: 'uuid',
|
|
28591
|
+
type: 'string',
|
|
28592
|
+
},
|
|
28593
|
+
},
|
|
28594
|
+
type: 'object',
|
|
28595
|
+
},
|
|
28596
|
+
{
|
|
28597
|
+
properties: {
|
|
28598
|
+
user_identity: {
|
|
28599
|
+
description:
|
|
28600
|
+
'When used, creates a new user identity with the given details, and grants them access.',
|
|
28601
|
+
properties: {
|
|
28602
|
+
email_address: {
|
|
28603
|
+
description:
|
|
28604
|
+
'Unique email address for the user identity.',
|
|
28605
|
+
format: 'email',
|
|
28606
|
+
nullable: true,
|
|
28607
|
+
type: 'string',
|
|
28608
|
+
},
|
|
28609
|
+
full_name: {
|
|
28610
|
+
minLength: 1,
|
|
28611
|
+
nullable: true,
|
|
28612
|
+
type: 'string',
|
|
28613
|
+
},
|
|
28614
|
+
phone_number: {
|
|
28615
|
+
description:
|
|
28616
|
+
'Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).',
|
|
28617
|
+
nullable: true,
|
|
28618
|
+
type: 'string',
|
|
28619
|
+
},
|
|
28620
|
+
},
|
|
28621
|
+
type: 'object',
|
|
28622
|
+
'x-route-path': '/user_identities',
|
|
28623
|
+
},
|
|
28624
|
+
},
|
|
28625
|
+
type: 'object',
|
|
28626
|
+
},
|
|
28627
|
+
],
|
|
28628
|
+
},
|
|
28629
|
+
{
|
|
28630
|
+
properties: {
|
|
28631
|
+
desired_access_methods: {
|
|
28632
|
+
items: {
|
|
28633
|
+
properties: {
|
|
28634
|
+
mode: {
|
|
28635
|
+
description:
|
|
28636
|
+
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
28637
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
28638
|
+
type: 'string',
|
|
28639
|
+
},
|
|
28640
|
+
},
|
|
28641
|
+
required: ['mode'],
|
|
28642
|
+
type: 'object',
|
|
28643
|
+
},
|
|
28644
|
+
type: 'array',
|
|
28645
|
+
},
|
|
28646
|
+
ends_at: {
|
|
28647
|
+
description:
|
|
28648
|
+
'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`.',
|
|
28649
|
+
format: 'date-time',
|
|
28650
|
+
type: 'string',
|
|
28651
|
+
},
|
|
28652
|
+
location: {
|
|
28653
|
+
description:
|
|
28654
|
+
'When used, creates a new location with the given entrances and devices, and gives the user access to this location.',
|
|
28655
|
+
properties: {
|
|
28656
|
+
acs_entrance_ids: {
|
|
28657
|
+
default: [],
|
|
28658
|
+
description:
|
|
28659
|
+
'Set of IDs of the [entrances](https://docs.seam.co/latest/api/acs/systems/list) to add to the location to which access is being granted.',
|
|
28660
|
+
items: { format: 'uuid', type: 'string' },
|
|
28661
|
+
type: 'array',
|
|
28662
|
+
},
|
|
28663
|
+
device_ids: {
|
|
28664
|
+
default: [],
|
|
28665
|
+
description:
|
|
28666
|
+
'Set of IDs of the [devices](https://docs.seam.co/latest/api/devices/list) to add to the location to which access is being granted.',
|
|
28667
|
+
items: { format: 'uuid', type: 'string' },
|
|
28668
|
+
type: 'array',
|
|
28669
|
+
},
|
|
28670
|
+
},
|
|
28671
|
+
type: 'object',
|
|
28672
|
+
},
|
|
28673
|
+
location_ids: {
|
|
28674
|
+
description:
|
|
28675
|
+
'Set of IDs of existing locations to which access is being granted.',
|
|
28676
|
+
items: { format: 'uuid', type: 'string' },
|
|
28677
|
+
type: 'array',
|
|
28678
|
+
},
|
|
28679
|
+
starts_at: {
|
|
28680
|
+
description:
|
|
28681
|
+
'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.',
|
|
28682
|
+
format: 'date-time',
|
|
28683
|
+
type: 'string',
|
|
28684
|
+
},
|
|
28685
|
+
},
|
|
28686
|
+
required: ['desired_access_methods'],
|
|
28687
|
+
type: 'object',
|
|
28688
|
+
},
|
|
28689
|
+
],
|
|
28690
|
+
},
|
|
28691
|
+
},
|
|
28692
|
+
},
|
|
28693
|
+
},
|
|
28694
|
+
responses: {
|
|
28695
|
+
200: {
|
|
28696
|
+
content: {
|
|
28697
|
+
'application/json': {
|
|
28698
|
+
schema: {
|
|
28699
|
+
properties: {
|
|
28700
|
+
access_grant: {
|
|
28701
|
+
properties: {
|
|
28702
|
+
access_grant_id: {
|
|
28703
|
+
description: 'ID of the access grant.',
|
|
28704
|
+
format: 'uuid',
|
|
28705
|
+
type: 'string',
|
|
28706
|
+
},
|
|
28707
|
+
access_methods: {
|
|
28708
|
+
description:
|
|
28709
|
+
'Access methods associated with this access grant.',
|
|
28710
|
+
items: {
|
|
28711
|
+
properties: {
|
|
28712
|
+
access_method_key: {
|
|
28713
|
+
description:
|
|
28714
|
+
'Key for the access method - unique within an access grant.',
|
|
28715
|
+
type: 'string',
|
|
28716
|
+
},
|
|
28717
|
+
created_at: {
|
|
28718
|
+
description:
|
|
28719
|
+
'Date and time at which the access method was created.',
|
|
28720
|
+
format: 'date-time',
|
|
28721
|
+
type: 'string',
|
|
28722
|
+
},
|
|
28723
|
+
display_name: {
|
|
28724
|
+
description:
|
|
28725
|
+
'Display name of the access method.',
|
|
28726
|
+
type: 'string',
|
|
28727
|
+
},
|
|
28728
|
+
issued_at: {
|
|
28729
|
+
description:
|
|
28730
|
+
'Date and time at which the access method was issued.',
|
|
28731
|
+
format: 'date-time',
|
|
28732
|
+
nullable: true,
|
|
28733
|
+
type: 'string',
|
|
28734
|
+
},
|
|
28735
|
+
mode: {
|
|
28736
|
+
description:
|
|
28737
|
+
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
28738
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
28739
|
+
type: 'string',
|
|
28740
|
+
},
|
|
28741
|
+
},
|
|
28742
|
+
required: [
|
|
28743
|
+
'access_method_key',
|
|
28744
|
+
'display_name',
|
|
28745
|
+
'mode',
|
|
28746
|
+
'created_at',
|
|
28747
|
+
'issued_at',
|
|
28748
|
+
],
|
|
28749
|
+
type: 'object',
|
|
28750
|
+
'x-undocumented': 'Unreleased.',
|
|
28751
|
+
},
|
|
28752
|
+
type: 'array',
|
|
28753
|
+
},
|
|
28754
|
+
created_at: {
|
|
28755
|
+
description:
|
|
28756
|
+
'Date and time at which the access grant was created.',
|
|
28757
|
+
format: 'date-time',
|
|
28758
|
+
type: 'string',
|
|
28759
|
+
},
|
|
28760
|
+
display_name: {
|
|
28761
|
+
description: 'Display name of the access grant.',
|
|
28762
|
+
type: 'string',
|
|
28763
|
+
},
|
|
28764
|
+
location_ids: {
|
|
28765
|
+
description:
|
|
28766
|
+
'IDs of the locations to which access is being given.',
|
|
28767
|
+
items: { format: 'uuid', type: 'string' },
|
|
28768
|
+
type: 'array',
|
|
28769
|
+
},
|
|
28770
|
+
user_identity_id: {
|
|
28771
|
+
description:
|
|
28772
|
+
'ID of user identity to which access is being granted.',
|
|
28773
|
+
format: 'uuid',
|
|
28774
|
+
type: 'string',
|
|
28775
|
+
},
|
|
28776
|
+
workspace_id: {
|
|
28777
|
+
description:
|
|
28778
|
+
'Unique identifier for the Seam workspace associated with the access grant.',
|
|
28779
|
+
format: 'uuid',
|
|
28780
|
+
type: 'string',
|
|
28781
|
+
},
|
|
28782
|
+
},
|
|
28783
|
+
required: [
|
|
28784
|
+
'workspace_id',
|
|
28785
|
+
'access_grant_id',
|
|
28786
|
+
'user_identity_id',
|
|
28787
|
+
'location_ids',
|
|
28788
|
+
'access_methods',
|
|
28789
|
+
'display_name',
|
|
28790
|
+
'created_at',
|
|
28791
|
+
],
|
|
28792
|
+
type: 'object',
|
|
28793
|
+
'x-undocumented': 'Unreleased.',
|
|
28794
|
+
},
|
|
28795
|
+
ok: { type: 'boolean' },
|
|
28796
|
+
},
|
|
28797
|
+
required: ['access_grant', 'ok'],
|
|
28798
|
+
type: 'object',
|
|
28799
|
+
},
|
|
28800
|
+
},
|
|
28801
|
+
},
|
|
28802
|
+
description: 'OK',
|
|
28803
|
+
},
|
|
28804
|
+
400: { description: 'Bad Request' },
|
|
28805
|
+
401: { description: 'Unauthorized' },
|
|
28806
|
+
},
|
|
28807
|
+
security: [
|
|
28808
|
+
{ pat_with_workspace: [] },
|
|
28809
|
+
{ console_session_with_workspace: [] },
|
|
28810
|
+
{ api_key: [] },
|
|
28811
|
+
],
|
|
28812
|
+
summary: '/unstable_access_grants/create',
|
|
28813
|
+
tags: [],
|
|
28814
|
+
'x-fern-sdk-group-name': ['unstable_access_grants'],
|
|
28815
|
+
'x-fern-sdk-method-name': 'create',
|
|
28816
|
+
'x-fern-sdk-return-value': 'access_grant',
|
|
28817
|
+
'x-response-key': 'access_grant',
|
|
28818
|
+
'x-title': 'Create an Access Grant',
|
|
28819
|
+
'x-undocumented': 'Unreleased.',
|
|
28820
|
+
},
|
|
28821
|
+
},
|
|
28423
28822
|
'/unstable_locations/add_devices': {
|
|
28424
28823
|
post: {
|
|
28425
28824
|
description:
|
|
@@ -30719,6 +31118,7 @@ export default {
|
|
|
30719
31118
|
},
|
|
30720
31119
|
webview_primary_button_color: { type: 'string' },
|
|
30721
31120
|
webview_primary_button_text_color: { type: 'string' },
|
|
31121
|
+
webview_success_message: { type: 'string' },
|
|
30722
31122
|
},
|
|
30723
31123
|
required: ['name'],
|
|
30724
31124
|
type: 'object',
|
|
@@ -35736,6 +35736,26 @@ export interface Routes {
|
|
|
35736
35736
|
}
|
|
35737
35737
|
}
|
|
35738
35738
|
}
|
|
35739
|
+
'/seam/bridge/v1/bridge_connected_systems/list': {
|
|
35740
|
+
route: '/seam/bridge/v1/bridge_connected_systems/list'
|
|
35741
|
+
method: 'GET' | 'POST'
|
|
35742
|
+
queryParams: {}
|
|
35743
|
+
jsonBody: {}
|
|
35744
|
+
commonParams: {}
|
|
35745
|
+
formData: {}
|
|
35746
|
+
jsonResponse: {
|
|
35747
|
+
bridge_connected_systems: Array<{
|
|
35748
|
+
bridge_id: string
|
|
35749
|
+
bridge_created_at: string
|
|
35750
|
+
connected_account_id: string
|
|
35751
|
+
connected_account_created_at: string
|
|
35752
|
+
acs_system_id: string
|
|
35753
|
+
acs_system_display_name: string
|
|
35754
|
+
workspace_id: string
|
|
35755
|
+
workspace_display_name: string
|
|
35756
|
+
}>
|
|
35757
|
+
}
|
|
35758
|
+
}
|
|
35739
35759
|
'/thermostats/activate_climate_preset': {
|
|
35740
35760
|
route: '/thermostats/activate_climate_preset'
|
|
35741
35761
|
method: 'POST'
|
|
@@ -46988,6 +47008,81 @@ export interface Routes {
|
|
|
46988
47008
|
formData: {}
|
|
46989
47009
|
jsonResponse: {}
|
|
46990
47010
|
}
|
|
47011
|
+
'/unstable_access_grants/create': {
|
|
47012
|
+
route: '/unstable_access_grants/create'
|
|
47013
|
+
method: 'POST'
|
|
47014
|
+
queryParams: {}
|
|
47015
|
+
jsonBody: {}
|
|
47016
|
+
commonParams: (
|
|
47017
|
+
| {
|
|
47018
|
+
/** ID of user identity for whom access is being granted. */
|
|
47019
|
+
user_identity_id?: string | undefined
|
|
47020
|
+
}
|
|
47021
|
+
| {
|
|
47022
|
+
/** When used, creates a new user identity with the given details, and grants them access. */
|
|
47023
|
+
user_identity?:
|
|
47024
|
+
| {
|
|
47025
|
+
/** Unique email address for the user identity. */
|
|
47026
|
+
email_address?: (string | null) | undefined
|
|
47027
|
+
/** Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100). */
|
|
47028
|
+
phone_number?: (string | null) | undefined
|
|
47029
|
+
full_name?: (string | null) | undefined
|
|
47030
|
+
}
|
|
47031
|
+
| undefined
|
|
47032
|
+
}
|
|
47033
|
+
) & {
|
|
47034
|
+
/** Set of IDs of existing locations to which access is being granted. */
|
|
47035
|
+
location_ids?: string[] | undefined
|
|
47036
|
+
/** When used, creates a new location with the given entrances and devices, and gives the user access to this location. */
|
|
47037
|
+
location?:
|
|
47038
|
+
| {
|
|
47039
|
+
/** Set of IDs of the [entrances](https://docs.seam.co/latest/api/acs/systems/list) to add to the location to which access is being granted. */
|
|
47040
|
+
acs_entrance_ids?: string[]
|
|
47041
|
+
/** Set of IDs of the [devices](https://docs.seam.co/latest/api/devices/list) to add to the location to which access is being granted. */
|
|
47042
|
+
device_ids?: string[]
|
|
47043
|
+
}
|
|
47044
|
+
| undefined
|
|
47045
|
+
desired_access_methods: Array<{
|
|
47046
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
47047
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
47048
|
+
}>
|
|
47049
|
+
/** 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. */
|
|
47050
|
+
starts_at?: string | undefined
|
|
47051
|
+
/** 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`. */
|
|
47052
|
+
ends_at?: string | undefined
|
|
47053
|
+
}
|
|
47054
|
+
formData: {}
|
|
47055
|
+
jsonResponse: {
|
|
47056
|
+
/** */
|
|
47057
|
+
access_grant: {
|
|
47058
|
+
/** Unique identifier for the Seam workspace associated with the access grant. */
|
|
47059
|
+
workspace_id: string
|
|
47060
|
+
/** ID of the access grant. */
|
|
47061
|
+
access_grant_id: string
|
|
47062
|
+
/** ID of user identity to which access is being granted. */
|
|
47063
|
+
user_identity_id: string
|
|
47064
|
+
/** IDs of the locations to which access is being given. */
|
|
47065
|
+
location_ids: string[]
|
|
47066
|
+
/** Access methods associated with this access grant. */
|
|
47067
|
+
access_methods: Array<{
|
|
47068
|
+
/** Key for the access method - unique within an access grant. */
|
|
47069
|
+
access_method_key: string
|
|
47070
|
+
/** Display name of the access method. */
|
|
47071
|
+
display_name: string
|
|
47072
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
47073
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
47074
|
+
/** Date and time at which the access method was created. */
|
|
47075
|
+
created_at: string
|
|
47076
|
+
/** Date and time at which the access method was issued. */
|
|
47077
|
+
issued_at: string | null
|
|
47078
|
+
}>
|
|
47079
|
+
/** Display name of the access grant. */
|
|
47080
|
+
display_name: string
|
|
47081
|
+
/** Date and time at which the access grant was created. */
|
|
47082
|
+
created_at: string
|
|
47083
|
+
}
|
|
47084
|
+
}
|
|
47085
|
+
}
|
|
46991
47086
|
'/unstable_locations/add_devices': {
|
|
46992
47087
|
route: '/unstable_locations/add_devices'
|
|
46993
47088
|
method: 'POST' | 'PUT'
|
|
@@ -49733,6 +49828,7 @@ export interface Routes {
|
|
|
49733
49828
|
webview_primary_button_color?: string | undefined
|
|
49734
49829
|
webview_primary_button_text_color?: string | undefined
|
|
49735
49830
|
webview_logo_shape?: ('circle' | 'square') | undefined
|
|
49831
|
+
webview_success_message?: string | undefined
|
|
49736
49832
|
}
|
|
49737
49833
|
commonParams: {}
|
|
49738
49834
|
formData: {}
|
/package/lib/seam/connect/models/bridges/{bridge_client_session.d.ts → bridge-client-session.d.ts}
RENAMED
|
File without changes
|
/package/src/lib/seam/connect/models/bridges/{bridge_client_session.ts → bridge-client-session.ts}
RENAMED
|
File without changes
|