@seamapi/types 1.189.0 → 1.191.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;
@@ -7044,13 +7098,13 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
7044
7098
  event_type: z.ZodLiteral<"lock.locked">;
7045
7099
  access_code_id: z.ZodOptional<z.ZodString>;
7046
7100
  action_attempt_id: z.ZodOptional<z.ZodString>;
7047
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
7101
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
7048
7102
  }, "strip", z.ZodTypeAny, {
7049
7103
  device_id: string;
7050
7104
  created_at: string;
7051
7105
  workspace_id: string;
7052
7106
  connected_account_id: string;
7053
- method: "unknown" | "keycode" | "manual" | "seamapi";
7107
+ method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
7054
7108
  occurred_at: string;
7055
7109
  event_type: "lock.locked";
7056
7110
  access_code_id?: string | undefined;
@@ -7060,7 +7114,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
7060
7114
  created_at: string;
7061
7115
  workspace_id: string;
7062
7116
  connected_account_id: string;
7063
- method: "unknown" | "keycode" | "manual" | "seamapi";
7117
+ method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
7064
7118
  occurred_at: string;
7065
7119
  event_type: "lock.locked";
7066
7120
  access_code_id?: string | undefined;
@@ -7074,13 +7128,13 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
7074
7128
  event_type: z.ZodLiteral<"lock.unlocked">;
7075
7129
  access_code_id: z.ZodOptional<z.ZodString>;
7076
7130
  action_attempt_id: z.ZodOptional<z.ZodString>;
7077
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
7131
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
7078
7132
  }, "strip", z.ZodTypeAny, {
7079
7133
  device_id: string;
7080
7134
  created_at: string;
7081
7135
  workspace_id: string;
7082
7136
  connected_account_id: string;
7083
- method: "unknown" | "keycode" | "manual" | "seamapi";
7137
+ method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
7084
7138
  occurred_at: string;
7085
7139
  event_type: "lock.unlocked";
7086
7140
  access_code_id?: string | undefined;
@@ -7090,7 +7144,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
7090
7144
  created_at: string;
7091
7145
  workspace_id: string;
7092
7146
  connected_account_id: string;
7093
- method: "unknown" | "keycode" | "manual" | "seamapi";
7147
+ method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
7094
7148
  occurred_at: string;
7095
7149
  event_type: "lock.unlocked";
7096
7150
  access_code_id?: string | undefined;
@@ -7212,6 +7266,7 @@ declare const schemas_acs_system: typeof acs_system;
7212
7266
  declare const schemas_acs_user: typeof acs_user;
7213
7267
  declare const schemas_action_attempt: typeof action_attempt;
7214
7268
  declare const schemas_client_session: typeof client_session;
7269
+ declare const schemas_climate_setting_schedule: typeof climate_setting_schedule;
7215
7270
  declare const schemas_connect_webview: typeof connect_webview;
7216
7271
  declare const schemas_connected_account: typeof connected_account;
7217
7272
  declare const schemas_custom_metadata: typeof custom_metadata;
@@ -7224,7 +7279,7 @@ declare const schemas_user_identity: typeof user_identity;
7224
7279
  declare const schemas_webhook: typeof webhook;
7225
7280
  declare const schemas_workspace: typeof workspace;
7226
7281
  declare namespace schemas {
7227
- 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_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 };
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 };
7228
7283
  }
7229
7284
 
7230
7285
  declare const _default: {
@@ -42222,4 +42277,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
42222
42277
 
42223
42278
  declare const routes: {};
42224
42279
 
42225
- 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 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 };
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, DeviceProvider, 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;IAC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AAC,KAAK,CAAC;IACtD,gDAAgD,CAAC,OAAO,EAAE;IAC1D,wCAAwC,CAAC,OAAO,EAAE;IAClD,wCAAwC,CAAC,OAAO,EAAE;CACnD,CAAC,CAAA"}
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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AO,EAAE;CACnD,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const lock_method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
2
+ export declare const lock_method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
3
3
  export type LockMethod = z.infer<typeof lock_method>;
