@seamapi/types 1.384.0 → 1.386.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.
Files changed (46) hide show
  1. package/dist/connect.cjs +629 -150
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +4211 -445
  4. package/lib/seam/connect/models/access-grants/access-grant.d.ts +8 -5
  5. package/lib/seam/connect/models/access-grants/access-grant.js +3 -0
  6. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  7. package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -3
  8. package/lib/seam/connect/models/access-grants/requested-access-method.js +2 -2
  9. package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
  10. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +156 -0
  11. package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -0
  12. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  13. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +80 -0
  14. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js +28 -0
  15. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js.map +1 -0
  16. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +80 -0
  17. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js +28 -0
  18. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js.map +1 -0
  19. package/lib/seam/connect/models/colors.d.ts +2 -0
  20. package/lib/seam/connect/models/colors.js +8 -0
  21. package/lib/seam/connect/models/colors.js.map +1 -0
  22. package/lib/seam/connect/models/events/access-grants.d.ts +277 -0
  23. package/lib/seam/connect/models/events/access-grants.js +60 -0
  24. package/lib/seam/connect/models/events/access-grants.js.map +1 -0
  25. package/lib/seam/connect/models/events/access-methods.d.ts +146 -0
  26. package/lib/seam/connect/models/events/access-methods.js +35 -0
  27. package/lib/seam/connect/models/events/access-methods.js.map +1 -0
  28. package/lib/seam/connect/models/workspaces/workspace.d.ts +33 -0
  29. package/lib/seam/connect/models/workspaces/workspace.js +8 -0
  30. package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
  31. package/lib/seam/connect/openapi.d.ts +523 -225
  32. package/lib/seam/connect/openapi.js +592 -171
  33. package/lib/seam/connect/openapi.js.map +1 -1
  34. package/lib/seam/connect/route-types.d.ts +3477 -198
  35. package/package.json +2 -2
  36. package/src/lib/seam/connect/models/access-grants/access-grant.ts +5 -0
  37. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +4 -2
  38. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -0
  39. package/src/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.ts +39 -0
  40. package/src/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.ts +37 -0
  41. package/src/lib/seam/connect/models/colors.ts +9 -0
  42. package/src/lib/seam/connect/models/events/access-grants.ts +92 -0
  43. package/src/lib/seam/connect/models/events/access-methods.ts +51 -0
  44. package/src/lib/seam/connect/models/workspaces/workspace.ts +9 -0
  45. package/src/lib/seam/connect/openapi.ts +615 -175
  46. package/src/lib/seam/connect/route-types.ts +3793 -36
@@ -5206,6 +5206,194 @@ export default {
5206
5206
  ],
5207
5207
  type: 'object',
5208
5208
  },
