@seamapi/types 1.360.0 → 1.360.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 +899 -569
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +3626 -2951
- package/lib/seam/connect/models/acs/acs-credential.js +94 -51
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js +12 -7
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.js +37 -14
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +48 -41
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.js +45 -32
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.js +12 -10
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +19 -12
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +45 -23
- package/lib/seam/connect/openapi.js +557 -401
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +3581 -2928
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +162 -51
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +22 -7
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +65 -18
- package/src/lib/seam/connect/models/acs/acs-system.ts +81 -52
- package/src/lib/seam/connect/models/acs/acs-user.ts +69 -32
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +28 -10
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +31 -12
- package/src/lib/seam/connect/openapi.ts +698 -401
- package/src/lib/seam/connect/route-types.ts +3581 -2928
|
@@ -4,29 +4,38 @@ export const thermostat_schedule = z.object({
|
|
|
4
4
|
thermostat_schedule_id: z
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
|
-
.describe(
|
|
8
|
-
|
|
7
|
+
.describe(
|
|
8
|
+
'ID of the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
9
|
+
),
|
|
10
|
+
device_id: z
|
|
11
|
+
.string()
|
|
12
|
+
.uuid()
|
|
13
|
+
.describe(
|
|
14
|
+
'ID of the desired [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) device.',
|
|
15
|
+
),
|
|
9
16
|
name: z
|
|
10
17
|
.string()
|
|
11
18
|
.optional()
|
|
12
|
-
.describe(
|
|
19
|
+
.describe(
|
|
20
|
+
'User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
21
|
+
),
|
|
13
22
|
climate_preset_key: z
|
|
14
23
|
.string()
|
|
15
24
|
.describe(
|
|
16
|
-
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.',
|
|
25
|
+
'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
17
26
|
),
|
|
18
27
|
max_override_period_minutes: z
|
|
19
28
|
.number()
|
|
20
29
|
.int()
|
|
21
30
|
.nonnegative()
|
|
22
31
|
.describe(
|
|
23
|
-
"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).",
|
|
32
|
+
"Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets). See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
|
|
24
33
|
),
|
|
25
34
|
starts_at: z
|
|
26
35
|
.string()
|
|
27
36
|
.datetime()
|
|
28
37
|
.describe(
|
|
29
|
-
'Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
38
|
+
'Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
30
39
|
),
|
|
31
40
|
unstable_is_override_allowed: z
|
|
32
41
|
.boolean()
|
|
@@ -36,27 +45,37 @@ export const thermostat_schedule = z.object({
|
|
|
36
45
|
---
|
|
37
46
|
undocumented: Unstable
|
|
38
47
|
---
|
|
39
|
-
Indicates whether a person at the thermostat can change the thermostat's settings.`,
|
|
48
|
+
Indicates whether a person at the thermostat can change the thermostat's settings after the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) starts.`,
|
|
40
49
|
),
|
|
41
50
|
ends_at: z
|
|
42
51
|
.string()
|
|
43
52
|
.datetime()
|
|
44
53
|
.describe(
|
|
45
|
-
'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
54
|
+
'Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
46
55
|
),
|
|
47
56
|
created_at: z
|
|
48
57
|
.string()
|
|
49
58
|
.datetime()
|
|
50
|
-
.describe(
|
|
59
|
+
.describe(
|
|
60
|
+
'Date and time at which the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) was created.',
|
|
61
|
+
),
|
|
51
62
|
errors: z
|
|
52
63
|
.array(
|
|
53
64
|
z.object({
|
|
54
|
-
error_code: z
|
|
55
|
-
|
|
65
|
+
error_code: z
|
|
66
|
+
.string()
|
|
67
|
+
.describe(
|
|
68
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
69
|
+
),
|
|
70
|
+
message: z
|
|
71
|
+
.string()
|
|
72
|
+
.describe(
|
|
73
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
74
|
+
),
|
|
56
75
|
}),
|
|
57
76
|
)
|
|
58
77
|
.describe(
|
|
59
|
-
'
|
|
78
|
+
'Errors associated with the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
60
79
|
),
|
|
61
80
|
}).describe(`
|
|
62
81
|
---
|