@seamapi/types 1.241.0 → 1.242.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.
- package/dist/connect.cjs +281 -137
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +370 -182
- package/dist/devicedb.cjs +9 -6
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +123 -70
- package/lib/seam/connect/models/acs/acs-system.d.ts +86 -42
- package/lib/seam/connect/models/acs/acs-system.js +23 -20
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +169 -140
- package/lib/seam/connect/models/acs/acs-user.js +32 -30
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
- package/lib/seam/connect/models/devices/device.d.ts +6 -6
- package/lib/seam/connect/models/devices/phone.d.ts +5 -5
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
- package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
- package/lib/seam/connect/models/thermostats/index.js +1 -1
- package/lib/seam/connect/models/thermostats/index.js.map +1 -1
- package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js} +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +45 -18
- package/lib/seam/connect/openapi.js +219 -90
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +176 -78
- package/lib/seam/devicedb/models/device-model.d.ts +59 -24
- package/lib/seam/devicedb/models/device-model.js +9 -6
- package/lib/seam/devicedb/models/device-model.js.map +1 -1
- package/lib/seam/devicedb/route-specs.d.ts +56 -38
- package/lib/seam/devicedb/route-types.d.ts +8 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +32 -24
- package/src/lib/seam/connect/models/acs/acs-user.ts +41 -35
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
- package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +249 -90
- package/src/lib/seam/connect/route-types.ts +187 -78
- package/src/lib/seam/devicedb/models/device-model.ts +24 -19
- package/src/lib/seam/devicedb/route-types.ts +8 -8
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +0 -1
- /package/lib/seam/connect/models/thermostats/{climate-setting-schedule.d.ts → thermostat-schedule.d.ts} +0 -0
- /package/src/lib/seam/connect/models/thermostats/{climate-setting-schedule.ts → thermostat-schedule.ts} +0 -0
|
@@ -17,76 +17,78 @@ const common_acs_user_error = z.object({
|
|
|
17
17
|
.string()
|
|
18
18
|
.describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
|
|
19
19
|
});
|
|
20
|
-
const
|
|
20
|
+
const acs_users_deleted_externally = common_acs_user_error
|
|
21
21
|
.extend({
|
|
22
|
-
error_code: z.literal('
|
|
22
|
+
error_code: z.literal('deleted_externally'),
|
|
23
23
|
})
|
|
24
|
-
.describe(`Indicates that the user was deleted from the ACS system outside of Seam.`);
|
|
24
|
+
.describe(`Indicates that the ACS user was deleted from the ACS system outside of Seam.`);
|
|
25
25
|
const acs_users_salto_ks_subscription_limit_exceeded = common_acs_user_error
|
|
26
26
|
.extend({
|
|
27
27
|
error_code: z.literal('salto_ks_subscription_limit_exceeded'),
|
|
28
28
|
})
|
|
29
29
|
.describe(`Indicates that the user could not be subscribed on Salto KS because the subscription limit has been exceeded.`);
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
const acs_users_failed_to_create_on_acs_system = common_acs_user_error
|
|
31
|
+
.extend({
|
|
32
|
+
warning_code: z.literal('failed_to_create_on_acs_system'),
|
|
33
|
+
})
|
|
34
|
+
.describe(`Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`);
|
|
35
|
+
const acs_users_failed_to_update_on_acs_system = common_acs_user_error
|
|
36
|
+
.extend({
|
|
37
|
+
warning_code: z.literal('failed_to_update_on_acs_system'),
|
|
38
|
+
})
|
|
39
|
+
.describe(`Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`);
|
|
40
|
+
const acs_users_failed_to_delete_on_acs_system = common_acs_user_error
|
|
41
|
+
.extend({
|
|
42
|
+
warning_code: z.literal('failed_to_delete_on_acs_system'),
|
|
43
|
+
})
|
|
44
|
+
.describe(`Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`);
|
|
33
45
|
const acs_user_errors = z
|
|
34
46
|
.union([
|
|
35
|
-
|
|
47
|
+
acs_users_deleted_externally,
|
|
36
48
|
acs_users_salto_ks_subscription_limit_exceeded,
|
|
37
|
-
|
|
49
|
+
acs_users_failed_to_create_on_acs_system,
|
|
50
|
+
acs_users_failed_to_update_on_acs_system,
|
|
51
|
+
acs_users_failed_to_delete_on_acs_system,
|
|
38
52
|
])
|
|
39
53
|
.describe('Error associated with the `acs_user`.');
|
|
40
54
|
export const acs_users_error_map = z.object({
|
|
41
|
-
|
|
55
|
+
deleted_externally: acs_users_deleted_externally.optional().nullable(),
|
|
56
|
+
salto_ks_subscription_limit_exceeded: acs_users_salto_ks_subscription_limit_exceeded.optional().nullable(),
|
|
57
|
+
failed_to_create_on_acs_system: acs_users_failed_to_create_on_acs_system
|
|
42
58
|
.optional()
|
|
43
59
|
.nullable(),
|
|
44
|
-
|
|
45
|
-
|
|
60
|
+
failed_to_update_on_acs_system: acs_users_failed_to_update_on_acs_system
|
|
61
|
+
.optional()
|
|
62
|
+
.nullable(),
|
|
63
|
+
failed_to_delete_on_acs_system: acs_users_failed_to_delete_on_acs_system
|
|
46
64
|
.optional()
|
|
47
65
|
.nullable(),
|
|
48
66
|
});
|
|
49
|
-
const
|
|
67
|
+
const common_acs_user_warning = z.object({
|
|
50
68
|
created_at: z.string().datetime(),
|
|
51
69
|
message: z.string(),
|
|
52
70
|
});
|
|
53
|
-
const acs_users_being_deleted =
|
|
71
|
+
const acs_users_being_deleted = common_acs_user_warning
|
|
54
72
|
.extend({
|
|
55
73
|
warning_code: z.literal('being_deleted'),
|
|
56
74
|
})
|
|
57
75
|
.describe(`Indicates that the user is being deleted from the ACS system. This is a temporary state, and the user will be deleted shortly.`);
|
|
58
|
-
const acs_users_salto_ks_user_not_subscribed =
|
|
76
|
+
const acs_users_salto_ks_user_not_subscribed = common_acs_user_warning
|
|
59
77
|
.extend({
|
|
60
78
|
warning_code: z.literal('salto_ks_user_not_subscribed'),
|
|
61
79
|
})
|
|
62
80
|
.describe(`Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn’t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.`);
|
|
63
|
-
const acs_users_failed_to_update_on_acs_system = common_acs_users_warning
|
|
64
|
-
.extend({
|
|
65
|
-
warning_code: z.literal('failed_to_update_on_acs_system'),
|
|
66
|
-
})
|
|
67
|
-
.describe(`Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`);
|
|
68
|
-
// TODO: Some acs_users already have this warning, so we need to keep it here until we migrate
|
|
69
|
-
const acs_users_salto_site_user_suspended = common_acs_users_warning.extend({
|
|
70
|
-
warning_code: z.literal('salto_site_user_suspended'),
|
|
71
|
-
});
|
|
72
81
|
export const acs_users_warning_map = z.object({
|
|
73
82
|
being_deleted: acs_users_being_deleted.optional().nullable(),
|
|
74
|
-
failed_to_update_on_acs_system: acs_users_failed_to_update_on_acs_system
|
|
75
|
-
.optional()
|
|
76
|
-
.nullable(),
|
|
77
83
|
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed
|
|
78
84
|
.optional()
|
|
79
85
|
.nullable(),
|
|
80
|
-
salto_site_user_suspended: acs_users_salto_site_user_suspended
|
|
81
|
-
.optional()
|
|
82
|
-
.nullable(),
|
|
83
86
|
});
|
|
84
87
|
export const acs_users_warnings = z
|
|
85
88
|
.union([
|
|
86
89
|
acs_users_being_deleted,
|
|
87
90
|
acs_users_failed_to_update_on_acs_system,
|
|
88
91
|
acs_users_salto_ks_user_not_subscribed,
|
|
89
|
-
acs_users_salto_site_user_suspended,
|
|
90
92
|
])
|
|
91
93
|
.describe('Warning associated with the `acs_user`.');
|
|
92
94
|
const user_fields = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,6BAA6B;IAC7B,iBAAiB;IACjB,YAAY;CACb,CAAC,CAAA;AAIF,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC,CAAA;AAEF,MAAM,
|
|
1
|
+
{"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,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,EAAE;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACzD,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7D,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC5D,4CAA4C,EAAE,CAAC;SAC5C,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;IACb,4CAA4C,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACpE,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;IACrC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC;CACjC,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA;AAErB,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,CAC3C,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC,CACH,CAAA;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC,KAAK,CACrD,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC,CACH,CAAA"}
|
|
@@ -88,7 +88,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
88
88
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
89
89
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
90
90
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
91
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
92
92
|
display_name: z.ZodOptional<z.ZodString>;
|
|
93
93
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
94
94
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -128,7 +128,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
128
128
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
129
129
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
130
130
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
131
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
132
132
|
display_name: z.ZodOptional<z.ZodString>;
|
|
133
133
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
134
134
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -168,7 +168,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
168
168
|
climate_preset_key: z.ZodString;
|
|
169
169
|
can_edit: z.ZodBoolean;
|
|
170
170
|
can_delete: z.ZodBoolean;
|
|
171
|
-
name: z.ZodNullable<z.ZodString
|
|
171
|
+
name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
172
172
|
display_name: z.ZodString;
|
|
173
173
|
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
174
174
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -191,12 +191,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
191
191
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
192
192
|
heating_set_point_fahrenheit?: number | undefined;
|
|
193
193
|
}, {
|
|
194
|
-
name: string | null;
|
|
195
194
|
climate_preset_key: string;
|
|
196
195
|
can_edit: boolean;
|
|
197
196
|
can_delete: boolean;
|
|
198
197
|
display_name: string;
|
|
199
198
|
manual_override_allowed: boolean;
|
|
199
|
+
name?: string | null | undefined;
|
|
200
200
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
201
201
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
202
202
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -359,12 +359,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
|
|
|
359
359
|
manual_override_allowed?: boolean | undefined;
|
|
360
360
|
} | undefined;
|
|
361
361
|
available_climate_presets?: {
|
|
362
|
-
name: string | null;
|
|
363
362
|
climate_preset_key: string;
|
|
364
363
|
can_edit: boolean;
|
|
365
364
|
can_delete: boolean;
|
|
366
365
|
display_name: string;
|
|
367
366
|
manual_override_allowed: boolean;
|
|
367
|
+
name?: string | null | undefined;
|
|
368
368
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
369
369
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
370
370
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -13,7 +13,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
13
13
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
14
14
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
16
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
17
17
|
display_name: z.ZodOptional<z.ZodString>;
|
|
18
18
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
19
19
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -53,7 +53,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
53
53
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
54
54
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
55
55
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
56
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
57
57
|
display_name: z.ZodOptional<z.ZodString>;
|
|
58
58
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
59
59
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -93,7 +93,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
93
93
|
climate_preset_key: z.ZodString;
|
|
94
94
|
can_edit: z.ZodBoolean;
|
|
95
95
|
can_delete: z.ZodBoolean;
|
|
96
|
-
name: z.ZodNullable<z.ZodString
|
|
96
|
+
name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
97
97
|
display_name: z.ZodString;
|
|
98
98
|
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
99
99
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -116,12 +116,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
116
116
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
117
117
|
heating_set_point_fahrenheit?: number | undefined;
|
|
118
118
|
}, {
|
|
119
|
-
name: string | null;
|
|
120
119
|
climate_preset_key: string;
|
|
121
120
|
can_edit: boolean;
|
|
122
121
|
can_delete: boolean;
|
|
123
122
|
display_name: string;
|
|
124
123
|
manual_override_allowed: boolean;
|
|
124
|
+
name?: string | null | undefined;
|
|
125
125
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
126
126
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
127
127
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -284,12 +284,12 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
284
284
|
manual_override_allowed?: boolean | undefined;
|
|
285
285
|
} | undefined;
|
|
286
286
|
available_climate_presets?: {
|
|
287
|
-
name: string | null;
|
|
288
287
|
climate_preset_key: string;
|
|
289
288
|
can_edit: boolean;
|
|
290
289
|
can_delete: boolean;
|
|
291
290
|
display_name: string;
|
|
292
291
|
manual_override_allowed: boolean;
|
|
292
|
+
name?: string | null | undefined;
|
|
293
293
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
294
294
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
295
295
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1492,7 +1492,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1492
1492
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1493
1493
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1494
1494
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1495
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
1495
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
1496
1496
|
display_name: z.ZodOptional<z.ZodString>;
|
|
1497
1497
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
1498
1498
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -1532,7 +1532,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1532
1532
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1533
1533
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1534
1534
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1535
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
1535
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
1536
1536
|
display_name: z.ZodOptional<z.ZodString>;
|
|
1537
1537
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
1538
1538
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -1572,7 +1572,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1572
1572
|
climate_preset_key: z.ZodString;
|
|
1573
1573
|
can_edit: z.ZodBoolean;
|
|
1574
1574
|
can_delete: z.ZodBoolean;
|
|
1575
|
-
name: z.ZodNullable<z.ZodString
|
|
1575
|
+
name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1576
1576
|
display_name: z.ZodString;
|
|
1577
1577
|
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
1578
1578
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -1595,12 +1595,12 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1595
1595
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
1596
1596
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1597
1597
|
}, {
|
|
1598
|
-
name: string | null;
|
|
1599
1598
|
climate_preset_key: string;
|
|
1600
1599
|
can_edit: boolean;
|
|
1601
1600
|
can_delete: boolean;
|
|
1602
1601
|
display_name: string;
|
|
1603
1602
|
manual_override_allowed: boolean;
|
|
1603
|
+
name?: string | null | undefined;
|
|
1604
1604
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1605
1605
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1606
1606
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1763,12 +1763,12 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1763
1763
|
manual_override_allowed?: boolean | undefined;
|
|
1764
1764
|
} | undefined;
|
|
1765
1765
|
available_climate_presets?: {
|
|
1766
|
-
name: string | null;
|
|
1767
1766
|
climate_preset_key: string;
|
|
1768
1767
|
can_edit: boolean;
|
|
1769
1768
|
can_delete: boolean;
|
|
1770
1769
|
display_name: string;
|
|
1771
1770
|
manual_override_allowed: boolean;
|
|
1771
|
+
name?: string | null | undefined;
|
|
1772
1772
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1773
1773
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1774
1774
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -2549,12 +2549,12 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2549
2549
|
manual_override_allowed?: boolean | undefined;
|
|
2550
2550
|
} | undefined;
|
|
2551
2551
|
available_climate_presets?: {
|
|
2552
|
-
name: string | null;
|
|
2553
2552
|
climate_preset_key: string;
|
|
2554
2553
|
can_edit: boolean;
|
|
2555
2554
|
can_delete: boolean;
|
|
2556
2555
|
display_name: string;
|
|
2557
2556
|
manual_override_allowed: boolean;
|
|
2557
|
+
name?: string | null | undefined;
|
|
2558
2558
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
2559
2559
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
2560
2560
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1274,7 +1274,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1274
1274
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1275
1275
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1276
1276
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1277
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
1277
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
1278
1278
|
display_name: z.ZodOptional<z.ZodString>;
|
|
1279
1279
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
1280
1280
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -1314,7 +1314,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1314
1314
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1315
1315
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1316
1316
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1317
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
1317
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
1318
1318
|
display_name: z.ZodOptional<z.ZodString>;
|
|
1319
1319
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
1320
1320
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -1354,7 +1354,7 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1354
1354
|
climate_preset_key: z.ZodString;
|
|
1355
1355
|
can_edit: z.ZodBoolean;
|
|
1356
1356
|
can_delete: z.ZodBoolean;
|
|
1357
|
-
name: z.ZodNullable<z.ZodString
|
|
1357
|
+
name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1358
1358
|
display_name: z.ZodString;
|
|
1359
1359
|
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
1360
1360
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -1377,12 +1377,12 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1377
1377
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
1378
1378
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1379
1379
|
}, {
|
|
1380
|
-
name: string | null;
|
|
1381
1380
|
climate_preset_key: string;
|
|
1382
1381
|
can_edit: boolean;
|
|
1383
1382
|
can_delete: boolean;
|
|
1384
1383
|
display_name: string;
|
|
1385
1384
|
manual_override_allowed: boolean;
|
|
1385
|
+
name?: string | null | undefined;
|
|
1386
1386
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1387
1387
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1388
1388
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1545,12 +1545,12 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
1545
1545
|
manual_override_allowed?: boolean | undefined;
|
|
1546
1546
|
} | undefined;
|
|
1547
1547
|
available_climate_presets?: {
|
|
1548
|
-
name: string | null;
|
|
1549
1548
|
climate_preset_key: string;
|
|
1550
1549
|
can_edit: boolean;
|
|
1551
1550
|
can_delete: boolean;
|
|
1552
1551
|
display_name: string;
|
|
1553
1552
|
manual_override_allowed: boolean;
|
|
1553
|
+
name?: string | null | undefined;
|
|
1554
1554
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1555
1555
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1556
1556
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1273,7 +1273,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1273
1273
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1274
1274
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1275
1275
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1276
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
1276
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
1277
1277
|
display_name: z.ZodOptional<z.ZodString>;
|
|
1278
1278
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
1279
1279
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -1313,7 +1313,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1313
1313
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1314
1314
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1315
1315
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1316
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
1316
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
1317
1317
|
display_name: z.ZodOptional<z.ZodString>;
|
|
1318
1318
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
1319
1319
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -1353,7 +1353,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1353
1353
|
climate_preset_key: z.ZodString;
|
|
1354
1354
|
can_edit: z.ZodBoolean;
|
|
1355
1355
|
can_delete: z.ZodBoolean;
|
|
1356
|
-
name: z.ZodNullable<z.ZodString
|
|
1356
|
+
name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1357
1357
|
display_name: z.ZodString;
|
|
1358
1358
|
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
1359
1359
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -1376,12 +1376,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1376
1376
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
1377
1377
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1378
1378
|
}, {
|
|
1379
|
-
name: string | null;
|
|
1380
1379
|
climate_preset_key: string;
|
|
1381
1380
|
can_edit: boolean;
|
|
1382
1381
|
can_delete: boolean;
|
|
1383
1382
|
display_name: string;
|
|
1384
1383
|
manual_override_allowed: boolean;
|
|
1384
|
+
name?: string | null | undefined;
|
|
1385
1385
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1386
1386
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1387
1387
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1544,12 +1544,12 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
1544
1544
|
manual_override_allowed?: boolean | undefined;
|
|
1545
1545
|
} | undefined;
|
|
1546
1546
|
available_climate_presets?: {
|
|
1547
|
-
name: string | null;
|
|
1548
1547
|
climate_preset_key: string;
|
|
1549
1548
|
can_edit: boolean;
|
|
1550
1549
|
can_delete: boolean;
|
|
1551
1550
|
display_name: string;
|
|
1552
1551
|
manual_override_allowed: boolean;
|
|
1552
|
+
name?: string | null | undefined;
|
|
1553
1553
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1554
1554
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1555
1555
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -3,7 +3,7 @@ export declare const climate_preset: z.ZodObject<{
|
|
|
3
3
|
climate_preset_key: z.ZodString;
|
|
4
4
|
can_edit: z.ZodBoolean;
|
|
5
5
|
can_delete: z.ZodBoolean;
|
|
6
|
-
name: z.ZodNullable<z.ZodString
|
|
6
|
+
name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
display_name: z.ZodString;
|
|
8
8
|
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
9
9
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -26,12 +26,12 @@ export declare const climate_preset: z.ZodObject<{
|
|
|
26
26
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
27
27
|
heating_set_point_fahrenheit?: number | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
name: string | null;
|
|
30
29
|
climate_preset_key: string;
|
|
31
30
|
can_edit: boolean;
|
|
32
31
|
can_delete: boolean;
|
|
33
32
|
display_name: string;
|
|
34
33
|
manual_override_allowed: boolean;
|
|
34
|
+
name?: string | null | undefined;
|
|
35
35
|
fan_mode_setting?: "auto" | "on" | undefined;
|
|
36
36
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
37
37
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -44,7 +44,7 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
44
44
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
45
45
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
46
46
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString
|
|
47
|
+
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
48
48
|
display_name: z.ZodOptional<z.ZodString>;
|
|
49
49
|
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on"]>>>;
|
|
50
50
|
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
@@ -4,7 +4,7 @@ export const climate_preset = z.object({
|
|
|
4
4
|
climate_preset_key: z.string(),
|
|
5
5
|
can_edit: z.boolean(),
|
|
6
6
|
can_delete: z.boolean(),
|
|
7
|
-
name: z.string().nullable(),
|
|
7
|
+
name: z.string().nullable().default(null),
|
|
8
8
|
display_name: z.string(),
|
|
9
9
|
fan_mode_setting: fan_mode_setting.optional(),
|
|
10
10
|
hvac_mode_setting: hvac_mode_setting.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEhE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACzC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IAC7C,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE;IAC/C,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,eAAe,GAAG,cAAc,CAAC,OAAO,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,0BAA0B,CAAA"}
|
package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js}
RENAMED
|
@@ -12,4 +12,4 @@ export const thermostat_schedule = z.object({
|
|
|
12
12
|
.any()
|
|
13
13
|
.describe('Collection of errors associated with the thermostat schedule, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.'),
|
|
14
14
|
});
|
|
15
|
-
//# sourceMappingURL=
|
|
15
|
+
//# sourceMappingURL=thermostat-schedule.js.map
|
|
@@ -0,0 +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,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACtE,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,MAAM,EAAE,CAAC;SACN,GAAG,EAAE;SACL,QAAQ,CACP,+ZAA+Z,CACha;CACJ,CAAC,CAAA"}
|