@seamapi/types 1.241.0 → 1.242.1

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 (46) hide show
  1. package/dist/connect.cjs +281 -137
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +370 -182
  4. package/dist/devicedb.cjs +9 -6
  5. package/dist/devicedb.cjs.map +1 -1
  6. package/dist/devicedb.d.cts +123 -70
  7. package/lib/seam/connect/models/acs/acs-system.d.ts +86 -42
  8. package/lib/seam/connect/models/acs/acs-system.js +23 -20
  9. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-user.d.ts +169 -140
  11. package/lib/seam/connect/models/acs/acs-user.js +32 -30
  12. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  13. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
  14. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
  15. package/lib/seam/connect/models/devices/device.d.ts +6 -6
  16. package/lib/seam/connect/models/devices/phone.d.ts +5 -5
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
  18. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
  19. package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
  20. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  21. package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
  22. package/lib/seam/connect/models/thermostats/index.js +1 -1
  23. package/lib/seam/connect/models/thermostats/index.js.map +1 -1
  24. package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js} +1 -1
  25. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -0
  26. package/lib/seam/connect/openapi.d.ts +45 -18
  27. package/lib/seam/connect/openapi.js +219 -90
  28. package/lib/seam/connect/openapi.js.map +1 -1
  29. package/lib/seam/connect/route-types.d.ts +176 -78
  30. package/lib/seam/devicedb/models/device-model.d.ts +59 -24
  31. package/lib/seam/devicedb/models/device-model.js +9 -6
  32. package/lib/seam/devicedb/models/device-model.js.map +1 -1
  33. package/lib/seam/devicedb/route-specs.d.ts +56 -38
  34. package/lib/seam/devicedb/route-types.d.ts +8 -8
  35. package/package.json +1 -1
  36. package/src/lib/seam/connect/models/acs/acs-system.ts +32 -24
  37. package/src/lib/seam/connect/models/acs/acs-user.ts +41 -35
  38. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
  39. package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
  40. package/src/lib/seam/connect/openapi.ts +249 -90
  41. package/src/lib/seam/connect/route-types.ts +187 -78
  42. package/src/lib/seam/devicedb/models/device-model.ts +24 -19
  43. package/src/lib/seam/devicedb/route-types.ts +8 -8
  44. package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +0 -1
  45. /package/lib/seam/connect/models/thermostats/{climate-setting-schedule.d.ts → thermostat-schedule.d.ts} +0 -0
  46. /package/src/lib/seam/connect/models/thermostats/{climate-setting-schedule.ts → thermostat-schedule.ts} +0 -0
