@seamapi/types 1.383.0 → 1.385.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 (52) hide show
  1. package/dist/connect.cjs +548 -137
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2068 -451
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/model-types.d.ts +1 -1
  8. package/lib/seam/connect/models/access-grants/access-grant.d.ts +8 -5
  9. package/lib/seam/connect/models/access-grants/access-grant.js +3 -0
  10. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  11. package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -3
  12. package/lib/seam/connect/models/access-grants/requested-access-method.js +2 -2
  13. package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
  14. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +156 -0
  15. package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -0
  16. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  17. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +80 -0
  18. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js +28 -0
  19. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js.map +1 -0
  20. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +80 -0
  21. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js +28 -0
  22. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js.map +1 -0
  23. package/lib/seam/connect/models/index.d.ts +1 -0
  24. package/lib/seam/connect/models/index.js +1 -0
  25. package/lib/seam/connect/models/index.js.map +1 -1
  26. package/lib/seam/connect/models/instant-keys/index.d.ts +1 -0
  27. package/lib/seam/connect/models/instant-keys/index.js +2 -0
  28. package/lib/seam/connect/models/instant-keys/index.js.map +1 -0
  29. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +27 -0
  30. package/lib/seam/connect/models/instant-keys/instant-key.js +16 -0
  31. package/lib/seam/connect/models/instant-keys/instant-key.js.map +1 -0
  32. package/lib/seam/connect/openapi.d.ts +420 -223
  33. package/lib/seam/connect/openapi.js +485 -132
  34. package/lib/seam/connect/openapi.js.map +1 -1
  35. package/lib/seam/connect/route-types.d.ts +1269 -33
  36. package/lib/seam/connect/schemas.d.ts +1 -1
  37. package/lib/seam/connect/schemas.js +1 -1
  38. package/lib/seam/connect/schemas.js.map +1 -1
  39. package/package.json +1 -1
  40. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  41. package/src/lib/seam/connect/model-types.ts +1 -0
  42. package/src/lib/seam/connect/models/access-grants/access-grant.ts +5 -0
  43. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +4 -2
  44. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -0
  45. package/src/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.ts +39 -0
  46. package/src/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.ts +37 -0
  47. package/src/lib/seam/connect/models/index.ts +1 -0
  48. package/src/lib/seam/connect/models/instant-keys/index.ts +1 -0
  49. package/src/lib/seam/connect/models/instant-keys/instant-key.ts +18 -0
  50. package/src/lib/seam/connect/openapi.ts +535 -166
  51. package/src/lib/seam/connect/route-types.ts +1395 -33
  52. package/src/lib/seam/connect/schemas.ts +1 -0
@@ -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: {
@@ -12502,6 +12690,29 @@ export default {
12502
12690
  ],
12503
12691
  'x-route-path': '/events',
12504
12692
  },