5209
+ {
5210
+ description: 'Simulating keypad code entry.',
5211
+ properties: {
5212
+ action_attempt_id: {
5213
+ description: 'ID of the action attempt.',
5214
+ format: 'uuid',
5215
+ type: 'string',
5216
+ },
5217
+ action_type: {
5218
+ enum: ['SIMULATE_KEYPAD_CODE_ENTRY'],
5219
+ type: 'string',
5220
+ },
5221
+ error: {
5222
+ description: 'Errors associated with the action attempt. Null for pending action attempts.',
5223
+ nullable: true,
5224
+ },
5225
+ result: {
5226
+ description: 'Result of the action attempt. Null for pending action attempts.',
5227
+ nullable: true,
5228
+ },
5229
+ status: { enum: ['pending'], type: 'string' },
5230
+ },
5231
+ required: [
5232
+ 'action_attempt_id',
5233
+ 'status',
5234
+ 'result',
5235
+ 'error',
5236
+ 'action_type',
5237
+ ],
5238
+ type: 'object',
5239
+ },
5240
+ {
5241
+ description: 'Simulating keypad code entry succeeded.',
5242
+ properties: {
5243
+ action_attempt_id: {
5244
+ description: 'ID of the action attempt.',
5245
+ format: 'uuid',
5246
+ type: 'string',
5247
+ },
5248
+ action_type: {
5249
+ enum: ['SIMULATE_KEYPAD_CODE_ENTRY'],
5250
+ type: 'string',
5251
+ },
5252
+ error: {
5253
+ description: 'Errors associated with the action attempt. Null for successful action attempts.',
5254
+ nullable: true,
5255
+ },
5256
+ result: { properties: {}, type: 'object' },
5257
+ status: { enum: ['success'], type: 'string' },
5258
+ },
5259
+ required: [
5260
+ 'action_attempt_id',
5261
+ 'status',
5262
+ 'error',
5263
+ 'action_type',
5264
+ 'result',
5265
+ ],
5266
+ type: 'object',
5267
+ },
5268
+ {
5269
+ description: 'Simulating keypad code entry failed.',
5270
+ properties: {
5271
+ action_attempt_id: {
5272
+ description: 'ID of the action attempt.',
5273
+ format: 'uuid',
5274
+ type: 'string',
5275
+ },
5276
+ action_type: {
5277
+ enum: ['SIMULATE_KEYPAD_CODE_ENTRY'],
5278
+ type: 'string',
5279
+ },
5280
+ error: {
5281
+ properties: {
5282
+ message: { type: 'string' },
5283
+ type: { type: 'string' },
5284
+ },
5285
+ required: ['type', 'message'],
5286
+ type: 'object',
5287
+ },
5288
+ result: {
5289
+ description: 'Result of the action attempt. Null for failed action attempts.',
5290
+ nullable: true,
5291
+ },
5292
+ status: { enum: ['error'], type: 'string' },
5293
+ },
5294
+ required: [
5295
+ 'action_attempt_id',
5296
+ 'status',
5297
+ 'result',
5298
+ 'action_type',
5299
+ 'error',
5300
+ ],
5301
+ type: 'object',
5302
+ },
5303
+ {
5304
+ description: 'Simulating manual lock via keypad.',
5305
+ properties: {
5306
+ action_attempt_id: {
5307
+ description: 'ID of the action attempt.',
5308
+ format: 'uuid',
5309
+ type: 'string',
5310
+ },
5311
+ action_type: {
5312
+ enum: ['SIMULATE_MANUAL_LOCK_VIA_KEYPAD'],
5313
+ type: 'string',
5314
+ },
5315
+ error: {
5316
+ description: 'Errors associated with the action attempt. Null for pending action attempts.',
5317
+ nullable: true,
5318
+ },
5319
+ result: {
5320
+ description: 'Result of the action attempt. Null for pending action attempts.',
5321
+ nullable: true,
5322
+ },
5323
+ status: { enum: ['pending'], type: 'string' },
5324
+ },
5325
+ required: [
5326
+ 'action_attempt_id',
5327
+ 'status',
5328
+ 'result',
5329
+ 'error',
5330
+ 'action_type',
5331
+ ],
5332
+ type: 'object',
5333
+ },
5334
+ {
5335
+ description: 'Simulating manual lock via keypad succeeded.',
5336
+ properties: {
5337
+ action_attempt_id: {
5338
+ description: 'ID of the action attempt.',
5339
+ format: 'uuid',
5340
+ type: 'string',
5341
+ },
5342
+ action_type: {
5343
+ enum: ['SIMULATE_MANUAL_LOCK_VIA_KEYPAD'],
5344
+ type: 'string',
5345
+ },
5346
+ error: {
5347
+ description: 'Errors associated with the action attempt. Null for successful action attempts.',
5348
+ nullable: true,
5349
+ },
5350
+ result: { properties: {}, type: 'object' },
5351
+ status: { enum: ['success'], type: 'string' },
5352
+ },
5353
+ required: [
5354
+ 'action_attempt_id',
5355
+ 'status',
5356
+ 'error',
5357
+ 'action_type',
5358
+ 'result',
5359
+ ],
5360
+ type: 'object',
5361
+ },
5362
+ {
5363
+ description: 'Simulating manual lock via keypad failed.',
5364
+ properties: {
5365
+ action_attempt_id: {
5366
+ description: 'ID of the action attempt.',
5367
+ format: 'uuid',
5368
+ type: 'string',
5369
+ },
5370
+ action_type: {
5371
+ enum: ['SIMULATE_MANUAL_LOCK_VIA_KEYPAD'],
5372
+ type: 'string',
5373
+ },
5374
+ error: {
5375
+ properties: {
5376
+ message: { type: 'string' },
5377
+ type: { type: 'string' },
5378
+ },
5379
+ required: ['type', 'message'],
5380
+ type: 'object',
5381
+ },
5382
+ result: {
5383
+ description: 'Result of the action attempt. Null for failed action attempts.',
5384
+ nullable: true,
5385
+ },
5386
+ status: { enum: ['error'], type: 'string' },
5387
+ },
5388
+ required: [
5389
+ 'action_attempt_id',
5390
+ 'status',
5391
+ 'result',
5392
+ 'action_type',
5393
+ 'error',
5394
+ ],
5395
+ type: 'object',
5396
+ },
5209
5397
  {
5210
5398
  properties: {
5211
5399
  action_attempt_id: {
@@ -15848,6 +16036,16 @@ export default {
15848
16036
  type: 'string',
15849
16037
  'x-deprecated': 'use company_name',
15850
16038
  },
16039
+ connect_webview_customization: {
16040
+ properties: {
16041
+ inviter_logo_url: { type: 'string' },
16042
+ logo_shape: { enum: ['circle', 'square'], type: 'string' },
16043
+ primary_button_color: { type: 'string' },
16044
+ primary_button_text_color: { type: 'string' },
16045
+ success_message: { type: 'string' },
16046
+ },
16047
+ type: 'object',
16048
+ },
15851
16049
  is_sandbox: { type: 'boolean' },
15852
16050
  is_suspended: {
15853
16051
  description: 'True if a sandbox workspace has not been accessed in 14 days',
@@ -15861,6 +16059,7 @@ export default {
15861
16059
  'name',
15862
16060
  'company_name',
15863
16061
  'is_sandbox',
16062
+ 'connect_webview_customization',
15864
16063
  'is_suspended',
15865
16064
  'connect_partner_name',
15866
16065
  ],
@@ -22898,18 +23097,15 @@ export default {
22898
23097
  'x-response-key': 'device_providers',
22899
23098
  },
22900
23099
  },
22901
- '/devices/simulate/access_code_lock': {
23100
+ '/devices/simulate/connect': {
22902
23101
  post: {
22903
- operationId: 'devicesSimulateAccessCodeLockPost',
23102
+ operationId: 'devicesSimulateConnectPost',
22904
23103
  requestBody: {
22905
23104
  content: {
22906
23105
  'application/json': {
22907
23106
  schema: {
22908
- properties: {
22909
- access_code_id: { format: 'uuid', type: 'string' },
22910
- device_id: { format: 'uuid', type: 'string' },
22911
- },
22912
- required: ['device_id', 'access_code_id'],
23107
+ properties: { device_id: { format: 'uuid', type: 'string' } },
23108
+ required: ['device_id'],
22913
23109
  type: 'object',
22914
23110
  },
22915
23111
  },
@@ -22936,26 +23132,22 @@ export default {
22936
23132
  { pat_with_workspace: [] },
22937
23133
  { console_session_with_workspace: [] },
22938
23134
  ],
22939
- summary: '/devices/simulate/access_code_lock',
23135
+ summary: '/devices/simulate/connect',
22940
23136
  tags: ['/devices'],
22941
23137
  'x-fern-sdk-group-name': ['devices', 'simulate'],
22942
- 'x-fern-sdk-method-name': 'access_code_lock',
23138
+ 'x-fern-sdk-method-name': 'connect',
22943
23139
  'x-response-key': null,
22944
- 'x-undocumented': 'Unreleased.',
22945
23140
  },
22946
23141
  },
22947
- '/devices/simulate/access_code_unlock': {
23142
+ '/devices/simulate/disconnect': {
22948
23143
  post: {
22949
- operationId: 'devicesSimulateAccessCodeUnlockPost',
23144
+ operationId: 'devicesSimulateDisconnectPost',
22950
23145
  requestBody: {
22951
23146
  content: {
22952
23147
  'application/json': {
22953
23148
  schema: {
22954
- properties: {
22955
- access_code_id: { format: 'uuid', type: 'string' },
22956
- device_id: { format: 'uuid', type: 'string' },
22957
- },
22958
- required: ['device_id', 'access_code_id'],
23149
+ properties: { device_id: { format: 'uuid', type: 'string' } },
23150
+ required: ['device_id'],
22959
23151
  type: 'object',
22960
23152
  },
22961
23153
  },
@@ -22982,17 +23174,16 @@ export default {
22982
23174
  { pat_with_workspace: [] },
22983
23175
  { console_session_with_workspace: [] },
22984
23176
  ],
22985
- summary: '/devices/simulate/access_code_unlock',
23177
+ summary: '/devices/simulate/disconnect',
22986
23178
  tags: ['/devices'],
22987
23179
  'x-fern-sdk-group-name': ['devices', 'simulate'],
22988
- 'x-fern-sdk-method-name': 'access_code_unlock',
23180
+ 'x-fern-sdk-method-name': 'disconnect',
22989
23181
  'x-response-key': null,
22990
- 'x-undocumented': 'Unreleased.',
22991
23182
  },
22992
23183
  },
22993
- '/devices/simulate/connect': {
23184
+ '/devices/simulate/remove': {
22994
23185
  post: {
22995
- operationId: 'devicesSimulateConnectPost',
23186
+ operationId: 'devicesSimulateRemovePost',
22996
23187
  requestBody: {
22997
23188
  content: {
22998
23189
  'application/json': {
@@ -23025,22 +23216,24 @@ export default {
23025
23216
  { pat_with_workspace: [] },
23026
23217
  { console_session_with_workspace: [] },
23027
23218
  ],
23028
- summary: '/devices/simulate/connect',
23219
+ summary: '/devices/simulate/remove',
23029
23220
  tags: ['/devices'],
23030
23221
  'x-fern-sdk-group-name': ['devices', 'simulate'],
23031
- 'x-fern-sdk-method-name': 'connect',
23222
+ 'x-fern-sdk-method-name': 'remove',
23032
23223
  'x-response-key': null,
23033
23224
  },
23034
23225
  },
23035
- '/devices/simulate/disconnect': {
23226
+ '/devices/unmanaged/get': {
23036
23227
  post: {
23037
- operationId: 'devicesSimulateDisconnectPost',
23228
+ operationId: 'devicesUnmanagedGetPost',
23038
23229
  requestBody: {
23039
23230
  content: {
23040
23231
  'application/json': {
23041
23232
  schema: {
23042
- properties: { device_id: { format: 'uuid', type: 'string' } },
23043
- required: ['device_id'],
23233
+ properties: {
23234
+ device_id: { format: 'uuid', type: 'string' },
23235
+ name: { type: 'string' },
23236
+ },
23044
23237
  type: 'object',
23045
23238
  },
23046
23239
  },
@@ -23051,8 +23244,11 @@ export default {
23051
23244
  content: {
23052
23245
  'application/json': {
23053
23246
  schema: {
23054
- properties: { ok: { type: 'boolean' } },
23055
- required: ['ok'],
23247
+ properties: {
23248
+ device: { $ref: '#/components/schemas/unmanaged_device' },
23249
+ ok: { type: 'boolean' },
23250
+ },
23251
+ required: ['device', 'ok'],
23056
23252
  type: 'object',
23057
23253
  },
23058
23254
  },
@@ -23063,111 +23259,22 @@ export default {
23063
23259
  401: { description: 'Unauthorized' },
23064
23260
  },
23065
23261
  security: [
23066
- { api_key: [] },
23262
+ { client_session: [] },
23067
23263
  { pat_with_workspace: [] },
23068
23264
  { console_session_with_workspace: [] },
23265
+ { api_key: [] },
23069
23266
  ],
23070
- summary: '/devices/simulate/disconnect',
23267
+ summary: '/devices/unmanaged/get',
23071
23268
  tags: ['/devices'],
23072
- 'x-fern-sdk-group-name': ['devices', 'simulate'],
23073
- 'x-fern-sdk-method-name': 'disconnect',
23074
- 'x-response-key': null,
23269
+ 'x-fern-sdk-group-name': ['devices', 'unmanaged'],
23270
+ 'x-fern-sdk-method-name': 'get',
23271
+ 'x-fern-sdk-return-value': 'device',
23272
+ 'x-response-key': 'device',
23075
23273
  },
23076
23274
  },
23077
- '/devices/simulate/remove': {
23275
+ '/devices/unmanaged/list': {
23078
23276
  post: {
23079
- operationId: 'devicesSimulateRemovePost',
23080
- requestBody: {
23081
- content: {
23082
- 'application/json': {
23083
- schema: {
23084
- properties: { device_id: { format: 'uuid', type: 'string' } },
23085
- required: ['device_id'],
23086
- type: 'object',
23087
- },
23088
- },
23089
- },
23090
- },
23091
- responses: {
23092
- 200: {
23093
- content: {
23094
- 'application/json': {
23095
- schema: {
23096
- properties: { ok: { type: 'boolean' } },
23097
- required: ['ok'],
23098
- type: 'object',
23099
- },
23100
- },
23101
- },
23102
- description: 'OK',
23103
- },
23104
- 400: { description: 'Bad Request' },
23105
- 401: { description: 'Unauthorized' },
23106
- },
23107
- security: [
23108
- { api_key: [] },
23109
- { pat_with_workspace: [] },
23110
- { console_session_with_workspace: [] },
23111
- ],
23112
- summary: '/devices/simulate/remove',
23113
- tags: ['/devices'],
23114
- 'x-fern-sdk-group-name': ['devices', 'simulate'],
23115
- 'x-fern-sdk-method-name': 'remove',
23116
- 'x-response-key': null,
23117
- },
23118
- },
23119
- '/devices/unmanaged/get': {
23120
- post: {
23121
- operationId: 'devicesUnmanagedGetPost',
23122
- requestBody: {
23123
- content: {
23124
- 'application/json': {
23125
- schema: {
23126
- properties: {
23127
- device_id: { format: 'uuid', type: 'string' },
23128
- name: { type: 'string' },
23129
- },
23130
- type: 'object',
23131
- },
23132
- },
23133
- },
23134
- },
23135
- responses: {
23136
- 200: {
23137
- content: {
23138
- 'application/json': {
23139
- schema: {
23140
- properties: {
23141
- device: { $ref: '#/components/schemas/unmanaged_device' },
23142
- ok: { type: 'boolean' },
23143
- },
23144
- required: ['device', 'ok'],
23145
- type: 'object',
23146
- },
23147
- },
23148
- },
23149
- description: 'OK',
23150
- },
23151
- 400: { description: 'Bad Request' },
23152
- 401: { description: 'Unauthorized' },
23153
- },
23154
- security: [
23155
- { client_session: [] },
23156
- { pat_with_workspace: [] },
23157
- { console_session_with_workspace: [] },
23158
- { api_key: [] },
23159
- ],
23160
- summary: '/devices/unmanaged/get',
23161
- tags: ['/devices'],
23162
- 'x-fern-sdk-group-name': ['devices', 'unmanaged'],
23163
- 'x-fern-sdk-method-name': 'get',
23164
- 'x-fern-sdk-return-value': 'device',
23165
- 'x-response-key': 'device',
23166
- },
23167
- },
23168
- '/devices/unmanaged/list': {
23169
- post: {
23170
- operationId: 'devicesUnmanagedListPost',
23277
+ operationId: 'devicesUnmanagedListPost',
23171
23278
  requestBody: {
23172
23279
  content: {
23173
23280
  'application/json': {
@@ -24323,6 +24430,109 @@ export default {
24323
24430
  'x-response-key': 'action_attempt',
24324
24431
  },
24325
24432
  },
24433
+ '/locks/simulate/keypad_code_entry': {
24434
+ post: {
24435
+ operationId: 'locksSimulateKeypadCodeEntryPost',
24436
+ requestBody: {
24437
+ content: {
24438
+ 'application/json': {
24439
+ schema: {
24440
+ properties: {
24441
+ code: { type: 'string' },
24442
+ device_id: { format: 'uuid', type: 'string' },
24443
+ },
24444
+ required: ['device_id', 'code'],
24445
+ type: 'object',
24446
+ },
24447
+ },
24448
+ },
24449
+ },
24450
+ responses: {
24451
+ 200: {
24452
+ content: {
24453
+ 'application/json': {
24454
+ schema: {
24455
+ properties: {
24456
+ action_attempt: {
24457
+ $ref: '#/components/schemas/action_attempt',
24458
+ },
24459
+ ok: { type: 'boolean' },
24460
+ },
24461
+ required: ['action_attempt', 'ok'],
24462
+ type: 'object',
24463
+ },
24464
+ },
24465
+ },
24466
+ description: 'OK',
24467
+ },
24468
+ 400: { description: 'Bad Request' },
24469
+ 401: { description: 'Unauthorized' },
24470
+ },
24471
+ security: [
24472
+ { api_key: [] },
24473
+ { pat_with_workspace: [] },
24474
+ { console_session_with_workspace: [] },
24475
+ ],
24476
+ summary: '/locks/simulate/keypad_code_entry',
24477
+ tags: ['/locks'],
24478
+ 'x-action-attempt-type': 'SIMULATE_KEYPAD_CODE_ENTRY',
24479
+ 'x-fern-sdk-group-name': ['locks', 'simulate'],
24480
+ 'x-fern-sdk-method-name': 'keypad_code_entry',
24481
+ 'x-fern-sdk-return-value': 'action_attempt',
24482
+ 'x-response-key': 'action_attempt',
24483
+ 'x-undocumented': 'Unreleased.',
24484
+ },
24485
+ },
24486
+ '/locks/simulate/manual_lock_via_keypad': {
24487
+ post: {
24488
+ operationId: 'locksSimulateManualLockViaKeypadPost',
24489
+ requestBody: {
24490
+ content: {
24491
+ 'application/json': {
24492
+ schema: {
24493
+ properties: { device_id: { format: 'uuid', type: 'string' } },
24494
+ required: ['device_id'],
24495
+ type: 'object',
24496
+ },
24497
+ },
24498
+ },
24499
+ },
24500
+ responses: {
24501
+ 200: {
24502
+ content: {
24503
+ 'application/json': {
24504
+ schema: {
24505
+ properties: {
24506
+ action_attempt: {
24507
+ $ref: '#/components/schemas/action_attempt',
24508
+ },
24509
+ ok: { type: 'boolean' },
24510
+ },
24511
+ required: ['action_attempt', 'ok'],
24512
+ type: 'object',
24513
+ },
24514
+ },
24515
+ },
24516
+ description: 'OK',
24517
+ },
24518
+ 400: { description: 'Bad Request' },
24519
+ 401: { description: 'Unauthorized' },
24520
+ },
24521
+ security: [
24522
+ { api_key: [] },
24523
+ { pat_with_workspace: [] },
24524
+ { console_session_with_workspace: [] },
24525
+ ],
24526
+ summary: '/locks/simulate/manual_lock_via_keypad',
24527
+ tags: ['/locks'],
24528
+ 'x-action-attempt-type': 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD',
24529
+ 'x-fern-sdk-group-name': ['locks', 'simulate'],
24530
+ 'x-fern-sdk-method-name': 'manual_lock_via_keypad',
24531
+ 'x-fern-sdk-return-value': 'action_attempt',
24532
+ 'x-response-key': 'action_attempt',
24533
+ 'x-undocumented': 'Unreleased.',
24534
+ },
24535
+ },
24326
24536
  '/locks/unlock_door': {
24327
24537
  post: {
24328
24538
  operationId: 'locksUnlockDoorPost',
@@ -26391,6 +26601,62 @@ export default {
26391
26601
  'x-undocumented': 'Seam Bridge Client only.',
26392
26602
  },
26393
26603
  },
26604
+ '/seam/instant_key/v1/client_sessions/exchange_short_code': {
26605
+ post: {
26606
+ description: 'Exchanges a short code for a Client Session Token (CST).\nThis endpoint is used by mobile apps to securely retrieve a client session token \nusing a short code obtained from an instant key URL.',
26607
+ operationId: 'seamInstantKeyV1ClientSessionsExchangeShortCodePost',
26608
+ requestBody: {
26609
+ content: {
26610
+ 'application/json': {
26611
+ schema: {
26612
+ properties: {
26613
+ short_code: {
26614
+ description: 'The short code to exchange for a client session token',
26615
+ type: 'string',
26616
+ },
26617
+ },
26618
+ required: ['short_code'],
26619
+ type: 'object',
26620
+ },
26621
+ },
26622
+ },
26623
+ },
26624
+ responses: {
26625
+ 200: {
26626
+ content: {
26627
+ 'application/json': {
26628
+ schema: {
26629
+ properties: {
26630
+ client_session: {
26631
+ $ref: '#/components/schemas/client_session',
26632
+ },
26633
+ ok: { type: 'boolean' },
26634
+ },
26635
+ required: ['client_session', 'ok'],
26636
+ type: 'object',
26637
+ },
26638
+ },
26639
+ },
26640
+ description: 'OK',
26641
+ },
26642
+ 400: { description: 'Bad Request' },
26643
+ 401: { description: 'Unauthorized' },
26644
+ },
26645
+ security: [{ certified_client: [] }],
26646
+ summary: '/seam/instant_key/v1/client_sessions/exchange_short_code',
26647
+ tags: ['/client_sessions'],
26648
+ 'x-fern-sdk-group-name': [
26649
+ 'seam',
26650
+ 'instant_key',
26651
+ 'v1',
26652
+ 'client_sessions',
26653
+ ],
26654
+ 'x-fern-sdk-method-name': 'exchange_short_code',
26655
+ 'x-fern-sdk-return-value': 'client_session',
26656
+ 'x-response-key': 'client_session',
26657
+ 'x-title': 'Exchange Instant Key Short Code',
26658
+ },
26659
+ },
26394
26660
  '/thermostats/activate_climate_preset': {
26395
26661
  post: {
26396
26662
  description: 'Activates a specified [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
@@ -28424,20 +28690,6 @@ export default {
28424
28690
  },
28425
28691
  {
28426
28692
  properties: {
28427
- desired_access_methods: {
28428
- items: {
28429
- properties: {
28430
- mode: {
28431
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
28432
- enum: ['code', 'card', 'mobile_key'],
28433
- type: 'string',
28434
- },
28435
- },
28436
- required: ['mode'],
28437
- type: 'object',
28438
- },
28439
- type: 'array',
28440
- },
28441
28693
  ends_at: {
28442
28694
  description: '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`.',
28443
28695
  format: 'date-time',
@@ -28458,6 +28710,10 @@ export default {
28458
28710
  items: { format: 'uuid', type: 'string' },
28459
28711
  type: 'array',
28460
28712
  },
28713
+ name: {
28714
+ description: 'Name of the location.',
28715
+ type: 'string',
28716
+ },
28461
28717
  },
28462
28718
  type: 'object',
28463
28719
  },
@@ -28466,13 +28722,27 @@ export default {
28466
28722
  items: { format: 'uuid', type: 'string' },
28467
28723
  type: 'array',
28468
28724
  },
28725
+ requested_access_methods: {
28726
+ items: {
28727
+ properties: {
28728
+ mode: {
28729
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
28730
+ enum: ['code', 'card', 'mobile_key'],
28731
+ type: 'string',
28732
+ },
28733
+ },
28734
+ required: ['mode'],
28735
+ type: 'object',
28736
+ },
28737
+ type: 'array',
28738
+ },
28469
28739
  starts_at: {
28470
28740
  description: '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.',
28471
28741
  format: 'date-time',
28472
28742
  type: 'string',
28473
28743
  },
28474
28744
  },
28475
- required: ['desired_access_methods'],
28745
+ required: ['requested_access_methods'],
28476
28746
  type: 'object',
28477
28747
  },
28478
28748
  ],
@@ -28493,6 +28763,11 @@ export default {
28493
28763
  format: 'uuid',
28494
28764
  type: 'string',
28495
28765
  },
28766
+ access_method_ids: {
28767
+ description: 'IDs of the access methods that were created for this access grant.',
28768
+ items: { format: 'uuid', type: 'string' },
28769
+ type: 'array',
28770
+ },
28496
28771
  created_at: {
28497
28772
  description: 'Date and time at which the access grant was created.',
28498
28773
  format: 'date-time',
@@ -28511,6 +28786,11 @@ export default {
28511
28786
  description: 'Access methods that the user requested for this access grant.',
28512
28787
  items: {
28513
28788
  properties: {
28789
+ created_access_method_ids: {
28790
+ description: 'IDs of the access methods that were created for this requested access method.',
28791
+ items: { format: 'uuid', type: 'string' },
28792
+ type: 'array',
28793
+ },
28514
28794
  created_at: {
28515
28795
  description: 'Date and time at which the requested access method was added to this access grant.',
28516
28796
  format: 'date-time',
@@ -28525,17 +28805,12 @@ export default {
28525
28805
  enum: ['code', 'card', 'mobile_key'],
28526
28806
  type: 'string',
28527
28807
  },
28528
- provisioned_access_method_ids: {
28529
- description: 'IDs of the locations to which access is being given.',
28530
- items: { format: 'uuid', type: 'string' },
28531
- type: 'array',
28532
- },
28533
28808
  },
28534
28809
  required: [
28535
28810
  'display_name',
28536
28811
  'mode',
28537
28812
  'created_at',
28538
- 'provisioned_access_method_ids',
28813
+ 'created_access_method_ids',
28539
28814
  ],
28540
28815
  type: 'object',
28541
28816
  'x-undocumented': 'Unreleased.',
@@ -28559,6 +28834,7 @@ export default {
28559
28834
  'user_identity_id',
28560
28835
  'location_ids',
28561
28836
  'requested_access_methods',
28837
+ 'access_method_ids',
28562
28838
  'display_name',
28563
28839
  'created_at',
28564
28840
  ],
@@ -28626,6 +28902,11 @@ export default {
28626
28902
  format: 'uuid',
28627
28903
  type: 'string',
28628
28904
  },
28905
+ access_method_ids: {
28906
+ description: 'IDs of the access methods that were created for this access grant.',
28907
+ items: { format: 'uuid', type: 'string' },
28908
+ type: 'array',
28909
+ },
28629
28910
  created_at: {
28630
28911
  description: 'Date and time at which the access grant was created.',
28631
28912
  format: 'date-time',
@@ -28644,6 +28925,11 @@ export default {
28644
28925
  description: 'Access methods that the user requested for this access grant.',
28645
28926
  items: {
28646
28927
  properties: {
28928
+ created_access_method_ids: {
28929
+ description: 'IDs of the access methods that were created for this requested access method.',
28930
+ items: { format: 'uuid', type: 'string' },
28931
+ type: 'array',
28932
+ },
28647
28933
  created_at: {
28648
28934
  description: 'Date and time at which the requested access method was added to this access grant.',
28649
28935
  format: 'date-time',
@@ -28658,17 +28944,12 @@ export default {
28658
28944
  enum: ['code', 'card', 'mobile_key'],
28659
28945
  type: 'string',
28660
28946
  },
28661
- provisioned_access_method_ids: {
28662
- description: 'IDs of the locations to which access is being given.',
28663
- items: { format: 'uuid', type: 'string' },
28664
- type: 'array',
28665
- },
28666
28947
  },
28667
28948
  required: [
28668
28949
  'display_name',
28669
28950
  'mode',
28670
28951
  'created_at',
28671
- 'provisioned_access_method_ids',
28952
+ 'created_access_method_ids',
28672
28953
  ],
28673
28954
  type: 'object',
28674
28955
  'x-undocumented': 'Unreleased.',
@@ -28692,6 +28973,7 @@ export default {
28692
28973
  'user_identity_id',
28693
28974
  'location_ids',
28694
28975
  'requested_access_methods',
28976
+ 'access_method_ids',
28695
28977
  'display_name',
28696
28978
  'created_at',
28697
28979
  ],
@@ -28774,6 +29056,11 @@ export default {
28774
29056
  format: 'uuid',
28775
29057
  type: 'string',
28776
29058
  },
29059
+ access_method_ids: {
29060
+ description: 'IDs of the access methods that were created for this access grant.',
29061
+ items: { format: 'uuid', type: 'string' },
29062
+ type: 'array',
29063
+ },
28777
29064
  created_at: {
28778
29065
  description: 'Date and time at which the access grant was created.',
28779
29066
  format: 'date-time',
@@ -28792,6 +29079,11 @@ export default {
28792
29079
  description: 'Access methods that the user requested for this access grant.',
28793
29080
  items: {
28794
29081
  properties: {
29082
+ created_access_method_ids: {
29083
+ description: 'IDs of the access methods that were created for this requested access method.',
29084
+ items: { format: 'uuid', type: 'string' },
29085
+ type: 'array',
29086
+ },
28795
29087
  created_at: {
28796
29088
  description: 'Date and time at which the requested access method was added to this access grant.',
28797
29089
  format: 'date-time',
@@ -28806,17 +29098,12 @@ export default {
28806
29098
  enum: ['code', 'card', 'mobile_key'],
28807
29099
  type: 'string',
28808
29100
  },
28809
- provisioned_access_method_ids: {
28810
- description: 'IDs of the locations to which access is being given.',
28811
- items: { format: 'uuid', type: 'string' },
28812
- type: 'array',
28813
- },
28814
29101
  },
28815
29102
  required: [
28816
29103
  'display_name',
28817
29104
  'mode',
28818
29105
  'created_at',
28819
- 'provisioned_access_method_ids',
29106
+ 'created_access_method_ids',
28820
29107
  ],
28821
29108
  type: 'object',
28822
29109
  'x-undocumented': 'Unreleased.',
@@ -28840,6 +29127,7 @@ export default {
28840
29127
  'user_identity_id',
28841
29128
  'location_ids',
28842
29129
  'requested_access_methods',
29130
+ 'access_method_ids',
28843
29131
  'display_name',
28844
29132
  'created_at',
28845
29133
  ],
@@ -28875,10 +29163,10 @@ export default {
28875
29163
  'x-undocumented': 'Unreleased.',
28876
29164
  },
28877
29165
  },
28878
- '/unstable_access_grants/list_access_methods': {
29166
+ '/unstable_access_methods/list': {
28879
29167
  post: {
28880
- description: 'List all access methods for an access grant.',
28881
- operationId: 'unstableAccessGrantsListAccessMethodsPost',
29168
+ description: 'List all access methods, usually filtered by access grant.',
29169
+ operationId: 'unstableAccessMethodsListPost',
28882
29170
  requestBody: {
28883
29171
  content: {
28884
29172
  'application/json': {
@@ -28966,13 +29254,13 @@ export default {
28966
29254
  { console_session_with_workspace: [] },
28967
29255
  { api_key: [] },
28968
29256
  ],
28969
- summary: '/unstable_access_grants/list_access_methods',
29257
+ summary: '/unstable_access_methods/list',
28970
29258
  tags: [],
28971
- 'x-fern-sdk-group-name': ['unstable_access_grants'],
28972
- 'x-fern-sdk-method-name': 'list_access_methods',
29259
+ 'x-fern-sdk-group-name': ['unstable_access_methods'],
29260
+ 'x-fern-sdk-method-name': 'list',
28973
29261
  'x-fern-sdk-return-value': 'access_methods',
28974
29262
  'x-response-key': 'access_methods',
28975
- 'x-title': 'Get the Access Methods for an Access Grant',
29263
+ 'x-title': 'List Access Methods',
28976
29264
  'x-undocumented': 'Unreleased.',
28977
29265
  },
28978
29266
  },
@@ -30269,6 +30557,12 @@ export default {
30269
30557
  'application/json': {
30270
30558
  schema: {
30271
30559
  properties: {
30560
+ max_use_count: {
30561
+ default: 1,
30562
+ description: 'The maximum number of times the instant key can be used. Defaults to 1.',
30563
+ format: 'float',
30564
+ type: 'number',
30565
+ },
30272
30566
  user_identity_id: {
30273
30567
  description: 'ID of the user identity for which you want to generate an instant key.',
30274
30568
  format: 'uuid',
@@ -31276,15 +31570,45 @@ export default {
31276
31570
  type: 'string',
31277
31571
  'x-deprecated': 'use company_name',
31278
31572
  },
31573
+ connect_webview_customization: {
31574
+ properties: {
31575
+ logo_shape: {
31576
+ enum: ['circle', 'square'],
31577
+ nullable: true,
31578
+ type: 'string',
31579
+ },
31580
+ primary_button_color: { nullable: true, type: 'string' },
31581
+ primary_button_text_color: {
31582
+ nullable: true,
31583
+ type: 'string',
31584
+ },
31585
+ success_message: { nullable: true, type: 'string' },
31586
+ },
31587
+ type: 'object',
31588
+ },
31279
31589
  is_sandbox: { default: false, type: 'boolean' },
31280
31590
  name: { type: 'string' },
31281
31591
  webview_logo_shape: {
31592
+ deprecated: true,
31282
31593
  enum: ['circle', 'square'],
31283
31594
  type: 'string',
31595
+ 'x-deprecated': 'Use `connect_webview_customization.webview_logo_shape` instead.',
31596
+ },
31597
+ webview_primary_button_color: {
31598
+ deprecated: true,
31599
+ type: 'string',
31600
+ 'x-deprecated': 'Use `connect_webview_customization.webview_primary_button_color` instead.',
31601
+ },
31602
+ webview_primary_button_text_color: {
31603
+ deprecated: true,
31604
+ type: 'string',
31605
+ 'x-deprecated': 'Use `connect_webview_customization.webview_primary_button_text_color` instead.',
31606
+ },
31607
+ webview_success_message: {
31608
+ deprecated: true,
31609
+ type: 'string',
31610
+ 'x-deprecated': 'Use `connect_webview_customization.webview_success_message` instead.',
31284
31611
  },
31285
- webview_primary_button_color: { type: 'string' },
31286
- webview_primary_button_text_color: { type: 'string' },
31287
- webview_success_message: { type: 'string' },
31288
31612
  },
31289
31613
  required: ['name'],
31290
31614
  type: 'object',
@@ -31508,6 +31832,103 @@ export default {
31508
31832
  'x-response-key': 'action_attempt',
31509
31833
  },
31510
31834
  },
31835
+ '/workspaces/update': {
31836
+ patch: {
31837
+ operationId: 'workspacesUpdatePatch',
31838
+ requestBody: {
31839
+ content: {
31840
+ 'application/json': {
31841
+ schema: {
31842
+ properties: {
31843
+ connect_partner_name: { type: 'string' },
31844
+ connect_webview_customization: {
31845
+ properties: {
31846
+ logo_shape: {
31847
+ enum: ['circle', 'square'],
31848
+ nullable: true,
31849
+ type: 'string',
31850
+ },
31851
+ primary_button_color: { nullable: true, type: 'string' },
31852
+ primary_button_text_color: {
31853
+ nullable: true,
31854
+ type: 'string',
31855
+ },
31856
+ success_message: { nullable: true, type: 'string' },
31857
+ },
31858
+ type: 'object',
31859
+ },
31860
+ is_suspended: { type: 'boolean' },
31861
+ name: { type: 'string' },
31862
+ },
31863
+ type: 'object',
31864
+ },
31865
+ },
31866
+ },
31867
+ },
31868
+ responses: {
31869
+ 200: { description: 'OK' },
31870
+ 400: { description: 'Bad Request' },
31871
+ 401: { description: 'Unauthorized' },
31872
+ },
31873
+ security: [
31874
+ { api_key: [] },
31875
+ { console_session_with_workspace: [] },
31876
+ { pat_with_workspace: [] },
31877
+ ],
31878
+ summary: '/workspaces/update',
31879
+ tags: ['/workspaces'],
31880
+ 'x-fern-ignore': true,
31881
+ 'x-response-key': null,
31882
+ },
31883
+ post: {
31884
+ operationId: 'workspacesUpdatePost',
31885
+ requestBody: {
31886
+ content: {
31887
+ 'application/json': {
31888
+ schema: {
31889
+ properties: {
31890
+ connect_partner_name: { type: 'string' },
31891
+ connect_webview_customization: {
31892
+ properties: {
31893
+ logo_shape: {
31894
+ enum: ['circle', 'square'],
31895
+ nullable: true,
31896
+ type: 'string',
31897
+ },
31898
+ primary_button_color: { nullable: true, type: 'string' },
31899
+ primary_button_text_color: {
31900
+ nullable: true,
31901
+ type: 'string',
31902
+ },
31903
+ success_message: { nullable: true, type: 'string' },
31904
+ },
31905
+ type: 'object',
31906
+ },
31907
+ is_suspended: { type: 'boolean' },
31908
+ name: { type: 'string' },
31909
+ },
31910
+ type: 'object',
31911
+ },
31912
+ },
31913
+ },
31914
+ },
31915
+ responses: {
31916
+ 200: { description: 'OK' },
31917
+ 400: { description: 'Bad Request' },
31918
+ 401: { description: 'Unauthorized' },
31919
+ },
31920
+ security: [
31921
+ { api_key: [] },
31922
+ { console_session_with_workspace: [] },
31923
+ { pat_with_workspace: [] },
31924
+ ],
31925
+ summary: '/workspaces/update',
31926
+ tags: ['/workspaces'],
31927
+ 'x-fern-sdk-group-name': ['workspaces'],
31928
+ 'x-fern-sdk-method-name': 'update',
31929
+ 'x-response-key': null,
31930
+ },
31931
+ },
31511
31932
  },
31512
31933
  servers: [{ url: 'https://connect.getseam.com' }],
31513
31934
  tags: [