@seamapi/types 1.444.0 → 1.444.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.
@@ -27604,6 +27604,77 @@ declare const space: z.ZodObject<{
27604
27604
  }>;
27605
27605
  type Space = z.infer<typeof space>;
27606
27606
 
27607
+ declare const climate_preset: z.ZodObject<{
27608
+ climate_preset_key: z.ZodString;
27609
+ can_edit: z.ZodBoolean;
27610
+ can_delete: z.ZodBoolean;
27611
+ can_program: z.ZodBoolean;
27612
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
27613
+ display_name: z.ZodString;
27614
+ climate_preset_mode: z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>;
27615
+ fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>;
27616
+ hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
27617
+ cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
27618
+ heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
27619
+ cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
27620
+ heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
27621
+ manual_override_allowed: z.ZodBoolean;
27622
+ ecobee_metadata: z.ZodOptional<z.ZodObject<{
27623
+ climate_ref: z.ZodString;
27624
+ is_optimized: z.ZodBoolean;
27625
+ owner: z.ZodEnum<["user", "system"]>;
27626
+ }, "strip", z.ZodTypeAny, {
27627
+ climate_ref: string;
27628
+ is_optimized: boolean;
27629
+ owner: "user" | "system";
27630
+ }, {
27631
+ climate_ref: string;
27632
+ is_optimized: boolean;
27633
+ owner: "user" | "system";
27634
+ }>>;
27635
+ }, "strip", z.ZodTypeAny, {
27636
+ climate_preset_key: string;
27637
+ can_edit: boolean;
27638
+ can_delete: boolean;
27639
+ can_program: boolean;
27640
+ display_name: string;
27641
+ manual_override_allowed: boolean;
27642
+ name?: string | null | undefined;
27643
+ climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
27644
+ fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
27645
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
27646
+ cooling_set_point_celsius?: number | undefined;
27647
+ heating_set_point_celsius?: number | undefined;
27648
+ cooling_set_point_fahrenheit?: number | undefined;
27649
+ heating_set_point_fahrenheit?: number | undefined;
27650
+ ecobee_metadata?: {
27651
+ climate_ref: string;
27652
+ is_optimized: boolean;
27653
+ owner: "user" | "system";
27654
+ } | undefined;
27655
+ }, {
27656
+ climate_preset_key: string;
27657
+ can_edit: boolean;
27658
+ can_delete: boolean;
27659
+ can_program: boolean;
27660
+ display_name: string;
27661
+ manual_override_allowed: boolean;
27662
+ name?: string | null | undefined;
27663
+ climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
27664
+ fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
27665
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
27666
+ cooling_set_point_celsius?: number | undefined;
27667
+ heating_set_point_celsius?: number | undefined;
27668
+ cooling_set_point_fahrenheit?: number | undefined;
27669
+ heating_set_point_fahrenheit?: number | undefined;
27670
+ ecobee_metadata?: {
27671
+ climate_ref: string;
27672
+ is_optimized: boolean;
27673
+ owner: "user" | "system";
27674
+ } | undefined;
27675
+ }>;
27676
+ type ClimatePreset = z.infer<typeof climate_preset>;
27677
+
27607
27678
  declare const thermostat_daily_program: z.ZodObject<{
27608
27679
  thermostat_daily_program_id: z.ZodString;
27609
27680
  device_id: z.ZodString;
@@ -27669,6 +27740,8 @@ declare const thermostat_weekly_program: z.ZodObject<{
27669
27740
  saturday_program_id: string | null;
27670
27741
  sunday_program_id: string | null;
27671
27742
  }>;
27743
+ type ThermostatDailyProgram = z.infer<typeof thermostat_daily_program>;
27744
+ type ThermostatWeeklyProgram = z.infer<typeof thermostat_weekly_program>;
27672
27745
 
27673
27746
  declare const thermostat_schedule: z.ZodObject<{
27674
27747
  thermostat_schedule_id: z.ZodString;
@@ -145382,4 +145455,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
145382
145455
 
145383
145456
  declare const routes: {};
145384
145457
 
145385
- export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AccessGrant, type AccessMethod, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Bridge, type BuildingBlockType, type Bundle, type ClientSession, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, type CustomMetadata, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type InstantKey, type MagicLink, type NoiseThreshold, type Pagination, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type Space, type ThermostatSchedule, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
145458
+ export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AccessGrant, type AccessMethod, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Bridge, type BuildingBlockType, type Bundle, type ClientSession, type ClimatePreset, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, type CustomMetadata, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type InstantKey, type MagicLink, type NoiseThreshold, type Pagination, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type Space, type ThermostatDailyProgram, type ThermostatSchedule, type ThermostatWeeklyProgram, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
package/dist/index.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- export { AccessCode, AccessCodeError, AccessCodeWarning, AccessGrant, AccessMethod, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Bridge, BuildingBlockType, Bundle, ClientSession, ConnectWebview, ConnectedAccount, ConnectedAccountError, ConnectedAccountWarning, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, InstantKey, MagicLink, NoiseThreshold, Pagination, RouteRequestBody, RouteRequestParams, RouteResponse, Routes, SeamEvent, SeamEventType, Space, ThermostatSchedule, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, openapi, routes, schemas } from './connect.cjs';
1
+ export { AccessCode, AccessCodeError, AccessCodeWarning, AccessGrant, AccessMethod, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Bridge, BuildingBlockType, Bundle, ClientSession, ClimatePreset, ConnectWebview, ConnectedAccount, ConnectedAccountError, ConnectedAccountWarning, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, InstantKey, MagicLink, NoiseThreshold, Pagination, RouteRequestBody, RouteRequestParams, RouteResponse, Routes, SeamEvent, SeamEventType, Space, ThermostatDailyProgram, ThermostatSchedule, ThermostatWeeklyProgram, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, openapi, routes, schemas } from './connect.cjs';
2
2
  import 'zod';
@@ -1 +1 @@
1
- export type { AccessCode, AccessCodeError, AccessCodeWarning, AccessGrant, AccessMethod, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Bridge, BuildingBlockType, Bundle, ClientSession, ConnectedAccount, ConnectedAccountError, ConnectedAccountWarning, ConnectWebview, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, InstantKey, MagicLink, NoiseThreshold, Pagination, SeamEvent, SeamEventType, Space, ThermostatSchedule, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
1
+ export type { AccessCode, AccessCodeError, AccessCodeWarning, AccessGrant, AccessMethod, AcsAccessGroup, AcsCredential, AcsEncoder, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, Bridge, BuildingBlockType, Bundle, ClientSession, ClimatePreset, ConnectedAccount, ConnectedAccountError, ConnectedAccountWarning, ConnectWebview, CustomMetadata, Device, DeviceError, DeviceProvider, DeviceWarning, InstantKey, MagicLink, NoiseThreshold, Pagination, SeamEvent, SeamEventType, Space, ThermostatDailyProgram, ThermostatSchedule, ThermostatWeeklyProgram, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.444.0",
3
+ "version": "1.444.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -15,6 +15,7 @@ export type {
15
15
  BuildingBlockType,
16
16
  Bundle,
17
17
  ClientSession,
18
+ ClimatePreset,
18
19
  ConnectedAccount,
19
20
  ConnectedAccountError,
20
21
  ConnectedAccountWarning,
@@ -31,7 +32,9 @@ export type {
31
32
  SeamEvent,
32
33
  SeamEventType,
33
34
  Space,
35
+ ThermostatDailyProgram,
34
36
  ThermostatSchedule,
37
+ ThermostatWeeklyProgram,
35
38
  UnmanagedAccessCode,
36
39
  UnmanagedDevice,
37
40
  UserIdentity,