@seamapi/types 1.309.0 → 1.311.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 +43 -392
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +93 -2328
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +33 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +2 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +6 -0
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +2 -0
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/salto-space.d.ts +15 -0
- package/lib/seam/connect/models/acs/metadata/salto-space.js +7 -0
- package/lib/seam/connect/models/acs/metadata/salto-space.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +0 -312
- package/lib/seam/connect/models/action-attempts/action-attempt.js +0 -8
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +25 -0
- package/lib/seam/connect/openapi.js +17 -305
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +122 -2103
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +2 -0
- package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +2 -0
- package/src/lib/seam/connect/models/acs/metadata/salto-space.ts +11 -0
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +0 -8
- package/src/lib/seam/connect/openapi.ts +17 -305
- package/src/lib/seam/connect/route-types.ts +45 -2268
- package/lib/seam/connect/models/action-attempts/set-cool.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-cool.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-cool.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-heat-cool.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-heat-cool.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/set-heat.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-heat.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-heat.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +0 -80
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.js +0 -25
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.js.map +0 -1
- package/src/lib/seam/connect/models/action-attempts/set-cool.ts +0 -33
- package/src/lib/seam/connect/models/action-attempts/set-heat-cool.ts +0 -33
- package/src/lib/seam/connect/models/action-attempts/set-heat.ts +0 -33
- package/src/lib/seam/connect/models/action-attempts/set-thermostat-off.ts +0 -36
package/dist/connect.cjs
CHANGED
|
@@ -1196,7 +1196,9 @@ var acs_entrance_assa_abloy_vostio_metadata = zod.z.object({
|
|
|
1196
1196
|
pms_id: zod.z.string().optional()
|
|
1197
1197
|
});
|
|
1198
1198
|
var acs_entrance_dormakaba_community_metadata = zod.z.object({
|
|
1199
|
-
access_point_name: zod.z.string()
|
|
1199
|
+
access_point_name: zod.z.string(),
|
|
1200
|
+
common_area_number: zod.z.number().optional(),
|
|
1201
|
+
inner_access_points_names: zod.z.array(zod.z.string()).optional()
|
|
1200
1202
|
});
|
|
1201
1203
|
var acs_entrance_latch_metadata = zod.z.object({
|
|
1202
1204
|
accessibility_type: zod.z.string(),
|
|
@@ -1410,6 +1412,13 @@ var acs_encoder = zod.z.object({
|
|
|
1410
1412
|
created_at: zod.z.string().datetime().describe("Date and time at which the `acs_encoder` was created."),
|
|
1411
1413
|
display_name: zod.z.string().describe("Display name for the `acs_encoder`.")
|
|
1412
1414
|
});
|
|
1415
|
+
var acs_entrance_salto_space_metadata = zod.z.object({
|
|
1416
|
+
door_name: zod.z.string(),
|
|
1417
|
+
ext_door_id: zod.z.string(),
|
|
1418
|
+
door_description: zod.z.string().optional()
|
|
1419
|
+
});
|
|
1420
|
+
|
|
1421
|
+
// src/lib/seam/connect/models/acs/acs-entrance.ts
|
|
1413
1422
|
var acs_entrance = zod.z.object({
|
|
1414
1423
|
acs_system_id: zod.z.string().uuid().describe("ID of the access control system that contains the entrance."),
|
|
1415
1424
|
acs_entrance_id: zod.z.string().uuid().describe("ID of the entrance."),
|
|
@@ -1425,7 +1434,8 @@ var acs_entrance = zod.z.object({
|
|
|
1425
1434
|
visionline_metadata: acs_entrance_visionline_metadata.optional(),
|
|
1426
1435
|
salto_ks_metadata: acs_entrance_salto_ks_metadata.optional(),
|
|
1427
1436
|
dormakaba_community_metadata: acs_entrance_dormakaba_community_metadata.optional(),
|
|
1428
|
-
assa_abloy_vostio_metadata: acs_entrance_assa_abloy_vostio_metadata.optional()
|
|
1437
|
+
assa_abloy_vostio_metadata: acs_entrance_assa_abloy_vostio_metadata.optional(),
|
|
1438
|
+
salto_space_metadata: acs_entrance_salto_space_metadata.optional()
|
|
1429
1439
|
}).describe(
|
|
1430
1440
|
"Represents an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
|
|
1431
1441
|
);
|
|
@@ -2013,120 +2023,53 @@ var scan_credential_action_attempt = zod.z.discriminatedUnion("status", [
|
|
|
2013
2023
|
}).describe("Reading credential data from physical encoder succeeded."),
|
|
2014
2024
|
common_failed_action_attempt.extend({ action_type: action_type5, error: error6 }).describe("Reading credential data from physical encoder failed.")
|
|
2015
2025
|
]);
|
|
2016
|
-
var action_type6 = zod.z.literal("
|
|
2026
|
+
var action_type6 = zod.z.literal("SET_FAN_MODE");
|
|
2017
2027
|
var error7 = zod.z.object({
|
|
2018
2028
|
type: zod.z.string(),
|
|
2019
2029
|
message: zod.z.string()
|
|
2020
2030
|
});
|
|
2021
2031
|
var result7 = zod.z.object({});
|
|
2022
|
-
var
|
|
2032
|
+
var set_fan_mode_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2023
2033
|
common_pending_action_attempt.extend({
|
|
2024
2034
|
action_type: action_type6
|
|
2025
|
-
}).describe("Setting
|
|
2035
|
+
}).describe("Setting fan mode."),
|
|
2026
2036
|
common_succeeded_action_attempt.extend({
|
|
2027
2037
|
action_type: action_type6,
|
|
2028
2038
|
result: result7
|
|
2029
|
-
}).describe("Setting
|
|
2030
|
-
common_failed_action_attempt.extend({ action_type: action_type6, error: error7 }).describe("Setting
|
|
2039
|
+
}).describe("Setting fan mode succeeded."),
|
|
2040
|
+
common_failed_action_attempt.extend({ action_type: action_type6, error: error7 }).describe("Setting fan mode failed.")
|
|
2031
2041
|
]);
|
|
2032
|
-
var action_type7 = zod.z.literal("
|
|
2042
|
+
var action_type7 = zod.z.literal("SET_HVAC_MODE");
|
|
2033
2043
|
var error8 = zod.z.object({
|
|
2034
2044
|
type: zod.z.string(),
|
|
2035
2045
|
message: zod.z.string()
|
|
2036
2046
|
});
|
|
2037
2047
|
var result8 = zod.z.object({});
|
|
2038
|
-
var
|
|
2048
|
+
var set_hvac_mode_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2039
2049
|
common_pending_action_attempt.extend({
|
|
2040
2050
|
action_type: action_type7
|
|
2041
|
-
}).describe("Setting
|
|
2051
|
+
}).describe("Setting HVAC mode."),
|
|
2042
2052
|
common_succeeded_action_attempt.extend({
|
|
2043
2053
|
action_type: action_type7,
|
|
2044
2054
|
result: result8
|
|
2045
|
-
}).describe("Setting
|
|
2046
|
-
common_failed_action_attempt.extend({ action_type: action_type7, error: error8 }).describe("Setting
|
|
2055
|
+
}).describe("Setting HVAC mode succeeded."),
|
|
2056
|
+
common_failed_action_attempt.extend({ action_type: action_type7, error: error8 }).describe("Setting HVAC mode failed.")
|
|
2047
2057
|
]);
|
|
2048
|
-
var action_type8 = zod.z.literal("
|
|
2058
|
+
var action_type8 = zod.z.literal("UNLOCK_DOOR");
|
|
2049
2059
|
var error9 = zod.z.object({
|
|
2050
2060
|
type: zod.z.string(),
|
|
2051
2061
|
message: zod.z.string()
|
|
2052
2062
|
});
|
|
2053
2063
|
var result9 = zod.z.object({});
|
|
2054
|
-
var
|
|
2064
|
+
var unlock_door_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2055
2065
|
common_pending_action_attempt.extend({
|
|
2056
2066
|
action_type: action_type8
|
|
2057
|
-
}).describe("
|
|
2067
|
+
}).describe("Unlocking door."),
|
|
2058
2068
|
common_succeeded_action_attempt.extend({
|
|
2059
2069
|
action_type: action_type8,
|
|
2060
2070
|
result: result9
|
|
2061
|
-
}).describe("Setting HVAC to heat mode succeeded."),
|
|
2062
|
-
common_failed_action_attempt.extend({ action_type: action_type8, error: error9 }).describe("Setting HVAC to heat mode failed.")
|
|
2063
|
-
]);
|
|
2064
|
-
var action_type9 = zod.z.literal("SET_HEAT_COOL");
|
|
2065
|
-
var error10 = zod.z.object({
|
|
2066
|
-
type: zod.z.string(),
|
|
2067
|
-
message: zod.z.string()
|
|
2068
|
-
});
|
|
2069
|
-
var result10 = zod.z.object({});
|
|
2070
|
-
var set_heat_cool_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2071
|
-
common_pending_action_attempt.extend({
|
|
2072
|
-
action_type: action_type9
|
|
2073
|
-
}).describe("Setting HVAC to heat-cool mode."),
|
|
2074
|
-
common_succeeded_action_attempt.extend({
|
|
2075
|
-
action_type: action_type9,
|
|
2076
|
-
result: result10
|
|
2077
|
-
}).describe("Setting HVAC to heat-cool mode succeeded."),
|
|
2078
|
-
common_failed_action_attempt.extend({ action_type: action_type9, error: error10 }).describe("Setting heat-cool mode failed.")
|
|
2079
|
-
]);
|
|
2080
|
-
var action_type10 = zod.z.literal("SET_HVAC_MODE");
|
|
2081
|
-
var error11 = zod.z.object({
|
|
2082
|
-
type: zod.z.string(),
|
|
2083
|
-
message: zod.z.string()
|
|
2084
|
-
});
|
|
2085
|
-
var result11 = zod.z.object({});
|
|
2086
|
-
var set_hvac_mode_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2087
|
-
common_pending_action_attempt.extend({
|
|
2088
|
-
action_type: action_type10
|
|
2089
|
-
}).describe("Setting HVAC mode."),
|
|
2090
|
-
common_succeeded_action_attempt.extend({
|
|
2091
|
-
action_type: action_type10,
|
|
2092
|
-
result: result11
|
|
2093
|
-
}).describe("Setting HVAC mode succeeded."),
|
|
2094
|
-
common_failed_action_attempt.extend({ action_type: action_type10, error: error11 }).describe("Setting HVAC mode failed.")
|
|
2095
|
-
]);
|
|
2096
|
-
var action_type11 = zod.z.literal("SET_THERMOSTAT_OFF");
|
|
2097
|
-
var error12 = zod.z.object({
|
|
2098
|
-
type: zod.z.string(),
|
|
2099
|
-
message: zod.z.string()
|
|
2100
|
-
});
|
|
2101
|
-
var result12 = zod.z.object({});
|
|
2102
|
-
var set_thermostat_off_action_attempt = zod.z.discriminatedUnion(
|
|
2103
|
-
"status",
|
|
2104
|
-
[
|
|
2105
|
-
common_pending_action_attempt.extend({
|
|
2106
|
-
action_type: action_type11
|
|
2107
|
-
}).describe("Turning HVAC off."),
|
|
2108
|
-
common_succeeded_action_attempt.extend({
|
|
2109
|
-
action_type: action_type11,
|
|
2110
|
-
result: result12
|
|
2111
|
-
}).describe("Turning HVAC off succeeded."),
|
|
2112
|
-
common_failed_action_attempt.extend({ action_type: action_type11, error: error12 }).describe("Turning HVAC off failed.")
|
|
2113
|
-
]
|
|
2114
|
-
);
|
|
2115
|
-
var action_type12 = zod.z.literal("UNLOCK_DOOR");
|
|
2116
|
-
var error13 = zod.z.object({
|
|
2117
|
-
type: zod.z.string(),
|
|
2118
|
-
message: zod.z.string()
|
|
2119
|
-
});
|
|
2120
|
-
var result13 = zod.z.object({});
|
|
2121
|
-
var unlock_door_action_attempt = zod.z.discriminatedUnion("status", [
|
|
2122
|
-
common_pending_action_attempt.extend({
|
|
2123
|
-
action_type: action_type12
|
|
2124
|
-
}).describe("Unlocking door."),
|
|
2125
|
-
common_succeeded_action_attempt.extend({
|
|
2126
|
-
action_type: action_type12,
|
|
2127
|
-
result: result13
|
|
2128
2071
|
}).describe("Unlocking door succeeded."),
|
|
2129
|
-
common_failed_action_attempt.extend({ action_type:
|
|
2072
|
+
common_failed_action_attempt.extend({ action_type: action_type8, error: error9 }).describe("Unlocking door failed.")
|
|
2130
2073
|
]);
|
|
2131
2074
|
|
|
2132
2075
|
// src/lib/seam/connect/models/action-attempts/action-attempt.ts
|
|
@@ -2136,11 +2079,7 @@ var action_attempt = zod.z.union([
|
|
|
2136
2079
|
...scan_credential_action_attempt.options,
|
|
2137
2080
|
...encode_credential_action_attempt.options,
|
|
2138
2081
|
...reset_sandbox_workspace_action_attempt.options,
|
|
2139
|
-
...set_cool_action_attempt.options,
|
|
2140
|
-
...set_heat_action_attempt.options,
|
|
2141
|
-
...set_heat_cool_action_attempt.options,
|
|
2142
2082
|
...set_fan_mode_action_attempt.options,
|
|
2143
|
-
...set_thermostat_off_action_attempt.options,
|
|
2144
2083
|
...set_hvac_mode_action_attempt.options,
|
|
2145
2084
|
...activate_climate_preset_action_attempt.options,
|
|
2146
2085
|
...deprecated_action_attempts
|
|
@@ -3437,7 +3376,14 @@ var openapi_default = {
|
|
|
3437
3376
|
type: "string"
|
|
3438
3377
|
},
|
|
3439
3378
|
dormakaba_community_metadata: {
|
|
3440
|
-
properties: {
|
|
3379
|
+
properties: {
|
|
3380
|
+
access_point_name: { type: "string" },
|
|
3381
|
+
common_area_number: { format: "float", type: "number" },
|
|
3382
|
+
inner_access_points_names: {
|
|
3383
|
+
items: { type: "string" },
|
|
3384
|
+
type: "array"
|
|
3385
|
+
}
|
|
3386
|
+
},
|
|
3441
3387
|
required: ["access_point_name"],
|
|
3442
3388
|
type: "object"
|
|
3443
3389
|
},
|
|
@@ -3486,6 +3432,15 @@ var openapi_default = {
|
|
|
3486
3432
|
],
|
|
3487
3433
|
type: "object"
|
|
3488
3434
|
},
|
|
3435
|
+
salto_space_metadata: {
|
|
3436
|
+
properties: {
|
|
3437
|
+
door_description: { type: "string" },
|
|
3438
|
+
door_name: { type: "string" },
|
|
3439
|
+
ext_door_id: { type: "string" }
|
|
3440
|
+
},
|
|
3441
|
+
required: ["door_name", "ext_door_id"],
|
|
3442
|
+
type: "object"
|
|
3443
|
+
},
|
|
3489
3444
|
visionline_metadata: {
|
|
3490
3445
|
properties: {
|
|
3491
3446
|
door_category: {
|
|
@@ -5744,234 +5699,6 @@ var openapi_default = {
|
|
|
5744
5699
|
],
|
|
5745
5700
|
type: "object"
|
|
5746
5701
|
},
|
|
5747
|
-
{
|
|
5748
|
-
description: "Setting HVAC to cool.",
|
|
5749
|
-
properties: {
|
|
5750
|
-
action_attempt_id: {
|
|
5751
|
-
description: "The ID of the action attempt.",
|
|
5752
|
-
format: "uuid",
|
|
5753
|
-
type: "string",
|
|
5754
|
-
"x-title": "Action Attempt ID"
|
|
5755
|
-
},
|
|
5756
|
-
action_type: { enum: ["SET_COOL"], type: "string" },
|
|
5757
|
-
error: { nullable: true },
|
|
5758
|
-
result: { nullable: true },
|
|
5759
|
-
status: { enum: ["pending"], type: "string" }
|
|
5760
|
-
},
|
|
5761
|
-
required: [
|
|
5762
|
-
"action_attempt_id",
|
|
5763
|
-
"status",
|
|
5764
|
-
"result",
|
|
5765
|
-
"error",
|
|
5766
|
-
"action_type"
|
|
5767
|
-
],
|
|
5768
|
-
type: "object"
|
|
5769
|
-
},
|
|
5770
|
-
{
|
|
5771
|
-
description: "Setting HVAC to cool succeeded.",
|
|
5772
|
-
properties: {
|
|
5773
|
-
action_attempt_id: {
|
|
5774
|
-
description: "The ID of the action attempt.",
|
|
5775
|
-
format: "uuid",
|
|
5776
|
-
type: "string",
|
|
5777
|
-
"x-title": "Action Attempt ID"
|
|
5778
|
-
},
|
|
5779
|
-
action_type: { enum: ["SET_COOL"], type: "string" },
|
|
5780
|
-
error: { nullable: true },
|
|
5781
|
-
result: { properties: {}, type: "object" },
|
|
5782
|
-
status: { enum: ["success"], type: "string" }
|
|
5783
|
-
},
|
|
5784
|
-
required: [
|
|
5785
|
-
"action_attempt_id",
|
|
5786
|
-
"status",
|
|
5787
|
-
"error",
|
|
5788
|
-
"action_type",
|
|
5789
|
-
"result"
|
|
5790
|
-
],
|
|
5791
|
-
type: "object"
|
|
5792
|
-
},
|
|
5793
|
-
{
|
|
5794
|
-
description: "Setting HVAC to cool failed.",
|
|
5795
|
-
properties: {
|
|
5796
|
-
action_attempt_id: {
|
|
5797
|
-
description: "The ID of the action attempt.",
|
|
5798
|
-
format: "uuid",
|
|
5799
|
-
type: "string",
|
|
5800
|
-
"x-title": "Action Attempt ID"
|
|
5801
|
-
},
|
|
5802
|
-
action_type: { enum: ["SET_COOL"], type: "string" },
|
|
5803
|
-
error: {
|
|
5804
|
-
properties: {
|
|
5805
|
-
message: { type: "string" },
|
|
5806
|
-
type: { type: "string" }
|
|
5807
|
-
},
|
|
5808
|
-
required: ["type", "message"],
|
|
5809
|
-
type: "object"
|
|
5810
|
-
},
|
|
5811
|
-
result: { nullable: true },
|
|
5812
|
-
status: { enum: ["error"], type: "string" }
|
|
5813
|
-
},
|
|
5814
|
-
required: [
|
|
5815
|
-
"action_attempt_id",
|
|
5816
|
-
"status",
|
|
5817
|
-
"result",
|
|
5818
|
-
"action_type",
|
|
5819
|
-
"error"
|
|
5820
|
-
],
|
|
5821
|
-
type: "object"
|
|
5822
|
-
},
|
|
5823
|
-
{
|
|
5824
|
-
description: "Setting HVAC to heat mode.",
|
|
5825
|
-
properties: {
|
|
5826
|
-
action_attempt_id: {
|
|
5827
|
-
description: "The ID of the action attempt.",
|
|
5828
|
-
format: "uuid",
|
|
5829
|
-
type: "string",
|
|
5830
|
-
"x-title": "Action Attempt ID"
|
|
5831
|
-
},
|
|
5832
|
-
action_type: { enum: ["SET_HEAT"], type: "string" },
|
|
5833
|
-
error: { nullable: true },
|
|
5834
|
-
result: { nullable: true },
|
|
5835
|
-
status: { enum: ["pending"], type: "string" }
|
|
5836
|
-
},
|
|
5837
|
-
required: [
|
|
5838
|
-
"action_attempt_id",
|
|
5839
|
-
"status",
|
|
5840
|
-
"result",
|
|
5841
|
-
"error",
|
|
5842
|
-
"action_type"
|
|
5843
|
-
],
|
|
5844
|
-
type: "object"
|
|
5845
|
-
},
|
|
5846
|
-
{
|
|
5847
|
-
description: "Setting HVAC to heat mode succeeded.",
|
|
5848
|
-
properties: {
|
|
5849
|
-
action_attempt_id: {
|
|
5850
|
-
description: "The ID of the action attempt.",
|
|
5851
|
-
format: "uuid",
|
|
5852
|
-
type: "string",
|
|
5853
|
-
"x-title": "Action Attempt ID"
|
|
5854
|
-
},
|
|
5855
|
-
action_type: { enum: ["SET_HEAT"], type: "string" },
|
|
5856
|
-
error: { nullable: true },
|
|
5857
|
-
result: { properties: {}, type: "object" },
|
|
5858
|
-
status: { enum: ["success"], type: "string" }
|
|
5859
|
-
},
|
|
5860
|
-
required: [
|
|
5861
|
-
"action_attempt_id",
|
|
5862
|
-
"status",
|
|
5863
|
-
"error",
|
|
5864
|
-
"action_type",
|
|
5865
|
-
"result"
|
|
5866
|
-
],
|
|
5867
|
-
type: "object"
|
|
5868
|
-
},
|
|
5869
|
-
{
|
|
5870
|
-
description: "Setting HVAC to heat mode failed.",
|
|
5871
|
-
properties: {
|
|
5872
|
-
action_attempt_id: {
|
|
5873
|
-
description: "The ID of the action attempt.",
|
|
5874
|
-
format: "uuid",
|
|
5875
|
-
type: "string",
|
|
5876
|
-
"x-title": "Action Attempt ID"
|
|
5877
|
-
},
|
|
5878
|
-
action_type: { enum: ["SET_HEAT"], type: "string" },
|
|
5879
|
-
error: {
|
|
5880
|
-
properties: {
|
|
5881
|
-
message: { type: "string" },
|
|
5882
|
-
type: { type: "string" }
|
|
5883
|
-
},
|
|
5884
|
-
required: ["type", "message"],
|
|
5885
|
-
type: "object"
|
|
5886
|
-
},
|
|
5887
|
-
result: { nullable: true },
|
|
5888
|
-
status: { enum: ["error"], type: "string" }
|
|
5889
|
-
},
|
|
5890
|
-
required: [
|
|
5891
|
-
"action_attempt_id",
|
|
5892
|
-
"status",
|
|
5893
|
-
"result",
|
|
5894
|
-
"action_type",
|
|
5895
|
-
"error"
|
|
5896
|
-
],
|
|
5897
|
-
type: "object"
|
|
5898
|
-
},
|
|
5899
|
-
{
|
|
5900
|
-
description: "Setting HVAC to heat-cool mode.",
|
|
5901
|
-
properties: {
|
|
5902
|
-
action_attempt_id: {
|
|
5903
|
-
description: "The ID of the action attempt.",
|
|
5904
|
-
format: "uuid",
|
|
5905
|
-
type: "string",
|
|
5906
|
-
"x-title": "Action Attempt ID"
|
|
5907
|
-
},
|
|
5908
|
-
action_type: { enum: ["SET_HEAT_COOL"], type: "string" },
|
|
5909
|
-
error: { nullable: true },
|
|
5910
|
-
result: { nullable: true },
|
|
5911
|
-
status: { enum: ["pending"], type: "string" }
|
|
5912
|
-
},
|
|
5913
|
-
required: [
|
|
5914
|
-
"action_attempt_id",
|
|
5915
|
-
"status",
|
|
5916
|
-
"result",
|
|
5917
|
-
"error",
|
|
5918
|
-
"action_type"
|
|
5919
|
-
],
|
|
5920
|
-
type: "object"
|
|
5921
|
-
},
|
|
5922
|
-
{
|
|
5923
|
-
description: "Setting HVAC to heat-cool mode succeeded.",
|
|
5924
|
-
properties: {
|
|
5925
|
-
action_attempt_id: {
|
|
5926
|
-
description: "The ID of the action attempt.",
|
|
5927
|
-
format: "uuid",
|
|
5928
|
-
type: "string",
|
|
5929
|
-
"x-title": "Action Attempt ID"
|
|
5930
|
-
},
|
|
5931
|
-
action_type: { enum: ["SET_HEAT_COOL"], type: "string" },
|
|
5932
|
-
error: { nullable: true },
|
|
5933
|
-
result: { properties: {}, type: "object" },
|
|
5934
|
-
status: { enum: ["success"], type: "string" }
|
|
5935
|
-
},
|
|
5936
|
-
required: [
|
|
5937
|
-
"action_attempt_id",
|
|
5938
|
-
"status",
|
|
5939
|
-
"error",
|
|
5940
|
-
"action_type",
|
|
5941
|
-
"result"
|
|
5942
|
-
],
|
|
5943
|
-
type: "object"
|
|
5944
|
-
},
|
|
5945
|
-
{
|
|
5946
|
-
description: "Setting heat-cool mode failed.",
|
|
5947
|
-
properties: {
|
|
5948
|
-
action_attempt_id: {
|
|
5949
|
-
description: "The ID of the action attempt.",
|
|
5950
|
-
format: "uuid",
|
|
5951
|
-
type: "string",
|
|
5952
|
-
"x-title": "Action Attempt ID"
|
|
5953
|
-
},
|
|
5954
|
-
action_type: { enum: ["SET_HEAT_COOL"], type: "string" },
|
|
5955
|
-
error: {
|
|
5956
|
-
properties: {
|
|
5957
|
-
message: { type: "string" },
|
|
5958
|
-
type: { type: "string" }
|
|
5959
|
-
},
|
|
5960
|
-
required: ["type", "message"],
|
|
5961
|
-
type: "object"
|
|
5962
|
-
},
|
|
5963
|
-
result: { nullable: true },
|
|
5964
|
-
status: { enum: ["error"], type: "string" }
|
|
5965
|
-
},
|
|
5966
|
-
required: [
|
|
5967
|
-
"action_attempt_id",
|
|
5968
|
-
"status",
|
|
5969
|
-
"result",
|
|
5970
|
-
"action_type",
|
|
5971
|
-
"error"
|
|
5972
|
-
],
|
|
5973
|
-
type: "object"
|
|
5974
|
-
},
|
|
5975
5702
|
{
|
|
5976
5703
|
description: "Setting fan mode.",
|
|
5977
5704
|
properties: {
|
|
@@ -6048,82 +5775,6 @@ var openapi_default = {
|
|
|
6048
5775
|
],
|
|
6049
5776
|
type: "object"
|
|
6050
5777
|
},
|
|
6051
|
-
{
|
|
6052
|
-
description: "Turning HVAC off.",
|
|
6053
|
-
properties: {
|
|
6054
|
-
action_attempt_id: {
|
|
6055
|
-
description: "The ID of the action attempt.",
|
|
6056
|
-
format: "uuid",
|
|
6057
|
-
type: "string",
|
|
6058
|
-
"x-title": "Action Attempt ID"
|
|
6059
|
-
},
|
|
6060
|
-
action_type: { enum: ["SET_THERMOSTAT_OFF"], type: "string" },
|
|
6061
|
-
error: { nullable: true },
|
|
6062
|
-
result: { nullable: true },
|
|
6063
|
-
status: { enum: ["pending"], type: "string" }
|
|
6064
|
-
},
|
|
6065
|
-
required: [
|
|
6066
|
-
"action_attempt_id",
|
|
6067
|
-
"status",
|
|
6068
|
-
"result",
|
|
6069
|
-
"error",
|
|
6070
|
-
"action_type"
|
|
6071
|
-
],
|
|
6072
|
-
type: "object"
|
|
6073
|
-
},
|
|
6074
|
-
{
|
|
6075
|
-
description: "Turning HVAC off succeeded.",
|
|
6076
|
-
properties: {
|
|
6077
|
-
action_attempt_id: {
|
|
6078
|
-
description: "The ID of the action attempt.",
|
|
6079
|
-
format: "uuid",
|
|
6080
|
-
type: "string",
|
|
6081
|
-
"x-title": "Action Attempt ID"
|
|
6082
|
-
},
|
|
6083
|
-
action_type: { enum: ["SET_THERMOSTAT_OFF"], type: "string" },
|
|
6084
|
-
error: { nullable: true },
|
|
6085
|
-
result: { properties: {}, type: "object" },
|
|
6086
|
-
status: { enum: ["success"], type: "string" }
|
|
6087
|
-
},
|
|
6088
|
-
required: [
|
|
6089
|
-
"action_attempt_id",
|
|
6090
|
-
"status",
|
|
6091
|
-
"error",
|
|
6092
|
-
"action_type",
|
|
6093
|
-
"result"
|
|
6094
|
-
],
|
|
6095
|
-
type: "object"
|
|
6096
|
-
},
|
|
6097
|
-
{
|
|
6098
|
-
description: "Turning HVAC off failed.",
|
|
6099
|
-
properties: {
|
|
6100
|
-
action_attempt_id: {
|
|
6101
|
-
description: "The ID of the action attempt.",
|
|
6102
|
-
format: "uuid",
|
|
6103
|
-
type: "string",
|
|
6104
|
-
"x-title": "Action Attempt ID"
|
|
6105
|
-
},
|
|
6106
|
-
action_type: { enum: ["SET_THERMOSTAT_OFF"], type: "string" },
|
|
6107
|
-
error: {
|
|
6108
|
-
properties: {
|
|
6109
|
-
message: { type: "string" },
|
|
6110
|
-
type: { type: "string" }
|
|
6111
|
-
},
|
|
6112
|
-
required: ["type", "message"],
|
|
6113
|
-
type: "object"
|
|
6114
|
-
},
|
|
6115
|
-
result: { nullable: true },
|
|
6116
|
-
status: { enum: ["error"], type: "string" }
|
|
6117
|
-
},
|
|
6118
|
-
required: [
|
|
6119
|
-
"action_attempt_id",
|
|
6120
|
-
"status",
|
|
6121
|
-
"result",
|
|
6122
|
-
"action_type",
|
|
6123
|
-
"error"
|
|
6124
|
-
],
|
|
6125
|
-
type: "object"
|
|
6126
|
-
},
|
|
6127
5778
|
{
|
|
6128
5779
|
description: "Setting HVAC mode.",
|
|
6129
5780
|
properties: {
|