12693
+ instant_key: {
12694
+ properties: {
12695
+ client_session_id: { format: 'uuid', type: 'string' },
12696
+ created_at: { format: 'date-time', type: 'string' },
12697
+ expires_at: { format: 'date-time', type: 'string' },
12698
+ instant_key_id: { format: 'uuid', type: 'string' },
12699
+ instant_key_url: { format: 'uri', type: 'string' },
12700
+ user_identity_id: { format: 'uuid', type: 'string' },
12701
+ workspace_id: { format: 'uuid', type: 'string' },
12702
+ },
12703
+ required: [
12704
+ 'instant_key_id',
12705
+ 'workspace_id',
12706
+ 'created_at',
12707
+ 'instant_key_url',
12708
+ 'client_session_id',
12709
+ 'user_identity_id',
12710
+ 'expires_at',
12711
+ ],
12712
+ type: 'object',
12713
+ 'x-route-path': '/user_identities',
12714
+ 'x-undocumented': 'Unreleased.',
12715
+ },
12505
12716
  network: {
12506
12717
  properties: {
12507
12718
  created_at: { format: 'date-time', type: 'string' },
@@ -22875,98 +23086,6 @@ export default {
22875
23086
  'x-response-key': 'device_providers',
22876
23087
  },
22877
23088
  },
22878
- '/devices/simulate/access_code_lock': {
22879
- post: {
22880
- operationId: 'devicesSimulateAccessCodeLockPost',
22881
- requestBody: {
22882
- content: {
22883
- 'application/json': {
22884
- schema: {
22885
- properties: {
22886
- access_code_id: { format: 'uuid', type: 'string' },
22887
- device_id: { format: 'uuid', type: 'string' },
22888
- },
22889
- required: ['device_id', 'access_code_id'],
22890
- type: 'object',
22891
- },
22892
- },
22893
- },
22894
- },
22895
- responses: {
22896
- 200: {
22897
- content: {
22898
- 'application/json': {
22899
- schema: {
22900
- properties: { ok: { type: 'boolean' } },
22901
- required: ['ok'],
22902
- type: 'object',
22903
- },
22904
- },
22905
- },
22906
- description: 'OK',
22907
- },
22908
- 400: { description: 'Bad Request' },
22909
- 401: { description: 'Unauthorized' },
22910
- },
22911
- security: [
22912
- { api_key: [] },
22913
- { pat_with_workspace: [] },
22914
- { console_session_with_workspace: [] },
22915
- ],
22916
- summary: '/devices/simulate/access_code_lock',
22917
- tags: ['/devices'],
22918
- 'x-fern-sdk-group-name': ['devices', 'simulate'],
22919
- 'x-fern-sdk-method-name': 'access_code_lock',
22920
- 'x-response-key': null,
22921
- 'x-undocumented': 'Unreleased.',
22922
- },
22923
- },
22924
- '/devices/simulate/access_code_unlock': {
22925
- post: {
22926
- operationId: 'devicesSimulateAccessCodeUnlockPost',
22927
- requestBody: {
22928
- content: {
22929
- 'application/json': {
22930
- schema: {
22931
- properties: {
22932
- access_code_id: { format: 'uuid', type: 'string' },
22933
- device_id: { format: 'uuid', type: 'string' },
22934
- },
22935
- required: ['device_id', 'access_code_id'],
22936
- type: 'object',
22937
- },
22938
- },
22939
- },
22940
- },
22941
- responses: {
22942
- 200: {
22943
- content: {
22944
- 'application/json': {
22945
- schema: {
22946
- properties: { ok: { type: 'boolean' } },
22947
- required: ['ok'],
22948
- type: 'object',
22949
- },
22950
- },
22951
- },
22952
- description: 'OK',
22953
- },
22954
- 400: { description: 'Bad Request' },
22955
- 401: { description: 'Unauthorized' },
22956
- },
22957
- security: [
22958
- { api_key: [] },
22959
- { pat_with_workspace: [] },
22960
- { console_session_with_workspace: [] },
22961
- ],
22962
- summary: '/devices/simulate/access_code_unlock',
22963
- tags: ['/devices'],
22964
- 'x-fern-sdk-group-name': ['devices', 'simulate'],
22965
- 'x-fern-sdk-method-name': 'access_code_unlock',
22966
- 'x-response-key': null,
22967
- 'x-undocumented': 'Unreleased.',
22968
- },
22969
- },
22970
23089
  '/devices/simulate/connect': {
22971
23090
  post: {
22972
23091
  operationId: 'devicesSimulateConnectPost',
@@ -24300,6 +24419,108 @@ export default {
24300
24419
  'x-response-key': 'action_attempt',
24301
24420
  },
24302
24421
  },
24422
+ '/locks/simulate/keypad_code_entry': {
24423
+ post: {
24424
+ operationId: 'locksSimulateKeypadCodeEntryPost',
24425
+ requestBody: {
24426
+ content: {
24427
+ 'application/json': {
24428
+ schema: {
24429
+ properties: {
24430
+ code: { type: 'string' },
24431
+ device_id: { format: 'uuid', type: 'string' },
24432
+ },
24433
+ required: ['device_id', 'code'],
24434
+ type: 'object',
24435
+ },
24436
+ },
24437
+ },
24438
+ },
24439
+ responses: {
24440
+ 200: {
24441
+ content: {
24442
+ 'application/json': {
24443
+ schema: {
24444
+ properties: {
24445
+ action_attempt: {
24446
+ $ref: '#/components/schemas/access_code',
24447
+ },
24448
+ ok: { type: 'boolean' },
24449
+ },
24450
+ required: ['ok'],
24451
+ type: 'object',
24452
+ },
24453
+ },
24454
+ },
24455
+ description: 'OK',
24456
+ },
24457
+ 400: { description: 'Bad Request' },
24458
+ 401: { description: 'Unauthorized' },
24459
+ },
24460
+ security: [
24461
+ { api_key: [] },
24462
+ { pat_with_workspace: [] },
24463
+ { console_session_with_workspace: [] },
24464
+ ],
24465
+ summary: '/locks/simulate/keypad_code_entry',
24466
+ tags: ['/locks'],
24467
+ 'x-action-attempt-type': 'SIMULATE_KEYPAD_CODE_ENTRY',
24468
+ 'x-fern-sdk-group-name': ['locks', 'simulate'],
24469
+ 'x-fern-sdk-method-name': 'keypad_code_entry',
24470
+ 'x-fern-sdk-return-value': 'action_attempt',
24471
+ 'x-response-key': 'action_attempt',
24472
+ 'x-undocumented': 'Unreleased.',
24473
+ },
24474
+ },
24475
+ '/locks/simulate/manual_lock_via_keypad': {
24476
+ post: {
24477
+ operationId: 'locksSimulateManualLockViaKeypadPost',
24478
+ requestBody: {
24479
+ content: {
24480
+ 'application/json': {
24481
+ schema: {
24482
+ properties: { device_id: { format: 'uuid', type: 'string' } },
24483
+ required: ['device_id'],
24484
+ type: 'object',
24485
+ },
24486
+ },
24487
+ },
24488
+ },
24489
+ responses: {
24490
+ 200: {
24491
+ content: {
24492
+ 'application/json': {
24493
+ schema: {
24494
+ properties: {
24495
+ action_attempt: {
24496
+ $ref: '#/components/schemas/access_code',
24497
+ },
24498
+ ok: { type: 'boolean' },
24499
+ },
24500
+ required: ['ok'],
24501
+ type: 'object',
24502
+ },
24503
+ },
24504
+ },
24505
+ description: 'OK',
24506
+ },
24507
+ 400: { description: 'Bad Request' },
24508
+ 401: { description: 'Unauthorized' },
24509
+ },
24510
+ security: [
24511
+ { api_key: [] },
24512
+ { pat_with_workspace: [] },
24513
+ { console_session_with_workspace: [] },
24514
+ ],
24515
+ summary: '/locks/simulate/manual_lock_via_keypad',
24516
+ tags: ['/locks'],
24517
+ 'x-action-attempt-type': 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD',
24518
+ 'x-fern-sdk-group-name': ['locks', 'simulate'],
24519
+ 'x-fern-sdk-method-name': 'manual_lock_via_keypad',
24520
+ 'x-response-key': null,
24521
+ 'x-undocumented': 'Unreleased.',
24522
+ },
24523
+ },
24303
24524
  '/locks/unlock_door': {
24304
24525
  post: {
24305
24526
  operationId: 'locksUnlockDoorPost',
@@ -26368,6 +26589,62 @@ export default {
26368
26589
  'x-undocumented': 'Seam Bridge Client only.',
26369
26590
  },
26370
26591
  },
26592
+ '/seam/instant_key/v1/client_sessions/exchange_short_code': {
26593
+ post: {
26594
+ 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.',
26595
+ operationId: 'seamInstantKeyV1ClientSessionsExchangeShortCodePost',
26596
+ requestBody: {
26597
+ content: {
26598
+ 'application/json': {
26599
+ schema: {
26600
+ properties: {
26601
+ short_code: {
26602
+ description: 'The short code to exchange for a client session token',
26603
+ type: 'string',
26604
+ },
26605
+ },
26606
+ required: ['short_code'],
26607
+ type: 'object',
26608
+ },
26609
+ },
26610
+ },
26611
+ },
26612
+ responses: {
26613
+ 200: {
26614
+ content: {
26615
+ 'application/json': {
26616
+ schema: {
26617
+ properties: {
26618
+ client_session: {
26619
+ $ref: '#/components/schemas/client_session',
26620
+ },
26621
+ ok: { type: 'boolean' },
26622
+ },
26623
+ required: ['client_session', 'ok'],
26624
+ type: 'object',
26625
+ },
26626
+ },
26627
+ },
26628
+ description: 'OK',
26629
+ },
26630
+ 400: { description: 'Bad Request' },
26631
+ 401: { description: 'Unauthorized' },
26632
+ },
26633
+ security: [{ certified_client: [] }],
26634
+ summary: '/seam/instant_key/v1/client_sessions/exchange_short_code',
26635
+ tags: ['/client_sessions'],
26636
+ 'x-fern-sdk-group-name': [
26637
+ 'seam',
26638
+ 'instant_key',
26639
+ 'v1',
26640
+ 'client_sessions',
26641
+ ],
26642
+ 'x-fern-sdk-method-name': 'exchange_short_code',
26643
+ 'x-fern-sdk-return-value': 'client_session',
26644
+ 'x-response-key': 'client_session',
26645
+ 'x-title': 'Exchange Instant Key Short Code',
26646
+ },
26647
+ },
26371
26648
  '/thermostats/activate_climate_preset': {
26372
26649
  post: {
26373
26650
  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).',
@@ -28401,20 +28678,6 @@ export default {
28401
28678
  },
28402
28679
  {
28403
28680
  properties: {
28404
- desired_access_methods: {
28405
- items: {
28406
- properties: {
28407
- mode: {
28408
- description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
28409
- enum: ['code', 'card', 'mobile_key'],
28410
- type: 'string',
28411
- },
28412
- },
28413
- required: ['mode'],
28414
- type: 'object',
28415
- },
28416
- type: 'array',
28417
- },
28418
28681
  ends_at: {
28419
28682
  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`.',
28420
28683
  format: 'date-time',
@@ -28435,6 +28698,10 @@ export default {
28435
28698
  items: { format: 'uuid', type: 'string' },
28436
28699
  type: 'array',
28437
28700
  },
28701
+ name: {
28702
+ description: 'Name of the location.',
28703
+ type: 'string',
28704
+ },
28438
28705
  },
28439
28706
  type: 'object',
28440
28707
  },
@@ -28443,13 +28710,27 @@ export default {
28443
28710
  items: { format: 'uuid', type: 'string' },
28444
28711
  type: 'array',
28445
28712
  },
28713
+ requested_access_methods: {
28714
+ items: {
28715
+ properties: {
28716
+ mode: {
28717
+ description: 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
28718
+ enum: ['code', 'card', 'mobile_key'],
28719
+ type: 'string',
28720
+ },
28721
+ },
28722
+ required: ['mode'],
28723
+ type: 'object',
28724
+ },
28725
+ type: 'array',
28726
+ },
28446
28727
  starts_at: {
28447
28728
  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.',
28448
28729
  format: 'date-time',
28449
28730
  type: 'string',
28450
28731
  },
28451
28732
  },
28452
- required: ['desired_access_methods'],
28733
+ required: ['requested_access_methods'],
28453
28734
  type: 'object',
28454
28735
  },
28455
28736
  ],
@@ -28470,6 +28751,11 @@ export default {
28470
28751
  format: 'uuid',
28471
28752
  type: 'string',
28472
28753
  },
28754
+ access_method_ids: {
28755
+ description: 'IDs of the access methods that were created for this access grant.',
28756
+ items: { format: 'uuid', type: 'string' },
28757
+ type: 'array',
28758
+ },
28473
28759
  created_at: {
28474
28760
  description: 'Date and time at which the access grant was created.',
28475
28761
  format: 'date-time',
@@ -28488,6 +28774,11 @@ export default {
28488
28774
  description: 'Access methods that the user requested for this access grant.',
28489
28775
  items: {
28490
28776
  properties: {
28777
+ created_access_method_ids: {
28778
+ description: 'IDs of the access methods that were created for this requested access method.',
28779
+ items: { format: 'uuid', type: 'string' },
28780
+ type: 'array',
28781
+ },
28491
28782
  created_at: {
28492
28783
  description: 'Date and time at which the requested access method was added to this access grant.',
28493
28784
  format: 'date-time',
@@ -28502,17 +28793,12 @@ export default {
28502
28793
  enum: ['code', 'card', 'mobile_key'],
28503
28794
  type: 'string',
28504
28795
  },
28505
- provisioned_access_method_ids: {
28506
- description: 'IDs of the locations to which access is being given.',
28507
- items: { format: 'uuid', type: 'string' },
28508
- type: 'array',
28509
- },
28510
28796
  },
28511
28797
  required: [
28512
28798
  'display_name',
28513
28799
  'mode',
28514
28800
  'created_at',
28515
- 'provisioned_access_method_ids',
28801
+ 'created_access_method_ids',
28516
28802
  ],
28517
28803
  type: 'object',
28518
28804
  'x-undocumented': 'Unreleased.',
@@ -28536,6 +28822,7 @@ export default {
28536
28822
  'user_identity_id',
28537
28823
  'location_ids',
28538
28824
  'requested_access_methods',
28825
+ 'access_method_ids',
28539
28826
  'display_name',
28540
28827
  'created_at',
28541
28828
  ],
@@ -28603,6 +28890,11 @@ export default {
28603
28890
  format: 'uuid',
28604
28891
  type: 'string',
28605
28892
  },
28893
+ access_method_ids: {
28894
+ description: 'IDs of the access methods that were created for this access grant.',
28895
+ items: { format: 'uuid', type: 'string' },
28896
+ type: 'array',
28897
+ },
28606
28898
  created_at: {
28607
28899
  description: 'Date and time at which the access grant was created.',
28608
28900
  format: 'date-time',
@@ -28621,6 +28913,11 @@ export default {
28621
28913
  description: 'Access methods that the user requested for this access grant.',
28622
28914
  items: {
28623
28915
  properties: {
28916
+ created_access_method_ids: {
28917
+ description: 'IDs of the access methods that were created for this requested access method.',
28918
+ items: { format: 'uuid', type: 'string' },
28919
+ type: 'array',
28920
+ },
28624
28921
  created_at: {
28625
28922
  description: 'Date and time at which the requested access method was added to this access grant.',
28626
28923
  format: 'date-time',
@@ -28635,17 +28932,12 @@ export default {
28635
28932
  enum: ['code', 'card', 'mobile_key'],
28636
28933
  type: 'string',
28637
28934
  },
28638
- provisioned_access_method_ids: {
28639
- description: 'IDs of the locations to which access is being given.',
28640
- items: { format: 'uuid', type: 'string' },
28641
- type: 'array',
28642
- },
28643
28935
  },
28644
28936
  required: [
28645
28937
  'display_name',
28646
28938
  'mode',
28647
28939
  'created_at',
28648
- 'provisioned_access_method_ids',
28940
+ 'created_access_method_ids',
28649
28941
  ],
28650
28942
  type: 'object',
28651
28943
  'x-undocumented': 'Unreleased.',
@@ -28669,6 +28961,7 @@ export default {
28669
28961
  'user_identity_id',
28670
28962
  'location_ids',
28671
28963
  'requested_access_methods',
28964
+ 'access_method_ids',
28672
28965
  'display_name',
28673
28966
  'created_at',
28674
28967
  ],
@@ -28751,6 +29044,11 @@ export default {
28751
29044
  format: 'uuid',
28752
29045
  type: 'string',
28753
29046
  },
29047
+ access_method_ids: {
29048
+ description: 'IDs of the access methods that were created for this access grant.',
29049
+ items: { format: 'uuid', type: 'string' },
29050
+ type: 'array',
29051
+ },
28754
29052
  created_at: {
28755
29053
  description: 'Date and time at which the access grant was created.',
28756
29054
  format: 'date-time',
@@ -28769,6 +29067,11 @@ export default {
28769
29067
  description: 'Access methods that the user requested for this access grant.',
28770
29068
  items: {
28771
29069
  properties: {
29070
+ created_access_method_ids: {
29071
+ description: 'IDs of the access methods that were created for this requested access method.',
29072
+ items: { format: 'uuid', type: 'string' },
29073
+ type: 'array',
29074
+ },
28772
29075
  created_at: {
28773
29076
  description: 'Date and time at which the requested access method was added to this access grant.',
28774
29077
  format: 'date-time',
@@ -28783,17 +29086,12 @@ export default {
28783
29086
  enum: ['code', 'card', 'mobile_key'],
28784
29087
  type: 'string',
28785
29088
  },
28786
- provisioned_access_method_ids: {
28787
- description: 'IDs of the locations to which access is being given.',
28788
- items: { format: 'uuid', type: 'string' },
28789
- type: 'array',
28790
- },
28791
29089
  },
28792
29090
  required: [
28793
29091
  'display_name',
28794
29092
  'mode',
28795
29093
  'created_at',
28796
- 'provisioned_access_method_ids',
29094
+ 'created_access_method_ids',
28797
29095
  ],
28798
29096
  type: 'object',
28799
29097
  'x-undocumented': 'Unreleased.',
@@ -28817,6 +29115,7 @@ export default {
28817
29115
  'user_identity_id',
28818
29116
  'location_ids',
28819
29117
  'requested_access_methods',
29118
+ 'access_method_ids',
28820
29119
  'display_name',
28821
29120
  'created_at',
28822
29121
  ],
@@ -28852,10 +29151,10 @@ export default {
28852
29151
  'x-undocumented': 'Unreleased.',
28853
29152
  },
28854
29153
  },
28855
- '/unstable_access_grants/list_access_methods': {
29154
+ '/unstable_access_methods/list': {
28856
29155
  post: {
28857
- description: 'List all access methods for an access grant.',
28858
- operationId: 'unstableAccessGrantsListAccessMethodsPost',
29156
+ description: 'List all access methods, usually filtered by access grant.',
29157
+ operationId: 'unstableAccessMethodsListPost',
28859
29158
  requestBody: {
28860
29159
  content: {
28861
29160
  'application/json': {
@@ -28943,13 +29242,13 @@ export default {
28943
29242
  { console_session_with_workspace: [] },
28944
29243
  { api_key: [] },
28945
29244
  ],
28946
- summary: '/unstable_access_grants/list_access_methods',
29245
+ summary: '/unstable_access_methods/list',
28947
29246
  tags: [],
28948
- 'x-fern-sdk-group-name': ['unstable_access_grants'],
28949
- 'x-fern-sdk-method-name': 'list_access_methods',
29247
+ 'x-fern-sdk-group-name': ['unstable_access_methods'],
29248
+ 'x-fern-sdk-method-name': 'list',
28950
29249
  'x-fern-sdk-return-value': 'access_methods',
28951
29250
  'x-response-key': 'access_methods',
28952
- 'x-title': 'Get the Access Methods for an Access Grant',
29251
+ 'x-title': 'List Access Methods',
28953
29252
  'x-undocumented': 'Unreleased.',
28954
29253
  },
28955
29254
  },
@@ -30237,6 +30536,60 @@ export default {
30237
30536
  'x-title': 'List Enrollment Automations',
30238
30537
  },
30239
30538
  },
30539
+ '/user_identities/generate_instant_key': {
30540
+ post: {
30541
+ description: 'Generates a new [instant key](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/instant-keys) for a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
30542
+ operationId: 'userIdentitiesGenerateInstantKeyPost',
30543
+ requestBody: {
30544
+ content: {
30545
+ 'application/json': {
30546
+ schema: {
30547
+ properties: {
30548
+ user_identity_id: {
30549
+ description: 'ID of the user identity for which you want to generate an instant key.',
30550
+ format: 'uuid',
30551
+ type: 'string',
30552
+ },
30553
+ },
30554
+ required: ['user_identity_id'],
30555
+ type: 'object',
30556
+ },
30557
+ },
30558
+ },
30559
+ },
30560
+ responses: {
30561
+ 200: {
30562
+ content: {
30563
+ 'application/json': {
30564
+ schema: {
30565
+ properties: {
30566
+ instant_key: { $ref: '#/components/schemas/instant_key' },
30567
+ ok: { type: 'boolean' },
30568
+ },
30569
+ required: ['instant_key', 'ok'],
30570
+ type: 'object',
30571
+ },
30572
+ },
30573
+ },
30574
+ description: 'OK',
30575
+ },
30576
+ 400: { description: 'Bad Request' },
30577
+ 401: { description: 'Unauthorized' },
30578
+ },
30579
+ security: [
30580
+ { api_key: [] },
30581
+ { pat_with_workspace: [] },
30582
+ { console_session_with_workspace: [] },
30583
+ ],
30584
+ summary: '/user_identities/generate_instant_key',
30585
+ tags: ['/user_identities'],
30586
+ 'x-fern-sdk-group-name': ['user_identities'],
30587
+ 'x-fern-sdk-method-name': 'generate_instant_key',
30588
+ 'x-fern-sdk-return-value': 'instant_key',
30589
+ 'x-response-key': 'instant_key',
30590
+ 'x-title': 'Generate an Instant Key',
30591
+ },
30592
+ },
30240
30593
  '/user_identities/get': {
30241
30594
  post: {
30242
30595
  description: 'Returns a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',