@seamapi/types 1.140.0 → 1.142.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 +113 -11
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +137 -36
  4. package/dist/devicedb.d.cts +16 -16
  5. package/lib/seam/connect/index.d.ts +2 -2
  6. package/lib/seam/connect/index.js +2 -2
  7. package/lib/seam/connect/index.js.map +1 -1
  8. package/lib/seam/connect/model-types.js.map +1 -0
  9. package/lib/seam/connect/models/connect-webview.js.map +1 -0
  10. package/lib/seam/connect/models/custom-metadata.js.map +1 -0
  11. package/lib/seam/connect/models/index.js.map +1 -0
  12. package/lib/seam/connect/openapi.d.ts +116 -36
  13. package/lib/seam/connect/openapi.js +111 -9
  14. package/lib/seam/connect/openapi.js.map +1 -1
  15. package/lib/seam/connect/route-types.d.ts +21 -0
  16. package/lib/seam/connect/schemas.js.map +1 -0
  17. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +25 -3
  18. package/lib/seam/connect/unstable/models/devices/managed-device.js +5 -2
  19. package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
  20. package/lib/seam/connect/unstable/models/devices/phone.d.ts +6 -3
  21. package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +6 -3
  22. package/lib/seam/connect/unstable/models/devices/unmanaged-device.js +2 -3
  23. package/lib/seam/connect/unstable/models/devices/unmanaged-device.js.map +1 -1
  24. package/lib/seam/devicedb/models/device-capability.d.ts +3 -3
  25. package/lib/seam/devicedb/models/device-model.d.ts +6 -6
  26. package/lib/seam/devicedb/route-specs.d.ts +10 -10
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/index.ts +2 -2
  29. package/src/lib/seam/connect/openapi.ts +111 -9
  30. package/src/lib/seam/connect/route-types.ts +77 -0
  31. package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +7 -2
  32. package/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts +6 -4
  33. package/lib/seam/connect/stable/model-types.js.map +0 -1
  34. package/lib/seam/connect/stable/models/connect-webview.js.map +0 -1
  35. package/lib/seam/connect/stable/models/custom-metadata.js.map +0 -1
  36. package/lib/seam/connect/stable/models/index.js.map +0 -1
  37. package/lib/seam/connect/stable/schemas.js.map +0 -1
  38. /package/lib/seam/connect/{stable/model-types.d.ts → model-types.d.ts} +0 -0
  39. /package/lib/seam/connect/{stable/model-types.js → model-types.js} +0 -0
  40. /package/lib/seam/connect/{stable/models → models}/connect-webview.d.ts +0 -0
  41. /package/lib/seam/connect/{stable/models → models}/connect-webview.js +0 -0
  42. /package/lib/seam/connect/{stable/models → models}/custom-metadata.d.ts +0 -0
  43. /package/lib/seam/connect/{stable/models → models}/custom-metadata.js +0 -0
  44. /package/lib/seam/connect/{stable/models → models}/index.d.ts +0 -0
  45. /package/lib/seam/connect/{stable/models → models}/index.js +0 -0
  46. /package/lib/seam/connect/{stable/schemas.d.ts → schemas.d.ts} +0 -0
  47. /package/lib/seam/connect/{stable/schemas.js → schemas.js} +0 -0
  48. /package/src/lib/seam/connect/{stable/model-types.ts → model-types.ts} +0 -0
  49. /package/src/lib/seam/connect/{stable/models → models}/connect-webview.ts +0 -0
  50. /package/src/lib/seam/connect/{stable/models → models}/custom-metadata.ts +0 -0
  51. /package/src/lib/seam/connect/{stable/models → models}/index.ts +0 -0
  52. /package/src/lib/seam/connect/{stable/schemas.ts → schemas.ts} +0 -0
