@seamapi/types 1.310.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.
Files changed (29) hide show
  1. package/dist/connect.cjs +14 -389
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +0 -2328
  4. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +0 -312
  5. package/lib/seam/connect/models/action-attempts/action-attempt.js +0 -8
  6. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  7. package/lib/seam/connect/openapi.js +0 -304
  8. package/lib/seam/connect/openapi.js.map +1 -1
  9. package/lib/seam/connect/route-types.d.ts +12 -2028
  10. package/package.json +1 -1
  11. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +0 -8
  12. package/src/lib/seam/connect/openapi.ts +0 -304
  13. package/src/lib/seam/connect/route-types.ts +0 -2268
  14. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +0 -80
  15. package/lib/seam/connect/models/action-attempts/set-cool.js +0 -25
  16. package/lib/seam/connect/models/action-attempts/set-cool.js.map +0 -1
  17. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +0 -80
  18. package/lib/seam/connect/models/action-attempts/set-heat-cool.js +0 -25
  19. package/lib/seam/connect/models/action-attempts/set-heat-cool.js.map +0 -1
  20. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +0 -80
  21. package/lib/seam/connect/models/action-attempts/set-heat.js +0 -25
  22. package/lib/seam/connect/models/action-attempts/set-heat.js.map +0 -1
  23. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +0 -80
  24. package/lib/seam/connect/models/action-attempts/set-thermostat-off.js +0 -25
  25. package/lib/seam/connect/models/action-attempts/set-thermostat-off.js.map +0 -1
  26. package/src/lib/seam/connect/models/action-attempts/set-cool.ts +0 -33
  27. package/src/lib/seam/connect/models/action-attempts/set-heat-cool.ts +0 -33
  28. package/src/lib/seam/connect/models/action-attempts/set-heat.ts +0 -33
  29. package/src/lib/seam/connect/models/action-attempts/set-thermostat-off.ts +0 -36
@@ -2218,240 +2218,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
2218
2218
  status: z.ZodLiteral<"pending">;
2219
2219
  result: z.ZodNull;
2220
2220
  error: z.ZodNull;
