@seamapi/types 1.928.0 → 1.930.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.
Files changed (33) hide show
  1. package/dist/connect.cjs +194 -9
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1348 -104
  4. package/dist/index.cjs +194 -9
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -16
  7. package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -5
  8. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
  10. package/lib/seam/connect/models/access-grants/access-grant.d.ts +4 -4
  11. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  12. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +2 -2
  13. package/lib/seam/connect/models/customer/customer-data.d.ts +12 -12
  14. package/lib/seam/connect/models/customer/location-resources.d.ts +8 -8
  15. package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +201 -0
  16. package/lib/seam/connect/models/devices/capability-properties/access-code.js +58 -0
  17. package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
  18. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +165 -13
  19. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
  20. package/lib/seam/connect/models/devices/device-metadata.d.ts +20 -20
  21. package/lib/seam/connect/models/devices/device.d.ts +248 -40
  22. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +180 -28
  23. package/lib/seam/connect/models/spaces/space.d.ts +4 -4
  24. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +4 -4
  25. package/lib/seam/connect/openapi.js +140 -4
  26. package/lib/seam/connect/openapi.js.map +1 -1
  27. package/lib/seam/connect/route-types.d.ts +895 -11
  28. package/package.json +1 -1
  29. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +5 -5
  30. package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +86 -0
  31. package/src/lib/seam/connect/models/devices/capability-properties/index.ts +1 -1
  32. package/src/lib/seam/connect/openapi.ts +168 -4
  33. package/src/lib/seam/connect/route-types.ts +1133 -11
@@ -39,6 +39,55 @@ export declare const access_code_constraint: z.ZodUnion<[z.ZodObject<{
39
39
  max_length?: number | undefined;
40
40
  }>]>;
41
41
  export type AccessCodeConstraint = z.infer<typeof access_code_constraint>;
42
+ export declare const time_frame_option: z.ZodObject<{
43
+ display_name: z.ZodString;
44
+ min_duration: z.ZodOptional<z.ZodString>;
45
+ max_duration: z.ZodOptional<z.ZodString>;
46
+ matching_start_end_time: z.ZodOptional<z.ZodLiteral<true>>;
47
+ time_pairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
48
+ display_name: z.ZodString;
49
+ check_in_time: z.ZodString;
50
+ check_out_time: z.ZodString;
51
+ }, "strip", z.ZodTypeAny, {
52
+ display_name: string;
53
+ check_in_time: string;
54
+ check_out_time: string;
55
+ }, {
56
+ display_name: string;
57
+ check_in_time: string;
58
+ check_out_time: string;
59
+ }>, "many">>;
60
+ start_date_recurrence_rule: z.ZodOptional<z.ZodString>;
61
+ end_date_recurrence_rule: z.ZodOptional<z.ZodString>;
62
+ time_zone: z.ZodOptional<z.ZodString>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ display_name: string;
65
+ min_duration?: string | undefined;
66
+ max_duration?: string | undefined;
67
+ matching_start_end_time?: true | undefined;
68
+ time_pairs?: {
69
+ display_name: string;
70
+ check_in_time: string;
71
+ check_out_time: string;
72
+ }[] | undefined;
73
+ start_date_recurrence_rule?: string | undefined;
74
+ end_date_recurrence_rule?: string | undefined;
75
+ time_zone?: string | undefined;
76
+ }, {
77
+ display_name: string;
78
+ min_duration?: string | undefined;
79
+ max_duration?: string | undefined;
80
+ matching_start_end_time?: true | undefined;
81
+ time_pairs?: {
82
+ display_name: string;
83
+ check_in_time: string;
84
+ check_out_time: string;
85
+ }[] | undefined;
86
+ start_date_recurrence_rule?: string | undefined;
87
+ end_date_recurrence_rule?: string | undefined;
88
+ time_zone?: string | undefined;
89
+ }>;
90
+ export type TimeFrameOption = z.infer<typeof time_frame_option>;
42
91
  export declare const access_code_capability_properties: z.ZodObject<{
43
92
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44
93
  code_constraints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -61,6 +110,102 @@ export declare const access_code_capability_properties: z.ZodObject<{
61
110
  max_length?: number | undefined;
62
111
  }>]>, "many">>;
