@seamapi/types 1.443.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;
@@ -45468,6 +45541,21 @@ declare const _default: {
45468
45541
  format: string;
45469
45542
  type: string;
45470
45543
  };
45544
+ acs_entrance_id: {
45545
+ description: string;
45546
+ format: string;
45547
+ type: string;
45548
+ };
45549
+ device_id: {
45550
+ description: string;
45551
+ format: string;
45552
+ type: string;
45553
+ };
45554
+ space_id: {
45555
+ description: string;
45556
+ format: string;
45557
+ type: string;
45558
+ };
45471
45559
  };
45472
45560
  required: string[];
45473
45561
  type: string;
@@ -88139,6 +88227,12 @@ interface Routes {
88139
88227
  commonParams: {
88140
88228
  /** ID of access grant to list access methods for. */
88141
88229
  access_grant_id: string;
88230
+ /** ID of the device for which you want to retrieve all access methods. */
88231
+ device_id?: string | undefined;
88232
+ /** ID of the entrance for which you want to retrieve all access methods. */
88233
+ acs_entrance_id?: string | undefined;
88234
+ /** ID of the space for which you want to retrieve all access methods. */
88235
+ space_id?: string | undefined;
88142
88236
  };
88143
88237
  formData: {};
88144
88238
  jsonResponse: {
@@ -145361,4 +145455,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
145361
145455
 
145362
145456
  declare const routes: {};
145363
145457
 
145364
- 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.cjs CHANGED
@@ -31152,6 +31152,36 @@ var openapi_default = {
31152
31152
  format: "uuid",
31153
31153
  type: "string"
31154
31154
  }
31155
+ },
31156
+ {
31157
+ in: "query",
31158
+ name: "device_id",
31159
+ required: false,
31160
+ schema: {
31161
+ description: "ID of the device for which you want to retrieve all access methods.",
31162
+ format: "uuid",
31163
+ type: "string"
31164
+ }
31165
+ },
31166
+ {
31167
+ in: "query",
31168
+ name: "acs_entrance_id",
31169
+ required: false,
31170
+ schema: {
31171
+ description: "ID of the entrance for which you want to retrieve all access methods.",
31172
+ format: "uuid",
31173
+ type: "string"
31174
+ }
31175
+ },
31176
+ {
31177
+ in: "query",
31178
+ name: "space_id",
31179
+ required: false,
31180
+ schema: {
31181
+ description: "ID of the space for which you want to retrieve all access methods.",
31182
+ format: "uuid",
31183
+ type: "string"
31184
+ }
31155
31185
  }
31156
31186
  ],
31157
31187
  responses: {
@@ -31202,6 +31232,21 @@ var openapi_default = {
31202
31232
  description: "ID of access grant to list access methods for.",
31203
31233
  format: "uuid",
31204
31234
  type: "string"
31235
+ },
31236
+ acs_entrance_id: {
31237
+ description: "ID of the entrance for which you want to retrieve all access methods.",
31238
+ format: "uuid",
31239
+ type: "string"
31240
+ },
31241
+ device_id: {
31242
+ description: "ID of the device for which you want to retrieve all access methods.",
31243
+ format: "uuid",
31244
+ type: "string"
31245
+ },
31246
+ space_id: {
31247
+ description: "ID of the space for which you want to retrieve all access methods.",
31248
+ format: "uuid",
31249
+ type: "string"
31205
31250
  }
31206
31251
  },
31207
31252
  required: ["access_grant_id"],