@seamapi/types 1.292.0 → 1.292.2

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.
@@ -1,36 +1,41 @@
1
1
  import { z } from 'zod';
2
- export const thermostat_schedule = z.object({
2
+ export const thermostat_schedule = z
3
+ .object({
3
4
  thermostat_schedule_id: z
4
5
  .string()
5
6
  .uuid()
6
- .describe('ID of the climate schedule.'),
7
- device_id: z.string().uuid().describe('ID of the desired thermostat device.'),
7
+ .describe('ID of the thermostat schedule.'),
8
+ device_id: z
9
+ .string()
10
+ .uuid()
11
+ .describe('ID of the desired thermostat device.'),
8
12
  name: z
9
13
  .string()
10
14
  .optional()
11
- .describe('User-friendly name to identify the climate schedule.'),
15
+ .describe('User-friendly name to identify the thermostat schedule.'),
12
16
  climate_preset_key: z
13
17
  .string()
14
- .describe('Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the climate schedule.'),
18
+ .describe('Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.'),
15
19
  max_override_period_minutes: z
16
20
  .number()
17
21
  .int()
18
22
  .nonnegative()
19
- .describe("Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-schedules#specifying-manual-override-permissions)."),
23
+ .describe("Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions)."),
20
24
  starts_at: z
21
25
  .string()
22
26
  .datetime()
23
- .describe('Date and time at which the climate schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.'),
27
+ .describe('Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.'),
24
28
  ends_at: z
25
29
  .string()
26
30
  .datetime()
27
- .describe('Date and time at which the climate schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.'),
31
+ .describe('Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.'),
28
32
  created_at: z
29
33
  .string()
30
34
  .datetime()
31
- .describe('Date and time at which the climate schedule was created.'),
35
+ .describe('Date and time at which the thermostat schedule was created.'),
32
36
  errors: z
33
37
  .any()
34
- .describe('Array of errors associated with the climate schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.'),
35
- });
38
+ .describe('Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.'),
39
+ })
40
+ .describe('Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.');
36
41
  //# sourceMappingURL=thermostat-schedule.js.map
