@seamapi/types 1.389.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 +200 -130
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +4207 -218
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +78 -0
- 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/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/openapi.d.ts +21 -61
- package/lib/seam/connect/openapi.js +130 -80
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4373 -422
- package/package.json +1 -1
- 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 +134 -89
- package/src/lib/seam/connect/route-types.ts +5062 -484
package/dist/connect.cjs
CHANGED
|
@@ -3036,34 +3036,53 @@ var lock_door_action_attempt = zod.z.discriminatedUnion("status", [
|
|
|
3036
3036
|
}).describe("Locking door succeeded."),
|
|
3037
3037
|
common_failed_action_attempt.extend({ action_type: action_type4, error: error5 }).describe("Locking door failed.")
|
|
3038
3038
|
]);
|
|
3039
|
-
var action_type5 = zod.z.literal("
|
|
3039
|
+
var action_type5 = zod.z.literal("PUSH_THERMOSTAT_PROGRAMS");
|
|
3040
3040
|
var error6 = zod.z.object({
|
|
3041
3041
|
type: zod.z.string(),
|
|
3042
3042
|
message: zod.z.string()
|
|
3043
3043
|
});
|
|
3044
3044
|
var result6 = zod.z.object({});
|
|
3045
|
-
var
|
|
3045
|
+
var push_thermostat_programs_action_attempt = zod.z.discriminatedUnion(
|
|
3046
3046
|
"status",
|
|
3047
3047
|
[
|
|
3048
3048
|
common_pending_action_attempt.extend({
|
|
3049
3049
|
action_type: action_type5
|
|
3050
|
-
}).describe("
|
|
3050
|
+
}).describe("Pushing thermostat weekly programs."),
|
|
3051
3051
|
common_succeeded_action_attempt.extend({
|
|
3052
3052
|
action_type: action_type5,
|
|
3053
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
|
|
3054
3073
|
}).describe("Resetting sandbox workspace succeeded."),
|
|
3055
3074
|
common_failed_action_attempt.extend({
|
|
3056
|
-
action_type:
|
|
3057
|
-
error:
|
|
3075
|
+
action_type: action_type6,
|
|
3076
|
+
error: error7
|
|
3058
3077
|
}).describe("Resetting sandbox workspace failed.")
|
|
3059
3078
|
]
|
|
3060
3079
|
);
|
|
3061
|
-
var
|
|
3080
|
+
var action_type7 = zod.z.literal("SCAN_CREDENTIAL");
|
|
3062
3081
|
var no_credential_on_encoder_error3 = zod.z.object({
|
|
3063
3082
|
type: zod.z.literal("no_credential_on_encoder"),
|
|
3064
3083
|
message: zod.z.string()
|
|
3065
3084
|
});
|
|
3066
|
-
var
|
|
3085
|
+
var error8 = zod.z.union([
|
|
3067
3086
|
...common_action_attempt_errors,
|
|
3068
3087
|
no_credential_on_encoder_error3
|
|
3069
3088
|
]);
|
|
@@ -3075,109 +3094,109 @@ var warning = zod.z.object({
|
|
|
3075
3094
|
warning_message: zod.z.string()
|
|
3076
3095
|
});
|
|
3077
3096
|
var acs_credential_on_seam = acs_credential.or(unmanaged_acs_credential);
|
|
3078
|
-
var
|
|
3097
|
+
var result8 = zod.z.object({
|
|
3079
3098
|
acs_credential_on_encoder: acs_credential_on_encoder.nullable().describe("Snapshot of credential data read from physical encoder."),
|
|
3080
3099
|
acs_credential_on_seam: acs_credential_on_seam.nullable().describe("Matching acs_credential currently encoded on this card."),
|
|
3081
3100
|
warnings: zod.z.array(warning)
|
|
3082
3101
|
});
|
|
3083
3102
|
var scan_credential_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3084
3103
|
common_pending_action_attempt.extend({
|
|
3085
|
-
action_type:
|
|
3104
|
+
action_type: action_type7
|
|
3086
3105
|
}).describe("Reading credential data from physical encoder."),
|
|
3087
3106
|
common_succeeded_action_attempt.extend({
|
|
3088
|
-
action_type:
|
|
3089
|
-
result:
|
|
3107
|
+
action_type: action_type7,
|
|
3108
|
+
result: result8
|
|
3090
3109
|
}).describe("Reading credential data from physical encoder succeeded."),
|
|
3091
|
-
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.")
|
|
3092
3111
|
]);
|
|
3093
|
-
var
|
|
3094
|
-
var
|
|
3112
|
+
var action_type8 = zod.z.literal("SET_FAN_MODE");
|
|
3113
|
+
var error9 = zod.z.object({
|
|
3095
3114
|
type: zod.z.string(),
|
|
3096
3115
|
message: zod.z.string()
|
|
3097
3116
|
});
|
|
3098
|
-
var
|
|
3117
|
+
var result9 = zod.z.object({});
|
|
3099
3118
|
var set_fan_mode_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3100
3119
|
common_pending_action_attempt.extend({
|
|
3101
|
-
action_type:
|
|
3120
|
+
action_type: action_type8
|
|
3102
3121
|
}).describe("Setting fan mode."),
|
|
3103
3122
|
common_succeeded_action_attempt.extend({
|
|
3104
|
-
action_type:
|
|
3105
|
-
result:
|
|
3123
|
+
action_type: action_type8,
|
|
3124
|
+
result: result9
|
|
3106
3125
|
}).describe("Setting fan mode succeeded."),
|
|
3107
|
-
common_failed_action_attempt.extend({ action_type:
|
|
3126
|
+
common_failed_action_attempt.extend({ action_type: action_type8, error: error9 }).describe("Setting fan mode failed.")
|
|
3108
3127
|
]);
|
|
3109
|
-
var
|
|
3110
|
-
var
|
|
3128
|
+
var action_type9 = zod.z.literal("SET_HVAC_MODE");
|
|
3129
|
+
var error10 = zod.z.object({
|
|
3111
3130
|
type: zod.z.string(),
|
|
3112
3131
|
message: zod.z.string()
|
|
3113
3132
|
});
|
|
3114
|
-
var
|
|
3133
|
+
var result10 = zod.z.object({});
|
|
3115
3134
|
var set_hvac_mode_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3116
3135
|
common_pending_action_attempt.extend({
|
|
3117
|
-
action_type:
|
|
3136
|
+
action_type: action_type9
|
|
3118
3137
|
}).describe("Setting HVAC mode."),
|
|
3119
3138
|
common_succeeded_action_attempt.extend({
|
|
3120
|
-
action_type:
|
|
3121
|
-
result:
|
|
3139
|
+
action_type: action_type9,
|
|
3140
|
+
result: result10
|
|
3122
3141
|
}).describe("Setting HVAC mode succeeded."),
|
|
3123
|
-
common_failed_action_attempt.extend({ action_type:
|
|
3142
|
+
common_failed_action_attempt.extend({ action_type: action_type9, error: error10 }).describe("Setting HVAC mode failed.")
|
|
3124
3143
|
]);
|
|
3125
|
-
var
|
|
3126
|
-
var
|
|
3144
|
+
var action_type10 = zod.z.literal("SIMULATE_KEYPAD_CODE_ENTRY");
|
|
3145
|
+
var error11 = zod.z.object({
|
|
3127
3146
|
type: zod.z.string(),
|
|
3128
3147
|
message: zod.z.string()
|
|
3129
3148
|
});
|
|
3130
|
-
var
|
|
3149
|
+
var result11 = zod.z.object({});
|
|
3131
3150
|
var simulate_keypad_code_entry_action_attempt = zod.z.discriminatedUnion(
|
|
3132
3151
|
"status",
|
|
3133
3152
|
[
|
|
3134
3153
|
common_pending_action_attempt.extend({
|
|
3135
|
-
action_type:
|
|
3154
|
+
action_type: action_type10
|
|
3136
3155
|
}).describe("Simulating keypad code entry."),
|
|
3137
3156
|
common_succeeded_action_attempt.extend({
|
|
3138
|
-
action_type:
|
|
3139
|
-
result:
|
|
3157
|
+
action_type: action_type10,
|
|
3158
|
+
result: result11
|
|
3140
3159
|
}).describe("Simulating keypad code entry succeeded."),
|
|
3141
3160
|
common_failed_action_attempt.extend({
|
|
3142
|
-
action_type:
|
|
3143
|
-
error:
|
|
3161
|
+
action_type: action_type10,
|
|
3162
|
+
error: error11
|
|
3144
3163
|
}).describe("Simulating keypad code entry failed.")
|
|
3145
3164
|
]
|
|
3146
3165
|
);
|
|
3147
|
-
var
|
|
3148
|
-
var
|
|
3166
|
+
var action_type11 = zod.z.literal("SIMULATE_MANUAL_LOCK_VIA_KEYPAD");
|
|
3167
|
+
var error12 = zod.z.object({
|
|
3149
3168
|
type: zod.z.string(),
|
|
3150
3169
|
message: zod.z.string()
|
|
3151
3170
|
});
|
|
3152
|
-
var
|
|
3171
|
+
var result12 = zod.z.object({});
|
|
3153
3172
|
var simulate_manual_lock_via_keypad_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3154
3173
|
common_pending_action_attempt.extend({
|
|
3155
|
-
action_type:
|
|
3174
|
+
action_type: action_type11
|
|
3156
3175
|
}).describe("Simulating manual lock via keypad."),
|
|
3157
3176
|
common_succeeded_action_attempt.extend({
|
|
3158
|
-
action_type:
|
|
3159
|
-
result:
|
|
3177
|
+
action_type: action_type11,
|
|
3178
|
+
result: result12
|
|
3160
3179
|
}).describe("Simulating manual lock via keypad succeeded."),
|
|
3161
3180
|
common_failed_action_attempt.extend({
|
|
3162
|
-
action_type:
|
|
3163
|
-
error:
|
|
3181
|
+
action_type: action_type11,
|
|
3182
|
+
error: error12
|
|
3164
3183
|
}).describe("Simulating manual lock via keypad failed.")
|
|
3165
3184
|
]);
|
|
3166
|
-
var
|
|
3167
|
-
var
|
|
3185
|
+
var action_type12 = zod.z.literal("UNLOCK_DOOR");
|
|
3186
|
+
var error13 = zod.z.object({
|
|
3168
3187
|
type: zod.z.string(),
|
|
3169
3188
|
message: zod.z.string()
|
|
3170
3189
|
});
|
|
3171
|
-
var
|
|
3190
|
+
var result13 = zod.z.object({});
|
|
3172
3191
|
var unlock_door_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3173
3192
|
common_pending_action_attempt.extend({
|
|
3174
|
-
action_type:
|
|
3193
|
+
action_type: action_type12
|
|
3175
3194
|
}).describe("Unlocking door."),
|
|
3176
3195
|
common_succeeded_action_attempt.extend({
|
|
3177
|
-
action_type:
|
|
3178
|
-
result:
|
|
3196
|
+
action_type: action_type12,
|
|
3197
|
+
result: result13
|
|
3179
3198
|
}).describe("Unlocking door succeeded."),
|
|
3180
|
-
common_failed_action_attempt.extend({ action_type:
|
|
3199
|
+
common_failed_action_attempt.extend({ action_type: action_type12, error: error13 }).describe("Unlocking door failed.")
|
|
3181
3200
|
]);
|
|
3182
3201
|
|
|
3183
3202
|
// src/lib/seam/connect/models/action-attempts/action-attempt.ts
|
|
@@ -3193,6 +3212,7 @@ var action_attempt = zod.z.union([
|
|
|
3193
3212
|
...activate_climate_preset_action_attempt.options,
|
|
3194
3213
|
...simulate_keypad_code_entry_action_attempt.options,
|
|
3195
3214
|
...simulate_manual_lock_via_keypad_action_attempt.options,
|
|
3215
|
+
...push_thermostat_programs_action_attempt.options,
|
|
3196
3216
|
...deprecated_action_attempts
|
|
3197
3217
|
]).describe(`
|
|
3198
3218
|
---
|
|
@@ -10195,6 +10215,100 @@ var openapi_default = {
|
|
|
10195
10215
|
],
|
|
10196
10216
|
type: "object"
|
|
10197
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
|
+
},
|
|
10198
10312
|
{
|
|
10199
10313
|
properties: {
|
|
10200
10314
|
action_attempt_id: {
|
|
@@ -32349,77 +32463,12 @@ var openapi_default = {
|
|
|
32349
32463
|
"application/json": {
|
|
32350
32464
|
schema: {
|
|
32351
32465
|
properties: {
|
|
32352
|
-
|
|
32353
|
-
|
|
32354
|
-
|
|
32355
|
-
|
|
32356
|
-
description: "Date and time at which the thermostat weekly program was created.",
|
|
32357
|
-
format: "date-time",
|
|
32358
|
-
type: "string"
|
|
32359
|
-
},
|
|
32360
|
-
device_id: {
|
|
32361
|
-
description: "ID of the thermostat device the weekly program is for.",
|
|
32362
|
-
format: "uuid",
|
|
32363
|
-
type: "string"
|
|
32364
|
-
},
|
|
32365
|
-
friday_program_id: {
|
|
32366
|
-
description: "ID of the thermostat daily program to run on Fridays.",
|
|
32367
|
-
format: "uuid",
|
|
32368
|
-
nullable: true,
|
|
32369
|
-
type: "string"
|
|
32370
|
-
},
|
|
32371
|
-
monday_program_id: {
|
|
32372
|
-
description: "ID of the thermostat daily program to run on Mondays.",
|
|
32373
|
-
format: "uuid",
|
|
32374
|
-
nullable: true,
|
|
32375
|
-
type: "string"
|
|
32376
|
-
},
|
|
32377
|
-
saturday_program_id: {
|
|
32378
|
-
description: "ID of the thermostat daily program to run on Saturdays.",
|
|
32379
|
-
format: "uuid",
|
|
32380
|
-
nullable: true,
|
|
32381
|
-
type: "string"
|
|
32382
|
-
},
|
|
32383
|
-
sunday_program_id: {
|
|
32384
|
-
description: "ID of the thermostat daily program to run on Sundays.",
|
|
32385
|
-
format: "uuid",
|
|
32386
|
-
nullable: true,
|
|
32387
|
-
type: "string"
|
|
32388
|
-
},
|
|
32389
|
-
thursday_program_id: {
|
|
32390
|
-
description: "ID of the thermostat daily program to run on Thursdays.",
|
|
32391
|
-
format: "uuid",
|
|
32392
|
-
nullable: true,
|
|
32393
|
-
type: "string"
|
|
32394
|
-
},
|
|
32395
|
-
tuesday_program_id: {
|
|
32396
|
-
description: "ID of the thermostat daily program to run on Tuesdays.",
|
|
32397
|
-
format: "uuid",
|
|
32398
|
-
nullable: true,
|
|
32399
|
-
type: "string"
|
|
32400
|
-
},
|
|
32401
|
-
wednesday_program_id: {
|
|
32402
|
-
description: "ID of the thermostat daily program to run on Wednesdays.",
|
|
32403
|
-
format: "uuid",
|
|
32404
|
-
nullable: true,
|
|
32405
|
-
type: "string"
|
|
32406
|
-
}
|
|
32407
|
-
},
|
|
32408
|
-
required: [
|
|
32409
|
-
"device_id",
|
|
32410
|
-
"monday_program_id",
|
|
32411
|
-
"tuesday_program_id",
|
|
32412
|
-
"wednesday_program_id",
|
|
32413
|
-
"thursday_program_id",
|
|
32414
|
-
"friday_program_id",
|
|
32415
|
-
"saturday_program_id",
|
|
32416
|
-
"sunday_program_id",
|
|
32417
|
-
"created_at"
|
|
32418
|
-
],
|
|
32419
|
-
type: "object"
|
|
32420
|
-
}
|
|
32466
|
+
action_attempt: {
|
|
32467
|
+
$ref: "#/components/schemas/action_attempt"
|
|
32468
|
+
},
|
|
32469
|
+
ok: { type: "boolean" }
|
|
32421
32470
|
},
|
|
32422
|
-
required: ["
|
|
32471
|
+
required: ["action_attempt", "ok"],
|
|
32423
32472
|
type: "object"
|
|
32424
32473
|
}
|
|
32425
32474
|
}
|
|
@@ -32437,10 +32486,11 @@ var openapi_default = {
|
|
|
32437
32486
|
],
|
|
32438
32487
|
summary: "/thermostats/activate_weekly_program",
|
|
32439
32488
|
tags: ["/thermostats"],
|
|
32489
|
+
"x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
|
|
32440
32490
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
32441
32491
|
"x-fern-sdk-method-name": "activate_weekly_program",
|
|
32442
|
-
"x-fern-sdk-return-value": "
|
|
32443
|
-
"x-response-key": "
|
|
32492
|
+
"x-fern-sdk-return-value": "action_attempt",
|
|
32493
|
+
"x-response-key": "action_attempt",
|
|
32444
32494
|
"x-title": "Activate a Thermostat Weekly Program",
|
|
32445
32495
|
"x-undocumented": "Unreleased."
|
|
32446
32496
|
}
|
|
@@ -32471,8 +32521,13 @@ var openapi_default = {
|
|
|
32471
32521
|
content: {
|
|
32472
32522
|
"application/json": {
|
|
32473
32523
|
schema: {
|
|
32474
|
-
properties: {
|
|
32475
|
-
|
|
32524
|
+
properties: {
|
|
32525
|
+
action_attempt: {
|
|
32526
|
+
$ref: "#/components/schemas/action_attempt"
|
|
32527
|
+
},
|
|
32528
|
+
ok: { type: "boolean" }
|
|
32529
|
+
},
|
|
32530
|
+
required: ["action_attempt", "ok"],
|
|
32476
32531
|
type: "object"
|
|
32477
32532
|
}
|
|
32478
32533
|
}
|
|
@@ -32490,9 +32545,11 @@ var openapi_default = {
|
|
|
32490
32545
|
],
|
|
32491
32546
|
summary: "/thermostats/clear_weekly_program",
|
|
32492
32547
|
tags: ["/thermostats"],
|
|
32548
|
+
"x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
|
|
32493
32549
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
32494
32550
|
"x-fern-sdk-method-name": "clear_weekly_program",
|
|
32495
|
-
"x-
|
|
32551
|
+
"x-fern-sdk-return-value": "action_attempt",
|
|
32552
|
+
"x-response-key": "action_attempt",
|
|
32496
32553
|
"x-title": "Clear a Thermostat Weekly Program",
|
|
32497
32554
|
"x-undocumented": "Unreleased."
|
|
32498
32555
|
}
|
|
@@ -32896,8 +32953,13 @@ var openapi_default = {
|
|
|
32896
32953
|
content: {
|
|
32897
32954
|
"application/json": {
|
|
32898
32955
|
schema: {
|
|
32899
|
-
properties: {
|
|
32900
|
-
|
|
32956
|
+
properties: {
|
|
32957
|
+
action_attempt: {
|
|
32958
|
+
$ref: "#/components/schemas/action_attempt"
|
|
32959
|
+
},
|
|
32960
|
+
ok: { type: "boolean" }
|
|
32961
|
+
},
|
|
32962
|
+
required: ["action_attempt", "ok"],
|
|
32901
32963
|
type: "object"
|
|
32902
32964
|
}
|
|
32903
32965
|
}
|
|
@@ -32915,8 +32977,9 @@ var openapi_default = {
|
|
|
32915
32977
|
],
|
|
32916
32978
|
summary: "/thermostats/daily_programs/update",
|
|
32917
32979
|
tags: ["/thermostats"],
|
|
32980
|
+
"x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
|
|
32918
32981
|
"x-fern-ignore": true,
|
|
32919
|
-
"x-response-key":
|
|
32982
|
+
"x-response-key": "action_attempt",
|
|
32920
32983
|
"x-title": "Update a Thermostat Daily Program",
|
|
32921
32984
|
"x-undocumented": "Unreleased."
|
|
32922
32985
|
},
|
|
@@ -32968,8 +33031,13 @@ var openapi_default = {
|
|
|
32968
33031
|
content: {
|
|
32969
33032
|
"application/json": {
|
|
32970
33033
|
schema: {
|
|
32971
|
-
properties: {
|
|
32972
|
-
|
|
33034
|
+
properties: {
|
|
33035
|
+
action_attempt: {
|
|
33036
|
+
$ref: "#/components/schemas/action_attempt"
|
|
33037
|
+
},
|
|
33038
|
+
ok: { type: "boolean" }
|
|
33039
|
+
},
|
|
33040
|
+
required: ["action_attempt", "ok"],
|
|
32973
33041
|
type: "object"
|
|
32974
33042
|
}
|
|
32975
33043
|
}
|
|
@@ -32987,9 +33055,11 @@ var openapi_default = {
|
|
|
32987
33055
|
],
|
|
32988
33056
|
summary: "/thermostats/daily_programs/update",
|
|
32989
33057
|
tags: ["/thermostats"],
|
|
33058
|
+
"x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
|
|
32990
33059
|
"x-fern-sdk-group-name": ["thermostats", "daily_programs"],
|
|
32991
33060
|
"x-fern-sdk-method-name": "update",
|
|
32992
|
-
"x-
|
|
33061
|
+
"x-fern-sdk-return-value": "action_attempt",
|
|
33062
|
+
"x-response-key": "action_attempt",
|
|
32993
33063
|
"x-title": "Update a Thermostat Daily Program",
|
|
32994
33064
|
"x-undocumented": "Unreleased."
|
|
32995
33065
|
}
|