63
112
  supported_code_lengths: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
113
+ offline_time_frame_options: z.ZodOptional<z.ZodArray<z.ZodObject<{
114
+ display_name: z.ZodString;
115
+ min_duration: z.ZodOptional<z.ZodString>;
116
+ max_duration: z.ZodOptional<z.ZodString>;
117
+ matching_start_end_time: z.ZodOptional<z.ZodLiteral<true>>;
118
+ time_pairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
119
+ display_name: z.ZodString;
120
+ check_in_time: z.ZodString;
121
+ check_out_time: z.ZodString;
122
+ }, "strip", z.ZodTypeAny, {
123
+ display_name: string;
124
+ check_in_time: string;
125
+ check_out_time: string;
126
+ }, {
127
+ display_name: string;
128
+ check_in_time: string;
129
+ check_out_time: string;
130
+ }>, "many">>;
131
+ start_date_recurrence_rule: z.ZodOptional<z.ZodString>;
132
+ end_date_recurrence_rule: z.ZodOptional<z.ZodString>;
133
+ time_zone: z.ZodOptional<z.ZodString>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ display_name: string;
136
+ min_duration?: string | undefined;
137
+ max_duration?: string | undefined;
138
+ matching_start_end_time?: true | undefined;
139
+ time_pairs?: {
140
+ display_name: string;
141
+ check_in_time: string;
142
+ check_out_time: string;
143
+ }[] | undefined;
144
+ start_date_recurrence_rule?: string | undefined;
145
+ end_date_recurrence_rule?: string | undefined;
146
+ time_zone?: string | undefined;
147
+ }, {
148
+ display_name: string;
149
+ min_duration?: string | undefined;
150
+ max_duration?: string | undefined;
151
+ matching_start_end_time?: true | undefined;
152
+ time_pairs?: {
153
+ display_name: string;
154
+ check_in_time: string;
155
+ check_out_time: string;
156
+ }[] | undefined;
157
+ start_date_recurrence_rule?: string | undefined;
158
+ end_date_recurrence_rule?: string | undefined;
159
+ time_zone?: string | undefined;
160
+ }>, "many">>;
161
+ online_time_frame_options: z.ZodOptional<z.ZodArray<z.ZodObject<{
162
+ display_name: z.ZodString;
163
+ min_duration: z.ZodOptional<z.ZodString>;
164
+ max_duration: z.ZodOptional<z.ZodString>;
165
+ matching_start_end_time: z.ZodOptional<z.ZodLiteral<true>>;
166
+ time_pairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
167
+ display_name: z.ZodString;
168
+ check_in_time: z.ZodString;
169
+ check_out_time: z.ZodString;
170
+ }, "strip", z.ZodTypeAny, {
171
+ display_name: string;
172
+ check_in_time: string;
173
+ check_out_time: string;
174
+ }, {
175
+ display_name: string;
176
+ check_in_time: string;
177
+ check_out_time: string;
178
+ }>, "many">>;
179
+ start_date_recurrence_rule: z.ZodOptional<z.ZodString>;
180
+ end_date_recurrence_rule: z.ZodOptional<z.ZodString>;
181
+ time_zone: z.ZodOptional<z.ZodString>;
182
+ }, "strip", z.ZodTypeAny, {
183
+ display_name: string;
184
+ min_duration?: string | undefined;
185
+ max_duration?: string | undefined;
186
+ matching_start_end_time?: true | undefined;
187
+ time_pairs?: {
188
+ display_name: string;
189
+ check_in_time: string;
190
+ check_out_time: string;
191
+ }[] | undefined;
192
+ start_date_recurrence_rule?: string | undefined;
193
+ end_date_recurrence_rule?: string | undefined;
194
+ time_zone?: string | undefined;
195
+ }, {
196
+ display_name: string;
197
+ min_duration?: string | undefined;
198
+ max_duration?: string | undefined;
199
+ matching_start_end_time?: true | undefined;
200
+ time_pairs?: {
201
+ display_name: string;
202
+ check_in_time: string;
203
+ check_out_time: string;
204
+ }[] | undefined;
205
+ start_date_recurrence_rule?: string | undefined;
206
+ end_date_recurrence_rule?: string | undefined;
207
+ time_zone?: string | undefined;
208
+ }>, "many">>;
64
209
  max_active_codes_supported: z.ZodOptional<z.ZodNumber>;