4
4
  export declare const device_connected_event: z.ZodObject<{
5
5
  device_id: z.ZodString;
@@ -537,9 +537,9 @@ export declare const lock_locked_event: z.ZodObject<{
537
537
  event_type: z.ZodLiteral<"lock.locked">;
538
538
  access_code_id: z.ZodOptional<z.ZodString>;
539
539
  action_attempt_id: z.ZodOptional<z.ZodString>;
540
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
540
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
541
541
  }, "strip", z.ZodTypeAny, {
542
- method: "manual" | "unknown" | "keycode" | "seamapi";
542
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
543
543
  device_id: string;
544
544
  created_at: string;
545
545
  workspace_id: string;
@@ -549,7 +549,7 @@ export declare const lock_locked_event: z.ZodObject<{
549
549
  access_code_id?: string | undefined;
550
550
  action_attempt_id?: string | undefined;
551
551
  }, {
552
- method: "manual" | "unknown" | "keycode" | "seamapi";
552
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
553
553
  device_id: string;
554
554
  created_at: string;
555
555
  workspace_id: string;
@@ -569,9 +569,9 @@ export declare const lock_unlocked_event: z.ZodObject<{
569
569
  event_type: z.ZodLiteral<"lock.unlocked">;
570
570
  access_code_id: z.ZodOptional<z.ZodString>;
571
571
  action_attempt_id: z.ZodOptional<z.ZodString>;
572
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
572
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
573
573
  }, "strip", z.ZodTypeAny, {
574
- method: "manual" | "unknown" | "keycode" | "seamapi";
574
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
575
575
  device_id: string;
576
576
  created_at: string;
577
577
  workspace_id: string;
@@ -581,7 +581,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
581
581
  access_code_id?: string | undefined;
582
582
  action_attempt_id?: string | undefined;
583
583
  }, {
584
- method: "manual" | "unknown" | "keycode" | "seamapi";
584
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
585
585
  device_id: string;
586
586
  created_at: string;
587
587
  workspace_id: string;
@@ -1084,9 +1084,9 @@ export declare const device_events: readonly [z.ZodObject<{
1084
1084
  event_type: z.ZodLiteral<"lock.locked">;
1085
1085
  access_code_id: z.ZodOptional<z.ZodString>;
1086
1086
  action_attempt_id: z.ZodOptional<z.ZodString>;
1087
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
1087
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
1088
1088
  }, "strip", z.ZodTypeAny, {
1089
- method: "manual" | "unknown" | "keycode" | "seamapi";
1089
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1090
1090
  device_id: string;
1091
1091
  created_at: string;
1092
1092
  workspace_id: string;
@@ -1096,7 +1096,7 @@ export declare const device_events: readonly [z.ZodObject<{
1096
1096
  access_code_id?: string | undefined;
1097
1097
  action_attempt_id?: string | undefined;
1098
1098
  }, {
1099
- method: "manual" | "unknown" | "keycode" | "seamapi";
1099
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1100
1100
  device_id: string;
1101
1101
  created_at: string;
1102
1102
  workspace_id: string;
@@ -1114,9 +1114,9 @@ export declare const device_events: readonly [z.ZodObject<{
1114
1114
  event_type: z.ZodLiteral<"lock.unlocked">;
1115
1115
  access_code_id: z.ZodOptional<z.ZodString>;
1116
1116
  action_attempt_id: z.ZodOptional<z.ZodString>;
1117
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
1117
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
1118
1118
  }, "strip", z.ZodTypeAny, {
1119
- method: "manual" | "unknown" | "keycode" | "seamapi";
1119
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1120
1120
  device_id: string;
1121
1121
  created_at: string;
1122
1122
  workspace_id: string;
@@ -1126,7 +1126,7 @@ export declare const device_events: readonly [z.ZodObject<{
1126
1126
  access_code_id?: string | undefined;
1127
1127
  action_attempt_id?: string | undefined;
1128
1128
  }, {
1129
- method: "manual" | "unknown" | "keycode" | "seamapi";
1129
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1130
1130
  device_id: string;
1131
1131
  created_at: string;
1132
1132
  workspace_id: string;
@@ -37,8 +37,13 @@ const disconnection_error_code = z.enum([
37
37
  ---
38
38
  The error code associated with the event, if any.
39
39
  `);
40
- export const lock_method = z.enum(['keycode', 'manual', 'unknown', 'seamapi'])
41
- .describe(`
40
+ export const lock_method = z.enum([
41
+ 'keycode',
42
+ 'manual',
43
+ 'automatic',
44
+ 'unknown',
45
+ 'seamapi',
46
+ ]).describe(`
42
47
  ---
43
48
  title: Lock Lock/Unlock Method
44
49
  ---
@@ -1 +1 @@
1
- {"version":3,"file":"devices.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/devices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKrC,CAAC;IACF,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKhD,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CA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AAQ,EAAE;IAC/C,MAAM,EAAE,WAAW;CACpB,CAAC;KACD,QAAQ,CAAC,oBAAoB,CAAC,CAAA;AAIjC,MAAM,CAAC,MAAM,mBAAmB,GAAG,YAAY;KAC5C,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IACtC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC5C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/C,MAAM,EAAE,WAAW;CACpB,CAAC;KACD,QAAQ,CAAC,sBAAsB,CAAC,CAAA;AAInC,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,sBAAsB;IACtB,mCAAmC;IACnC,2CAA2C;IAC3C,gCAAgC;IAChC,yBAAyB;IACzB,mCAAmC;IACnC,qBAAqB;IACrB,wBAAwB;IACxB,mCAAmC;IACnC,oBAAoB;IACpB,oBAAoB;IACpB,6CAA6C;IAC7C,uDAAuD;IACvD,yCAAyC;IACzC,2CAA2C;IAC3C,oCAAoC;IACpC,kCAAkC;IAClC,wCAAwC;IACxC,iDAAiD;IACjD,uCAAuC;IACvC,0CAA0C;IAC1C,4CAA4C;IAC5C,iBAAiB;IACjB,mBAAmB;CACX,CAAA"}
1
+ {"version":3,"file":"devices.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/devices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKrC,CAAC;IACF,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,E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CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC5C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/C,MAAM,EAAE,WAAW;CACpB,CAAC;KACD,QAAQ,CAAC,oBAAoB,CAAC,CAAA;AAIjC,MAAM,CAAC,MAAM,mBAAmB,GAAG,YAAY;KAC5C,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IACtC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC5C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAC/C,MAAM,EAAE,WAAW;CACpB,CAAC;KACD,QAAQ,CAAC,sBAAsB,CAAC,CAAA;AAInC,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,sBAAsB;IACtB,mCAAmC;IACnC,2CAA2C;IAC3C,gCAAgC;IAChC,yBAAyB;IACzB,mCAAmC;IACnC,qBAAqB;IACrB,wBAAwB;IACxB,mCAAmC;IACnC,oBAAoB;IACpB,oBAAoB;IACpB,6CAA6C;IAC7C,uDAAuD;IACvD,yCAAyC;IACzC,2CAA2C;IAC3C,oCAAoC;IACpC,kCAAkC;IAClC,wCAAwC;IACxC,iDAAiD;IACjD,uCAAuC;IACvC,0CAA0C;IAC1C,4CAA4C;IAC5C,iBAAiB;IACjB,mBAAmB;CACX,CAAA"}
@@ -1133,9 +1133,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
1133
1133
  event_type: z.ZodLiteral<"lock.locked">;
1134
1134
  access_code_id: z.ZodOptional<z.ZodString>;
1135
1135
  action_attempt_id: z.ZodOptional<z.ZodString>;
1136
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
1136
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
1137
1137
  }, "strip", z.ZodTypeAny, {
1138
- method: "manual" | "unknown" | "keycode" | "seamapi";
1138
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1139
1139
  device_id: string;
1140
1140
  created_at: string;
1141
1141
  workspace_id: string;
@@ -1145,7 +1145,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
1145
1145
  access_code_id?: string | undefined;
1146
1146
  action_attempt_id?: string | undefined;
1147
1147
  }, {
1148
- method: "manual" | "unknown" | "keycode" | "seamapi";
1148
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1149
1149
  device_id: string;
1150
1150
  created_at: string;
1151
1151
  workspace_id: string;
@@ -1163,9 +1163,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
1163
1163
  event_type: z.ZodLiteral<"lock.unlocked">;
1164
1164
  access_code_id: z.ZodOptional<z.ZodString>;
1165
1165
  action_attempt_id: z.ZodOptional<z.ZodString>;
1166
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
1166
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
1167
1167
  }, "strip", z.ZodTypeAny, {
1168
- method: "manual" | "unknown" | "keycode" | "seamapi";
1168
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1169
1169
  device_id: string;
1170
1170
  created_at: string;
1171
1171
  workspace_id: string;
@@ -1175,7 +1175,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
1175
1175
  access_code_id?: string | undefined;
1176
1176
  action_attempt_id?: string | undefined;
1177
1177
  }, {
1178
- method: "manual" | "unknown" | "keycode" | "seamapi";
1178
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1179
1179
  device_id: string;
1180
1180
  created_at: string;
1181
1181
  workspace_id: string;
@@ -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, device_provider, 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, device_provider, 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,eAAe,EACf,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.189.0",
3
+ "version": "1.191.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -7,6 +7,7 @@ export type {
7
7
  AcsUser,
8
8
  ActionAttempt,
9
9
  ClientSession,
10
+ ClimateSettingSchedule,
10
11
  ConnectedAccount,
11
12
  ConnectWebview,
12
13
  CustomMetadata,
@@ -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(),
@@ -43,8 +43,13 @@ const disconnection_error_code = z.enum([
43
43
  The error code associated with the event, if any.
44
44
  `)
45
45
 
46
- export const lock_method = z.enum(['keycode', 'manual', 'unknown', 'seamapi'])
47
- .describe(`
46
+ export const lock_method = z.enum([
47
+ 'keycode',
48
+ 'manual',
49
+ 'automatic',
50
+ 'unknown',
51
+ 'seamapi',
52
+ ]).describe(`
48
53
  ---
49
54
  title: Lock Lock/Unlock Method
50
55
  ---
@@ -7,6 +7,7 @@ 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,