@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
@@ -4006,11 +4006,6 @@ declare const _default: {
4006
4006
  };
4007
4007
  schlage_metadata: {
4008
4008
  properties: {
4009
- access_code_length: {
4010
- format: string;
4011
- nullable: boolean;
4012
- type: string;
4013
- };
4014
4009
  device_id: {
4015
4010
  type: string;
4016
4011
  };
@@ -24364,6 +24359,7 @@ declare const _default: {
24364
24359
  };
24365
24360
  user_identity?: never;
24366
24361
  };
24362
+ required: string[];
24367
24363
  type: string;
24368
24364
  } | {
24369
24365
  properties: {
@@ -24388,10 +24384,10 @@ declare const _default: {
24388
24384
  };
24389
24385
  };
24390
24386
  type: string;
24391
- 'x-route-path': string;
24392
24387
  };
24393
24388
  user_identity_id?: never;
24394
24389
  };
24390
+ required: string[];
24395
24391
  type: string;
24396
24392
  })[];
24397
24393
  properties?: never;
@@ -24477,14 +24473,27 @@ declare const _default: {
24477
24473
  format: string;
24478
24474
  type: string;
24479
24475
  };
24480
- access_methods: {
24476
+ created_at: {
24477
+ description: string;
24478
+ format: string;
24479
+ type: string;
24480
+ };
24481
+ display_name: {
24482
+ description: string;
24483
+ type: string;
24484
+ };
24485
+ location_ids: {
24486
+ description: string;
24487
+ items: {
24488
+ format: string;
24489
+ type: string;
24490
+ };
24491
+ type: string;
24492
+ };
24493
+ requested_access_methods: {
24481
24494
  description: string;
24482
24495
  items: {
24483
24496
  properties: {
24484
- access_method_key: {
24485
- description: string;
24486
- type: string;
24487
- };
24488
24497
  created_at: {
24489
24498
  description: string;
24490
24499
  format: string;
@@ -24494,15 +24503,17 @@ declare const _default: {
24494
24503
  description: string;
24495
24504
  type: string;
24496
24505
  };
24497
- issued_at: {
24506
+ mode: {
24498
24507
  description: string;
24499
- format: string;
24500
- nullable: boolean;
24508
+ enum: string[];
24501
24509
  type: string;
24502
24510
  };
24503
- mode: {
24511
+ provisioned_access_method_ids: {
24504
24512
  description: string;
24505
- enum: string[];
24513
+ items: {
24514
+ format: string;
24515
+ type: string;
24516
+ };
24506
24517
  type: string;
24507
24518
  };
24508
24519
  };
@@ -24512,6 +24523,96 @@ declare const _default: {
24512
24523
  };
24513
24524
  type: string;
24514
24525
  };
24526
+ user_identity_id: {
24527
+ description: string;
24528
+ format: string;
24529
+ type: string;
24530
+ };
24531
+ workspace_id: {
24532
+ description: string;
24533
+ format: string;
24534
+ type: string;
24535
+ };
24536
+ };
24537
+ required: string[];
24538
+ type: string;
24539
+ 'x-undocumented': string;
24540
+ };
24541
+ ok: {
24542
+ type: string;
24543
+ };
24544
+ };
24545
+ required: string[];
24546
+ type: string;
24547
+ };
24548
+ };
24549
+ };
24550
+ description: string;
24551
+ };
24552
+ 400: {
24553
+ description: string;
24554
+ };
24555
+ 401: {
24556
+ description: string;
24557
+ };
24558
+ };
24559
+ security: ({
24560
+ pat_with_workspace: never[];
24561
+ console_session_with_workspace?: never;
24562
+ api_key?: never;
24563
+ } | {
24564
+ console_session_with_workspace: never[];
24565
+ pat_with_workspace?: never;
24566
+ api_key?: never;
24567
+ } | {
24568
+ api_key: never[];
24569
+ pat_with_workspace?: never;
24570
+ console_session_with_workspace?: never;
24571
+ })[];
24572
+ summary: string;
24573
+ tags: never[];
24574
+ 'x-fern-sdk-group-name': string[];
24575
+ 'x-fern-sdk-method-name': string;
24576
+ 'x-fern-sdk-return-value': string;
24577
+ 'x-response-key': string;
24578
+ 'x-title': string;
24579
+ 'x-undocumented': string;
24580
+ };
24581
+ };
24582
+ '/unstable_access_grants/get': {
24583
+ post: {
24584
+ description: string;
24585
+ operationId: string;
24586
+ requestBody: {
24587
+ content: {
24588
+ 'application/json': {
24589
+ schema: {
24590
+ properties: {
24591
+ access_grant_id: {
24592
+ description: string;
24593
+ format: string;
24594
+ type: string;
24595
+ };
24596
+ };
24597
+ required: string[];
24598
+ type: string;
24599
+ };
24600
+ };
24601
+ };
24602
+ };
24603
+ responses: {
24604
+ 200: {
24605
+ content: {
24606
+ 'application/json': {
24607
+ schema: {
24608
+ properties: {
24609
+ access_grant: {
24610
+ properties: {
24611
+ access_grant_id: {
24612
+ description: string;
24613
+ format: string;
24614
+ type: string;
24615
+ };
24515
24616
  created_at: {
24516
24617
  description: string;
24517
24618
  format: string;
@@ -24529,6 +24630,39 @@ declare const _default: {
24529
24630
  };
24530
24631
  type: string;
24531
24632
  };
24633
+ requested_access_methods: {
24634
+ description: string;
24635
+ items: {
24636
+ properties: {
24637
+ created_at: {
24638
+ description: string;
24639
+ format: string;
24640
+ type: string;
24641
+ };
24642
+ display_name: {
24643
+ description: string;
24644
+ type: string;
24645
+ };
24646
+ mode: {
24647
+ description: string;
24648
+ enum: string[];
24649
+ type: string;
24650
+ };
24651
+ provisioned_access_method_ids: {
24652
+ description: string;
24653
+ items: {
24654
+ format: string;
24655
+ type: string;
24656
+ };
24657
+ type: string;
24658
+ };
24659
+ };
24660
+ required: string[];
24661
+ type: string;
24662
+ 'x-undocumented': string;
24663
+ };
24664
+ type: string;
24665
+ };
24532
24666
  user_identity_id: {
24533
24667
  description: string;
24534
24668
  format: string;
@@ -24585,6 +24719,271 @@ declare const _default: {
24585
24719
  'x-undocumented': string;
24586
24720
  };
24587
24721
  };
24722
+ '/unstable_access_grants/list': {
24723
+ post: {
24724
+ description: string;
24725
+ operationId: string;
24726
+ requestBody: {
24727
+ content: {
24728
+ 'application/json': {
24729
+ schema: {
24730
+ properties: {
24731
+ acs_entrance_id: {
24732
+ description: string;
24733
+ format: string;
24734
+ type: string;
24735
+ };
24736
+ acs_system_id: {
24737
+ description: string;
24738
+ format: string;
24739
+ type: string;
24740
+ };
24741
+ location_id: {
24742
+ description: string;
24743
+ format: string;
24744
+ type: string;
24745
+ };
24746
+ user_identity_id: {
24747
+ description: string;
24748
+ format: string;
24749
+ type: string;
24750
+ };
24751
+ };
24752
+ type: string;
24753
+ };
24754
+ };
24755
+ };
24756
+ };
24757
+ responses: {
24758
+ 200: {
24759
+ content: {
24760
+ 'application/json': {
24761
+ schema: {
24762
+ properties: {
24763
+ access_grants: {
24764
+ items: {
24765
+ properties: {
24766
+ access_grant_id: {
24767
+ description: string;
24768
+ format: string;
24769
+ type: string;
24770
+ };
24771
+ created_at: {
24772
+ description: string;
24773
+ format: string;
24774
+ type: string;
24775
+ };
24776
+ display_name: {
24777
+ description: string;
24778
+ type: string;
24779
+ };
24780
+ location_ids: {
24781
+ description: string;
24782
+ items: {
24783
+ format: string;
24784
+ type: string;
24785
+ };
24786
+ type: string;
24787
+ };
24788
+ requested_access_methods: {
24789
+ description: string;
24790
+ items: {
24791
+ properties: {
24792
+ created_at: {
24793
+ description: string;
24794
+ format: string;
24795
+ type: string;
24796
+ };
24797
+ display_name: {
24798
+ description: string;
24799
+ type: string;
24800
+ };
24801
+ mode: {
24802
+ description: string;
24803
+ enum: string[];
24804
+ type: string;
24805
+ };
24806
+ provisioned_access_method_ids: {
24807
+ description: string;
24808
+ items: {
24809
+ format: string;
24810
+ type: string;
24811
+ };
24812
+ type: string;
24813
+ };
24814
+ };
24815
+ required: string[];
24816
+ type: string;
24817
+ 'x-undocumented': string;
24818
+ };
24819
+ type: string;
24820
+ };
24821
+ user_identity_id: {
24822
+ description: string;
24823
+ format: string;
24824
+ type: string;
24825
+ };
24826
+ workspace_id: {
24827
+ description: string;
24828
+ format: string;
24829
+ type: string;
24830
+ };
24831
+ };
24832
+ required: string[];
24833
+ type: string;
24834
+ 'x-undocumented': string;
24835
+ };
24836
+ type: string;
24837
+ };
24838
+ ok: {
24839
+ type: string;
24840
+ };
24841
+ };
24842
+ required: string[];
24843
+ type: string;
24844
+ };
24845
+ };
24846
+ };
24847
+ description: string;
24848
+ };
24849
+ 400: {
24850
+ description: string;
24851
+ };
24852
+ 401: {
24853
+ description: string;
24854
+ };
24855
+ };
24856
+ security: ({
24857
+ pat_with_workspace: never[];
24858
+ console_session_with_workspace?: never;
24859
+ api_key?: never;
24860
+ } | {
24861
+ console_session_with_workspace: never[];
24862
+ pat_with_workspace?: never;
24863
+ api_key?: never;
24864
+ } | {
24865
+ api_key: never[];
24866
+ pat_with_workspace?: never;
24867
+ console_session_with_workspace?: never;
24868
+ })[];
24869
+ summary: string;
24870
+ tags: never[];
24871
+ 'x-fern-sdk-group-name': string[];
24872
+ 'x-fern-sdk-method-name': string;
24873
+ 'x-fern-sdk-return-value': string;
24874
+ 'x-response-key': string;
24875
+ 'x-title': string;
24876
+ 'x-undocumented': string;
24877
+ };
24878
+ };
24879
+ '/unstable_access_grants/list_access_methods': {
24880
+ post: {
24881
+ description: string;
24882
+ operationId: string;
24883
+ requestBody: {
24884
+ content: {
24885
+ 'application/json': {
24886
+ schema: {
24887
+ properties: {
24888
+ access_grant_id: {
24889
+ description: string;
24890
+ format: string;
24891
+ type: string;
24892
+ };
24893
+ };
24894
+ required: string[];
24895
+ type: string;
24896
+ };
24897
+ };
24898
+ };
24899
+ };
24900
+ responses: {
24901
+ 200: {
24902
+ content: {
24903
+ 'application/json': {
24904
+ schema: {
24905
+ properties: {
24906
+ access_methods: {
24907
+ items: {
24908
+ properties: {
24909
+ access_method_id: {
24910
+ description: string;
24911
+ format: string;
24912
+ type: string;
24913
+ };
24914
+ created_at: {
24915
+ description: string;
24916
+ format: string;
24917
+ type: string;
24918
+ };
24919
+ display_name: {
24920
+ description: string;
24921
+ type: string;
24922
+ };
24923
+ issued_at: {
24924
+ description: string;
24925
+ format: string;
24926
+ nullable: boolean;
24927
+ type: string;
24928
+ };
24929
+ mode: {
24930
+ description: string;
24931
+ enum: string[];
24932
+ type: string;
24933
+ };
24934
+ workspace_id: {
24935
+ description: string;
24936
+ format: string;
24937
+ type: string;
24938
+ };
24939
+ };
24940
+ required: string[];
24941
+ type: string;
24942
+ 'x-undocumented': string;
24943
+ };
24944
+ type: string;
24945
+ };
24946
+ ok: {
24947
+ type: string;
24948
+ };
24949
+ };
24950
+ required: string[];
24951
+ type: string;
24952
+ };
24953
+ };
24954
+ };
24955
+ description: string;
24956
+ };
24957
+ 400: {
24958
+ description: string;
24959
+ };
24960
+ 401: {
24961
+ description: string;
24962
+ };
24963
+ };
24964
+ security: ({
24965
+ pat_with_workspace: never[];
24966
+ console_session_with_workspace?: never;
24967
+ api_key?: never;
24968
+ } | {
24969
+ console_session_with_workspace: never[];
24970
+ pat_with_workspace?: never;
24971
+ api_key?: never;
24972
+ } | {
24973
+ api_key: never[];
24974
+ pat_with_workspace?: never;
24975
+ console_session_with_workspace?: never;
24976
+ })[];
24977
+ summary: string;
24978
+ tags: never[];
24979
+ 'x-fern-sdk-group-name': string[];
24980
+ 'x-fern-sdk-method-name': string;
24981
+ 'x-fern-sdk-return-value': string;
24982
+ 'x-response-key': string;
24983
+ 'x-title': string;
24984
+ 'x-undocumented': string;
24985
+ };
24986
+ };
24588
24987
  '/unstable_locations/add_devices': {
24589
24988
  post: {
24590
24989
  description: string;