65
210
  supports_backup_access_code_pool: z.ZodOptional<z.ZodBoolean>;
66
211
  has_native_entry_events: z.ZodOptional<z.ZodBoolean>;
@@ -74,6 +219,34 @@ export declare const access_code_capability_properties: z.ZodObject<{
74
219
  max_length?: number | undefined;
75
220
  })[] | undefined;
76
221
  supported_code_lengths?: number[] | undefined;
222
+ offline_time_frame_options?: {
223
+ display_name: string;
224
+ min_duration?: string | undefined;
225
+ max_duration?: string | undefined;
226
+ matching_start_end_time?: true | undefined;
227
+ time_pairs?: {
228
+ display_name: string;
229
+ check_in_time: string;
230
+ check_out_time: string;
231
+ }[] | undefined;
232
+ start_date_recurrence_rule?: string | undefined;
233
+ end_date_recurrence_rule?: string | undefined;
234
+ time_zone?: string | undefined;
235
+ }[] | undefined;
236
+ online_time_frame_options?: {
237
+ display_name: string;
238
+ min_duration?: string | undefined;
239
+ max_duration?: string | undefined;
240
+ matching_start_end_time?: true | undefined;
241
+ time_pairs?: {
242
+ display_name: string;
243
+ check_in_time: string;
244
+ check_out_time: string;
245
+ }[] | undefined;
246
+ start_date_recurrence_rule?: string | undefined;
247
+ end_date_recurrence_rule?: string | undefined;
248
+ time_zone?: string | undefined;
249
+ }[] | undefined;
77
250
  max_active_codes_supported?: number | undefined;
78
251
  supports_backup_access_code_pool?: boolean | undefined;
79
252
  has_native_entry_events?: boolean | undefined;
@@ -87,6 +260,34 @@ export declare const access_code_capability_properties: z.ZodObject<{
87
260
  max_length?: number | undefined;
88
261
  })[] | undefined;
89
262
  supported_code_lengths?: number[] | undefined;
263
+ offline_time_frame_options?: {
264
+ display_name: string;
265
+ min_duration?: string | undefined;
266
+ max_duration?: string | undefined;
267
+ matching_start_end_time?: true | undefined;
268
+ time_pairs?: {
269
+ display_name: string;
270
+ check_in_time: string;
271
+ check_out_time: string;
272
+ }[] | undefined;
273
+ start_date_recurrence_rule?: string | undefined;
274
+ end_date_recurrence_rule?: string | undefined;
275
+ time_zone?: string | undefined;
276
+ }[] | undefined;
277
+ online_time_frame_options?: {
278
+ display_name: string;
279
+ min_duration?: string | undefined;
280
+ max_duration?: string | undefined;
281
+ matching_start_end_time?: true | undefined;
282
+ time_pairs?: {
283
+ display_name: string;
284
+ check_in_time: string;
285
+ check_out_time: string;
286
+ }[] | undefined;
287
+ start_date_recurrence_rule?: string | undefined;
288
+ end_date_recurrence_rule?: string | undefined;
289
+ time_zone?: string | undefined;
290
+ }[] | undefined;
90
291
  max_active_codes_supported?: number | undefined;
91
292
  supports_backup_access_code_pool?: boolean | undefined;
