@seamapi/types 1.242.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 (43) hide show
  1. package/dist/connect.cjs +77 -42
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +120 -62
  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 +8 -8
  11. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
  12. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
  13. package/lib/seam/connect/models/devices/device.d.ts +6 -6
  14. package/lib/seam/connect/models/devices/phone.d.ts +5 -5
  15. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
  16. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
  17. package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
  18. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  19. package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
  20. package/lib/seam/connect/models/thermostats/index.js +1 -1
  21. package/lib/seam/connect/models/thermostats/index.js.map +1 -1
  22. package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js} +1 -1
  23. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -0
  24. package/lib/seam/connect/openapi.d.ts +9 -0
  25. package/lib/seam/connect/openapi.js +46 -21
  26. package/lib/seam/connect/openapi.js.map +1 -1
  27. package/lib/seam/connect/route-types.d.ts +64 -36
  28. package/lib/seam/devicedb/models/device-model.d.ts +59 -24
  29. package/lib/seam/devicedb/models/device-model.js +9 -6
  30. package/lib/seam/devicedb/models/device-model.js.map +1 -1
  31. package/lib/seam/devicedb/route-specs.d.ts +56 -38
  32. package/lib/seam/devicedb/route-types.d.ts +8 -8
  33. package/package.json +1 -1
  34. package/src/lib/seam/connect/models/acs/acs-system.ts +32 -24
  35. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
  36. package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
  37. package/src/lib/seam/connect/openapi.ts +49 -21
  38. package/src/lib/seam/connect/route-types.ts +68 -36
  39. package/src/lib/seam/devicedb/models/device-model.ts +24 -19
  40. package/src/lib/seam/devicedb/route-types.ts +8 -8
  41. package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +0 -1
  42. /package/lib/seam/connect/models/thermostats/{climate-setting-schedule.d.ts → thermostat-schedule.d.ts} +0 -0
  43. /package/src/lib/seam/connect/models/thermostats/{climate-setting-schedule.ts → thermostat-schedule.ts} +0 -0
@@ -1273,7 +1273,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1273
1273
  climate_preset_key: z.ZodOptional<z.ZodString>;
1274
1274
  can_edit: z.ZodOptional<z.ZodBoolean>;
1275
1275
  can_delete: z.ZodOptional<z.ZodBoolean>;
1276
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1276
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1277
1277
  display_name: z.ZodOptional<z.ZodString>;
1278
1278
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
1279
1279
  hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
@@ -1313,7 +1313,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1313
1313
  climate_preset_key: z.ZodOptional<z.ZodString>;
1314
1314
  can_edit: z.ZodOptional<z.ZodBoolean>;
1315
1315
  can_delete: z.ZodOptional<z.ZodBoolean>;
1316
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1316
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1317
1317
  display_name: z.ZodOptional<z.ZodString>;
1318
1318
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
1319
1319
  hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
@@ -1353,7 +1353,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1353
1353
  climate_preset_key: z.ZodString;
1354
1354
  can_edit: z.ZodBoolean;
1355
1355
  can_delete: z.ZodBoolean;
1356
- name: z.ZodNullable<z.ZodString>;
1356
+ name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1357
1357
  display_name: z.ZodString;
1358
1358
  fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
1359
1359
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -1376,12 +1376,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1376
1376
  cooling_set_point_fahrenheit?: number | undefined;
1377
1377
  heating_set_point_fahrenheit?: number | undefined;
1378
1378
  }, {
1379
- name: string | null;
1380
1379
  climate_preset_key: string;
1381
1380
  can_edit: boolean;
1382
1381
  can_delete: boolean;
1383
1382
  display_name: string;
1384
1383
  manual_override_allowed: boolean;
1384
+ name?: string | null | undefined;
1385
1385
  fan_mode_setting?: "auto" | "on" | undefined;
1386
1386
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1387
1387
  cooling_set_point_celsius?: number | undefined;
@@ -1544,12 +1544,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
1544
1544
  manual_override_allowed?: boolean | undefined;
1545
1545
  } | undefined;
