@seamapi/types 1.785.0 → 1.787.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 +48 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +126 -0
- package/dist/index.cjs +48 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +14 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +4 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +7 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
- package/lib/seam/connect/openapi.d.ts +62 -0
- package/lib/seam/connect/openapi.js +45 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +38 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +50 -0
- package/src/lib/seam/connect/route-types.ts +46 -0
package/dist/connect.cjs
CHANGED
|
@@ -1079,6 +1079,9 @@ var device_metadata = zod.z.object({
|
|
|
1079
1079
|
product_type: zod.z.string().describe(`Product type for a Sensi device.`),
|
|
1080
1080
|
dual_setpoints_not_supported: zod.z.boolean().optional().describe(
|
|
1081
1081
|
`Set to true when the device does not support the /dual-setpoints API endpoint.`
|
|
1082
|
+
),
|
|
1083
|
+
enforced_setpoint_range_celsius: zod.z.tuple([zod.z.number(), zod.z.number()]).optional().describe(
|
|
1084
|
+
`Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error.`
|
|
1082
1085
|
)
|
|
1083
1086
|
}).describe(`Metadata for a Sensi device.`),
|
|
1084
1087
|
keynest_metadata: zod.z.object({
|
|
@@ -18337,6 +18340,9 @@ var openapi_default = {
|
|
|
18337
18340
|
description: "Set to true when the device does not support the /dual-setpoints API endpoint.",
|
|
18338
18341
|
type: "boolean"
|
|
18339
18342
|
},
|
|
18343
|
+
enforced_setpoint_range_celsius: {
|
|
18344
|
+
description: "Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error."
|
|
18345
|
+
},
|
|
18340
18346
|
product_type: {
|
|
18341
18347
|
description: "Product type for a Sensi device.",
|
|
18342
18348
|
type: "string"
|
|
@@ -70269,6 +70275,31 @@ var openapi_default = {
|
|
|
70269
70275
|
type: "string"
|
|
70270
70276
|
}
|
|
70271
70277
|
},
|
|
70278
|
+
{
|
|
70279
|
+
in: "query",
|
|
70280
|
+
name: "created_after",
|
|
70281
|
+
schema: {
|
|
70282
|
+
description: "Timestamp by which to limit returned reservations. Returns reservations created after this timestamp.",
|
|
70283
|
+
format: "date-time",
|
|
70284
|
+
type: "string"
|
|
70285
|
+
}
|
|
70286
|
+
},
|
|
70287
|
+
{
|
|
70288
|
+
in: "query",
|
|
70289
|
+
name: "between",
|
|
70290
|
+
schema: {
|
|
70291
|
+
description: "Lower and upper timestamps to define an exclusive interval containing the reservations that you want to list.",
|
|
70292
|
+
items: {
|
|
70293
|
+
oneOf: [
|
|
70294
|
+
{ type: "string" },
|
|
70295
|
+
{ format: "date-time", type: "string" }
|
|
70296
|
+
]
|
|
70297
|
+
},
|
|
70298
|
+
maxItems: 2,
|
|
70299
|
+
minItems: 2,
|
|
70300
|
+
type: "array"
|
|
70301
|
+
}
|
|
70302
|
+
},
|
|
70272
70303
|
{
|
|
70273
70304
|
in: "query",
|
|
70274
70305
|
name: "search",
|
|
@@ -70521,6 +70552,23 @@ var openapi_default = {
|
|
|
70521
70552
|
"application/json": {
|
|
70522
70553
|
schema: {
|
|
70523
70554
|
properties: {
|
|
70555
|
+
between: {
|
|
70556
|
+
description: "Lower and upper timestamps to define an exclusive interval containing the reservations that you want to list.",
|
|
70557
|
+
items: {
|
|
70558
|
+
oneOf: [
|
|
70559
|
+
{ type: "string" },
|
|
70560
|
+
{ format: "date-time", type: "string" }
|
|
70561
|
+
]
|
|
70562
|
+
},
|
|
70563
|
+
maxItems: 2,
|
|
70564
|
+
minItems: 2,
|
|
70565
|
+
type: "array"
|
|
70566
|
+
},
|
|
70567
|
+
created_after: {
|
|
70568
|
+
description: "Timestamp by which to limit returned reservations. Returns reservations created after this timestamp.",
|
|
70569
|
+
format: "date-time",
|
|
70570
|
+
type: "string"
|
|
70571
|
+
},
|
|
70524
70572
|
created_before: {
|
|
70525
70573
|
description: "Timestamp by which to limit returned reservations. Returns reservations created before this timestamp.",
|
|
70526
70574
|
format: "date-time",
|