92
293
  has_native_entry_events?: boolean | undefined;
@@ -35,6 +35,54 @@ export const access_code_name_constraint = z
35
35
  export const access_code_constraint = z
36
36
  .union([access_code_code_constraint, access_code_name_constraint])
37
37
  .describe(`Access code constraint.`);
38
+ const time_frame_option_time_pair = z
39
+ .object({
40
+ display_name: z
41
+ .string()
42
+ .describe('Label for the check-in/check-out time pairing.'),
43
+ check_in_time: z
44
+ .string()
45
+ .describe("Check-in time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`."),
46
+ check_out_time: z
47
+ .string()
48
+ .describe("Check-out time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. A `check_out_time` earlier on the clock than `check_in_time` means check-out falls on a later date."),
49
+ })
50
+ .describe('Fixed check-in/check-out time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs.');
51
+ export const time_frame_option = z
52
+ .object({
53
+ display_name: z
54
+ .string()
55
+ .describe('Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed check-in times`).'),
56
+ min_duration: z
57
+ .string()
58
+ .optional()
59
+ .describe('Minimum duration this option covers, as an ISO 8601 duration (for example, `PT1H` or `P29D`). Omitted when there is no minimum.'),
60
+ max_duration: z
61
+ .string()
62
+ .optional()
63
+ .describe('Maximum duration this option covers, as an ISO 8601 duration (for example, `PT672H` or `P367D`). Omitted when there is no maximum.'),
64
+ matching_start_end_time: z
65
+ .literal(true)
66
+ .optional()
67
+ .describe('When `true`, the check-in and check-out must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.'),
68
+ time_pairs: z
69
+ .array(time_frame_option_time_pair)
70
+ .optional()
71
+ .describe('Fixed check-in/check-out time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.'),
72
+ start_date_recurrence_rule: z
73
+ .string()
74
+ .optional()
75
+ .describe('iCalendar recurrence rule (RRULE) that the check-in date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules.'),
76
+ end_date_recurrence_rule: z
77
+ .string()
78
+ .optional()
79
+ .describe('iCalendar recurrence rule (RRULE) that the check-out date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.'),
80
+ time_zone: z
81
+ .string()
82
+ .optional()
83
+ .describe('IANA time zone for interpreting `time_pairs` and the date recurrence rules. Present only when the option fixes times or dates.'),
84
+ })
85
+ .describe('One way to make a code: a duration band plus the time-of-day and date rules that apply within it. Absence of a rule means unrestricted on that axis.');
38
86
  export const access_code_capability_properties = z.object({
39
87
  _experimental_supported_code_from_access_codes_lengths: z
40
88
  .array(z.number())
@@ -53,6 +101,16 @@ export const access_code_capability_properties = z.object({
53
101
  property_group_key: access_codes
54
102
  ---
55
103
  Supported code lengths for access codes.`),
104
+ offline_time_frame_options: z.array(time_frame_option).optional().describe(`
105
+ ---
106
+ property_group_key: access_codes
107
+ ---
108
+ Time frames that may be requested when creating an offline access code, expressed as a list of options. The caller picks one option (by matching the requested duration when the options' duration ranges do not overlap, or by \`display_name\` when they do) and satisfies that one option's rules. When \`undefined\`, any time frame works.`),
109
+ online_time_frame_options: z.array(time_frame_option).optional().describe(`
110
+ ---
111
+ property_group_key: access_codes
112
+ ---
113
+ Time frames that may be requested when creating an online access code, expressed as a list of options. The caller picks one option (by matching the requested duration when the options' duration ranges do not overlap, or by \`display_name\` when they do) and satisfies that one option's rules. When \`undefined\`, any time frame works.`),
56
114
  max_active_codes_supported: z.number().optional().describe(`
57
115
  ---
58
116
  property_group_key: access_codes
@@ -1 +1 @@
1
- {"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC;KACzC,MAAM,CAAC;IACN,eAAe,EAAE,CAAC;SACf,IAAI,CAAC;QACJ,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,aAAa;QACxC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;QAClC,qCAAqC,EAAE,kBAAkB;QACzD,8BAA8B,EAAE,QAAQ;QACxC,oBAAoB,EAAE,SAAS;QAC/B,qBAAqB,EAAE,0CAA0C;QACjE,0BAA0B,EAAE,UAAU;QACtC,oBAAoB,EAAE,WAAW;KAClC,CAAC;SACD,QAAQ,CAAC,wCAAwC,CAAC;CACtD,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC;KACzC,MAAM,CAAC;IACN,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,qBAAqB,CAAC,CAAC,EAAE,gBAAgB;IACjF,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,KAAK,CAAC,CAAC,2BAA2B,EAAE,2BAA2B,CAAC,CAAC;KACjE,QAAQ,CAAC,yBAAyB,CAAC,CAAA;AAItC,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,sDAAsD,EAAE,CAAC;SACtD,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;WAId,CAAC;IACV,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;oRAI4M,CAAC;IACnR,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;mDAIf,CAAC;IAClD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;0EAIa,CAAC;IACzE,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;+JAI2F,CAAC;IAC9J,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;qEAIU,CAAC;CACrE,CAAC,CAAA"}
1
+ {"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC;KACzC,MAAM,CAAC;IACN,eAAe,EAAE,CAAC;SACf,IAAI,CAAC;QACJ,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,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Q,EAAE,CAAC,QAAQ,CAAC;;;;mDAIf,CAAC;IAClD,0BAA0B,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;0VAI6Q,CAAC;IACzV,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;yVAI6Q,CAAC;IACxV,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;0EAIa,CAAC;IACzE,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;+JAI2F,CAAC;IAC9J,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;qEAIU,CAAC;CACrE,CAAC,CAAA"}
@@ -25,6 +25,102 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
25
25
  max_length?: number | undefined;
26
26
  }>]>, "many">>>;
27
27
  supported_code_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
28
+ offline_time_frame_options: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
29
+ display_name: z.ZodString;
30
+ min_duration: z.ZodOptional<z.ZodString>;
31
+ max_duration: z.ZodOptional<z.ZodString>;
32
+ matching_start_end_time: z.ZodOptional<z.ZodLiteral<true>>;
33
+ time_pairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
34
+ display_name: z.ZodString;
35
+ check_in_time: z.ZodString;
36
+ check_out_time: z.ZodString;
37
+ }, "strip", z.ZodTypeAny, {
38
+ display_name: string;
39
+ check_in_time: string;
40
+ check_out_time: string;
41
+ }, {
42
+ display_name: string;
43
+ check_in_time: string;
44
+ check_out_time: string;
45
+ }>, "many">>;
46
+ start_date_recurrence_rule: z.ZodOptional<z.ZodString>;
47
+ end_date_recurrence_rule: z.ZodOptional<z.ZodString>;
48
+ time_zone: z.ZodOptional<z.ZodString>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ display_name: string;
51
+ min_duration?: string | undefined;
52
+ max_duration?: string | undefined;
53
+ matching_start_end_time?: true | undefined;
54
+ time_pairs?: {
55
+ display_name: string;
56
+ check_in_time: string;
57
+ check_out_time: string;
58
+ }[] | undefined;
59
+ start_date_recurrence_rule?: string | undefined;
60
+ end_date_recurrence_rule?: string | undefined;
61
+ time_zone?: string | undefined;
62
+ }, {
63
+ display_name: string;
64
+ min_duration?: string | undefined;
65
+ max_duration?: string | undefined;
66
+ matching_start_end_time?: true | undefined;
67
+ time_pairs?: {
68
+ display_name: string;
69
+ check_in_time: string;
70
+ check_out_time: string;
71
+ }[] | undefined;
72
+ start_date_recurrence_rule?: string | undefined;
73
+ end_date_recurrence_rule?: string | undefined;
74
+ time_zone?: string | undefined;
75
+ }>, "many">>>;
76
+ online_time_frame_options: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
77
+ display_name: z.ZodString;
78
+ min_duration: z.ZodOptional<z.ZodString>;
79
+ max_duration: z.ZodOptional<z.ZodString>;
80
+ matching_start_end_time: z.ZodOptional<z.ZodLiteral<true>>;
81
+ time_pairs: z.ZodOptional<z.ZodArray<z.ZodObject<{
82
+ display_name: z.ZodString;
83
+ check_in_time: z.ZodString;
84
+ check_out_time: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ display_name: string;
87
+ check_in_time: string;
88
+ check_out_time: string;
89
+ }, {
90
+ display_name: string;
91
+ check_in_time: string;
92
+ check_out_time: string;
93
+ }>, "many">>;
94
+ start_date_recurrence_rule: z.ZodOptional<z.ZodString>;
95
+ end_date_recurrence_rule: z.ZodOptional<z.ZodString>;
96
+ time_zone: z.ZodOptional<z.ZodString>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ display_name: string;
99
+ min_duration?: string | undefined;
100
+ max_duration?: string | undefined;
101
+ matching_start_end_time?: true | undefined;
102
+ time_pairs?: {
103
+ display_name: string;
104
+ check_in_time: string;
105
+ check_out_time: string;
106
+ }[] | undefined;
107
+ start_date_recurrence_rule?: string | undefined;
108
+ end_date_recurrence_rule?: string | undefined;
109
+ time_zone?: string | undefined;
110
+ }, {
111
+ display_name: string;
112
+ min_duration?: string | undefined;
113
+ max_duration?: string | undefined;
114
+ matching_start_end_time?: true | undefined;
115
+ time_pairs?: {
116
+ display_name: string;
117
+ check_in_time: string;
118
+ check_out_time: string;
119
+ }[] | undefined;
120
+ start_date_recurrence_rule?: string | undefined;
121
+ end_date_recurrence_rule?: string | undefined;
122
+ time_zone?: string | undefined;
123
+ }>, "many">>>;
28
124
  max_active_codes_supported: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
29
125
  supports_backup_access_code_pool: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
30
126
  has_native_entry_events: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -50,6 +146,34 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
50
146
  max_length?: number | undefined;
51
147
  })[] | undefined;
52
148
  supported_code_lengths?: number[] | undefined;
149
+ offline_time_frame_options?: {
150
+ display_name: string;
151
+ min_duration?: string | undefined;
152
+ max_duration?: string | undefined;
153
+ matching_start_end_time?: true | undefined;
154
+ time_pairs?: {
155
+ display_name: string;
156
+ check_in_time: string;
157
+ check_out_time: string;
158
+ }[] | undefined;
159
+ start_date_recurrence_rule?: string | undefined;
160
+ end_date_recurrence_rule?: string | undefined;
161
+ time_zone?: string | undefined;
162
+ }[] | undefined;
163
+ online_time_frame_options?: {
164
+ display_name: string;
165
+ min_duration?: string | undefined;
166
+ max_duration?: string | undefined;
167
+ matching_start_end_time?: true | undefined;
168
+ time_pairs?: {
169
+ display_name: string;
170
+ check_in_time: string;
171
+ check_out_time: string;
172
+ }[] | undefined;
173
+ start_date_recurrence_rule?: string | undefined;
174
+ end_date_recurrence_rule?: string | undefined;
175
+ time_zone?: string | undefined;
176
+ }[] | undefined;
53
177
  max_active_codes_supported?: number | undefined;
54
178
  supports_backup_access_code_pool?: boolean | undefined;
55
179
  has_native_entry_events?: boolean | undefined;
@@ -70,6 +194,34 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
70
194
  max_length?: number | undefined;
71
195
  })[] | undefined;
72
196
  supported_code_lengths?: number[] | undefined;
197
+ offline_time_frame_options?: {
198
+ display_name: string;
199
+ min_duration?: string | undefined;
200
+ max_duration?: string | undefined;
201
+ matching_start_end_time?: true | undefined;
202
+ time_pairs?: {
203
+ display_name: string;
204
+ check_in_time: string;
205
+ check_out_time: string;
206
+ }[] | undefined;
207
+ start_date_recurrence_rule?: string | undefined;
208
+ end_date_recurrence_rule?: string | undefined;
209
+ time_zone?: string | undefined;
210
+ }[] | undefined;
211
+ online_time_frame_options?: {
212
+ display_name: string;
213
+ min_duration?: string | undefined;
214
+ max_duration?: string | undefined;
215
+ matching_start_end_time?: true | undefined;
216
+ time_pairs?: {
217
+ display_name: string;
218
+ check_in_time: string;
219
+ check_out_time: string;
220
+ }[] | undefined;
221
+ start_date_recurrence_rule?: string | undefined;
222
+ end_date_recurrence_rule?: string | undefined;
223
+ time_zone?: string | undefined;
224
+ }[] | undefined;
73
225
  max_active_codes_supported?: number | undefined;
74
226
  supports_backup_access_code_pool?: boolean | undefined;
75
227
  has_native_entry_events?: boolean | undefined;
@@ -121,12 +273,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
121
273
  owner: "user" | "system";
122
274
  }>>>;
123
275
  }, "strip", z.ZodTypeAny, {
276
+ display_name?: string | undefined;
124
277
  climate_preset_key?: string | undefined;
125
278
  can_edit?: boolean | undefined;
126
279
  can_delete?: boolean | undefined;
127
280
  can_use_with_thermostat_daily_programs?: boolean | undefined;
128
281
  name?: string | null | undefined;
129
- display_name?: string | undefined;
130
282
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
131
283
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
132
284
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -141,12 +293,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
141
293
  owner: "user" | "system";
142
294
  } | undefined;
143
295
  }, {
296
+ display_name?: string | undefined;
144
297
  climate_preset_key?: string | undefined;
145
298
  can_edit?: boolean | undefined;
146
299
  can_delete?: boolean | undefined;
147
300
  can_use_with_thermostat_daily_programs?: boolean | undefined;
148
301
  name?: string | null | undefined;
149
- display_name?: string | undefined;
150
302
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
151
303
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
152
304
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -190,12 +342,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
190
342
  owner: "user" | "system";
191
343
  }>>>;
192
344
  }, "strip", z.ZodTypeAny, {
345
+ display_name?: string | undefined;
193
346
  climate_preset_key?: string | undefined;
194
347
  can_edit?: boolean | undefined;
195
348
  can_delete?: boolean | undefined;
196
349
  can_use_with_thermostat_daily_programs?: boolean | undefined;
197
350
  name?: string | null | undefined;
198
- display_name?: string | undefined;
199
351
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
200
352
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
201
353
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -210,12 +362,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
210
362
  owner: "user" | "system";
211
363
  } | undefined;
212
364
  }, {
365
+ display_name?: string | undefined;
213
366
  climate_preset_key?: string | undefined;
214
367
  can_edit?: boolean | undefined;
215
368
  can_delete?: boolean | undefined;
216
369
  can_use_with_thermostat_daily_programs?: boolean | undefined;
217
370
  name?: string | null | undefined;
218
- display_name?: string | undefined;
219
371
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
220
372
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
221
373
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -259,11 +411,11 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
259
411
  owner: "user" | "system";
260
412
  }>>;
261
413
  }, "strip", z.ZodTypeAny, {
414
+ display_name: string;
262
415
  climate_preset_key: string;
263
416
  can_edit: boolean;
264
417
  can_delete: boolean;
265
418
  can_use_with_thermostat_daily_programs: boolean;
266
- display_name: string;
267
419
  manual_override_allowed: boolean;
268
420
  name?: string | null | undefined;
269
421
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -279,11 +431,11 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
279
431
  owner: "user" | "system";
280
432
  } | undefined;
281
433
  }, {
434
+ display_name: string;
282
435
  climate_preset_key: string;
283
436
  can_edit: boolean;
284
437
  can_delete: boolean;
285
438
  can_use_with_thermostat_daily_programs: boolean;
286
- display_name: string;
287
439
  manual_override_allowed: boolean;
288
440
  name?: string | null | undefined;
289
441
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -460,12 +612,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
460
612
  is_fan_running?: boolean | undefined;
461
613
  is_temporary_manual_override_active?: boolean | undefined;
462
614
  current_climate_setting?: {
615
+ display_name?: string | undefined;
463
616
  climate_preset_key?: string | undefined;
464
617
  can_edit?: boolean | undefined;
465
618
  can_delete?: boolean | undefined;
466
619
  can_use_with_thermostat_daily_programs?: boolean | undefined;
467
620
  name?: string | null | undefined;
468
- display_name?: string | undefined;
469
621
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
470
622
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
471
623
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -481,12 +633,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
481
633
  } | undefined;
482
634
  } | undefined;
483
635
  default_climate_setting?: {
636
+ display_name?: string | undefined;
484
637
  climate_preset_key?: string | undefined;
485
638
  can_edit?: boolean | undefined;
486
639
  can_delete?: boolean | undefined;
487
640
  can_use_with_thermostat_daily_programs?: boolean | undefined;
488
641
  name?: string | null | undefined;
489
- display_name?: string | undefined;
490
642
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
491
643
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
492
644
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -502,11 +654,11 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
502
654
  } | undefined;
503
655
  } | undefined;
504
656
  available_climate_presets?: {
657
+ display_name: string;
505
658
  climate_preset_key: string;
506
659
  can_edit: boolean;
507
660
  can_delete: boolean;
508
661
  can_use_with_thermostat_daily_programs: boolean;
509
- display_name: string;
510
662
  manual_override_allowed: boolean;
511
663
  name?: string | null | undefined;
512
664
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -593,12 +745,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
593
745
  is_fan_running?: boolean | undefined;
594
746
  is_temporary_manual_override_active?: boolean | undefined;
595
747
  current_climate_setting?: {
748
+ display_name?: string | undefined;
596
749
  climate_preset_key?: string | undefined;
597
750
  can_edit?: boolean | undefined;
598
751
  can_delete?: boolean | undefined;
599
752
  can_use_with_thermostat_daily_programs?: boolean | undefined;
600
753
  name?: string | null | undefined;
601
- display_name?: string | undefined;
602
754
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
603
755
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
604
756
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -614,12 +766,12 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
614
766
  } | undefined;
615
767
  } | undefined;
616
768
  default_climate_setting?: {
769
+ display_name?: string | undefined;
617
770
  climate_preset_key?: string | undefined;
618
771
  can_edit?: boolean | undefined;
619
772
  can_delete?: boolean | undefined;
620
773
  can_use_with_thermostat_daily_programs?: boolean | undefined;
621
774
  name?: string | null | undefined;
622
- display_name?: string | undefined;
623
775
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
624
776
  fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
625
777
  hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
@@ -635,11 +787,11 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
635
787
  } | undefined;
636
788
  } | undefined;
637
789
  available_climate_presets?: {
790
+ display_name: string;
638
791
  climate_preset_key: string;
639
792
  can_edit: boolean;
640
793
  can_delete: boolean;
641
794
  can_use_with_thermostat_daily_programs: boolean;
642
- display_name: string;
643
795
  manual_override_allowed: boolean;
644
796
  name?: string | null | undefined;
645
797
  climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
@@ -714,4 +866,4 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
714
866
  max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
715
867
  max_thermostat_daily_program_periods_per_day?: number | undefined;
716
868
  }>>;
717
- export type { AccessCodeConstraint } from './access-code.js';
869
+ export type { AccessCodeConstraint, TimeFrameOption } from './access-code.js';