@seamapi/types 1.379.0 → 1.380.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 (31) hide show
  1. package/dist/connect.cjs +404 -34
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +533 -51
  4. package/lib/seam/connect/models/access-grants/access-grant.d.ts +8 -13
  5. package/lib/seam/connect/models/access-grants/access-grant.js +4 -4
  6. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  7. package/lib/seam/connect/models/access-grants/access-method.d.ts +6 -3
  8. package/lib/seam/connect/models/access-grants/access-method.js +4 -2
  9. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  10. package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +18 -0
  11. package/lib/seam/connect/models/access-grants/requested-access-method.js +19 -0
  12. package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -0
  13. package/lib/seam/connect/models/devices/device-metadata.d.ts +0 -5
  14. package/lib/seam/connect/models/devices/device-metadata.js +0 -1
  15. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  16. package/lib/seam/connect/models/devices/device.d.ts +0 -7
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +0 -5
  18. package/lib/seam/connect/models/events/acs/credentials.js +2 -1
  19. package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
  20. package/lib/seam/connect/openapi.d.ts +415 -16
  21. package/lib/seam/connect/openapi.js +401 -31
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +118 -23
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/access-grants/access-grant.ts +4 -4
  26. package/src/lib/seam/connect/models/access-grants/access-method.ts +6 -2
  27. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +25 -0
  28. package/src/lib/seam/connect/models/devices/device-metadata.ts +0 -1
  29. package/src/lib/seam/connect/models/events/acs/credentials.ts +2 -1
  30. package/src/lib/seam/connect/openapi.ts +429 -33
  31. package/src/lib/seam/connect/route-types.ts +123 -30
@@ -10836,17 +10836,14 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10836
10836
  schlage_metadata: z.ZodOptional<z.ZodObject<{
10837
10837
  device_id: z.ZodString;
10838
10838
  device_name: z.ZodString;
10839
- access_code_length: z.ZodNullable<z.ZodNumber>;
10840
10839
  model: z.ZodOptional<z.ZodString>;
10841
10840
  }, "strip", z.ZodTypeAny, {
10842
10841
  device_id: string;
10843
10842
  device_name: string;
10844
- access_code_length: number | null;
10845
10843
  model?: string | undefined;
10846
10844
  }, {
10847
10845
  device_id: string;
10848
10846
  device_name: string;
10849
- access_code_length: number | null;
10850
10847
  model?: string | undefined;
10851
10848
  }>>;
