@seamapi/types 1.384.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 (30) hide show
  1. package/dist/connect.cjs +456 -137
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1668 -208
  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/openapi.d.ts +266 -175
  20. package/lib/seam/connect/openapi.js +408 -132
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +1246 -33
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/models/access-grants/access-grant.ts +5 -0
  25. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +4 -2
  26. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -0
  27. package/src/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.ts +39 -0
  28. package/src/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.ts +37 -0
  29. package/src/lib/seam/connect/openapi.ts +426 -136
  30. package/src/lib/seam/connect/route-types.ts +1372 -33
@@ -18248,142 +18248,6 @@ declare const _default: {
18248
18248
  'x-response-key': string;
18249
18249
  };
18250
18250
  };
18251
- '/devices/simulate/access_code_lock': {
18252
- post: {
18253
- operationId: string;
18254
- requestBody: {
18255
- content: {
18256
- 'application/json': {
18257
- schema: {
18258
- properties: {
18259
- access_code_id: {
18260
- format: string;
18261
- type: string;
18262
- };
18263
- device_id: {
18264
- format: string;
18265
- type: string;
18266
- };
18267
- };
18268
- required: string[];
18269
- type: string;
18270
- };
18271
- };
18272
- };
18273
- };
18274
- responses: {
18275
- 200: {
18276
- content: {
18277
- 'application/json': {
18278
- schema: {
18279
- properties: {
18280
- ok: {
18281
- type: string;
18282
- };
18283
- };
18284
- required: string[];
18285
- type: string;
18286
- };
18287
- };
18288
- };
18289
- description: string;
18290
- };
18291
- 400: {
18292
- description: string;
18293
- };
18294
- 401: {
18295
- description: string;
18296
- };
18297
- };
18298
- security: ({
18299
- api_key: never[];
18300
- pat_with_workspace?: never;
18301
- console_session_with_workspace?: never;
18302
- } | {
18303
- pat_with_workspace: never[];
18304
- api_key?: never;
18305
- console_session_with_workspace?: never;
18306
- } | {
18307
- console_session_with_workspace: never[];
18308
- api_key?: never;
18309
- pat_with_workspace?: never;
18310
- })[];
18311
- summary: string;
18312
- tags: string[];
18313
- 'x-fern-sdk-group-name': string[];
18314
- 'x-fern-sdk-method-name': string;
18315
- 'x-response-key': null;
18316
- 'x-undocumented': string;
18317
- };
18318
- };
18319
- '/devices/simulate/access_code_unlock': {
18320
- post: {
18321
- operationId: string;
18322
- requestBody: {
18323
- content: {
18324
- 'application/json': {
18325
- schema: {
18326
- properties: {
18327
- access_code_id: {
18328
- format: string;
18329
- type: string;
18330
- };
18331
- device_id: {
18332
- format: string;
18333
- type: string;
18334
- };
18335
- };
18336
- required: string[];
18337
- type: string;
18338
- };
18339
- };
18340
- };
18341
- };
18342
- responses: {
18343
- 200: {
18344
- content: {
18345
- 'application/json': {
18346
- schema: {
18347
- properties: {
18348
- ok: {
18349
- type: string;
18350
- };
18351
- };
18352
- required: string[];
18353
- type: string;
18354
- };
18355
- };
18356
- };
18357
- description: string;
18358
- };
18359
- 400: {
18360
- description: string;
18361
- };
18362
- 401: {
18363
- description: string;
18364
- };
18365
- };
18366
- security: ({
18367
- api_key: never[];
18368
- pat_with_workspace?: never;
18369
- console_session_with_workspace?: never;
18370
- } | {
18371
- pat_with_workspace: never[];
18372
- api_key?: never;
18373
- console_session_with_workspace?: never;
18374
- } | {
18375
- console_session_with_workspace: never[];
18376
- api_key?: never;
18377
- pat_with_workspace?: never;
18378
- })[];
18379
- summary: string;
18380
- tags: string[];
18381
- 'x-fern-sdk-group-name': string[];
18382
- 'x-fern-sdk-method-name': string;
18383
- 'x-response-key': null;
18384
- 'x-undocumented': string;
18385
- };
18386
- };
18387
18251
  '/devices/simulate/connect': {
18388
18252
  post: {
18389
18253
  operationId: string;
@@ -19721,6 +19585,146 @@ declare const _default: {
19721
19585
  'x-response-key': string;
19722
19586
  };
19723
19587
  };
19588
+ '/locks/simulate/keypad_code_entry': {
19589
+ post: {
19590
+ operationId: string;
19591
+ requestBody: {
19592
+ content: {
19593
+ 'application/json': {
19594
+ schema: {
19595
+ properties: {
19596
+ code: {
19597
+ type: string;
19598
+ };
19599
+ device_id: {
19600
+ format: string;
19601
+ type: string;
19602
+ };
19603
+ };
19604
+ required: string[];
19605
+ type: string;
19606
+ };
19607
+ };
19608
+ };
19609
+ };
19610
+ responses: {
19611
+ 200: {
19612
+ content: {
19613
+ 'application/json': {
19614
+ schema: {
19615
+ properties: {
19616
+ action_attempt: {
19617
+ $ref: string;
19618
+ };
19619
+ ok: {
19620
+ type: string;
19621
+ };
19622
+ };
19623
+ required: string[];
19624
+ type: string;
19625
+ };
19626
+ };
19627
+ };
19628
+ description: string;
19629
+ };
19630
+ 400: {
19631
+ description: string;
19632
+ };
19633
+ 401: {
19634
+ description: string;
19635
+ };
19636
+ };
19637
+ security: ({
19638
+ api_key: never[];
19639
+ pat_with_workspace?: never;
19640
+ console_session_with_workspace?: never;
19641
+ } | {
19642
+ pat_with_workspace: never[];
19643
+ api_key?: never;
19644
+ console_session_with_workspace?: never;
19645
+ } | {
19646
+ console_session_with_workspace: never[];
19647
+ api_key?: never;
19648
+ pat_with_workspace?: never;
19649
+ })[];
19650
+ summary: string;
19651
+ tags: string[];
19652
+ 'x-action-attempt-type': string;
19653
+ 'x-fern-sdk-group-name': string[];
19654
+ 'x-fern-sdk-method-name': string;
19655
+ 'x-fern-sdk-return-value': string;
19656
+ 'x-response-key': string;
19657
+ 'x-undocumented': string;
19658
+ };
19659
+ };
19660
+ '/locks/simulate/manual_lock_via_keypad': {
19661
+ post: {
19662
+ operationId: string;
19663
+ requestBody: {
19664
+ content: {
19665
+ 'application/json': {
19666
+ schema: {
19667
+ properties: {
19668
+ device_id: {
19669
+ format: string;
19670
+ type: string;
19671
+ };
19672
+ };
19673
+ required: string[];
19674
+ type: string;
19675
+ };
19676
+ };
19677
+ };
19678
+ };
19679
+ responses: {
19680
+ 200: {
19681
+ content: {
19682
+ 'application/json': {
19683
+ schema: {
19684
+ properties: {
19685
+ action_attempt: {
19686
+ $ref: string;
19687
+ };
19688
+ ok: {
19689
+ type: string;
19690
+ };
19691
+ };
19692
+ required: string[];
19693
+ type: string;
19694
+ };
19695
+ };
19696
+ };
19697
+ description: string;
19698
+ };
19699
+ 400: {
19700
+ description: string;
19701
+ };
19702
+ 401: {
19703
+ description: string;
19704
+ };
19705
+ };
19706
+ security: ({
19707
+ api_key: never[];
19708
+ pat_with_workspace?: never;
19709
+ console_session_with_workspace?: never;
19710
+ } | {
19711
+ pat_with_workspace: never[];
19712
+ api_key?: never;
19713
+ console_session_with_workspace?: never;
19714
+ } | {
19715
+ console_session_with_workspace: never[];
19716
+ api_key?: never;
19717
+ pat_with_workspace?: never;
19718
+ })[];
19719
+ summary: string;
19720
+ tags: string[];
19721
+ 'x-action-attempt-type': string;
19722
+ 'x-fern-sdk-group-name': string[];
19723
+ 'x-fern-sdk-method-name': string;
19724
+ 'x-response-key': null;
19725
+ 'x-undocumented': string;
19726
+ };
19727
+ };
19724
19728
  '/locks/unlock_door': {
19725
19729
  post: {
19726
19730
  operationId: string;
@@ -22216,6 +22220,65 @@ declare const _default: {
22216
22220
  'x-undocumented': string;
22217
22221
  };
22218
22222
  };
22223
+ '/seam/instant_key/v1/client_sessions/exchange_short_code': {
22224
+ post: {
22225
+ description: string;
22226
+ operationId: string;
22227
+ requestBody: {
22228
+ content: {
22229
+ 'application/json': {
22230
+ schema: {
22231
+ properties: {
22232
+ short_code: {
22233
+ description: string;
22234
+ type: string;
22235
+ };
22236
+ };
22237
+ required: string[];
22238
+ type: string;
22239
+ };
22240
+ };
22241
+ };
22242
+ };
22243
+ responses: {
22244
+ 200: {
22245
+ content: {
22246
+ 'application/json': {
22247
+ schema: {
22248
+ properties: {
22249
+ client_session: {
22250
+ $ref: string;
22251
+ };
22252
+ ok: {
22253
+ type: string;
22254
+ };
22255
+ };
22256
+ required: string[];
22257
+ type: string;
22258
+ };
22259
+ };
22260
+ };
22261
+ description: string;
22262
+ };
22263
+ 400: {
22264
+ description: string;
22265
+ };
22266
+ 401: {
22267
+ description: string;
22268
+ };
22269
+ };
22270
+ security: {
22271
+ certified_client: never[];
22272
+ }[];
22273
+ summary: string;
22274
+ tags: string[];
22275
+ 'x-fern-sdk-group-name': string[];
22276
+ 'x-fern-sdk-method-name': string;
22277
+ 'x-fern-sdk-return-value': string;
22278
+ 'x-response-key': string;
22279
+ 'x-title': string;
22280
+ };
22281
+ };
22219
22282
  '/thermostats/activate_climate_preset': {
22220
22283
  post: {
22221
22284
  description: string;
@@ -24722,20 +24785,6 @@ declare const _default: {
24722
24785
  type?: never;
24723
24786
  } | {
24724
24787
  properties: {
24725
- desired_access_methods: {
24726
- items: {
24727
- properties: {
24728
- mode: {
24729
- description: string;
24730
- enum: string[];
24731
- type: string;
24732
- };
24733
- };
24734
- required: string[];
24735
- type: string;
24736
- };
24737
- type: string;
24738
- };
24739
24788
  ends_at: {
24740
24789
  description: string;
24741
24790
  format: string;
@@ -24762,6 +24811,10 @@ declare const _default: {
24762
24811
  };
24763
24812
  type: string;
24764
24813
  };
24814
+ name: {
24815
+ description: string;
24816
+ type: string;
24817
+ };
24765
24818
  };
24766
24819
  type: string;
24767
24820
  };
@@ -24773,6 +24826,20 @@ declare const _default: {
24773
24826
  };
24774
24827
  type: string;
24775
24828
  };
24829
+ requested_access_methods: {
24830
+ items: {
24831
+ properties: {
24832
+ mode: {
24833
+ description: string;
24834
+ enum: string[];
24835
+ type: string;
24836
+ };
24837
+ };
24838
+ required: string[];
24839
+ type: string;
24840
+ };
24841
+ type: string;
24842
+ };
24776
24843
  starts_at: {
24777
24844
  description: string;
24778
24845
  format: string;
@@ -24800,6 +24867,14 @@ declare const _default: {
24800
24867
  format: string;
24801
24868
  type: string;
24802
24869
  };
24870
+ access_method_ids: {
24871
+ description: string;
24872
+ items: {
24873
+ format: string;
24874
+ type: string;
24875
+ };
24876
+ type: string;
24877
+ };
24803
24878
  created_at: {
24804
24879
  description: string;
24805
24880
  format: string;
@@ -24821,6 +24896,14 @@ declare const _default: {
24821
24896
  description: string;
24822
24897
  items: {
24823
24898
  properties: {
24899
+ created_access_method_ids: {
24900
+ description: string;
24901
+ items: {
24902
+ format: string;
24903
+ type: string;
24904
+ };
24905
+ type: string;
24906
+ };
24824
24907
  created_at: {
24825
24908
  description: string;
24826
24909
  format: string;
@@ -24835,14 +24918,6 @@ declare const _default: {
24835
24918
  enum: string[];
24836
24919
  type: string;
24837
24920
  };
24838
- provisioned_access_method_ids: {
24839
- description: string;
24840
- items: {
24841
- format: string;
24842
- type: string;
24843
- };
24844
- type: string;
24845
- };
24846
24921
  };
24847
24922
  required: string[];
24848
24923
  type: string;
@@ -24940,6 +25015,14 @@ declare const _default: {
24940
25015
  format: string;
24941
25016
  type: string;
24942
25017
  };
25018
+ access_method_ids: {
25019
+ description: string;
25020
+ items: {
25021
+ format: string;
25022
+ type: string;
25023
+ };
25024
+ type: string;
25025
+ };
24943
25026
  created_at: {
24944
25027
  description: string;
24945
25028
  format: string;
@@ -24961,6 +25044,14 @@ declare const _default: {
24961
25044
  description: string;
24962
25045
  items: {
24963
25046
  properties: {
25047
+ created_access_method_ids: {
25048
+ description: string;
25049
+ items: {
25050
+ format: string;
25051
+ type: string;
25052
+ };
25053
+ type: string;
25054
+ };
24964
25055
  created_at: {
24965
25056
  description: string;
24966
25057
  format: string;
@@ -24975,14 +25066,6 @@ declare const _default: {
24975
25066
  enum: string[];
24976
25067
  type: string;
24977
25068
  };
24978
- provisioned_access_method_ids: {
24979
- description: string;
24980
- items: {
24981
- format: string;
24982
- type: string;
24983
- };
24984
- type: string;
24985
- };
24986
25069
  };
24987
25070
  required: string[];
24988
25071
  type: string;
@@ -25095,6 +25178,14 @@ declare const _default: {
25095
25178
  format: string;
25096
25179
  type: string;
25097
25180
  };
25181
+ access_method_ids: {
25182
+ description: string;
25183
+ items: {
25184
+ format: string;
25185
+ type: string;
25186
+ };
25187
+ type: string;
25188
+ };
25098
25189
  created_at: {
25099
25190
  description: string;
25100
25191
  format: string;
@@ -25116,6 +25207,14 @@ declare const _default: {
25116
25207
  description: string;
25117
25208
  items: {
25118
25209
  properties: {
25210
+ created_access_method_ids: {
25211
+ description: string;
25212
+ items: {
25213
+ format: string;
25214
+ type: string;
25215
+ };
25216
+ type: string;
25217
+ };
25119
25218
  created_at: {
25120
25219
  description: string;
25121
25220
  format: string;
@@ -25130,14 +25229,6 @@ declare const _default: {
25130
25229
  enum: string[];
25131
25230
  type: string;
25132
25231
  };
25133
- provisioned_access_method_ids: {
25134
- description: string;
25135
- items: {
25136
- format: string;
25137
- type: string;
25138
- };
25139
- type: string;
25140
- };
25141
25232
  };
25142
25233
  required: string[];
25143
25234
  type: string;
@@ -25203,7 +25294,7 @@ declare const _default: {
25203
25294
  'x-undocumented': string;
25204
25295
  };
25205
25296
  };
25206
- '/unstable_access_grants/list_access_methods': {
25297
+ '/unstable_access_methods/list': {
25207
25298
  post: {
25208
25299
  description: string;
25209
25300
  operationId: string;