@seamapi/types 1.389.0 → 1.391.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 CHANGED
@@ -1581,6 +1581,9 @@ var code_modified_external_to_seam_warning = common_access_code_warning.extend({
1581
1581
  var schlage_detected_duplicate = common_access_code_warning.extend({
1582
1582
  warning_code: zod.z.literal("schlage_detected_duplicate").describe(warning_code_description3)
1583
1583
  }).describe("Duplicate access code detected.");
1584
+ var schlage_detected_duplicate_code_name = common_access_code_warning.extend({
1585
+ warning_code: zod.z.literal("schlage_detected_duplicate_code_name").describe(warning_code_description3)
1586
+ }).describe("Duplicate access code name detected.");
1584
1587
  var schlage_creation_outage = common_access_code_warning.extend({
1585
1588
  warning_code: zod.z.literal("schlage_creation_outage").describe(warning_code_description3)
1586
1589
  }).describe("Received an error when attempting to create this code.");
@@ -1607,6 +1610,7 @@ var kwikset_unable_to_confirm_code_warning = common_access_code_warning.extend({
1607
1610
  var access_code_warning = zod.z.discriminatedUnion("warning_code", [
1608
1611
  smartthings_failed_to_set_access_code_warning,
1609
1612
  schlage_detected_duplicate,
1613
+ schlage_detected_duplicate_code_name,
1610
1614
  schlage_creation_outage,
1611
1615
  code_modified_external_to_seam_warning,
1612
1616
  delay_in_setting_on_device,
@@ -1623,6 +1627,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
1623
1627
  zod.z.object({
1624
1628
  smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_warning.optional().nullable(),
1625
1629
  schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
1630
+ schlage_duplicate_code_name: schlage_detected_duplicate_code_name.optional().nullable(),
1626
1631
  schlage_creation_outage: schlage_creation_outage.optional().nullable(),
1627
1632
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
1628
1633
  delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
@@ -3036,34 +3041,53 @@ var lock_door_action_attempt = zod.z.discriminatedUnion("status", [
3036
3041
  }).describe("Locking door succeeded."),
3037
3042
  common_failed_action_attempt.extend({ action_type: action_type4, error: error5 }).describe("Locking door failed.")
3038
3043
  ]);
3039
- var action_type5 = zod.z.literal("RESET_SANDBOX_WORKSPACE");
3044
+ var action_type5 = zod.z.literal("PUSH_THERMOSTAT_PROGRAMS");
3040
3045
  var error6 = zod.z.object({
3041
3046
  type: zod.z.string(),
3042
3047
  message: zod.z.string()
3043
3048
  });
3044
3049
  var result6 = zod.z.object({});
3045
- var reset_sandbox_workspace_action_attempt = zod.z.discriminatedUnion(
3050
+ var push_thermostat_programs_action_attempt = zod.z.discriminatedUnion(
3046
3051
  "status",
3047
3052
  [
3048
3053
  common_pending_action_attempt.extend({
3049
3054
  action_type: action_type5
3050
- }).describe("Resetting sandbox workspace."),
3055
+ }).describe("Pushing thermostat weekly programs."),
3051
3056
  common_succeeded_action_attempt.extend({
3052
3057
  action_type: action_type5,
3053
3058
  result: result6
3059
+ }).describe("Pushing thermostat weekly programs succeeded."),
3060
+ common_failed_action_attempt.extend({ action_type: action_type5, error: error6 }).describe("Pushing thermostat weekly programs failed.")
3061
+ ]
3062
+ );
3063
+ var action_type6 = zod.z.literal("RESET_SANDBOX_WORKSPACE");
3064
+ var error7 = zod.z.object({
3065
+ type: zod.z.string(),
3066
+ message: zod.z.string()
3067
+ });
3068
+ var result7 = zod.z.object({});
3069
+ var reset_sandbox_workspace_action_attempt = zod.z.discriminatedUnion(
3070
+ "status",
3071
+ [
3072
+ common_pending_action_attempt.extend({
3073
+ action_type: action_type6
3074
+ }).describe("Resetting sandbox workspace."),
3075
+ common_succeeded_action_attempt.extend({
3076
+ action_type: action_type6,
3077
+ result: result7
3054
3078
  }).describe("Resetting sandbox workspace succeeded."),
3055
3079
  common_failed_action_attempt.extend({
3056
- action_type: action_type5,
3057
- error: error6
3080
+ action_type: action_type6,
3081
+ error: error7
3058
3082
  }).describe("Resetting sandbox workspace failed.")
3059
3083
  ]
3060
3084
  );
3061
- var action_type6 = zod.z.literal("SCAN_CREDENTIAL");
3085
+ var action_type7 = zod.z.literal("SCAN_CREDENTIAL");
3062
3086
  var no_credential_on_encoder_error3 = zod.z.object({
3063
3087
  type: zod.z.literal("no_credential_on_encoder"),
3064
3088
  message: zod.z.string()
3065
3089
  });
3066
- var error7 = zod.z.union([
3090
+ var error8 = zod.z.union([
3067
3091
  ...common_action_attempt_errors,
3068
3092
  no_credential_on_encoder_error3
3069
3093
  ]);
@@ -3075,109 +3099,109 @@ var warning = zod.z.object({
3075
3099
  warning_message: zod.z.string()
3076
3100
  });
3077
3101
  var acs_credential_on_seam = acs_credential.or(unmanaged_acs_credential);
3078
- var result7 = zod.z.object({
3102
+ var result8 = zod.z.object({
3079
3103
  acs_credential_on_encoder: acs_credential_on_encoder.nullable().describe("Snapshot of credential data read from physical encoder."),
3080
3104
  acs_credential_on_seam: acs_credential_on_seam.nullable().describe("Matching acs_credential currently encoded on this card."),
3081
3105
  warnings: zod.z.array(warning)
3082
3106
  });
3083
3107
  var scan_credential_action_attempt = zod.z.discriminatedUnion("status", [
3084
3108
  common_pending_action_attempt.extend({
3085
- action_type: action_type6
3109
+ action_type: action_type7
3086
3110
  }).describe("Reading credential data from physical encoder."),
3087
3111
  common_succeeded_action_attempt.extend({
3088
- action_type: action_type6,
3089
- result: result7
3112
+ action_type: action_type7,
3113
+ result: result8
3090
3114
  }).describe("Reading credential data from physical encoder succeeded."),
3091
- common_failed_action_attempt.extend({ action_type: action_type6, error: error7 }).describe("Reading credential data from physical encoder failed.")
3115
+ common_failed_action_attempt.extend({ action_type: action_type7, error: error8 }).describe("Reading credential data from physical encoder failed.")
3092
3116
  ]);
3093
- var action_type7 = zod.z.literal("SET_FAN_MODE");
3094
- var error8 = zod.z.object({
3117
+ var action_type8 = zod.z.literal("SET_FAN_MODE");
3118
+ var error9 = zod.z.object({
3095
3119
  type: zod.z.string(),
3096
3120
  message: zod.z.string()
3097
3121
  });
3098
- var result8 = zod.z.object({});
3122
+ var result9 = zod.z.object({});
3099
3123
  var set_fan_mode_action_attempt = zod.z.discriminatedUnion("status", [
3100
3124
  common_pending_action_attempt.extend({
3101
- action_type: action_type7
3125
+ action_type: action_type8
3102
3126
  }).describe("Setting fan mode."),
3103
3127
  common_succeeded_action_attempt.extend({
3104
- action_type: action_type7,
3105
- result: result8
3128
+ action_type: action_type8,
3129
+ result: result9
3106
3130
  }).describe("Setting fan mode succeeded."),
3107
- common_failed_action_attempt.extend({ action_type: action_type7, error: error8 }).describe("Setting fan mode failed.")
3131
+ common_failed_action_attempt.extend({ action_type: action_type8, error: error9 }).describe("Setting fan mode failed.")
3108
3132
  ]);
3109
- var action_type8 = zod.z.literal("SET_HVAC_MODE");
3110
- var error9 = zod.z.object({
3133
+ var action_type9 = zod.z.literal("SET_HVAC_MODE");
3134
+ var error10 = zod.z.object({
3111
3135
  type: zod.z.string(),
3112
3136
  message: zod.z.string()
3113
3137
  });
3114
- var result9 = zod.z.object({});
3138
+ var result10 = zod.z.object({});
3115
3139
  var set_hvac_mode_action_attempt = zod.z.discriminatedUnion("status", [
3116
3140
  common_pending_action_attempt.extend({
3117
- action_type: action_type8
3141
+ action_type: action_type9
3118
3142
  }).describe("Setting HVAC mode."),
3119
3143
  common_succeeded_action_attempt.extend({
3120
- action_type: action_type8,
3121
- result: result9
3144
+ action_type: action_type9,
3145
+ result: result10
3122
3146
  }).describe("Setting HVAC mode succeeded."),
3123
- common_failed_action_attempt.extend({ action_type: action_type8, error: error9 }).describe("Setting HVAC mode failed.")
3147
+ common_failed_action_attempt.extend({ action_type: action_type9, error: error10 }).describe("Setting HVAC mode failed.")
3124
3148
  ]);
3125
- var action_type9 = zod.z.literal("SIMULATE_KEYPAD_CODE_ENTRY");
3126
- var error10 = zod.z.object({
3149
+ var action_type10 = zod.z.literal("SIMULATE_KEYPAD_CODE_ENTRY");
3150
+ var error11 = zod.z.object({
3127
3151
  type: zod.z.string(),
3128
3152
  message: zod.z.string()
3129
3153
  });
3130
- var result10 = zod.z.object({});
3154
+ var result11 = zod.z.object({});
3131
3155
  var simulate_keypad_code_entry_action_attempt = zod.z.discriminatedUnion(
3132
3156
  "status",
3133
3157
  [
3134
3158
  common_pending_action_attempt.extend({
3135
- action_type: action_type9
3159
+ action_type: action_type10
3136
3160
  }).describe("Simulating keypad code entry."),
3137
3161
  common_succeeded_action_attempt.extend({
3138
- action_type: action_type9,
3139
- result: result10
3162
+ action_type: action_type10,
3163
+ result: result11
3140
3164
  }).describe("Simulating keypad code entry succeeded."),
3141
3165
  common_failed_action_attempt.extend({
3142
- action_type: action_type9,
3143
- error: error10
3166
+ action_type: action_type10,
3167
+ error: error11
3144
3168
  }).describe("Simulating keypad code entry failed.")
3145
3169
  ]
3146
3170
  );
3147
- var action_type10 = zod.z.literal("SIMULATE_MANUAL_LOCK_VIA_KEYPAD");
3148
- var error11 = zod.z.object({
3171
+ var action_type11 = zod.z.literal("SIMULATE_MANUAL_LOCK_VIA_KEYPAD");
3172
+ var error12 = zod.z.object({
3149
3173
  type: zod.z.string(),
3150
3174
  message: zod.z.string()
3151
3175
  });
3152
- var result11 = zod.z.object({});
3176
+ var result12 = zod.z.object({});
3153
3177
  var simulate_manual_lock_via_keypad_action_attempt = zod.z.discriminatedUnion("status", [
3154
3178
  common_pending_action_attempt.extend({
3155
- action_type: action_type10
3179
+ action_type: action_type11
3156
3180
  }).describe("Simulating manual lock via keypad."),
3157
3181
  common_succeeded_action_attempt.extend({
3158
- action_type: action_type10,
3159
- result: result11
3182
+ action_type: action_type11,
3183
+ result: result12
3160
3184
  }).describe("Simulating manual lock via keypad succeeded."),
3161
3185
  common_failed_action_attempt.extend({
3162
- action_type: action_type10,
3163
- error: error11
3186
+ action_type: action_type11,
3187
+ error: error12
3164
3188
  }).describe("Simulating manual lock via keypad failed.")
3165
3189
  ]);
3166
- var action_type11 = zod.z.literal("UNLOCK_DOOR");
3167
- var error12 = zod.z.object({
3190
+ var action_type12 = zod.z.literal("UNLOCK_DOOR");
3191
+ var error13 = zod.z.object({
3168
3192
  type: zod.z.string(),
3169
3193
  message: zod.z.string()
3170
3194
  });
3171
- var result12 = zod.z.object({});
3195
+ var result13 = zod.z.object({});
3172
3196
  var unlock_door_action_attempt = zod.z.discriminatedUnion("status", [
3173
3197
  common_pending_action_attempt.extend({
3174
- action_type: action_type11
3198
+ action_type: action_type12
3175
3199
  }).describe("Unlocking door."),
3176
3200
  common_succeeded_action_attempt.extend({
3177
- action_type: action_type11,
3178
- result: result12
3201
+ action_type: action_type12,
3202
+ result: result13
3179
3203
  }).describe("Unlocking door succeeded."),
3180
- common_failed_action_attempt.extend({ action_type: action_type11, error: error12 }).describe("Unlocking door failed.")
3204
+ common_failed_action_attempt.extend({ action_type: action_type12, error: error13 }).describe("Unlocking door failed.")
3181
3205
  ]);
3182
3206
 
3183
3207
  // src/lib/seam/connect/models/action-attempts/action-attempt.ts
@@ -3193,6 +3217,7 @@ var action_attempt = zod.z.union([
3193
3217
  ...activate_climate_preset_action_attempt.options,
3194
3218
  ...simulate_keypad_code_entry_action_attempt.options,
3195
3219
  ...simulate_manual_lock_via_keypad_action_attempt.options,
3220
+ ...push_thermostat_programs_action_attempt.options,
3196
3221
  ...deprecated_action_attempts
3197
3222
  ]).describe(`
3198
3223
  ---
@@ -5613,6 +5638,27 @@ var openapi_default = {
5613
5638
  required: ["message", "warning_code"],
5614
5639
  type: "object"
5615
5640
  },
5641
+ {
5642
+ description: "Duplicate access code name detected.",
5643
+ properties: {
5644
+ created_at: {
5645
+ description: "Date and time at which Seam created the warning.",
5646
+ format: "date-time",
5647
+ type: "string"
5648
+ },
5649
+ message: {
5650
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
5651
+ type: "string"
5652
+ },
5653
+ warning_code: {
5654
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
5655
+ enum: ["schlage_detected_duplicate_code_name"],
5656
+ type: "string"
5657
+ }
5658
+ },
5659
+ required: ["message", "warning_code"],
5660
+ type: "object"
5661
+ },
5616
5662
  {
5617
5663
  description: "Received an error when attempting to create this code.",
5618
5664
  properties: {
@@ -10195,6 +10241,100 @@ var openapi_default = {
10195
10241
  ],
10196
10242
  type: "object"
10197
10243
  },
10244
+ {
10245
+ description: "Pushing thermostat weekly programs.",
10246
+ properties: {
10247
+ action_attempt_id: {
10248
+ description: "ID of the action attempt.",
10249
+ format: "uuid",
10250
+ type: "string"
10251
+ },
10252
+ action_type: {
10253
+ enum: ["PUSH_THERMOSTAT_PROGRAMS"],
10254
+ type: "string"
10255
+ },
10256
+ error: {
10257
+ description: "Errors associated with the action attempt. Null for pending action attempts.",
10258
+ nullable: true
10259
+ },
10260
+ result: {
10261
+ description: "Result of the action attempt. Null for pending action attempts.",
10262
+ nullable: true
10263
+ },
10264
+ status: { enum: ["pending"], type: "string" }
10265
+ },
10266
+ required: [
10267
+ "action_attempt_id",
10268
+ "status",
10269
+ "result",
10270
+ "error",
10271
+ "action_type"
10272
+ ],
10273
+ type: "object"
10274
+ },
10275
+ {
10276
+ description: "Pushing thermostat weekly programs succeeded.",
10277
+ properties: {
10278
+ action_attempt_id: {
10279
+ description: "ID of the action attempt.",
10280
+ format: "uuid",
10281
+ type: "string"
10282
+ },
10283
+ action_type: {
10284
+ enum: ["PUSH_THERMOSTAT_PROGRAMS"],
10285
+ type: "string"
10286
+ },
10287
+ error: {
10288
+ description: "Errors associated with the action attempt. Null for successful action attempts.",
10289
+ nullable: true
10290
+ },
10291
+ result: { properties: {}, type: "object" },
10292
+ status: { enum: ["success"], type: "string" }
10293
+ },
10294
+ required: [
10295
+ "action_attempt_id",
10296
+ "status",
10297
+ "error",
10298
+ "action_type",
10299
+ "result"
10300
+ ],
10301
+ type: "object"
10302
+ },
10303
+ {
10304
+ description: "Pushing thermostat weekly programs failed.",
10305
+ properties: {
10306
+ action_attempt_id: {
10307
+ description: "ID of the action attempt.",
10308
+ format: "uuid",
10309
+ type: "string"
10310
+ },
10311
+ action_type: {
10312
+ enum: ["PUSH_THERMOSTAT_PROGRAMS"],
10313
+ type: "string"
10314
+ },
10315
+ error: {
10316
+ properties: {
10317
+ message: { type: "string" },
10318
+ type: { type: "string" }
10319
+ },
10320
+ required: ["type", "message"],
10321
+ type: "object"
10322
+ },
10323
+ result: {
10324
+ description: "Result of the action attempt. Null for failed action attempts.",
10325
+ nullable: true
10326
+ },
10327
+ status: { enum: ["error"], type: "string" }
10328
+ },
10329
+ required: [
10330
+ "action_attempt_id",
10331
+ "status",
10332
+ "result",
10333
+ "action_type",
10334
+ "error"
10335
+ ],
10336
+ type: "object"
10337
+ },
10198
10338
  {
10199
10339
  properties: {
10200
10340
  action_attempt_id: {
@@ -19325,6 +19465,27 @@ var openapi_default = {
19325
19465
  required: ["message", "warning_code"],
19326
19466
  type: "object"
19327
19467
  },
19468
+ {
19469
+ description: "Duplicate access code name detected.",
19470
+ properties: {
19471
+ created_at: {
19472
+ description: "Date and time at which Seam created the warning.",
19473
+ format: "date-time",
19474
+ type: "string"
19475
+ },
19476
+ message: {
19477
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
19478
+ type: "string"
19479
+ },
19480
+ warning_code: {
19481
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
19482
+ enum: ["schlage_detected_duplicate_code_name"],
19483
+ type: "string"
19484
+ }
19485
+ },
19486
+ required: ["message", "warning_code"],
19487
+ type: "object"
19488
+ },
19328
19489
  {
19329
19490
  description: "Received an error when attempting to create this code.",
19330
19491
  properties: {
@@ -32349,77 +32510,12 @@ var openapi_default = {
32349
32510
  "application/json": {
32350
32511
  schema: {
32351
32512
  properties: {
32352
- ok: { type: "boolean" },
32353
- thermostat_weekly_program: {
32354
- properties: {
32355
- created_at: {
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
- }
32513
+ action_attempt: {
32514
+ $ref: "#/components/schemas/action_attempt"
32515
+ },
32516
+ ok: { type: "boolean" }
32421
32517
  },
32422
- required: ["thermostat_weekly_program", "ok"],
32518
+ required: ["action_attempt", "ok"],
32423
32519
  type: "object"
32424
32520
  }
32425
32521
  }
@@ -32437,10 +32533,11 @@ var openapi_default = {
32437
32533
  ],
32438
32534
  summary: "/thermostats/activate_weekly_program",
32439
32535
  tags: ["/thermostats"],
32536
+ "x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
32440
32537
  "x-fern-sdk-group-name": ["thermostats"],
32441
32538
  "x-fern-sdk-method-name": "activate_weekly_program",
32442
- "x-fern-sdk-return-value": "thermostat_weekly_program",
32443
- "x-response-key": "thermostat_weekly_program",
32539
+ "x-fern-sdk-return-value": "action_attempt",
32540
+ "x-response-key": "action_attempt",
32444
32541
  "x-title": "Activate a Thermostat Weekly Program",
32445
32542
  "x-undocumented": "Unreleased."
32446
32543
  }
@@ -32471,8 +32568,13 @@ var openapi_default = {
32471
32568
  content: {
32472
32569
  "application/json": {
32473
32570
  schema: {
32474
- properties: { ok: { type: "boolean" } },
32475
- required: ["ok"],
32571
+ properties: {
32572
+ action_attempt: {
32573
+ $ref: "#/components/schemas/action_attempt"
32574
+ },
32575
+ ok: { type: "boolean" }
32576
+ },
32577
+ required: ["action_attempt", "ok"],
32476
32578
  type: "object"
32477
32579
  }
32478
32580
  }
@@ -32490,9 +32592,11 @@ var openapi_default = {
32490
32592
  ],
32491
32593
  summary: "/thermostats/clear_weekly_program",
32492
32594
  tags: ["/thermostats"],
32595
+ "x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
32493
32596
  "x-fern-sdk-group-name": ["thermostats"],
32494
32597
  "x-fern-sdk-method-name": "clear_weekly_program",
32495
- "x-response-key": null,
32598
+ "x-fern-sdk-return-value": "action_attempt",
32599
+ "x-response-key": "action_attempt",
32496
32600
  "x-title": "Clear a Thermostat Weekly Program",
32497
32601
  "x-undocumented": "Unreleased."
32498
32602
  }
@@ -32896,8 +33000,13 @@ var openapi_default = {
32896
33000
  content: {
32897
33001
  "application/json": {
32898
33002
  schema: {
32899
- properties: { ok: { type: "boolean" } },
32900
- required: ["ok"],
33003
+ properties: {
33004
+ action_attempt: {
33005
+ $ref: "#/components/schemas/action_attempt"
33006
+ },
33007
+ ok: { type: "boolean" }
33008
+ },
33009
+ required: ["action_attempt", "ok"],
32901
33010
  type: "object"
32902
33011
  }
32903
33012
  }
@@ -32915,8 +33024,9 @@ var openapi_default = {
32915
33024
  ],
32916
33025
  summary: "/thermostats/daily_programs/update",
32917
33026
  tags: ["/thermostats"],
33027
+ "x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
32918
33028
  "x-fern-ignore": true,
32919
- "x-response-key": null,
33029
+ "x-response-key": "action_attempt",
32920
33030
  "x-title": "Update a Thermostat Daily Program",
32921
33031
  "x-undocumented": "Unreleased."
32922
33032
  },
@@ -32968,8 +33078,13 @@ var openapi_default = {
32968
33078
  content: {
32969
33079
  "application/json": {
32970
33080
  schema: {
32971
- properties: { ok: { type: "boolean" } },
32972
- required: ["ok"],
33081
+ properties: {
33082
+ action_attempt: {
33083
+ $ref: "#/components/schemas/action_attempt"
33084
+ },
33085
+ ok: { type: "boolean" }
33086
+ },
33087
+ required: ["action_attempt", "ok"],
32973
33088
  type: "object"
32974
33089
  }
32975
33090
  }
@@ -32987,9 +33102,11 @@ var openapi_default = {
32987
33102
  ],
32988
33103
  summary: "/thermostats/daily_programs/update",
32989
33104
  tags: ["/thermostats"],
33105
+ "x-action-attempt-type": "PUSH_THERMOSTAT_PROGRAMS",
32990
33106
  "x-fern-sdk-group-name": ["thermostats", "daily_programs"],
32991
33107
  "x-fern-sdk-method-name": "update",
32992
- "x-response-key": null,
33108
+ "x-fern-sdk-return-value": "action_attempt",
33109
+ "x-response-key": "action_attempt",
32993
33110
  "x-title": "Update a Thermostat Daily Program",
32994
33111
  "x-undocumented": "Unreleased."
32995
33112
  }