@seamapi/types 1.422.1 → 1.423.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.
package/dist/connect.cjs CHANGED
@@ -373,18 +373,25 @@ var thermostat_capability_properties = zod.z.object({
373
373
  ---
374
374
  Available [climate presets](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for the thermostat.
375
375
  `),
376
- fallback_climate_preset_key: zod.z.string().min(1).nullable().default(null).describe(`
376
+ fallback_climate_preset_key: zod.z.string().min(1).nullable().describe(`
377
377
  ---
378
378
  property_group_key: thermostats
379
379
  ---
380
380
  Key of the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat.
381
381
  `),
382
- active_thermostat_schedule: thermostat_schedule.nullable().default(null).describe(`
382
+ active_thermostat_schedule: thermostat_schedule.nullable().describe(`
383
383
  ---
384
384
  property_group_key: thermostats
385
+ deprecated: Use \`active_thermostat_schedule_id\` with \`/thermostats/schedules/get\` instead.
385
386
  ---
386
387
  Active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
387
388
  `),
389
+ active_thermostat_schedule_id: zod.z.string().uuid().nullable().describe(`
390
+ ---
391
+ property_group_key: thermostats
392
+ ---
393
+ ID of the active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
394
+ `),
388
395
  thermostat_daily_programs: zod.z.array(thermostat_daily_program).optional().describe(`
389
396
  ---
390
397
  property_group_key: thermostats
@@ -15698,7 +15705,7 @@ var openapi_default = {
15698
15705
  {
15699
15706
  properties: {
15700
15707
  active_thermostat_schedule: {
15701
- default: null,
15708
+ deprecated: true,
15702
15709
  description: "Active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
15703
15710
  nullable: true,
15704
15711
  properties: {
@@ -15783,9 +15790,17 @@ var openapi_default = {
15783
15790
  "errors"
15784
15791
  ],
15785
15792
  type: "object",
15793
+ "x-deprecated": "Use `active_thermostat_schedule_id` with `/thermostats/schedules/get` instead.",
15786
15794
  "x-property-group-key": "thermostats",
15787
15795
  "x-route-path": "/thermostats/schedules"
15788
15796
  },
15797
+ active_thermostat_schedule_id: {
15798
+ description: "ID of the active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).",
15799
+ format: "uuid",
15800
+ nullable: true,
15801
+ type: "string",
15802
+ "x-property-group-key": "thermostats"
15803
+ },
15789
15804
  available_climate_presets: {
15790
15805
  description: "Available [climate presets](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for the thermostat.",
15791
15806
  items: {
@@ -16024,7 +16039,6 @@ var openapi_default = {
16024
16039
  "x-property-group-key": "thermostats"
16025
16040
  },
16026
16041
  fallback_climate_preset_key: {
16027
- default: null,
16028
16042
  description: "Key of the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat.",
16029
16043
  minLength: 1,
16030
16044
  nullable: true,