@seamapi/types 1.240.0 → 1.242.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 +1592 -904
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +3728 -1455
  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 +316 -84
  12. package/lib/seam/connect/models/acs/acs-user.js +72 -22
  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 +1019 -570
  37. package/lib/seam/connect/openapi.js +1334 -723
  38. package/lib/seam/connect/openapi.js.map +1 -1
  39. package/lib/seam/connect/route-types.d.ts +1824 -476
  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 +100 -27
  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 +1385 -708
  57. package/src/lib/seam/connect/route-types.ts +2122 -520
  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,53 @@ 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
+ warning_code?: never;
737
+ };
738
+ required: string[];
739
+ type: string;
740
+ } | {
741
+ description: string;
742
+ properties: {
743
+ created_at: {
744
+ description: string;
745
+ format: string;
746
+ type: string;
747
+ };
748
+ message: {
749
+ description: string;
750
+ type: string;
751
+ };
752
+ warning_code: {
753
+ enum: string[];
754
+ type: string;
755
+ };
756
+ error_code?: never;
757
+ };
758
+ required: string[];
759
+ type: string;
760
+ })[];
761
+ };
762
+ type: string;
763
+ };
718
764
  external_type: {
719
765
  enum: string[];
720
766
  type: string;
@@ -763,14 +809,18 @@ declare const _default: {
763
809
  };
764
810
  warnings: {
765
811
  items: {
766
- oneOf: {
812
+ description: string;
813
+ oneOf: ({
814
+ description: string;
767
815
  properties: {
768
816
  created_at: {
769
817
  format: string;
770
818
  type: string;
819
+ description?: never;
771
820
  };
772
821
  message: {
773
822
  type: string;
823
+ description?: never;
774
824
  };
775
825
  warning_code: {
776
826
  enum: string[];
@@ -779,7 +829,26 @@ declare const _default: {
779
829
  };
780
830
  required: string[];
781
831
  type: string;
782
- }[];
832
+ } | {
833
+ description: string;
834
+ properties: {
835
+ created_at: {
836
+ description: string;
837
+ format: string;
838
+ type: string;
839
+ };
840
+ message: {
841
+ description: string;
842
+ type: string;
843
+ };
844
+ warning_code: {
845
+ enum: string[];
846
+ type: string;
847
+ };
848
+ };
849
+ required: string[];
850
+ type: string;
851
+ })[];
783
852
  };
784
853
  type: string;
785
854
  };
@@ -1044,63 +1113,6 @@ declare const _default: {
1044
1113
  required: string[];
1045
1114
  type: string;
1046
1115
  };
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
1116
  connect_webview: {
1105
1117
  properties: {
1106
1118
  accepted_devices: {
@@ -2322,12 +2334,13 @@ declare const _default: {
2322
2334
  supports_backup_access_code_pool: {
2323
2335
  type: string;
2324
2336
  };
2325
- active_climate_setting_schedule?: never;
2337
+ active_thermostat_schedule?: never;
2338
+ available_climate_presets?: never;
2326
2339
  available_hvac_mode_settings?: never;
2327
2340
  current_climate_setting?: never;
2328
2341
  default_climate_setting?: never;
2342
+ fallback_climate_preset_key?: never;
2329
2343
  fan_mode_setting?: never;
2330
- is_climate_setting_schedule_active?: never;
2331
2344
  is_cooling?: never;
2332
2345
  is_fan_running?: never;
2333
2346
  is_heating?: never;
@@ -2349,18 +2362,11 @@ declare const _default: {
2349
2362
  type: string;
2350
2363
  } | {
2351
2364
  properties: {
2352
- active_climate_setting_schedule: {
2365
+ active_thermostat_schedule: {
2366
+ default: null;
2367
+ nullable: boolean;
2353
2368
  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;
2369
+ climate_preset_key: {
2364
2370
  type: string;
2365
2371
  };
2366
2372
  created_at: {
@@ -2371,41 +2377,85 @@ declare const _default: {
2371
2377
  format: string;
2372
2378
  type: string;
2373
2379
  };
2374
- errors: {
2375
- description: string;
2376
- };
2377
- heating_set_point_celsius: {
2378
- format: string;
2379
- type: string;
2380
- };
2381
- heating_set_point_fahrenheit: {
2380
+ ends_at: {
2382
2381
  format: string;
2383
2382
  type: string;
2384
2383
  };
2385
- hvac_mode_setting: {
2386
- enum: string[];
2387
- type: string;
2384
+ errors: {
2385
+ description: string;
2388
2386
  };
2389
- manual_override_allowed: {
2387
+ max_override_period_minutes: {
2388
+ default: number;
2389
+ minimum: number;
2390
2390
  type: string;
2391
2391
  };
2392
2392
  name: {
2393
2393
  type: string;
2394
2394
  };
2395
- schedule_ends_at: {
2396
- type: string;
2397
- };
2398
- schedule_starts_at: {
2395
+ starts_at: {
2396
+ format: string;
2399
2397
  type: string;
2400
2398
  };
2401
- schedule_type: {
2402
- enum: string[];
2399
+ thermostat_schedule_id: {
2400
+ format: string;
2403
2401
  type: string;
2404
2402
  };
2405
2403
  };
2406
2404
  required: string[];
2407
2405
  type: string;
2408
2406
  };
2407
+ available_climate_presets: {
2408
+ items: {
2409
+ properties: {
2410
+ can_delete: {
2411
+ type: string;
2412
+ };
2413
+ can_edit: {
2414
+ type: string;
2415
+ };
2416
+ climate_preset_key: {
2417
+ type: string;
2418
+ };
2419
+ cooling_set_point_celsius: {
2420
+ format: string;
2421
+ type: string;
2422
+ };
2423
+ cooling_set_point_fahrenheit: {
2424
+ format: string;
2425
+ type: string;
2426
+ };
2427
+ display_name: {
2428
+ type: string;
2429
+ };
2430
+ fan_mode_setting: {
2431
+ enum: string[];
2432
+ type: string;
2433
+ };
2434
+ heating_set_point_celsius: {
2435
+ format: string;
2436
+ type: string;
2437
+ };
2438
+ heating_set_point_fahrenheit: {
2439
+ format: string;
2440
+ type: string;
2441
+ };
2442
+ hvac_mode_setting: {
2443
+ enum: string[];
2444
+ type: string;
2445
+ };
2446
+ manual_override_allowed: {
2447
+ type: string;
2448
+ };
2449
+ name: {
2450
+ nullable: boolean;
2451
+ type: string;
2452
+ };
2453
+ };
2454
+ required: string[];
2455
+ type: string;
2456
+ };
2457
+ type: string;
2458
+ };
2409
2459
  available_hvac_mode_settings: {
2410
2460
  items: {
2411
2461
  enum: string[];
@@ -2415,6 +2465,15 @@ declare const _default: {
2415
2465
  };
2416
2466
  current_climate_setting: {
2417
2467
  properties: {
2468
+ can_delete: {
2469
+ type: string;
2470
+ };
2471
+ can_edit: {
2472
+ type: string;
2473
+ };
2474
+ climate_preset_key: {
2475
+ type: string;
2476
+ };
2418
2477
  cooling_set_point_celsius: {
2419
2478
  format: string;
2420
2479
  type: string;
@@ -2423,6 +2482,13 @@ declare const _default: {
2423
2482
  format: string;
2424
2483
  type: string;
2425
2484
  };
2485
+ display_name: {
2486
+ type: string;
2487
+ };
2488
+ fan_mode_setting: {
2489
+ enum: string[];
2490
+ type: string;
2491
+ };
2426
2492
  heating_set_point_celsius: {
2427
2493
  format: string;
2428
2494
  type: string;
@@ -2438,12 +2504,25 @@ declare const _default: {
2438
2504
  manual_override_allowed: {
2439
2505
  type: string;
2440
2506
  };
2507
+ name: {
2508
+ nullable: boolean;
2509
+ type: string;
2510
+ };
2441
2511
  };
2442
- required: string[];
2443
2512
  type: string;
2444
2513
  };
2445
2514
  default_climate_setting: {
2515
+ deprecated: boolean;
2446
2516
  properties: {
2517
+ can_delete: {
2518
+ type: string;
2519
+ };
2520
+ can_edit: {
2521
+ type: string;
2522
+ };
2523
+ climate_preset_key: {
2524
+ type: string;
2525
+ };
2447
2526
  cooling_set_point_celsius: {
2448
2527
  format: string;
2449
2528
  type: string;
@@ -2452,6 +2531,13 @@ declare const _default: {
2452
2531
  format: string;
2453
2532
  type: string;
2454
2533
  };
2534
+ display_name: {
2535
+ type: string;
2536
+ };
2537
+ fan_mode_setting: {
2538
+ enum: string[];
2539
+ type: string;
2540
+ };
2455
2541
  heating_set_point_celsius: {
2456
2542
  format: string;
2457
2543
  type: string;
@@ -2467,16 +2553,25 @@ declare const _default: {
2467
2553
  manual_override_allowed: {
2468
2554
  type: string;
2469
2555
  };
2556
+ name: {
2557
+ nullable: boolean;
2558
+ type: string;
2559
+ };
2470
2560
  };
2471
- required: string[];
2561
+ type: string;
2562
+ 'x-deprecated': string;
2563
+ };
2564
+ fallback_climate_preset_key: {
2565
+ default: null;
2566
+ minLength: number;
2567
+ nullable: boolean;
2472
2568
  type: string;
2473
2569
  };
2474
2570
  fan_mode_setting: {
2571
+ deprecated: boolean;
2475
2572
  enum: string[];
2476
2573
  type: string;
2477
- };
2478
- is_climate_setting_schedule_active: {
2479
- type: string;
2574
+ 'x-deprecated': string;
2480
2575
  };
2481
2576
  is_cooling: {
2482
2577
  type: string;
@@ -2976,47 +3071,87 @@ declare const _default: {
2976
3071
  required: string[];
2977
3072
  type: string;
2978
3073
  };
2979
- unmanaged_access_code: {
3074
+ thermostat_schedule: {
2980
3075
  properties: {
2981
- access_code_id: {
2982
- description: string;
2983
- format: string;
2984
- type: string;
2985
- };
2986
- code: {
2987
- description: string;
2988
- nullable: boolean;
3076
+ climate_preset_key: {
2989
3077
  type: string;
2990
3078
  };
2991
3079
  created_at: {
2992
- description: string;
2993
3080
  format: string;
2994
3081
  type: string;
2995
3082
  };
2996
3083
  device_id: {
2997
- description: string;
2998
3084
  format: string;
2999
3085
  type: string;
3000
3086
  };
3001
3087
  ends_at: {
3002
- description: string;
3003
3088
  format: string;
3004
- nullable: boolean;
3005
3089
  type: string;
3006
3090
  };
3007
3091
  errors: {
3008
3092
  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: {
3093
+ };
3094
+ max_override_period_minutes: {
3095
+ default: number;
3096
+ minimum: number;
3097
+ type: string;
3098
+ };
3099
+ name: {
3100
+ type: string;
3101
+ };
3102
+ starts_at: {
3103
+ format: string;
3104
+ type: string;
3105
+ };
3106
+ thermostat_schedule_id: {
3107
+ format: string;
3108
+ type: string;
3109
+ };
3110
+ };
3111
+ required: string[];
3112
+ type: string;
3113
+ };
3114
+ unmanaged_access_code: {
3115
+ properties: {
3116
+ access_code_id: {
3117
+ description: string;
3118
+ format: string;
3119
+ type: string;
3120
+ };
3121
+ code: {
3122
+ description: string;
3123
+ nullable: boolean;
3124
+ type: string;
3125
+ };
3126
+ created_at: {
3127
+ description: string;
3128
+ format: string;
3129
+ type: string;
3130
+ };
3131
+ device_id: {
3132
+ description: string;
3133
+ format: string;
3134
+ type: string;
3135
+ };
3136
+ ends_at: {
3137
+ description: string;
3138
+ format: string;
3139
+ nullable: boolean;
3140
+ type: string;
3141
+ };
3142
+ errors: {
3143
+ description: string;
3144
+ items: {
3145
+ oneOf: ({
3146
+ properties: {
3147
+ error_code: {
3148
+ type: string;
3149
+ };
3150
+ is_access_code_error: {
3151
+ enum: boolean[];
3152
+ type: string;
3153
+ };
3154
+ message: {
3020
3155
  type: string;
3021
3156
  };
3022
3157
  is_device_error?: never;
@@ -8834,18 +8969,7 @@ declare const _default: {
8834
8969
  acs_user: {
8835
8970
  properties: {
8836
8971
  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;
8972
+ $ref: string;
8849
8973
  };
8850
8974
  acs_system_id: {
8851
8975
  format: string;
@@ -8873,7 +8997,51 @@ declare const _default: {
8873
8997
  type: string;
8874
8998
  };
8875
8999
  errors: {
8876
- $ref: string;
9000
+ items: {
9001
+ description: string;
9002
+ oneOf: ({
9003
+ description: string;
9004
+ properties: {
9005
+ created_at: {
9006
+ description: string;
9007
+ format: string;
9008
+ type: string;
9009
+ };
9010
+ error_code: {
9011
+ enum: string[];
9012
+ type: string;
9013
+ };
9014
+ message: {
9015
+ description: string;
9016
+ type: string;
9017
+ };
9018
+ warning_code?: never;
9019
+ };
9020
+ required: string[];
9021
+ type: string;
9022
+ } | {
9023
+ description: string;
9024
+ properties: {
9025
+ created_at: {
9026
+ description: string;
9027
+ format: string;
9028
+ type: string;
9029
+ };
9030
+ message: {
9031
+ description: string;
9032
+ type: string;
9033
+ };
9034
+ warning_code: {
9035
+ enum: string[];
9036
+ type: string;
9037
+ };
9038
+ error_code?: never;
9039
+ };
9040
+ required: string[];
9041
+ type: string;
9042
+ })[];
9043
+ };
9044
+ type: string;
8877
9045
  };
8878
9046
  external_type: {
8879
9047
  enum: string[];
@@ -8923,13 +9091,36 @@ declare const _default: {
8923
9091
  };
8924
9092
  warnings: {
8925
9093
  items: {
8926
- oneOf: {
9094
+ description: string;
9095
+ oneOf: ({
9096
+ description: string;
9097
+ properties: {
9098
+ created_at: {
9099
+ format: string;
9100
+ type: string;
9101
+ description?: never;
9102
+ };
9103
+ message: {
9104
+ type: string;
9105
+ description?: never;
9106
+ };
9107
+ warning_code: {
9108
+ enum: string[];
9109
+ type: string;
9110
+ };
9111
+ };
9112
+ required: string[];
9113
+ type: string;
9114
+ } | {
9115
+ description: string;
8927
9116
  properties: {
8928
9117
  created_at: {
9118
+ description: string;
8929
9119
  format: string;
8930
9120
  type: string;
8931
9121
  };
8932
9122
  message: {
9123
+ description: string;
8933
9124
  type: string;
8934
9125
  };
8935
9126
  warning_code: {
@@ -8939,7 +9130,7 @@ declare const _default: {
8939
9130
  };
8940
9131
  required: string[];
8941
9132
  type: string;
8942
- }[];
9133
+ })[];
8943
9134
  };
8944
9135
  type: string;
8945
9136
  };
@@ -9032,18 +9223,7 @@ declare const _default: {
9032
9223
  items: {
9033
9224
  properties: {
9034
9225
  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;
9226
+ $ref: string;
9047
9227
  };
9048
9228
  acs_system_id: {
9049
9229
  format: string;
@@ -9071,7 +9251,51 @@ declare const _default: {
9071
9251
  type: string;
9072
9252
  };
9073
9253
  errors: {
9074
- $ref: string;
9254
+ items: {
9255
+ description: string;
9256
+ oneOf: ({
9257
+ description: string;
9258
+ properties: {
9259
+ created_at: {
9260
+ description: string;
9261
+ format: string;
9262
+ type: string;
9263
+ };
9264
+ error_code: {
9265
+ enum: string[];
9266
+ type: string;
9267
+ };
9268
+ message: {
9269
+ description: string;
9270
+ type: string;
9271
+ };
9272
+ warning_code?: never;
9273
+ };
9274
+ required: string[];
9275
+ type: string;
9276
+ } | {
9277
+ description: string;
9278
+ properties: {
9279
+ created_at: {
9280
+ description: string;
9281
+ format: string;
9282
+ type: string;
9283
+ };
9284
+ message: {
9285
+ description: string;
9286
+ type: string;
9287
+ };
9288
+ warning_code: {
9289
+ enum: string[];
9290
+ type: string;
9291
+ };
9292
+ error_code?: never;
9293
+ };
9294
+ required: string[];
9295
+ type: string;
9296
+ })[];
9297
+ };
9298
+ type: string;
9075
9299
  };
9076
9300
  external_type: {
9077
9301
  enum: string[];
@@ -9121,13 +9345,36 @@ declare const _default: {
9121
9345
  };
9122
9346
  warnings: {
9123
9347
  items: {
9124
- oneOf: {
9348
+ description: string;
9349
+ oneOf: ({
9350
+ description: string;
9351
+ properties: {
9352
+ created_at: {
9353
+ format: string;
9354
+ type: string;
9355
+ description?: never;
9356
+ };
9357
+ message: {
9358
+ type: string;
9359
+ description?: never;
9360
+ };
9361
+ warning_code: {
9362
+ enum: string[];
9363
+ type: string;
9364
+ };
9365
+ };
9366
+ required: string[];
9367
+ type: string;
9368
+ } | {
9369
+ description: string;
9125
9370
  properties: {
9126
9371
  created_at: {
9372
+ description: string;
9127
9373
  format: string;
9128
9374
  type: string;
9129
9375
  };
9130
9376
  message: {
9377
+ description: string;
9131
9378
  type: string;
9132
9379
  };
9133
9380
  warning_code: {
@@ -9137,7 +9384,7 @@ declare const _default: {
9137
9384
  };
9138
9385
  required: string[];
9139
9386
  type: string;
9140
- }[];
9387
+ })[];
9141
9388
  };
9142
9389
  type: string;
9143
9390
  };
@@ -13832,7 +14079,7 @@ declare const _default: {
13832
14079
  'x-fern-sdk-return-value': string;
13833
14080
  };
13834
14081
  };
13835
- '/thermostats/climate_setting_schedules/create': {
14082
+ '/thermostats/activate_climate_preset': {
13836
14083
  post: {
13837
14084
  operationId: string;
13838
14085
  requestBody: {
@@ -13840,46 +14087,13 @@ declare const _default: {
13840
14087
  'application/json': {
13841
14088
  schema: {
13842
14089
  properties: {
13843
- cooling_set_point_celsius: {
13844
- format: string;
13845
- type: string;
13846
- };
13847
- cooling_set_point_fahrenheit: {
13848
- format: string;
14090
+ climate_preset_key: {
13849
14091
  type: string;
13850
14092
  };
13851
14093
  device_id: {
13852
- type: string;
13853
- };
13854
- heating_set_point_celsius: {
13855
- format: string;
13856
- type: string;
13857
- };
13858
- heating_set_point_fahrenheit: {
13859
14094
  format: string;
13860
14095
  type: string;
13861
14096
  };
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
14097
  };
13884
14098
  required: string[];
13885
14099
  type: string;
@@ -13893,7 +14107,7 @@ declare const _default: {
13893
14107
  'application/json': {
13894
14108
  schema: {
13895
14109
  properties: {
13896
- climate_setting_schedule: {
14110
+ action_attempt: {
13897
14111
  $ref: string;
13898
14112
  };
13899
14113
  ok: {
@@ -13915,23 +14129,15 @@ declare const _default: {
13915
14129
  };
13916
14130
  };
13917
14131
  security: ({
13918
- client_session: never[];
13919
- pat_with_workspace?: never;
13920
- console_session?: never;
13921
- api_key?: never;
13922
- } | {
13923
14132
  pat_with_workspace: never[];
13924
- client_session?: never;
13925
14133
  console_session?: never;
13926
14134
  api_key?: never;
13927
14135
  } | {
13928
14136
  console_session: never[];
13929
- client_session?: never;
13930
14137
  pat_with_workspace?: never;
13931
14138
  api_key?: never;
13932
14139
  } | {
13933
14140
  api_key: never[];
13934
- client_session?: never;
13935
14141
  pat_with_workspace?: never;
13936
14142
  console_session?: never;
13937
14143
  })[];
@@ -13942,7 +14148,7 @@ declare const _default: {
13942
14148
  'x-fern-sdk-return-value': string;
13943
14149
  };
13944
14150
  };
13945
- '/thermostats/climate_setting_schedules/delete': {
14151
+ '/thermostats/cool': {
13946
14152
  post: {
13947
14153
  operationId: string;
13948
14154
  requestBody: {
@@ -13950,10 +14156,22 @@ declare const _default: {
13950
14156
  'application/json': {
13951
14157
  schema: {
13952
14158
  properties: {
13953
- climate_setting_schedule_id: {
14159
+ cooling_set_point_celsius: {
14160
+ format: string;
14161
+ type: string;
14162
+ };
14163
+ cooling_set_point_fahrenheit: {
14164
+ format: string;
14165
+ type: string;
14166
+ };
14167
+ device_id: {
13954
14168
  format: string;
13955
14169
  type: string;
13956
14170
  };
14171
+ sync: {
14172
+ default: boolean;
14173
+ type: string;
14174
+ };
13957
14175
  };
13958
14176
  required: string[];
13959
14177
  type: string;
@@ -13967,6 +14185,9 @@ declare const _default: {
13967
14185
  'application/json': {
13968
14186
  schema: {
13969
14187
  properties: {
14188
+ action_attempt: {
14189
+ $ref: string;
14190
+ };
13970
14191
  ok: {
13971
14192
  type: string;
13972
14193
  };
@@ -14010,33 +14231,119 @@ declare const _default: {
14010
14231
  tags: string[];
14011
14232
  'x-fern-sdk-group-name': string[];
14012
14233
  'x-fern-sdk-method-name': string;
14234
+ 'x-fern-sdk-return-value': string;
14013
14235
  };
14014
- put: {
14236
+ };
14237
+ '/thermostats/create_climate_preset': {
14238
+ post: {
14015
14239
  operationId: string;
14016
14240
  requestBody: {
14017
14241
  content: {
14018
14242
  'application/json': {
14019
14243
  schema: {
14020
14244
  properties: {
14021
- climate_setting_schedule_id: {
14245
+ climate_preset_key: {
14246
+ type: string;
14247
+ };
14248
+ cooling_set_point_celsius: {
14022
14249
  format: string;
14023
14250
  type: string;
14024
14251
  };
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: {
14039
- type: string;
14252
+ cooling_set_point_fahrenheit: {
14253
+ format: string;
14254
+ type: string;
14255
+ };
14256
+ device_id: {
14257
+ format: string;
14258
+ type: string;
14259
+ };
14260
+ fan_mode_setting: {
14261
+ enum: string[];
14262
+ type: string;
14263
+ };
14264
+ heating_set_point_celsius: {
14265
+ format: string;
14266
+ type: string;
14267
+ };
14268
+ heating_set_point_fahrenheit: {
14269
+ format: string;
14270
+ type: string;
14271
+ };
14272
+ hvac_mode_setting: {
14273
+ enum: string[];
14274
+ type: string;
14275
+ };
14276
+ manual_override_allowed: {
14277
+ type: string;
14278
+ };
14279
+ name: {
14280
+ nullable: boolean;
14281
+ type: string;
14282
+ };
14283
+ };
14284
+ required: string[];
14285
+ type: string;
14286
+ };
14287
+ };
14288
+ };
14289
+ };
14290
+ responses: {
14291
+ 200: {
14292
+ content: {
14293
+ 'application/json': {
14294
+ schema: {
14295
+ properties: {
14296
+ climate_preset: {
14297
+ properties: {
14298
+ can_delete: {
14299
+ type: string;
14300
+ };
14301
+ can_edit: {
14302
+ type: string;
14303
+ };
14304
+ climate_preset_key: {
14305
+ type: string;
14306
+ };
14307
+ cooling_set_point_celsius: {
14308
+ format: string;
14309
+ type: string;
14310
+ };
14311
+ cooling_set_point_fahrenheit: {
14312
+ format: string;
14313
+ type: string;
14314
+ };
14315
+ display_name: {
14316
+ type: string;
14317
+ };
14318
+ fan_mode_setting: {
14319
+ enum: string[];
14320
+ type: string;
14321
+ };
14322
+ heating_set_point_celsius: {
14323
+ format: string;
14324
+ type: string;
14325
+ };
14326
+ heating_set_point_fahrenheit: {
14327
+ format: string;
14328
+ type: string;
14329
+ };
14330
+ hvac_mode_setting: {
14331
+ enum: string[];
14332
+ type: string;
14333
+ };
14334
+ manual_override_allowed: {
14335
+ type: string;
14336
+ };
14337
+ name: {
14338
+ nullable: boolean;
14339
+ type: string;
14340
+ };
14341
+ };
14342
+ required: string[];
14343
+ type: string;
14344
+ };
14345
+ ok: {
14346
+ type: string;
14040
14347
  };
14041
14348
  };
14042
14349
  required: string[];
@@ -14054,32 +14361,25 @@ declare const _default: {
14054
14361
  };
14055
14362
  };
14056
14363
  security: ({
14057
- client_session: never[];
14058
- pat_with_workspace?: never;
14059
- console_session?: never;
14060
- api_key?: never;
14061
- } | {
14062
14364
  pat_with_workspace: never[];
14063
- client_session?: never;
14064
14365
  console_session?: never;
14065
14366
  api_key?: never;
14066
14367
  } | {
14067
14368
  console_session: never[];
14068
- client_session?: never;
14069
14369
  pat_with_workspace?: never;
14070
14370
  api_key?: never;
14071
14371
  } | {
14072
14372
  api_key: never[];
14073
- client_session?: never;
14074
14373
  pat_with_workspace?: never;
14075
14374
  console_session?: never;
14076
14375
  })[];
14077
14376
  summary: string;
14078
14377
  tags: string[];
14079
- 'x-fern-ignore': boolean;
14378
+ 'x-fern-sdk-group-name': string[];
14379
+ 'x-fern-sdk-method-name': string;
14080
14380
  };
14081
14381
  };
14082
- '/thermostats/climate_setting_schedules/get': {
14382
+ '/thermostats/delete_climate_preset': {
14083
14383
  post: {
14084
14384
  operationId: string;
14085
14385
  requestBody: {
@@ -14087,8 +14387,7 @@ declare const _default: {
14087
14387
  'application/json': {
14088
14388
  schema: {
14089
14389
  properties: {
14090
- climate_setting_schedule_id: {
14091
- format: string;
14390
+ climate_preset_key: {
14092
14391
  type: string;
14093
14392
  };
14094
14393
  device_id: {
@@ -14096,6 +14395,7 @@ declare const _default: {
14096
14395
  type: string;
14097
14396
  };
14098
14397
  };
14398
+ required: string[];
14099
14399
  type: string;
14100
14400
  };
14101
14401
  };
@@ -14107,9 +14407,6 @@ declare const _default: {
14107
14407
  'application/json': {
14108
14408
  schema: {
14109
14409
  properties: {
14110
- climate_setting_schedule: {
14111
- $ref: string;
14112
- };
14113
14410
  ok: {
14114
14411
  type: string;
14115
14412
  };
@@ -14129,23 +14426,15 @@ declare const _default: {
14129
14426
  };
14130
14427
  };
14131
14428
  security: ({
14132
- client_session: never[];
14133
- pat_with_workspace?: never;
14134
- console_session?: never;
14135
- api_key?: never;
14136
- } | {
14137
14429
  pat_with_workspace: never[];
14138
- client_session?: never;
14139
14430
  console_session?: never;
14140
14431
  api_key?: never;
14141
14432
  } | {
14142
14433
  console_session: never[];
14143
- client_session?: never;
14144
14434
  pat_with_workspace?: never;
14145
14435
  api_key?: never;
14146
14436
  } | {
14147
14437
  api_key: never[];
14148
- client_session?: never;
14149
14438
  pat_with_workspace?: never;
14150
14439
  console_session?: never;
14151
14440
  })[];
@@ -14153,10 +14442,9 @@ declare const _default: {
14153
14442
  tags: string[];
14154
14443
  'x-fern-sdk-group-name': string[];
14155
14444
  'x-fern-sdk-method-name': string;
14156
- 'x-fern-sdk-return-value': string;
14157
14445
  };
14158
14446
  };
14159
- '/thermostats/climate_setting_schedules/list': {
14447
+ '/thermostats/get': {
14160
14448
  post: {
14161
14449
  operationId: string;
14162
14450
  requestBody: {
@@ -14168,11 +14456,10 @@ declare const _default: {
14168
14456
  format: string;
14169
14457
  type: string;
14170
14458
  };
14171
- user_identifier_key: {
14459
+ name: {
14172
14460
  type: string;
14173
14461
  };
14174
14462
  };
14175
- required: string[];
14176
14463
  type: string;
14177
14464
  };
14178
14465
  };
@@ -14184,15 +14471,12 @@ declare const _default: {
14184
14471
  'application/json': {
14185
14472
  schema: {
14186
14473
  properties: {
14187
- climate_setting_schedules: {
14188
- items: {
14189
- $ref: string;
14190
- };
14191
- type: string;
14192
- };
14193
14474
  ok: {
14194
14475
  type: string;
14195
14476
  };
14477
+ thermostat: {
14478
+ $ref: string;
14479
+ };
14196
14480
  };
14197
14481
  required: string[];
14198
14482
  type: string;
@@ -14209,50 +14493,43 @@ declare const _default: {
14209
14493
  };
14210
14494
  };
14211
14495
  security: ({
14212
- api_key: never[];
14213
- client_session?: never;
14214
- pat_with_workspace?: never;
14215
- console_session?: never;
14216
- } | {
14217
14496
  client_session: never[];
14218
- api_key?: never;
14219
14497
  pat_with_workspace?: never;
14220
14498
  console_session?: never;
14499
+ api_key?: never;
14221
14500
  } | {
14222
14501
  pat_with_workspace: never[];
14223
- api_key?: never;
14224
14502
  client_session?: never;
14225
14503
  console_session?: never;
14504
+ api_key?: never;
14226
14505
  } | {
14227
14506
  console_session: never[];
14507
+ client_session?: never;
14508
+ pat_with_workspace?: never;
14228
14509
  api_key?: never;
14510
+ } | {
14511
+ api_key: never[];
14229
14512
  client_session?: never;
14230
14513
  pat_with_workspace?: never;
14514
+ console_session?: never;
14231
14515
  })[];
14232
14516
  summary: string;
14233
14517
  tags: string[];
14518
+ 'x-deprecated': string;
14234
14519
  'x-fern-sdk-group-name': string[];
14235
14520
  'x-fern-sdk-method-name': string;
14236
14521
  'x-fern-sdk-return-value': string;
14237
14522
  };
14238
14523
  };
14239
- '/thermostats/climate_setting_schedules/update': {
14240
- patch: {
14524
+ '/thermostats/heat': {
14525
+ post: {
14241
14526
  operationId: string;
14242
14527
  requestBody: {
14243
14528
  content: {
14244
14529
  'application/json': {
14245
14530
  schema: {
14246
14531
  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: {
14532
+ device_id: {
14256
14533
  format: string;
14257
14534
  type: string;
14258
14535
  };
@@ -14264,25 +14541,8 @@ declare const _default: {
14264
14541
  format: string;
14265
14542
  type: string;
14266
14543
  };
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[];
14544
+ sync: {
14545
+ default: boolean;
14286
14546
  type: string;
14287
14547
  };
14288
14548
  };
@@ -14298,7 +14558,7 @@ declare const _default: {
14298
14558
  'application/json': {
14299
14559
  schema: {
14300
14560
  properties: {
14301
- climate_setting_schedule: {
14561
+ action_attempt: {
14302
14562
  $ref: string;
14303
14563
  };
14304
14564
  ok: {
@@ -14342,8 +14602,12 @@ declare const _default: {
14342
14602
  })[];
14343
14603
  summary: string;
14344
14604
  tags: string[];
14345
- 'x-fern-ignore': boolean;
14605
+ 'x-fern-sdk-group-name': string[];
14606
+ 'x-fern-sdk-method-name': string;
14607
+ 'x-fern-sdk-return-value': string;
14346
14608
  };
14609
+ };
14610
+ '/thermostats/heat_cool': {
14347
14611
  post: {
14348
14612
  operationId: string;
14349
14613
  requestBody: {
@@ -14351,15 +14615,15 @@ declare const _default: {
14351
14615
  'application/json': {
14352
14616
  schema: {
14353
14617
  properties: {
14354
- climate_setting_schedule_id: {
14618
+ cooling_set_point_celsius: {
14355
14619
  format: string;
14356
14620
  type: string;
14357
14621
  };
14358
- cooling_set_point_celsius: {
14622
+ cooling_set_point_fahrenheit: {
14359
14623
  format: string;
14360
14624
  type: string;
14361
14625
  };
14362
- cooling_set_point_fahrenheit: {
14626
+ device_id: {
14363
14627
  format: string;
14364
14628
  type: string;
14365
14629
  };
@@ -14371,25 +14635,8 @@ declare const _default: {
14371
14635
  format: string;
14372
14636
  type: string;
14373
14637
  };
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[];
14638
+ sync: {
14639
+ default: boolean;
14393
14640
  type: string;
14394
14641
  };
14395
14642
  };
@@ -14405,7 +14652,7 @@ declare const _default: {
14405
14652
  'application/json': {
14406
14653
  schema: {
14407
14654
  properties: {
14408
- climate_setting_schedule: {
14655
+ action_attempt: {
14409
14656
  $ref: string;
14410
14657
  };
14411
14658
  ok: {
@@ -14451,57 +14698,94 @@ declare const _default: {
14451
14698
  tags: string[];
14452
14699
  'x-fern-sdk-group-name': string[];
14453
14700
  'x-fern-sdk-method-name': string;
14701
+ 'x-fern-sdk-return-value': string;
14454
14702
  };
14455
- put: {
14703
+ };
14704
+ '/thermostats/list': {
14705
+ post: {
14456
14706
  operationId: string;
14457
14707
  requestBody: {
14458
14708
  content: {
14459
14709
  'application/json': {
14460
14710
  schema: {
14461
14711
  properties: {
14462
- climate_setting_schedule_id: {
14712
+ connect_webview_id: {
14463
14713
  format: string;
14464
14714
  type: string;
14465
14715
  };
14466
- cooling_set_point_celsius: {
14716
+ connected_account_id: {
14717
+ description: string;
14467
14718
  format: string;
14468
14719
  type: string;
14469
14720
  };
14470
- cooling_set_point_fahrenheit: {
14471
- format: string;
14721
+ connected_account_ids: {
14722
+ items: {
14723
+ format: string;
14724
+ type: string;
14725
+ };
14472
14726
  type: string;
14473
14727
  };
14474
- heating_set_point_celsius: {
14728
+ created_before: {
14475
14729
  format: string;
14476
14730
  type: string;
14477
14731
  };
14478
- heating_set_point_fahrenheit: {
14479
- format: string;
14732
+ custom_metadata_has: {
14733
+ additionalProperties: {
14734
+ oneOf: {
14735
+ type: string;
14736
+ }[];
14737
+ };
14480
14738
  type: string;
14481
14739
  };
14482
- hvac_mode_setting: {
14483
- enum: string[];
14740
+ device_ids: {
14741
+ items: {
14742
+ format: string;
14743
+ type: string;
14744
+ };
14484
14745
  type: string;
14485
14746
  };
14486
- manual_override_allowed: {
14487
- type: string;
14747
+ device_type: {
14748
+ oneOf: {
14749
+ enum: string[];
14750
+ type: string;
14751
+ }[];
14488
14752
  };
14489
- name: {
14753
+ device_types: {
14754
+ items: {
14755
+ oneOf: {
14756
+ enum: string[];
14757
+ type: string;
14758
+ }[];
14759
+ };
14490
14760
  type: string;
14491
14761
  };
14492
- schedule_ends_at: {
14762
+ exclude_if: {
14763
+ items: {
14764
+ enum: string[];
14765
+ type: string;
14766
+ };
14493
14767
  type: string;
14494
14768
  };
14495
- schedule_starts_at: {
14769
+ include_if: {
14770
+ items: {
14771
+ enum: string[];
14772
+ type: string;
14773
+ };
14496
14774
  type: string;
14497
14775
  };
14498
- schedule_type: {
14499
- default: string;
14500
- enum: string[];
14776
+ limit: {
14777
+ default: number;
14778
+ format: string;
14779
+ type: string;
14780
+ };
14781
+ manufacturer: {
14782
+ enum: string[];
14783
+ type: string;
14784
+ };
14785
+ user_identifier_key: {
14501
14786
  type: string;
14502
14787
  };
14503
14788
  };
14504
- required: string[];
14505
14789
  type: string;
14506
14790
  };
14507
14791
  };
@@ -14513,12 +14797,15 @@ declare const _default: {
14513
14797
  'application/json': {
14514
14798
  schema: {
14515
14799
  properties: {
14516
- climate_setting_schedule: {
14517
- $ref: string;
14518
- };
14519
14800
  ok: {
14520
14801
  type: string;
14521
14802
  };
14803
+ thermostats: {
14804
+ items: {
14805
+ $ref: string;
14806
+ };
14807
+ type: string;
14808
+ };
14522
14809
  };
14523
14810
  required: string[];
14524
14811
  type: string;
@@ -14535,32 +14822,34 @@ declare const _default: {
14535
14822
  };
14536
14823
  };
14537
14824
  security: ({
14538
- client_session: never[];
14825
+ api_key: never[];
14539
14826
  pat_with_workspace?: never;
14540
14827
  console_session?: never;
14541
- api_key?: never;
14828
+ client_session?: never;
14542
14829
  } | {
14543
14830
  pat_with_workspace: never[];
14544
- client_session?: never;
14545
- console_session?: never;
14546
14831
  api_key?: never;
14832
+ console_session?: never;
14833
+ client_session?: never;
14547
14834
  } | {
14548
14835
  console_session: never[];
14549
- client_session?: never;
14550
- pat_with_workspace?: never;
14551
14836
  api_key?: never;
14552
- } | {
14553
- api_key: never[];
14837
+ pat_with_workspace?: never;
14554
14838
  client_session?: never;
14839
+ } | {
14840
+ client_session: never[];
14841
+ api_key?: never;
14555
14842
  pat_with_workspace?: never;
14556
14843
  console_session?: never;
14557
14844
  })[];
14558
14845
  summary: string;
14559
14846
  tags: string[];
14560
- 'x-fern-ignore': boolean;
14847
+ 'x-fern-sdk-group-name': string[];
14848
+ 'x-fern-sdk-method-name': string;
14849
+ 'x-fern-sdk-return-value': string;
14561
14850
  };
14562
14851
  };
14563
- '/thermostats/cool': {
14852
+ '/thermostats/off': {
14564
14853
  post: {
14565
14854
  operationId: string;
14566
14855
  requestBody: {
@@ -14568,14 +14857,6 @@ declare const _default: {
14568
14857
  'application/json': {
14569
14858
  schema: {
14570
14859
  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
14860
  device_id: {
14580
14861
  format: string;
14581
14862
  type: string;
@@ -14646,7 +14927,7 @@ declare const _default: {
14646
14927
  'x-fern-sdk-return-value': string;
14647
14928
  };
14648
14929
  };
14649
- '/thermostats/get': {
14930
+ '/thermostats/schedules/create': {
14650
14931
  post: {
14651
14932
  operationId: string;
14652
14933
  requestBody: {
@@ -14654,14 +14935,28 @@ declare const _default: {
14654
14935
  'application/json': {
14655
14936
  schema: {
14656
14937
  properties: {
14938
+ climate_preset_key: {
14939
+ type: string;
14940
+ };
14657
14941
  device_id: {
14658
- format: string;
14942
+ type: string;
14943
+ };
14944
+ ends_at: {
14945
+ type: string;
14946
+ };
14947
+ max_override_period_minutes: {
14948
+ default: number;
14949
+ minimum: number;
14659
14950
  type: string;
14660
14951
  };
14661
14952
  name: {
14662
14953
  type: string;
14663
14954
  };
14955
+ starts_at: {
14956
+ type: string;
14957
+ };
14664
14958
  };
14959
+ required: string[];
14665
14960
  type: string;
14666
14961
  };
14667
14962
  };
@@ -14676,7 +14971,7 @@ declare const _default: {
14676
14971
  ok: {
14677
14972
  type: string;
14678
14973
  };
14679
- thermostat: {
14974
+ thermostat_schedule: {
14680
14975
  $ref: string;
14681
14976
  };
14682
14977
  };
@@ -14717,13 +15012,12 @@ declare const _default: {
14717
15012
  })[];
14718
15013
  summary: string;
14719
15014
  tags: string[];
14720
- 'x-deprecated': string;
14721
15015
  'x-fern-sdk-group-name': string[];
14722
15016
  'x-fern-sdk-method-name': string;
14723
15017
  'x-fern-sdk-return-value': string;
14724
15018
  };
14725
15019
  };
14726
- '/thermostats/heat': {
15020
+ '/thermostats/schedules/delete': {
14727
15021
  post: {
14728
15022
  operationId: string;
14729
15023
  requestBody: {
@@ -14731,22 +15025,10 @@ declare const _default: {
14731
15025
  'application/json': {
14732
15026
  schema: {
14733
15027
  properties: {
14734
- device_id: {
14735
- format: string;
14736
- type: string;
14737
- };
14738
- heating_set_point_celsius: {
15028
+ thermostat_schedule_id: {
14739
15029
  format: string;
14740
15030
  type: string;
14741
15031
  };
14742
- heating_set_point_fahrenheit: {
14743
- format: string;
14744
- type: string;
14745
- };
14746
- sync: {
14747
- default: boolean;
14748
- type: string;
14749
- };
14750
15032
  };
14751
15033
  required: string[];
14752
15034
  type: string;
@@ -14760,9 +15042,6 @@ declare const _default: {
14760
15042
  'application/json': {
14761
15043
  schema: {
14762
15044
  properties: {
14763
- action_attempt: {
14764
- $ref: string;
14765
- };
14766
15045
  ok: {
14767
15046
  type: string;
14768
15047
  };
@@ -14806,10 +15085,9 @@ declare const _default: {
14806
15085
  tags: string[];
14807
15086
  'x-fern-sdk-group-name': string[];
14808
15087
  'x-fern-sdk-method-name': string;
14809
- 'x-fern-sdk-return-value': string;
14810
15088
  };
14811
15089
  };
14812
- '/thermostats/heat_cool': {
15090
+ '/thermostats/schedules/get': {
14813
15091
  post: {
14814
15092
  operationId: string;
14815
15093
  requestBody: {
@@ -14817,30 +15095,10 @@ declare const _default: {
14817
15095
  'application/json': {
14818
15096
  schema: {
14819
15097
  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: {
15098
+ thermostat_schedule_id: {
14837
15099
  format: string;
14838
15100
  type: string;
14839
15101
  };
14840
- sync: {
14841
- default: boolean;
14842
- type: string;
14843
- };
14844
15102
  };
14845
15103
  required: string[];
14846
15104
  type: string;
@@ -14854,12 +15112,12 @@ declare const _default: {
14854
15112
  'application/json': {
14855
15113
  schema: {
14856
15114
  properties: {
14857
- action_attempt: {
14858
- $ref: string;
14859
- };
14860
15115
  ok: {
14861
15116
  type: string;
14862
15117
  };
15118
+ thermostat_schedule: {
15119
+ $ref: string;
15120
+ };
14863
15121
  };
14864
15122
  required: string[];
14865
15123
  type: string;
@@ -14903,7 +15161,7 @@ declare const _default: {
14903
15161
  'x-fern-sdk-return-value': string;
14904
15162
  };
14905
15163
  };
14906
- '/thermostats/list': {
15164
+ '/thermostats/schedules/list': {
14907
15165
  post: {
14908
15166
  operationId: string;
14909
15167
  requestBody: {
@@ -14911,83 +15169,15 @@ declare const _default: {
14911
15169
  'application/json': {
14912
15170
  schema: {
14913
15171
  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;
15172
+ device_id: {
14980
15173
  format: string;
14981
15174
  type: string;
14982
15175
  };
14983
- manufacturer: {
14984
- enum: string[];
14985
- type: string;
14986
- };
14987
15176
  user_identifier_key: {
14988
15177
  type: string;
14989
15178
  };
14990
15179
  };
15180
+ required: string[];
14991
15181
  type: string;
14992
15182
  };
14993
15183
  };
@@ -15002,7 +15192,7 @@ declare const _default: {
15002
15192
  ok: {
15003
15193
  type: string;
15004
15194
  };
15005
- thermostats: {
15195
+ thermostat_schedules: {
15006
15196
  items: {
15007
15197
  $ref: string;
15008
15198
  };
@@ -15025,24 +15215,24 @@ declare const _default: {
15025
15215
  };
15026
15216
  security: ({
15027
15217
  api_key: never[];
15218
+ client_session?: never;
15028
15219
  pat_with_workspace?: never;
15029
15220
  console_session?: never;
15030
- client_session?: never;
15031
15221
  } | {
15032
- pat_with_workspace: never[];
15222
+ client_session: never[];
15033
15223
  api_key?: never;
15224
+ pat_with_workspace?: never;
15034
15225
  console_session?: never;
15035
- client_session?: never;
15036
15226
  } | {
15037
- console_session: never[];
15227
+ pat_with_workspace: never[];
15038
15228
  api_key?: never;
15039
- pat_with_workspace?: never;
15040
15229
  client_session?: never;
15230
+ console_session?: never;
15041
15231
  } | {
15042
- client_session: never[];
15232
+ console_session: never[];
15043
15233
  api_key?: never;
15234
+ client_session?: never;
15044
15235
  pat_with_workspace?: never;
15045
- console_session?: never;
15046
15236
  })[];
15047
15237
  summary: string;
15048
15238
  tags: string[];
@@ -15051,20 +15241,32 @@ declare const _default: {
15051
15241
  'x-fern-sdk-return-value': string;
15052
15242
  };
15053
15243
  };
15054
- '/thermostats/off': {
15055
- post: {
15244
+ '/thermostats/schedules/update': {
15245
+ patch: {
15056
15246
  operationId: string;
15057
15247
  requestBody: {
15058
15248
  content: {
15059
15249
  'application/json': {
15060
15250
  schema: {
15061
15251
  properties: {
15062
- device_id: {
15063
- format: string;
15252
+ climate_preset_key: {
15064
15253
  type: string;
15065
15254
  };
15066
- sync: {
15067
- default: boolean;
15255
+ ends_at: {
15256
+ type: string;
15257
+ };
15258
+ max_override_period_minutes: {
15259
+ minimum: number;
15260
+ type: string;
15261
+ };
15262
+ name: {
15263
+ type: string;
15264
+ };
15265
+ starts_at: {
15266
+ type: string;
15267
+ };
15268
+ thermostat_schedule_id: {
15269
+ format: string;
15068
15270
  type: string;
15069
15271
  };
15070
15272
  };
@@ -15080,12 +15282,12 @@ declare const _default: {
15080
15282
  'application/json': {
15081
15283
  schema: {
15082
15284
  properties: {
15083
- action_attempt: {
15084
- $ref: string;
15085
- };
15086
15285
  ok: {
15087
15286
  type: string;
15088
15287
  };
15288
+ thermostat_schedule: {
15289
+ $ref: string;
15290
+ };
15089
15291
  };
15090
15292
  required: string[];
15091
15293
  type: string;
@@ -15124,12 +15326,8 @@ declare const _default: {
15124
15326
  })[];
15125
15327
  summary: string;
15126
15328
  tags: string[];
15127
- 'x-fern-sdk-group-name': string[];
15128
- 'x-fern-sdk-method-name': string;
15129
- 'x-fern-sdk-return-value': string;
15329
+ 'x-fern-ignore': boolean;
15130
15330
  };
15131
- };
15132
- '/thermostats/set_fan_mode': {
15133
15331
  post: {
15134
15332
  operationId: string;
15135
15333
  requestBody: {
@@ -15137,20 +15335,24 @@ declare const _default: {
15137
15335
  'application/json': {
15138
15336
  schema: {
15139
15337
  properties: {
15140
- device_id: {
15141
- format: string;
15338
+ climate_preset_key: {
15142
15339
  type: string;
15143
15340
  };
15144
- fan_mode: {
15145
- enum: string[];
15341
+ ends_at: {
15146
15342
  type: string;
15147
15343
  };
15148
- fan_mode_setting: {
15149
- enum: string[];
15344
+ max_override_period_minutes: {
15345
+ minimum: number;
15150
15346
  type: string;
15151
15347
  };
15152
- sync: {
15153
- default: boolean;
15348
+ name: {
15349
+ type: string;
15350
+ };
15351
+ starts_at: {
15352
+ type: string;
15353
+ };
15354
+ thermostat_schedule_id: {
15355
+ format: string;
15154
15356
  type: string;
15155
15357
  };
15156
15358
  };
@@ -15166,12 +15368,12 @@ declare const _default: {
15166
15368
  'application/json': {
15167
15369
  schema: {
15168
15370
  properties: {
15169
- action_attempt: {
15170
- $ref: string;
15171
- };
15172
15371
  ok: {
15173
15372
  type: string;
15174
15373
  };
15374
+ thermostat_schedule: {
15375
+ $ref: string;
15376
+ };
15175
15377
  };
15176
15378
  required: string[];
15177
15379
  type: string;
@@ -15212,43 +15414,17 @@ declare const _default: {
15212
15414
  tags: string[];
15213
15415
  'x-fern-sdk-group-name': string[];
15214
15416
  'x-fern-sdk-method-name': string;
15215
- 'x-fern-sdk-return-value': string;
15216
15417
  };
15217
15418
  };
15218
- '/thermostats/update': {
15219
- patch: {
15419
+ '/thermostats/set_fallback_climate_preset': {
15420
+ post: {
15220
15421
  operationId: string;
15221
15422
  requestBody: {
15222
15423
  content: {
15223
15424
  'application/json': {
15224
15425
  schema: {
15225
15426
  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
- };
15427
+ climate_preset_key: {
15252
15428
  type: string;
15253
15429
  };
15254
15430
  device_id: {
@@ -15287,23 +15463,248 @@ declare const _default: {
15287
15463
  };
15288
15464
  };
15289
15465
  security: ({
15466
+ pat_with_workspace: never[];
15467
+ console_session?: never;
15468
+ api_key?: never;
15469
+ } | {
15470
+ console_session: never[];
15471
+ pat_with_workspace?: never;
15472
+ api_key?: never;
15473
+ } | {
15290
15474
  api_key: never[];
15291
15475
  pat_with_workspace?: never;
15292
15476
  console_session?: never;
15293
- client_session?: never;
15477
+ })[];
15478
+ summary: string;
15479
+ tags: string[];
15480
+ 'x-fern-sdk-group-name': string[];
15481
+ 'x-fern-sdk-method-name': string;
15482
+ };
15483
+ };
15484
+ '/thermostats/set_fan_mode': {
15485
+ post: {
15486
+ operationId: string;
15487
+ requestBody: {
15488
+ content: {
15489
+ 'application/json': {
15490
+ schema: {
15491
+ properties: {
15492
+ device_id: {
15493
+ format: string;
15494
+ type: string;
15495
+ };
15496
+ fan_mode: {
15497
+ deprecated: boolean;
15498
+ enum: string[];
15499
+ type: string;
15500
+ 'x-deprecated': string;
15501
+ };
15502
+ fan_mode_setting: {
15503
+ enum: string[];
15504
+ type: string;
15505
+ };
15506
+ sync: {
15507
+ default: boolean;
15508
+ type: string;
15509
+ };
15510
+ };
15511
+ required: string[];
15512
+ type: string;
15513
+ };
15514
+ };
15515
+ };
15516
+ };
15517
+ responses: {
15518
+ 200: {
15519
+ content: {
15520
+ 'application/json': {
15521
+ schema: {
15522
+ properties: {
15523
+ action_attempt: {
15524
+ $ref: string;
15525
+ };
15526
+ ok: {
15527
+ type: string;
15528
+ };
15529
+ };
15530
+ required: string[];
15531
+ type: string;
15532
+ };
15533
+ };
15534
+ };
15535
+ description: string;
15536
+ };
15537
+ 400: {
15538
+ description: string;
15539
+ };
15540
+ 401: {
15541
+ description: string;
15542
+ };
15543
+ };
15544
+ security: ({
15545
+ client_session: never[];
15546
+ pat_with_workspace?: never;
15547
+ console_session?: never;
15548
+ api_key?: never;
15294
15549
  } | {
15295
15550
  pat_with_workspace: never[];
15296
- api_key?: never;
15297
- console_session?: never;
15298
15551
  client_session?: never;
15552
+ console_session?: never;
15553
+ api_key?: never;
15299
15554
  } | {
15300
15555
  console_session: never[];
15301
- api_key?: never;
15556
+ client_session?: never;
15302
15557
  pat_with_workspace?: never;
15558
+ api_key?: never;
15559
+ } | {
15560
+ api_key: never[];
15303
15561
  client_session?: never;
15562
+ pat_with_workspace?: never;
15563
+ console_session?: never;
15564
+ })[];
15565
+ summary: string;
15566
+ tags: string[];
15567
+ 'x-fern-sdk-group-name': string[];
15568
+ 'x-fern-sdk-method-name': string;
15569
+ 'x-fern-sdk-return-value': string;
15570
+ };
15571
+ };
15572
+ '/thermostats/update_climate_preset': {
15573
+ patch: {
15574
+ operationId: string;
15575
+ requestBody: {
15576
+ content: {
15577
+ 'application/json': {
15578
+ schema: {
15579
+ properties: {
15580
+ climate_preset_key: {
15581
+ type: string;
15582
+ };
15583
+ cooling_set_point_celsius: {
15584
+ format: string;
15585
+ type: string;
15586
+ };
15587
+ cooling_set_point_fahrenheit: {
15588
+ format: string;
15589
+ type: string;
15590
+ };
15591
+ device_id: {
15592
+ format: string;
15593
+ type: string;
15594
+ };
15595
+ fan_mode_setting: {
15596
+ enum: string[];
15597
+ type: string;
15598
+ };
15599
+ heating_set_point_celsius: {
15600
+ format: string;
15601
+ type: string;
15602
+ };
15603
+ heating_set_point_fahrenheit: {
15604
+ format: string;
15605
+ type: string;
15606
+ };
15607
+ hvac_mode_setting: {
15608
+ enum: string[];
15609
+ type: string;
15610
+ };
15611
+ manual_override_allowed: {
15612
+ type: string;
15613
+ };
15614
+ name: {
15615
+ nullable: boolean;
15616
+ type: string;
15617
+ };
15618
+ };
15619
+ required: string[];
15620
+ type: string;
15621
+ };
15622
+ };
15623
+ };
15624
+ };
15625
+ responses: {
15626
+ 200: {
15627
+ content: {
15628
+ 'application/json': {
15629
+ schema: {
15630
+ properties: {
15631
+ climate_preset: {
15632
+ properties: {
15633
+ can_delete: {
15634
+ type: string;
15635
+ };
15636
+ can_edit: {
15637
+ type: string;
15638
+ };
15639
+ climate_preset_key: {
15640
+ type: string;
15641
+ };
15642
+ cooling_set_point_celsius: {
15643
+ format: string;
15644
+ type: string;
15645
+ };
15646
+ cooling_set_point_fahrenheit: {
15647
+ format: string;
15648
+ type: string;
15649
+ };
15650
+ display_name: {
15651
+ type: string;
15652
+ };
15653
+ fan_mode_setting: {
15654
+ enum: string[];
15655
+ type: string;
15656
+ };
15657
+ heating_set_point_celsius: {
15658
+ format: string;
15659
+ type: string;
15660
+ };
15661
+ heating_set_point_fahrenheit: {
15662
+ format: string;
15663
+ type: string;
15664
+ };
15665
+ hvac_mode_setting: {
15666
+ enum: string[];
15667
+ type: string;
15668
+ };
15669
+ manual_override_allowed: {
15670
+ type: string;
15671
+ };
15672
+ name: {
15673
+ nullable: boolean;
15674
+ type: string;
15675
+ };
15676
+ };
15677
+ required: string[];
15678
+ type: string;
15679
+ };
15680
+ ok: {
15681
+ type: string;
15682
+ };
15683
+ };
15684
+ required: string[];
15685
+ type: string;
15686
+ };
15687
+ };
15688
+ };
15689
+ description: string;
15690
+ };
15691
+ 400: {
15692
+ description: string;
15693
+ };
15694
+ 401: {
15695
+ description: string;
15696
+ };
15697
+ };
15698
+ security: ({
15699
+ pat_with_workspace: never[];
15700
+ console_session?: never;
15701
+ api_key?: never;
15304
15702
  } | {
15305
- client_session: never[];
15703
+ console_session: never[];
15704
+ pat_with_workspace?: never;
15306
15705
  api_key?: never;
15706
+ } | {
15707
+ api_key: never[];
15307
15708
  pat_with_workspace?: never;
15308
15709
  console_session?: never;
15309
15710
  })[];
@@ -15318,38 +15719,44 @@ declare const _default: {
15318
15719
  'application/json': {
15319
15720
  schema: {
15320
15721
  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
- };
15722
+ climate_preset_key: {
15723
+ type: string;
15724
+ };
15725
+ cooling_set_point_celsius: {
15726
+ format: string;
15727
+ type: string;
15728
+ };
15729
+ cooling_set_point_fahrenheit: {
15730
+ format: string;
15347
15731
  type: string;
15348
15732
  };
15349
15733
  device_id: {
15350
15734
  format: string;
15351
15735
  type: string;
15352
15736
  };
15737
+ fan_mode_setting: {
15738
+ enum: string[];
15739
+ type: string;
15740
+ };
15741
+ heating_set_point_celsius: {
15742
+ format: string;
15743
+ type: string;
15744
+ };
15745
+ heating_set_point_fahrenheit: {
15746
+ format: string;
15747
+ type: string;
15748
+ };
15749
+ hvac_mode_setting: {
15750
+ enum: string[];
15751
+ type: string;
15752
+ };
15753
+ manual_override_allowed: {
15754
+ type: string;
15755
+ };
15756
+ name: {
15757
+ nullable: boolean;
15758
+ type: string;
15759
+ };
15353
15760
  };
15354
15761
  required: string[];
15355
15762
  type: string;
@@ -15363,6 +15770,55 @@ declare const _default: {
15363
15770
  'application/json': {
15364
15771
  schema: {
15365
15772
  properties: {
15773
+ climate_preset: {
15774
+ properties: {
15775
+ can_delete: {
15776
+ type: string;
15777
+ };
15778
+ can_edit: {
15779
+ type: string;
15780
+ };
15781
+ climate_preset_key: {
15782
+ type: string;
15783
+ };
15784
+ cooling_set_point_celsius: {
15785
+ format: string;
15786
+ type: string;
15787
+ };
15788
+ cooling_set_point_fahrenheit: {
15789
+ format: string;
15790
+ type: string;
15791
+ };
15792
+ display_name: {
15793
+ type: string;
15794
+ };
15795
+ fan_mode_setting: {
15796
+ enum: string[];
15797
+ type: string;
15798
+ };
15799
+ heating_set_point_celsius: {
15800
+ format: string;
15801
+ type: string;
15802
+ };
15803
+ heating_set_point_fahrenheit: {
15804
+ format: string;
15805
+ type: string;
15806
+ };
15807
+ hvac_mode_setting: {
15808
+ enum: string[];
15809
+ type: string;
15810
+ };
15811
+ manual_override_allowed: {
15812
+ type: string;
15813
+ };
15814
+ name: {
15815
+ nullable: boolean;
15816
+ type: string;
15817
+ };
15818
+ };
15819
+ required: string[];
15820
+ type: string;
15821
+ };
15366
15822
  ok: {
15367
15823
  type: string;
15368
15824
  };
@@ -15382,23 +15838,15 @@ declare const _default: {
15382
15838
  };
15383
15839
  };
15384
15840
  security: ({
15385
- api_key: never[];
15386
- pat_with_workspace?: never;
15387
- console_session?: never;
15388
- client_session?: never;
15389
- } | {
15390
15841
  pat_with_workspace: never[];
15391
- api_key?: never;
15392
15842
  console_session?: never;
15393
- client_session?: never;
15843
+ api_key?: never;
15394
15844
  } | {
15395
15845
  console_session: never[];
15396
- api_key?: never;
15397
15846
  pat_with_workspace?: never;
15398
- client_session?: never;
15399
- } | {
15400
- client_session: never[];
15401
15847
  api_key?: never;
15848
+ } | {
15849
+ api_key: never[];
15402
15850
  pat_with_workspace?: never;
15403
15851
  console_session?: never;
15404
15852
  })[];
@@ -15406,6 +15854,7 @@ declare const _default: {
15406
15854
  tags: string[];
15407
15855
  'x-fern-sdk-group-name': string[];
15408
15856
  'x-fern-sdk-method-name': string;
15857
+ 'x-fern-sdk-return-value': string;
15409
15858
  };
15410
15859
  };
15411
15860
  '/user_identities/add_acs_user': {