10852
10849
  smartthings_metadata: z.ZodOptional<z.ZodObject<{
@@ -11559,7 +11556,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
11559
11556
  schlage_metadata?: {
11560
11557
  device_id: string;
11561
11558
  device_name: string;
11562
- access_code_length: number | null;
11563
11559
  model?: string | undefined;
11564
11560
  } | undefined;
11565
11561
  smartthings_metadata?: {
@@ -11792,7 +11788,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
11792
11788
  schlage_metadata?: {
11793
11789
  device_id: string;
11794
11790
  device_name: string;
11795
- access_code_length: number | null;
11796
11791
  model?: string | undefined;
11797
11792
  } | undefined;
11798
11793
  smartthings_metadata?: {
@@ -13273,7 +13268,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13273
13268
  schlage_metadata?: {
13274
13269
  device_id: string;
13275
13270
  device_name: string;
13276
- access_code_length: number | null;
13277
13271
  model?: string | undefined;
13278
13272
  } | undefined;
13279
13273
  smartthings_metadata?: {
@@ -13849,7 +13843,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
13849
13843
  schlage_metadata?: {
13850
13844
  device_id: string;
13851
13845
  device_name: string;
13852
- access_code_length: number | null;
13853
13846
  model?: string | undefined;
13854
13847
  } | undefined;
13855
13848
  smartthings_metadata?: {
@@ -14545,17 +14538,14 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
14545
14538
  schlage_metadata: z.ZodOptional<z.ZodObject<{
14546
14539
  device_id: z.ZodString;
14547
14540
  device_name: z.ZodString;
14548
- access_code_length: z.ZodNullable<z.ZodNumber>;
14549
14541
  model: z.ZodOptional<z.ZodString>;
14550
14542
  }, "strip", z.ZodTypeAny, {
14551
14543
  device_id: string;
14552
14544
  device_name: string;
14553
- access_code_length: number | null;
14554
14545
  model?: string | undefined;
14555
14546
  }, {
14556
14547
  device_id: string;
14557
14548
  device_name: string;
14558
- access_code_length: number | null;
14559
14549
  model?: string | undefined;
14560
14550
  }>>;
14561
14551
  smartthings_metadata: z.ZodOptional<z.ZodObject<{
@@ -15268,7 +15258,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
15268
15258
  schlage_metadata?: {
15269
15259
  device_id: string;
15270
15260
  device_name: string;
15271
- access_code_length: number | null;
15272
15261
  model?: string | undefined;
15273
15262
  } | undefined;
15274
15263
  smartthings_metadata?: {
@@ -15501,7 +15490,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
15501
15490
  schlage_metadata?: {
15502
15491
  device_id: string;
15503
15492
  device_name: string;
15504
- access_code_length: number | null;
15505
15493
  model?: string | undefined;
15506
15494
  } | undefined;
15507
15495
  smartthings_metadata?: {
@@ -23821,11 +23809,6 @@ declare const _default: {
23821
23809
  };
23822
23810
  schlage_metadata: {
23823
23811
  properties: {
23824
- access_code_length: {
23825
- format: string;
23826
- nullable: boolean;
23827
- type: string;
23828
- };
23829
23812
  device_id: {
23830
23813
  type: string;
23831
23814
  };
@@ -44179,6 +44162,7 @@ declare const _default: {
44179
44162
  };
44180
44163
  user_identity?: never;
44181
44164
  };
44165
+ required: string[];
44182
44166
  type: string;
44183
44167
  } | {
44184
44168
  properties: {
@@ -44203,10 +44187,10 @@ declare const _default: {
44203
44187
  };
44204
44188
  };
44205
44189
  type: string;
44206
- 'x-route-path': string;
44207
44190
  };
44208
44191
  user_identity_id?: never;
44209
44192
  };
44193
+ required: string[];
44210
44194
  type: string;
44211
44195
  })[];
44212
44196
  properties?: never;
@@ -44292,14 +44276,27 @@ declare const _default: {
44292
44276
  format: string;
44293
44277
  type: string;
44294
44278
  };
44295
- access_methods: {
44279
+ created_at: {
44280
+ description: string;
44281
+ format: string;
44282
+ type: string;
44283
+ };
44284
+ display_name: {
44285
+ description: string;
44286
+ type: string;
44287
+ };
44288
+ location_ids: {
44289
+ description: string;
44290
+ items: {
44291
+ format: string;
44292
+ type: string;
44293
+ };
44294
+ type: string;
44295
+ };
44296
+ requested_access_methods: {
44296
44297
  description: string;
44297
44298
  items: {
44298
44299
  properties: {
44299
- access_method_key: {
44300
- description: string;
44301
- type: string;
44302
- };
44303
44300
  created_at: {
44304
44301
  description: string;
44305
44302
  format: string;
@@ -44309,15 +44306,17 @@ declare const _default: {
44309
44306
  description: string;
44310
44307
  type: string;
44311
44308
  };
44312
- issued_at: {
44309
+ mode: {
44313
44310
  description: string;
44314
- format: string;
44315
- nullable: boolean;
44311
+ enum: string[];
44316
44312
  type: string;
44317
44313
  };
44318
- mode: {
44314
+ provisioned_access_method_ids: {
44319
44315
  description: string;
44320
- enum: string[];
44316
+ items: {
44317
+ format: string;
44318
+ type: string;
44319
+ };
44321
44320
  type: string;
44322
44321
  };
44323
44322
  };
@@ -44327,6 +44326,96 @@ declare const _default: {
44327
44326
  };
44328
44327
  type: string;
44329
44328
  };
44329
+ user_identity_id: {
44330
+ description: string;
44331
+ format: string;
44332
+ type: string;
44333
+ };
44334
+ workspace_id: {
44335
+ description: string;
44336
+ format: string;
44337
+ type: string;
44338
+ };
44339
+ };
44340
+ required: string[];
44341
+ type: string;
44342
+ 'x-undocumented': string;
44343
+ };
44344
+ ok: {
44345
+ type: string;
44346
+ };
44347
+ };
44348
+ required: string[];
44349
+ type: string;
44350
+ };
44351
+ };
44352
+ };
44353
+ description: string;
44354
+ };
44355
+ 400: {
44356
+ description: string;
44357
+ };
44358
+ 401: {
44359
+ description: string;
44360
+ };
44361
+ };
44362
+ security: ({
44363
+ pat_with_workspace: never[];
44364
+ console_session_with_workspace?: never;
44365
+ api_key?: never;
44366
+ } | {
44367
+ console_session_with_workspace: never[];
44368
+ pat_with_workspace?: never;
44369
+ api_key?: never;
44370
+ } | {
44371
+ api_key: never[];
44372
+ pat_with_workspace?: never;
44373
+ console_session_with_workspace?: never;
44374
+ })[];
44375
+ summary: string;
44376
+ tags: never[];
44377
+ 'x-fern-sdk-group-name': string[];
44378
+ 'x-fern-sdk-method-name': string;
44379
+ 'x-fern-sdk-return-value': string;
44380
+ 'x-response-key': string;
44381
+ 'x-title': string;
44382
+ 'x-undocumented': string;
44383
+ };
44384
+ };
44385
+ '/unstable_access_grants/get': {
44386
+ post: {
44387
+ description: string;
44388
+ operationId: string;
44389
+ requestBody: {
44390
+ content: {
44391
+ 'application/json': {
44392
+ schema: {
44393
+ properties: {
44394
+ access_grant_id: {
44395
+ description: string;
44396
+ format: string;
44397
+ type: string;
44398
+ };
44399
+ };
44400
+ required: string[];
44401
+ type: string;
44402
+ };
44403
+ };
44404
+ };
44405
+ };
44406
+ responses: {
44407
+ 200: {
44408
+ content: {
44409
+ 'application/json': {
44410
+ schema: {
44411
+ properties: {
44412
+ access_grant: {
44413
+ properties: {
44414
+ access_grant_id: {
44415
+ description: string;
44416
+ format: string;
44417
+ type: string;
44418
+ };
44330
44419
  created_at: {
44331
44420
  description: string;
44332
44421
  format: string;
@@ -44344,6 +44433,39 @@ declare const _default: {
44344
44433
  };
44345
44434
  type: string;
44346
44435
  };
44436
+ requested_access_methods: {
44437
+ description: string;
44438
+ items: {
44439
+ properties: {
44440
+ created_at: {
44441
+ description: string;
44442
+ format: string;
44443
+ type: string;
44444
+ };
44445
+ display_name: {
44446
+ description: string;
44447
+ type: string;
44448
+ };
44449
+ mode: {
44450
+ description: string;
44451
+ enum: string[];
44452
+ type: string;
44453
+ };
44454
+ provisioned_access_method_ids: {
44455
+ description: string;
44456
+ items: {
44457
+ format: string;
44458
+ type: string;
44459
+ };
44460
+ type: string;
44461
+ };
44462
+ };
44463
+ required: string[];
44464
+ type: string;
44465
+ 'x-undocumented': string;
44466
+ };
44467
+ type: string;
44468
+ };
44347
44469
  user_identity_id: {
44348
44470
  description: string;
44349
44471
  format: string;
@@ -44400,6 +44522,271 @@ declare const _default: {
44400
44522
  'x-undocumented': string;
44401
44523
  };
44402
44524
  };
44525
+ '/unstable_access_grants/list': {
44526
+ post: {
44527
+ description: string;
44528
+ operationId: string;
44529
+ requestBody: {
44530
+ content: {
44531
+ 'application/json': {
44532
+ schema: {
44533
+ properties: {
44534
+ acs_entrance_id: {
44535
+ description: string;
44536
+ format: string;
44537
+ type: string;
44538
+ };
44539
+ acs_system_id: {
44540
+ description: string;
44541
+ format: string;
44542
+ type: string;
44543
+ };
44544
+ location_id: {
44545
+ description: string;
44546
+ format: string;
44547
+ type: string;
44548
+ };
44549
+ user_identity_id: {
44550
+ description: string;
44551
+ format: string;
44552
+ type: string;
44553
+ };
44554
+ };
44555
+ type: string;
44556
+ };
44557
+ };
44558
+ };
44559
+ };
44560
+ responses: {
44561
+ 200: {
44562
+ content: {
44563
+ 'application/json': {
44564
+ schema: {
44565
+ properties: {
44566
+ access_grants: {
44567
+ items: {
44568
+ properties: {
44569
+ access_grant_id: {
44570
+ description: string;
44571
+ format: string;
44572
+ type: string;
44573
+ };
44574
+ created_at: {
44575
+ description: string;
44576
+ format: string;
44577
+ type: string;
44578
+ };
44579
+ display_name: {
44580
+ description: string;
44581
+ type: string;
44582
+ };
44583
+ location_ids: {
44584
+ description: string;
44585
+ items: {
44586
+ format: string;
44587
+ type: string;
44588
+ };
44589
+ type: string;
44590
+ };
44591
+ requested_access_methods: {
44592
+ description: string;
44593
+ items: {
44594
+ properties: {
44595
+ created_at: {
44596
+ description: string;
44597
+ format: string;
44598
+ type: string;
44599
+ };
44600
+ display_name: {
44601
+ description: string;
44602
+ type: string;
44603
+ };
44604
+ mode: {
44605
+ description: string;
44606
+ enum: string[];
44607
+ type: string;
44608
+ };
44609
+ provisioned_access_method_ids: {
44610
+ description: string;
44611
+ items: {
44612
+ format: string;
44613
+ type: string;
44614
+ };
44615
+ type: string;
44616
+ };
44617
+ };
44618
+ required: string[];
44619
+ type: string;
44620
+ 'x-undocumented': string;
44621
+ };
44622
+ type: string;
44623
+ };
44624
+ user_identity_id: {
44625
+ description: string;
44626
+ format: string;
44627
+ type: string;
44628
+ };
44629
+ workspace_id: {
44630
+ description: string;
44631
+ format: string;
44632
+ type: string;
44633
+ };
44634
+ };
44635
+ required: string[];
44636
+ type: string;
44637
+ 'x-undocumented': string;
44638
+ };
44639
+ type: string;
44640
+ };
44641
+ ok: {
44642
+ type: string;
44643
+ };
44644
+ };
44645
+ required: string[];
44646
+ type: string;
44647
+ };
44648
+ };
44649
+ };
44650
+ description: string;
44651
+ };
44652
+ 400: {
44653
+ description: string;
44654
+ };
44655
+ 401: {
44656
+ description: string;
44657
+ };
44658
+ };
44659
+ security: ({
44660
+ pat_with_workspace: never[];
44661
+ console_session_with_workspace?: never;
44662
+ api_key?: never;
44663
+ } | {
44664
+ console_session_with_workspace: never[];
44665
+ pat_with_workspace?: never;
44666
+ api_key?: never;
44667
+ } | {
44668
+ api_key: never[];
44669
+ pat_with_workspace?: never;
44670
+ console_session_with_workspace?: never;
44671
+ })[];
44672
+ summary: string;
44673
+ tags: never[];
44674
+ 'x-fern-sdk-group-name': string[];
44675
+ 'x-fern-sdk-method-name': string;
44676
+ 'x-fern-sdk-return-value': string;
44677
+ 'x-response-key': string;
44678
+ 'x-title': string;
44679
+ 'x-undocumented': string;
44680
+ };
44681
+ };
44682
+ '/unstable_access_grants/list_access_methods': {
44683
+ post: {
44684
+ description: string;
44685
+ operationId: string;
44686
+ requestBody: {
44687
+ content: {
44688
+ 'application/json': {
44689
+ schema: {
44690
+ properties: {
44691
+ access_grant_id: {
44692
+ description: string;
44693
+ format: string;
44694
+ type: string;
44695
+ };
44696
+ };
44697
+ required: string[];
44698
+ type: string;
44699
+ };
44700
+ };
44701
+ };
44702
+ };
44703
+ responses: {
44704
+ 200: {
44705
+ content: {
44706
+ 'application/json': {
44707
+ schema: {
44708
+ properties: {
44709
+ access_methods: {
44710
+ items: {
44711
+ properties: {
44712
+ access_method_id: {
44713
+ description: string;
44714
+ format: string;
44715
+ type: string;
44716
+ };
44717
+ created_at: {
44718
+ description: string;
44719
+ format: string;
44720
+ type: string;
44721
+ };
44722
+ display_name: {
44723
+ description: string;
44724
+ type: string;
44725
+ };
44726
+ issued_at: {
44727
+ description: string;
44728
+ format: string;
44729
+ nullable: boolean;
44730
+ type: string;
44731
+ };
44732
+ mode: {
44733
+ description: string;
44734
+ enum: string[];
44735
+ type: string;
44736
+ };
44737
+ workspace_id: {
44738
+ description: string;
44739
+ format: string;
44740
+ type: string;
44741
+ };
44742
+ };
44743
+ required: string[];
44744
+ type: string;
44745
+ 'x-undocumented': string;
44746
+ };
44747
+ type: string;
44748
+ };
44749
+ ok: {
44750
+ type: string;
44751
+ };
44752
+ };
44753
+ required: string[];
44754
+ type: string;
44755
+ };
44756
+ };
44757
+ };
44758
+ description: string;
44759
+ };
44760
+ 400: {
44761
+ description: string;
44762
+ };
44763
+ 401: {
44764
+ description: string;
44765
+ };
44766
+ };
44767
+ security: ({
44768
+ pat_with_workspace: never[];
44769
+ console_session_with_workspace?: never;
44770
+ api_key?: never;
44771
+ } | {
44772
+ console_session_with_workspace: never[];
44773
+ pat_with_workspace?: never;
44774
+ api_key?: never;
44775
+ } | {
44776
+ api_key: never[];
44777
+ pat_with_workspace?: never;
44778
+ console_session_with_workspace?: never;
44779
+ })[];
44780
+ summary: string;
44781
+ tags: never[];
44782
+ 'x-fern-sdk-group-name': string[];
44783
+ 'x-fern-sdk-method-name': string;
44784
+ 'x-fern-sdk-return-value': string;
44785
+ 'x-response-key': string;
44786
+ 'x-title': string;
44787
+ 'x-undocumented': string;
44788
+ };
44789
+ };
44403
44790
  '/unstable_locations/add_devices': {
44404
44791
  post: {
44405
44792
  description: string;
@@ -64270,7 +64657,6 @@ interface Routes {
64270
64657
  schlage_metadata?: {
64271
64658
  device_id: string;
64272
64659
  device_name: string;
64273
- access_code_length: number | null;
64274
64660
  model?: string | undefined;
64275
64661
  } | undefined;
64276
64662
  smartthings_metadata?: {
@@ -65012,7 +65398,6 @@ interface Routes {
65012
65398
  schlage_metadata?: {
65013
65399
  device_id: string;
65014
65400
  device_name: string;
65015
- access_code_length: number | null;
65016
65401
  model?: string | undefined;
65017
65402
  } | undefined;
65018
65403
  smartthings_metadata?: {
@@ -68957,7 +69342,6 @@ interface Routes {
68957
69342
  schlage_metadata?: {
68958
69343
  device_id: string;
68959
69344
  device_name: string;
68960
- access_code_length: number | null;
68961
69345
  model?: string | undefined;
68962
69346
  } | undefined;
68963
69347
  smartthings_metadata?: {
@@ -69661,7 +70045,6 @@ interface Routes {
69661
70045
  schlage_metadata?: {
69662
70046
  device_id: string;
69663
70047
  device_name: string;
69664
- access_code_length: number | null;
69665
70048
  model?: string | undefined;
69666
70049
  } | undefined;
69667
70050
  smartthings_metadata?: {
@@ -70403,7 +70786,6 @@ interface Routes {
70403
70786
  schlage_metadata?: {
70404
70787
  device_id: string;
70405
70788
  device_name: string;
70406
- access_code_length: number | null;
70407
70789
  model?: string | undefined;
70408
70790
  } | undefined;
70409
70791
  smartthings_metadata?: {
@@ -71106,7 +71488,6 @@ interface Routes {
71106
71488
  schlage_metadata?: {
71107
71489
  device_id: string;
71108
71490
  device_name: string;
71109
- access_code_length: number | null;
71110
71491
  model?: string | undefined;
71111
71492
  } | undefined;
71112
71493
  smartthings_metadata?: {
@@ -73809,7 +74190,6 @@ interface Routes {
73809
74190
  schlage_metadata?: {
73810
74191
  device_id: string;
73811
74192
  device_name: string;
73812
- access_code_length: number | null;
73813
74193
  model?: string | undefined;
73814
74194
  } | undefined;
73815
74195
  smartthings_metadata?: {
@@ -74512,7 +74892,6 @@ interface Routes {
74512
74892
  schlage_metadata?: {
74513
74893
  device_id: string;
74514
74894
  device_name: string;
74515
- access_code_length: number | null;
74516
74895
  model?: string | undefined;
74517
74896
  } | undefined;
74518
74897
  smartthings_metadata?: {
@@ -80553,7 +80932,6 @@ interface Routes {
80553
80932
  schlage_metadata?: {
80554
80933
  device_id: string;
80555
80934
  device_name: string;
80556
- access_code_length: number | null;
80557
80935
  model?: string | undefined;
80558
80936
  } | undefined;
80559
80937
  smartthings_metadata?: {
@@ -83237,7 +83615,6 @@ interface Routes {
83237
83615
  schlage_metadata?: {
83238
83616
  device_id: string;
83239
83617
  device_name: string;
83240
- access_code_length: number | null;
83241
83618
  model?: string | undefined;
83242
83619
  } | undefined;
83243
83620
  smartthings_metadata?: {
@@ -83940,7 +84317,6 @@ interface Routes {
83940
84317
  schlage_metadata?: {
83941
84318
  device_id: string;
83942
84319
  device_name: string;
83943
- access_code_length: number | null;
83944
84320
  model?: string | undefined;
83945
84321
  } | undefined;
83946
84322
  smartthings_metadata?: {
@@ -87757,16 +88133,16 @@ interface Routes {
87757
88133
  jsonBody: {};
87758
88134
  commonParams: ({
87759
88135
  /** ID of user identity for whom access is being granted. */
87760
- user_identity_id?: string | undefined;
88136
+ user_identity_id: string;
87761
88137
  } | {
87762
88138
  /** When used, creates a new user identity with the given details, and grants them access. */
87763
- user_identity?: {
88139
+ user_identity: {
87764
88140
  /** Unique email address for the user identity. */
87765
88141
  email_address?: (string | null) | undefined;
87766
88142
  /** Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100). */
87767
88143
  phone_number?: (string | null) | undefined;
87768
88144
  full_name?: (string | null) | undefined;
87769
- } | undefined;
88145
+ };
87770
88146
  }) & {
87771
88147
  /** Set of IDs of existing locations to which access is being granted. */
87772
88148
  location_ids?: string[] | undefined;
@@ -87798,18 +88174,55 @@ interface Routes {
87798
88174
  user_identity_id: string;
87799
88175
  /** IDs of the locations to which access is being given. */
87800
88176
  location_ids: string[];
87801
- /** Access methods associated with this access grant. */
87802
- access_methods: Array<{
87803
- /** Key for the access method - unique within an access grant. */
87804
- access_method_key: string;
88177
+ /** Access methods that the user requested for this access grant. */
88178
+ requested_access_methods: Array<{
88179
+ /** Display name of the access method. */
88180
+ display_name: string;
88181
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
88182
+ mode: 'code' | 'card' | 'mobile_key';
88183
+ /** Date and time at which the requested access method was added to this access grant. */
88184
+ created_at: string;
88185
+ /** IDs of the locations to which access is being given. */
88186
+ provisioned_access_method_ids: string[];
88187
+ }>;
88188
+ /** Display name of the access grant. */
88189
+ display_name: string;
88190
+ /** Date and time at which the access grant was created. */
88191
+ created_at: string;
88192
+ };
88193
+ };
88194
+ };
88195
+ '/unstable_access_grants/get': {
88196
+ route: '/unstable_access_grants/get';
88197
+ method: 'GET' | 'POST';
88198
+ queryParams: {};
88199
+ jsonBody: {};
88200
+ commonParams: {
88201
+ /** ID of access grant to get. */
88202
+ access_grant_id: string;
88203
+ };
88204
+ formData: {};
88205
+ jsonResponse: {
88206
+ /** */
88207
+ access_grant: {
88208
+ /** Unique identifier for the Seam workspace associated with the access grant. */
88209
+ workspace_id: string;
88210
+ /** ID of the access grant. */
88211
+ access_grant_id: string;
88212
+ /** ID of user identity to which access is being granted. */
88213
+ user_identity_id: string;
88214
+ /** IDs of the locations to which access is being given. */
88215
+ location_ids: string[];
88216
+ /** Access methods that the user requested for this access grant. */
88217
+ requested_access_methods: Array<{
87805
88218
  /** Display name of the access method. */
87806
88219
  display_name: string;
87807
88220
  /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
87808
88221
  mode: 'code' | 'card' | 'mobile_key';
87809
- /** Date and time at which the access method was created. */
88222
+ /** Date and time at which the requested access method was added to this access grant. */
87810
88223
  created_at: string;
87811
- /** Date and time at which the access method was issued. */
87812
- issued_at: string | null;
88224
+ /** IDs of the locations to which access is being given. */
88225
+ provisioned_access_method_ids: string[];
87813
88226
  }>;
87814
88227
  /** Display name of the access grant. */
87815
88228
  display_name: string;
@@ -87818,6 +88231,77 @@ interface Routes {
87818
88231
  };
87819
88232
  };
87820
88233
  };
88234
+ '/unstable_access_grants/list': {
88235
+ route: '/unstable_access_grants/list';
88236
+ method: 'GET' | 'POST';
88237
+ queryParams: {};
88238
+ jsonBody: {};
88239
+ commonParams: {
88240
+ /** ID of user identity to filter list of access grants by. */
88241
+ user_identity_id?: string | undefined;
88242
+ /** ID of system to filter list of access grants by. */
88243
+ acs_system_id?: string | undefined;
88244
+ /** ID of entrance to filter list of access grants by. */
88245
+ acs_entrance_id?: string | undefined;
88246
+ /** ID of location to filter list of access grants by. */
88247
+ location_id?: string | undefined;
88248
+ };
88249
+ formData: {};
88250
+ jsonResponse: {
88251
+ access_grants: Array<{
88252
+ /** Unique identifier for the Seam workspace associated with the access grant. */
88253
+ workspace_id: string;
88254
+ /** ID of the access grant. */
88255
+ access_grant_id: string;
88256
+ /** ID of user identity to which access is being granted. */
88257
+ user_identity_id: string;
88258
+ /** IDs of the locations to which access is being given. */
88259
+ location_ids: string[];
88260
+ /** Access methods that the user requested for this access grant. */
88261
+ requested_access_methods: Array<{
88262
+ /** Display name of the access method. */
88263
+ display_name: string;
88264
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
88265
+ mode: 'code' | 'card' | 'mobile_key';
88266
+ /** Date and time at which the requested access method was added to this access grant. */
88267
+ created_at: string;
88268
+ /** IDs of the locations to which access is being given. */
88269
+ provisioned_access_method_ids: string[];
88270
+ }>;
88271
+ /** Display name of the access grant. */
88272
+ display_name: string;
88273
+ /** Date and time at which the access grant was created. */
88274
+ created_at: string;
88275
+ }>;
88276
+ };
88277
+ };
88278
+ '/unstable_access_grants/list_access_methods': {
88279
+ route: '/unstable_access_grants/list_access_methods';
88280
+ method: 'GET' | 'POST';
88281
+ queryParams: {};
88282
+ jsonBody: {};
88283
+ commonParams: {
88284
+ /** ID of access grant to list access methods for. */
88285
+ access_grant_id: string;
88286
+ };
88287
+ formData: {};
88288
+ jsonResponse: {
88289
+ access_methods: Array<{
88290
+ /** Unique identifier for the Seam workspace associated with the access grant. */
88291
+ workspace_id: string;
88292
+ /** ID of the access method. */
88293
+ access_method_id: string;
88294
+ /** Display name of the access method. */
88295
+ display_name: string;
88296
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
88297
+ mode: 'code' | 'card' | 'mobile_key';
88298
+ /** Date and time at which the access method was created. */
88299
+ created_at: string;
88300
+ /** Date and time at which the access method was issued. */
88301
+ issued_at: string | null;
88302
+ }>;
88303
+ };
88304
+ };
87821
88305
  '/unstable_locations/add_devices': {
87822
88306
  route: '/unstable_locations/add_devices';
87823
88307
  method: 'POST' | 'PUT';
@@ -88344,7 +88828,6 @@ interface Routes {
88344
88828
  schlage_metadata?: {
88345
88829
  device_id: string;
88346
88830
  device_name: string;
88347
- access_code_length: number | null;
88348
88831
  model?: string | undefined;
88349
88832
  } | undefined;
88350
88833
  smartthings_metadata?: {
@@ -89049,7 +89532,6 @@ interface Routes {
89049
89532
  schlage_metadata?: {
89050
89533
  device_id: string;
89051
89534
  device_name: string;
89052
- access_code_length: number | null;
89053
89535
  model?: string | undefined;
89054
89536
  } | undefined;
89055
89537
  smartthings_metadata?: {