1546
1546
  available_climate_presets?: {
1547
- name: string | null;
1548
1547
  climate_preset_key: string;
1549
1548
  can_edit: boolean;
1550
1549
  can_delete: boolean;
1551
1550
  display_name: string;
1552
1551
  manual_override_allowed: boolean;
1552
+ name?: string | null | undefined;
1553
1553
  fan_mode_setting?: "auto" | "on" | undefined;
1554
1554
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1555
1555
  cooling_set_point_celsius?: number | undefined;
@@ -3,7 +3,7 @@ export declare const climate_preset: z.ZodObject<{
3
3
  climate_preset_key: z.ZodString;
4
4
  can_edit: z.ZodBoolean;
5
5
  can_delete: z.ZodBoolean;
6
- name: z.ZodNullable<z.ZodString>;
6
+ name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
7
7
  display_name: z.ZodString;
8
8
  fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
9
9
  hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
@@ -26,12 +26,12 @@ export declare const climate_preset: z.ZodObject<{
26
26
  cooling_set_point_fahrenheit?: number | undefined;
27
27
  heating_set_point_fahrenheit?: number | undefined;
28
28
  }, {
29
- name: string | null;
30
29
  climate_preset_key: string;
31
30
  can_edit: boolean;
32
31
  can_delete: boolean;
33
32
  display_name: string;
34
33
  manual_override_allowed: boolean;
34
+ name?: string | null | undefined;
35
35
  fan_mode_setting?: "auto" | "on" | undefined;
36
36
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
37
37
  cooling_set_point_celsius?: number | undefined;
@@ -44,7 +44,7 @@ export declare const climate_setting: z.ZodObject<{
44
44
  climate_preset_key: z.ZodOptional<z.ZodString>;
45
45
  can_edit: z.ZodOptional<z.ZodBoolean>;
46
46
  can_delete: z.ZodOptional<z.ZodBoolean>;
47
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
48
48
  display_name: z.ZodOptional<z.ZodString>;
49
49
  fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
50
50
  hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
@@ -4,7 +4,7 @@ export const climate_preset = z.object({
4
4
  climate_preset_key: z.string(),
5
5
  can_edit: z.boolean(),
6
6
  can_delete: z.boolean(),
7
- name: z.string().nullable(),
7
+ name: z.string().nullable().default(null),
8
8
  display_name: z.string(),
9
9
  fan_mode_setting: fan_mode_setting.optional(),
10
10
  hvac_mode_setting: hvac_mode_setting.optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IAC7C,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE;IAC/C,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,4BAA4B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,4BAA4B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE;CACrC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACzC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IAC7C,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE;IAC/C,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,4BAA4B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,4BAA4B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE;CACrC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,EAAE,CAAA"}
@@ -1,3 +1,3 @@
1
1
  export * from './climate-preset.js';
2
- export * from './climate-setting-schedule.js';
3
2
  export * from './modes.js';
3
+ export * from './thermostat-schedule.js';
@@ -1,4 +1,4 @@
1
1
  export * from './climate-preset.js';
2
- export * from './climate-setting-schedule.js';
3
2
  export * from './modes.js';
3
+ export * from './thermostat-schedule.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,0BAA0B,CAAA"}
@@ -12,4 +12,4 @@ export const thermostat_schedule = z.object({
12
12
  .any()
13
13
  .describe('Collection of errors associated with the thermostat schedule, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.'),
14
14
  });
15
- //# sourceMappingURL=climate-setting-schedule.js.map
15
+ //# sourceMappingURL=thermostat-schedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"thermostat-schedule.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/thermostat-schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACtE,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,MAAM,EAAE,CAAC;SACN,GAAG,EAAE;SACL,QAAQ,CACP,+ZAA+Z,CACha;CACJ,CAAC,CAAA"}
@@ -2447,6 +2447,7 @@ declare const _default: {
2447
2447
  type: string;
2448
2448
  };
2449
2449
  name: {
2450
+ default: null;
2450
2451
  nullable: boolean;
2451
2452
  type: string;
2452
2453
  };
@@ -2505,6 +2506,7 @@ declare const _default: {
2505
2506
  type: string;
2506
2507
  };
2507
2508
  name: {
2509
+ default: null;
2508
2510
  nullable: boolean;
2509
2511
  type: string;
2510
2512
  };
@@ -2554,6 +2556,7 @@ declare const _default: {
2554
2556
  type: string;
2555
2557
  };
2556
2558
  name: {
2559
+ default: null;
2557
2560
  nullable: boolean;
2558
2561
  type: string;
2559
2562
  };
@@ -14277,6 +14280,7 @@ declare const _default: {
14277
14280
  type: string;
14278
14281
  };
14279
14282
  name: {
14283
+ default: null;
14280
14284
  nullable: boolean;
14281
14285
  type: string;
14282
14286
  };
@@ -14335,6 +14339,7 @@ declare const _default: {
14335
14339
  type: string;
14336
14340
  };
14337
14341
  name: {
14342
+ default: null;
14338
14343
  nullable: boolean;
14339
14344
  type: string;
14340
14345
  };
@@ -15612,6 +15617,7 @@ declare const _default: {
15612
15617
  type: string;
15613
15618
  };
15614
15619
  name: {
15620
+ default: null;
15615
15621
  nullable: boolean;
15616
15622
  type: string;
15617
15623
  };
@@ -15670,6 +15676,7 @@ declare const _default: {
15670
15676
  type: string;
15671
15677
  };
15672
15678
  name: {
15679
+ default: null;
15673
15680
  nullable: boolean;
15674
15681
  type: string;
15675
15682
  };
@@ -15754,6 +15761,7 @@ declare const _default: {
15754
15761
  type: string;
15755
15762
  };
15756
15763
  name: {
15764
+ default: null;
15757
15765
  nullable: boolean;
15758
15766
  type: string;
15759
15767
  };
@@ -15812,6 +15820,7 @@ declare const _default: {
15812
15820
  type: string;
15813
15821
  };
15814
15822
  name: {
15823
+ default: null;
15815
15824
  nullable: boolean;
15816
15825
  type: string;
15817
15826
  };
@@ -519,7 +519,7 @@ export default {
519
519
  },
520
520
  error_code: {
521
521
  description: '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.',
522
- enum: ['salto_site_user_limit_reached'],
522
+ enum: ['salto_ks_subscription_limit_exceeded'],
523
523
  type: 'string',
524
524
  },
525
525
  message: {
@@ -538,8 +538,28 @@ export default {
538
538
  type: 'string',
539
539
  },
540
540
  error_code: {
541
- description: "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",
542
- enum: ['salto_seam_integration_blocked'],
541
+ description: '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.',
542
+ enum: ['acs_system_disconnected'],
543
+ type: 'string',
544
+ },
545
+ message: {
546
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
547
+ type: 'string',
548
+ },
549
+ },
550
+ required: ['created_at', 'message', 'error_code'],
551
+ type: 'object',
552
+ },
553
+ {
554
+ properties: {
555
+ created_at: {
556
+ description: 'Date and time at which Seam created the error.',
557
+ format: 'date-time',
558
+ type: 'string',
559
+ },
560
+ error_code: {
561
+ description: 'Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access.',
562
+ enum: ['account_disconnected'],
543
563
  type: 'string',
544
564
  },
545
565
  message: {
@@ -625,8 +645,8 @@ export default {
625
645
  type: 'string',
626
646
  },
627
647
  warning_code: {
628
- description: '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.',
629
- enum: ['salto_site_user_limit_almost_reached'],
648
+ description: '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.',
649
+ enum: ['salto_ks_subscription_limit_almost_reached'],
630
650
  type: 'string',
631
651
  },
632
652
  },
@@ -3152,13 +3172,16 @@ export default {
3152
3172
  type: 'string',
3153
3173
  },
3154
3174
  manual_override_allowed: { type: 'boolean' },
3155
- name: { nullable: true, type: 'string' },
3175
+ name: {
3176
+ default: null,
3177
+ nullable: true,
3178
+ type: 'string',
3179
+ },
3156
3180
  },
3157
3181
  required: [
3158
3182
  'climate_preset_key',
3159
3183
  'can_edit',
3160
3184
  'can_delete',
3161
- 'name',
3162
3185
  'display_name',
3163
3186
  'manual_override_allowed',
3164
3187
  ],
@@ -3204,7 +3227,11 @@ export default {
3204
3227
  type: 'string',
3205
3228
  },
3206
3229
  manual_override_allowed: { type: 'boolean' },
3207
- name: { nullable: true, type: 'string' },
3230
+ name: {
3231
+ default: null,
3232
+ nullable: true,
3233
+ type: 'string',
3234
+ },
3208
3235
  },
3209
3236
  type: 'object',
3210
3237
  },
@@ -3240,7 +3267,11 @@ export default {
3240
3267
  type: 'string',
3241
3268
  },
3242
3269
  manual_override_allowed: { type: 'boolean' },
3243
- name: { nullable: true, type: 'string' },
3270
+ name: {
3271
+ default: null,
3272
+ nullable: true,
3273
+ type: 'string',
3274
+ },
3244
3275
  },
3245
3276
  type: 'object',
3246
3277
  'x-deprecated': 'use fallback_climate_preset_key to specify a fallback climate preset instead.',
@@ -12459,12 +12490,11 @@ export default {
12459
12490
  type: 'string',
12460
12491
  },
12461
12492
  manual_override_allowed: { type: 'boolean' },
12462
- name: { nullable: true, type: 'string' },
12493
+ name: { default: null, nullable: true, type: 'string' },
12463
12494
  },
12464
12495
  required: [
12465
12496
  'device_id',
12466
12497
  'climate_preset_key',
12467
- 'name',
12468
12498
  'manual_override_allowed',
12469
12499
  ],
12470
12500
  type: 'object',
@@ -12509,13 +12539,12 @@ export default {
12509
12539
  type: 'string',
12510
12540
  },
12511
12541
  manual_override_allowed: { type: 'boolean' },
12512
- name: { nullable: true, type: 'string' },
12542
+ name: { default: null, nullable: true, type: 'string' },
12513
12543
  },
12514
12544
  required: [
12515
12545
  'climate_preset_key',
12516
12546
  'can_edit',
12517
12547
  'can_delete',
12518
- 'name',
12519
12548
  'display_name',
12520
12549
  'manual_override_allowed',
12521
12550
  ],
@@ -13516,12 +13545,11 @@ export default {
13516
13545
  type: 'string',
13517
13546
  },
13518
13547
  manual_override_allowed: { type: 'boolean' },
13519
- name: { nullable: true, type: 'string' },
13548
+ name: { default: null, nullable: true, type: 'string' },
13520
13549
  },