2221
- }>, {
2222
- action_type: z.ZodLiteral<"SET_COOL">;
2223
- }>, "strip", z.ZodTypeAny, {
2224
- error: null;
2225
- status: "pending";
2226
- action_attempt_id: string;
2227
- result: null;
2228
- action_type: "SET_COOL";
2229
- }, {
2230
- error: null;
2231
- status: "pending";
2232
- action_attempt_id: string;
2233
- result: null;
2234
- action_type: "SET_COOL";
2235
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2236
- action_attempt_id: z.ZodString;
2237
- status: z.ZodEnum<["pending", "success", "error"]>;
2238
- }, {
2239
- status: z.ZodLiteral<"success">;
2240
- error: z.ZodNull;
2241
- }>, {
2242
- action_type: z.ZodLiteral<"SET_COOL">;
2243
- result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2244
- }>, "strip", z.ZodTypeAny, {
2245
- error: null;
2246
- status: "success";
2247
- action_attempt_id: string;
2248
- result: {};
2249
- action_type: "SET_COOL";
2250
- }, {
2251
- error: null;
2252
- status: "success";
2253
- action_attempt_id: string;
2254
- result: {};
2255
- action_type: "SET_COOL";
2256
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2257
- action_attempt_id: z.ZodString;
2258
- status: z.ZodEnum<["pending", "success", "error"]>;
2259
- }, {
2260
- status: z.ZodLiteral<"error">;
2261
- result: z.ZodNull;
2262
- }>, {
2263
- action_type: z.ZodLiteral<"SET_COOL">;
2264
- error: z.ZodObject<{
2265
- type: z.ZodString;
2266
- message: z.ZodString;
2267
- }, "strip", z.ZodTypeAny, {
2268
- type: string;
2269
- message: string;
2270
- }, {
2271
- type: string;
2272
- message: string;
2273
- }>;
2274
- }>, "strip", z.ZodTypeAny, {
2275
- error: {
2276
- type: string;
2277
- message: string;
2278
- };
2279
- status: "error";
2280
- action_attempt_id: string;
2281
- result: null;
2282
- action_type: "SET_COOL";
2283
- }, {
2284
- error: {
2285
- type: string;
2286
- message: string;
2287
- };
2288
- status: "error";
2289
- action_attempt_id: string;
2290
- result: null;
2291
- action_type: "SET_COOL";
2292
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2293
- action_attempt_id: z.ZodString;
2294
- status: z.ZodEnum<["pending", "success", "error"]>;
2295
- }, {
2296
- status: z.ZodLiteral<"pending">;
2297
- result: z.ZodNull;
2298
- error: z.ZodNull;
2299
- }>, {
2300
- action_type: z.ZodLiteral<"SET_HEAT">;
2301
- }>, "strip", z.ZodTypeAny, {
2302
- error: null;
2303
- status: "pending";
2304
- action_attempt_id: string;
2305
- result: null;
2306
- action_type: "SET_HEAT";
2307
- }, {
2308
- error: null;
2309
- status: "pending";
2310
- action_attempt_id: string;
2311
- result: null;
2312
- action_type: "SET_HEAT";
2313
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2314
- action_attempt_id: z.ZodString;
2315
- status: z.ZodEnum<["pending", "success", "error"]>;
2316
- }, {
2317
- status: z.ZodLiteral<"success">;
2318
- error: z.ZodNull;
2319
- }>, {
2320
- action_type: z.ZodLiteral<"SET_HEAT">;
2321
- result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2322
- }>, "strip", z.ZodTypeAny, {
2323
- error: null;
2324
- status: "success";
2325
- action_attempt_id: string;
2326
- result: {};
2327
- action_type: "SET_HEAT";
2328
- }, {
2329
- error: null;
2330
- status: "success";
2331
- action_attempt_id: string;
2332
- result: {};
2333
- action_type: "SET_HEAT";
2334
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2335
- action_attempt_id: z.ZodString;
2336
- status: z.ZodEnum<["pending", "success", "error"]>;
2337
- }, {
2338
- status: z.ZodLiteral<"error">;
2339
- result: z.ZodNull;
2340
- }>, {
2341
- action_type: z.ZodLiteral<"SET_HEAT">;
2342
- error: z.ZodObject<{
2343
- type: z.ZodString;
2344
- message: z.ZodString;
2345
- }, "strip", z.ZodTypeAny, {
2346
- type: string;
2347
- message: string;
2348
- }, {
2349
- type: string;
2350
- message: string;
2351
- }>;
2352
- }>, "strip", z.ZodTypeAny, {
2353
- error: {
2354
- type: string;
2355
- message: string;
2356
- };
2357
- status: "error";
2358
- action_attempt_id: string;
2359
- result: null;
2360
- action_type: "SET_HEAT";
2361
- }, {
2362
- error: {
2363
- type: string;
2364
- message: string;
2365
- };
2366
- status: "error";
2367
- action_attempt_id: string;
2368
- result: null;
2369
- action_type: "SET_HEAT";
2370
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2371
- action_attempt_id: z.ZodString;
2372
- status: z.ZodEnum<["pending", "success", "error"]>;
2373
- }, {
2374
- status: z.ZodLiteral<"pending">;
2375
- result: z.ZodNull;
2376
- error: z.ZodNull;
2377
- }>, {
2378
- action_type: z.ZodLiteral<"SET_HEAT_COOL">;
2379
- }>, "strip", z.ZodTypeAny, {
2380
- error: null;
2381
- status: "pending";
2382
- action_attempt_id: string;
2383
- result: null;
2384
- action_type: "SET_HEAT_COOL";
2385
- }, {
2386
- error: null;
2387
- status: "pending";
2388
- action_attempt_id: string;
2389
- result: null;
2390
- action_type: "SET_HEAT_COOL";
2391
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2392
- action_attempt_id: z.ZodString;
2393
- status: z.ZodEnum<["pending", "success", "error"]>;
2394
- }, {
2395
- status: z.ZodLiteral<"success">;
2396
- error: z.ZodNull;
2397
- }>, {
2398
- action_type: z.ZodLiteral<"SET_HEAT_COOL">;
2399
- result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2400
- }>, "strip", z.ZodTypeAny, {
2401
- error: null;
2402
- status: "success";
2403
- action_attempt_id: string;
2404
- result: {};
2405
- action_type: "SET_HEAT_COOL";
2406
- }, {
2407
- error: null;
2408
- status: "success";
2409
- action_attempt_id: string;
2410
- result: {};
2411
- action_type: "SET_HEAT_COOL";
2412
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2413
- action_attempt_id: z.ZodString;
2414
- status: z.ZodEnum<["pending", "success", "error"]>;
2415
- }, {
2416
- status: z.ZodLiteral<"error">;
2417
- result: z.ZodNull;
2418
- }>, {
2419
- action_type: z.ZodLiteral<"SET_HEAT_COOL">;
2420
- error: z.ZodObject<{
2421
- type: z.ZodString;
2422
- message: z.ZodString;
2423
- }, "strip", z.ZodTypeAny, {
2424
- type: string;
2425
- message: string;
2426
- }, {
2427
- type: string;
2428
- message: string;
2429
- }>;
2430
- }>, "strip", z.ZodTypeAny, {
2431
- error: {
2432
- type: string;
2433
- message: string;
2434
- };
2435
- status: "error";
2436
- action_attempt_id: string;
2437
- result: null;
2438
- action_type: "SET_HEAT_COOL";
2439
- }, {
2440
- error: {
2441
- type: string;
2442
- message: string;
2443
- };
2444
- status: "error";
2445
- action_attempt_id: string;
2446
- result: null;
2447
- action_type: "SET_HEAT_COOL";
2448
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2449
- action_attempt_id: z.ZodString;
2450
- status: z.ZodEnum<["pending", "success", "error"]>;
2451
- }, {
2452
- status: z.ZodLiteral<"pending">;
2453
- result: z.ZodNull;
2454
- error: z.ZodNull;
2455
2221
  }>, {
2456
2222
  action_type: z.ZodLiteral<"SET_FAN_MODE">;
2457
2223
  }>, "strip", z.ZodTypeAny, {
@@ -2530,84 +2296,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
2530
2296
  status: z.ZodLiteral<"pending">;
2531
2297
  result: z.ZodNull;
2532
2298
  error: z.ZodNull;
2533
- }>, {
2534
- action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
2535
- }>, "strip", z.ZodTypeAny, {
2536
- error: null;
2537
- status: "pending";
2538
- action_attempt_id: string;
2539
- result: null;
2540
- action_type: "SET_THERMOSTAT_OFF";
2541
- }, {
2542
- error: null;
2543
- status: "pending";
2544
- action_attempt_id: string;
2545
- result: null;
2546
- action_type: "SET_THERMOSTAT_OFF";
2547
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2548
- action_attempt_id: z.ZodString;
2549
- status: z.ZodEnum<["pending", "success", "error"]>;
2550
- }, {
2551
- status: z.ZodLiteral<"success">;
2552
- error: z.ZodNull;
2553
- }>, {
2554
- action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
2555
- result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2556
- }>, "strip", z.ZodTypeAny, {
2557
- error: null;
2558
- status: "success";
2559
- action_attempt_id: string;
2560
- result: {};
2561
- action_type: "SET_THERMOSTAT_OFF";
2562
- }, {
2563
- error: null;
2564
- status: "success";
2565
- action_attempt_id: string;
2566
- result: {};
2567
- action_type: "SET_THERMOSTAT_OFF";
2568
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2569
- action_attempt_id: z.ZodString;
2570
- status: z.ZodEnum<["pending", "success", "error"]>;
2571
- }, {
2572
- status: z.ZodLiteral<"error">;
2573
- result: z.ZodNull;
2574
- }>, {
2575
- action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
2576
- error: z.ZodObject<{
2577
- type: z.ZodString;
2578
- message: z.ZodString;
2579
- }, "strip", z.ZodTypeAny, {
2580
- type: string;
2581
- message: string;
2582
- }, {
2583
- type: string;
2584
- message: string;
2585
- }>;
2586
- }>, "strip", z.ZodTypeAny, {
2587
- error: {
2588
- type: string;
2589
- message: string;
2590
- };
2591
- status: "error";
2592
- action_attempt_id: string;
2593
- result: null;
2594
- action_type: "SET_THERMOSTAT_OFF";
2595
- }, {
2596
- error: {
2597
- type: string;
2598
- message: string;
2599
- };
2600
- status: "error";
2601
- action_attempt_id: string;
2602
- result: null;
2603
- action_type: "SET_THERMOSTAT_OFF";
2604
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2605
- action_attempt_id: z.ZodString;
2606
- status: z.ZodEnum<["pending", "success", "error"]>;
2607
- }, {
2608
- status: z.ZodLiteral<"pending">;
2609
- result: z.ZodNull;
2610
- error: z.ZodNull;
2611
2299
  }>, {
2612
2300
  action_type: z.ZodLiteral<"SET_HVAC_MODE">;
2613
2301
  }>, "strip", z.ZodTypeAny, {
@@ -5,12 +5,8 @@ import { encode_credential_action_attempt } from './encode-credential.js';
5
5
  import { lock_door_action_attempt } from './lock-door.js';
6
6
  import { reset_sandbox_workspace_action_attempt } from './reset-sandbox-workspace.js';
7
7
  import { scan_credential_action_attempt } from './scan-credential.js';
8
- import { set_cool_action_attempt } from './set-cool.js';
9
8
  import { set_fan_mode_action_attempt } from './set-fan-mode.js';
10
- import { set_heat_action_attempt } from './set-heat.js';
11
- import { set_heat_cool_action_attempt } from './set-heat-cool.js';
12
9
  import { set_hvac_mode_action_attempt } from './set-hvac-mode.js';
13
- import { set_thermostat_off_action_attempt } from './set-thermostat-off.js';
14
10
  import { unlock_door_action_attempt } from './unlock-door.js';
15
11
  export const action_attempt = z.union([
16
12
  ...lock_door_action_attempt.options,
@@ -18,11 +14,7 @@ export const action_attempt = z.union([
18
14
  ...scan_credential_action_attempt.options,
19
15
  ...encode_credential_action_attempt.options,
20
16
  ...reset_sandbox_workspace_action_attempt.options,
21
- ...set_cool_action_attempt.options,
22
- ...set_heat_action_attempt.options,
23
- ...set_heat_cool_action_attempt.options,
24
17
  ...set_fan_mode_action_attempt.options,
25
- ...set_thermostat_off_action_attempt.options,
26
18
  ...set_hvac_mode_action_attempt.options,
27
19
  ...activate_climate_preset_action_attempt.options,
28
20
  ...deprecated_action_attempts,
@@ -1 +1 @@
1
- {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,uBAAuB,CAAC,OAAO;IAClC,GAAG,uBAAuB,CAAC,OAAO;IAClC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,0BAA0B;CAC9B,CAAC,CAAA"}
1
+ {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,0BAA0B;CAC9B,CAAC,CAAA"}
@@ -2877,234 +2877,6 @@ export default {
2877
2877
  ],
2878
2878
  type: 'object',
2879
2879
  },
2880
- {
2881
- description: 'Setting HVAC to cool.',
2882
- properties: {
2883
- action_attempt_id: {
2884
- description: 'The ID of the action attempt.',
2885
- format: 'uuid',
2886
- type: 'string',
2887
- 'x-title': 'Action Attempt ID',
2888
- },
2889
- action_type: { enum: ['SET_COOL'], type: 'string' },
2890
- error: { nullable: true },
2891
- result: { nullable: true },
2892
- status: { enum: ['pending'], type: 'string' },
2893
- },
2894
- required: [
2895
- 'action_attempt_id',
2896
- 'status',
2897
- 'result',
2898
- 'error',
2899
- 'action_type',
2900
- ],
2901
- type: 'object',
2902
- },
2903
- {
2904
- description: 'Setting HVAC to cool succeeded.',
2905
- properties: {
2906
- action_attempt_id: {
2907
- description: 'The ID of the action attempt.',
2908
- format: 'uuid',
2909
- type: 'string',
2910
- 'x-title': 'Action Attempt ID',
2911
- },
2912
- action_type: { enum: ['SET_COOL'], type: 'string' },
2913
- error: { nullable: true },
2914
- result: { properties: {}, type: 'object' },
2915
- status: { enum: ['success'], type: 'string' },
2916
- },
2917
- required: [
2918
- 'action_attempt_id',
2919
- 'status',
2920
- 'error',
2921
- 'action_type',
2922
- 'result',
2923
- ],
2924
- type: 'object',
2925
- },
2926
- {
2927
- description: 'Setting HVAC to cool failed.',
2928
- properties: {
2929
- action_attempt_id: {
2930
- description: 'The ID of the action attempt.',
2931
- format: 'uuid',
2932
- type: 'string',
2933
- 'x-title': 'Action Attempt ID',
2934
- },
2935
- action_type: { enum: ['SET_COOL'], type: 'string' },
2936
- error: {
2937
- properties: {
2938
- message: { type: 'string' },
2939
- type: { type: 'string' },
2940
- },
2941
- required: ['type', 'message'],
2942
- type: 'object',
2943
- },
2944
- result: { nullable: true },
2945
- status: { enum: ['error'], type: 'string' },
2946
- },
2947
- required: [
2948
- 'action_attempt_id',
2949
- 'status',
2950
- 'result',
2951
- 'action_type',
2952
- 'error',
2953
- ],
2954
- type: 'object',
2955
- },
2956
- {
2957
- description: 'Setting HVAC to heat mode.',
2958
- properties: {
2959
- action_attempt_id: {
2960
- description: 'The ID of the action attempt.',
2961
- format: 'uuid',
2962
- type: 'string',
2963
- 'x-title': 'Action Attempt ID',
2964
- },
2965
- action_type: { enum: ['SET_HEAT'], type: 'string' },
2966
- error: { nullable: true },
2967
- result: { nullable: true },
2968
- status: { enum: ['pending'], type: 'string' },
2969
- },
2970
- required: [
2971
- 'action_attempt_id',
2972
- 'status',
2973
- 'result',
2974
- 'error',
2975
- 'action_type',
2976
- ],
2977
- type: 'object',
2978
- },
2979
- {
2980
- description: 'Setting HVAC to heat mode succeeded.',
2981
- properties: {
2982
- action_attempt_id: {
2983
- description: 'The ID of the action attempt.',
2984
- format: 'uuid',
2985
- type: 'string',
2986
- 'x-title': 'Action Attempt ID',
2987
- },
2988
- action_type: { enum: ['SET_HEAT'], type: 'string' },
2989
- error: { nullable: true },
2990
- result: { properties: {}, type: 'object' },
2991
- status: { enum: ['success'], type: 'string' },
2992
- },
2993
- required: [
2994
- 'action_attempt_id',
2995
- 'status',
2996
- 'error',
2997
- 'action_type',
2998
- 'result',
2999
- ],
3000
- type: 'object',
3001
- },
3002
- {
3003
- description: 'Setting HVAC to heat mode failed.',
3004
- properties: {
3005
- action_attempt_id: {
3006
- description: 'The ID of the action attempt.',
3007
- format: 'uuid',
3008
- type: 'string',
3009
- 'x-title': 'Action Attempt ID',
3010
- },
3011
- action_type: { enum: ['SET_HEAT'], type: 'string' },
3012
- error: {
3013
- properties: {
3014
- message: { type: 'string' },
3015
- type: { type: 'string' },
3016
- },
3017
- required: ['type', 'message'],
3018
- type: 'object',
3019
- },
3020
- result: { nullable: true },
3021
- status: { enum: ['error'], type: 'string' },
3022
- },
3023
- required: [
3024
- 'action_attempt_id',
3025
- 'status',
3026
- 'result',
3027
- 'action_type',
3028
- 'error',
3029
- ],
3030
- type: 'object',
3031
- },
3032
- {
3033
- description: 'Setting HVAC to heat-cool mode.',
3034
- properties: {
3035
- action_attempt_id: {
3036
- description: 'The ID of the action attempt.',
3037
- format: 'uuid',
3038
- type: 'string',
3039
- 'x-title': 'Action Attempt ID',
3040
- },
3041
- action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
3042
- error: { nullable: true },
3043
- result: { nullable: true },
3044
- status: { enum: ['pending'], type: 'string' },
3045
- },
3046
- required: [
3047
- 'action_attempt_id',
3048
- 'status',
3049
- 'result',
3050
- 'error',
3051
- 'action_type',
3052
- ],
3053
- type: 'object',
3054
- },
3055
- {
3056
- description: 'Setting HVAC to heat-cool mode succeeded.',
3057
- properties: {
3058
- action_attempt_id: {
3059
- description: 'The ID of the action attempt.',
3060
- format: 'uuid',
3061
- type: 'string',
3062
- 'x-title': 'Action Attempt ID',
3063
- },
3064
- action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
3065
- error: { nullable: true },
3066
- result: { properties: {}, type: 'object' },
3067
- status: { enum: ['success'], type: 'string' },
3068
- },
3069
- required: [
3070
- 'action_attempt_id',
3071
- 'status',
3072
- 'error',
3073
- 'action_type',
3074
- 'result',
3075
- ],
3076
- type: 'object',
3077
- },
3078
- {
3079
- description: 'Setting heat-cool mode failed.',
3080
- properties: {
3081
- action_attempt_id: {
3082
- description: 'The ID of the action attempt.',
3083
- format: 'uuid',
3084
- type: 'string',
3085
- 'x-title': 'Action Attempt ID',
3086
- },
3087
- action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
3088
- error: {
3089
- properties: {
3090
- message: { type: 'string' },
3091
- type: { type: 'string' },
3092
- },
3093
- required: ['type', 'message'],
3094
- type: 'object',
3095
- },
3096
- result: { nullable: true },
3097
- status: { enum: ['error'], type: 'string' },
3098
- },
3099
- required: [
3100
- 'action_attempt_id',
3101
- 'status',
3102
- 'result',
3103
- 'action_type',
3104
- 'error',
3105
- ],
3106
- type: 'object',
3107
- },
3108
2880
  {
3109
2881
  description: 'Setting fan mode.',
3110
2882
  properties: {
@@ -3181,82 +2953,6 @@ export default {
3181
2953
  ],
3182
2954
  type: 'object',
3183
2955
  },
3184
- {
3185
- description: 'Turning HVAC off.',
3186
- properties: {
3187
- action_attempt_id: {
3188
- description: 'The ID of the action attempt.',
3189
- format: 'uuid',
3190
- type: 'string',
3191
- 'x-title': 'Action Attempt ID',
3192
- },
3193
- action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
3194
- error: { nullable: true },
3195
- result: { nullable: true },
3196
- status: { enum: ['pending'], type: 'string' },
3197
- },
3198
- required: [
3199
- 'action_attempt_id',
3200
- 'status',
3201
- 'result',
3202
- 'error',
3203
- 'action_type',
3204
- ],
3205
- type: 'object',
3206
- },
3207
- {
3208
- description: 'Turning HVAC off succeeded.',
3209
- properties: {
3210
- action_attempt_id: {
3211
- description: 'The ID of the action attempt.',
3212
- format: 'uuid',
3213
- type: 'string',
3214
- 'x-title': 'Action Attempt ID',
3215
- },
3216
- action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
3217
- error: { nullable: true },
3218
- result: { properties: {}, type: 'object' },
3219
- status: { enum: ['success'], type: 'string' },
3220
- },
3221
- required: [
3222
- 'action_attempt_id',
3223
- 'status',
3224
- 'error',
3225
- 'action_type',
3226
- 'result',
3227
- ],
3228
- type: 'object',
3229
- },
3230
- {
3231
- description: 'Turning HVAC off failed.',
3232
- properties: {
3233
- action_attempt_id: {
3234
- description: 'The ID of the action attempt.',
3235
- format: 'uuid',
3236
- type: 'string',
3237
- 'x-title': 'Action Attempt ID',
3238
- },
3239
- action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
3240
- error: {
3241
- properties: {
3242
- message: { type: 'string' },
3243
- type: { type: 'string' },
3244
- },
3245
- required: ['type', 'message'],
3246
- type: 'object',
3247
- },
3248
- result: { nullable: true },
3249
- status: { enum: ['error'], type: 'string' },
3250
- },
3251
- required: [
3252
- 'action_attempt_id',
3253
- 'status',
3254
- 'result',
3255
- 'action_type',
3256
- 'error',
3257
- ],
3258
- type: 'object',
3259
- },
3260
2956
  {
3261
2957
  description: 'Setting HVAC mode.',
3262
2958
  properties: {