@seamapi/types 1.322.0 → 1.322.2
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 -22
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +184 -105
- 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/events/acs/common.js +0 -1
- package/lib/seam/connect/models/events/acs/common.js.map +1 -1
- 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 -42
- package/lib/seam/connect/openapi.js +20 -16
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +80 -48
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/acs/common.ts +0 -1
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +6 -1
- package/src/lib/seam/connect/openapi.ts +20 -16
- package/src/lib/seam/connect/route-types.ts +80 -48
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(
|
|
@@ -2303,7 +2308,6 @@ var common_acs_event = common_event.extend({
|
|
|
2303
2308
|
connected_account_id: zod.z.string().uuid().optional().describe(`
|
|
2304
2309
|
---
|
|
2305
2310
|
title: Connected Account ID
|
|
2306
|
-
deprecated: Will be removed.
|
|
2307
2311
|
---
|
|
2308
2312
|
ID of the connected account.
|
|
2309
2313
|
`),
|
|
@@ -7850,7 +7854,16 @@ var openapi_default = {
|
|
|
7850
7854
|
type: "string"
|
|
7851
7855
|
},
|
|
7852
7856
|
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."
|
|
7857
|
+
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
|
+
items: {
|
|
7859
|
+
properties: {
|
|
7860
|
+
error_code: { type: "string" },
|
|
7861
|
+
message: { type: "string" }
|
|
7862
|
+
},
|
|
7863
|
+
required: ["error_code", "message"],
|
|
7864
|
+
type: "object"
|
|
7865
|
+
},
|
|
7866
|
+
type: "array"
|
|
7854
7867
|
},
|
|
7855
7868
|
max_override_period_minutes: {
|
|
7856
7869
|
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 +7897,8 @@ var openapi_default = {
|
|
|
7884
7897
|
"max_override_period_minutes",
|
|
7885
7898
|
"starts_at",
|
|
7886
7899
|
"ends_at",
|
|
7887
|
-
"created_at"
|
|
7900
|
+
"created_at",
|
|
7901
|
+
"errors"
|
|
7888
7902
|
],
|
|
7889
7903
|
type: "object"
|
|
7890
7904
|
},
|
|
@@ -9380,11 +9394,9 @@ var openapi_default = {
|
|
|
9380
9394
|
"x-title": "ACS System ID"
|
|
9381
9395
|
},
|
|
9382
9396
|
connected_account_id: {
|
|
9383
|
-
deprecated: true,
|
|
9384
9397
|
description: "ID of the connected account.",
|
|
9385
9398
|
format: "uuid",
|
|
9386
9399
|
type: "string",
|
|
9387
|
-
"x-deprecated": "Will be removed.",
|
|
9388
9400
|
"x-title": "Connected Account ID"
|
|
9389
9401
|
},
|
|
9390
9402
|
created_at: {
|
|
@@ -9429,11 +9441,9 @@ var openapi_default = {
|
|
|
9429
9441
|
"x-title": "ACS System ID"
|
|
9430
9442
|
},
|
|
9431
9443
|
connected_account_id: {
|
|
9432
|
-
deprecated: true,
|
|
9433
9444
|
description: "ID of the connected account.",
|
|
9434
9445
|
format: "uuid",
|
|
9435
9446
|
type: "string",
|
|
9436
|
-
"x-deprecated": "Will be removed.",
|
|
9437
9447
|
"x-title": "Connected Account ID"
|
|
9438
9448
|
},
|
|
9439
9449
|
created_at: {
|
|
@@ -9478,11 +9488,9 @@ var openapi_default = {
|
|
|
9478
9488
|
"x-title": "ACS System ID"
|
|
9479
9489
|
},
|
|
9480
9490
|
connected_account_id: {
|
|
9481
|
-
deprecated: true,
|
|
9482
9491
|
description: "ID of the connected account.",
|
|
9483
9492
|
format: "uuid",
|
|
9484
9493
|
type: "string",
|
|
9485
|
-
"x-deprecated": "Will be removed.",
|
|
9486
9494
|
"x-title": "Connected Account ID"
|
|
9487
9495
|
},
|
|
9488
9496
|
created_at: {
|
|
@@ -9528,11 +9536,9 @@ var openapi_default = {
|
|
|
9528
9536
|
"x-title": "ACS System ID"
|
|
9529
9537
|
},
|
|
9530
9538
|
connected_account_id: {
|
|
9531
|
-
deprecated: true,
|
|
9532
9539
|
description: "ID of the connected account.",
|
|
9533
9540
|
format: "uuid",
|
|
9534
9541
|
type: "string",
|
|
9535
|
-
"x-deprecated": "Will be removed.",
|
|
9536
9542
|
"x-title": "Connected Account ID"
|
|
9537
9543
|
},
|
|
9538
9544
|
created_at: {
|
|
@@ -9579,11 +9585,9 @@ var openapi_default = {
|
|
|
9579
9585
|
"x-title": "ACS System ID"
|
|
9580
9586
|
},
|
|
9581
9587
|
connected_account_id: {
|
|
9582
|
-
deprecated: true,
|
|
9583
9588
|
description: "ID of the connected account.",
|
|
9584
9589
|
format: "uuid",
|
|
9585
9590
|
type: "string",
|
|
9586
|
-
"x-deprecated": "Will be removed.",
|
|
9587
9591
|
"x-title": "Connected Account ID"
|
|
9588
9592
|
},
|
|
9589
9593
|
created_at: {
|
|
@@ -9630,11 +9634,9 @@ var openapi_default = {
|
|
|
9630
9634
|
},
|
|
9631
9635
|
acs_user_id: { format: "uuid", type: "string" },
|
|
9632
9636
|
connected_account_id: {
|
|
9633
|
-
deprecated: true,
|
|
9634
9637
|
description: "ID of the connected account.",
|
|
9635
9638
|
format: "uuid",
|
|
9636
9639
|
type: "string",
|
|
9637
|
-
"x-deprecated": "Will be removed.",
|
|
9638
9640
|
"x-title": "Connected Account ID"
|
|
9639
9641
|
},
|
|
9640
9642
|
created_at: {
|
|
@@ -9685,11 +9687,9 @@ var openapi_default = {
|
|
|
9685
9687
|
"x-title": "ACS System ID"
|
|
9686
9688
|
},
|
|
9687
9689
|
connected_account_id: {
|
|
9688
|
-
deprecated: true,
|
|
9689
9690
|
description: "ID of the connected account.",
|
|
9690
9691
|
format: "uuid",
|
|
9691
9692
|
type: "string",
|
|
9692
|
-
"x-deprecated": "Will be removed.",
|
|
9693
9693
|
"x-title": "Connected Account ID"
|
|
9694
9694
|
},
|
|
9695
9695
|
created_at: {
|
|
@@ -9740,11 +9740,9 @@ var openapi_default = {
|
|
|
9740
9740
|
"x-title": "ACS System ID"
|
|
9741
9741
|
},
|
|
9742
9742
|
connected_account_id: {
|
|
9743
|
-
deprecated: true,
|
|
9744
9743
|
description: "ID of the connected account.",
|
|
9745
9744
|
format: "uuid",
|
|
9746
9745
|
type: "string",
|
|
9747
|
-
"x-deprecated": "Will be removed.",
|
|
9748
9746
|
"x-title": "Connected Account ID"
|
|
9749
9747
|
},
|
|
9750
9748
|
created_at: {
|
|
@@ -12468,7 +12466,16 @@ var openapi_default = {
|
|
|
12468
12466
|
type: "string"
|
|
12469
12467
|
},
|
|
12470
12468
|
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."
|
|
12469
|
+
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.",
|
|
12470
|
+
items: {
|
|
12471
|
+
properties: {
|
|
12472
|
+
error_code: { type: "string" },
|
|
12473
|
+
message: { type: "string" }
|
|
12474
|
+
},
|
|
12475
|
+
required: ["error_code", "message"],
|
|
12476
|
+
type: "object"
|
|
12477
|
+
},
|
|
12478
|
+
type: "array"
|
|
12472
12479
|
},
|
|
12473
12480
|
max_override_period_minutes: {
|
|
12474
12481
|
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 +12509,8 @@ var openapi_default = {
|
|
|
12502
12509
|
"max_override_period_minutes",
|
|
12503
12510
|
"starts_at",
|
|
12504
12511
|
"ends_at",
|
|
12505
|
-
"created_at"
|
|
12512
|
+
"created_at",
|
|
12513
|
+
"errors"
|
|
12506
12514
|
],
|
|
12507
12515
|
type: "object"
|
|
12508
12516
|
},
|