Variable thermostat_scheduleConst
thermostat_schedule: ZodObject<
{
climate_preset_key: ZodString;
created_at: ZodString;
device_id: ZodString;
ends_at: ZodString;
errors: ZodArray<
ZodObject<
{ error_code: ZodString; message: ZodString },
"strip",
ZodTypeAny,
{ error_code: string; message: string },
{ error_code: string; message: string },
>,
"many",
>;
is_override_allowed: ZodOptional<ZodBoolean>;
max_override_period_minutes: ZodOptional<ZodNullable<ZodNumber>>;
name: ZodNullable<ZodString>;
starts_at: ZodString;
thermostat_schedule_id: ZodString;
workspace_id: ZodString;
},
"strip",
ZodTypeAny,
{
climate_preset_key: string;
created_at: string;
device_id: string;
ends_at: string;
errors: { error_code: string; message: string }[];
is_override_allowed?: boolean;
max_override_period_minutes?: null | number;
name: null | string;
starts_at: string;
thermostat_schedule_id: string;
workspace_id: string;
},
{
climate_preset_key: string;
created_at: string;
device_id: string;
ends_at: string;
errors: { error_code: string; message: string }[];
is_override_allowed?: boolean;
max_override_period_minutes?: null | number;
name: null | string;
starts_at: string;
thermostat_schedule_id: string;
workspace_id: string;
},
> = ...