@seamapi/types 1.388.0 → 1.390.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 +214 -137
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +4598 -609
- package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-credential.js +1 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +102 -24
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +80 -0
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.js +25 -0
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
- package/lib/seam/connect/openapi.d.ts +21 -61
- package/lib/seam/connect/openapi.js +136 -80
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4989 -1038
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -0
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/push-thermostat-programs.ts +36 -0
- package/src/lib/seam/connect/openapi.ts +140 -89
- package/src/lib/seam/connect/route-types.ts +5162 -478
package/dist/connect.cjs
CHANGED
|
@@ -1898,7 +1898,8 @@ var acs_credential_external_type = zod.z.enum([
|
|
|
1898
1898
|
"visionline_card",
|
|
1899
1899
|
"salto_ks_credential",
|
|
1900
1900
|
"assa_abloy_vostio_key",
|
|
1901
|
-
"salto_space_key"
|
|
1901
|
+
"salto_space_key",
|
|
1902
|
+
"latch_access"
|
|
1902
1903
|
]);
|
|
1903
1904
|
var acs_credential_access_method_type = zod.z.enum([
|
|
1904
1905
|
"code",
|
|
@@ -3035,34 +3036,53 @@ var lock_door_action_attempt = zod.z.discriminatedUnion("status", [
|
|
|
3035
3036
|
}).describe("Locking door succeeded."),
|
|
3036
3037
|
common_failed_action_attempt.extend({ action_type: action_type4, error: error5 }).describe("Locking door failed.")
|
|
3037
3038
|
]);
|
|
3038
|
-
var action_type5 = zod.z.literal("
|
|
3039
|
+
var action_type5 = zod.z.literal("PUSH_THERMOSTAT_PROGRAMS");
|
|
3039
3040
|
var error6 = zod.z.object({
|
|
3040
3041
|
type: zod.z.string(),
|
|
3041
3042
|
message: zod.z.string()
|
|
3042
3043
|
});
|
|
3043
3044
|
var result6 = zod.z.object({});
|
|
3044
|
-
var
|
|
3045
|
+
var push_thermostat_programs_action_attempt = zod.z.discriminatedUnion(
|
|
3045
3046
|
"status",
|
|
3046
3047
|
[
|
|
3047
3048
|
common_pending_action_attempt.extend({
|
|
3048
3049
|
action_type: action_type5
|
|
3049
|
-
}).describe("
|
|
3050
|
+
}).describe("Pushing thermostat weekly programs."),
|
|
3050
3051
|
common_succeeded_action_attempt.extend({
|
|
3051
3052
|
action_type: action_type5,
|
|
3052
3053
|
result: result6
|
|
3054
|
+
}).describe("Pushing thermostat weekly programs succeeded."),
|
|
3055
|
+
common_failed_action_attempt.extend({ action_type: action_type5, error: error6 }).describe("Pushing thermostat weekly programs failed.")
|
|
3056
|
+
]
|
|
3057
|
+
);
|
|
3058
|
+
var action_type6 = zod.z.literal("RESET_SANDBOX_WORKSPACE");
|
|
3059
|
+
var error7 = zod.z.object({
|
|
3060
|
+
type: zod.z.string(),
|
|
3061
|
+
message: zod.z.string()
|
|
3062
|
+
});
|
|
3063
|
+
var result7 = zod.z.object({});
|
|
3064
|
+
var reset_sandbox_workspace_action_attempt = zod.z.discriminatedUnion(
|
|
3065
|
+
"status",
|
|
3066
|
+
[
|
|
3067
|
+
common_pending_action_attempt.extend({
|
|
3068
|
+
action_type: action_type6
|
|
3069
|
+
}).describe("Resetting sandbox workspace."),
|
|
3070
|
+
common_succeeded_action_attempt.extend({
|
|
3071
|
+
action_type: action_type6,
|
|
3072
|
+
result: result7
|
|
3053
3073
|
}).describe("Resetting sandbox workspace succeeded."),
|
|
3054
3074
|
common_failed_action_attempt.extend({
|
|
3055
|
-
action_type:
|
|
3056
|
-
error:
|
|
3075
|
+
action_type: action_type6,
|
|
3076
|
+
error: error7
|
|
3057
3077
|
}).describe("Resetting sandbox workspace failed.")
|
|
3058
3078
|
]
|
|
3059
3079
|
);
|
|
3060
|
-
var
|
|
3080
|
+
var action_type7 = zod.z.literal("SCAN_CREDENTIAL");
|
|
3061
3081
|
var no_credential_on_encoder_error3 = zod.z.object({
|
|
3062
3082
|
type: zod.z.literal("no_credential_on_encoder"),
|
|
3063
3083
|
message: zod.z.string()
|
|
3064
3084
|
});
|
|
3065
|
-
var
|
|
3085
|
+
var error8 = zod.z.union([
|
|
3066
3086
|
...common_action_attempt_errors,
|
|
3067
3087
|
no_credential_on_encoder_error3
|
|
3068
3088
|
]);
|
|
@@ -3074,109 +3094,109 @@ var warning = zod.z.object({
|
|
|
3074
3094
|
warning_message: zod.z.string()
|
|
3075
3095
|
});
|
|
3076
3096
|
var acs_credential_on_seam = acs_credential.or(unmanaged_acs_credential);
|
|
3077
|
-
var
|
|
3097
|
+
var result8 = zod.z.object({
|
|
3078
3098
|
acs_credential_on_encoder: acs_credential_on_encoder.nullable().describe("Snapshot of credential data read from physical encoder."),
|
|
3079
3099
|
acs_credential_on_seam: acs_credential_on_seam.nullable().describe("Matching acs_credential currently encoded on this card."),
|
|
3080
3100
|
warnings: zod.z.array(warning)
|
|
3081
3101
|
});
|
|
3082
3102
|
var scan_credential_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3083
3103
|
common_pending_action_attempt.extend({
|
|
3084
|
-
action_type:
|
|
3104
|
+
action_type: action_type7
|
|
3085
3105
|
}).describe("Reading credential data from physical encoder."),
|
|
3086
3106
|
common_succeeded_action_attempt.extend({
|
|
3087
|
-
action_type:
|
|
3088
|
-
result:
|
|
3107
|
+
action_type: action_type7,
|
|
3108
|
+
result: result8
|
|
3089
3109
|
}).describe("Reading credential data from physical encoder succeeded."),
|
|
3090
|
-
common_failed_action_attempt.extend({ action_type:
|
|
3110
|
+
common_failed_action_attempt.extend({ action_type: action_type7, error: error8 }).describe("Reading credential data from physical encoder failed.")
|
|
3091
3111
|
]);
|
|
3092
|
-
var
|
|
3093
|
-
var
|
|
3112
|
+
var action_type8 = zod.z.literal("SET_FAN_MODE");
|
|
3113
|
+
var error9 = zod.z.object({
|
|
3094
3114
|
type: zod.z.string(),
|
|
3095
3115
|
message: zod.z.string()
|
|
3096
3116
|
});
|
|
3097
|
-
var
|
|
3117
|
+
var result9 = zod.z.object({});
|
|
3098
3118
|
var set_fan_mode_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3099
3119
|
common_pending_action_attempt.extend({
|
|
3100
|
-
action_type:
|
|
3120
|
+
action_type: action_type8
|
|
3101
3121
|
}).describe("Setting fan mode."),
|
|
3102
3122
|
common_succeeded_action_attempt.extend({
|
|
3103
|
-
action_type:
|
|
3104
|
-
result:
|
|
3123
|
+
action_type: action_type8,
|
|
3124
|
+
result: result9
|
|
3105
3125
|
}).describe("Setting fan mode succeeded."),
|
|
3106
|
-
common_failed_action_attempt.extend({ action_type:
|
|
3126
|
+
common_failed_action_attempt.extend({ action_type: action_type8, error: error9 }).describe("Setting fan mode failed.")
|
|
3107
3127
|
]);
|
|
3108
|
-
var
|
|
3109
|
-
var
|
|
3128
|
+
var action_type9 = zod.z.literal("SET_HVAC_MODE");
|
|
3129
|
+
var error10 = zod.z.object({
|
|
3110
3130
|
type: zod.z.string(),
|
|
3111
3131
|
message: zod.z.string()
|
|
3112
3132
|
});
|
|
3113
|
-
var
|
|
3133
|
+
var result10 = zod.z.object({});
|
|
3114
3134
|
var set_hvac_mode_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3115
3135
|
common_pending_action_attempt.extend({
|
|
3116
|
-
action_type:
|
|
3136
|
+
action_type: action_type9
|
|
3117
3137
|
}).describe("Setting HVAC mode."),
|
|
3118
3138
|
common_succeeded_action_attempt.extend({
|
|
3119
|
-
action_type:
|
|
3120
|
-
result:
|
|
3139
|
+
action_type: action_type9,
|
|
3140
|
+
result: result10
|
|
3121
3141
|
}).describe("Setting HVAC mode succeeded."),
|
|
3122
|
-
common_failed_action_attempt.extend({ action_type:
|
|
3142
|
+
common_failed_action_attempt.extend({ action_type: action_type9, error: error10 }).describe("Setting HVAC mode failed.")
|
|
3123
3143
|
]);
|
|
3124
|
-
var
|
|
3125
|
-
var
|
|
3144
|
+
var action_type10 = zod.z.literal("SIMULATE_KEYPAD_CODE_ENTRY");
|
|
3145
|
+
var error11 = zod.z.object({
|
|
3126
3146
|
type: zod.z.string(),
|
|
3127
3147
|
message: zod.z.string()
|
|
3128
3148
|
});
|
|
3129
|
-
var
|
|
3149
|
+
var result11 = zod.z.object({});
|
|
3130
3150
|
var simulate_keypad_code_entry_action_attempt = zod.z.discriminatedUnion(
|
|
3131
3151
|
"status",
|
|
3132
3152
|
[
|
|
3133
3153
|
common_pending_action_attempt.extend({
|
|
3134
|
-
action_type:
|
|
3154
|
+
action_type: action_type10
|
|
3135
3155
|
}).describe("Simulating keypad code entry."),
|
|
3136
3156
|
common_succeeded_action_attempt.extend({
|
|
3137
|
-
action_type:
|
|
3138
|
-
result:
|
|
3157
|
+
action_type: action_type10,
|
|
3158
|
+
result: result11
|
|
3139
3159
|
}).describe("Simulating keypad code entry succeeded."),
|
|
3140
3160
|
common_failed_action_attempt.extend({
|
|
3141
|
-
action_type:
|
|
3142
|
-
error:
|
|
3161
|
+
action_type: action_type10,
|
|
3162
|
+
error: error11
|
|
3143
3163
|
}).describe("Simulating keypad code entry failed.")
|
|
3144
3164
|
]
|
|
3145
3165
|
);
|
|
3146
|
-
var
|
|
3147
|
-
var
|
|
3166
|
+
var action_type11 = zod.z.literal("SIMULATE_MANUAL_LOCK_VIA_KEYPAD");
|
|
3167
|
+
var error12 = zod.z.object({
|
|
3148
3168
|
type: zod.z.string(),
|
|
3149
3169
|
message: zod.z.string()
|
|
3150
3170
|
});
|
|
3151
|
-
var
|
|
3171
|
+
var result12 = zod.z.object({});
|
|
3152
3172
|
var simulate_manual_lock_via_keypad_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3153
3173
|
common_pending_action_attempt.extend({
|
|
3154
|
-
action_type:
|
|
3174
|
+
action_type: action_type11
|
|
3155
3175
|
}).describe("Simulating manual lock via keypad."),
|
|
3156
3176
|
common_succeeded_action_attempt.extend({
|
|
3157
|
-
action_type:
|
|
3158
|
-
result:
|
|
3177
|
+
action_type: action_type11,
|
|
3178
|
+
result: result12
|
|
3159
3179
|
}).describe("Simulating manual lock via keypad succeeded."),
|
|
3160
3180
|
common_failed_action_attempt.extend({
|
|
3161
|
-
action_type:
|
|
3162
|
-
error:
|
|
3181
|
+
action_type: action_type11,
|
|
3182
|
+
error: error12
|
|
3163
3183
|
}).describe("Simulating manual lock via keypad failed.")
|
|
3164
3184
|
]);
|
|
3165
|
-
var
|
|
3166
|
-
var
|
|
3185
|
+
var action_type12 = zod.z.literal("UNLOCK_DOOR");
|
|
3186
|
+
var error13 = zod.z.object({
|
|
3167
3187
|
type: zod.z.string(),
|
|
3168
3188
|
message: zod.z.string()
|
|
3169
3189
|
});
|
|
3170
|
-
var
|
|
3190
|
+
var result13 = zod.z.object({});
|
|
3171
3191
|
var unlock_door_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3172
3192
|
common_pending_action_attempt.extend({
|
|
3173
|
-
action_type:
|
|
3193
|
+
action_type: action_type12
|
|
3174
3194
|
}).describe("Unlocking door."),
|
|
3175
3195
|
common_succeeded_action_attempt.extend({
|
|
3176
|
-
action_type:
|
|
3177
|
-
result:
|
|
3196
|
+
action_type: action_type12,
|
|
3197
|
+
result: result13
|
|
3178
3198
|
}).describe("Unlocking door succeeded."),
|
|
3179
|
-
common_failed_action_attempt.extend({ action_type:
|
|
3199
|
+
common_failed_action_attempt.extend({ action_type: action_type12, error: error13 }).describe("Unlocking door failed.")
|
|
3180
3200
|
]);
|
|
3181
3201
|
|
|
3182
3202
|
// src/lib/seam/connect/models/action-attempts/action-attempt.ts
|
|
@@ -3192,6 +3212,7 @@ var action_attempt = zod.z.union([
|
|
|
3192
3212
|
...activate_climate_preset_action_attempt.options,
|
|
3193
3213
|
...simulate_keypad_code_entry_action_attempt.options,
|
|
3194
3214
|
...simulate_manual_lock_via_keypad_action_attempt.options,
|
|
3215
|
+
...push_thermostat_programs_action_attempt.options,
|
|
3195
3216
|
...deprecated_action_attempts
|
|
3196
3217
|
]).describe(`
|
|
3197
3218
|
---
|
|
@@ -6033,7 +6054,8 @@ var openapi_default = {
|
|
|
6033
6054
|
"visionline_card",
|
|
6034
6055
|
"salto_ks_credential",
|
|
6035
6056
|
"assa_abloy_vostio_key",
|
|
6036
|
-
"salto_space_key"
|
|
6057
|
+
"salto_space_key",
|
|
6058
|
+
"latch_access"
|
|
6037
6059
|
],
|
|
6038
6060
|
type: "string"
|
|
6039
6061
|
},
|
|
@@ -7877,7 +7899,8 @@ var openapi_default = {
|
|
|
7877
7899
|
"visionline_card",
|
|
7878
7900
|
"salto_ks_credential",
|
|
7879
7901
|
"assa_abloy_vostio_key",
|
|
7880
|
-
"salto_space_key"
|
|
7902
|
+
"salto_space_key",
|
|
7903
|
+
"latch_access"
|
|
7881
7904
|
],
|
|
7882
7905
|
type: "string"
|
|
7883
7906
|
},
|
|
@@ -8222,7 +8245,8 @@ var openapi_default = {
|
|
|
8222
8245
|
"visionline_card",
|
|
8223
8246
|
"salto_ks_credential",
|
|
8224
8247
|
"assa_abloy_vostio_key",
|
|
8225
|
-
"salto_space_key"
|
|
8248
|
+
"salto_space_key",
|
|
8249
|
+
"latch_access"
|
|
8226
8250
|
],
|
|
8227
8251
|
type: "string"
|
|
8228
8252
|
},
|
|
@@ -8936,7 +8960,8 @@ var openapi_default = {
|
|
|
8936
8960
|
"visionline_card",
|
|
8937
8961
|
"salto_ks_credential",
|
|
8938
8962
|
"assa_abloy_vostio_key",
|
|
8939
|
-
"salto_space_key"
|
|
8963
|
+
"salto_space_key",
|
|
8964
|
+
"latch_access"
|
|
8940
8965
|
],
|
|
8941
8966
|
type: "string"
|
|
8942
8967
|
},
|
|
@@ -9279,7 +9304,8 @@ var openapi_default = {
|
|
|
9279
9304
|
"visionline_card",
|
|
9280
9305
|
"salto_ks_credential",
|
|
9281
9306
|
"assa_abloy_vostio_key",
|
|
9282
|
-
"salto_space_key"
|
|
9307
|
+
"salto_space_key",
|
|
9308
|
+
"latch_access"
|
|
9283
9309
|
],
|
|
9284
9310
|
type: "string"
|
|
9285
9311
|
},
|
|
@@ -10189,6 +10215,100 @@ var openapi_default = {
|
|
|
10189
10215
|
],
|
|
10190
10216
|
type: "object"
|
|
10191
10217
|
},
|
|
10218
|
+
{
|
|
10219
|
+
description: "Pushing thermostat weekly programs.",
|
|
10220
|
+
properties: {
|
|
10221
|
+
action_attempt_id: {
|
|
10222
|
+
description: "ID of the action attempt.",
|
|
10223
|
+
format: "uuid",
|
|
10224
|
+
type: "string"
|
|
10225
|
+
},
|
|
10226
|
+
action_type: {
|
|
10227
|
+
enum: ["PUSH_THERMOSTAT_PROGRAMS"],
|
|
10228
|
+
type: "string"
|
|
10229
|
+
},
|
|
10230
|
+
error: {
|
|
10231
|
+
description: "Errors associated with the action attempt. Null for pending action attempts.",
|
|
10232
|
+
nullable: true
|
|
10233
|
+
},
|
|
10234
|
+
result: {
|
|
10235
|
+
description: "Result of the action attempt. Null for pending action attempts.",
|
|
10236
|
+
nullable: true
|
|
10237
|
+
},
|
|
10238
|
+
status: { enum: ["pending"], type: "string" }
|
|
10239
|
+
},
|
|
10240
|
+
required: [
|
|
10241
|
+
"action_attempt_id",
|
|
10242
|
+
"status",
|
|
10243
|
+
"result",
|
|
10244
|
+
"error",
|
|
10245
|
+
"action_type"
|
|
10246
|
+
],
|
|
10247
|
+
type: "object"
|
|
10248
|
+
},
|
|
10249
|
+
{
|
|
10250
|
+
description: "Pushing thermostat weekly programs succeeded.",
|
|
10251
|
+
properties: {
|
|
10252
|
+
action_attempt_id: {
|
|
10253
|
+
description: "ID of the action attempt.",
|
|
10254
|
+
format: "uuid",
|
|
10255
|
+
type: "string"
|
|
10256
|
+
},
|
|
10257
|
+
action_type: {
|
|
10258
|
+
enum: ["PUSH_THERMOSTAT_PROGRAMS"],
|
|
10259
|
+
type: "string"
|
|
10260
|
+
},
|
|
10261
|
+
error: {
|
|
10262
|
+
description: "Errors associated with the action attempt. Null for successful action attempts.",
|
|
10263
|
+
nullable: true
|
|
10264
|
+
},
|
|
10265
|
+
result: { properties: {}, type: "object" },
|
|
10266
|
+
status: { enum: ["success"], type: "string" }
|
|
10267
|
+
},
|
|
10268
|
+
required: [
|
|
10269
|
+
"action_attempt_id",
|
|
10270
|
+
"status",
|
|
10271
|
+
"error",
|
|
10272
|
+
"action_type",
|
|
10273
|
+
"result"
|
|
10274
|
+
],
|
|
10275
|
+
type: "object"
|
|
10276
|
+
},
|
|
10277
|
+
{
|
|
10278
|
+
description: "Pushing thermostat weekly programs failed.",
|
|
10279
|
+
properties: {
|
|
10280
|
+
action_attempt_id: {
|
|
10281
|
+
description: "ID of the action attempt.",
|
|
10282
|
+
format: "uuid",
|
|
10283
|
+
type: "string"
|
|
10284
|
+
},
|
|
10285
|
+
action_type: {
|
|
10286
|
+
enum: ["PUSH_THERMOSTAT_PROGRAMS"],
|
|
10287
|
+
type: "string"
|
|
10288
|
+
},
|
|
10289
|
+
error: {
|
|
10290
|
+
properties: {
|
|
10291
|
+
message: { type: "string" },
|
|
10292
|
+
type: { type: "string" }
|
|
10293
|
+
},
|
|
10294
|
+
required: ["type", "message"],
|
|
10295
|
+
type: "object"
|
|
10296
|
+
},
|
|
10297
|
+
result: {
|
|
10298
|
+
description: "Result of the action attempt. Null for failed action attempts.",
|
|
10299
|
+
nullable: true
|
|
10300
|
+
},
|
|
10301
|
+
status: { enum: ["error"], type: "string" }
|
|
10302
|
+
},
|
|
10303
|
+
required: [
|
|
10304
|
+
"action_attempt_id",
|
|
10305
|
+
"status",
|
|
10306
|
+
"result",
|
|
10307
|
+
"action_type",
|
|
10308
|
+
"error"
|
|
10309
|
+
],
|
|
10310
|
+
type: "object"
|
|
10311
|
+
},
|
|
10192
10312
|
{
|
|
10193
10313
|
properties: {
|
|
10194
10314
|
action_attempt_id: {
|
|
@@ -19734,7 +19854,8 @@ var openapi_default = {
|
|
|
19734
19854
|
"visionline_card",
|
|
19735
19855
|
"salto_ks_credential",
|
|
19736
19856
|
"assa_abloy_vostio_key",
|
|
19737
|
-
"salto_space_key"
|
|
19857
|
+
"salto_space_key",
|
|
19858
|
+
"latch_access"
|
|
19738
19859
|
],
|
|
19739
19860
|
type: "string"
|
|
19740
19861
|
},
|
|
@@ -32342,77 +32463,12 @@ var openapi_default = {
|
|
|
32342
32463
|
"application/json": {
|
|
32343
32464
|
schema: {
|
|
32344
32465
|
properties: {
|
|
32345
|
-
|
|
32346
|
-
|
|
32347
|
-
|
|
32348
|
-
|
|
32349
|
-
description: "Date and time at which the thermostat weekly program was created.",
|
|
32350
|
-
format: "date-time",
|
|
32351
|
-
type: "string"
|
|
32352
|
-
},
|
|
32353
|
-
device_id: {
|
|
32354
|
-
description: "ID of the thermostat device the weekly program is for.",
|
|
32355
|
-
format: "uuid",
|
|
32356
|
-
type: "string"
|
|
32357
|
-
},
|
|
32358
|
-
friday_program_id: {
|
|
32359
|
-
description: "ID of the thermostat daily program to run on Fridays.",
|
|
32360
|
-
format: "uuid",
|
|
32361
|
-
nullable: true,
|
|
32362
|
-
type: "string"
|
|
32363
|
-
},
|
|
32364
|
-
monday_program_id: {
|
|
32365
|
-
description: "ID of the thermostat daily program to run on Mondays.",
|
|
32366
|
-
format: "uuid",
|
|
32367
|
-
nullable: true,
|
|
32368
|
-
type: "string"
|
|
32369
|
-
},
|
|
32370
|
-
saturday_program_id: {
|
|
32371
|
-
description: "ID of the thermostat daily program to run on Saturdays.",
|
|
32372
|
-
format: "uuid",
|
|
32373
|
-
nullable: true,
|
|
32374
|
-
type: "string"
|
|
32375
|
-
},
|
|
32376
|
-
sunday_program_id: {
|
|
32377
|
-
description: "ID of the thermostat daily program to run on Sundays.",
|
|
32378
|
-
format: "uuid",
|
|
32379
|
-
nullable: true,
|
|
32380
|
-
type: "string"
|
|
32381
|
-
},
|
|
32382
|
-
thursday_program_id: {
|
|
32383
|
-
description: "ID of the thermostat daily program to run on Thursdays.",
|
|
32384
|
-
format: "uuid",
|
|
32385
|
-
nullable: true,
|
|
32386
|
-
type: "string"
|
|
32387
|
-
},
|
|
32388
|
-
tuesday_program_id: {
|
|
32389
|
-
description: "ID of the thermostat daily program to run on Tuesdays.",
|
|
32390
|
-
format: "uuid",
|
|
32391
|
-
nullable: true,
|
|
32392
|
-
type: "string"
|
|
32393
|
-
},
|
|
32394
|
-
wednesday_program_id: {
|
|
32395
|
-
description: "ID of the thermostat daily program to run on Wednesdays.",
|
|
32396
|
-
format: "uuid",
|
|
32397
|
-
nullable: true,
|
|
32398
|
-
type: "string"
|
|
32399
|
-
}
|
|
32400
|
-
},
|
|
32401
|
-
required: [
|
|
32402
|
-
"device_id",
|
|
32403
|
-
"monday_program_id",
|
|
32404
|
-
"tuesday_program_id",
|
|
32405
|
-
"wednesday_program_id",
|
|
32406
|
-
"thursday_program_id",
|
|
32407
|
-
"friday_program_id",
|
|
32408
|
-
"saturday_program_id",
|
|
32409
|
-
"sunday_program_id",
|
|
32410
|
-
"created_at"
|
|
32411
|
-
],
|
|
32412
|
-
type: "object"
|
|
32413
|
-
}
|
|
32466
|
+
action_attempt: {
|
|
32467
|
+
$ref: "#/components/schemas/action_attempt"
|
|
32468
|
+
},
|
|
32469
|
+
ok: { type: "boolean" }
|
|
32414
32470
|
},
|
|
32415
|
-
required: ["
|
|
32471
|
+
required: ["action_attempt", "ok"],
|
|
32416
32472
|
type: "object"
|
|
32417
32473
|
}
|
|
32418
32474
|
}
|
|
@@ -32430,10 +32486,11 @@ var openapi_default = {
|
|
|
32430
32486
|
],
|
|
32431
32487
|
summary: "/thermostats/activate_weekly_program",
|
|
32432
32488
|
tags: ["/thermostats"],
|
|
32489
|
+
"x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
|
|
32433
32490
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
32434
32491
|
"x-fern-sdk-method-name": "activate_weekly_program",
|
|
32435
|
-
"x-fern-sdk-return-value": "
|
|
32436
|
-
"x-response-key": "
|
|
32492
|
+
"x-fern-sdk-return-value": "action_attempt",
|
|
32493
|
+
"x-response-key": "action_attempt",
|
|
32437
32494
|
"x-title": "Activate a Thermostat Weekly Program",
|
|
32438
32495
|
"x-undocumented": "Unreleased."
|
|
32439
32496
|
}
|
|
@@ -32464,8 +32521,13 @@ var openapi_default = {
|
|
|
32464
32521
|
content: {
|
|
32465
32522
|
"application/json": {
|
|
32466
32523
|
schema: {
|
|
32467
|
-
properties: {
|
|
32468
|
-
|
|
32524
|
+
properties: {
|
|
32525
|
+
action_attempt: {
|
|
32526
|
+
$ref: "#/components/schemas/action_attempt"
|
|
32527
|
+
},
|
|
32528
|
+
ok: { type: "boolean" }
|
|
32529
|
+
},
|
|
32530
|
+
required: ["action_attempt", "ok"],
|
|
32469
32531
|
type: "object"
|
|
32470
32532
|
}
|
|
32471
32533
|
}
|
|
@@ -32483,9 +32545,11 @@ var openapi_default = {
|
|
|
32483
32545
|
],
|
|
32484
32546
|
summary: "/thermostats/clear_weekly_program",
|
|
32485
32547
|
tags: ["/thermostats"],
|
|
32548
|
+
"x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
|
|
32486
32549
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
32487
32550
|
"x-fern-sdk-method-name": "clear_weekly_program",
|
|
32488
|
-
"x-
|
|
32551
|
+
"x-fern-sdk-return-value": "action_attempt",
|
|
32552
|
+
"x-response-key": "action_attempt",
|
|
32489
32553
|
"x-title": "Clear a Thermostat Weekly Program",
|
|
32490
32554
|
"x-undocumented": "Unreleased."
|
|
32491
32555
|
}
|
|
@@ -32889,8 +32953,13 @@ var openapi_default = {
|
|
|
32889
32953
|
content: {
|
|
32890
32954
|
"application/json": {
|
|
32891
32955
|
schema: {
|
|
32892
|
-
properties: {
|
|
32893
|
-
|
|
32956
|
+
properties: {
|
|
32957
|
+
action_attempt: {
|
|
32958
|
+
$ref: "#/components/schemas/action_attempt"
|
|
32959
|
+
},
|
|
32960
|
+
ok: { type: "boolean" }
|
|
32961
|
+
},
|
|
32962
|
+
required: ["action_attempt", "ok"],
|
|
32894
32963
|
type: "object"
|
|
32895
32964
|
}
|
|
32896
32965
|
}
|
|
@@ -32908,8 +32977,9 @@ var openapi_default = {
|
|
|
32908
32977
|
],
|
|
32909
32978
|
summary: "/thermostats/daily_programs/update",
|
|
32910
32979
|
tags: ["/thermostats"],
|
|
32980
|
+
"x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
|
|
32911
32981
|
"x-fern-ignore": true,
|
|
32912
|
-
"x-response-key":
|
|
32982
|
+
"x-response-key": "action_attempt",
|
|
32913
32983
|
"x-title": "Update a Thermostat Daily Program",
|
|
32914
32984
|
"x-undocumented": "Unreleased."
|
|
32915
32985
|
},
|
|
@@ -32961,8 +33031,13 @@ var openapi_default = {
|
|
|
32961
33031
|
content: {
|
|
32962
33032
|
"application/json": {
|
|
32963
33033
|
schema: {
|
|
32964
|
-
properties: {
|
|
32965
|
-
|
|
33034
|
+
properties: {
|
|
33035
|
+
action_attempt: {
|
|
33036
|
+
$ref: "#/components/schemas/action_attempt"
|
|
33037
|
+
},
|
|
33038
|
+
ok: { type: "boolean" }
|
|
33039
|
+
},
|
|
33040
|
+
required: ["action_attempt", "ok"],
|
|
32966
33041
|
type: "object"
|
|
32967
33042
|
}
|
|
32968
33043
|
}
|
|
@@ -32980,9 +33055,11 @@ var openapi_default = {
|
|
|
32980
33055
|
],
|
|
32981
33056
|
summary: "/thermostats/daily_programs/update",
|
|
32982
33057
|
tags: ["/thermostats"],
|
|
33058
|
+
"x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
|
|
32983
33059
|
"x-fern-sdk-group-name": ["thermostats", "daily_programs"],
|
|
32984
33060
|
"x-fern-sdk-method-name": "update",
|
|
32985
|
-
"x-
|
|
33061
|
+
"x-fern-sdk-return-value": "action_attempt",
|
|
33062
|
+
"x-response-key": "action_attempt",
|
|
32986
33063
|
"x-title": "Update a Thermostat Daily Program",
|
|
32987
33064
|
"x-undocumented": "Unreleased."
|
|
32988
33065
|
}
|