@@ -1 +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;SACtB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6BAA6B,CAAC;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IAC7E,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,QAAQ,CACP,+JAA+J,CAChK;IACH,2BAA2B,EAAE,CAAC;SAC3B,MAAM,EAAE;SACR,GAAG,EAAE;SACL,WAAW,EAAE;SACb,QAAQ,CACP,gVAAgV,CACjV;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mIAAmI,CACpI;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,iIAAiI,CAClI;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,MAAM,EAAE,CAAC;SACN,GAAG,EAAE;SACL,QAAQ,CACP,6YAA6Y,CAC9Y;CACJ,CAAC,CAAA"}
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;KACjC,MAAM,CAAC;IACN,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,gCAAgC,CAAC;IAC7C,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,sCAAsC,CAAC;IACnD,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,QAAQ,CACP,kKAAkK,CACnK;IACH,2BAA2B,EAAE,CAAC;SAC3B,MAAM,EAAE;SACR,GAAG,EAAE;SACL,WAAW,EAAE;SACb,QAAQ,CACP,mVAAmV,CACpV;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,sIAAsI,CACvI;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,oIAAoI,CACrI;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,MAAM,EAAE,CAAC;SACN,GAAG,EAAE;SACL,QAAQ,CACP,gZAAgZ,CACjZ;CACJ,CAAC;KACD,QAAQ,CACP,icAAic,CAClc,CAAA"}
@@ -3259,6 +3259,7 @@ declare const _default: {
3259
3259
  properties: {
3260
3260
  active_thermostat_schedule: {
3261
3261
  default: null;
3262
+ description: string;
3262
3263
  nullable: boolean;
3263
3264
  properties: {
3264
3265
  climate_preset_key: {
@@ -4082,6 +4083,7 @@ declare const _default: {
4082
4083
  type: string;
4083
4084
  };
4084
4085
  thermostat_schedule: {
4086
+ description: string;
4085
4087
  properties: {
4086
4088
  climate_preset_key: {
4087
4089
  description: string;
@@ -9120,7 +9122,7 @@ declare const _default: {
9120
9122
  format: string;
9121
9123
  type: string;
9122
9124
  };
9123
- device_id: {
9125
+ acs_encoder_id: {
9124
9126
  description: string;
9125
9127
  format: string;
9126
9128
  type: string;
@@ -9190,14 +9192,14 @@ declare const _default: {
9190
9192
  schema: {
9191
9193
  oneOf: ({
9192
9194
  properties: {
9193
- acs_system_ids: {
9195
+ acs_encoder_ids: {
9194
9196
  items: {
9195
9197
  format: string;
9196
9198
  type: string;
9197
9199
  };
9198
9200
  type: string;
9199
9201
  };
9200
- device_ids: {
9202
+ acs_system_ids: {
9201
9203
  items: {
9202
9204
  format: string;
9203
9205
  type: string;
@@ -9214,7 +9216,7 @@ declare const _default: {
9214
9216
  type: string;
9215
9217
  } | {
9216
9218
  properties: {
9217
- device_ids: {
9219
+ acs_encoder_ids: {
9218
9220
  items: {
9219
9221
  format: string;
9220
9222
  type: string;
@@ -9244,7 +9246,7 @@ declare const _default: {
9244
9246
  format: string;
9245
9247
  type: string;
9246
9248
  };
9247
- device_ids?: never;
9249
+ acs_encoder_ids?: never;
9248
9250
  };
9249
9251
  required: string[];
9250
9252
  type: string;
@@ -9259,9 +9261,66 @@ declare const _default: {
9259
9261
  'application/json': {
9260
9262
  schema: {
9261
9263
  properties: {
9262
- devices: {
9264
+ acs_encoders: {
9263
9265
  items: {
9264
- $ref: string;
9266
+ properties: {
9267
+ acs_encoder_id: {
9268
+ description: string;
9269
+ format: string;
9270
+ type: string;
9271
+ };
9272
+ acs_system_id: {
9273
+ description: string;
9274
+ format: string;
9275
+ type: string;
9276
+ };
9277
+ created_at: {
9278
+ description: string;
9279
+ format: string;
9280
+ type: string;
9281
+ };
9282
+ display_name: {
9283
+ description: string;
9284
+ type: string;
9285
+ };
9286
+ errors: {
9287
+ description: string;
9288
+ items: {
9289
+ description: string;
9290
+ properties: {
9291
+ _event_id: {
9292
+ description: string;
9293
+ format: string;
9294
+ type: string;
9295
+ };
9296
+ created_at: {
9297
+ description: string;
9298
+ format: string;
9299
+ type: string;
9300
+ };
9301
+ error_code: {
9302
+ description: string;
9303
+ enum: string[];
9304
+ type: string;
9305
+ };
9306
+ message: {
9307
+ description: string;
9308
+ type: string;
9309
+ };
9310
+ };
9311
+ required: string[];
9312
+ type: string;
9313
+ };
9314
+ type: string;
9315
+ };
9316
+ workspace_id: {
9317
+ description: string;
9318
+ format: string;
9319
+ type: string;
9320
+ };
9321
+ };
9322
+ required: string[];
9323
+ type: string;
9265
9324
  };
9266
9325
  type: string;
9267
9326
  };
@@ -9313,12 +9372,12 @@ declare const _default: {
9313
9372
  'application/json': {
9314
9373
  schema: {
9315
9374
  properties: {
9316
- acs_system_id: {
9375
+ acs_encoder_id: {
9317
9376
  description: string;
9318
9377
  format: string;
9319
9378
  type: string;
9320
9379
  };
9321
- device_id: {
9380
+ acs_system_id: {
9322
9381
  description: string;
9323
9382
  format: string;
9324
9383
  type: string;