@seamapi/types 1.1216.0 → 1.1217.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.
- package/lib/seam/connect/models/devices/device-metadata.d.ts +33 -0
- package/lib/seam/connect/models/devices/device-metadata.js +25 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -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 +50 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +36 -3
- package/lib/seam/connect/openapi.js +39 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +266 -32
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +32 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +43 -0
- package/src/lib/seam/connect/route-types.ts +302 -0
package/package.json
CHANGED
|
@@ -1079,6 +1079,38 @@ export const device_metadata = z
|
|
|
1079
1079
|
.partial()
|
|
1080
1080
|
.describe(`Metadata for a Sensibo device.`),
|
|
1081
1081
|
|
|
1082
|
+
cielo_metadata: z
|
|
1083
|
+
.object({
|
|
1084
|
+
device_name: z
|
|
1085
|
+
.string()
|
|
1086
|
+
.optional()
|
|
1087
|
+
.describe(`Name of the device in the Cielo Home app.`),
|
|
1088
|
+
mac_address: z
|
|
1089
|
+
.string()
|
|
1090
|
+
.optional()
|
|
1091
|
+
.describe(`MAC address of the Cielo device.`),
|
|
1092
|
+
appliance_id: z
|
|
1093
|
+
.string()
|
|
1094
|
+
.optional()
|
|
1095
|
+
.describe(
|
|
1096
|
+
`ID of the air conditioner or heat pump model that the Cielo device is set up to control.`,
|
|
1097
|
+
),
|
|
1098
|
+
cielo_device_type: z
|
|
1099
|
+
.string()
|
|
1100
|
+
.optional()
|
|
1101
|
+
.describe(
|
|
1102
|
+
`Device type that Cielo reports, such as \`Thermostat\` for a Cielo thermostat.`,
|
|
1103
|
+
),
|
|
1104
|
+
temperature_unit: z
|
|
1105
|
+
.string()
|
|
1106
|
+
.optional()
|
|
1107
|
+
.describe(
|
|
1108
|
+
`Temperature unit that the Cielo device displays: \`C\` or \`F\`.`,
|
|
1109
|
+
),
|
|
1110
|
+
})
|
|
1111
|
+
.partial()
|
|
1112
|
+
.describe(`Metadata for a Cielo device.`),
|
|
1113
|
+
|
|
1082
1114
|
keynest_metadata: z
|
|
1083
1115
|
.object({
|
|
1084
1116
|
key_id: z.string().optional().describe(`Key ID for a KeyNest device.`),
|
|
@@ -54,6 +54,7 @@ export const DEVICE_PROVIDERS = {
|
|
|
54
54
|
SALTO_SPACE: 'salto_space',
|
|
55
55
|
SENSI: 'sensi',
|
|
56
56
|
SENSIBO: 'sensibo',
|
|
57
|
+
CIELO: 'cielo',
|
|
57
58
|
KEYNEST: 'keynest',
|
|
58
59
|
KORELOCK: 'korelock',
|
|
59
60
|
KEYINCODE: 'keyincode',
|
|
@@ -189,6 +190,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
189
190
|
'first_alert',
|
|
190
191
|
'tado',
|
|
191
192
|
'sensibo',
|
|
193
|
+
'cielo',
|
|
192
194
|
],
|
|
193
195
|
noise_sensors: ['minut', 'noiseaware'],
|
|
194
196
|
access_control_systems: [
|
|
@@ -97,6 +97,7 @@ export const THERMOSTAT_DEVICE_TYPE = {
|
|
|
97
97
|
TADO_THERMOSTAT: 'tado_thermostat',
|
|
98
98
|
SENSI_THERMOSTAT: 'sensi_thermostat',
|
|
99
99
|
SENSIBO_THERMOSTAT: 'sensibo_thermostat',
|
|
100
|
+
CIELO_THERMOSTAT: 'cielo_thermostat',
|
|
100
101
|
SMARTTHINGS_THERMOSTAT: 'smartthings_thermostat',
|
|
101
102
|
} as const
|
|
102
103
|
|
|
@@ -16232,6 +16232,7 @@ const openapi: OpenAPISpec = {
|
|
|
16232
16232
|
'tado_thermostat',
|
|
16233
16233
|
'sensi_thermostat',
|
|
16234
16234
|
'sensibo_thermostat',
|
|
16235
|
+
'cielo_thermostat',
|
|
16235
16236
|
'smartthings_thermostat',
|
|
16236
16237
|
],
|
|
16237
16238
|
type: 'string',
|
|
@@ -17582,6 +17583,36 @@ const openapi: OpenAPISpec = {
|
|
|
17582
17583
|
},
|
|
17583
17584
|
type: 'object',
|
|
17584
17585
|
},
|
|
17586
|
+
cielo_metadata: {
|
|
17587
|
+
description: 'Metadata for a Cielo device.',
|
|
17588
|
+
properties: {
|
|
17589
|
+
appliance_id: {
|
|
17590
|
+
description:
|
|
17591
|
+
'ID of the air conditioner or heat pump model that the Cielo device is set up to control.',
|
|
17592
|
+
type: 'string',
|
|
17593
|
+
},
|
|
17594
|
+
cielo_device_type: {
|
|
17595
|
+
description:
|
|
17596
|
+
'Device type that Cielo reports, such as `Thermostat` for a Cielo thermostat.',
|
|
17597
|
+
type: 'string',
|
|
17598
|
+
},
|
|
17599
|
+
device_name: {
|
|
17600
|
+
description:
|
|
17601
|
+
'Name of the device in the Cielo Home app.',
|
|
17602
|
+
type: 'string',
|
|
17603
|
+
},
|
|
17604
|
+
mac_address: {
|
|
17605
|
+
description: 'MAC address of the Cielo device.',
|
|
17606
|
+
type: 'string',
|
|
17607
|
+
},
|
|
17608
|
+
temperature_unit: {
|
|
17609
|
+
description:
|
|
17610
|
+
'Temperature unit that the Cielo device displays: `C` or `F`.',
|
|
17611
|
+
type: 'string',
|
|
17612
|
+
},
|
|
17613
|
+
},
|
|
17614
|
+
type: 'object',
|
|
17615
|
+
},
|
|
17585
17616
|
controlbyweb_metadata: {
|
|
17586
17617
|
description: 'Metadata for a ControlByWeb device.',
|
|
17587
17618
|
properties: {
|
|
@@ -21571,6 +21602,7 @@ const openapi: OpenAPISpec = {
|
|
|
21571
21602
|
'salto_space',
|
|
21572
21603
|
'sensi',
|
|
21573
21604
|
'sensibo',
|
|
21605
|
+
'cielo',
|
|
21574
21606
|
'keynest',
|
|
21575
21607
|
'korelock',
|
|
21576
21608
|
'keyincode',
|
|
@@ -42545,6 +42577,7 @@ const openapi: OpenAPISpec = {
|
|
|
42545
42577
|
'tado_thermostat',
|
|
42546
42578
|
'sensi_thermostat',
|
|
42547
42579
|
'sensibo_thermostat',
|
|
42580
|
+
'cielo_thermostat',
|
|
42548
42581
|
'smartthings_thermostat',
|
|
42549
42582
|
],
|
|
42550
42583
|
type: 'string',
|
|
@@ -53543,6 +53576,7 @@ const openapi: OpenAPISpec = {
|
|
|
53543
53576
|
'salto_space',
|
|
53544
53577
|
'sensi',
|
|
53545
53578
|
'sensibo',
|
|
53579
|
+
'cielo',
|
|
53546
53580
|
'keynest',
|
|
53547
53581
|
'korelock',
|
|
53548
53582
|
'keyincode',
|
|
@@ -57524,6 +57558,7 @@ const openapi: OpenAPISpec = {
|
|
|
57524
57558
|
'tado_thermostat',
|
|
57525
57559
|
'sensi_thermostat',
|
|
57526
57560
|
'sensibo_thermostat',
|
|
57561
|
+
'cielo_thermostat',
|
|
57527
57562
|
'smartthings_thermostat',
|
|
57528
57563
|
],
|
|
57529
57564
|
type: 'string',
|
|
@@ -57633,6 +57668,7 @@ const openapi: OpenAPISpec = {
|
|
|
57633
57668
|
'tado_thermostat',
|
|
57634
57669
|
'sensi_thermostat',
|
|
57635
57670
|
'sensibo_thermostat',
|
|
57671
|
+
'cielo_thermostat',
|
|
57636
57672
|
'smartthings_thermostat',
|
|
57637
57673
|
],
|
|
57638
57674
|
type: 'string',
|
|
@@ -57720,6 +57756,7 @@ const openapi: OpenAPISpec = {
|
|
|
57720
57756
|
'korelock',
|
|
57721
57757
|
'lockly',
|
|
57722
57758
|
'minut',
|
|
57759
|
+
'cielo',
|
|
57723
57760
|
'nest',
|
|
57724
57761
|
'noiseaware',
|
|
57725
57762
|
'sensi',
|
|
@@ -59929,6 +59966,7 @@ const openapi: OpenAPISpec = {
|
|
|
59929
59966
|
'tado_thermostat',
|
|
59930
59967
|
'sensi_thermostat',
|
|
59931
59968
|
'sensibo_thermostat',
|
|
59969
|
+
'cielo_thermostat',
|
|
59932
59970
|
'smartthings_thermostat',
|
|
59933
59971
|
],
|
|
59934
59972
|
type: 'string',
|
|
@@ -60038,6 +60076,7 @@ const openapi: OpenAPISpec = {
|
|
|
60038
60076
|
'tado_thermostat',
|
|
60039
60077
|
'sensi_thermostat',
|
|
60040
60078
|
'sensibo_thermostat',
|
|
60079
|
+
'cielo_thermostat',
|
|
60041
60080
|
'smartthings_thermostat',
|
|
60042
60081
|
],
|
|
60043
60082
|
type: 'string',
|
|
@@ -60125,6 +60164,7 @@ const openapi: OpenAPISpec = {
|
|
|
60125
60164
|
'korelock',
|
|
60126
60165
|
'lockly',
|
|
60127
60166
|
'minut',
|
|
60167
|
+
'cielo',
|
|
60128
60168
|
'nest',
|
|
60129
60169
|
'noiseaware',
|
|
60130
60170
|
'sensi',
|
|
@@ -79835,6 +79875,7 @@ const openapi: OpenAPISpec = {
|
|
|
79835
79875
|
'tado_thermostat',
|
|
79836
79876
|
'sensi_thermostat',
|
|
79837
79877
|
'sensibo_thermostat',
|
|
79878
|
+
'cielo_thermostat',
|
|
79838
79879
|
'smartthings_thermostat',
|
|
79839
79880
|
],
|
|
79840
79881
|
type: 'string',
|
|
@@ -79855,6 +79896,7 @@ const openapi: OpenAPISpec = {
|
|
|
79855
79896
|
'tado_thermostat',
|
|
79856
79897
|
'sensi_thermostat',
|
|
79857
79898
|
'sensibo_thermostat',
|
|
79899
|
+
'cielo_thermostat',
|
|
79858
79900
|
'smartthings_thermostat',
|
|
79859
79901
|
],
|
|
79860
79902
|
type: 'string',
|
|
@@ -79871,6 +79913,7 @@ const openapi: OpenAPISpec = {
|
|
|
79871
79913
|
enum: [
|
|
79872
79914
|
'ecobee',
|
|
79873
79915
|
'honeywell_resideo',
|
|
79916
|
+
'cielo',
|
|
79874
79917
|
'nest',
|
|
79875
79918
|
'sensi',
|
|
79876
79919
|
'sensibo',
|