@seamapi/types 1.1215.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/access-codes/managed-access-code.d.ts +5 -0
- package/lib/seam/connect/models/access-codes/pending-mutations.d.ts +8 -0
- package/lib/seam/connect/models/access-codes/pending-mutations.js +3 -0
- package/lib/seam/connect/models/access-codes/pending-mutations.js.map +1 -1
- 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 +49 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +280 -32
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/pending-mutations.ts +5 -0
- 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 +54 -1
- package/src/lib/seam/connect/route-types.ts +316 -0
package/package.json
CHANGED
|
@@ -41,6 +41,11 @@ const deleting = common_pending_mutation
|
|
|
41
41
|
.describe(
|
|
42
42
|
'Mutation code to indicate that Seam is in the process of removing an access code from the device.',
|
|
43
43
|
),
|
|
44
|
+
is_code_usable: z
|
|
45
|
+
.boolean()
|
|
46
|
+
.describe(
|
|
47
|
+
'Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains.',
|
|
48
|
+
),
|
|
44
49
|
})
|
|
45
50
|
.describe(
|
|
46
51
|
'Seam is in the process of removing an access code from the device.',
|
|
@@ -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
|
|
|
@@ -1176,6 +1176,11 @@ const openapi: OpenAPISpec = {
|
|
|
1176
1176
|
format: 'date-time',
|
|
1177
1177
|
type: 'string',
|
|
1178
1178
|
},
|
|
1179
|
+
is_code_usable: {
|
|
1180
|
+
description:
|
|
1181
|
+
'Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains.',
|
|
1182
|
+
type: 'boolean',
|
|
1183
|
+
},
|
|
1179
1184
|
message: {
|
|
1180
1185
|
description: 'Detailed description of the mutation.',
|
|
1181
1186
|
type: 'string',
|
|
@@ -1187,7 +1192,12 @@ const openapi: OpenAPISpec = {
|
|
|
1187
1192
|
type: 'string',
|
|
1188
1193
|
},
|
|
1189
1194
|
},
|
|
1190
|
-
required: [
|
|
1195
|
+
required: [
|
|
1196
|
+
'created_at',
|
|
1197
|
+
'message',
|
|
1198
|
+
'mutation_code',
|
|
1199
|
+
'is_code_usable',
|
|
1200
|
+
],
|
|
1191
1201
|
type: 'object',
|
|
1192
1202
|
},
|
|
1193
1203
|
{
|
|
@@ -16222,6 +16232,7 @@ const openapi: OpenAPISpec = {
|
|
|
16222
16232
|
'tado_thermostat',
|
|
16223
16233
|
'sensi_thermostat',
|
|
16224
16234
|
'sensibo_thermostat',
|
|
16235
|
+
'cielo_thermostat',
|
|
16225
16236
|
'smartthings_thermostat',
|
|
16226
16237
|
],
|
|
16227
16238
|
type: 'string',
|
|
@@ -17572,6 +17583,36 @@ const openapi: OpenAPISpec = {
|
|
|
17572
17583
|
},
|
|
17573
17584
|
type: 'object',
|
|
17574
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
|
+
},
|
|
17575
17616
|
controlbyweb_metadata: {
|
|
17576
17617
|
description: 'Metadata for a ControlByWeb device.',
|
|
17577
17618
|
properties: {
|
|
@@ -21561,6 +21602,7 @@ const openapi: OpenAPISpec = {
|
|
|
21561
21602
|
'salto_space',
|
|
21562
21603
|
'sensi',
|
|
21563
21604
|
'sensibo',
|
|
21605
|
+
'cielo',
|
|
21564
21606
|
'keynest',
|
|
21565
21607
|
'korelock',
|
|
21566
21608
|
'keyincode',
|
|
@@ -42535,6 +42577,7 @@ const openapi: OpenAPISpec = {
|
|
|
42535
42577
|
'tado_thermostat',
|
|
42536
42578
|
'sensi_thermostat',
|
|
42537
42579
|
'sensibo_thermostat',
|
|
42580
|
+
'cielo_thermostat',
|
|
42538
42581
|
'smartthings_thermostat',
|
|
42539
42582
|
],
|
|
42540
42583
|
type: 'string',
|
|
@@ -53533,6 +53576,7 @@ const openapi: OpenAPISpec = {
|
|
|
53533
53576
|
'salto_space',
|
|
53534
53577
|
'sensi',
|
|
53535
53578
|
'sensibo',
|
|
53579
|
+
'cielo',
|
|
53536
53580
|
'keynest',
|
|
53537
53581
|
'korelock',
|
|
53538
53582
|
'keyincode',
|
|
@@ -57514,6 +57558,7 @@ const openapi: OpenAPISpec = {
|
|
|
57514
57558
|
'tado_thermostat',
|
|
57515
57559
|
'sensi_thermostat',
|
|
57516
57560
|
'sensibo_thermostat',
|
|
57561
|
+
'cielo_thermostat',
|
|
57517
57562
|
'smartthings_thermostat',
|
|
57518
57563
|
],
|
|
57519
57564
|
type: 'string',
|
|
@@ -57623,6 +57668,7 @@ const openapi: OpenAPISpec = {
|
|
|
57623
57668
|
'tado_thermostat',
|
|
57624
57669
|
'sensi_thermostat',
|
|
57625
57670
|
'sensibo_thermostat',
|
|
57671
|
+
'cielo_thermostat',
|
|
57626
57672
|
'smartthings_thermostat',
|
|
57627
57673
|
],
|
|
57628
57674
|
type: 'string',
|
|
@@ -57710,6 +57756,7 @@ const openapi: OpenAPISpec = {
|
|
|
57710
57756
|
'korelock',
|
|
57711
57757
|
'lockly',
|
|
57712
57758
|
'minut',
|
|
57759
|
+
'cielo',
|
|
57713
57760
|
'nest',
|
|
57714
57761
|
'noiseaware',
|
|
57715
57762
|
'sensi',
|
|
@@ -59919,6 +59966,7 @@ const openapi: OpenAPISpec = {
|
|
|
59919
59966
|
'tado_thermostat',
|
|
59920
59967
|
'sensi_thermostat',
|
|
59921
59968
|
'sensibo_thermostat',
|
|
59969
|
+
'cielo_thermostat',
|
|
59922
59970
|
'smartthings_thermostat',
|
|
59923
59971
|
],
|
|
59924
59972
|
type: 'string',
|
|
@@ -60028,6 +60076,7 @@ const openapi: OpenAPISpec = {
|
|
|
60028
60076
|
'tado_thermostat',
|
|
60029
60077
|
'sensi_thermostat',
|
|
60030
60078
|
'sensibo_thermostat',
|
|
60079
|
+
'cielo_thermostat',
|
|
60031
60080
|
'smartthings_thermostat',
|
|
60032
60081
|
],
|
|
60033
60082
|
type: 'string',
|
|
@@ -60115,6 +60164,7 @@ const openapi: OpenAPISpec = {
|
|
|
60115
60164
|
'korelock',
|
|
60116
60165
|
'lockly',
|
|
60117
60166
|
'minut',
|
|
60167
|
+
'cielo',
|
|
60118
60168
|
'nest',
|
|
60119
60169
|
'noiseaware',
|
|
60120
60170
|
'sensi',
|
|
@@ -79825,6 +79875,7 @@ const openapi: OpenAPISpec = {
|
|
|
79825
79875
|
'tado_thermostat',
|
|
79826
79876
|
'sensi_thermostat',
|
|
79827
79877
|
'sensibo_thermostat',
|
|
79878
|
+
'cielo_thermostat',
|
|
79828
79879
|
'smartthings_thermostat',
|
|
79829
79880
|
],
|
|
79830
79881
|
type: 'string',
|
|
@@ -79845,6 +79896,7 @@ const openapi: OpenAPISpec = {
|
|
|
79845
79896
|
'tado_thermostat',
|
|
79846
79897
|
'sensi_thermostat',
|
|
79847
79898
|
'sensibo_thermostat',
|
|
79899
|
+
'cielo_thermostat',
|
|
79848
79900
|
'smartthings_thermostat',
|
|
79849
79901
|
],
|
|
79850
79902
|
type: 'string',
|
|
@@ -79861,6 +79913,7 @@ const openapi: OpenAPISpec = {
|
|
|
79861
79913
|
enum: [
|
|
79862
79914
|
'ecobee',
|
|
79863
79915
|
'honeywell_resideo',
|
|
79916
|
+
'cielo',
|
|
79864
79917
|
'nest',
|
|
79865
79918
|
'sensi',
|
|
79866
79919
|
'sensibo',
|