@seamapi/types 1.188.0 → 1.190.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.
@@ -1748,6 +1748,60 @@ type ConnectedAccount = z.infer<typeof connected_account>;
1748
1748
  declare const custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1749
1749
  type CustomMetadata = z.output<typeof custom_metadata>;
1750
1750
 
1751
+ declare const climate_setting_schedule: z.ZodObject<{
1752
+ device_id: z.ZodString;
1753
+ name: z.ZodOptional<z.ZodString>;
1754
+ created_at: z.ZodString;
1755
+ errors: z.ZodAny;
1756
+ climate_setting_schedule_id: z.ZodString;
1757
+ schedule_type: z.ZodLiteral<"time_bound">;
1758
+ schedule_starts_at: z.ZodString;
1759
+ schedule_ends_at: z.ZodString;
1760
+ automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
1761
+ automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
1762
+ hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
1763
+ cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1764
+ heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1765
+ cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1766
+ heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1767
+ manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
1768
+ }, "strip", z.ZodTypeAny, {
1769
+ device_id: string;
1770
+ created_at: string;
1771
+ climate_setting_schedule_id: string;
1772
+ schedule_type: "time_bound";
1773
+ schedule_starts_at: string;
1774
+ schedule_ends_at: string;
1775
+ name?: string | undefined;
1776
+ errors?: any;
1777
+ automatic_heating_enabled?: boolean | undefined;
1778
+ automatic_cooling_enabled?: boolean | undefined;
1779
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1780
+ cooling_set_point_celsius?: number | undefined;
1781
+ heating_set_point_celsius?: number | undefined;
1782
+ cooling_set_point_fahrenheit?: number | undefined;
1783
+ heating_set_point_fahrenheit?: number | undefined;
1784
+ manual_override_allowed?: boolean | undefined;
1785
+ }, {
1786
+ device_id: string;
1787
+ created_at: string;
1788
+ climate_setting_schedule_id: string;
1789
+ schedule_type: "time_bound";
1790
+ schedule_starts_at: string;
1791
+ schedule_ends_at: string;
1792
+ name?: string | undefined;
1793
+ errors?: any;
1794
+ automatic_heating_enabled?: boolean | undefined;
1795
+ automatic_cooling_enabled?: boolean | undefined;
1796
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1797
+ cooling_set_point_celsius?: number | undefined;
1798
+ heating_set_point_celsius?: number | undefined;
1799
+ cooling_set_point_fahrenheit?: number | undefined;
1800
+ heating_set_point_fahrenheit?: number | undefined;
1801
+ manual_override_allowed?: boolean | undefined;
1802
+ }>;
1803
+ type ClimateSettingSchedule = z.infer<typeof climate_setting_schedule>;
1804
+
1751
1805
  declare const device: z.ZodObject<{
1752
1806
  device_id: z.ZodString;
1753
1807
  created_at: z.ZodString;
@@ -5576,6 +5630,64 @@ declare const device: z.ZodObject<{
5576
5630
  }>;
5577
5631
  type Device = z.infer<typeof device>;
5578
5632
 
5633
+ declare const DEVICE_PROVIDERS: {
5634
+ readonly AKUVOX: "akuvox";
5635
+ readonly AUGUST: "august";
5636
+ readonly AVIGILON_ALTA: "avigilon_alta";
5637
+ readonly BRIVO: "brivo";
5638
+ readonly BUTTERFLYMX: "butterflymx";
5639
+ readonly SCHLAGE: "schlage";
5640
+ readonly SMARTTHINGS: "smartthings";
5641
+ readonly YALE: "yale";
5642
+ readonly GENIE: "genie";
5643
+ readonly DOORKING: "doorking";
5644
+ readonly SALTO: "salto";
5645
+ readonly LOCKLY: "lockly";
5646
+ readonly TTLOCK: "ttlock";
5647
+ readonly LINEAR: "linear";
5648
+ readonly NOISEAWARE: "noiseaware";
5649
+ readonly NUKI: "nuki";
5650
+ readonly SEAM_RELAY_ADMIN: "seam_relay_admin";
5651
+ readonly IGLOO: "igloo";
5652
+ readonly KWIKSET: "kwikset";
5653
+ readonly MINUT: "minut";
5654
+ readonly MY_2N: "my_2n";
5655
+ readonly CONTROLBYWEB: "controlbyweb";
5656
+ readonly NEST: "nest";
5657
+ readonly IGLOOHOME: "igloohome";
5658
+ readonly ECOBEE: "ecobee";
5659
+ readonly HUBITAT: "hubitat";
5660
+ readonly FOUR_SUITES: "four_suites";
5661
+ readonly DORMAKABA_ORACODE: "dormakaba_oracode";
5662
+ readonly PTI: "pti";
5663
+ readonly WYZE: "wyze";
5664
+ readonly SEAM_PASSPORT: "seam_passport";
5665
+ readonly VISIONLINE: "visionline";
5666
+ readonly ASSA_ABLOY_CREDENTIAL_SERVICE: "assa_abloy_credential_service";
5667
+ readonly SEAM_BRIDGE: "seam_bridge";
5668
+ readonly TEDEE: "tedee";
5669
+ readonly HONEYWELL_RESIDEO: "honeywell_resideo";
5670
+ readonly LATCH: "latch";
5671
+ };
5672
+ type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
5673
+ declare const device_provider: z.ZodObject<{
5674
+ device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
5675
+ display_name: z.ZodString;
5676
+ image_url: z.ZodString;
5677
+ provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
5678
+ }, "strip", z.ZodTypeAny, {
5679
+ display_name: string;
5680
+ image_url: string;
5681
+ device_provider_name: "assa_abloy_credential_service" | "doorking" | "akuvox" | "august" | "avigilon_alta" | "brivo" | "butterflymx" | "schlage" | "smartthings" | "yale" | "genie" | "salto" | "lockly" | "ttlock" | "linear" | "noiseaware" | "nuki" | "seam_relay_admin" | "igloo" | "kwikset" | "minut" | "my_2n" | "controlbyweb" | "nest" | "igloohome" | "ecobee" | "hubitat" | "four_suites" | "dormakaba_oracode" | "pti" | "wyze" | "seam_passport" | "visionline" | "seam_bridge" | "tedee" | "honeywell_resideo" | "latch";
5682
+ provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
5683
+ }, {
5684
+ display_name: string;
5685
+ image_url: string;
5686
+ device_provider_name: "assa_abloy_credential_service" | "doorking" | "akuvox" | "august" | "avigilon_alta" | "brivo" | "butterflymx" | "schlage" | "smartthings" | "yale" | "genie" | "salto" | "lockly" | "ttlock" | "linear" | "noiseaware" | "nuki" | "seam_relay_admin" | "igloo" | "kwikset" | "minut" | "my_2n" | "controlbyweb" | "nest" | "igloohome" | "ecobee" | "hubitat" | "four_suites" | "dormakaba_oracode" | "pti" | "wyze" | "seam_passport" | "visionline" | "seam_bridge" | "tedee" | "honeywell_resideo" | "latch";
5687
+ provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
5688
+ }>;
5689
+ type DeviceProvider = z.infer<typeof device_provider>;
5690
+
5579
5691
  declare const unmanaged_device: z.ZodObject<{
5580
5692
  device_id: z.ZodString;
5581
5693
  created_at: z.ZodString;
@@ -7154,10 +7266,12 @@ declare const schemas_acs_system: typeof acs_system;
7154
7266
  declare const schemas_acs_user: typeof acs_user;
7155
7267
  declare const schemas_action_attempt: typeof action_attempt;
7156
7268
  declare const schemas_client_session: typeof client_session;
7269
+ declare const schemas_climate_setting_schedule: typeof climate_setting_schedule;
7157
7270
  declare const schemas_connect_webview: typeof connect_webview;
7158
7271
  declare const schemas_connected_account: typeof connected_account;
7159
7272
  declare const schemas_custom_metadata: typeof custom_metadata;
7160
7273
  declare const schemas_device: typeof device;
7274
+ declare const schemas_device_provider: typeof device_provider;
7161
7275
  declare const schemas_seam_event: typeof seam_event;
7162
7276
  declare const schemas_unmanaged_access_code: typeof unmanaged_access_code;
7163
7277
  declare const schemas_unmanaged_device: typeof unmanaged_device;
@@ -7165,7 +7279,7 @@ declare const schemas_user_identity: typeof user_identity;
7165
7279
  declare const schemas_webhook: typeof webhook;
7166
7280
  declare const schemas_workspace: typeof workspace;
7167
7281
  declare namespace schemas {
7168
- export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_client_session as client_session, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_device as device, schemas_seam_event as seam_event, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
7282
+ export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_client_session as client_session, schemas_climate_setting_schedule as climate_setting_schedule, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_device as device, schemas_device_provider as device_provider, schemas_seam_event as seam_event, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
7169
7283
  }
7170
7284
 
7171
7285
  declare const _default: {
@@ -42163,4 +42277,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
42163
42277
 
42164
42278
  declare const routes: {};
42165
42279
 
42166
- export { type AccessCode, type AcsAccessGroup, type AcsCredential, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type ClientSession, type ConnectWebview, type ConnectedAccount, type CustomMetadata, type Device, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
42280
+ export { type AccessCode, type AcsAccessGroup, type AcsCredential, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type ClientSession, type ClimateSettingSchedule, type ConnectWebview, type ConnectedAccount, type CustomMetadata, type Device, type DeviceProvider, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
@@ -1 +1 @@
1
- export type { AccessCode, AcsAccessGroup, AcsCredential, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, ClientSession, ConnectedAccount, ConnectWebview, CustomMetadata, Device, SeamEvent, SeamEventType, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
1
+ export type { AccessCode, AcsAccessGroup, AcsCredential, AcsEntrance, AcsSystem, AcsUser, ActionAttempt, ClientSession, ClimateSettingSchedule, ConnectedAccount, ConnectWebview, CustomMetadata, Device, DeviceProvider, SeamEvent, SeamEventType, UnmanagedAccessCode, UnmanagedDevice, UserIdentity, Webhook, Workspace, } from './models/index.js';
@@ -816,4 +816,4 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
816
816
  is_cooling_available?: true | undefined;
817
817
  }>]>>;
818
818
  export type { AccessCodeConstraint } from './access-code.js';
819
- export type { ClimateSetting, FanModeSetting, HvacModeSetting, } from './thermostat.js';
819
+ export type { ClimateSetting, ClimateSettingSchedule, FanModeSetting, HvacModeSetting, } from './thermostat.js';
@@ -84,6 +84,7 @@ export declare const climate_setting_schedule: z.ZodObject<{
84
84
  heating_set_point_fahrenheit?: number | undefined;
85
85
  manual_override_allowed?: boolean | undefined;
86
86
  }>;
87
+ export type ClimateSettingSchedule = z.infer<typeof climate_setting_schedule>;
87
88
  export declare const cooling_thermostat_capability_properties: z.ZodObject<{
88
89
  temperature_fahrenheit: z.ZodNumber;
89
90
  temperature_celsius: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"thermostat.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/thermostat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAA;AAI7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAA;AAItD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,yBAAyB,EAAE,CAAC,CAAC,OAAO,EAAE;IACtC,yBAAyB,EAAE,CAAC,CAAC,OAAO,EAAE;IACtC,iBAAiB;IACjB,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,4BAA4B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,4BAA4B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE;CACrC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,MAAM,CAAC;IACN,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9C,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE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ceProvider = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
42
- export declare const ALL_DEVICE_PROVIDERS: [DeviceProvider, ...DeviceProvider[]];
41
+ export type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
42
+ export declare const ALL_DEVICE_PROVIDERS: [
43
+ DeviceProviderName,
44
+ ...DeviceProviderName[]
45
+ ];
43
46
  export type ProviderCategory = keyof typeof PROVIDER_CATEGORY_MAP;
44
47
  export declare const PROVIDER_CATEGORY_MAP: {
45
48
  readonly stable: readonly ["august", "avigilon_alta", "brivo", "schlage", "smartthings", "yale", "nuki", "salto", "controlbyweb", "minut", "my_2n", "kwikset", "ttlock", "noiseaware", "igloohome", "ecobee", "four_suites", "lockly", "wyze", "nest", "tedee", "seam_bridge", "honeywell_resideo", "visionline", "assa_abloy_credential_service", "latch"];
@@ -47,12 +50,12 @@ export declare const PROVIDER_CATEGORY_MAP: {
47
50
  readonly thermostats: readonly ["ecobee", "nest"];
48
51
  readonly noise_sensors: readonly ["minut", "noiseaware"];
49
52
  readonly access_control_systems: readonly ["pti", "visionline", "assa_abloy_credential_service", "latch"];
50
- readonly internal_beta: [DeviceProvider, ...DeviceProvider[]];
53
+ readonly internal_beta: [DeviceProviderName, ...DeviceProviderName[]];
51
54
  };
52
55
  export declare const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]];
53
56
  export declare const PUBLIC_PROVIDER_CATEGORIES: typeof PROVIDER_CATEGORIES;
54
57
  export declare const device_provider: z.ZodObject<{
55
- device_provider_name: z.ZodEnum<[DeviceProvider, ...DeviceProvider[]]>;
58
+ device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
56
59
  display_name: z.ZodString;
57
60
  image_url: z.ZodString;
58
61
  provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
@@ -67,3 +70,4 @@ export declare const device_provider: z.ZodObject<{
67
70
  device_provider_name: "linear" | "assa_abloy_credential_service" | "doorking" | "akuvox" | "august" | "avigilon_alta" | "brivo" | "butterflymx" | "schlage" | "smartthings" | "yale" | "genie" | "salto" | "lockly" | "ttlock" | "noiseaware" | "nuki" | "seam_relay_admin" | "igloo" | "kwikset" | "minut" | "my_2n" | "controlbyweb" | "nest" | "igloohome" | "ecobee" | "hubitat" | "four_suites" | "dormakaba_oracode" | "pti" | "wyze" | "seam_passport" | "visionline" | "seam_bridge" | "tedee" | "honeywell_resideo" | "latch";
68
71
  provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
69
72
  }>;
73
+ export type DeviceProvider = z.infer<typeof device_provider>;
@@ -1 +1 @@
1
- {"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,kBAAkB;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK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,mBAAmB,GAC9B,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAQ,CAAA;AAE3C,MAAM,CAAC,MAAM,0BAA0B,GACrC,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,eAAe,CAAQ,CAAA;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;CACjE,CAAC,CAAA"}
1
+ {"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,kBAAkB;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,I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AqB,CAAQ,CAAA;AAE3C,MAAM,CAAC,MAAM,0BAA0B,GACrC,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,eAAe,CAAQ,CAAA;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;CACjE,CAAC,CAAA"}
@@ -1 +1 @@
1
- export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, connect_webview, connected_account, custom_metadata, device, seam_event, unmanaged_access_code, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, climate_setting_schedule, connect_webview, connected_account, custom_metadata, device, device_provider, seam_event, unmanaged_access_code, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
@@ -1,2 +1,2 @@
1
- export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, connect_webview, connected_account, custom_metadata, device, seam_event, unmanaged_access_code, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, climate_setting_schedule, connect_webview, connected_account, custom_metadata, device, device_provider, seam_event, unmanaged_access_code, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
2
2
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,UAAU,EACV,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,cAAc,EACd,wBAAwB,EACxB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,UAAU,EACV,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.188.0",
3
+ "version": "1.190.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -7,10 +7,12 @@ export type {
7
7
  AcsUser,
8
8
  ActionAttempt,
9
9
  ClientSession,
10
+ ClimateSettingSchedule,
10
11
  ConnectedAccount,
11
12
  ConnectWebview,
12
13
  CustomMetadata,
13
14
  Device,
15
+ DeviceProvider,
14
16
  SeamEvent,
15
17
  SeamEventType,
16
18
  UnmanagedAccessCode,
@@ -35,6 +35,7 @@ export const capability_properties = z.intersection(
35
35
  export type { AccessCodeConstraint } from './access-code.js'
36
36
  export type {
37
37
  ClimateSetting,
38
+ ClimateSettingSchedule,
38
39
  FanModeSetting,
39
40
  HvacModeSetting,
40
41
  } from './thermostat.js'
@@ -38,6 +38,8 @@ export const climate_setting_schedule = z
38
38
  })
39
39
  .merge(climate_setting.partial())
40
40
 
41
+ export type ClimateSettingSchedule = z.infer<typeof climate_setting_schedule>
42
+
41
43
  const base_thermostat_capability_properties = z.object({
42
44
  temperature_fahrenheit: z.number(),
43
45
  temperature_celsius: z.number(),
@@ -40,11 +40,13 @@ export const DEVICE_PROVIDERS = {
40
40
  LATCH: 'latch',
41
41
  } as const
42
42
 
43
- export type DeviceProvider =
43
+ export type DeviceProviderName =
44
44
  (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS]
45
45
 
46
- export const ALL_DEVICE_PROVIDERS: [DeviceProvider, ...DeviceProvider[]] =
47
- Object.values(DEVICE_PROVIDERS) as any
46
+ export const ALL_DEVICE_PROVIDERS: [
47
+ DeviceProviderName,
48
+ ...DeviceProviderName[],
49
+ ] = Object.values(DEVICE_PROVIDERS) as any
48
50
 
49
51
  export type ProviderCategory = keyof typeof PROVIDER_CATEGORY_MAP
50
52
 
@@ -100,7 +102,7 @@ export const PROVIDER_CATEGORY_MAP = {
100
102
  ],
101
103
 
102
104
  internal_beta: ALL_DEVICE_PROVIDERS,
103
- } as const satisfies Record<string, readonly DeviceProvider[]>
105
+ } as const satisfies Record<string, readonly DeviceProviderName[]>
104
106
 
105
107
  export const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]] =
106
108
  Object.keys(PROVIDER_CATEGORY_MAP) as any
@@ -114,3 +116,5 @@ export const device_provider = z.object({
114
116
  image_url: z.string(),
115
117
  provider_categories: z.array(z.enum(PUBLIC_PROVIDER_CATEGORIES)),
116
118
  })
119
+
120
+ export type DeviceProvider = z.infer<typeof device_provider>
@@ -7,10 +7,12 @@ export {
7
7
  acs_user,
8
8
  action_attempt,
9
9
  client_session,
10
+ climate_setting_schedule,
10
11
  connect_webview,
11
12
  connected_account,
12
13
  custom_metadata,
13
14
  device,
15
+ device_provider,
14
16
  seam_event,
15
17
  unmanaged_access_code,
16
18
  unmanaged_device,