@seamapi/types 1.372.0 → 1.373.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 +116 -20
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +236 -39
  4. package/lib/seam/connect/models/devices/device-metadata.d.ts +23 -0
  5. package/lib/seam/connect/models/devices/device-metadata.js +5 -0
  6. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  7. package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
  8. package/lib/seam/connect/models/devices/device-provider.js +1 -0
  9. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  10. package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
  11. package/lib/seam/connect/models/devices/device-type.js +1 -0
  12. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  13. package/lib/seam/connect/models/devices/device.d.ts +36 -3
  14. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +26 -3
  15. package/lib/seam/connect/models/events/acs/credentials.d.ts +61 -0
  16. package/lib/seam/connect/models/events/acs/credentials.js +9 -0
  17. package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
  18. package/lib/seam/connect/models/events/acs/index.d.ts +30 -0
  19. package/lib/seam/connect/models/events/seam-event.d.ts +31 -1
  20. package/lib/seam/connect/openapi.d.ts +15 -0
  21. package/lib/seam/connect/openapi.js +80 -0
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +128 -33
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/devices/device-metadata.ts +6 -0
  26. package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
  27. package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
  28. package/src/lib/seam/connect/models/events/acs/credentials.ts +10 -0
  29. package/src/lib/seam/connect/openapi.ts +84 -0
  30. package/src/lib/seam/connect/route-types.ts +156 -0
@@ -17412,6 +17412,7 @@ export interface Routes {
17412
17412
  | 'assa_abloy_vostio_credential_service'
17413
17413
  | 'tado'
17414
17414
  | 'salto_space'
17415
+ | 'sensi'
17415
17416
  | 'yale_access'
17416
17417
  | 'hid_cm'
17417
17418
  | 'google_nest'
@@ -17933,6 +17934,7 @@ export interface Routes {
17933
17934
  | 'nest_thermostat'
17934
17935
  | 'honeywell_resideo_thermostat'
17935
17936
  | 'tado_thermostat'
17937
+ | 'sensi_thermostat'
17936
17938
  )
17937
17939
  | ('ios_phone' | 'android_phone')
17938
17940
  /** Optional nickname to describe the device, settable through Seam */
@@ -18349,6 +18351,13 @@ export interface Routes {
18349
18351
  device_type: string
18350
18352
  }
18351
18353
  | undefined
18354
+ sensi_metadata?:
18355
+ | {
18356
+ device_id: string
18357
+ device_name: string
18358
+ product_type: string
18359
+ }
18360
+ | undefined
18352
18361
  }) &
18353
18362
  ({
18354
18363
  _experimental_supported_code_from_access_codes_lengths?:
@@ -18853,6 +18862,7 @@ export interface Routes {
18853
18862
  | 'nest_thermostat'
18854
18863
  | 'honeywell_resideo_thermostat'
18855
18864
  | 'tado_thermostat'
18865
+ | 'sensi_thermostat'
18856
18866
  )
18857
18867
  | ('ios_phone' | 'android_phone')
18858
18868
  )
@@ -18895,6 +18905,7 @@ export interface Routes {
18895
18905
  | 'nest_thermostat'
18896
18906
  | 'honeywell_resideo_thermostat'
18897
18907
  | 'tado_thermostat'
18908
+ | 'sensi_thermostat'
18898
18909
  )
18899
18910
  | ('ios_phone' | 'android_phone')
18900
18911
  >
@@ -18938,6 +18949,7 @@ export interface Routes {
18938
18949
  | 'honeywell_resideo'
18939
18950
  | 'akiles'
18940
18951
  | 'tado'
18952
+ | 'sensi'
18941
18953
  )
18942
18954
  | undefined
18943
18955
  /** Array of device IDs by which to filter devices. */
@@ -19027,6 +19039,7 @@ export interface Routes {
19027
19039
  | 'nest_thermostat'
19028
19040
  | 'honeywell_resideo_thermostat'
19029
19041
  | 'tado_thermostat'
19042
+ | 'sensi_thermostat'
19030
19043
  )
19031
19044
  | ('ios_phone' | 'android_phone')
19032
19045
  /** Optional nickname to describe the device, settable through Seam */
@@ -19443,6 +19456,13 @@ export interface Routes {
19443
19456
  device_type: string
19444
19457
  }
19445
19458
  | undefined
19459
+ sensi_metadata?:
19460
+ | {
19461
+ device_id: string
19462
+ device_name: string
19463
+ product_type: string
19464
+ }
19465
+ | undefined
19446
19466
  }) &