@@ -552,7 +552,7 @@ export default {
552
552
  error_code: {
553
553
  description:
554
554
  'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
555
- enum: ['salto_site_user_limit_reached'],
555
+ enum: ['salto_ks_subscription_limit_exceeded'],
556
556
  type: 'string',
557
557
  },
558
558
  message: {
@@ -574,8 +574,31 @@ export default {
574
574
  },
575
575
  error_code: {
576
576
  description:
577
- "Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block",
578
- enum: ['salto_seam_integration_blocked'],
577
+ 'Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue.',
578
+ enum: ['acs_system_disconnected'],
579
+ type: 'string',
580
+ },
581
+ message: {
582
+ description:
583
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
584
+ type: 'string',
585
+ },
586
+ },
587
+ required: ['created_at', 'message', 'error_code'],
588
+ type: 'object',
589
+ },
590
+ {
591
+ properties: {
592
+ created_at: {
593
+ description:
594
+ 'Date and time at which Seam created the error.',
595
+ format: 'date-time',
596
+ type: 'string',
597
+ },
598
+ error_code: {
599
+ description:
600
+ 'Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access.',
601
+ enum: ['account_disconnected'],
579
602
  type: 'string',
580
603
  },
581
604
  message: {
@@ -667,8 +690,8 @@ export default {
667
690
  },
668
691
  warning_code: {
669
692
  description:
670
- 'You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit.',
671
- enum: ['salto_site_user_limit_almost_reached'],
693
+ 'Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this.',
694
+ enum: ['salto_ks_subscription_limit_almost_reached'],
672
695
  type: 'string',
673
696
  },
674
697
  },
@@ -724,7 +747,7 @@ export default {
724
747
  oneOf: [
725
748
  {
726
749
  description:
727
- 'Indicates that the user was deleted from the ACS system outside of Seam.',
750
+ 'Indicates that the ACS user was deleted from the ACS system outside of Seam.',
728
751
  properties: {
729
752
  created_at: {
730
753
  description:
@@ -733,7 +756,7 @@ export default {
733
756
  type: 'string',
734
757
  },
735
758
  error_code: {
736
- enum: ['user_deleted_externally'],
759
+ enum: ['deleted_externally'],
737
760
  type: 'string',
738
761
  },
739
762
  message: {
@@ -769,6 +792,8 @@ export default {
769
792
  type: 'object',
770
793
  },
771
794
  {
795
+ description:
796
+ "Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
772
797
  properties: {
773
798
  created_at: {
774
799
  description:
@@ -776,8 +801,27 @@ export default {
776
801
  format: 'date-time',
777
802
  type: 'string',
778
803
  },
779
- error_code: {
780
- enum: ['salto_site_user_limit_reached'],
804
+ message: {
805
+ description:
806
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
807
+ type: 'string',
808
+ },
809
+ warning_code: {
810
+ enum: ['failed_to_create_on_acs_system'],
811
+ type: 'string',
812
+ },
813
+ },
814
+ required: ['created_at', 'message', 'warning_code'],
815
+ type: 'object',
816
+ },
817
+ {
818
+ description:
819
+ "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
820
+ properties: {
821
+ created_at: {
822
+ description:
823
+ 'Date and time at which Seam created the error.',
824
+ format: 'date-time',
781
825
  type: 'string',
782
826
  },
783
827
  message: {
@@ -785,8 +829,35 @@ export default {
785
829
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
786
830
  type: 'string',
787
831
  },
832
+ warning_code: {
833
+ enum: ['failed_to_update_on_acs_system'],
834
+ type: 'string',
835
+ },
788
836
  },
789
- required: ['created_at', 'message', 'error_code'],
837
+ required: ['created_at', 'message', 'warning_code'],
838
+ type: 'object',
839
+ },
840
+ {
841
+ description:
842
+ "Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
843
+ properties: {
844
+ created_at: {
845
+ description:
846
+ 'Date and time at which Seam created the error.',
847
+ format: 'date-time',
848
+ type: 'string',
849
+ },
850
+ message: {
851
+ description:
852
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
853
+ type: 'string',
854
+ },
855
+ warning_code: {
856
+ enum: ['failed_to_delete_on_acs_system'],
857
+ type: 'string',
858
+ },
859
+ },
860
+ required: ['created_at', 'message', 'warning_code'],
790
861
  type: 'object',
791
862
  },
792
863
  ],
@@ -837,8 +908,17 @@ export default {
837
908
  description:
838
909
  "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
839
910
  properties: {
840
- created_at: { format: 'date-time', type: 'string' },
841
- message: { type: 'string' },
911
+ created_at: {
912
+ description:
913
+ 'Date and time at which Seam created the error.',
914
+ format: 'date-time',
915
+ type: 'string',
916
+ },
917
+ message: {
918
+ description:
919
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
920
+ type: 'string',
921
+ },
842
922
  warning_code: {
843
923
  enum: ['failed_to_update_on_acs_system'],
844
924
  type: 'string',
@@ -861,18 +941,6 @@ export default {
861
941
  required: ['created_at', 'message', 'warning_code'],
862
942
  type: 'object',
863
943
  },
864
- {
865
- properties: {
866
- created_at: { format: 'date-time', type: 'string' },
867
- message: { type: 'string' },
868
- warning_code: {
869
- enum: ['salto_site_user_suspended'],
870
- type: 'string',
871
- },
872
- },
873
- required: ['created_at', 'message', 'warning_code'],
874
- type: 'object',
875
- },
876
944
  ],
877
945
  },
878
946
  type: 'array',
@@ -3197,13 +3265,16 @@ export default {
3197
3265
  type: 'string',
3198
3266
  },
3199
3267
  manual_override_allowed: { type: 'boolean' },
3200
- name: { nullable: true, type: 'string' },
3268
+ name: {
3269
+ default: null,
3270
+ nullable: true,
3271
+ type: 'string',
3272
+ },
3201
3273
  },
3202
3274
  required: [
3203
3275
  'climate_preset_key',
3204
3276
  'can_edit',
3205
3277
  'can_delete',
3206
- 'name',
3207
3278
  'display_name',
3208
3279
  'manual_override_allowed',
3209
3280
  ],
@@ -3249,7 +3320,11 @@ export default {
3249
3320
  type: 'string',
3250
3321
  },
3251
3322
  manual_override_allowed: { type: 'boolean' },
3252
- name: { nullable: true, type: 'string' },
3323
+ name: {
3324
+ default: null,
3325
+ nullable: true,
3326
+ type: 'string',
3327
+ },
3253
3328
  },
3254
3329
  type: 'object',
3255
3330
  },
@@ -3285,7 +3360,11 @@ export default {
3285
3360
  type: 'string',
3286
3361
  },
3287
3362
  manual_override_allowed: { type: 'boolean' },
3288
- name: { nullable: true, type: 'string' },
3363
+ name: {
3364
+ default: null,
3365
+ nullable: true,
3366
+ type: 'string',
3367
+ },
3289
3368
  },
3290
3369
  type: 'object',
3291
3370
  'x-deprecated':
@@ -7910,7 +7989,7 @@ export default {
7910
7989
  oneOf: [
7911
7990
  {
7912
7991
  description:
7913
- 'Indicates that the user was deleted from the ACS system outside of Seam.',
7992
+ 'Indicates that the ACS user was deleted from the ACS system outside of Seam.',
7914
7993
  properties: {
7915
7994
  created_at: {
7916
7995
  description:
@@ -7919,7 +7998,7 @@ export default {
7919
7998
  type: 'string',
7920
7999
  },
7921
8000
  error_code: {
7922
- enum: ['user_deleted_externally'],
8001
+ enum: ['deleted_externally'],
7923
8002
  type: 'string',
7924
8003
  },
7925
8004
  message: {
@@ -7965,6 +8044,8 @@ export default {
7965
8044
  type: 'object',
7966
8045
  },
7967
8046
  {
8047
+ description:
8048
+ "Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
7968
8049
  properties: {
7969
8050
  created_at: {
7970
8051
  description:
@@ -7972,8 +8053,31 @@ export default {
7972
8053
  format: 'date-time',
7973
8054
  type: 'string',
7974
8055
  },
7975
- error_code: {
7976
- enum: ['salto_site_user_limit_reached'],
8056
+ message: {
8057
+ description:
8058
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8059
+ type: 'string',
8060
+ },
8061
+ warning_code: {
8062
+ enum: ['failed_to_create_on_acs_system'],
8063
+ type: 'string',
8064
+ },
8065
+ },
8066
+ required: [
8067
+ 'created_at',
8068
+ 'message',
8069
+ 'warning_code',
8070
+ ],
8071
+ type: 'object',
8072
+ },
8073
+ {
8074
+ description:
8075
+ "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8076
+ properties: {
8077
+ created_at: {
8078
+ description:
8079
+ 'Date and time at which Seam created the error.',
8080
+ format: 'date-time',
7977
8081
  type: 'string',
7978
8082
  },
7979
8083
  message: {
@@ -7981,11 +8085,42 @@ export default {
7981
8085
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7982
8086
  type: 'string',
7983
8087
  },
8088
+ warning_code: {
8089
+ enum: ['failed_to_update_on_acs_system'],
8090
+ type: 'string',
8091
+ },
7984
8092
  },
7985
8093
  required: [
7986
8094
  'created_at',
7987
8095
  'message',
7988
- 'error_code',
8096
+ 'warning_code',
8097
+ ],
8098
+ type: 'object',
8099
+ },
8100
+ {
8101
+ description:
8102
+ "Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8103
+ properties: {
8104
+ created_at: {
8105
+ description:
8106
+ 'Date and time at which Seam created the error.',
8107
+ format: 'date-time',
8108
+ type: 'string',
8109
+ },
8110
+ message: {
8111
+ description:
8112
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8113
+ type: 'string',
8114
+ },
8115
+ warning_code: {
8116
+ enum: ['failed_to_delete_on_acs_system'],
8117
+ type: 'string',
8118
+ },
8119
+ },
8120
+ required: [
8121
+ 'created_at',
8122
+ 'message',
8123
+ 'warning_code',
7989
8124
  ],
7990
8125
  type: 'object',
7991
8126
  },
@@ -8060,10 +8195,16 @@ export default {
8060
8195
  "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8061
8196
  properties: {
8062
8197
  created_at: {
8198
+ description:
8199
+ 'Date and time at which Seam created the error.',
8063
8200
  format: 'date-time',
8064
8201
  type: 'string',
8065
8202
  },
8066
- message: { type: 'string' },
8203
+ message: {
8204
+ description:
8205
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8206
+ type: 'string',
8207
+ },
8067
8208
  warning_code: {
8068
8209
  enum: ['failed_to_update_on_acs_system'],
8069
8210
  type: 'string',
@@ -8097,25 +8238,6 @@ export default {
8097
8238
  ],
8098
8239
  type: 'object',
8099
8240
  },
8100
- {
8101
- properties: {
8102
- created_at: {
8103
- format: 'date-time',
8104
- type: 'string',
8105
- },
8106
- message: { type: 'string' },
8107
- warning_code: {
8108
- enum: ['salto_site_user_suspended'],
8109
- type: 'string',
8110
- },
8111
- },
8112
- required: [
8113
- 'created_at',
8114
- 'message',
8115
- 'warning_code',
8116
- ],
8117
- type: 'object',
8118
- },
8119
8241
  ],
8120
8242
  },
8121
8243
  type: 'array',
@@ -8208,7 +8330,7 @@ export default {
8208
8330
  oneOf: [
8209
8331
  {
8210
8332
  description:
8211
- 'Indicates that the user was deleted from the ACS system outside of Seam.',
8333
+ 'Indicates that the ACS user was deleted from the ACS system outside of Seam.',
8212
8334
  properties: {
8213
8335
  created_at: {
8214
8336
  description:
@@ -8217,7 +8339,7 @@ export default {
8217
8339
  type: 'string',
8218
8340
  },
8219
8341
  error_code: {
8220
- enum: ['user_deleted_externally'],
8342
+ enum: ['deleted_externally'],
8221
8343
  type: 'string',
8222
8344
  },
8223
8345
  message: {
@@ -8263,6 +8385,8 @@ export default {
8263
8385
  type: 'object',
8264
8386
  },
8265
8387
  {
8388
+ description:
8389
+ "Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8266
8390
  properties: {
8267
8391
  created_at: {
8268
8392
  description:
@@ -8270,8 +8394,31 @@ export default {
8270
8394
  format: 'date-time',
8271
8395
  type: 'string',
8272
8396
  },
8273
- error_code: {
8274
- enum: ['salto_site_user_limit_reached'],
8397
+ message: {
8398
+ description:
8399
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8400
+ type: 'string',
8401
+ },
8402
+ warning_code: {
8403
+ enum: ['failed_to_create_on_acs_system'],
8404
+ type: 'string',
8405
+ },
8406
+ },
8407
+ required: [
8408
+ 'created_at',
8409
+ 'message',
8410
+ 'warning_code',
8411
+ ],
8412
+ type: 'object',
8413
+ },
8414
+ {
8415
+ description:
8416
+ "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8417
+ properties: {
8418
+ created_at: {
8419
+ description:
8420
+ 'Date and time at which Seam created the error.',
8421
+ format: 'date-time',
8275
8422
  type: 'string',
8276
8423
  },
8277
8424
  message: {
@@ -8279,11 +8426,42 @@ export default {
8279
8426
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8280
8427
  type: 'string',
8281
8428
  },
8429
+ warning_code: {
8430
+ enum: ['failed_to_update_on_acs_system'],
8431
+ type: 'string',
8432
+ },
8282
8433
  },
8283
8434
  required: [
8284
8435
  'created_at',
8285
8436
  'message',
8286
- 'error_code',
8437
+ 'warning_code',
8438
+ ],
8439
+ type: 'object',
8440
+ },
8441
+ {
8442
+ description:
8443
+ "Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8444
+ properties: {
8445
+ created_at: {
8446
+ description:
8447
+ 'Date and time at which Seam created the error.',
8448
+ format: 'date-time',
8449
+ type: 'string',
8450
+ },
8451
+ message: {
8452
+ description:
8453
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8454
+ type: 'string',
8455
+ },
8456
+ warning_code: {
8457
+ enum: ['failed_to_delete_on_acs_system'],
8458
+ type: 'string',
8459
+ },
8460
+ },
8461
+ required: [
8462
+ 'created_at',
8463
+ 'message',
8464
+ 'warning_code',
8287
8465
  ],
8288
8466
  type: 'object',
8289
8467
  },
@@ -8358,10 +8536,16 @@ export default {
8358
8536
  "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8359
8537
  properties: {
8360
8538
  created_at: {
8539
+ description:
8540
+ 'Date and time at which Seam created the error.',
8361
8541
  format: 'date-time',
8362
8542
  type: 'string',
8363
8543
  },
8364
- message: { type: 'string' },
8544
+ message: {
8545
+ description:
8546
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8547
+ type: 'string',
8548
+ },
8365
8549
  warning_code: {
8366
8550
  enum: ['failed_to_update_on_acs_system'],
8367
8551
  type: 'string',
@@ -8395,25 +8579,6 @@ export default {
8395
8579
  ],
8396
8580
  type: 'object',
8397
8581
  },
8398
- {
8399
- properties: {
8400
- created_at: {
8401
- format: 'date-time',
8402
- type: 'string',
8403
- },
8404
- message: { type: 'string' },
8405
- warning_code: {
8406
- enum: ['salto_site_user_suspended'],
8407
- type: 'string',
8408
- },
8409
- },
8410
- required: [
8411
- 'created_at',
8412
- 'message',
8413
- 'warning_code',
8414
- ],
8415
- type: 'object',
8416
- },
8417
8582
  ],
8418
8583
  },
8419
8584
  type: 'array',
@@ -12513,12 +12678,11 @@ export default {
12513
12678
  type: 'string',
12514
12679
  },
12515
12680
  manual_override_allowed: { type: 'boolean' },
12516
- name: { nullable: true, type: 'string' },
12681
+ name: { default: null, nullable: true, type: 'string' },
12517
12682
  },
12518
12683
  required: [
12519
12684
  'device_id',
12520
12685
  'climate_preset_key',
12521
- 'name',
12522
12686
  'manual_override_allowed',
12523
12687
  ],
12524
12688
  type: 'object',
@@ -12563,13 +12727,12 @@ export default {
12563
12727
  type: 'string',
12564
12728
  },
12565
12729
  manual_override_allowed: { type: 'boolean' },
12566
- name: { nullable: true, type: 'string' },
12730
+ name: { default: null, nullable: true, type: 'string' },
12567
12731
  },
12568
12732
  required: [
12569
12733
  'climate_preset_key',
12570
12734
  'can_edit',
12571
12735
  'can_delete',
12572
- 'name',
12573
12736
  'display_name',
12574
12737
  'manual_override_allowed',
12575
12738
  ],
@@ -13571,12 +13734,11 @@ export default {
13571
13734
  type: 'string',
13572
13735
  },
13573
13736
  manual_override_allowed: { type: 'boolean' },
13574
- name: { nullable: true, type: 'string' },
13737
+ name: { default: null, nullable: true, type: 'string' },
13575
13738
  },
13576
13739
  required: [
13577
13740
  'device_id',
13578
13741
  'climate_preset_key',
13579
- 'name',
13580
13742
  'manual_override_allowed',
13581
13743
  ],
13582
13744
  type: 'object',
@@ -13621,13 +13783,12 @@ export default {
13621
13783
  type: 'string',
13622
13784
  },
13623
13785
  manual_override_allowed: { type: 'boolean' },
13624
- name: { nullable: true, type: 'string' },
13786
+ name: { default: null, nullable: true, type: 'string' },
13625
13787
  },
13626
13788
  required: [
13627
13789
  'climate_preset_key',
13628
13790
  'can_edit',
13629
13791
  'can_delete',
13630
- 'name',
13631
13792
  'display_name',
13632
13793
  'manual_override_allowed',
13633
13794
  ],
@@ -13685,12 +13846,11 @@ export default {
13685
13846
  type: 'string',
13686
13847
  },
13687
13848
  manual_override_allowed: { type: 'boolean' },
13688
- name: { nullable: true, type: 'string' },
13849
+ name: { default: null, nullable: true, type: 'string' },
13689
13850
  },
13690
13851
  required: [
13691
13852
  'device_id',
13692
13853
  'climate_preset_key',
13693
- 'name',
13694
13854
  'manual_override_allowed',
13695
13855
  ],
13696
13856
  type: 'object',
@@ -13735,13 +13895,12 @@ export default {
13735
13895
  type: 'string',
13736
13896
  },
13737
13897
  manual_override_allowed: { type: 'boolean' },
13738
- name: { nullable: true, type: 'string' },
13898
+ name: { default: null, nullable: true, type: 'string' },
13739
13899
  },
13740
13900
  required: [
13741
13901
  'climate_preset_key',
13742
13902
  'can_edit',
13743
13903
  'can_delete',
13744
- 'name',
13745
13904
  'display_name',
13746
13905
  'manual_override_allowed',
13747
13906
  ],