@seamapi/types 1.422.0 → 1.423.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/dist/connect.cjs +26 -12
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +104 -25
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +6 -3
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +6 -3
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +9 -4
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +8 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +6 -3
- package/lib/seam/connect/openapi.d.ts +10 -2
- package/lib/seam/connect/openapi.js +17 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +80 -17
- package/package.json +2 -2
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +9 -4
- package/src/lib/seam/connect/openapi.ts +19 -10
- package/src/lib/seam/connect/route-types.ts +80 -17
package/dist/connect.cjs
CHANGED
|
@@ -373,18 +373,25 @@ var thermostat_capability_properties = zod.z.object({
|
|
|
373
373
|
---
|
|
374
374
|
Available [climate presets](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for the thermostat.
|
|
375
375
|
`),
|
|
376
|
-
fallback_climate_preset_key: zod.z.string().min(1).nullable().
|
|
376
|
+
fallback_climate_preset_key: zod.z.string().min(1).nullable().describe(`
|
|
377
377
|
---
|
|
378
378
|
property_group_key: thermostats
|
|
379
379
|
---
|
|
380
380
|
Key of the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat.
|
|
381
381
|
`),
|
|
382
|
-
active_thermostat_schedule: thermostat_schedule.nullable().
|
|
382
|
+
active_thermostat_schedule: thermostat_schedule.nullable().describe(`
|
|
383
383
|
---
|
|
384
384
|
property_group_key: thermostats
|
|
385
|
+
deprecated: Use \`active_thermostat_schedule_id\` with \`/thermostats/schedules/get\` instead.
|
|
385
386
|
---
|
|
386
387
|
Active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
387
388
|
`),
|
|
389
|
+
active_thermostat_schedule_id: zod.z.string().uuid().nullable().describe(`
|
|
390
|
+
---
|
|
391
|
+
property_group_key: thermostats
|
|
392
|
+
---
|
|
393
|
+
ID of the active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
394
|
+
`),
|
|
388
395
|
thermostat_daily_programs: zod.z.array(thermostat_daily_program).optional().describe(`
|
|
389
396
|
---
|
|
390
397
|
property_group_key: thermostats
|
|
@@ -15698,7 +15705,7 @@ var openapi_default = {
|
|
|
15698
15705
|
{
|
|
15699
15706
|
properties: {
|
|
15700
15707
|
active_thermostat_schedule: {
|
|
15701
|
-
|
|
15708
|
+
deprecated: true,
|
|
15702
15709
|
description: "Active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
15703
15710
|
nullable: true,
|
|
15704
15711
|
properties: {
|
|
@@ -15783,9 +15790,17 @@ var openapi_default = {
|
|
|
15783
15790
|
"errors"
|
|
15784
15791
|
],
|
|
15785
15792
|
type: "object",
|
|
15793
|
+
"x-deprecated": "Use `active_thermostat_schedule_id` with `/thermostats/schedules/get` instead.",
|
|
15786
15794
|
"x-property-group-key": "thermostats",
|
|
15787
15795
|
"x-route-path": "/thermostats/schedules"
|
|
15788
15796
|
},
|
|
15797
|
+
active_thermostat_schedule_id: {
|
|
15798
|
+
description: "ID of the active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
|
|
15799
|
+
format: "uuid",
|
|
15800
|
+
nullable: true,
|
|
15801
|
+
type: "string",
|
|
15802
|
+
"x-property-group-key": "thermostats"
|
|
15803
|
+
},
|
|
15789
15804
|
available_climate_presets: {
|
|
15790
15805
|
description: "Available [climate presets](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for the thermostat.",
|
|
15791
15806
|
items: {
|
|
@@ -16024,7 +16039,6 @@ var openapi_default = {
|
|
|
16024
16039
|
"x-property-group-key": "thermostats"
|
|
16025
16040
|
},
|
|
16026
16041
|
fallback_climate_preset_key: {
|
|
16027
|
-
default: null,
|
|
16028
16042
|
description: "Key of the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat.",
|
|
16029
16043
|
minLength: 1,
|
|
16030
16044
|
nullable: true,
|
|
@@ -27017,7 +27031,7 @@ var openapi_default = {
|
|
|
27017
27031
|
type: "string"
|
|
27018
27032
|
},
|
|
27019
27033
|
name: {
|
|
27020
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
27034
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
27021
27035
|
type: "string"
|
|
27022
27036
|
},
|
|
27023
27037
|
prefer_native_scheduling: {
|
|
@@ -27147,7 +27161,7 @@ var openapi_default = {
|
|
|
27147
27161
|
type: "string"
|
|
27148
27162
|
},
|
|
27149
27163
|
name: {
|
|
27150
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
27164
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
27151
27165
|
type: "string"
|
|
27152
27166
|
},
|
|
27153
27167
|
prefer_native_scheduling: {
|
|
@@ -27268,7 +27282,7 @@ var openapi_default = {
|
|
|
27268
27282
|
type: "string"
|
|
27269
27283
|
},
|
|
27270
27284
|
name: {
|
|
27271
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
27285
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
27272
27286
|
type: "string"
|
|
27273
27287
|
},
|
|
27274
27288
|
prefer_native_scheduling: {
|
|
@@ -28784,7 +28798,7 @@ var openapi_default = {
|
|
|
28784
28798
|
type: "string"
|
|
28785
28799
|
},
|
|
28786
28800
|
name: {
|
|
28787
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
28801
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
28788
28802
|
type: "string"
|
|
28789
28803
|
},
|
|
28790
28804
|
prefer_native_scheduling: {
|
|
@@ -28918,7 +28932,7 @@ var openapi_default = {
|
|
|
28918
28932
|
type: "string"
|
|
28919
28933
|
},
|
|
28920
28934
|
name: {
|
|
28921
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
28935
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
28922
28936
|
type: "string"
|
|
28923
28937
|
},
|
|
28924
28938
|
prefer_native_scheduling: {
|
|
@@ -29052,7 +29066,7 @@ var openapi_default = {
|
|
|
29052
29066
|
type: "string"
|
|
29053
29067
|
},
|
|
29054
29068
|
name: {
|
|
29055
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
29069
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
29056
29070
|
type: "string"
|
|
29057
29071
|
},
|
|
29058
29072
|
prefer_native_scheduling: {
|
|
@@ -29145,7 +29159,7 @@ var openapi_default = {
|
|
|
29145
29159
|
type: "string"
|
|
29146
29160
|
},
|
|
29147
29161
|
name: {
|
|
29148
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
29162
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
29149
29163
|
type: "string"
|
|
29150
29164
|
},
|
|
29151
29165
|
starts_at: {
|
|
@@ -29205,7 +29219,7 @@ var openapi_default = {
|
|
|
29205
29219
|
type: "string"
|
|
29206
29220
|
},
|
|
29207
29221
|
name: {
|
|
29208
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
29222
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
29209
29223
|
type: "string"
|
|
29210
29224
|
},
|
|
29211
29225
|
starts_at: {
|