@seamapi/types 1.322.0 → 1.322.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 +30 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +168 -31
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +26 -5
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +26 -5
- package/lib/seam/connect/models/devices/device.d.ts +34 -7
- package/lib/seam/connect/models/devices/phone.d.ts +26 -5
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +26 -5
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +18 -3
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +4 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +26 -0
- package/lib/seam/connect/openapi.js +20 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +64 -16
- package/package.json +1 -1
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +6 -1
- package/src/lib/seam/connect/openapi.ts +20 -0
- package/src/lib/seam/connect/route-types.ts +64 -16
package/dist/connect.cjs
CHANGED
|
@@ -204,7 +204,12 @@ var thermostat_schedule = zod.z.object({
|
|
|
204
204
|
"Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
205
205
|
),
|
|
206
206
|
created_at: zod.z.string().datetime().describe("Date and time at which the thermostat schedule was created."),
|
|
207
|
-
errors: zod.z.
|
|
207
|
+
errors: zod.z.array(
|
|
208
|
+
zod.z.object({
|
|
209
|
+
error_code: zod.z.string(),
|
|
210
|
+
message: zod.z.string()
|
|
211
|
+
})
|
|
212
|
+
).describe(
|
|
208
213
|
"Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it."
|
|
209
214
|
)
|
|
210
215
|
}).describe(
|
|
@@ -7850,7 +7855,16 @@ var openapi_default = {
|
|
|
7850
7855
|
type: "string"
|
|
7851
7856
|
},
|
|
7852
7857
|
errors: {
|
|
7853
|
-
description: "Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it."
|
|
7858
|
+
description: "Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.",
|
|
7859
|
+
items: {
|
|
7860
|
+
properties: {
|
|
7861
|
+
error_code: { type: "string" },
|
|
7862
|
+
message: { type: "string" }
|
|
7863
|
+
},
|
|
7864
|
+
required: ["error_code", "message"],
|
|
7865
|
+
type: "object"
|
|
7866
|
+
},
|
|
7867
|
+
type: "array"
|
|
7854
7868
|
},
|
|
7855
7869
|
max_override_period_minutes: {
|
|
7856
7870
|
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
@@ -7884,7 +7898,8 @@ var openapi_default = {
|
|
|
7884
7898
|
"max_override_period_minutes",
|
|
7885
7899
|
"starts_at",
|
|
7886
7900
|
"ends_at",
|
|
7887
|
-
"created_at"
|
|
7901
|
+
"created_at",
|
|
7902
|
+
"errors"
|
|
7888
7903
|
],
|
|
7889
7904
|
type: "object"
|
|
7890
7905
|
},
|
|
@@ -12468,7 +12483,16 @@ var openapi_default = {
|
|
|
12468
12483
|
type: "string"
|
|
12469
12484
|
},
|
|
12470
12485
|
errors: {
|
|
12471
|
-
description: "Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it."
|
|
12486
|
+
description: "Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.",
|
|
12487
|
+
items: {
|
|
12488
|
+
properties: {
|
|
12489
|
+
error_code: { type: "string" },
|
|
12490
|
+
message: { type: "string" }
|
|
12491
|
+
},
|
|
12492
|
+
required: ["error_code", "message"],
|
|
12493
|
+
type: "object"
|
|
12494
|
+
},
|
|
12495
|
+
type: "array"
|
|
12472
12496
|
},
|
|
12473
12497
|
max_override_period_minutes: {
|
|
12474
12498
|
description: "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
@@ -12502,7 +12526,8 @@ var openapi_default = {
|
|
|
12502
12526
|
"max_override_period_minutes",
|
|
12503
12527
|
"starts_at",
|
|
12504
12528
|
"ends_at",
|
|
12505
|
-
"created_at"
|
|
12529
|
+
"created_at",
|
|
12530
|
+
"errors"
|
|
12506
12531
|
],
|
|
12507
12532
|
type: "object"
|
|
12508
12533
|
},
|