@@ -666,6 +666,9 @@ declare const _default: {
666
666
  can_remotely_unlock: {
667
667
  type: string;
668
668
  };
669
+ can_simulate_removal: {
670
+ type: string;
671
+ };
669
672
  capabilities_supported: {
670
673
  description: string;
671
674
  items: {
@@ -2314,6 +2317,9 @@ declare const _default: {
2314
2317
  can_remotely_unlock: {
2315
2318
  type: string;
2316
2319
  };
2320
+ can_simulate_removal: {
2321
+ type: string;
2322
+ };
2317
2323
  capabilities_supported: {
2318
2324
  description: string;
2319
2325
  items: {
@@ -2547,6 +2553,9 @@ declare const _default: {
2547
2553
  can_remotely_unlock: {
2548
2554
  type: string;
2549
2555
  };
2556
+ can_simulate_removal: {
2557
+ type: string;
2558
+ };
2550
2559
  capabilities_supported: {
2551
2560
  description: string;
2552
2561
  items: {
@@ -8856,20 +8865,25 @@ declare const _default: {
8856
8865
  };
8857
8866
  };
8858
8867
  security: ({
8859
- access_token: never[];
8860
- seam_workspace: never[];
8861
- seam_client_session_token?: never;
8862
- client_session_token?: never;
8868
+ client_session: never[];
8869
+ pat_with_workspace?: never;
8870
+ console_session?: never;
8871
+ api_key?: never;
8863
8872
  } | {
8864
- seam_client_session_token: never[];
8865
- access_token?: never;
8866
- seam_workspace?: never;
8867
- client_session_token?: never;
8873
+ pat_with_workspace: never[];
8874
+ client_session?: never;
8875
+ console_session?: never;
8876
+ api_key?: never;
8868
8877
  } | {
8869
- client_session_token: never[];
8870
- access_token?: never;
8871
- seam_workspace?: never;
8872
- seam_client_session_token?: never;
8878
+ console_session: never[];
8879
+ client_session?: never;
8880
+ pat_with_workspace?: never;
8881
+ api_key?: never;
8882
+ } | {
8883
+ api_key: never[];
8884
+ client_session?: never;
8885
+ pat_with_workspace?: never;
8886
+ console_session?: never;
8873
8887
  })[];
8874
8888
  summary: string;
8875
8889
  tags: string[];
@@ -10493,20 +10507,25 @@ declare const _default: {
10493
10507
  };
10494
10508
  };
10495
10509
  security: ({
10496
- access_token: never[];
10497
- seam_workspace: never[];
10498
- seam_client_session_token?: never;
10499
- client_session_token?: never;
10510
+ client_session: never[];
10511
+ pat_with_workspace?: never;
10512
+ console_session?: never;
10513
+ api_key?: never;
10500
10514
  } | {
10501
- seam_client_session_token: never[];
10502
- access_token?: never;
10503
- seam_workspace?: never;
10504
- client_session_token?: never;
10515
+ pat_with_workspace: never[];
10516
+ client_session?: never;
10517
+ console_session?: never;
10518
+ api_key?: never;
10505
10519
  } | {
10506
- client_session_token: never[];
10507
- access_token?: never;
10508
- seam_workspace?: never;
10509
- seam_client_session_token?: never;
10520
+ console_session: never[];
10521
+ client_session?: never;
10522
+ pat_with_workspace?: never;
10523
+ api_key?: never;
10524
+ } | {
10525
+ api_key: never[];
10526
+ client_session?: never;
10527
+ pat_with_workspace?: never;
10528
+ console_session?: never;
10510
10529
  })[];
10511
10530
  summary: string;
10512
10531
  tags: string[];
@@ -10588,6 +10607,20 @@ declare const _default: {
10588
10607
  };
10589
10608
  type: string;
10590
10609
  };
10610
+ exclude_if: {
10611
+ items: {
10612
+ enum: string[];
10613
+ type: string;
10614
+ };
10615
+ type: string;
10616
+ };
10617
+ include_if: {
10618
+ items: {
10619
+ enum: string[];
10620
+ type: string;
10621
+ };
10622
+ type: string;
10623
+ };
10591
10624
  limit: {
10592
10625
  default: number;
10593
10626
  nullable: boolean;
@@ -10936,6 +10969,20 @@ declare const _default: {
10936
10969
  };
10937
10970
  type: string;
10938
10971
  };
10972
+ exclude_if: {
10973
+ items: {
10974
+ enum: string[];
10975
+ type: string;
10976
+ };
10977
+ type: string;
10978
+ };
10979
+ include_if: {
10980
+ items: {
10981
+ enum: string[];
10982
+ type: string;
10983
+ };
10984
+ type: string;
10985
+ };
10939
10986
  limit: {
10940
10987
  default: number;
10941
10988
  nullable: boolean;
@@ -11867,20 +11914,25 @@ declare const _default: {
11867
11914
  };
11868
11915
  };
11869
11916
  security: ({
11870
- access_token: never[];
11871
- seam_workspace: never[];
11872
- seam_client_session_token?: never;
11873
- client_session_token?: never;
11917
+ client_session: never[];
11918
+ pat_with_workspace?: never;
11919
+ console_session?: never;
11920
+ api_key?: never;
11874
11921
  } | {
11875
- seam_client_session_token: never[];
11876
- access_token?: never;
11877
- seam_workspace?: never;
11878
- client_session_token?: never;
11922
+ pat_with_workspace: never[];
11923
+ client_session?: never;
11924
+ console_session?: never;
11925
+ api_key?: never;
11879
11926
  } | {
11880
- client_session_token: never[];
11881
- access_token?: never;
11882
- seam_workspace?: never;
11883
- seam_client_session_token?: never;
11927
+ console_session: never[];
11928
+ client_session?: never;
11929
+ pat_with_workspace?: never;
11930
+ api_key?: never;
11931
+ } | {
11932
+ api_key: never[];
11933
+ client_session?: never;
11934
+ pat_with_workspace?: never;
11935
+ console_session?: never;
11884
11936
  })[];
11885
11937
  summary: string;
11886
11938
  tags: string[];
@@ -11962,6 +12014,20 @@ declare const _default: {
11962
12014
  };
11963
12015
  type: string;
11964
12016
  };
12017
+ exclude_if: {
12018
+ items: {
12019
+ enum: string[];
12020
+ type: string;
12021
+ };
12022
+ type: string;
12023
+ };
12024
+ include_if: {
12025
+ items: {
12026
+ enum: string[];
12027
+ type: string;
12028
+ };
12029
+ type: string;
12030
+ };
11965
12031
  limit: {
11966
12032
  default: number;
11967
12033
  nullable: boolean;
@@ -14387,6 +14453,20 @@ declare const _default: {
14387
14453
  };
14388
14454
  type: string;
14389
14455
  };
14456
+ exclude_if: {
14457
+ items: {
14458
+ enum: string[];
14459
+ type: string;
14460
+ };
14461
+ type: string;
14462
+ };
14463
+ include_if: {
14464
+ items: {
14465
+ enum: string[];
14466
+ type: string;
14467
+ };
14468
+ type: string;
14469
+ };
14390
14470
  limit: {
14391
14471
  default: number;
14392
14472
  nullable: boolean;
@@ -507,6 +507,7 @@ export default {
507
507
  can_program_online_access_codes: { type: 'boolean' },
508
508
  can_remotely_lock: { type: 'boolean' },
509
509
  can_remotely_unlock: { type: 'boolean' },
510
+ can_simulate_removal: { type: 'boolean' },
510
511
  capabilities_supported: {
511
512
  description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
512
513
  items: {
@@ -1852,6 +1853,7 @@ export default {
1852
1853
  can_program_online_access_codes: { type: 'boolean' },
1853
1854
  can_remotely_lock: { type: 'boolean' },
1854
1855
  can_remotely_unlock: { type: 'boolean' },
1856
+ can_simulate_removal: { type: 'boolean' },
1855
1857
  capabilities_supported: {
1856
1858
  description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
1857
1859
  items: {
@@ -2066,6 +2068,7 @@ export default {
2066
2068
  can_program_online_access_codes: { type: 'boolean' },
2067
2069
  can_remotely_lock: { type: 'boolean' },
2068
2070
  can_remotely_unlock: { type: 'boolean' },
2071
+ can_simulate_removal: { type: 'boolean' },
2069
2072
  capabilities_supported: {
2070
2073
  description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
2071
2074
  items: {
@@ -6454,9 +6457,10 @@ export default {
6454
6457
  401: { description: 'Unauthorized' },
6455
6458
  },
6456
6459
  security: [
6457
- { access_token: [], seam_workspace: [] },
6458
- { seam_client_session_token: [] },
6459
- { client_session_token: [] },
6460
+ { client_session: [] },
6461
+ { pat_with_workspace: [] },
6462
+ { console_session: [] },
6463
+ { api_key: [] },
6460
6464
  ],
6461
6465
  summary: '/action_attempts/get',
6462
6466
  tags: ['/action_attempts'],
@@ -7662,9 +7666,10 @@ export default {
7662
7666
  401: { description: 'Unauthorized' },
7663
7667
  },
7664
7668
  security: [
7665
- { access_token: [], seam_workspace: [] },
7666
- { seam_client_session_token: [] },
7667
- { client_session_token: [] },
7669
+ { client_session: [] },
7670
+ { pat_with_workspace: [] },
7671
+ { console_session: [] },
7672
+ { api_key: [] },
7668
7673
  ],
7669
7674
  summary: '/devices/get',
7670
7675
  tags: ['/devices'],
@@ -7813,6 +7818,30 @@ export default {
7813
7818
  },
7814
7819
  type: 'array',
7815
7820
  },
7821
+ exclude_if: {
7822
+ items: {
7823
+ enum: [
7824
+ 'can_remotely_unlock',
7825
+ 'can_remotely_lock',
7826
+ 'can_program_online_access_codes',
7827
+ 'can_simulate_removal',
7828
+ ],
7829
+ type: 'string',
7830
+ },
7831
+ type: 'array',
7832
+ },
7833
+ include_if: {
7834
+ items: {
7835
+ enum: [
7836
+ 'can_remotely_unlock',
7837
+ 'can_remotely_lock',
7838
+ 'can_program_online_access_codes',
7839
+ 'can_simulate_removal',
7840
+ ],
7841
+ type: 'string',
7842
+ },
7843
+ type: 'array',
7844
+ },
7816
7845
  limit: { default: 500, nullable: true, type: 'number' },
7817
7846
  manufacturer: {
7818
7847
  enum: [
@@ -8180,6 +8209,30 @@ export default {
8180
8209
  },
8181
8210
  type: 'array',
8182
8211
  },
8212
+ exclude_if: {
8213
+ items: {
8214
+ enum: [
8215
+ 'can_remotely_unlock',
8216
+ 'can_remotely_lock',
8217
+ 'can_program_online_access_codes',
8218
+ 'can_simulate_removal',
8219
+ ],
8220
+ type: 'string',
8221
+ },
8222
+ type: 'array',
8223
+ },
8224
+ include_if: {
8225
+ items: {
8226
+ enum: [
8227
+ 'can_remotely_unlock',
8228
+ 'can_remotely_lock',
8229
+ 'can_program_online_access_codes',
8230
+ 'can_simulate_removal',
8231
+ ],
8232
+ type: 'string',
8233
+ },
8234
+ type: 'array',
8235
+ },
8183
8236
  limit: { default: 500, nullable: true, type: 'number' },
8184
8237
  manufacturer: {
8185
8238
  enum: [
@@ -8965,9 +9018,10 @@ export default {
8965
9018
  401: { description: 'Unauthorized' },
8966
9019
  },
8967
9020
  security: [
8968
- { access_token: [], seam_workspace: [] },
8969
- { seam_client_session_token: [] },
8970
- { client_session_token: [] },
9021
+ { client_session: [] },
9022
+ { pat_with_workspace: [] },
9023
+ { console_session: [] },
9024
+ { api_key: [] },
8971
9025
  ],
8972
9026
  summary: '/locks/get',
8973
9027
  tags: ['/locks'],
@@ -9116,6 +9170,30 @@ export default {
9116
9170
  },
9117
9171
  type: 'array',
9118
9172
  },
9173
+ exclude_if: {
9174
+ items: {
9175
+ enum: [
9176
+ 'can_remotely_unlock',
9177
+ 'can_remotely_lock',
9178
+ 'can_program_online_access_codes',
9179
+ 'can_simulate_removal',
9180
+ ],
9181
+ type: 'string',
9182
+ },
9183
+ type: 'array',
9184
+ },
9185
+ include_if: {
9186
+ items: {
9187
+ enum: [
9188
+ 'can_remotely_unlock',
9189
+ 'can_remotely_lock',
9190
+ 'can_program_online_access_codes',
9191
+ 'can_simulate_removal',
9192
+ ],
9193
+ type: 'string',
9194
+ },
9195
+ type: 'array',
9196
+ },
9119
9197
  limit: { default: 500, nullable: true, type: 'number' },
9120
9198
  manufacturer: {
9121
9199
  enum: [
@@ -10826,6 +10904,30 @@ export default {
10826
10904
  },
10827
10905
  type: 'array',
10828
10906
  },
10907
+ exclude_if: {
10908
+ items: {
10909
+ enum: [
10910
+ 'can_remotely_unlock',
10911
+ 'can_remotely_lock',
10912
+ 'can_program_online_access_codes',
10913
+ 'can_simulate_removal',
10914
+ ],
10915
+ type: 'string',
10916
+ },
10917
+ type: 'array',
10918
+ },
10919
+ include_if: {
10920
+ items: {
10921
+ enum: [
10922
+ 'can_remotely_unlock',
10923
+ 'can_remotely_lock',
10924
+ 'can_program_online_access_codes',
10925
+ 'can_simulate_removal',
10926
+ ],
10927
+ type: 'string',
10928
+ },
10929
+ type: 'array',
10930
+ },
10829
10931
  limit: { default: 500, nullable: true, type: 'number' },
10830
10932
  manufacturer: {
10831
10933
  enum: [