19447
19467
  ({
19448
19468
  _experimental_supported_code_from_access_codes_lengths?:
@@ -19962,6 +19982,7 @@ export interface Routes {
19962
19982
  | 'assa_abloy_vostio_credential_service'
19963
19983
  | 'tado'
19964
19984
  | 'salto_space'
19985
+ | 'sensi'
19965
19986
  display_name: string
19966
19987
  image_url: string
19967
19988
  provider_categories: Array<
@@ -20094,6 +20115,7 @@ export interface Routes {
20094
20115
  | 'nest_thermostat'
20095
20116
  | 'honeywell_resideo_thermostat'
20096
20117
  | 'tado_thermostat'
20118
+ | 'sensi_thermostat'
20097
20119
  )
20098
20120
  | ('ios_phone' | 'android_phone')
20099
20121
  /** Unique identifier for the account associated with the device. */
@@ -20442,6 +20464,7 @@ export interface Routes {
20442
20464
  | 'nest_thermostat'
20443
20465
  | 'honeywell_resideo_thermostat'
20444
20466
  | 'tado_thermostat'
20467
+ | 'sensi_thermostat'
20445
20468
  )
20446
20469
  | ('ios_phone' | 'android_phone')
20447
20470
  )
@@ -20484,6 +20507,7 @@ export interface Routes {
20484
20507
  | 'nest_thermostat'
20485
20508
  | 'honeywell_resideo_thermostat'
20486
20509
  | 'tado_thermostat'
20510
+ | 'sensi_thermostat'
20487
20511
  )
20488
20512
  | ('ios_phone' | 'android_phone')
20489
20513
  >
@@ -20527,6 +20551,7 @@ export interface Routes {
20527
20551
  | 'honeywell_resideo'
20528
20552
  | 'akiles'
20529
20553
  | 'tado'
20554
+ | 'sensi'
20530
20555
  )
20531
20556
  | undefined
20532
20557
  /** Array of device IDs by which to filter devices. */
@@ -20616,6 +20641,7 @@ export interface Routes {
20616
20641
  | 'nest_thermostat'
20617
20642
  | 'honeywell_resideo_thermostat'
20618
20643
  | 'tado_thermostat'
20644
+ | 'sensi_thermostat'
20619
20645
  )
20620
20646
  | ('ios_phone' | 'android_phone')
20621
20647
  /** Unique identifier for the account associated with the device. */
@@ -21349,6 +21375,22 @@ export interface Routes {
21349
21375
  acs_credential_id: string
21350
21376
  event_type: 'acs_credential.reissued'
21351
21377
  }
21378
+ | {
21379
+ /** ID of the event. */
21380
+ event_id: string
21381
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
21382
+ workspace_id: string
21383
+ /** Date and time at which the event was created. */
21384
+ created_at: string
21385
+ /** Date and time at which the event occurred. */
21386
+ occurred_at: string
21387
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
21388
+ connected_account_id?: string | undefined
21389
+ /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
21390
+ acs_system_id: string
21391
+ acs_credential_id: string
21392
+ event_type: 'acs_credential.invalidated'
21393
+ }
21352
21394
  | {
21353
21395
  /** ID of the event. */
21354
21396
  event_id: string
@@ -22333,6 +22375,7 @@ export interface Routes {
22333
22375
  | 'acs_credential.deleted'
22334
22376
  | 'acs_credential.issued'
22335
22377
  | 'acs_credential.reissued'
22378
+ | 'acs_credential.invalidated'
22336
22379
  | 'acs_user.deleted'
22337
22380
  | 'acs_encoder.added'
22338
22381
  | 'acs_encoder.removed'
@@ -22415,6 +22458,7 @@ export interface Routes {
22415
22458
  | 'acs_credential.deleted'
22416
22459
  | 'acs_credential.issued'
22417
22460
  | 'acs_credential.reissued'
22461
+ | 'acs_credential.invalidated'
22418
22462
  | 'acs_user.deleted'
22419
22463
  | 'acs_encoder.added'
22420
22464
  | 'acs_encoder.removed'
@@ -22869,6 +22913,22 @@ export interface Routes {
22869
22913
  acs_credential_id: string
22870
22914
  event_type: 'acs_credential.reissued'
22871
22915
  }
22916
+ | {
22917
+ /** ID of the event. */
22918
+ event_id: string
22919
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
22920
+ workspace_id: string
22921
+ /** Date and time at which the event was created. */
22922
+ created_at: string
22923
+ /** Date and time at which the event occurred. */
22924
+ occurred_at: string
22925
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
22926
+ connected_account_id?: string | undefined
22927
+ /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
22928
+ acs_system_id: string
22929
+ acs_credential_id: string
22930
+ event_type: 'acs_credential.invalidated'
22931
+ }
22872
22932
  | {
22873
22933
  /** ID of the event. */
22874
22934
  event_id: string
@@ -23853,6 +23913,7 @@ export interface Routes {
23853
23913
  | 'nest_thermostat'
23854
23914
  | 'honeywell_resideo_thermostat'
23855
23915
  | 'tado_thermostat'
23916
+ | 'sensi_thermostat'
23856
23917
  )
23857
23918
  | ('ios_phone' | 'android_phone')
23858
23919
  /** Optional nickname to describe the device, settable through Seam */
@@ -24269,6 +24330,13 @@ export interface Routes {
24269
24330
  device_type: string
24270
24331
  }
24271
24332
  | undefined
24333
+ sensi_metadata?:
24334
+ | {
24335
+ device_id: string
24336
+ device_name: string
24337
+ product_type: string
24338
+ }
24339
+ | undefined
24272
24340
  }) &
24273
24341
  ({
24274
24342
  _experimental_supported_code_from_access_codes_lengths?:
@@ -24762,6 +24830,7 @@ export interface Routes {
24762
24830
  | 'nest_thermostat'
24763
24831
  | 'honeywell_resideo_thermostat'
24764
24832
  | 'tado_thermostat'
24833
+ | 'sensi_thermostat'
24765
24834
  )
24766
24835
  | ('ios_phone' | 'android_phone')
24767
24836
  /** Optional nickname to describe the device, settable through Seam */
@@ -25178,6 +25247,13 @@ export interface Routes {
25178
25247
  device_type: string
25179
25248
  }
25180
25249
  | undefined
25250
+ sensi_metadata?:
25251
+ | {
25252
+ device_id: string
25253
+ device_name: string
25254
+ product_type: string
25255
+ }
25256
+ | undefined
25181
25257
  }) &
25182
25258
  ({
25183
25259
  _experimental_supported_code_from_access_codes_lengths?:
@@ -25682,6 +25758,7 @@ export interface Routes {
25682
25758
  | 'nest_thermostat'
25683
25759
  | 'honeywell_resideo_thermostat'
25684
25760
  | 'tado_thermostat'
25761
+ | 'sensi_thermostat'
25685
25762
  )
25686
25763
  | ('ios_phone' | 'android_phone')
25687
25764
  )
@@ -25724,6 +25801,7 @@ export interface Routes {
25724
25801
  | 'nest_thermostat'
25725
25802
  | 'honeywell_resideo_thermostat'
25726
25803
  | 'tado_thermostat'
25804
+ | 'sensi_thermostat'
25727
25805
  )
25728
25806
  | ('ios_phone' | 'android_phone')
25729
25807
  >
@@ -25767,6 +25845,7 @@ export interface Routes {
25767
25845
  | 'honeywell_resideo'
25768
25846
  | 'akiles'
25769
25847
  | 'tado'
25848
+ | 'sensi'
25770
25849
  )
25771
25850
  | undefined
25772
25851
  /** Array of device IDs by which to filter devices. */
@@ -25856,6 +25935,7 @@ export interface Routes {
25856
25935
  | 'nest_thermostat'
25857
25936
  | 'honeywell_resideo_thermostat'
25858
25937
  | 'tado_thermostat'
25938
+ | 'sensi_thermostat'
25859
25939
  )
25860
25940
  | ('ios_phone' | 'android_phone')
25861
25941
  /** Optional nickname to describe the device, settable through Seam */
@@ -26272,6 +26352,13 @@ export interface Routes {
26272
26352
  device_type: string
26273
26353
  }
26274
26354
  | undefined
26355
+ sensi_metadata?:
26356
+ | {
26357
+ device_id: string
26358
+ device_name: string
26359
+ product_type: string
26360
+ }
26361
+ | undefined
26275
26362
  }) &
26276
26363
  ({
26277
26364
  _experimental_supported_code_from_access_codes_lengths?:
@@ -26764,6 +26851,7 @@ export interface Routes {
26764
26851
  | 'nest_thermostat'
26765
26852
  | 'honeywell_resideo_thermostat'
26766
26853
  | 'tado_thermostat'
26854
+ | 'sensi_thermostat'
26767
26855
  )
26768
26856
  | ('ios_phone' | 'android_phone')
26769
26857
  /** Optional nickname to describe the device, settable through Seam */
@@ -27180,6 +27268,13 @@ export interface Routes {
27180
27268
  device_type: string
27181
27269
  }
27182
27270
  | undefined
27271
+ sensi_metadata?:
27272
+ | {
27273
+ device_id: string
27274
+ device_name: string
27275
+ product_type: string
27276
+ }
27277
+ | undefined
27183
27278
  }) &
27184
27279
  ({
27185
27280
  _experimental_supported_code_from_access_codes_lengths?:
@@ -29981,6 +30076,7 @@ export interface Routes {
29981
30076
  | 'nest_thermostat'
29982
30077
  | 'honeywell_resideo_thermostat'
29983
30078
  | 'tado_thermostat'
30079
+ | 'sensi_thermostat'
29984
30080
  )
29985
30081
  | ('ios_phone' | 'android_phone')
29986
30082
  )
@@ -30023,6 +30119,7 @@ export interface Routes {
30023
30119
  | 'nest_thermostat'
30024
30120
  | 'honeywell_resideo_thermostat'
30025
30121
  | 'tado_thermostat'
30122
+ | 'sensi_thermostat'
30026
30123
  )
30027
30124
  | ('ios_phone' | 'android_phone')
30028
30125
  >
@@ -30066,6 +30163,7 @@ export interface Routes {
30066
30163
  | 'honeywell_resideo'
30067
30164
  | 'akiles'
30068
30165
  | 'tado'
30166
+ | 'sensi'
30069
30167
  )
30070
30168
  | undefined
30071
30169
  /** Array of device IDs by which to filter devices. */
@@ -30155,6 +30253,7 @@ export interface Routes {
30155
30253
  | 'nest_thermostat'
30156
30254
  | 'honeywell_resideo_thermostat'
30157
30255
  | 'tado_thermostat'
30256
+ | 'sensi_thermostat'
30158
30257
  )
30159
30258
  | ('ios_phone' | 'android_phone')
30160
30259
  /** Optional nickname to describe the device, settable through Seam */
@@ -30571,6 +30670,13 @@ export interface Routes {
30571
30670
  device_type: string
30572
30671
  }
30573
30672
  | undefined
30673
+ sensi_metadata?:
30674
+ | {
30675
+ device_id: string
30676
+ device_name: string
30677
+ product_type: string
30678
+ }
30679
+ | undefined
30574
30680
  }) &
30575
30681
  ({
30576
30682
  _experimental_supported_code_from_access_codes_lengths?:
@@ -31063,6 +31169,7 @@ export interface Routes {
31063
31169
  | 'nest_thermostat'
31064
31170
  | 'honeywell_resideo_thermostat'
31065
31171
  | 'tado_thermostat'
31172
+ | 'sensi_thermostat'
31066
31173
  )
31067
31174
  | ('ios_phone' | 'android_phone')
31068
31175
  /** Optional nickname to describe the device, settable through Seam */
@@ -31479,6 +31586,13 @@ export interface Routes {
31479
31586
  device_type: string
31480
31587
  }
31481
31588
  | undefined
31589
+ sensi_metadata?:
31590
+ | {
31591
+ device_id: string
31592
+ device_name: string
31593
+ product_type: string
31594
+ }
31595
+ | undefined
31482
31596
  }) &
31483
31597
  ({
31484
31598
  _experimental_supported_code_from_access_codes_lengths?:
@@ -38170,6 +38284,7 @@ export interface Routes {
38170
38284
  | 'nest_thermostat'
38171
38285
  | 'honeywell_resideo_thermostat'
38172
38286
  | 'tado_thermostat'
38287
+ | 'sensi_thermostat'
38173
38288
  )
38174
38289
  | ('ios_phone' | 'android_phone')
38175
38290
  /** Optional nickname to describe the device, settable through Seam */
@@ -38586,6 +38701,13 @@ export interface Routes {
38586
38701
  device_type: string
38587
38702
  }
38588
38703
  | undefined
38704
+ sensi_metadata?:
38705
+ | {
38706
+ device_id: string
38707
+ device_name: string
38708
+ product_type: string
38709
+ }
38710
+ | undefined
38589
38711
  }) &
38590
38712
  ({
38591
38713
  _experimental_supported_code_from_access_codes_lengths?:
@@ -41337,6 +41459,7 @@ export interface Routes {
41337
41459
  | 'nest_thermostat'
41338
41460
  | 'honeywell_resideo_thermostat'
41339
41461
  | 'tado_thermostat'
41462
+ | 'sensi_thermostat'
41340
41463
  )
41341
41464
  | undefined
41342
41465
  /** Array of device types by which to filter devices. */
@@ -41346,6 +41469,7 @@ export interface Routes {
41346
41469
  | 'nest_thermostat'
41347
41470
  | 'honeywell_resideo_thermostat'
41348
41471
  | 'tado_thermostat'
41472
+ | 'sensi_thermostat'
41349
41473
  >
41350
41474
  | undefined
41351
41475
  /** Manufacturer by which to filter devices. */
@@ -41439,6 +41563,7 @@ export interface Routes {
41439
41563
  | 'nest_thermostat'
41440
41564
  | 'honeywell_resideo_thermostat'
41441
41565
  | 'tado_thermostat'
41566
+ | 'sensi_thermostat'
41442
41567
  )
41443
41568
  | ('ios_phone' | 'android_phone')
41444
41569
  /** Optional nickname to describe the device, settable through Seam */
@@ -41855,6 +41980,13 @@ export interface Routes {
41855
41980
  device_type: string
41856
41981
  }
41857
41982
  | undefined
41983
+ sensi_metadata?:
41984
+ | {
41985
+ device_id: string
41986
+ device_name: string
41987
+ product_type: string
41988
+ }
41989
+ | undefined
41858
41990
  }) &
41859
41991
  ({
41860
41992
  _experimental_supported_code_from_access_codes_lengths?:
@@ -42347,6 +42479,7 @@ export interface Routes {
42347
42479
  | 'nest_thermostat'
42348
42480
  | 'honeywell_resideo_thermostat'
42349
42481
  | 'tado_thermostat'
42482
+ | 'sensi_thermostat'
42350
42483
  )
42351
42484
  | ('ios_phone' | 'android_phone')
42352
42485
  /** Optional nickname to describe the device, settable through Seam */
@@ -42763,6 +42896,13 @@ export interface Routes {
42763
42896
  device_type: string
42764
42897
  }
42765
42898
  | undefined
42899
+ sensi_metadata?:
42900
+ | {
42901
+ device_id: string
42902
+ device_name: string
42903
+ product_type: string
42904
+ }
42905
+ | undefined
42766
42906
  }) &
42767
42907
  ({
42768
42908
  _experimental_supported_code_from_access_codes_lengths?:
@@ -47489,6 +47629,7 @@ export interface Routes {
47489
47629
  | 'nest_thermostat'
47490
47630
  | 'honeywell_resideo_thermostat'
47491
47631
  | 'tado_thermostat'
47632
+ | 'sensi_thermostat'
47492
47633
  )
47493
47634
  | ('ios_phone' | 'android_phone')
47494
47635
  /** Optional nickname to describe the device, settable through Seam */
@@ -47905,6 +48046,13 @@ export interface Routes {
47905
48046
  device_type: string
47906
48047
  }
47907
48048
  | undefined
48049
+ sensi_metadata?:
48050
+ | {
48051
+ device_id: string
48052
+ device_name: string
48053
+ product_type: string
48054
+ }
48055
+ | undefined
47908
48056
  }) &
47909
48057
  ({
47910
48058
  _experimental_supported_code_from_access_codes_lengths?:
@@ -48399,6 +48547,7 @@ export interface Routes {
48399
48547
  | 'nest_thermostat'
48400
48548
  | 'honeywell_resideo_thermostat'
48401
48549
  | 'tado_thermostat'
48550
+ | 'sensi_thermostat'
48402
48551
  )
48403
48552
  | ('ios_phone' | 'android_phone')
48404
48553
  /** Optional nickname to describe the device, settable through Seam */
@@ -48815,6 +48964,13 @@ export interface Routes {
48815
48964
  device_type: string
48816
48965
  }
48817
48966
  | undefined
48967
+ sensi_metadata?:
48968
+ | {
48969
+ device_id: string
48970
+ device_name: string
48971
+ product_type: string
48972
+ }
48973
+ | undefined
48818
48974
  }) &
48819
48975
  ({
48820
48976
  _experimental_supported_code_from_access_codes_lengths?: