@seamapi/types 1.372.0 → 1.373.1
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.
- package/dist/connect.cjs +176 -136
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +240 -57
- package/lib/seam/connect/models/devices/device-metadata.d.ts +23 -0
- package/lib/seam/connect/models/devices/device-metadata.js +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +36 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +26 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +61 -0
- package/lib/seam/connect/models/events/acs/credentials.js +9 -0
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/models/events/acs/index.d.ts +30 -0
- package/lib/seam/connect/models/events/seam-event.d.ts +31 -1
- package/lib/seam/connect/openapi.d.ts +19 -18
- package/lib/seam/connect/openapi.js +140 -116
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +128 -33
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +6 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/models/events/acs/credentials.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +144 -116
- package/src/lib/seam/connect/route-types.ts +212 -88
|
@@ -5839,6 +5839,7 @@ export default {
|
|
|
5839
5839
|
'nest_thermostat',
|
|
5840
5840
|
'honeywell_resideo_thermostat',
|
|
5841
5841
|
'tado_thermostat',
|
|
5842
|
+
'sensi_thermostat',
|
|
5842
5843
|
],
|
|
5843
5844
|
type: 'string',
|
|
5844
5845
|
},
|
|
@@ -6804,6 +6805,15 @@ export default {
|
|
|
6804
6805
|
required: ['device_num', 'name'],
|
|
6805
6806
|
type: 'object',
|
|
6806
6807
|
},
|
|
6808
|
+
sensi_metadata: {
|
|
6809
|
+
properties: {
|
|
6810
|
+
device_id: { type: 'string' },
|
|
6811
|
+
device_name: { type: 'string' },
|
|
6812
|
+
product_type: { type: 'string' },
|
|
6813
|
+
},
|
|
6814
|
+
required: ['device_id', 'device_name', 'product_type'],
|
|
6815
|
+
type: 'object',
|
|
6816
|
+
},
|
|
6807
6817
|
smartthings_metadata: {
|
|
6808
6818
|
properties: {
|
|
6809
6819
|
device_id: { type: 'string' },
|
|
@@ -7725,6 +7735,7 @@ export default {
|
|
|
7725
7735
|
'assa_abloy_vostio_credential_service',
|
|
7726
7736
|
'tado',
|
|
7727
7737
|
'salto_space',
|
|
7738
|
+
'sensi',
|
|
7728
7739
|
],
|
|
7729
7740
|
type: 'string',
|
|
7730
7741
|
},
|
|
@@ -9038,6 +9049,57 @@ export default {
|
|
|
9038
9049
|
type: 'object',
|
|
9039
9050
|
'x-route-path': '/acs/credentials',
|
|
9040
9051
|
},
|
|
9052
|
+
{
|
|
9053
|
+
description: 'An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was invalidated.',
|
|
9054
|
+
properties: {
|
|
9055
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
9056
|
+
acs_system_id: {
|
|
9057
|
+
description: 'ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems).',
|
|
9058
|
+
format: 'uuid',
|
|
9059
|
+
type: 'string',
|
|
9060
|
+
},
|
|
9061
|
+
connected_account_id: {
|
|
9062
|
+
description: 'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
|
|
9063
|
+
format: 'uuid',
|
|
9064
|
+
type: 'string',
|
|
9065
|
+
},
|
|
9066
|
+
created_at: {
|
|
9067
|
+
description: 'Date and time at which the event was created.',
|
|
9068
|
+
format: 'date-time',
|
|
9069
|
+
type: 'string',
|
|
9070
|
+
},
|
|
9071
|
+
event_id: {
|
|
9072
|
+
description: 'ID of the event.',
|
|
9073
|
+
format: 'uuid',
|
|
9074
|
+
type: 'string',
|
|
9075
|
+
},
|
|
9076
|
+
event_type: {
|
|
9077
|
+
enum: ['acs_credential.invalidated'],
|
|
9078
|
+
type: 'string',
|
|
9079
|
+
},
|
|
9080
|
+
occurred_at: {
|
|
9081
|
+
description: 'Date and time at which the event occurred.',
|
|
9082
|
+
format: 'date-time',
|
|
9083
|
+
type: 'string',
|
|
9084
|
+
},
|
|
9085
|
+
workspace_id: {
|
|
9086
|
+
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
|
|
9087
|
+
format: 'uuid',
|
|
9088
|
+
type: 'string',
|
|
9089
|
+
},
|
|
9090
|
+
},
|
|
9091
|
+
required: [
|
|
9092
|
+
'event_id',
|
|
9093
|
+
'workspace_id',
|
|
9094
|
+
'created_at',
|
|
9095
|
+
'occurred_at',
|
|
9096
|
+
'acs_system_id',
|
|
9097
|
+
'acs_credential_id',
|
|
9098
|
+
'event_type',
|
|
9099
|
+
],
|
|
9100
|
+
type: 'object',
|
|
9101
|
+
'x-route-path': '/acs/credentials',
|
|
9102
|
+
},
|
|
9041
9103
|
{
|
|
9042
9104
|
description: 'An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was deleted.',
|
|
9043
9105
|
properties: {
|
|
@@ -14120,6 +14182,7 @@ export default {
|
|
|
14120
14182
|
'nest_thermostat',
|
|
14121
14183
|
'honeywell_resideo_thermostat',
|
|
14122
14184
|
'tado_thermostat',
|
|
14185
|
+
'sensi_thermostat',
|
|
14123
14186
|
],
|
|
14124
14187
|
type: 'string',
|
|
14125
14188
|
},
|
|
@@ -20504,6 +20567,7 @@ export default {
|
|
|
20504
20567
|
'assa_abloy_vostio_credential_service',
|
|
20505
20568
|
'tado',
|
|
20506
20569
|
'salto_space',
|
|
20570
|
+
'sensi',
|
|
20507
20571
|
'yale_access',
|
|
20508
20572
|
'hid_cm',
|
|
20509
20573
|
'google_nest',
|
|
@@ -21159,6 +21223,7 @@ export default {
|
|
|
21159
21223
|
'nest_thermostat',
|
|
21160
21224
|
'honeywell_resideo_thermostat',
|
|
21161
21225
|
'tado_thermostat',
|
|
21226
|
+
'sensi_thermostat',
|
|
21162
21227
|
],
|
|
21163
21228
|
type: 'string',
|
|
21164
21229
|
},
|
|
@@ -21215,6 +21280,7 @@ export default {
|
|
|
21215
21280
|
'nest_thermostat',
|
|
21216
21281
|
'honeywell_resideo_thermostat',
|
|
21217
21282
|
'tado_thermostat',
|
|
21283
|
+
'sensi_thermostat',
|
|
21218
21284
|
],
|
|
21219
21285
|
type: 'string',
|
|
21220
21286
|
},
|
|
@@ -21312,6 +21378,7 @@ export default {
|
|
|
21312
21378
|
'honeywell_resideo',
|
|
21313
21379
|
'akiles',
|
|
21314
21380
|
'tado',
|
|
21381
|
+
'sensi',
|
|
21315
21382
|
],
|
|
21316
21383
|
type: 'string',
|
|
21317
21384
|
},
|
|
@@ -21780,6 +21847,7 @@ export default {
|
|
|
21780
21847
|
'nest_thermostat',
|
|
21781
21848
|
'honeywell_resideo_thermostat',
|
|
21782
21849
|
'tado_thermostat',
|
|
21850
|
+
'sensi_thermostat',
|
|
21783
21851
|
],
|
|
21784
21852
|
type: 'string',
|
|
21785
21853
|
},
|
|
@@ -21836,6 +21904,7 @@ export default {
|
|
|
21836
21904
|
'nest_thermostat',
|
|
21837
21905
|
'honeywell_resideo_thermostat',
|
|
21838
21906
|
'tado_thermostat',
|
|
21907
|
+
'sensi_thermostat',
|
|
21839
21908
|
],
|
|
21840
21909
|
type: 'string',
|
|
21841
21910
|
},
|
|
@@ -21933,6 +22002,7 @@ export default {
|
|
|
21933
22002
|
'honeywell_resideo',
|
|
21934
22003
|
'akiles',
|
|
21935
22004
|
'tado',
|
|
22005
|
+
'sensi',
|
|
21936
22006
|
],
|
|
21937
22007
|
type: 'string',
|
|
21938
22008
|
},
|
|
@@ -22309,6 +22379,7 @@ export default {
|
|
|
22309
22379
|
'acs_credential.deleted',
|
|
22310
22380
|
'acs_credential.issued',
|
|
22311
22381
|
'acs_credential.reissued',
|
|
22382
|
+
'acs_credential.invalidated',
|
|
22312
22383
|
'acs_user.deleted',
|
|
22313
22384
|
'acs_encoder.added',
|
|
22314
22385
|
'acs_encoder.removed',
|
|
@@ -22393,6 +22464,7 @@ export default {
|
|
|
22393
22464
|
'acs_credential.deleted',
|
|
22394
22465
|
'acs_credential.issued',
|
|
22395
22466
|
'acs_credential.reissued',
|
|
22467
|
+
'acs_credential.invalidated',
|
|
22396
22468
|
'acs_user.deleted',
|
|
22397
22469
|
'acs_encoder.added',
|
|
22398
22470
|
'acs_encoder.removed',
|
|
@@ -22591,114 +22663,70 @@ export default {
|
|
|
22591
22663
|
},
|
|
22592
22664
|
device_type: {
|
|
22593
22665
|
description: 'Device type by which to filter devices.',
|
|
22594
|
-
|
|
22595
|
-
|
|
22596
|
-
|
|
22597
|
-
|
|
22598
|
-
|
|
22599
|
-
|
|
22600
|
-
|
|
22601
|
-
|
|
22602
|
-
|
|
22603
|
-
|
|
22604
|
-
|
|
22605
|
-
|
|
22606
|
-
|
|
22607
|
-
|
|
22608
|
-
|
|
22609
|
-
|
|
22610
|
-
|
|
22611
|
-
|
|
22612
|
-
|
|
22613
|
-
|
|
22614
|
-
|
|
22615
|
-
|
|
22616
|
-
|
|
22617
|
-
|
|
22618
|
-
|
|
22619
|
-
|
|
22620
|
-
|
|
22621
|
-
|
|
22622
|
-
'tedee_lock',
|
|
22623
|
-
'akiles_lock',
|
|
22624
|
-
],
|
|
22625
|
-
type: 'string',
|
|
22626
|
-
},
|
|
22627
|
-
{
|
|
22628
|
-
enum: ['noiseaware_activity_zone', 'minut_sensor'],
|
|
22629
|
-
type: 'string',
|
|
22630
|
-
},
|
|
22631
|
-
{
|
|
22632
|
-
enum: [
|
|
22633
|
-
'ecobee_thermostat',
|
|
22634
|
-
'nest_thermostat',
|
|
22635
|
-
'honeywell_resideo_thermostat',
|
|
22636
|
-
'tado_thermostat',
|
|
22637
|
-
],
|
|
22638
|
-
type: 'string',
|
|
22639
|
-
},
|
|
22640
|
-
{
|
|
22641
|
-
description: 'Type of phone.',
|
|
22642
|
-
enum: ['ios_phone', 'android_phone'],
|
|
22643
|
-
type: 'string',
|
|
22644
|
-
},
|
|
22666
|
+
enum: [
|
|
22667
|
+
'akuvox_lock',
|
|
22668
|
+
'august_lock',
|
|
22669
|
+
'brivo_access_point',
|
|
22670
|
+
'butterflymx_panel',
|
|
22671
|
+
'avigilon_alta_entry',
|
|
22672
|
+
'doorking_lock',
|
|
22673
|
+
'genie_door',
|
|
22674
|
+
'igloo_lock',
|
|
22675
|
+
'linear_lock',
|
|
22676
|
+
'lockly_lock',
|
|
22677
|
+
'kwikset_lock',
|
|
22678
|
+
'nuki_lock',
|
|
22679
|
+
'salto_lock',
|
|
22680
|
+
'schlage_lock',
|
|
22681
|
+
'seam_relay',
|
|
22682
|
+
'smartthings_lock',
|
|
22683
|
+
'wyze_lock',
|
|
22684
|
+
'yale_lock',
|
|
22685
|
+
'two_n_intercom',
|
|
22686
|
+
'controlbyweb_device',
|
|
22687
|
+
'ttlock_lock',
|
|
22688
|
+
'igloohome_lock',
|
|
22689
|
+
'hubitat_lock',
|
|
22690
|
+
'four_suites_door',
|
|
22691
|
+
'dormakaba_oracode_door',
|
|
22692
|
+
'tedee_lock',
|
|
22693
|
+
'akiles_lock',
|
|
22645
22694
|
],
|
|
22695
|
+
type: 'string',
|
|
22646
22696
|
},
|
|
22647
22697
|
device_types: {
|
|
22648
22698
|
description: 'Array of device types by which to filter devices.',
|
|
22649
22699
|
items: {
|
|
22650
|
-
|
|
22651
|
-
|
|
22652
|
-
|
|
22653
|
-
|
|
22654
|
-
|
|
22655
|
-
|
|
22656
|
-
|
|
22657
|
-
|
|
22658
|
-
|
|
22659
|
-
|
|
22660
|
-
|
|
22661
|
-
|
|
22662
|
-
|
|
22663
|
-
|
|
22664
|
-
|
|
22665
|
-
|
|
22666
|
-
|
|
22667
|
-
|
|
22668
|
-
|
|
22669
|
-
|
|
22670
|
-
|
|
22671
|
-
|
|
22672
|
-
|
|
22673
|
-
|
|
22674
|
-
|
|
22675
|
-
|
|
22676
|
-
|
|
22677
|
-
|
|
22678
|
-
'tedee_lock',
|
|
22679
|
-
'akiles_lock',
|
|
22680
|
-
],
|
|
22681
|
-
type: 'string',
|
|
22682
|
-
},
|
|
22683
|
-
{
|
|
22684
|
-
enum: ['noiseaware_activity_zone', 'minut_sensor'],
|
|
22685
|
-
type: 'string',
|
|
22686
|
-
},
|
|
22687
|
-
{
|
|
22688
|
-
enum: [
|
|
22689
|
-
'ecobee_thermostat',
|
|
22690
|
-
'nest_thermostat',
|
|
22691
|
-
'honeywell_resideo_thermostat',
|
|
22692
|
-
'tado_thermostat',
|
|
22693
|
-
],
|
|
22694
|
-
type: 'string',
|
|
22695
|
-
},
|
|
22696
|
-
{
|
|
22697
|
-
description: 'Type of phone.',
|
|
22698
|
-
enum: ['ios_phone', 'android_phone'],
|
|
22699
|
-
type: 'string',
|
|
22700
|
-
},
|
|
22700
|
+
enum: [
|
|
22701
|
+
'akuvox_lock',
|
|
22702
|
+
'august_lock',
|
|
22703
|
+
'brivo_access_point',
|
|
22704
|
+
'butterflymx_panel',
|
|
22705
|
+
'avigilon_alta_entry',
|
|
22706
|
+
'doorking_lock',
|
|
22707
|
+
'genie_door',
|
|
22708
|
+
'igloo_lock',
|
|
22709
|
+
'linear_lock',
|
|
22710
|
+
'lockly_lock',
|
|
22711
|
+
'kwikset_lock',
|
|
22712
|
+
'nuki_lock',
|
|
22713
|
+
'salto_lock',
|
|
22714
|
+
'schlage_lock',
|
|
22715
|
+
'seam_relay',
|
|
22716
|
+
'smartthings_lock',
|
|
22717
|
+
'wyze_lock',
|
|
22718
|
+
'yale_lock',
|
|
22719
|
+
'two_n_intercom',
|
|
22720
|
+
'controlbyweb_device',
|
|
22721
|
+
'ttlock_lock',
|
|
22722
|
+
'igloohome_lock',
|
|
22723
|
+
'hubitat_lock',
|
|
22724
|
+
'four_suites_door',
|
|
22725
|
+
'dormakaba_oracode_door',
|
|
22726
|
+
'tedee_lock',
|
|
22727
|
+
'akiles_lock',
|
|
22701
22728
|
],
|
|
22729
|
+
type: 'string',
|
|
22702
22730
|
},
|
|
22703
22731
|
type: 'array',
|
|
22704
22732
|
},
|
|
@@ -22753,40 +22781,31 @@ export default {
|
|
|
22753
22781
|
enum: [
|
|
22754
22782
|
'akuvox',
|
|
22755
22783
|
'august',
|
|
22756
|
-
'avigilon_alta',
|
|
22757
22784
|
'brivo',
|
|
22758
22785
|
'butterflymx',
|
|
22786
|
+
'avigilon_alta',
|
|
22759
22787
|
'doorking',
|
|
22760
|
-
'four_suites',
|
|
22761
22788
|
'genie',
|
|
22762
22789
|
'igloo',
|
|
22763
|
-
'keywe',
|
|
22764
|
-
'kwikset',
|
|
22765
22790
|
'linear',
|
|
22766
22791
|
'lockly',
|
|
22792
|
+
'kwikset',
|
|
22767
22793
|
'nuki',
|
|
22768
|
-
'philia',
|
|
22769
22794
|
'salto',
|
|
22770
|
-
'samsung',
|
|
22771
22795
|
'schlage',
|
|
22772
22796
|
'seam',
|
|
22773
|
-
'
|
|
22797
|
+
'smartthings',
|
|
22774
22798
|
'wyze',
|
|
22775
22799
|
'yale',
|
|
22776
|
-
'minut',
|
|
22777
22800
|
'two_n',
|
|
22801
|
+
'controlbyweb',
|
|
22778
22802
|
'ttlock',
|
|
22779
|
-
'nest',
|
|
22780
22803
|
'igloohome',
|
|
22781
|
-
'ecobee',
|
|
22782
22804
|
'hubitat',
|
|
22783
|
-
'
|
|
22784
|
-
'smartthings',
|
|
22805
|
+
'four_suites',
|
|
22785
22806
|
'dormakaba_oracode',
|
|
22786
22807
|
'tedee',
|
|
22787
|
-
'honeywell_resideo',
|
|
22788
22808
|
'akiles',
|
|
22789
|
-
'tado',
|
|
22790
22809
|
],
|
|
22791
22810
|
type: 'string',
|
|
22792
22811
|
},
|
|
@@ -23126,6 +23145,7 @@ export default {
|
|
|
23126
23145
|
'nest_thermostat',
|
|
23127
23146
|
'honeywell_resideo_thermostat',
|
|
23128
23147
|
'tado_thermostat',
|
|
23148
|
+
'sensi_thermostat',
|
|
23129
23149
|
],
|
|
23130
23150
|
type: 'string',
|
|
23131
23151
|
},
|
|
@@ -23182,6 +23202,7 @@ export default {
|
|
|
23182
23202
|
'nest_thermostat',
|
|
23183
23203
|
'honeywell_resideo_thermostat',
|
|
23184
23204
|
'tado_thermostat',
|
|
23205
|
+
'sensi_thermostat',
|
|
23185
23206
|
],
|
|
23186
23207
|
type: 'string',
|
|
23187
23208
|
},
|
|
@@ -23279,6 +23300,7 @@ export default {
|
|
|
23279
23300
|
'honeywell_resideo',
|
|
23280
23301
|
'akiles',
|
|
23281
23302
|
'tado',
|
|
23303
|
+
'sensi',
|
|
23282
23304
|
],
|
|
23283
23305
|
type: 'string',
|
|
23284
23306
|
},
|
|
@@ -25375,6 +25397,7 @@ export default {
|
|
|
25375
25397
|
'nest_thermostat',
|
|
25376
25398
|
'honeywell_resideo_thermostat',
|
|
25377
25399
|
'tado_thermostat',
|
|
25400
|
+
'sensi_thermostat',
|
|
25378
25401
|
],
|
|
25379
25402
|
type: 'string',
|
|
25380
25403
|
},
|
|
@@ -25386,6 +25409,7 @@ export default {
|
|
|
25386
25409
|
'nest_thermostat',
|
|
25387
25410
|
'honeywell_resideo_thermostat',
|
|
25388
25411
|
'tado_thermostat',
|
|
25412
|
+
'sensi_thermostat',
|
|
25389
25413
|
],
|
|
25390
25414
|
type: 'string',
|
|
25391
25415
|
},
|