13521
13550
  required: [
13522
13551
  'device_id',
13523
13552
  'climate_preset_key',
13524
- 'name',
13525
13553
  'manual_override_allowed',
13526
13554
  ],
13527
13555
  type: 'object',
@@ -13566,13 +13594,12 @@ export default {
13566
13594
  type: 'string',
13567
13595
  },
13568
13596
  manual_override_allowed: { type: 'boolean' },
13569
- name: { nullable: true, type: 'string' },
13597
+ name: { default: null, nullable: true, type: 'string' },
13570
13598
  },
13571
13599
  required: [
13572
13600
  'climate_preset_key',
13573
13601
  'can_edit',
13574
13602
  'can_delete',
13575
- 'name',
13576
13603
  'display_name',
13577
13604
  'manual_override_allowed',
13578
13605
  ],
@@ -13630,12 +13657,11 @@ export default {
13630
13657
  type: 'string',
13631
13658
  },
13632
13659
  manual_override_allowed: { type: 'boolean' },
13633
- name: { nullable: true, type: 'string' },
13660
+ name: { default: null, nullable: true, type: 'string' },
13634
13661
  },
13635
13662
  required: [
13636
13663
  'device_id',
13637
13664
  'climate_preset_key',
13638
- 'name',
13639
13665
  'manual_override_allowed',
13640
13666
  ],
13641
13667
  type: 'object',
@@ -13680,13 +13706,12 @@ export default {
13680
13706
  type: 'string',
13681
13707
  },
13682
13708
  manual_override_allowed: { type: 'boolean' },
13683
- name: { nullable: true, type: 'string' },
13709
+ name: { default: null, nullable: true, type: 'string' },
13684
13710
  },
13685
13711
  required: [
13686
13712
  'climate_preset_key',
13687
13713
  'can_edit',
13688
13714
  'can_delete',
13689
- 'name',
13690
13715
  'display_name',
13691
13716
  'manual_override_allowed',
13692
13717
  ],