@seamapi/types 1.240.0 → 1.241.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 (62) hide show
  1. package/dist/connect.cjs +1347 -768
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +3569 -1426
  4. package/dist/devicedb.d.cts +30 -30
  5. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  6. package/lib/seam/connect/internal/schemas.js +1 -1
  7. package/lib/seam/connect/internal/schemas.js.map +1 -1
  8. package/lib/seam/connect/model-types.d.ts +1 -1
  9. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
  10. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +1 -1
  11. package/lib/seam/connect/models/acs/acs-user.d.ts +231 -28
  12. package/lib/seam/connect/models/acs/acs-user.js +61 -13
  13. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  14. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +78 -0
  15. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
  16. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  17. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +80 -0
  18. package/lib/seam/connect/models/action-attempts/activate-climate-preset.js +25 -0
  19. package/lib/seam/connect/models/action-attempts/activate-climate-preset.js.map +1 -0
  20. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +185 -83
  21. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +185 -83
  22. package/lib/seam/connect/models/devices/capability-properties/thermostat.js +15 -6
  23. package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
  24. package/lib/seam/connect/models/devices/device.d.ts +263 -119
  25. package/lib/seam/connect/models/devices/phone.d.ts +187 -85
  26. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +185 -83
  27. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +83 -0
  28. package/lib/seam/connect/models/thermostats/climate-preset.js +18 -0
  29. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -0
  30. package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +18 -34
  31. package/lib/seam/connect/models/thermostats/climate-setting-schedule.js +8 -10
  32. package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +1 -1
  33. package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
  34. package/lib/seam/connect/models/thermostats/index.js +1 -1
  35. package/lib/seam/connect/models/thermostats/index.js.map +1 -1
  36. package/lib/seam/connect/openapi.d.ts +1000 -569
  37. package/lib/seam/connect/openapi.js +1188 -681
  38. package/lib/seam/connect/openapi.js.map +1 -1
  39. package/lib/seam/connect/route-types.d.ts +1738 -460
  40. package/lib/seam/connect/schemas.d.ts +1 -1
  41. package/lib/seam/connect/schemas.js +1 -1
  42. package/lib/seam/connect/schemas.js.map +1 -1
  43. package/lib/seam/devicedb/models/device-model.d.ts +8 -8
  44. package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
  45. package/lib/seam/devicedb/route-specs.d.ts +20 -20
  46. package/package.json +2 -2
  47. package/src/lib/seam/connect/internal/schemas.ts +2 -2
  48. package/src/lib/seam/connect/model-types.ts +1 -1
  49. package/src/lib/seam/connect/models/acs/acs-user.ts +86 -19
  50. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  51. package/src/lib/seam/connect/models/action-attempts/activate-climate-preset.ts +36 -0
  52. package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +16 -6
  53. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +24 -0
  54. package/src/lib/seam/connect/models/thermostats/climate-setting-schedule.ts +16 -19
  55. package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
  56. package/src/lib/seam/connect/openapi.ts +1216 -670
  57. package/src/lib/seam/connect/route-types.ts +2030 -505
  58. package/src/lib/seam/connect/schemas.ts +1 -1
  59. package/lib/seam/connect/models/thermostats/climate-setting.d.ts +0 -24
  60. package/lib/seam/connect/models/thermostats/climate-setting.js +0 -11
  61. package/lib/seam/connect/models/thermostats/climate-setting.js.map +0 -1
  62. package/src/lib/seam/connect/models/thermostats/climate-setting.ts +0 -14
@@ -714,7 +714,51 @@ declare const _default: {
714
714
  format: string;
715
715
  type: string;
716
716
  };
