@seamapi/types 1.380.0 → 1.381.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 +56 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +112 -35
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
- package/lib/seam/connect/models/devices/device.d.ts +7 -7
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +3 -3
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +2 -0
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +66 -1
- package/lib/seam/connect/openapi.js +55 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +31 -19
- package/package.json +2 -2
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +55 -3
- package/src/lib/seam/connect/route-types.ts +31 -19
package/dist/connect.cjs
CHANGED
|
@@ -161,7 +161,7 @@ var thermostat_schedule = zod.z.object({
|
|
|
161
161
|
climate_preset_key: zod.z.string().describe(
|
|
162
162
|
"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)."
|
|
163
163
|
),
|
|
164
|
-
max_override_period_minutes: zod.z.number().int().nonnegative().describe(
|
|
164
|
+
max_override_period_minutes: zod.z.number().int().nonnegative().nullable().optional().describe(
|
|
165
165
|
"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)."
|
|
166
166
|
),
|
|
167
167
|
starts_at: zod.z.string().datetime().describe(
|
|
@@ -11706,6 +11706,7 @@ var openapi_default = {
|
|
|
11706
11706
|
max_override_period_minutes: {
|
|
11707
11707
|
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](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).",
|
|
11708
11708
|
minimum: 0,
|
|
11709
|
+
nullable: true,
|
|
11709
11710
|
type: "integer"
|
|
11710
11711
|
},
|
|
11711
11712
|
name: {
|
|
@@ -11732,7 +11733,6 @@ var openapi_default = {
|
|
|
11732
11733
|
"thermostat_schedule_id",
|
|
11733
11734
|
"device_id",
|
|
11734
11735
|
"climate_preset_key",
|
|
11735
|
-
"max_override_period_minutes",
|
|
11736
11736
|
"starts_at",
|
|
11737
11737
|
"ends_at",
|
|
11738
11738
|
"created_at",
|
|
@@ -16905,6 +16905,7 @@ var openapi_default = {
|
|
|
16905
16905
|
max_override_period_minutes: {
|
|
16906
16906
|
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](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).",
|
|
16907
16907
|
minimum: 0,
|
|
16908
|
+
nullable: true,
|
|
16908
16909
|
type: "integer"
|
|
16909
16910
|
},
|
|
16910
16911
|
name: {
|
|
@@ -16931,7 +16932,6 @@ var openapi_default = {
|
|
|
16931
16932
|
"thermostat_schedule_id",
|
|
16932
16933
|
"device_id",
|
|
16933
16934
|
"climate_preset_key",
|
|
16934
|
-
"max_override_period_minutes",
|
|
16935
16935
|
"starts_at",
|
|
16936
16936
|
"ends_at",
|
|
16937
16937
|
"created_at",
|
|
@@ -30148,6 +30148,55 @@ var openapi_default = {
|
|
|
30148
30148
|
"x-undocumented": "Seam Bridge Client only."
|
|
30149
30149
|
}
|
|
30150
30150
|
},
|
|
30151
|
+
"/seam/bridge/v1/bridge_client_sessions/report_status": {
|
|
30152
|
+
post: {
|
|
30153
|
+
description: "Report a Seam Bridge Bridge client's status.",
|
|
30154
|
+
operationId: "seamBridgeV1BridgeClientSessionsReportStatusPost",
|
|
30155
|
+
requestBody: {
|
|
30156
|
+
content: {
|
|
30157
|
+
"application/json": {
|
|
30158
|
+
schema: {
|
|
30159
|
+
properties: {
|
|
30160
|
+
is_tailscale_connected: { nullable: true, type: "boolean" },
|
|
30161
|
+
tailscale_ip_v4: { nullable: true, type: "string" }
|
|
30162
|
+
},
|
|
30163
|
+
required: ["is_tailscale_connected", "tailscale_ip_v4"],
|
|
30164
|
+
type: "object"
|
|
30165
|
+
}
|
|
30166
|
+
}
|
|
30167
|
+
}
|
|
30168
|
+
},
|
|
30169
|
+
responses: {
|
|
30170
|
+
200: {
|
|
30171
|
+
content: {
|
|
30172
|
+
"application/json": {
|
|
30173
|
+
schema: {
|
|
30174
|
+
properties: { ok: { type: "boolean" } },
|
|
30175
|
+
required: ["ok"],
|
|
30176
|
+
type: "object"
|
|
30177
|
+
}
|
|
30178
|
+
}
|
|
30179
|
+
},
|
|
30180
|
+
description: "OK"
|
|
30181
|
+
},
|
|
30182
|
+
400: { description: "Bad Request" },
|
|
30183
|
+
401: { description: "Unauthorized" }
|
|
30184
|
+
},
|
|
30185
|
+
security: [{ bridge_client_session: [] }],
|
|
30186
|
+
summary: "/seam/bridge/v1/bridge_client_sessions/report_status",
|
|
30187
|
+
tags: [],
|
|
30188
|
+
"x-fern-sdk-group-name": [
|
|
30189
|
+
"seam",
|
|
30190
|
+
"bridge",
|
|
30191
|
+
"v1",
|
|
30192
|
+
"bridge_client_sessions"
|
|
30193
|
+
],
|
|
30194
|
+
"x-fern-sdk-method-name": "report_status",
|
|
30195
|
+
"x-response-key": null,
|
|
30196
|
+
"x-title": "Report a Bridge Client's Status",
|
|
30197
|
+
"x-undocumented": "Seam Bridge Client only."
|
|
30198
|
+
}
|
|
30199
|
+
},
|
|
30151
30200
|
"/seam/bridge/v1/bridge_connected_systems/list": {
|
|
30152
30201
|
get: {
|
|
30153
30202
|
description: "Returns the bridge connected systems associated with the session token used.",
|
|
@@ -31056,9 +31105,10 @@ var openapi_default = {
|
|
|
31056
31105
|
type: "boolean"
|
|
31057
31106
|
},
|
|
31058
31107
|
max_override_period_minutes: {
|
|
31059
|
-
default:
|
|
31108
|
+
default: null,
|
|
31060
31109
|
description: "Number of minutes for which a person at the thermostat or using the API 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).",
|
|
31061
31110
|
minimum: 0,
|
|
31111
|
+
nullable: true,
|
|
31062
31112
|
type: "integer"
|
|
31063
31113
|
},
|
|
31064
31114
|
name: {
|
|
@@ -31313,6 +31363,7 @@ var openapi_default = {
|
|
|
31313
31363
|
max_override_period_minutes: {
|
|
31314
31364
|
description: "Number of minutes for which a person at the thermostat or using the API 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).",
|
|
31315
31365
|
minimum: 0,
|
|
31366
|
+
nullable: true,
|
|
31316
31367
|
type: "integer"
|
|
31317
31368
|
},
|
|
31318
31369
|
name: {
|
|
@@ -31386,6 +31437,7 @@ var openapi_default = {
|
|
|
31386
31437
|
max_override_period_minutes: {
|
|
31387
31438
|
description: "Number of minutes for which a person at the thermostat or using the API 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).",
|
|
31388
31439
|
minimum: 0,
|
|
31440
|
+
nullable: true,
|
|
31389
31441
|
type: "integer"
|
|
31390
31442
|
},
|
|
31391
31443
|
name: {
|