717
- errors: {};
717
+ errors: {
718
+ items: {
719
+ description: string;
720
+ oneOf: ({
721
+ description: string;
722
+ properties: {
723
+ created_at: {
724
+ description: string;
725
+ format: string;
726
+ type: string;
727
+ };
728
+ error_code: {
729
+ enum: string[];
730
+ type: string;
731
+ };
732
+ message: {
733
+ description: string;
734
+ type: string;
735
+ };
736
+ };
737
+ required: string[];
738
+ type: string;
739
+ } | {
740
+ properties: {
741
+ created_at: {
742
+ description: string;
743
+ format: string;
744
+ type: string;
745
+ };
746
+ error_code: {
747
+ enum: string[];
748
+ type: string;
749
+ };
750
+ message: {
751
+ description: string;
752
+ type: string;
753
+ };
754
+ };
755
+ required: string[];
756
+ type: string;
757
+ description?: never;
758
+ })[];
759
+ };
760
+ type: string;
761
+ };
718
762
  external_type: {
719
763
  enum: string[];
720
764
  type: string;
@@ -763,7 +807,9 @@ declare const _default: {
763
807
  };
764
808
  warnings: {
765
809
  items: {
766
- oneOf: {
810
+ description: string;
811
+ oneOf: ({
812
+ description: string;
767
813
  properties: {
768
814
  created_at: {
769
815
  format: string;
@@ -779,7 +825,24 @@ declare const _default: {
779
825
  };
780
826
  required: string[];
781
827
  type: string;
782
- }[];
828
+ } | {
829
+ properties: {
830
+ created_at: {
831
+ format: string;
832
+ type: string;
833
+ };
834
+ message: {
835
+ type: string;
836
+ };
837
+ warning_code: {
838
+ enum: string[];
839
+ type: string;
840
+ };
841
+ };
842
+ required: string[];
843
+ type: string;
844
+ description?: never;
845
+ })[];
783
846
  };
784
847
  type: string;
785
848
  };
@@ -1044,63 +1107,6 @@ declare const _default: {
1044
1107
  required: string[];
1045
1108
  type: string;
1046
1109
  };
1047
- climate_setting_schedule: {
1048
- properties: {
1049
- climate_setting_schedule_id: {
1050
- format: string;
1051
- type: string;
1052
- };
1053
- cooling_set_point_celsius: {
1054
- format: string;
1055
- type: string;
1056
- };
1057
- cooling_set_point_fahrenheit: {
1058
- format: string;
1059
- type: string;
1060
- };
1061
- created_at: {
1062
- format: string;
1063
- type: string;
1064
- };
1065
- device_id: {
1066
- format: string;
1067
- type: string;
1068
- };
1069
- errors: {
1070
- description: string;
1071
- };
1072
- heating_set_point_celsius: {
1073
- format: string;
1074
- type: string;
1075
- };
1076
- heating_set_point_fahrenheit: {
1077
- format: string;
1078
- type: string;
1079
- };
1080
- hvac_mode_setting: {
1081
- enum: string[];
1082
- type: string;
1083
- };
1084
- manual_override_allowed: {
1085
- type: string;
1086
- };
1087
- name: {
1088
- type: string;
1089
- };
1090
- schedule_ends_at: {
1091
- type: string;
1092
- };
1093
- schedule_starts_at: {
1094
- type: string;
1095
- };
1096
- schedule_type: {
1097
- enum: string[];
1098
- type: string;
1099
- };
1100
- };
1101
- required: string[];
1102
- type: string;
1103
- };
1104
1110
  connect_webview: {
1105
1111
  properties: {
1106
1112
  accepted_devices: {
@@ -2322,12 +2328,13 @@ declare const _default: {
2322
2328
  supports_backup_access_code_pool: {
2323
2329
  type: string;
2324
2330
  };
2325
- active_climate_setting_schedule?: never;
2331
+ active_thermostat_schedule?: never;
2332
+ available_climate_presets?: never;
2326
2333
  available_hvac_mode_settings?: never;
2327
2334
  current_climate_setting?: never;
2328
2335
  default_climate_setting?: never;
2336
+ fallback_climate_preset_key?: never;
2329
2337
  fan_mode_setting?: never;
2330
- is_climate_setting_schedule_active?: never;
2331
2338
  is_cooling?: never;
2332
2339
  is_fan_running?: never;
2333
2340
  is_heating?: never;
@@ -2349,18 +2356,11 @@ declare const _default: {
2349
2356
  type: string;
2350
2357
  } | {
2351
2358
  properties: {
2352
- active_climate_setting_schedule: {
2359
+ active_thermostat_schedule: {
2360
+ default: null;
2361
+ nullable: boolean;
2353
2362
  properties: {
2354
- climate_setting_schedule_id: {
2355
- format: string;
2356
- type: string;
2357
- };
2358
- cooling_set_point_celsius: {
2359
- format: string;
2360
- type: string;
2361
- };
2362
- cooling_set_point_fahrenheit: {
2363
- format: string;
2363
+ climate_preset_key: {
2364
2364
  type: string;
2365
2365
  };
2366
2366
  created_at: {
@@ -2371,41 +2371,85 @@ declare const _default: {
2371
2371
  format: string;
2372
2372
  type: string;
2373
2373
  };
2374
- errors: {
2375
- description: string;
2376
- };
2377
- heating_set_point_celsius: {
2378
- format: string;
2379
- type: string;
2380
- };
2381
- heating_set_point_fahrenheit: {
2374
+ ends_at: {
2382
2375
  format: string;
2383
2376
  type: string;
2384
2377
  };
2385
- hvac_mode_setting: {
2386
- enum: string[];
2387
- type: string;
2378
+ errors: {
2379
+ description: string;
2388
2380
  };
2389
- manual_override_allowed: {
2381
+ max_override_period_minutes: {
2382
+ default: number;
2383
+ minimum: number;
2390
2384
  type: string;
2391
2385
  };
2392
2386
  name: {
2393
2387
  type: string;
2394
2388
  };
2395
- schedule_ends_at: {
2396
- type: string;
2397
- };
2398
- schedule_starts_at: {
2389
+ starts_at: {
2390
+ format: string;
2399
2391
  type: string;
2400
2392
  };
2401
- schedule_type: {
2402
- enum: string[];
2393
+ thermostat_schedule_id: {
2394
+ format: string;
2403
2395
  type: string;
2404
2396
  };
2405
2397
  };
2406
2398
  required: string[];
2407
2399
  type: string;
2408
2400
  };
2401
+ available_climate_presets: {
2402
+ items: {
2403
+ properties: {
2404
+ can_delete: {
2405
+ type: string;
2406
+ };
2407
+ can_edit: {
2408
+ type: string;
2409
+ };
2410
+ climate_preset_key: {
2411
+ type: string;
2412
+ };
2413
+ cooling_set_point_celsius: {
2414
+ format: string;
2415
+ type: string;
2416
+ };
2417
+ cooling_set_point_fahrenheit: {
2418
+ format: string;
2419
+ type: string;
2420
+ };
2421
+ display_name: {
2422
+ type: string;
2423
+ };
2424
+ fan_mode_setting: {
2425
+ enum: string[];
2426
+ type: string;
2427
+ };
2428
+ heating_set_point_celsius: {
2429
+ format: string;
2430
+ type: string;
2431
+ };
2432
+ heating_set_point_fahrenheit: {
2433
+ format: string;
2434
+ type: string;
2435
+ };
2436
+ hvac_mode_setting: {
2437
+ enum: string[];
2438
+ type: string;
2439
+ };
2440
+ manual_override_allowed: {
2441
+ type: string;
2442
+ };
2443
+ name: {
2444
+ nullable: boolean;
2445
+ type: string;
2446
+ };
2447
+ };
2448
+ required: string[];
2449
+ type: string;
2450
+ };
2451
+ type: string;
2452
+ };
2409
2453
  available_hvac_mode_settings: {
2410
2454
  items: {
2411
2455
  enum: string[];
@@ -2415,6 +2459,15 @@ declare const _default: {
2415
2459
  };
2416
2460
  current_climate_setting: {
2417
2461
  properties: {
2462
+ can_delete: {
2463
+ type: string;
2464
+ };
2465
+ can_edit: {
2466
+ type: string;
2467
+ };
2468
+ climate_preset_key: {
2469
+ type: string;
2470
+ };
2418
2471
  cooling_set_point_celsius: {
2419
2472
  format: string;
2420
2473
  type: string;
@@ -2423,6 +2476,13 @@ declare const _default: {
2423
2476
  format: string;
2424
2477
  type: string;
2425
2478
  };
2479
+ display_name: {
2480
+ type: string;
2481
+ };
2482
+ fan_mode_setting: {
2483
+ enum: string[];
2484
+ type: string;
2485
+ };
2426
2486
  heating_set_point_celsius: {
2427
2487
  format: string;
2428
2488
  type: string;
@@ -2438,12 +2498,25 @@ declare const _default: {
2438
2498
  manual_override_allowed: {
2439
2499
  type: string;
2440
2500
  };
2501
+ name: {
2502
+ nullable: boolean;
2503
+ type: string;
2504
+ };
2441
2505
  };
2442
- required: string[];
2443
2506
  type: string;
2444
2507
  };
2445
2508
  default_climate_setting: {
2509
+ deprecated: boolean;
2446
2510
  properties: {
2511
+ can_delete: {
2512
+ type: string;
2513
+ };
2514
+ can_edit: {
2515
+ type: string;
2516
+ };
2517
+ climate_preset_key: {
2518
+ type: string;
2519
+ };
2447
2520
  cooling_set_point_celsius: {
2448
2521
  format: string;
2449
2522
  type: string;
@@ -2452,6 +2525,13 @@ declare const _default: {
2452
2525
  format: string;
2453
2526
  type: string;
2454
2527
  };
2528
+ display_name: {
2529
+ type: string;
2530
+ };
2531
+ fan_mode_setting: {
2532
+ enum: string[];
2533
+ type: string;
2534
+ };
2455
2535
  heating_set_point_celsius: {
2456
2536
  format: string;
2457
2537
  type: string;
@@ -2467,16 +2547,25 @@ declare const _default: {
2467
2547
  manual_override_allowed: {
2468
2548
  type: string;
2469
2549
  };
2550
+ name: {
2551
+ nullable: boolean;
2552
+ type: string;
2553
+ };
2470
2554
  };
2471
- required: string[];
2472
2555
  type: string;
2556
+ 'x-deprecated': string;
2473
2557
  };
2474
- fan_mode_setting: {
2475
- enum: string[];
2558
+ fallback_climate_preset_key: {
2559
+ default: null;
2560
+ minLength: number;
2561
+ nullable: boolean;
2476
2562
  type: string;
2477
2563
  };
2478
- is_climate_setting_schedule_active: {
2564
+ fan_mode_setting: {
2565
+ deprecated: boolean;
2566
+ enum: string[];
2479
2567
  type: string;
2568
+ 'x-deprecated': string;
2480
2569
  };
2481
2570
  is_cooling: {
2482
2571
  type: string;
@@ -2976,49 +3065,89 @@ declare const _default: {
2976
3065
  required: string[];
2977
3066
  type: string;
2978
3067
  };
2979
- unmanaged_access_code: {
3068
+ thermostat_schedule: {
2980
3069
  properties: {
2981
- access_code_id: {
2982
- description: string;
2983
- format: string;
2984
- type: string;
2985
- };
2986
- code: {
2987
- description: string;
2988
- nullable: boolean;
3070
+ climate_preset_key: {
2989
3071
  type: string;
2990
3072
  };
2991
3073
  created_at: {
2992
- description: string;
2993
3074
  format: string;
2994
3075
  type: string;
2995
3076
  };
2996
3077
  device_id: {
2997
- description: string;
2998
3078
  format: string;
2999
3079
  type: string;
3000
3080
  };
3001
3081
  ends_at: {
3002
- description: string;
3003
3082
  format: string;
3004
- nullable: boolean;
3005
3083
  type: string;
3006
3084
  };
3007
3085
  errors: {
3008
3086
  description: string;
3009
- items: {
3010
- oneOf: ({
3011
- properties: {
3012
- error_code: {
3013
- type: string;
3014
- };
3015
- is_access_code_error: {
3016
- enum: boolean[];
3017
- type: string;
3018
- };
3019
- message: {
3020
- type: string;
3021
- };
3087
+ };
3088
+ max_override_period_minutes: {
3089
+ default: number;
3090
+ minimum: number;
3091
+ type: string;
3092
+ };
3093
+ name: {
3094
+ type: string;
3095
+ };
3096
+ starts_at: {
3097
+ format: string;
3098
+ type: string;
3099
+ };
3100
+ thermostat_schedule_id: {
3101
+ format: string;
3102
+ type: string;
3103
+ };
3104
+ };
3105
+ required: string[];
3106
+ type: string;
3107
+ };
3108
+ unmanaged_access_code: {
3109
+ properties: {
3110
+ access_code_id: {
3111
+ description: string;
3112
+ format: string;
3113
+ type: string;
3114
+ };
3115
+ code: {
3116
+ description: string;
3117
+ nullable: boolean;
3118
+ type: string;
3119
+ };
3120
+ created_at: {
3121
+ description: string;
3122
+ format: string;
3123
+ type: string;
3124
+ };
3125
+ device_id: {
3126
+ description: string;
3127
+ format: string;
3128
+ type: string;
3129
+ };
3130
+ ends_at: {
3131
+ description: string;
3132
+ format: string;
3133
+ nullable: boolean;
3134
+ type: string;
3135
+ };
3136
+ errors: {
3137
+ description: string;
3138
+ items: {
3139
+ oneOf: ({
3140
+ properties: {
3141
+ error_code: {
3142
+ type: string;
3143
+ };
3144
+ is_access_code_error: {
3145
+ enum: boolean[];
3146
+ type: string;
3147
+ };
3148
+ message: {
3149
+ type: string;
3150
+ };
3022
3151
  is_device_error?: never;
3023
3152
  is_connected_account_error?: never;
3024
3153
  };
@@ -8834,18 +8963,7 @@ declare const _default: {
8834
8963
  acs_user: {
8835
8964
  properties: {
8836
8965
  access_schedule: {
8837
- properties: {
8838
- ends_at: {
8839
- format: string;
8840
- type: string;
8841
- };
8842
- starts_at: {
8843
- format: string;
8844
- type: string;
8845
- };
8846
- };
8847
- required: string[];
8848
- type: string;
8966
+ $ref: string;
8849
8967
  };
8850
8968
  acs_system_id: {
8851
8969
  format: string;
@@ -8873,7 +8991,49 @@ declare const _default: {
8873
8991
  type: string;
8874
8992
  };
8875
8993
  errors: {
8876
- $ref: string;
8994
+ items: {
8995
+ description: string;
8996
+ oneOf: ({
8997
+ description: string;
8998
+ properties: {
8999
+ created_at: {
9000
+ description: string;
9001
+ format: string;
9002
+ type: string;
9003
+ };
9004
+ error_code: {
9005
+ enum: string[];
9006
+ type: string;
9007
+ };
9008
+ message: {
9009
+ description: string;
9010
+ type: string;
9011
+ };
9012
+ };
9013
+ required: string[];
9014
+ type: string;
9015
+ } | {
9016
+ properties: {
9017
+ created_at: {
9018
+ description: string;
9019
+ format: string;
9020
+ type: string;
9021
+ };
9022
+ error_code: {
9023
+ enum: string[];
9024
+ type: string;
9025
+ };
9026
+ message: {
9027
+ description: string;
9028
+ type: string;
9029
+ };
9030
+ };
9031
+ required: string[];
9032
+ type: string;
9033
+ description?: never;
9034
+ })[];
9035
+ };
9036
+ type: string;
8877
9037
  };
8878
9038
  external_type: {
8879
9039
  enum: string[];
@@ -8923,7 +9083,25 @@ declare const _default: {
8923
9083
  };
8924
9084
  warnings: {
8925
9085
  items: {
8926
- oneOf: {
9086
+ description: string;
9087
+ oneOf: ({
9088
+ description: string;
9089
+ properties: {
9090
+ created_at: {
9091
+ format: string;
9092
+ type: string;
9093
+ };
9094
+ message: {
9095
+ type: string;
9096
+ };
9097
+ warning_code: {
9098
+ enum: string[];
9099
+ type: string;
9100
+ };
9101
+ };
9102
+ required: string[];
9103
+ type: string;
9104
+ } | {
8927
9105
  properties: {
8928
9106
  created_at: {
8929
9107
  format: string;
@@ -8939,7 +9117,8 @@ declare const _default: {
8939
9117
  };
8940
9118
  required: string[];
8941
9119
  type: string;
8942
- }[];
9120
+ description?: never;
9121
+ })[];
8943
9122
  };
8944
9123
  type: string;
8945
9124
  };
@@ -9032,18 +9211,7 @@ declare const _default: {
9032
9211
  items: {
9033
9212
  properties: {
9034
9213
  access_schedule: {
9035
- properties: {
9036
- ends_at: {
9037
- format: string;
9038
- type: string;
9039
- };
9040
- starts_at: {
9041
- format: string;
9042
- type: string;
9043
- };
9044
- };
9045
- required: string[];
9046
- type: string;
9214
+ $ref: string;
9047
9215
  };
9048
9216
  acs_system_id: {
9049
9217
  format: string;
@@ -9071,7 +9239,49 @@ declare const _default: {
9071
9239
  type: string;
9072
9240
  };
9073
9241
  errors: {
9074
- $ref: string;
9242
+ items: {
9243
+ description: string;
9244
+ oneOf: ({
9245
+ description: string;
9246
+ properties: {
9247
+ created_at: {
9248
+ description: string;
9249
+ format: string;
9250
+ type: string;
9251
+ };
9252
+ error_code: {
9253
+ enum: string[];
9254
+ type: string;
9255
+ };
9256
+ message: {
9257
+ description: string;
9258
+ type: string;
9259
+ };
9260
+ };
9261
+ required: string[];
9262
+ type: string;
9263
+ } | {
9264
+ properties: {
9265
+ created_at: {
9266
+ description: string;
9267
+ format: string;
9268
+ type: string;
9269
+ };
9270
+ error_code: {
9271
+ enum: string[];
9272
+ type: string;
9273
+ };
9274
+ message: {
9275
+ description: string;
9276
+ type: string;
9277
+ };
9278
+ };
9279
+ required: string[];
9280
+ type: string;
9281
+ description?: never;
9282
+ })[];
9283
+ };
9284
+ type: string;
9075
9285
  };
9076
9286
  external_type: {
9077
9287
  enum: string[];
@@ -9121,7 +9331,25 @@ declare const _default: {
9121
9331
  };
9122
9332
  warnings: {
9123
9333
  items: {
9124
- oneOf: {
9334
+ description: string;
9335
+ oneOf: ({
9336
+ description: string;
9337
+ properties: {
9338
+ created_at: {
9339
+ format: string;
9340
+ type: string;
9341
+ };
9342
+ message: {
9343
+ type: string;
9344
+ };
9345
+ warning_code: {
9346
+ enum: string[];
9347
+ type: string;
9348
+ };
9349
+ };
9350
+ required: string[];
9351
+ type: string;
9352
+ } | {
9125
9353
  properties: {
9126
9354
  created_at: {
9127
9355
  format: string;
@@ -9137,7 +9365,8 @@ declare const _default: {
9137
9365
  };
9138
9366
  required: string[];
9139
9367
  type: string;
9140
- }[];
9368
+ description?: never;
9369
+ })[];
9141
9370
  };
9142
9371
  type: string;
9143
9372
  };
@@ -13832,7 +14061,7 @@ declare const _default: {
13832
14061
  'x-fern-sdk-return-value': string;
13833
14062
  };
13834
14063
  };
13835
- '/thermostats/climate_setting_schedules/create': {
14064
+ '/thermostats/activate_climate_preset': {
13836
14065
  post: {
13837
14066
  operationId: string;
13838
14067
  requestBody: {
@@ -13840,46 +14069,13 @@ declare const _default: {
13840
14069
  'application/json': {
13841
14070
  schema: {
13842
14071
  properties: {
13843
- cooling_set_point_celsius: {
13844
- format: string;
13845
- type: string;
13846
- };
13847
- cooling_set_point_fahrenheit: {
13848
- format: string;
14072
+ climate_preset_key: {
13849
14073
  type: string;
13850
14074
  };
13851
14075
  device_id: {
13852
- type: string;
13853
- };
13854
- heating_set_point_celsius: {
13855
- format: string;
13856
- type: string;
13857
- };
13858
- heating_set_point_fahrenheit: {
13859
14076
  format: string;
13860
14077
  type: string;
13861
14078
  };
13862
- hvac_mode_setting: {
13863
- enum: string[];
13864
- type: string;
13865
- };
13866
- manual_override_allowed: {
13867
- type: string;
13868
- };
13869
- name: {
13870
- type: string;
13871
- };
13872
- schedule_ends_at: {
13873
- type: string;
13874
- };
13875
- schedule_starts_at: {
13876
- type: string;
13877
- };
13878
- schedule_type: {
13879
- default: string;
13880
- enum: string[];
13881
- type: string;
13882
- };
13883
14079
  };
13884
14080
  required: string[];
13885
14081
  type: string;
@@ -13893,7 +14089,7 @@ declare const _default: {
13893
14089
  'application/json': {
13894
14090
  schema: {
13895
14091
  properties: {
13896
- climate_setting_schedule: {
14092
+ action_attempt: {
13897
14093
  $ref: string;
13898
14094
  };
13899
14095
  ok: {
@@ -13915,23 +14111,15 @@ declare const _default: {
13915
14111
  };
13916
14112
  };
13917
14113
  security: ({
13918
- client_session: never[];
13919
- pat_with_workspace?: never;
13920
- console_session?: never;
13921
- api_key?: never;
13922
- } | {
13923
14114
  pat_with_workspace: never[];
13924
- client_session?: never;
13925
14115
  console_session?: never;
13926
14116
  api_key?: never;
13927
14117
  } | {
13928
14118
  console_session: never[];
13929
- client_session?: never;
13930
14119
  pat_with_workspace?: never;
13931
14120
  api_key?: never;
13932
14121
  } | {
13933
14122
  api_key: never[];
13934
- client_session?: never;
13935
14123
  pat_with_workspace?: never;
13936
14124
  console_session?: never;
13937
14125
  })[];
@@ -13942,7 +14130,7 @@ declare const _default: {
13942
14130
  'x-fern-sdk-return-value': string;
13943
14131
  };
13944
14132
  };
13945
- '/thermostats/climate_setting_schedules/delete': {
14133
+ '/thermostats/cool': {
13946
14134
  post: {
13947
14135
  operationId: string;
13948
14136
  requestBody: {
@@ -13950,10 +14138,22 @@ declare const _default: {
13950
14138
  'application/json': {
13951
14139
  schema: {
13952
14140
  properties: {
13953
- climate_setting_schedule_id: {
14141
+ cooling_set_point_celsius: {
14142
+ format: string;
14143
+ type: string;
14144
+ };
14145
+ cooling_set_point_fahrenheit: {
13954
14146
  format: string;
13955
14147
  type: string;
13956
14148
  };
14149
+ device_id: {
14150
+ format: string;
14151
+ type: string;
14152
+ };
14153
+ sync: {
14154
+ default: boolean;
14155
+ type: string;
14156
+ };
13957
14157
  };
13958
14158
  required: string[];
13959
14159
  type: string;
@@ -13967,6 +14167,9 @@ declare const _default: {
13967
14167
  'application/json': {
13968
14168
  schema: {
13969
14169
  properties: {
14170
+ action_attempt: {
14171
+ $ref: string;
14172
+ };
13970
14173
  ok: {
13971
14174
  type: string;
13972
14175
  };
@@ -14010,32 +14213,118 @@ declare const _default: {
14010
14213
  tags: string[];
14011
14214
  'x-fern-sdk-group-name': string[];
14012
14215
  'x-fern-sdk-method-name': string;
14216
+ 'x-fern-sdk-return-value': string;
14013
14217
  };
14014
- put: {
14218
+ };
14219
+ '/thermostats/create_climate_preset': {
14220
+ post: {
14015
14221
  operationId: string;
14016
14222
  requestBody: {
14017
14223
  content: {
14018
14224
  'application/json': {
14019
14225
  schema: {
14020
14226
  properties: {
14021
- climate_setting_schedule_id: {
14227
+ climate_preset_key: {
14228
+ type: string;
14229
+ };
14230
+ cooling_set_point_celsius: {
14022
14231
  format: string;
14023
14232
  type: string;
14024
14233
  };
14025
- };
14026
- required: string[];
14027
- type: string;
14028
- };
14029
- };
14030
- };
14031
- };
14032
- responses: {
14033
- 200: {
14034
- content: {
14035
- 'application/json': {
14036
- schema: {
14037
- properties: {
14038
- ok: {
14234
+ cooling_set_point_fahrenheit: {
14235
+ format: string;
14236
+ type: string;
14237
+ };
14238
+ device_id: {
14239
+ format: string;
14240
+ type: string;
14241
+ };
14242
+ fan_mode_setting: {
14243
+ enum: string[];
14244
+ type: string;
14245
+ };
14246
+ heating_set_point_celsius: {
14247
+ format: string;
14248
+ type: string;
14249
+ };
14250
+ heating_set_point_fahrenheit: {
14251
+ format: string;
14252
+ type: string;
14253
+ };
14254
+ hvac_mode_setting: {
14255
+ enum: string[];
14256
+ type: string;
14257
+ };
14258
+ manual_override_allowed: {
14259
+ type: string;
14260
+ };
14261
+ name: {
14262
+ nullable: boolean;
14263
+ type: string;
14264
+ };
14265
+ };
14266
+ required: string[];
14267
+ type: string;
14268
+ };
14269
+ };
14270
+ };
14271
+ };
14272
+ responses: {
14273
+ 200: {
14274
+ content: {
14275
+ 'application/json': {
14276
+ schema: {
14277
+ properties: {
14278
+ climate_preset: {
14279
+ properties: {
14280
+ can_delete: {
14281
+ type: string;
14282
+ };
14283
+ can_edit: {
14284
+ type: string;
14285
+ };
14286
+ climate_preset_key: {
14287
+ type: string;
14288
+ };
14289
+ cooling_set_point_celsius: {
14290
+ format: string;
14291
+ type: string;
14292
+ };
14293
+ cooling_set_point_fahrenheit: {
14294
+ format: string;
14295
+ type: string;
14296
+ };
14297
+ display_name: {
14298
+ type: string;
14299
+ };
14300
+ fan_mode_setting: {
14301
+ enum: string[];
14302
+ type: string;
14303
+ };
14304
+ heating_set_point_celsius: {
14305
+ format: string;
14306
+ type: string;
14307
+ };
14308
+ heating_set_point_fahrenheit: {
14309
+ format: string;
14310
+ type: string;
14311
+ };
14312
+ hvac_mode_setting: {
14313
+ enum: string[];
14314
+ type: string;
14315
+ };
14316
+ manual_override_allowed: {
14317
+ type: string;
14318
+ };
14319
+ name: {
14320
+ nullable: boolean;
14321
+ type: string;
14322
+ };
14323
+ };
14324
+ required: string[];
14325
+ type: string;
14326
+ };
14327
+ ok: {
14039
14328
  type: string;
14040
14329
  };
14041
14330
  };
@@ -14054,32 +14343,25 @@ declare const _default: {
14054
14343
  };
14055
14344
  };
14056
14345
  security: ({
14057
- client_session: never[];
14058
- pat_with_workspace?: never;
14059
- console_session?: never;
14060
- api_key?: never;
14061
- } | {
14062
14346
  pat_with_workspace: never[];
14063
- client_session?: never;
14064
14347
  console_session?: never;
14065
14348
  api_key?: never;
14066
14349
  } | {
14067
14350
  console_session: never[];
14068
- client_session?: never;
14069
14351
  pat_with_workspace?: never;
14070
14352
  api_key?: never;
14071
14353
  } | {
14072
14354
  api_key: never[];
14073
- client_session?: never;
14074
14355
  pat_with_workspace?: never;
14075
14356
  console_session?: never;
14076
14357
  })[];
14077
14358
  summary: string;
14078
14359
  tags: string[];
14079
- 'x-fern-ignore': boolean;
14360
+ 'x-fern-sdk-group-name': string[];
14361
+ 'x-fern-sdk-method-name': string;
14080
14362
  };
14081
14363
  };
14082
- '/thermostats/climate_setting_schedules/get': {
14364
+ '/thermostats/delete_climate_preset': {
14083
14365
  post: {
14084
14366
  operationId: string;
14085
14367
  requestBody: {
@@ -14087,8 +14369,7 @@ declare const _default: {
14087
14369
  'application/json': {
14088
14370
  schema: {
14089
14371
  properties: {
14090
- climate_setting_schedule_id: {
14091
- format: string;
14372
+ climate_preset_key: {
14092
14373
  type: string;
14093
14374
  };
14094
14375
  device_id: {
@@ -14096,6 +14377,7 @@ declare const _default: {
14096
14377
  type: string;
14097
14378
  };
14098
14379
  };
14380
+ required: string[];
14099
14381
  type: string;
14100
14382
  };
14101
14383
  };
@@ -14107,9 +14389,6 @@ declare const _default: {
14107
14389
  'application/json': {
14108
14390
  schema: {
14109
14391
  properties: {
14110
- climate_setting_schedule: {
14111
- $ref: string;
14112
- };
14113
14392
  ok: {
14114
14393
  type: string;
14115
14394
  };
@@ -14129,23 +14408,15 @@ declare const _default: {
14129
14408
  };
14130
14409
  };
14131
14410
  security: ({
14132
- client_session: never[];
14133
- pat_with_workspace?: never;
14134
- console_session?: never;
14135
- api_key?: never;
14136
- } | {
14137
14411
  pat_with_workspace: never[];
14138
- client_session?: never;
14139
14412
  console_session?: never;
14140
14413
  api_key?: never;
14141
14414
  } | {
14142
14415
  console_session: never[];
14143
- client_session?: never;
14144
14416
  pat_with_workspace?: never;
14145
14417
  api_key?: never;
14146
14418
  } | {
14147
14419
  api_key: never[];
14148
- client_session?: never;
14149
14420
  pat_with_workspace?: never;
14150
14421
  console_session?: never;
14151
14422
  })[];
@@ -14153,10 +14424,9 @@ declare const _default: {
14153
14424
  tags: string[];
14154
14425
  'x-fern-sdk-group-name': string[];
14155
14426
  'x-fern-sdk-method-name': string;
14156
- 'x-fern-sdk-return-value': string;
14157
14427
  };
14158
14428
  };
14159
- '/thermostats/climate_setting_schedules/list': {
14429
+ '/thermostats/get': {
14160
14430
  post: {
14161
14431
  operationId: string;
14162
14432
  requestBody: {
@@ -14168,11 +14438,10 @@ declare const _default: {
14168
14438
  format: string;
14169
14439
  type: string;
14170
14440
  };
14171
- user_identifier_key: {
14441
+ name: {
14172
14442
  type: string;
14173
14443
  };
14174
14444
  };
14175
- required: string[];
14176
14445
  type: string;
14177
14446
  };
14178
14447
  };
@@ -14184,15 +14453,12 @@ declare const _default: {
14184
14453
  'application/json': {
14185
14454
  schema: {
14186
14455
  properties: {
14187
- climate_setting_schedules: {
14188
- items: {
14189
- $ref: string;
14190
- };
14191
- type: string;
14192
- };
14193
14456
  ok: {
14194
14457
  type: string;
14195
14458
  };
14459
+ thermostat: {
14460
+ $ref: string;
14461
+ };
14196
14462
  };
14197
14463
  required: string[];
14198
14464
  type: string;
@@ -14209,50 +14475,43 @@ declare const _default: {
14209
14475
  };
14210
14476
  };
14211
14477
  security: ({
14212
- api_key: never[];
14213
- client_session?: never;
14214
- pat_with_workspace?: never;
14215
- console_session?: never;
14216
- } | {
14217
14478
  client_session: never[];
14218
- api_key?: never;
14219
14479
  pat_with_workspace?: never;
14220
14480
  console_session?: never;
14481
+ api_key?: never;
14221
14482
  } | {
14222
14483
  pat_with_workspace: never[];
14223
- api_key?: never;
14224
14484
  client_session?: never;
14225
14485
  console_session?: never;
14486
+ api_key?: never;
14226
14487
  } | {
14227
14488
  console_session: never[];
14489
+ client_session?: never;
14490
+ pat_with_workspace?: never;
14228
14491
  api_key?: never;
14492
+ } | {
14493
+ api_key: never[];
14229
14494
  client_session?: never;
14230
14495
  pat_with_workspace?: never;
14496
+ console_session?: never;
14231
14497
  })[];
14232
14498
  summary: string;
14233
14499
  tags: string[];
14500
+ 'x-deprecated': string;
14234
14501
  'x-fern-sdk-group-name': string[];
14235
14502
  'x-fern-sdk-method-name': string;
14236
14503
  'x-fern-sdk-return-value': string;
14237
14504
  };
14238
14505
  };
14239
- '/thermostats/climate_setting_schedules/update': {
14240
- patch: {
14506
+ '/thermostats/heat': {
14507
+ post: {
14241
14508
  operationId: string;
14242
14509
  requestBody: {
14243
14510
  content: {
14244
14511
  'application/json': {
14245
14512
  schema: {
14246
14513
  properties: {
14247
- climate_setting_schedule_id: {
14248
- format: string;
14249
- type: string;
14250
- };
14251
- cooling_set_point_celsius: {
14252
- format: string;
14253
- type: string;
14254
- };
14255
- cooling_set_point_fahrenheit: {
14514
+ device_id: {
14256
14515
  format: string;
14257
14516
  type: string;
14258
14517
  };
@@ -14264,25 +14523,8 @@ declare const _default: {
14264
14523
  format: string;
14265
14524
  type: string;
14266
14525
  };
14267
- hvac_mode_setting: {
14268
- enum: string[];
14269
- type: string;
14270
- };
14271
- manual_override_allowed: {
14272
- type: string;
14273
- };
14274
- name: {
14275
- type: string;
14276
- };
14277
- schedule_ends_at: {
14278
- type: string;
14279
- };
14280
- schedule_starts_at: {
14281
- type: string;
14282
- };
14283
- schedule_type: {
14284
- default: string;
14285
- enum: string[];
14526
+ sync: {
14527
+ default: boolean;
14286
14528
  type: string;
14287
14529
  };
14288
14530
  };
@@ -14298,7 +14540,7 @@ declare const _default: {
14298
14540
  'application/json': {
14299
14541
  schema: {
14300
14542
  properties: {
14301
- climate_setting_schedule: {
14543
+ action_attempt: {
14302
14544
  $ref: string;
14303
14545
  };
14304
14546
  ok: {
@@ -14342,8 +14584,12 @@ declare const _default: {
14342
14584
  })[];
14343
14585
  summary: string;
14344
14586
  tags: string[];
14345
- 'x-fern-ignore': boolean;
14587
+ 'x-fern-sdk-group-name': string[];
14588
+ 'x-fern-sdk-method-name': string;
14589
+ 'x-fern-sdk-return-value': string;
14346
14590
  };
14591
+ };
14592
+ '/thermostats/heat_cool': {
14347
14593
  post: {
14348
14594
  operationId: string;
14349
14595
  requestBody: {
@@ -14351,15 +14597,15 @@ declare const _default: {
14351
14597
  'application/json': {
14352
14598
  schema: {
14353
14599
  properties: {
14354
- climate_setting_schedule_id: {
14600
+ cooling_set_point_celsius: {
14355
14601
  format: string;
14356
14602
  type: string;
14357
14603
  };
14358
- cooling_set_point_celsius: {
14604
+ cooling_set_point_fahrenheit: {
14359
14605
  format: string;
14360
14606
  type: string;
14361
14607
  };
14362
- cooling_set_point_fahrenheit: {
14608
+ device_id: {
14363
14609
  format: string;
14364
14610
  type: string;
14365
14611
  };
@@ -14371,25 +14617,8 @@ declare const _default: {
14371
14617
  format: string;
14372
14618
  type: string;
14373
14619
  };
14374
- hvac_mode_setting: {
14375
- enum: string[];
14376
- type: string;
14377
- };
14378
- manual_override_allowed: {
14379
- type: string;
14380
- };
14381
- name: {
14382
- type: string;
14383
- };
14384
- schedule_ends_at: {
14385
- type: string;
14386
- };
14387
- schedule_starts_at: {
14388
- type: string;
14389
- };
14390
- schedule_type: {
14391
- default: string;
14392
- enum: string[];
14620
+ sync: {
14621
+ default: boolean;
14393
14622
  type: string;
14394
14623
  };
14395
14624
  };
@@ -14405,7 +14634,7 @@ declare const _default: {
14405
14634
  'application/json': {
14406
14635
  schema: {
14407
14636
  properties: {
14408
- climate_setting_schedule: {
14637
+ action_attempt: {
14409
14638
  $ref: string;
14410
14639
  };
14411
14640
  ok: {
@@ -14451,57 +14680,94 @@ declare const _default: {
14451
14680
  tags: string[];
14452
14681
  'x-fern-sdk-group-name': string[];
14453
14682
  'x-fern-sdk-method-name': string;
14683
+ 'x-fern-sdk-return-value': string;
14454
14684
  };
14455
- put: {
14685
+ };
14686
+ '/thermostats/list': {
14687
+ post: {
14456
14688
  operationId: string;
14457
14689
  requestBody: {
14458
14690
  content: {
14459
14691
  'application/json': {
14460
14692
  schema: {
14461
14693
  properties: {
14462
- climate_setting_schedule_id: {
14694
+ connect_webview_id: {
14463
14695
  format: string;
14464
14696
  type: string;
14465
14697
  };
14466
- cooling_set_point_celsius: {
14698
+ connected_account_id: {
14699
+ description: string;
14467
14700
  format: string;
14468
14701
  type: string;
14469
14702
  };
14470
- cooling_set_point_fahrenheit: {
14471
- format: string;
14703
+ connected_account_ids: {
14704
+ items: {
14705
+ format: string;
14706
+ type: string;
14707
+ };
14472
14708
  type: string;
14473
14709
  };
14474
- heating_set_point_celsius: {
14710
+ created_before: {
14475
14711
  format: string;
14476
14712
  type: string;
14477
14713
  };
14478
- heating_set_point_fahrenheit: {
14479
- format: string;
14714
+ custom_metadata_has: {
14715
+ additionalProperties: {
14716
+ oneOf: {
14717
+ type: string;
14718
+ }[];
14719
+ };
14480
14720
  type: string;
14481
14721
  };
14482
- hvac_mode_setting: {
14483
- enum: string[];
14722
+ device_ids: {
14723
+ items: {
14724
+ format: string;
14725
+ type: string;
14726
+ };
14484
14727
  type: string;
14485
14728
  };
14486
- manual_override_allowed: {
14729
+ device_type: {
14730
+ oneOf: {
14731
+ enum: string[];
14732
+ type: string;
14733
+ }[];
14734
+ };
14735
+ device_types: {
14736
+ items: {
14737
+ oneOf: {
14738
+ enum: string[];
14739
+ type: string;
14740
+ }[];
14741
+ };
14487
14742
  type: string;
14488
14743
  };
14489
- name: {
14744
+ exclude_if: {
14745
+ items: {
14746
+ enum: string[];
14747
+ type: string;
14748
+ };
14490
14749
  type: string;
14491
14750
  };
14492
- schedule_ends_at: {
14751
+ include_if: {
14752
+ items: {
14753
+ enum: string[];
14754
+ type: string;
14755
+ };
14493
14756
  type: string;
14494
14757
  };
14495
- schedule_starts_at: {
14758
+ limit: {
14759
+ default: number;
14760
+ format: string;
14496
14761
  type: string;
14497
14762
  };
14498
- schedule_type: {
14499
- default: string;
14763
+ manufacturer: {
14500
14764
  enum: string[];
14501
14765
  type: string;
14502
14766
  };
14767
+ user_identifier_key: {
14768
+ type: string;
14769
+ };
14503
14770
  };
14504
- required: string[];
14505
14771
  type: string;
14506
14772
  };
14507
14773
  };
@@ -14513,12 +14779,15 @@ declare const _default: {
14513
14779
  'application/json': {
14514
14780
  schema: {
14515
14781
  properties: {
14516
- climate_setting_schedule: {
14517
- $ref: string;
14518
- };
14519
14782
  ok: {
14520
14783
  type: string;
14521
14784
  };
14785
+ thermostats: {
14786
+ items: {
14787
+ $ref: string;
14788
+ };
14789
+ type: string;
14790
+ };
14522
14791
  };
14523
14792
  required: string[];
14524
14793
  type: string;
@@ -14535,32 +14804,34 @@ declare const _default: {
14535
14804
  };
14536
14805
  };
14537
14806
  security: ({
14538
- client_session: never[];
14807
+ api_key: never[];
14539
14808
  pat_with_workspace?: never;
14540
14809
  console_session?: never;
14541
- api_key?: never;
14810
+ client_session?: never;
14542
14811
  } | {
14543
14812
  pat_with_workspace: never[];
14544
- client_session?: never;
14545
- console_session?: never;
14546
14813
  api_key?: never;
14814
+ console_session?: never;
14815
+ client_session?: never;
14547
14816
  } | {
14548
14817
  console_session: never[];
14549
- client_session?: never;
14550
- pat_with_workspace?: never;
14551
14818
  api_key?: never;
14552
- } | {
14553
- api_key: never[];
14819
+ pat_with_workspace?: never;
14554
14820
  client_session?: never;
14821
+ } | {
14822
+ client_session: never[];
14823
+ api_key?: never;
14555
14824
  pat_with_workspace?: never;
14556
14825
  console_session?: never;
14557
14826
  })[];
14558
14827
  summary: string;
14559
14828
  tags: string[];
14560
- 'x-fern-ignore': boolean;
14829
+ 'x-fern-sdk-group-name': string[];
14830
+ 'x-fern-sdk-method-name': string;
14831
+ 'x-fern-sdk-return-value': string;
14561
14832
  };
14562
14833
  };
14563
- '/thermostats/cool': {
14834
+ '/thermostats/off': {
14564
14835
  post: {
14565
14836
  operationId: string;
14566
14837
  requestBody: {
@@ -14568,14 +14839,6 @@ declare const _default: {
14568
14839
  'application/json': {
14569
14840
  schema: {
14570
14841
  properties: {
14571
- cooling_set_point_celsius: {
14572
- format: string;
14573
- type: string;
14574
- };
14575
- cooling_set_point_fahrenheit: {
14576
- format: string;
14577
- type: string;
14578
- };
14579
14842
  device_id: {
14580
14843
  format: string;
14581
14844
  type: string;
@@ -14646,7 +14909,7 @@ declare const _default: {
14646
14909
  'x-fern-sdk-return-value': string;
14647
14910
  };
14648
14911
  };
14649
- '/thermostats/get': {
14912
+ '/thermostats/schedules/create': {
14650
14913
  post: {
14651
14914
  operationId: string;
14652
14915
  requestBody: {
@@ -14654,14 +14917,28 @@ declare const _default: {
14654
14917
  'application/json': {
14655
14918
  schema: {
14656
14919
  properties: {
14920
+ climate_preset_key: {
14921
+ type: string;
14922
+ };
14657
14923
  device_id: {
14658
- format: string;
14924
+ type: string;
14925
+ };
14926
+ ends_at: {
14927
+ type: string;
14928
+ };
14929
+ max_override_period_minutes: {
14930
+ default: number;
14931
+ minimum: number;
14659
14932
  type: string;
14660
14933
  };
14661
14934
  name: {
14662
14935
  type: string;
14663
14936
  };
14937
+ starts_at: {
14938
+ type: string;
14939
+ };
14664
14940
  };
14941
+ required: string[];
14665
14942
  type: string;
14666
14943
  };
14667
14944
  };
@@ -14676,7 +14953,7 @@ declare const _default: {
14676
14953
  ok: {
14677
14954
  type: string;
14678
14955
  };
14679
- thermostat: {
14956
+ thermostat_schedule: {
14680
14957
  $ref: string;
14681
14958
  };
14682
14959
  };
@@ -14717,13 +14994,12 @@ declare const _default: {
14717
14994
  })[];
14718
14995
  summary: string;
14719
14996
  tags: string[];
14720
- 'x-deprecated': string;
14721
14997
  'x-fern-sdk-group-name': string[];
14722
14998
  'x-fern-sdk-method-name': string;
14723
14999
  'x-fern-sdk-return-value': string;
14724
15000
  };
14725
15001
  };
14726
- '/thermostats/heat': {
15002
+ '/thermostats/schedules/delete': {
14727
15003
  post: {
14728
15004
  operationId: string;
14729
15005
  requestBody: {
@@ -14731,22 +15007,10 @@ declare const _default: {
14731
15007
  'application/json': {
14732
15008
  schema: {
14733
15009
  properties: {
14734
- device_id: {
14735
- format: string;
14736
- type: string;
14737
- };
14738
- heating_set_point_celsius: {
14739
- format: string;
14740
- type: string;
14741
- };
14742
- heating_set_point_fahrenheit: {
15010
+ thermostat_schedule_id: {
14743
15011
  format: string;
14744
15012
  type: string;
14745
15013
  };
14746
- sync: {
14747
- default: boolean;
14748
- type: string;
14749
- };
14750
15014
  };
14751
15015
  required: string[];
14752
15016
  type: string;
@@ -14760,9 +15024,6 @@ declare const _default: {
14760
15024
  'application/json': {
14761
15025
  schema: {
14762
15026
  properties: {
14763
- action_attempt: {
14764
- $ref: string;
14765
- };
14766
15027
  ok: {
14767
15028
  type: string;
14768
15029
  };
@@ -14806,10 +15067,9 @@ declare const _default: {
14806
15067
  tags: string[];
14807
15068
  'x-fern-sdk-group-name': string[];
14808
15069
  'x-fern-sdk-method-name': string;
14809
- 'x-fern-sdk-return-value': string;
14810
15070
  };
14811
15071
  };
14812
- '/thermostats/heat_cool': {
15072
+ '/thermostats/schedules/get': {
14813
15073
  post: {
14814
15074
  operationId: string;
14815
15075
  requestBody: {
@@ -14817,30 +15077,10 @@ declare const _default: {
14817
15077
  'application/json': {
14818
15078
  schema: {
14819
15079
  properties: {
14820
- cooling_set_point_celsius: {
14821
- format: string;
14822
- type: string;
14823
- };
14824
- cooling_set_point_fahrenheit: {
14825
- format: string;
14826
- type: string;
14827
- };
14828
- device_id: {
14829
- format: string;
14830
- type: string;
14831
- };
14832
- heating_set_point_celsius: {
14833
- format: string;
14834
- type: string;
14835
- };
14836
- heating_set_point_fahrenheit: {
15080
+ thermostat_schedule_id: {
14837
15081
  format: string;
14838
15082
  type: string;
14839
15083
  };
14840
- sync: {
14841
- default: boolean;
14842
- type: string;
14843
- };
14844
15084
  };
14845
15085
  required: string[];
14846
15086
  type: string;
@@ -14854,12 +15094,12 @@ declare const _default: {
14854
15094
  'application/json': {
14855
15095
  schema: {
14856
15096
  properties: {
14857
- action_attempt: {
14858
- $ref: string;
14859
- };
14860
15097
  ok: {
14861
15098
  type: string;
14862
15099
  };
15100
+ thermostat_schedule: {
15101
+ $ref: string;
15102
+ };
14863
15103
  };
14864
15104
  required: string[];
14865
15105
  type: string;
@@ -14903,7 +15143,7 @@ declare const _default: {
14903
15143
  'x-fern-sdk-return-value': string;
14904
15144
  };
14905
15145
  };
14906
- '/thermostats/list': {
15146
+ '/thermostats/schedules/list': {
14907
15147
  post: {
14908
15148
  operationId: string;
14909
15149
  requestBody: {
@@ -14911,83 +15151,15 @@ declare const _default: {
14911
15151
  'application/json': {
14912
15152
  schema: {
14913
15153
  properties: {
14914
- connect_webview_id: {
14915
- format: string;
14916
- type: string;
14917
- };
14918
- connected_account_id: {
14919
- description: string;
14920
- format: string;
14921
- type: string;
14922
- };
14923
- connected_account_ids: {
14924
- items: {
14925
- format: string;
14926
- type: string;
14927
- };
14928
- type: string;
14929
- };
14930
- created_before: {
14931
- format: string;
14932
- type: string;
14933
- };
14934
- custom_metadata_has: {
14935
- additionalProperties: {
14936
- oneOf: {
14937
- type: string;
14938
- }[];
14939
- };
14940
- type: string;
14941
- };
14942
- device_ids: {
14943
- items: {
14944
- format: string;
14945
- type: string;
14946
- };
14947
- type: string;
14948
- };
14949
- device_type: {
14950
- oneOf: {
14951
- enum: string[];
14952
- type: string;
14953
- }[];
14954
- };
14955
- device_types: {
14956
- items: {
14957
- oneOf: {
14958
- enum: string[];
14959
- type: string;
14960
- }[];
14961
- };
14962
- type: string;
14963
- };
14964
- exclude_if: {
14965
- items: {
14966
- enum: string[];
14967
- type: string;
14968
- };
14969
- type: string;
14970
- };
14971
- include_if: {
14972
- items: {
14973
- enum: string[];
14974
- type: string;
14975
- };
14976
- type: string;
14977
- };
14978
- limit: {
14979
- default: number;
15154
+ device_id: {
14980
15155
  format: string;
14981
15156
  type: string;
14982
15157
  };
14983
- manufacturer: {
14984
- enum: string[];
14985
- type: string;
14986
- };
14987
15158
  user_identifier_key: {
14988
15159
  type: string;
14989
15160
  };
14990
15161
  };
15162
+ required: string[];
14991
15163
  type: string;
14992
15164
  };
14993
15165
  };
@@ -15002,7 +15174,7 @@ declare const _default: {
15002
15174
  ok: {
15003
15175
  type: string;
15004
15176
  };
15005
- thermostats: {
15177
+ thermostat_schedules: {
15006
15178
  items: {
15007
15179
  $ref: string;
15008
15180
  };
@@ -15025,24 +15197,24 @@ declare const _default: {
15025
15197
  };
15026
15198
  security: ({
15027
15199
  api_key: never[];
15200
+ client_session?: never;
15028
15201
  pat_with_workspace?: never;
15029
15202
  console_session?: never;
15030
- client_session?: never;
15031
15203
  } | {
15032
- pat_with_workspace: never[];
15204
+ client_session: never[];
15033
15205
  api_key?: never;
15206
+ pat_with_workspace?: never;
15034
15207
  console_session?: never;
15035
- client_session?: never;
15036
15208
  } | {
15037
- console_session: never[];
15209
+ pat_with_workspace: never[];
15038
15210
  api_key?: never;
15039
- pat_with_workspace?: never;
15040
15211
  client_session?: never;
15212
+ console_session?: never;
15041
15213
  } | {
15042
- client_session: never[];
15214
+ console_session: never[];
15043
15215
  api_key?: never;
15216
+ client_session?: never;
15044
15217
  pat_with_workspace?: never;
15045
- console_session?: never;
15046
15218
  })[];
15047
15219
  summary: string;
15048
15220
  tags: string[];
@@ -15051,20 +15223,32 @@ declare const _default: {
15051
15223
  'x-fern-sdk-return-value': string;
15052
15224
  };
15053
15225
  };
15054
- '/thermostats/off': {
15055
- post: {
15226
+ '/thermostats/schedules/update': {
15227
+ patch: {
15056
15228
  operationId: string;
15057
15229
  requestBody: {
15058
15230
  content: {
15059
15231
  'application/json': {
15060
15232
  schema: {
15061
15233
  properties: {
15062
- device_id: {
15063
- format: string;
15234
+ climate_preset_key: {
15064
15235
  type: string;
15065
15236
  };
15066
- sync: {
15067
- default: boolean;
15237
+ ends_at: {
15238
+ type: string;
15239
+ };
15240
+ max_override_period_minutes: {
15241
+ minimum: number;
15242
+ type: string;
15243
+ };
15244
+ name: {
15245
+ type: string;
15246
+ };
15247
+ starts_at: {
15248
+ type: string;
15249
+ };
15250
+ thermostat_schedule_id: {
15251
+ format: string;
15068
15252
  type: string;
15069
15253
  };
15070
15254
  };
@@ -15080,12 +15264,12 @@ declare const _default: {
15080
15264
  'application/json': {
15081
15265
  schema: {
15082
15266
  properties: {
15083
- action_attempt: {
15084
- $ref: string;
15085
- };
15086
15267
  ok: {
15087
15268
  type: string;
15088
15269
  };
15270
+ thermostat_schedule: {
15271
+ $ref: string;
15272
+ };
15089
15273
  };
15090
15274
  required: string[];
15091
15275
  type: string;
@@ -15124,12 +15308,8 @@ declare const _default: {
15124
15308
  })[];
15125
15309
  summary: string;
15126
15310
  tags: string[];
15127
- 'x-fern-sdk-group-name': string[];
15128
- 'x-fern-sdk-method-name': string;
15129
- 'x-fern-sdk-return-value': string;
15311
+ 'x-fern-ignore': boolean;
15130
15312
  };
15131
- };
15132
- '/thermostats/set_fan_mode': {
15133
15313
  post: {
15134
15314
  operationId: string;
15135
15315
  requestBody: {
@@ -15137,20 +15317,24 @@ declare const _default: {
15137
15317
  'application/json': {
15138
15318
  schema: {
15139
15319
  properties: {
15140
- device_id: {
15141
- format: string;
15320
+ climate_preset_key: {
15142
15321
  type: string;
15143
15322
  };
15144
- fan_mode: {
15145
- enum: string[];
15323
+ ends_at: {
15146
15324
  type: string;
15147
15325
  };
15148
- fan_mode_setting: {
15149
- enum: string[];
15326
+ max_override_period_minutes: {
15327
+ minimum: number;
15150
15328
  type: string;
15151
15329
  };
15152
- sync: {
15153
- default: boolean;
15330
+ name: {
15331
+ type: string;
15332
+ };
15333
+ starts_at: {
15334
+ type: string;
15335
+ };
15336
+ thermostat_schedule_id: {
15337
+ format: string;
15154
15338
  type: string;
15155
15339
  };
15156
15340
  };
@@ -15166,12 +15350,12 @@ declare const _default: {
15166
15350
  'application/json': {
15167
15351
  schema: {
15168
15352
  properties: {
15169
- action_attempt: {
15170
- $ref: string;
15171
- };
15172
15353
  ok: {
15173
15354
  type: string;
15174
15355
  };
15356
+ thermostat_schedule: {
15357
+ $ref: string;
15358
+ };
15175
15359
  };
15176
15360
  required: string[];
15177
15361
  type: string;
@@ -15212,43 +15396,17 @@ declare const _default: {
15212
15396
  tags: string[];
15213
15397
  'x-fern-sdk-group-name': string[];
15214
15398
  'x-fern-sdk-method-name': string;
15215
- 'x-fern-sdk-return-value': string;
15216
15399
  };
15217
15400
  };
15218
- '/thermostats/update': {
15219
- patch: {
15401
+ '/thermostats/set_fallback_climate_preset': {
15402
+ post: {
15220
15403
  operationId: string;
15221
15404
  requestBody: {
15222
15405
  content: {
15223
15406
  'application/json': {
15224
15407
  schema: {
15225
15408
  properties: {
15226
- default_climate_setting: {
15227
- properties: {
15228
- cooling_set_point_celsius: {
15229
- format: string;
15230
- type: string;
15231
- };
15232
- cooling_set_point_fahrenheit: {
15233
- format: string;
15234
- type: string;
15235
- };
15236
- heating_set_point_celsius: {
15237
- format: string;
15238
- type: string;
15239
- };
15240
- heating_set_point_fahrenheit: {
15241
- format: string;
15242
- type: string;
15243
- };
15244
- hvac_mode_setting: {
15245
- enum: string[];
15246
- type: string;
15247
- };
15248
- manual_override_allowed: {
15249
- type: string;
15250
- };
15251
- };
15409
+ climate_preset_key: {
15252
15410
  type: string;
15253
15411
  };
15254
15412
  device_id: {
@@ -15287,23 +15445,248 @@ declare const _default: {
15287
15445
  };
15288
15446
  };
15289
15447
  security: ({
15448
+ pat_with_workspace: never[];
15449
+ console_session?: never;
15450
+ api_key?: never;
15451
+ } | {
15452
+ console_session: never[];
15453
+ pat_with_workspace?: never;
15454
+ api_key?: never;
15455
+ } | {
15290
15456
  api_key: never[];
15291
15457
  pat_with_workspace?: never;
15292
15458
  console_session?: never;
15293
- client_session?: never;
15459
+ })[];
15460
+ summary: string;
15461
+ tags: string[];
15462
+ 'x-fern-sdk-group-name': string[];
15463
+ 'x-fern-sdk-method-name': string;
15464
+ };
15465
+ };
15466
+ '/thermostats/set_fan_mode': {
15467
+ post: {
15468
+ operationId: string;
15469
+ requestBody: {
15470
+ content: {
15471
+ 'application/json': {
15472
+ schema: {
15473
+ properties: {
15474
+ device_id: {
15475
+ format: string;
15476
+ type: string;
15477
+ };
15478
+ fan_mode: {
15479
+ deprecated: boolean;
15480
+ enum: string[];
15481
+ type: string;
15482
+ 'x-deprecated': string;
15483
+ };
15484
+ fan_mode_setting: {
15485
+ enum: string[];
15486
+ type: string;
15487
+ };
15488
+ sync: {
15489
+ default: boolean;
15490
+ type: string;
15491
+ };
15492
+ };
15493
+ required: string[];
15494
+ type: string;
15495
+ };
15496
+ };
15497
+ };
15498
+ };
15499
+ responses: {
15500
+ 200: {
15501
+ content: {
15502
+ 'application/json': {
15503
+ schema: {
15504
+ properties: {
15505
+ action_attempt: {
15506
+ $ref: string;
15507
+ };
15508
+ ok: {
15509
+ type: string;
15510
+ };
15511
+ };
15512
+ required: string[];
15513
+ type: string;
15514
+ };
15515
+ };
15516
+ };
15517
+ description: string;
15518
+ };
15519
+ 400: {
15520
+ description: string;
15521
+ };
15522
+ 401: {
15523
+ description: string;
15524
+ };
15525
+ };
15526
+ security: ({
15527
+ client_session: never[];
15528
+ pat_with_workspace?: never;
15529
+ console_session?: never;
15530
+ api_key?: never;
15294
15531
  } | {
15295
15532
  pat_with_workspace: never[];
15296
- api_key?: never;
15297
- console_session?: never;
15298
15533
  client_session?: never;
15534
+ console_session?: never;
15535
+ api_key?: never;
15299
15536
  } | {
15300
15537
  console_session: never[];
15301
- api_key?: never;
15538
+ client_session?: never;
15302
15539
  pat_with_workspace?: never;
15540
+ api_key?: never;
15541
+ } | {
15542
+ api_key: never[];
15303
15543
  client_session?: never;
15544
+ pat_with_workspace?: never;
15545
+ console_session?: never;
15546
+ })[];
15547
+ summary: string;
15548
+ tags: string[];
15549
+ 'x-fern-sdk-group-name': string[];
15550
+ 'x-fern-sdk-method-name': string;
15551
+ 'x-fern-sdk-return-value': string;
15552
+ };
15553
+ };
15554
+ '/thermostats/update_climate_preset': {
15555
+ patch: {
15556
+ operationId: string;
15557
+ requestBody: {
15558
+ content: {
15559
+ 'application/json': {
15560
+ schema: {
15561
+ properties: {
15562
+ climate_preset_key: {
15563
+ type: string;
15564
+ };
15565
+ cooling_set_point_celsius: {
15566
+ format: string;
15567
+ type: string;
15568
+ };
15569
+ cooling_set_point_fahrenheit: {
15570
+ format: string;
15571
+ type: string;
15572
+ };
15573
+ device_id: {
15574
+ format: string;
15575
+ type: string;
15576
+ };
15577
+ fan_mode_setting: {
15578
+ enum: string[];
15579
+ type: string;
15580
+ };
15581
+ heating_set_point_celsius: {
15582
+ format: string;
15583
+ type: string;
15584
+ };
15585
+ heating_set_point_fahrenheit: {
15586
+ format: string;
15587
+ type: string;
15588
+ };
15589
+ hvac_mode_setting: {
15590
+ enum: string[];
15591
+ type: string;
15592
+ };
15593
+ manual_override_allowed: {
15594
+ type: string;
15595
+ };
15596
+ name: {
15597
+ nullable: boolean;
15598
+ type: string;
15599
+ };
15600
+ };
15601
+ required: string[];
15602
+ type: string;
15603
+ };
15604
+ };
15605
+ };
15606
+ };
15607
+ responses: {
15608
+ 200: {
15609
+ content: {
15610
+ 'application/json': {
15611
+ schema: {
15612
+ properties: {
15613
+ climate_preset: {
15614
+ properties: {
15615
+ can_delete: {
15616
+ type: string;
15617
+ };
15618
+ can_edit: {
15619
+ type: string;
15620
+ };
15621
+ climate_preset_key: {
15622
+ type: string;
15623
+ };
15624
+ cooling_set_point_celsius: {
15625
+ format: string;
15626
+ type: string;
15627
+ };
15628
+ cooling_set_point_fahrenheit: {
15629
+ format: string;
15630
+ type: string;
15631
+ };
15632
+ display_name: {
15633
+ type: string;
15634
+ };
15635
+ fan_mode_setting: {
15636
+ enum: string[];
15637
+ type: string;
15638
+ };
15639
+ heating_set_point_celsius: {
15640
+ format: string;
15641
+ type: string;
15642
+ };
15643
+ heating_set_point_fahrenheit: {
15644
+ format: string;
15645
+ type: string;
15646
+ };
15647
+ hvac_mode_setting: {
15648
+ enum: string[];
15649
+ type: string;
15650
+ };
15651
+ manual_override_allowed: {
15652
+ type: string;
15653
+ };
15654
+ name: {
15655
+ nullable: boolean;
15656
+ type: string;
15657
+ };
15658
+ };
15659
+ required: string[];
15660
+ type: string;
15661
+ };
15662
+ ok: {
15663
+ type: string;
15664
+ };
15665
+ };
15666
+ required: string[];
15667
+ type: string;
15668
+ };
15669
+ };
15670
+ };
15671
+ description: string;
15672
+ };
15673
+ 400: {
15674
+ description: string;
15675
+ };
15676
+ 401: {
15677
+ description: string;
15678
+ };
15679
+ };
15680
+ security: ({
15681
+ pat_with_workspace: never[];
15682
+ console_session?: never;
15683
+ api_key?: never;
15304
15684
  } | {
15305
- client_session: never[];
15685
+ console_session: never[];
15686
+ pat_with_workspace?: never;
15306
15687
  api_key?: never;
15688
+ } | {
15689
+ api_key: never[];
15307
15690
  pat_with_workspace?: never;
15308
15691
  console_session?: never;
15309
15692
  })[];
@@ -15318,38 +15701,44 @@ declare const _default: {
15318
15701
  'application/json': {
15319
15702
  schema: {
15320
15703
  properties: {
15321
- default_climate_setting: {
15322
- properties: {
15323
- cooling_set_point_celsius: {
15324
- format: string;
15325
- type: string;
15326
- };
15327
- cooling_set_point_fahrenheit: {
15328
- format: string;
15329
- type: string;
15330
- };
15331
- heating_set_point_celsius: {
15332
- format: string;
15333
- type: string;
15334
- };
15335
- heating_set_point_fahrenheit: {
15336
- format: string;
15337
- type: string;
15338
- };
15339
- hvac_mode_setting: {
15340
- enum: string[];
15341
- type: string;
15342
- };
15343
- manual_override_allowed: {
15344
- type: string;
15345
- };
15346
- };
15704
+ climate_preset_key: {
15705
+ type: string;
15706
+ };
15707
+ cooling_set_point_celsius: {
15708
+ format: string;
15709
+ type: string;
15710
+ };
15711
+ cooling_set_point_fahrenheit: {
15712
+ format: string;
15347
15713
  type: string;
15348
15714
  };
15349
15715
  device_id: {
15350
15716
  format: string;
15351
15717
  type: string;
15352
15718
  };
15719
+ fan_mode_setting: {
15720
+ enum: string[];
15721
+ type: string;
15722
+ };
15723
+ heating_set_point_celsius: {
15724
+ format: string;
15725
+ type: string;
15726
+ };
15727
+ heating_set_point_fahrenheit: {
15728
+ format: string;
15729
+ type: string;
15730
+ };
15731
+ hvac_mode_setting: {
15732
+ enum: string[];
15733
+ type: string;
15734
+ };
15735
+ manual_override_allowed: {
15736
+ type: string;
15737
+ };
15738
+ name: {
15739
+ nullable: boolean;
15740
+ type: string;
15741
+ };
15353
15742
  };
15354
15743
  required: string[];
15355
15744
  type: string;
@@ -15363,6 +15752,55 @@ declare const _default: {
15363
15752
  'application/json': {
15364
15753
  schema: {
15365
15754
  properties: {
15755
+ climate_preset: {
15756
+ properties: {
15757
+ can_delete: {
15758
+ type: string;
15759
+ };
15760
+ can_edit: {
15761
+ type: string;
15762
+ };
15763
+ climate_preset_key: {
15764
+ type: string;
15765
+ };
15766
+ cooling_set_point_celsius: {
15767
+ format: string;
15768
+ type: string;
15769
+ };
15770
+ cooling_set_point_fahrenheit: {
15771
+ format: string;
15772
+ type: string;
15773
+ };
15774
+ display_name: {
15775
+ type: string;
15776
+ };
15777
+ fan_mode_setting: {
15778
+ enum: string[];
15779
+ type: string;
15780
+ };
15781
+ heating_set_point_celsius: {
15782
+ format: string;
15783
+ type: string;
15784
+ };
15785
+ heating_set_point_fahrenheit: {
15786
+ format: string;
15787
+ type: string;
15788
+ };
15789
+ hvac_mode_setting: {
15790
+ enum: string[];
15791
+ type: string;
15792
+ };
15793
+ manual_override_allowed: {
15794
+ type: string;
15795
+ };
15796
+ name: {
15797
+ nullable: boolean;
15798
+ type: string;
15799
+ };
15800
+ };
15801
+ required: string[];
15802
+ type: string;
15803
+ };
15366
15804
  ok: {
15367
15805
  type: string;
15368
15806
  };
@@ -15382,23 +15820,15 @@ declare const _default: {
15382
15820
  };
15383
15821
  };
15384
15822
  security: ({
15385
- api_key: never[];
15386
- pat_with_workspace?: never;
15387
- console_session?: never;
15388
- client_session?: never;
15389
- } | {
15390
15823
  pat_with_workspace: never[];
15391
- api_key?: never;
15392
15824
  console_session?: never;
15393
- client_session?: never;
15825
+ api_key?: never;
15394
15826
  } | {
15395
15827
  console_session: never[];
15396
- api_key?: never;
15397
15828
  pat_with_workspace?: never;
15398
- client_session?: never;
15399
- } | {
15400
- client_session: never[];
15401
15829
  api_key?: never;
15830
+ } | {
15831
+ api_key: never[];
15402
15832
  pat_with_workspace?: never;
15403
15833
  console_session?: never;
15404
15834
  })[];
@@ -15406,6 +15836,7 @@ declare const _default: {
15406
15836
  tags: string[];
15407
15837
  'x-fern-sdk-group-name': string[];
15408
15838
  'x-fern-sdk-method-name': string;
15839
+ 'x-fern-sdk-return-value': string;
15409
15840
  };
15410
15841
  };
15411
15842
  '/user_identities/add_acs_user': {