@seamapi/types 1.362.0 → 1.363.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.
@@ -2,374 +2,1316 @@ import { z } from 'zod';
2
2
  declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
3
3
  message: z.ZodString;
4
4
  is_access_code_error: z.ZodLiteral<true>;
5
+ created_at: z.ZodOptional<z.ZodString>;
5
6
  }, {
6
7
  error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
7
8
  }>, "strip", z.ZodTypeAny, {
8
9
  message: string;
9
10
  error_code: "smartthings_failed_to_set_access_code";
10
11
  is_access_code_error: true;
12
+ created_at?: string | undefined;
11
13
  }, {
12
14
  message: string;
13
15
  error_code: "smartthings_failed_to_set_access_code";
14
16
  is_access_code_error: true;
17
+ created_at?: string | undefined;
15
18
  }>, z.ZodObject<z.objectUtil.extendShape<{
16
19
  message: z.ZodString;
17
20
  is_access_code_error: z.ZodLiteral<true>;
21
+ created_at: z.ZodOptional<z.ZodString>;
18
22
  }, {
19
23
  error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
20
24
  }>, "strip", z.ZodTypeAny, {
21
25
  message: string;
22
26
  error_code: "smartthings_failed_to_set_after_multiple_retries";
23
27
  is_access_code_error: true;
28
+ created_at?: string | undefined;
24
29
  }, {
25
30
  message: string;
26
31
  error_code: "smartthings_failed_to_set_after_multiple_retries";
27
32
  is_access_code_error: true;
33
+ created_at?: string | undefined;
28
34
  }>, z.ZodObject<z.objectUtil.extendShape<{
29
35
  message: z.ZodString;
30
36
  is_access_code_error: z.ZodLiteral<true>;
37
+ created_at: z.ZodOptional<z.ZodString>;
31
38
  }, {
32
39
  error_code: z.ZodLiteral<"failed_to_set_on_device">;
33
40
  }>, "strip", z.ZodTypeAny, {
34
41
  message: string;
35
42
  error_code: "failed_to_set_on_device";
36
43
  is_access_code_error: true;
44
+ created_at?: string | undefined;
37
45
  }, {
38
46
  message: string;
39
47
  error_code: "failed_to_set_on_device";
40
48
  is_access_code_error: true;
49
+ created_at?: string | undefined;
41
50
  }>, z.ZodObject<z.objectUtil.extendShape<{
42
51
  message: z.ZodString;
43
52
  is_access_code_error: z.ZodLiteral<true>;
53
+ created_at: z.ZodOptional<z.ZodString>;
44
54
  }, {
45
55
  error_code: z.ZodLiteral<"failed_to_remove_from_device">;
46
56
  }>, "strip", z.ZodTypeAny, {
47
57
  message: string;
48
58
  error_code: "failed_to_remove_from_device";
49
59
  is_access_code_error: true;
60
+ created_at?: string | undefined;
50
61
  }, {
51
62
  message: string;
52
63
  error_code: "failed_to_remove_from_device";
53
64
  is_access_code_error: true;
65
+ created_at?: string | undefined;
54
66
  }>, z.ZodObject<z.objectUtil.extendShape<{
55
67
  message: z.ZodString;
56
68
  is_access_code_error: z.ZodLiteral<true>;
69
+ created_at: z.ZodOptional<z.ZodString>;
57
70
  }, {
58
71
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
59
72
  }>, "strip", z.ZodTypeAny, {
60
73
  message: string;
61
74
  error_code: "duplicate_code_on_device";
62
75
  is_access_code_error: true;
76
+ created_at?: string | undefined;
63
77
  }, {
64
78
  message: string;
65
79
  error_code: "duplicate_code_on_device";
66
80
  is_access_code_error: true;
81
+ created_at?: string | undefined;
67
82
  }>, z.ZodObject<z.objectUtil.extendShape<{
68
83
  message: z.ZodString;
69
84
  is_access_code_error: z.ZodLiteral<true>;
85
+ created_at: z.ZodOptional<z.ZodString>;
70
86
  }, {
71
87
  error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
72
88
  }>, "strip", z.ZodTypeAny, {
73
89
  message: string;
74
90
  error_code: "duplicate_code_attempt_prevented";
75
91
  is_access_code_error: true;
92
+ created_at?: string | undefined;
76
93
  }, {
77
94
  message: string;
78
95
  error_code: "duplicate_code_attempt_prevented";
79
96
  is_access_code_error: true;
97
+ created_at?: string | undefined;
80
98
  }>, z.ZodObject<z.objectUtil.extendShape<{
81
99
  message: z.ZodString;
82
100
  is_access_code_error: z.ZodLiteral<true>;
101
+ created_at: z.ZodOptional<z.ZodString>;
83
102
  }, {
84
103
  error_code: z.ZodLiteral<"igloohome_bridge_too_many_pending_jobs">;
85
104
  }>, "strip", z.ZodTypeAny, {
86
105
  message: string;
87
106
  error_code: "igloohome_bridge_too_many_pending_jobs";
88
107
  is_access_code_error: true;
108
+ created_at?: string | undefined;
89
109
  }, {
90
110
  message: string;
91
111
  error_code: "igloohome_bridge_too_many_pending_jobs";
92
112
  is_access_code_error: true;
113
+ created_at?: string | undefined;
93
114
  }>, z.ZodObject<z.objectUtil.extendShape<{
94
115
  message: z.ZodString;
95
116
  is_access_code_error: z.ZodLiteral<true>;
117
+ created_at: z.ZodOptional<z.ZodString>;
96
118
  }, {
97
119
  error_code: z.ZodLiteral<"igloohome_bridge_offline">;
98
120
  }>, "strip", z.ZodTypeAny, {
99
121
  message: string;
100
122
  error_code: "igloohome_bridge_offline";
101
123
  is_access_code_error: true;
124
+ created_at?: string | undefined;
102
125
  }, {
103
126
  message: string;
104
127
  error_code: "igloohome_bridge_offline";
105
128
  is_access_code_error: true;
129
+ created_at?: string | undefined;
106
130
  }>, z.ZodObject<z.objectUtil.extendShape<{
107
131
  message: z.ZodString;
108
132
  is_access_code_error: z.ZodLiteral<true>;
133
+ created_at: z.ZodOptional<z.ZodString>;
109
134
  }, {
110
135
  error_code: z.ZodLiteral<"igloohome_offline_access_code_no_variance_available">;
111
136
  }>, "strip", z.ZodTypeAny, {
112
137
  message: string;
113
138
  error_code: "igloohome_offline_access_code_no_variance_available";
114
139
  is_access_code_error: true;
140
+ created_at?: string | undefined;
115
141
  }, {
116
142
  message: string;
117
143
  error_code: "igloohome_offline_access_code_no_variance_available";
118
144
  is_access_code_error: true;
145
+ created_at?: string | undefined;
119
146
  }>, z.ZodObject<z.objectUtil.extendShape<{
120
147
  message: z.ZodString;
121
148
  is_access_code_error: z.ZodLiteral<true>;
149
+ created_at: z.ZodOptional<z.ZodString>;
122
150
  }, {
123
151
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
124
152
  }>, "strip", z.ZodTypeAny, {
125
153
  message: string;
126
154
  error_code: "kwikset_unable_to_confirm_code";
127
155
  is_access_code_error: true;
156
+ created_at?: string | undefined;
128
157
  }, {
129
158
  message: string;
130
159
  error_code: "kwikset_unable_to_confirm_code";
131
160
  is_access_code_error: true;
161
+ created_at?: string | undefined;
132
162
  }>, z.ZodObject<z.objectUtil.extendShape<{
133
163
  message: z.ZodString;
134
164
  is_access_code_error: z.ZodLiteral<true>;
165
+ created_at: z.ZodOptional<z.ZodString>;
135
166
  }, {
136
167
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
137
168
  }>, "strip", z.ZodTypeAny, {
138
169
  message: string;
139
170
  error_code: "kwikset_unable_to_confirm_deletion";
140
171
  is_access_code_error: true;
172
+ created_at?: string | undefined;
141
173
  }, {
142
174
  message: string;
143
175
  error_code: "kwikset_unable_to_confirm_deletion";
144
176
  is_access_code_error: true;
177
+ created_at?: string | undefined;
145
178
  }>, z.ZodObject<z.objectUtil.extendShape<{
146
179
  message: z.ZodString;
147
180
  is_access_code_error: z.ZodLiteral<true>;
181
+ created_at: z.ZodOptional<z.ZodString>;
148
182
  }, {
149
183
  error_code: z.ZodLiteral<"code_modified_external_to_seam">;
150
184
  }>, "strip", z.ZodTypeAny, {
151
185
  message: string;
152
186
  error_code: "code_modified_external_to_seam";
153
187
  is_access_code_error: true;
188
+ created_at?: string | undefined;
154
189
  }, {
155
190
  message: string;
156
191
  error_code: "code_modified_external_to_seam";
157
192
  is_access_code_error: true;
193
+ created_at?: string | undefined;
158
194
  }>, z.ZodObject<z.objectUtil.extendShape<{
159
195
  message: z.ZodString;
160
196
  is_access_code_error: z.ZodLiteral<true>;
197
+ created_at: z.ZodOptional<z.ZodString>;
161
198
  }, {
162
199
  error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
163
200
  }>, "strip", z.ZodTypeAny, {
164
201
  message: string;
165
202
  error_code: "august_lock_invalid_code_length";
166
203
  is_access_code_error: true;
204
+ created_at?: string | undefined;
167
205
  }, {
168
206
  message: string;
169
207
  error_code: "august_lock_invalid_code_length";
170
208
  is_access_code_error: true;
209
+ created_at?: string | undefined;
171
210
  }>, z.ZodObject<z.objectUtil.extendShape<{
172
211
  message: z.ZodString;
173
212
  is_access_code_error: z.ZodLiteral<true>;
213
+ created_at: z.ZodOptional<z.ZodString>;
174
214
  }, {
175
215
  error_code: z.ZodLiteral<"august_device_programming_delay">;
176
216
  }>, "strip", z.ZodTypeAny, {
177
217
  message: string;
178
218
  error_code: "august_device_programming_delay";
179
219
  is_access_code_error: true;
220
+ created_at?: string | undefined;
180
221
  }, {
181
222
  message: string;
182
223
  error_code: "august_device_programming_delay";
183
224
  is_access_code_error: true;
225
+ created_at?: string | undefined;
184
226
  }>, z.ZodObject<z.objectUtil.extendShape<{
185
227
  message: z.ZodString;
186
228
  is_access_code_error: z.ZodLiteral<true>;
229
+ created_at: z.ZodOptional<z.ZodString>;
187
230
  }, {
188
231
  error_code: z.ZodLiteral<"august_device_slots_full">;
189
232
  }>, "strip", z.ZodTypeAny, {
190
233
  message: string;
191
234
  error_code: "august_device_slots_full";
192
235
  is_access_code_error: true;
236
+ created_at?: string | undefined;
193
237
  }, {
194
238
  message: string;
195
239
  error_code: "august_device_slots_full";
196
240
  is_access_code_error: true;
241
+ created_at?: string | undefined;
197
242
  }>, z.ZodObject<z.objectUtil.extendShape<{
198
243
  message: z.ZodString;
199
244
  is_access_code_error: z.ZodLiteral<true>;
245
+ created_at: z.ZodOptional<z.ZodString>;
200
246
  }, {
201
247
  error_code: z.ZodLiteral<"august_lock_missing_keypad">;
202
248
  }>, "strip", z.ZodTypeAny, {
203
249
  message: string;
204
250
  error_code: "august_lock_missing_keypad";
205
251
  is_access_code_error: true;
252
+ created_at?: string | undefined;
206
253
  }, {
207
254
  message: string;
208
255
  error_code: "august_lock_missing_keypad";
209
256
  is_access_code_error: true;
257
+ created_at?: string | undefined;
210
258
  }>, z.ZodObject<z.objectUtil.extendShape<{
211
259
  message: z.ZodString;
212
260
  is_access_code_error: z.ZodLiteral<true>;
261
+ created_at: z.ZodOptional<z.ZodString>;
213
262
  }, {
214
263
  error_code: z.ZodLiteral<"salto_site_user_not_subscribed">;
215
264
  }>, "strip", z.ZodTypeAny, {
216
265
  message: string;
217
266
  error_code: "salto_site_user_not_subscribed";
218
267
  is_access_code_error: true;
268
+ created_at?: string | undefined;
219
269
  }, {
220
270
  message: string;
221
271
  error_code: "salto_site_user_not_subscribed";
222
272
  is_access_code_error: true;
273
+ created_at?: string | undefined;
223
274
  }>, z.ZodObject<z.objectUtil.extendShape<{
224
275
  message: z.ZodString;
225
276
  is_access_code_error: z.ZodLiteral<true>;
277
+ created_at: z.ZodOptional<z.ZodString>;
226
278
  }, {
227
279
  error_code: z.ZodLiteral<"hubitat_device_programming_delay">;
228
280
  }>, "strip", z.ZodTypeAny, {
229
281
  message: string;
230
282
  error_code: "hubitat_device_programming_delay";
231
283
  is_access_code_error: true;
284
+ created_at?: string | undefined;
232
285
  }, {
233
286
  message: string;
234
287
  error_code: "hubitat_device_programming_delay";
235
288
  is_access_code_error: true;
289
+ created_at?: string | undefined;
236
290
  }>, z.ZodObject<z.objectUtil.extendShape<{
237
291
  message: z.ZodString;
238
292
  is_access_code_error: z.ZodLiteral<true>;
293
+ created_at: z.ZodOptional<z.ZodString>;
239
294
  }, {
240
295
  error_code: z.ZodLiteral<"hubitat_no_free_positions_available">;
241
296
  }>, "strip", z.ZodTypeAny, {
242
297
  message: string;
243
298
  error_code: "hubitat_no_free_positions_available";
244
299
  is_access_code_error: true;
300
+ created_at?: string | undefined;
245
301
  }, {
246
302
  message: string;
247
303
  error_code: "hubitat_no_free_positions_available";
248
304
  is_access_code_error: true;
305
+ created_at?: string | undefined;
249
306
  }>]>;
250
307
  export type AccessCodeError = z.infer<typeof access_code_error>;
308
+ declare const access_code_error_map: z.ZodObject<{
309
+ smartthings_failed_to_set_access_code_error: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
310
+ message: z.ZodString;
311
+ is_access_code_error: z.ZodLiteral<true>;
312
+ created_at: z.ZodOptional<z.ZodString>;
313
+ }, {
314
+ error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
315
+ }>, "strip", z.ZodTypeAny, {
316
+ message: string;
317
+ error_code: "smartthings_failed_to_set_access_code";
318
+ is_access_code_error: true;
319
+ created_at?: string | undefined;
320
+ }, {
321
+ message: string;
322
+ error_code: "smartthings_failed_to_set_access_code";
323
+ is_access_code_error: true;
324
+ created_at?: string | undefined;
325
+ }>>>;
326
+ smartthings_failed_to_set_after_multiple_retries: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
327
+ message: z.ZodString;
328
+ is_access_code_error: z.ZodLiteral<true>;
329
+ created_at: z.ZodOptional<z.ZodString>;
330
+ }, {
331
+ error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
332
+ }>, "strip", z.ZodTypeAny, {
333
+ message: string;
334
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
335
+ is_access_code_error: true;
336
+ created_at?: string | undefined;
337
+ }, {
338
+ message: string;
339
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
340
+ is_access_code_error: true;
341
+ created_at?: string | undefined;
342
+ }>>>;
343
+ failed_to_set_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
344
+ message: z.ZodString;
345
+ is_access_code_error: z.ZodLiteral<true>;
346
+ created_at: z.ZodOptional<z.ZodString>;
347
+ }, {
348
+ error_code: z.ZodLiteral<"failed_to_set_on_device">;
349
+ }>, "strip", z.ZodTypeAny, {
350
+ message: string;
351
+ error_code: "failed_to_set_on_device";
352
+ is_access_code_error: true;
353
+ created_at?: string | undefined;
354
+ }, {
355
+ message: string;
356
+ error_code: "failed_to_set_on_device";
357
+ is_access_code_error: true;
358
+ created_at?: string | undefined;
359
+ }>>>;
360
+ failed_to_remove_from_device: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
361
+ message: z.ZodString;
362
+ is_access_code_error: z.ZodLiteral<true>;
363
+ created_at: z.ZodOptional<z.ZodString>;
364
+ }, {
365
+ error_code: z.ZodLiteral<"failed_to_remove_from_device">;
366
+ }>, "strip", z.ZodTypeAny, {
367
+ message: string;
368
+ error_code: "failed_to_remove_from_device";
369
+ is_access_code_error: true;
370
+ created_at?: string | undefined;
371
+ }, {
372
+ message: string;
373
+ error_code: "failed_to_remove_from_device";
374
+ is_access_code_error: true;
375
+ created_at?: string | undefined;
376
+ }>>>;
377
+ duplicate_code_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
378
+ message: z.ZodString;
379
+ is_access_code_error: z.ZodLiteral<true>;
380
+ created_at: z.ZodOptional<z.ZodString>;
381
+ }, {
382
+ error_code: z.ZodLiteral<"duplicate_code_on_device">;
383
+ }>, "strip", z.ZodTypeAny, {
384
+ message: string;
385
+ error_code: "duplicate_code_on_device";
386
+ is_access_code_error: true;
387
+ created_at?: string | undefined;
388
+ }, {
389
+ message: string;
390
+ error_code: "duplicate_code_on_device";
391
+ is_access_code_error: true;
392
+ created_at?: string | undefined;
393
+ }>>>;
394
+ duplicate_code_attempt_prevented: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
395
+ message: z.ZodString;
396
+ is_access_code_error: z.ZodLiteral<true>;
397
+ created_at: z.ZodOptional<z.ZodString>;
398
+ }, {
399
+ error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
400
+ }>, "strip", z.ZodTypeAny, {
401
+ message: string;
402
+ error_code: "duplicate_code_attempt_prevented";
403
+ is_access_code_error: true;
404
+ created_at?: string | undefined;
405
+ }, {
406
+ message: string;
407
+ error_code: "duplicate_code_attempt_prevented";
408
+ is_access_code_error: true;
409
+ created_at?: string | undefined;
410
+ }>>>;
411
+ igloohome_bridge_too_many_pending_jobs: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
412
+ message: z.ZodString;
413
+ is_access_code_error: z.ZodLiteral<true>;
414
+ created_at: z.ZodOptional<z.ZodString>;
415
+ }, {
416
+ error_code: z.ZodLiteral<"igloohome_bridge_too_many_pending_jobs">;
417
+ }>, "strip", z.ZodTypeAny, {
418
+ message: string;
419
+ error_code: "igloohome_bridge_too_many_pending_jobs";
420
+ is_access_code_error: true;
421
+ created_at?: string | undefined;
422
+ }, {
423
+ message: string;
424
+ error_code: "igloohome_bridge_too_many_pending_jobs";
425
+ is_access_code_error: true;
426
+ created_at?: string | undefined;
427
+ }>>>;
428
+ igloohome_bridge_offline: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
429
+ message: z.ZodString;
430
+ is_access_code_error: z.ZodLiteral<true>;
431
+ created_at: z.ZodOptional<z.ZodString>;
432
+ }, {
433
+ error_code: z.ZodLiteral<"igloohome_bridge_offline">;
434
+ }>, "strip", z.ZodTypeAny, {
435
+ message: string;
436
+ error_code: "igloohome_bridge_offline";
437
+ is_access_code_error: true;
438
+ created_at?: string | undefined;
439
+ }, {
440
+ message: string;
441
+ error_code: "igloohome_bridge_offline";
442
+ is_access_code_error: true;
443
+ created_at?: string | undefined;
444
+ }>>>;
445
+ igloohome_offline_access_code_no_variance_available: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
446
+ message: z.ZodString;
447
+ is_access_code_error: z.ZodLiteral<true>;
448
+ created_at: z.ZodOptional<z.ZodString>;
449
+ }, {
450
+ error_code: z.ZodLiteral<"igloohome_offline_access_code_no_variance_available">;
451
+ }>, "strip", z.ZodTypeAny, {
452
+ message: string;
453
+ error_code: "igloohome_offline_access_code_no_variance_available";
454
+ is_access_code_error: true;
455
+ created_at?: string | undefined;
456
+ }, {
457
+ message: string;
458
+ error_code: "igloohome_offline_access_code_no_variance_available";
459
+ is_access_code_error: true;
460
+ created_at?: string | undefined;
461
+ }>>>;
462
+ kwikset_unable_to_confirm_code: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
463
+ message: z.ZodString;
464
+ is_access_code_error: z.ZodLiteral<true>;
465
+ created_at: z.ZodOptional<z.ZodString>;
466
+ }, {
467
+ error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
468
+ }>, "strip", z.ZodTypeAny, {
469
+ message: string;
470
+ error_code: "kwikset_unable_to_confirm_code";
471
+ is_access_code_error: true;
472
+ created_at?: string | undefined;
473
+ }, {
474
+ message: string;
475
+ error_code: "kwikset_unable_to_confirm_code";
476
+ is_access_code_error: true;
477
+ created_at?: string | undefined;
478
+ }>>>;
479
+ kwikset_unable_to_confirm_deletion: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
480
+ message: z.ZodString;
481
+ is_access_code_error: z.ZodLiteral<true>;
482
+ created_at: z.ZodOptional<z.ZodString>;
483
+ }, {
484
+ error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
485
+ }>, "strip", z.ZodTypeAny, {
486
+ message: string;
487
+ error_code: "kwikset_unable_to_confirm_deletion";
488
+ is_access_code_error: true;
489
+ created_at?: string | undefined;
490
+ }, {
491
+ message: string;
492
+ error_code: "kwikset_unable_to_confirm_deletion";
493
+ is_access_code_error: true;
494
+ created_at?: string | undefined;
495
+ }>>>;
496
+ code_modified_external_to_seam_error: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
497
+ message: z.ZodString;
498
+ is_access_code_error: z.ZodLiteral<true>;
499
+ created_at: z.ZodOptional<z.ZodString>;
500
+ }, {
501
+ error_code: z.ZodLiteral<"code_modified_external_to_seam">;
502
+ }>, "strip", z.ZodTypeAny, {
503
+ message: string;
504
+ error_code: "code_modified_external_to_seam";
505
+ is_access_code_error: true;
506
+ created_at?: string | undefined;
507
+ }, {
508
+ message: string;
509
+ error_code: "code_modified_external_to_seam";
510
+ is_access_code_error: true;
511
+ created_at?: string | undefined;
512
+ }>>>;
513
+ august_lock_invalid_code_length: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
514
+ message: z.ZodString;
515
+ is_access_code_error: z.ZodLiteral<true>;
516
+ created_at: z.ZodOptional<z.ZodString>;
517
+ }, {
518
+ error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
519
+ }>, "strip", z.ZodTypeAny, {
520
+ message: string;
521
+ error_code: "august_lock_invalid_code_length";
522
+ is_access_code_error: true;
523
+ created_at?: string | undefined;
524
+ }, {
525
+ message: string;
526
+ error_code: "august_lock_invalid_code_length";
527
+ is_access_code_error: true;
528
+ created_at?: string | undefined;
529
+ }>>>;
530
+ august_device_programming_delay_error: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
531
+ message: z.ZodString;
532
+ is_access_code_error: z.ZodLiteral<true>;
533
+ created_at: z.ZodOptional<z.ZodString>;
534
+ }, {
535
+ error_code: z.ZodLiteral<"august_device_programming_delay">;
536
+ }>, "strip", z.ZodTypeAny, {
537
+ message: string;
538
+ error_code: "august_device_programming_delay";
539
+ is_access_code_error: true;
540
+ created_at?: string | undefined;
541
+ }, {
542
+ message: string;
543
+ error_code: "august_device_programming_delay";
544
+ is_access_code_error: true;
545
+ created_at?: string | undefined;
546
+ }>>>;
547
+ august_device_slots_full: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
548
+ message: z.ZodString;
549
+ is_access_code_error: z.ZodLiteral<true>;
550
+ created_at: z.ZodOptional<z.ZodString>;
551
+ }, {
552
+ error_code: z.ZodLiteral<"august_device_slots_full">;
553
+ }>, "strip", z.ZodTypeAny, {
554
+ message: string;
555
+ error_code: "august_device_slots_full";
556
+ is_access_code_error: true;
557
+ created_at?: string | undefined;
558
+ }, {
559
+ message: string;
560
+ error_code: "august_device_slots_full";
561
+ is_access_code_error: true;
562
+ created_at?: string | undefined;
563
+ }>>>;
564
+ august_lock_missing_keypad: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
565
+ message: z.ZodString;
566
+ is_access_code_error: z.ZodLiteral<true>;
567
+ created_at: z.ZodOptional<z.ZodString>;
568
+ }, {
569
+ error_code: z.ZodLiteral<"august_lock_missing_keypad">;
570
+ }>, "strip", z.ZodTypeAny, {
571
+ message: string;
572
+ error_code: "august_lock_missing_keypad";
573
+ is_access_code_error: true;
574
+ created_at?: string | undefined;
575
+ }, {
576
+ message: string;
577
+ error_code: "august_lock_missing_keypad";
578
+ is_access_code_error: true;
579
+ created_at?: string | undefined;
580
+ }>>>;
581
+ salto_site_user_not_subscribed: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
582
+ message: z.ZodString;
583
+ is_access_code_error: z.ZodLiteral<true>;
584
+ created_at: z.ZodOptional<z.ZodString>;
585
+ }, {
586
+ error_code: z.ZodLiteral<"salto_site_user_not_subscribed">;
587
+ }>, "strip", z.ZodTypeAny, {
588
+ message: string;
589
+ error_code: "salto_site_user_not_subscribed";
590
+ is_access_code_error: true;
591
+ created_at?: string | undefined;
592
+ }, {
593
+ message: string;
594
+ error_code: "salto_site_user_not_subscribed";
595
+ is_access_code_error: true;
596
+ created_at?: string | undefined;
597
+ }>>>;
598
+ hubitat_device_programming_delay: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
599
+ message: z.ZodString;
600
+ is_access_code_error: z.ZodLiteral<true>;
601
+ created_at: z.ZodOptional<z.ZodString>;
602
+ }, {
603
+ error_code: z.ZodLiteral<"hubitat_device_programming_delay">;
604
+ }>, "strip", z.ZodTypeAny, {
605
+ message: string;
606
+ error_code: "hubitat_device_programming_delay";
607
+ is_access_code_error: true;
608
+ created_at?: string | undefined;
609
+ }, {
610
+ message: string;
611
+ error_code: "hubitat_device_programming_delay";
612
+ is_access_code_error: true;
613
+ created_at?: string | undefined;
614
+ }>>>;
615
+ hubitat_no_free_positions_available: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
616
+ message: z.ZodString;
617
+ is_access_code_error: z.ZodLiteral<true>;
618
+ created_at: z.ZodOptional<z.ZodString>;
619
+ }, {
620
+ error_code: z.ZodLiteral<"hubitat_no_free_positions_available">;
621
+ }>, "strip", z.ZodTypeAny, {
622
+ message: string;
623
+ error_code: "hubitat_no_free_positions_available";
624
+ is_access_code_error: true;
625
+ created_at?: string | undefined;
626
+ }, {
627
+ message: string;
628
+ error_code: "hubitat_no_free_positions_available";
629
+ is_access_code_error: true;
630
+ created_at?: string | undefined;
631
+ }>>>;
632
+ }, "strip", z.ZodTypeAny, {
633
+ smartthings_failed_to_set_after_multiple_retries?: {
634
+ message: string;
635
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
636
+ is_access_code_error: true;
637
+ created_at?: string | undefined;
638
+ } | null | undefined;
639
+ failed_to_set_on_device?: {
640
+ message: string;
641
+ error_code: "failed_to_set_on_device";
642
+ is_access_code_error: true;
643
+ created_at?: string | undefined;
644
+ } | null | undefined;
645
+ failed_to_remove_from_device?: {
646
+ message: string;
647
+ error_code: "failed_to_remove_from_device";
648
+ is_access_code_error: true;
649
+ created_at?: string | undefined;
650
+ } | null | undefined;
651
+ duplicate_code_on_device?: {
652
+ message: string;
653
+ error_code: "duplicate_code_on_device";
654
+ is_access_code_error: true;
655
+ created_at?: string | undefined;
656
+ } | null | undefined;
657
+ duplicate_code_attempt_prevented?: {
658
+ message: string;
659
+ error_code: "duplicate_code_attempt_prevented";
660
+ is_access_code_error: true;
661
+ created_at?: string | undefined;
662
+ } | null | undefined;
663
+ igloohome_bridge_too_many_pending_jobs?: {
664
+ message: string;
665
+ error_code: "igloohome_bridge_too_many_pending_jobs";
666
+ is_access_code_error: true;
667
+ created_at?: string | undefined;
668
+ } | null | undefined;
669
+ igloohome_bridge_offline?: {
670
+ message: string;
671
+ error_code: "igloohome_bridge_offline";
672
+ is_access_code_error: true;
673
+ created_at?: string | undefined;
674
+ } | null | undefined;
675
+ kwikset_unable_to_confirm_code?: {
676
+ message: string;
677
+ error_code: "kwikset_unable_to_confirm_code";
678
+ is_access_code_error: true;
679
+ created_at?: string | undefined;
680
+ } | null | undefined;
681
+ kwikset_unable_to_confirm_deletion?: {
682
+ message: string;
683
+ error_code: "kwikset_unable_to_confirm_deletion";
684
+ is_access_code_error: true;
685
+ created_at?: string | undefined;
686
+ } | null | undefined;
687
+ igloohome_offline_access_code_no_variance_available?: {
688
+ message: string;
689
+ error_code: "igloohome_offline_access_code_no_variance_available";
690
+ is_access_code_error: true;
691
+ created_at?: string | undefined;
692
+ } | null | undefined;
693
+ august_lock_invalid_code_length?: {
694
+ message: string;
695
+ error_code: "august_lock_invalid_code_length";
696
+ is_access_code_error: true;
697
+ created_at?: string | undefined;
698
+ } | null | undefined;
699
+ august_device_slots_full?: {
700
+ message: string;
701
+ error_code: "august_device_slots_full";
702
+ is_access_code_error: true;
703
+ created_at?: string | undefined;
704
+ } | null | undefined;
705
+ august_lock_missing_keypad?: {
706
+ message: string;
707
+ error_code: "august_lock_missing_keypad";
708
+ is_access_code_error: true;
709
+ created_at?: string | undefined;
710
+ } | null | undefined;
711
+ salto_site_user_not_subscribed?: {
712
+ message: string;
713
+ error_code: "salto_site_user_not_subscribed";
714
+ is_access_code_error: true;
715
+ created_at?: string | undefined;
716
+ } | null | undefined;
717
+ hubitat_device_programming_delay?: {
718
+ message: string;
719
+ error_code: "hubitat_device_programming_delay";
720
+ is_access_code_error: true;
721
+ created_at?: string | undefined;
722
+ } | null | undefined;
723
+ hubitat_no_free_positions_available?: {
724
+ message: string;
725
+ error_code: "hubitat_no_free_positions_available";
726
+ is_access_code_error: true;
727
+ created_at?: string | undefined;
728
+ } | null | undefined;
729
+ smartthings_failed_to_set_access_code_error?: {
730
+ message: string;
731
+ error_code: "smartthings_failed_to_set_access_code";
732
+ is_access_code_error: true;
733
+ created_at?: string | undefined;
734
+ } | null | undefined;
735
+ code_modified_external_to_seam_error?: {
736
+ message: string;
737
+ error_code: "code_modified_external_to_seam";
738
+ is_access_code_error: true;
739
+ created_at?: string | undefined;
740
+ } | null | undefined;
741
+ august_device_programming_delay_error?: {
742
+ message: string;
743
+ error_code: "august_device_programming_delay";
744
+ is_access_code_error: true;
745
+ created_at?: string | undefined;
746
+ } | null | undefined;
747
+ }, {
748
+ smartthings_failed_to_set_after_multiple_retries?: {
749
+ message: string;
750
+ error_code: "smartthings_failed_to_set_after_multiple_retries";
751
+ is_access_code_error: true;
752
+ created_at?: string | undefined;
753
+ } | null | undefined;
754
+ failed_to_set_on_device?: {
755
+ message: string;
756
+ error_code: "failed_to_set_on_device";
757
+ is_access_code_error: true;
758
+ created_at?: string | undefined;
759
+ } | null | undefined;
760
+ failed_to_remove_from_device?: {
761
+ message: string;
762
+ error_code: "failed_to_remove_from_device";
763
+ is_access_code_error: true;
764
+ created_at?: string | undefined;
765
+ } | null | undefined;
766
+ duplicate_code_on_device?: {
767
+ message: string;
768
+ error_code: "duplicate_code_on_device";
769
+ is_access_code_error: true;
770
+ created_at?: string | undefined;
771
+ } | null | undefined;
772
+ duplicate_code_attempt_prevented?: {
773
+ message: string;
774
+ error_code: "duplicate_code_attempt_prevented";
775
+ is_access_code_error: true;
776
+ created_at?: string | undefined;
777
+ } | null | undefined;
778
+ igloohome_bridge_too_many_pending_jobs?: {
779
+ message: string;
780
+ error_code: "igloohome_bridge_too_many_pending_jobs";
781
+ is_access_code_error: true;
782
+ created_at?: string | undefined;
783
+ } | null | undefined;
784
+ igloohome_bridge_offline?: {
785
+ message: string;
786
+ error_code: "igloohome_bridge_offline";
787
+ is_access_code_error: true;
788
+ created_at?: string | undefined;
789
+ } | null | undefined;
790
+ kwikset_unable_to_confirm_code?: {
791
+ message: string;
792
+ error_code: "kwikset_unable_to_confirm_code";
793
+ is_access_code_error: true;
794
+ created_at?: string | undefined;
795
+ } | null | undefined;
796
+ kwikset_unable_to_confirm_deletion?: {
797
+ message: string;
798
+ error_code: "kwikset_unable_to_confirm_deletion";
799
+ is_access_code_error: true;
800
+ created_at?: string | undefined;
801
+ } | null | undefined;
802
+ igloohome_offline_access_code_no_variance_available?: {
803
+ message: string;
804
+ error_code: "igloohome_offline_access_code_no_variance_available";
805
+ is_access_code_error: true;
806
+ created_at?: string | undefined;
807
+ } | null | undefined;
808
+ august_lock_invalid_code_length?: {
809
+ message: string;
810
+ error_code: "august_lock_invalid_code_length";
811
+ is_access_code_error: true;
812
+ created_at?: string | undefined;
813
+ } | null | undefined;
814
+ august_device_slots_full?: {
815
+ message: string;
816
+ error_code: "august_device_slots_full";
817
+ is_access_code_error: true;
818
+ created_at?: string | undefined;
819
+ } | null | undefined;
820
+ august_lock_missing_keypad?: {
821
+ message: string;
822
+ error_code: "august_lock_missing_keypad";
823
+ is_access_code_error: true;
824
+ created_at?: string | undefined;
825
+ } | null | undefined;
826
+ salto_site_user_not_subscribed?: {
827
+ message: string;
828
+ error_code: "salto_site_user_not_subscribed";
829
+ is_access_code_error: true;
830
+ created_at?: string | undefined;
831
+ } | null | undefined;
832
+ hubitat_device_programming_delay?: {
833
+ message: string;
834
+ error_code: "hubitat_device_programming_delay";
835
+ is_access_code_error: true;
836
+ created_at?: string | undefined;
837
+ } | null | undefined;
838
+ hubitat_no_free_positions_available?: {
839
+ message: string;
840
+ error_code: "hubitat_no_free_positions_available";
841
+ is_access_code_error: true;
842
+ created_at?: string | undefined;
843
+ } | null | undefined;
844
+ smartthings_failed_to_set_access_code_error?: {
845
+ message: string;
846
+ error_code: "smartthings_failed_to_set_access_code";
847
+ is_access_code_error: true;
848
+ created_at?: string | undefined;
849
+ } | null | undefined;
850
+ code_modified_external_to_seam_error?: {
851
+ message: string;
852
+ error_code: "code_modified_external_to_seam";
853
+ is_access_code_error: true;
854
+ created_at?: string | undefined;
855
+ } | null | undefined;
856
+ august_device_programming_delay_error?: {
857
+ message: string;
858
+ error_code: "august_device_programming_delay";
859
+ is_access_code_error: true;
860
+ created_at?: string | undefined;
861
+ } | null | undefined;
862
+ }>;
863
+ export type AccessCodeErrorMap = z.infer<typeof access_code_error_map>;
251
864
  declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
252
865
  message: z.ZodString;
866
+ created_at: z.ZodOptional<z.ZodString>;
253
867
  }, {
254
868
  warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
255
869
  }>, "strip", z.ZodTypeAny, {
256
870
  message: string;
257
871
  warning_code: "smartthings_failed_to_set_access_code";
872
+ created_at?: string | undefined;
258
873
  }, {
259
874
  message: string;
260
875
  warning_code: "smartthings_failed_to_set_access_code";
876
+ created_at?: string | undefined;
261
877
  }>, z.ZodObject<z.objectUtil.extendShape<{
262
878
  message: z.ZodString;
879
+ created_at: z.ZodOptional<z.ZodString>;
263
880
  }, {
264
881
  warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
265
882
  }>, "strip", z.ZodTypeAny, {
266
883
  message: string;
267
884
  warning_code: "schlage_detected_duplicate";
885
+ created_at?: string | undefined;
268
886
  }, {
269
887
  message: string;
270
888
  warning_code: "schlage_detected_duplicate";
889
+ created_at?: string | undefined;
271
890
  }>, z.ZodObject<z.objectUtil.extendShape<{
272
891
  message: z.ZodString;
892
+ created_at: z.ZodOptional<z.ZodString>;
273
893
  }, {
274
894
  warning_code: z.ZodLiteral<"schlage_creation_outage">;
275
895
  }>, "strip", z.ZodTypeAny, {
276
896
  message: string;
277
897
  warning_code: "schlage_creation_outage";
898
+ created_at?: string | undefined;
278
899
  }, {
279
900
  message: string;
280
901
  warning_code: "schlage_creation_outage";
902
+ created_at?: string | undefined;
281
903
  }>, z.ZodObject<z.objectUtil.extendShape<{
282
904
  message: z.ZodString;
905
+ created_at: z.ZodOptional<z.ZodString>;
283
906
  }, {
284
907
  warning_code: z.ZodLiteral<"salto_office_mode">;
285
908
  }>, "strip", z.ZodTypeAny, {
286
909
  message: string;
287
910
  warning_code: "salto_office_mode";
911
+ created_at?: string | undefined;
288
912
  }, {
289
913
  message: string;
290
914
  warning_code: "salto_office_mode";
915
+ created_at?: string | undefined;
291
916
  }>, z.ZodObject<z.objectUtil.extendShape<{
292
917
  message: z.ZodString;
918
+ created_at: z.ZodOptional<z.ZodString>;
293
919
  }, {
294
920
  warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
295
921
  }>, "strip", z.ZodTypeAny, {
296
922
  message: string;
297
923
  warning_code: "code_modified_external_to_seam";
924
+ created_at?: string | undefined;
298
925
  }, {
299
926
  message: string;
300
927
  warning_code: "code_modified_external_to_seam";
928
+ created_at?: string | undefined;
301
929
  }>, z.ZodObject<z.objectUtil.extendShape<{
302
930
  message: z.ZodString;
931
+ created_at: z.ZodOptional<z.ZodString>;
303
932
  }, {
304
933
  warning_code: z.ZodLiteral<"delay_in_setting_on_device">;
305
934
  }>, "strip", z.ZodTypeAny, {
306
935
  message: string;
307
936
  warning_code: "delay_in_setting_on_device";
937
+ created_at?: string | undefined;
308
938
  }, {
309
939
  message: string;
310
940
  warning_code: "delay_in_setting_on_device";
941
+ created_at?: string | undefined;
311
942
  }>, z.ZodObject<z.objectUtil.extendShape<{
312
943
  message: z.ZodString;
944
+ created_at: z.ZodOptional<z.ZodString>;
313
945
  }, {
314
946
  warning_code: z.ZodLiteral<"delay_in_removing_from_device">;
315
947
  }>, "strip", z.ZodTypeAny, {
316
948
  message: string;
317
949
  warning_code: "delay_in_removing_from_device";
950
+ created_at?: string | undefined;
318
951
  }, {
319
952
  message: string;
320
953
  warning_code: "delay_in_removing_from_device";
954
+ created_at?: string | undefined;
321
955
  }>, z.ZodObject<z.objectUtil.extendShape<{
322
956
  message: z.ZodString;
957
+ created_at: z.ZodOptional<z.ZodString>;
323
958
  }, {
324
959
  warning_code: z.ZodLiteral<"third_party_integration_detected">;
325
960
  }>, "strip", z.ZodTypeAny, {
326
961
  message: string;
327
962
  warning_code: "third_party_integration_detected";
963
+ created_at?: string | undefined;
328
964
  }, {
329
965
  message: string;
330
966
  warning_code: "third_party_integration_detected";
967
+ created_at?: string | undefined;
331
968
  }>, z.ZodObject<z.objectUtil.extendShape<{
332
969
  message: z.ZodString;
970
+ created_at: z.ZodOptional<z.ZodString>;
333
971
  }, {
334
972
  warning_code: z.ZodLiteral<"august_device_programming_delay">;
335
973
  }>, "strip", z.ZodTypeAny, {
336
974
  message: string;
337
975
  warning_code: "august_device_programming_delay";
976
+ created_at?: string | undefined;
338
977
  }, {
339
978
  message: string;
340
979
  warning_code: "august_device_programming_delay";
980
+ created_at?: string | undefined;
341
981
  }>, z.ZodObject<z.objectUtil.extendShape<{
342
982
  message: z.ZodString;
983
+ created_at: z.ZodOptional<z.ZodString>;
343
984
  }, {
344
985
  warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
345
986
  }>, "strip", z.ZodTypeAny, {
346
987
  message: string;
347
988
  warning_code: "igloo_algopin_must_be_used_within_24_hours";
989
+ created_at?: string | undefined;
348
990
  }, {
349
991
  message: string;
350
992
  warning_code: "igloo_algopin_must_be_used_within_24_hours";
993
+ created_at?: string | undefined;
351
994
  }>, z.ZodObject<z.objectUtil.extendShape<{
352
995
  message: z.ZodString;
996
+ created_at: z.ZodOptional<z.ZodString>;
353
997
  }, {
354
998
  warning_code: z.ZodLiteral<"management_transferred">;
355
999
  }>, "strip", z.ZodTypeAny, {
356
1000
  message: string;
357
1001
  warning_code: "management_transferred";
1002
+ created_at?: string | undefined;
358
1003
  }, {
359
1004
  message: string;
360
1005
  warning_code: "management_transferred";
1006
+ created_at?: string | undefined;
361
1007
  }>, z.ZodObject<z.objectUtil.extendShape<{
362
1008
  message: z.ZodString;
1009
+ created_at: z.ZodOptional<z.ZodString>;
363
1010
  }, {
364
1011
  warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
365
1012
  }>, "strip", z.ZodTypeAny, {
366
1013
  message: string;
367
1014
  warning_code: "kwikset_unable_to_confirm_code";
1015
+ created_at?: string | undefined;
368
1016
  }, {
369
1017
  message: string;
370
1018
  warning_code: "kwikset_unable_to_confirm_code";
1019
+ created_at?: string | undefined;
371
1020
  }>]>;
372
1021
  export type AccessCodeWarning = z.infer<typeof access_code_warning>;
1022
+ declare const access_code_warning_map: z.ZodObject<{
1023
+ smartthings_failed_to_set_access_code_warning: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1024
+ message: z.ZodString;
1025
+ created_at: z.ZodOptional<z.ZodString>;
1026
+ }, {
1027
+ warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
1028
+ }>, "strip", z.ZodTypeAny, {
1029
+ message: string;
1030
+ warning_code: "smartthings_failed_to_set_access_code";
1031
+ created_at?: string | undefined;
1032
+ }, {
1033
+ message: string;
1034
+ warning_code: "smartthings_failed_to_set_access_code";
1035
+ created_at?: string | undefined;
1036
+ }>>>;
1037
+ schlage_detected_duplicate: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1038
+ message: z.ZodString;
1039
+ created_at: z.ZodOptional<z.ZodString>;
1040
+ }, {
1041
+ warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
1042
+ }>, "strip", z.ZodTypeAny, {
1043
+ message: string;
1044
+ warning_code: "schlage_detected_duplicate";
1045
+ created_at?: string | undefined;
1046
+ }, {
1047
+ message: string;
1048
+ warning_code: "schlage_detected_duplicate";
1049
+ created_at?: string | undefined;
1050
+ }>>>;
1051
+ schlage_creation_outage: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1052
+ message: z.ZodString;
1053
+ created_at: z.ZodOptional<z.ZodString>;
1054
+ }, {
1055
+ warning_code: z.ZodLiteral<"schlage_creation_outage">;
1056
+ }>, "strip", z.ZodTypeAny, {
1057
+ message: string;
1058
+ warning_code: "schlage_creation_outage";
1059
+ created_at?: string | undefined;
1060
+ }, {
1061
+ message: string;
1062
+ warning_code: "schlage_creation_outage";
1063
+ created_at?: string | undefined;
1064
+ }>>>;
1065
+ salto_office_mode: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1066
+ message: z.ZodString;
1067
+ created_at: z.ZodOptional<z.ZodString>;
1068
+ }, {
1069
+ warning_code: z.ZodLiteral<"salto_office_mode">;
1070
+ }>, "strip", z.ZodTypeAny, {
1071
+ message: string;
1072
+ warning_code: "salto_office_mode";
1073
+ created_at?: string | undefined;
1074
+ }, {
1075
+ message: string;
1076
+ warning_code: "salto_office_mode";
1077
+ created_at?: string | undefined;
1078
+ }>>>;
1079
+ code_modified_external_to_seam_warning: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1080
+ message: z.ZodString;
1081
+ created_at: z.ZodOptional<z.ZodString>;
1082
+ }, {
1083
+ warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
1084
+ }>, "strip", z.ZodTypeAny, {
1085
+ message: string;
1086
+ warning_code: "code_modified_external_to_seam";
1087
+ created_at?: string | undefined;
1088
+ }, {
1089
+ message: string;
1090
+ warning_code: "code_modified_external_to_seam";
1091
+ created_at?: string | undefined;
1092
+ }>>>;
1093
+ delay_in_setting_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1094
+ message: z.ZodString;
1095
+ created_at: z.ZodOptional<z.ZodString>;
1096
+ }, {
1097
+ warning_code: z.ZodLiteral<"delay_in_setting_on_device">;
1098
+ }>, "strip", z.ZodTypeAny, {
1099
+ message: string;
1100
+ warning_code: "delay_in_setting_on_device";
1101
+ created_at?: string | undefined;
1102
+ }, {
1103
+ message: string;
1104
+ warning_code: "delay_in_setting_on_device";
1105
+ created_at?: string | undefined;
1106
+ }>>>;
1107
+ delay_in_removing_from_device: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1108
+ message: z.ZodString;
1109
+ created_at: z.ZodOptional<z.ZodString>;
1110
+ }, {
1111
+ warning_code: z.ZodLiteral<"delay_in_removing_from_device">;
1112
+ }>, "strip", z.ZodTypeAny, {
1113
+ message: string;
1114
+ warning_code: "delay_in_removing_from_device";
1115
+ created_at?: string | undefined;
1116
+ }, {
1117
+ message: string;
1118
+ warning_code: "delay_in_removing_from_device";
1119
+ created_at?: string | undefined;
1120
+ }>>>;
1121
+ third_party_integration_detected: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1122
+ message: z.ZodString;
1123
+ created_at: z.ZodOptional<z.ZodString>;
1124
+ }, {
1125
+ warning_code: z.ZodLiteral<"third_party_integration_detected">;
1126
+ }>, "strip", z.ZodTypeAny, {
1127
+ message: string;
1128
+ warning_code: "third_party_integration_detected";
1129
+ created_at?: string | undefined;
1130
+ }, {
1131
+ message: string;
1132
+ warning_code: "third_party_integration_detected";
1133
+ created_at?: string | undefined;
1134
+ }>>>;
1135
+ august_device_programming_delay_warning: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1136
+ message: z.ZodString;
1137
+ created_at: z.ZodOptional<z.ZodString>;
1138
+ }, {
1139
+ warning_code: z.ZodLiteral<"august_device_programming_delay">;
1140
+ }>, "strip", z.ZodTypeAny, {
1141
+ message: string;
1142
+ warning_code: "august_device_programming_delay";
1143
+ created_at?: string | undefined;
1144
+ }, {
1145
+ message: string;
1146
+ warning_code: "august_device_programming_delay";
1147
+ created_at?: string | undefined;
1148
+ }>>>;
1149
+ igloo_algopin_must_be_used_within_24_hours: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1150
+ message: z.ZodString;
1151
+ created_at: z.ZodOptional<z.ZodString>;
1152
+ }, {
1153
+ warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
1154
+ }>, "strip", z.ZodTypeAny, {
1155
+ message: string;
1156
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
1157
+ created_at?: string | undefined;
1158
+ }, {
1159
+ message: string;
1160
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
1161
+ created_at?: string | undefined;
1162
+ }>>>;
1163
+ management_transferred: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1164
+ message: z.ZodString;
1165
+ created_at: z.ZodOptional<z.ZodString>;
1166
+ }, {
1167
+ warning_code: z.ZodLiteral<"management_transferred">;
1168
+ }>, "strip", z.ZodTypeAny, {
1169
+ message: string;
1170
+ warning_code: "management_transferred";
1171
+ created_at?: string | undefined;
1172
+ }, {
1173
+ message: string;
1174
+ warning_code: "management_transferred";
1175
+ created_at?: string | undefined;
1176
+ }>>>;
1177
+ kwikset_unable_to_confirm_code_warning: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1178
+ message: z.ZodString;
1179
+ created_at: z.ZodOptional<z.ZodString>;
1180
+ }, {
1181
+ warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
1182
+ }>, "strip", z.ZodTypeAny, {
1183
+ message: string;
1184
+ warning_code: "kwikset_unable_to_confirm_code";
1185
+ created_at?: string | undefined;
1186
+ }, {
1187
+ message: string;
1188
+ warning_code: "kwikset_unable_to_confirm_code";
1189
+ created_at?: string | undefined;
1190
+ }>>>;
1191
+ }, "strip", z.ZodTypeAny, {
1192
+ third_party_integration_detected?: {
1193
+ message: string;
1194
+ warning_code: "third_party_integration_detected";
1195
+ created_at?: string | undefined;
1196
+ } | null | undefined;
1197
+ schlage_detected_duplicate?: {
1198
+ message: string;
1199
+ warning_code: "schlage_detected_duplicate";
1200
+ created_at?: string | undefined;
1201
+ } | null | undefined;
1202
+ schlage_creation_outage?: {
1203
+ message: string;
1204
+ warning_code: "schlage_creation_outage";
1205
+ created_at?: string | undefined;
1206
+ } | null | undefined;
1207
+ salto_office_mode?: {
1208
+ message: string;
1209
+ warning_code: "salto_office_mode";
1210
+ created_at?: string | undefined;
1211
+ } | null | undefined;
1212
+ delay_in_setting_on_device?: {
1213
+ message: string;
1214
+ warning_code: "delay_in_setting_on_device";
1215
+ created_at?: string | undefined;
1216
+ } | null | undefined;
1217
+ delay_in_removing_from_device?: {
1218
+ message: string;
1219
+ warning_code: "delay_in_removing_from_device";
1220
+ created_at?: string | undefined;
1221
+ } | null | undefined;
1222
+ igloo_algopin_must_be_used_within_24_hours?: {
1223
+ message: string;
1224
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
1225
+ created_at?: string | undefined;
1226
+ } | null | undefined;
1227
+ management_transferred?: {
1228
+ message: string;
1229
+ warning_code: "management_transferred";
1230
+ created_at?: string | undefined;
1231
+ } | null | undefined;
1232
+ smartthings_failed_to_set_access_code_warning?: {
1233
+ message: string;
1234
+ warning_code: "smartthings_failed_to_set_access_code";
1235
+ created_at?: string | undefined;
1236
+ } | null | undefined;
1237
+ code_modified_external_to_seam_warning?: {
1238
+ message: string;
1239
+ warning_code: "code_modified_external_to_seam";
1240
+ created_at?: string | undefined;
1241
+ } | null | undefined;
1242
+ august_device_programming_delay_warning?: {
1243
+ message: string;
1244
+ warning_code: "august_device_programming_delay";
1245
+ created_at?: string | undefined;
1246
+ } | null | undefined;
1247
+ kwikset_unable_to_confirm_code_warning?: {
1248
+ message: string;
1249
+ warning_code: "kwikset_unable_to_confirm_code";
1250
+ created_at?: string | undefined;
1251
+ } | null | undefined;
1252
+ }, {
1253
+ third_party_integration_detected?: {
1254
+ message: string;
1255
+ warning_code: "third_party_integration_detected";
1256
+ created_at?: string | undefined;
1257
+ } | null | undefined;
1258
+ schlage_detected_duplicate?: {
1259
+ message: string;
1260
+ warning_code: "schlage_detected_duplicate";
1261
+ created_at?: string | undefined;
1262
+ } | null | undefined;
1263
+ schlage_creation_outage?: {
1264
+ message: string;
1265
+ warning_code: "schlage_creation_outage";
1266
+ created_at?: string | undefined;
1267
+ } | null | undefined;
1268
+ salto_office_mode?: {
1269
+ message: string;
1270
+ warning_code: "salto_office_mode";
1271
+ created_at?: string | undefined;
1272
+ } | null | undefined;
1273
+ delay_in_setting_on_device?: {
1274
+ message: string;
1275
+ warning_code: "delay_in_setting_on_device";
1276
+ created_at?: string | undefined;
1277
+ } | null | undefined;
1278
+ delay_in_removing_from_device?: {
1279
+ message: string;
1280
+ warning_code: "delay_in_removing_from_device";
1281
+ created_at?: string | undefined;
1282
+ } | null | undefined;
1283
+ igloo_algopin_must_be_used_within_24_hours?: {
1284
+ message: string;
1285
+ warning_code: "igloo_algopin_must_be_used_within_24_hours";
1286
+ created_at?: string | undefined;
1287
+ } | null | undefined;
1288
+ management_transferred?: {
1289
+ message: string;
1290
+ warning_code: "management_transferred";
1291
+ created_at?: string | undefined;
1292
+ } | null | undefined;
1293
+ smartthings_failed_to_set_access_code_warning?: {
1294
+ message: string;
1295
+ warning_code: "smartthings_failed_to_set_access_code";
1296
+ created_at?: string | undefined;
1297
+ } | null | undefined;
1298
+ code_modified_external_to_seam_warning?: {
1299
+ message: string;
1300
+ warning_code: "code_modified_external_to_seam";
1301
+ created_at?: string | undefined;
1302
+ } | null | undefined;
1303
+ august_device_programming_delay_warning?: {
1304
+ message: string;
1305
+ warning_code: "august_device_programming_delay";
1306
+ created_at?: string | undefined;
1307
+ } | null | undefined;
1308
+ kwikset_unable_to_confirm_code_warning?: {
1309
+ message: string;
1310
+ warning_code: "kwikset_unable_to_confirm_code";
1311
+ created_at?: string | undefined;
1312
+ } | null | undefined;
1313
+ }>;
1314
+ export type AccessCodeWarningMap = z.infer<typeof access_code_warning_map>;
373
1315
  export declare const access_code: z.ZodObject<{
374
1316
  common_code_key: z.ZodNullable<z.ZodString>;
375
1317
  is_scheduled_on_device: z.ZodOptional<z.ZodBoolean>;
@@ -383,250 +1325,307 @@ export declare const access_code: z.ZodObject<{
383
1325
  errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
384
1326
  message: z.ZodString;
385
1327
  is_access_code_error: z.ZodLiteral<true>;
1328
+ created_at: z.ZodOptional<z.ZodString>;
386
1329
  }, {
387
1330
  error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
388
1331
  }>, "strip", z.ZodTypeAny, {
389
1332
  message: string;
390
1333
  error_code: "smartthings_failed_to_set_access_code";
391
1334
  is_access_code_error: true;
1335
+ created_at?: string | undefined;
392
1336
  }, {
393
1337
  message: string;
394
1338
  error_code: "smartthings_failed_to_set_access_code";
395
1339
  is_access_code_error: true;
1340
+ created_at?: string | undefined;
396
1341
  }>, z.ZodObject<z.objectUtil.extendShape<{
397
1342
  message: z.ZodString;
398
1343
  is_access_code_error: z.ZodLiteral<true>;
1344
+ created_at: z.ZodOptional<z.ZodString>;
399
1345
  }, {
400
1346
  error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
401
1347
  }>, "strip", z.ZodTypeAny, {
402
1348
  message: string;
403
1349
  error_code: "smartthings_failed_to_set_after_multiple_retries";
404
1350
  is_access_code_error: true;
1351
+ created_at?: string | undefined;
405
1352
  }, {
406
1353
  message: string;
407
1354
  error_code: "smartthings_failed_to_set_after_multiple_retries";
408
1355
  is_access_code_error: true;
1356
+ created_at?: string | undefined;
409
1357
  }>, z.ZodObject<z.objectUtil.extendShape<{
410
1358
  message: z.ZodString;
411
1359
  is_access_code_error: z.ZodLiteral<true>;
1360
+ created_at: z.ZodOptional<z.ZodString>;
412
1361
  }, {
413
1362
  error_code: z.ZodLiteral<"failed_to_set_on_device">;
414
1363
  }>, "strip", z.ZodTypeAny, {
415
1364
  message: string;
416
1365
  error_code: "failed_to_set_on_device";
417
1366
  is_access_code_error: true;
1367
+ created_at?: string | undefined;
418
1368
  }, {
419
1369
  message: string;
420
1370
  error_code: "failed_to_set_on_device";
421
1371
  is_access_code_error: true;
1372
+ created_at?: string | undefined;
422
1373
  }>, z.ZodObject<z.objectUtil.extendShape<{
423
1374
  message: z.ZodString;
424
1375
  is_access_code_error: z.ZodLiteral<true>;
1376
+ created_at: z.ZodOptional<z.ZodString>;
425
1377
  }, {
426
1378
  error_code: z.ZodLiteral<"failed_to_remove_from_device">;
427
1379
  }>, "strip", z.ZodTypeAny, {
428
1380
  message: string;
429
1381
  error_code: "failed_to_remove_from_device";
430
1382
  is_access_code_error: true;
1383
+ created_at?: string | undefined;
431
1384
  }, {
432
1385
  message: string;
433
1386
  error_code: "failed_to_remove_from_device";
434
1387
  is_access_code_error: true;
1388
+ created_at?: string | undefined;
435
1389
  }>, z.ZodObject<z.objectUtil.extendShape<{
436
1390
  message: z.ZodString;
437
1391
  is_access_code_error: z.ZodLiteral<true>;
1392
+ created_at: z.ZodOptional<z.ZodString>;
438
1393
  }, {
439
1394
  error_code: z.ZodLiteral<"duplicate_code_on_device">;
440
1395
  }>, "strip", z.ZodTypeAny, {
441
1396
  message: string;
442
1397
  error_code: "duplicate_code_on_device";
443
1398
  is_access_code_error: true;
1399
+ created_at?: string | undefined;
444
1400
  }, {
445
1401
  message: string;
446
1402
  error_code: "duplicate_code_on_device";
447
1403
  is_access_code_error: true;
1404
+ created_at?: string | undefined;
448
1405
  }>, z.ZodObject<z.objectUtil.extendShape<{
449
1406
  message: z.ZodString;
450
1407
  is_access_code_error: z.ZodLiteral<true>;
1408
+ created_at: z.ZodOptional<z.ZodString>;
451
1409
  }, {
452
1410
  error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
453
1411
  }>, "strip", z.ZodTypeAny, {
454
1412
  message: string;
455
1413
  error_code: "duplicate_code_attempt_prevented";
456
1414
  is_access_code_error: true;
1415
+ created_at?: string | undefined;
457
1416
  }, {
458
1417
  message: string;
459
1418
  error_code: "duplicate_code_attempt_prevented";
460
1419
  is_access_code_error: true;
1420
+ created_at?: string | undefined;
461
1421
  }>, z.ZodObject<z.objectUtil.extendShape<{
462
1422
  message: z.ZodString;
463
1423
  is_access_code_error: z.ZodLiteral<true>;
1424
+ created_at: z.ZodOptional<z.ZodString>;
464
1425
  }, {
465
1426
  error_code: z.ZodLiteral<"igloohome_bridge_too_many_pending_jobs">;
466
1427
  }>, "strip", z.ZodTypeAny, {
467
1428
  message: string;
468
1429
  error_code: "igloohome_bridge_too_many_pending_jobs";
469
1430
  is_access_code_error: true;
1431
+ created_at?: string | undefined;
470
1432
  }, {
471
1433
  message: string;
472
1434
  error_code: "igloohome_bridge_too_many_pending_jobs";
473
1435
  is_access_code_error: true;
1436
+ created_at?: string | undefined;
474
1437
  }>, z.ZodObject<z.objectUtil.extendShape<{
475
1438
  message: z.ZodString;
476
1439
  is_access_code_error: z.ZodLiteral<true>;
1440
+ created_at: z.ZodOptional<z.ZodString>;
477
1441
  }, {
478
1442
  error_code: z.ZodLiteral<"igloohome_bridge_offline">;
479
1443
  }>, "strip", z.ZodTypeAny, {
480
1444
  message: string;
481
1445
  error_code: "igloohome_bridge_offline";
482
1446
  is_access_code_error: true;
1447
+ created_at?: string | undefined;
483
1448
  }, {
484
1449
  message: string;
485
1450
  error_code: "igloohome_bridge_offline";
486
1451
  is_access_code_error: true;
1452
+ created_at?: string | undefined;
487
1453
  }>, z.ZodObject<z.objectUtil.extendShape<{
488
1454
  message: z.ZodString;
489
1455
  is_access_code_error: z.ZodLiteral<true>;
1456
+ created_at: z.ZodOptional<z.ZodString>;
490
1457
  }, {
491
1458
  error_code: z.ZodLiteral<"igloohome_offline_access_code_no_variance_available">;
492
1459
  }>, "strip", z.ZodTypeAny, {
493
1460
  message: string;
494
1461
  error_code: "igloohome_offline_access_code_no_variance_available";
495
1462
  is_access_code_error: true;
1463
+ created_at?: string | undefined;
496
1464
  }, {
497
1465
  message: string;
498
1466
  error_code: "igloohome_offline_access_code_no_variance_available";
499
1467
  is_access_code_error: true;
1468
+ created_at?: string | undefined;
500
1469
  }>, z.ZodObject<z.objectUtil.extendShape<{
501
1470
  message: z.ZodString;
502
1471
  is_access_code_error: z.ZodLiteral<true>;
1472
+ created_at: z.ZodOptional<z.ZodString>;
503
1473
  }, {
504
1474
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
505
1475
  }>, "strip", z.ZodTypeAny, {
506
1476
  message: string;
507
1477
  error_code: "kwikset_unable_to_confirm_code";
508
1478
  is_access_code_error: true;
1479
+ created_at?: string | undefined;
509
1480
  }, {
510
1481
  message: string;
511
1482
  error_code: "kwikset_unable_to_confirm_code";
512
1483
  is_access_code_error: true;
1484
+ created_at?: string | undefined;
513
1485
  }>, z.ZodObject<z.objectUtil.extendShape<{
514
1486
  message: z.ZodString;
515
1487
  is_access_code_error: z.ZodLiteral<true>;
1488
+ created_at: z.ZodOptional<z.ZodString>;
516
1489
  }, {
517
1490
  error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
518
1491
  }>, "strip", z.ZodTypeAny, {
519
1492
  message: string;
520
1493
  error_code: "kwikset_unable_to_confirm_deletion";
521
1494
  is_access_code_error: true;
1495
+ created_at?: string | undefined;
522
1496
  }, {
523
1497
  message: string;
524
1498
  error_code: "kwikset_unable_to_confirm_deletion";
525
1499
  is_access_code_error: true;
1500
+ created_at?: string | undefined;
526
1501
  }>, z.ZodObject<z.objectUtil.extendShape<{
527
1502
  message: z.ZodString;
528
1503
  is_access_code_error: z.ZodLiteral<true>;
1504
+ created_at: z.ZodOptional<z.ZodString>;
529
1505
  }, {
530
1506
  error_code: z.ZodLiteral<"code_modified_external_to_seam">;
531
1507
  }>, "strip", z.ZodTypeAny, {
532
1508
  message: string;
533
1509
  error_code: "code_modified_external_to_seam";
534
1510
  is_access_code_error: true;
1511
+ created_at?: string | undefined;
535
1512
  }, {
536
1513
  message: string;
537
1514
  error_code: "code_modified_external_to_seam";
538
1515
  is_access_code_error: true;
1516
+ created_at?: string | undefined;
539
1517
  }>, z.ZodObject<z.objectUtil.extendShape<{
540
1518
  message: z.ZodString;
541
1519
  is_access_code_error: z.ZodLiteral<true>;
1520
+ created_at: z.ZodOptional<z.ZodString>;
542
1521
  }, {
543
1522
  error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
544
1523
  }>, "strip", z.ZodTypeAny, {
545
1524
  message: string;
546
1525
  error_code: "august_lock_invalid_code_length";
547
1526
  is_access_code_error: true;
1527
+ created_at?: string | undefined;
548
1528
  }, {
549
1529
  message: string;
550
1530
  error_code: "august_lock_invalid_code_length";
551
1531
  is_access_code_error: true;
1532
+ created_at?: string | undefined;
552
1533
  }>, z.ZodObject<z.objectUtil.extendShape<{
553
1534
  message: z.ZodString;
554
1535
  is_access_code_error: z.ZodLiteral<true>;
1536
+ created_at: z.ZodOptional<z.ZodString>;
555
1537
  }, {
556
1538
  error_code: z.ZodLiteral<"august_device_programming_delay">;
557
1539
  }>, "strip", z.ZodTypeAny, {
558
1540
  message: string;
559
1541
  error_code: "august_device_programming_delay";
560
1542
  is_access_code_error: true;
1543
+ created_at?: string | undefined;
561
1544
  }, {
562
1545
  message: string;
563
1546
  error_code: "august_device_programming_delay";
564
1547
  is_access_code_error: true;
1548
+ created_at?: string | undefined;
565
1549
  }>, z.ZodObject<z.objectUtil.extendShape<{
566
1550
  message: z.ZodString;
567
1551
  is_access_code_error: z.ZodLiteral<true>;
1552
+ created_at: z.ZodOptional<z.ZodString>;
568
1553
  }, {
569
1554
  error_code: z.ZodLiteral<"august_device_slots_full">;
570
1555
  }>, "strip", z.ZodTypeAny, {
571
1556
  message: string;
572
1557
  error_code: "august_device_slots_full";
573
1558
  is_access_code_error: true;
1559
+ created_at?: string | undefined;
574
1560
  }, {
575
1561
  message: string;
576
1562
  error_code: "august_device_slots_full";
577
1563
  is_access_code_error: true;
1564
+ created_at?: string | undefined;
578
1565
  }>, z.ZodObject<z.objectUtil.extendShape<{
579
1566
  message: z.ZodString;
580
1567
  is_access_code_error: z.ZodLiteral<true>;
1568
+ created_at: z.ZodOptional<z.ZodString>;
581
1569
  }, {
582
1570
  error_code: z.ZodLiteral<"august_lock_missing_keypad">;
583
1571
  }>, "strip", z.ZodTypeAny, {
584
1572
  message: string;
585
1573
  error_code: "august_lock_missing_keypad";
586
1574
  is_access_code_error: true;
1575
+ created_at?: string | undefined;
587
1576
  }, {
588
1577
  message: string;
589
1578
  error_code: "august_lock_missing_keypad";
590
1579
  is_access_code_error: true;
1580
+ created_at?: string | undefined;
591
1581
  }>, z.ZodObject<z.objectUtil.extendShape<{
592
1582
  message: z.ZodString;
593
1583
  is_access_code_error: z.ZodLiteral<true>;
1584
+ created_at: z.ZodOptional<z.ZodString>;
594
1585
  }, {
595
1586
  error_code: z.ZodLiteral<"salto_site_user_not_subscribed">;
596
1587
  }>, "strip", z.ZodTypeAny, {
597
1588
  message: string;
598
1589
  error_code: "salto_site_user_not_subscribed";
599
1590
  is_access_code_error: true;
1591
+ created_at?: string | undefined;
600
1592
  }, {
601
1593
  message: string;
602
1594
  error_code: "salto_site_user_not_subscribed";
603
1595
  is_access_code_error: true;
1596
+ created_at?: string | undefined;
604
1597
  }>, z.ZodObject<z.objectUtil.extendShape<{
605
1598
  message: z.ZodString;
606
1599
  is_access_code_error: z.ZodLiteral<true>;
1600
+ created_at: z.ZodOptional<z.ZodString>;
607
1601
  }, {
608
1602
  error_code: z.ZodLiteral<"hubitat_device_programming_delay">;
609
1603
  }>, "strip", z.ZodTypeAny, {
610
1604
  message: string;
611
1605
  error_code: "hubitat_device_programming_delay";
612
1606
  is_access_code_error: true;
1607
+ created_at?: string | undefined;
613
1608
  }, {
614
1609
  message: string;
615
1610
  error_code: "hubitat_device_programming_delay";
616
1611
  is_access_code_error: true;
1612
+ created_at?: string | undefined;
617
1613
  }>, z.ZodObject<z.objectUtil.extendShape<{
618
1614
  message: z.ZodString;
619
1615
  is_access_code_error: z.ZodLiteral<true>;
1616
+ created_at: z.ZodOptional<z.ZodString>;
620
1617
  }, {
621
1618
  error_code: z.ZodLiteral<"hubitat_no_free_positions_available">;
622
1619
  }>, "strip", z.ZodTypeAny, {
623
1620
  message: string;
624
1621
  error_code: "hubitat_no_free_positions_available";
625
1622
  is_access_code_error: true;
1623
+ created_at?: string | undefined;
626
1624
  }, {
627
1625
  message: string;
628
1626
  error_code: "hubitat_no_free_positions_available";
629
1627
  is_access_code_error: true;
1628
+ created_at?: string | undefined;
630
1629
  }>, ...(z.ZodObject<z.objectUtil.extendShape<{
631
1630
  created_at: z.ZodString;
632
1631
  message: z.ZodString;
@@ -922,124 +1921,160 @@ export declare const access_code: z.ZodObject<{
922
1921
  }>)[]]>, "many">;
923
1922
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
924
1923
  message: z.ZodString;
1924
+ created_at: z.ZodOptional<z.ZodString>;
925
1925
  }, {
926
1926
  warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
927
1927
  }>, "strip", z.ZodTypeAny, {
928
1928
  message: string;
929
1929
  warning_code: "smartthings_failed_to_set_access_code";
1930
+ created_at?: string | undefined;
930
1931
  }, {
931
1932
  message: string;
932
1933
  warning_code: "smartthings_failed_to_set_access_code";
1934
+ created_at?: string | undefined;
933
1935
  }>, z.ZodObject<z.objectUtil.extendShape<{
934
1936
  message: z.ZodString;
1937
+ created_at: z.ZodOptional<z.ZodString>;
935
1938
  }, {
936
1939
  warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
937
1940
  }>, "strip", z.ZodTypeAny, {
938
1941
  message: string;
939
1942
  warning_code: "schlage_detected_duplicate";
1943
+ created_at?: string | undefined;
940
1944
  }, {
941
1945
  message: string;
942
1946
  warning_code: "schlage_detected_duplicate";
1947
+ created_at?: string | undefined;
943
1948
  }>, z.ZodObject<z.objectUtil.extendShape<{
944
1949
  message: z.ZodString;
1950
+ created_at: z.ZodOptional<z.ZodString>;
945
1951
  }, {
946
1952
  warning_code: z.ZodLiteral<"schlage_creation_outage">;
947
1953
  }>, "strip", z.ZodTypeAny, {
948
1954
  message: string;
949
1955
  warning_code: "schlage_creation_outage";
1956
+ created_at?: string | undefined;
950
1957
  }, {
951
1958
  message: string;
952
1959
  warning_code: "schlage_creation_outage";
1960
+ created_at?: string | undefined;
953
1961
  }>, z.ZodObject<z.objectUtil.extendShape<{
954
1962
  message: z.ZodString;
1963
+ created_at: z.ZodOptional<z.ZodString>;
955
1964
  }, {
956
1965
  warning_code: z.ZodLiteral<"salto_office_mode">;
957
1966
  }>, "strip", z.ZodTypeAny, {
958
1967
  message: string;
959
1968
  warning_code: "salto_office_mode";
1969
+ created_at?: string | undefined;
960
1970
  }, {
961
1971
  message: string;
962
1972
  warning_code: "salto_office_mode";
1973
+ created_at?: string | undefined;
963
1974
  }>, z.ZodObject<z.objectUtil.extendShape<{
964
1975
  message: z.ZodString;
1976
+ created_at: z.ZodOptional<z.ZodString>;
965
1977
  }, {
966
1978
  warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
967
1979
  }>, "strip", z.ZodTypeAny, {
968
1980
  message: string;
969
1981
  warning_code: "code_modified_external_to_seam";
1982
+ created_at?: string | undefined;
970
1983
  }, {
971
1984
  message: string;
972
1985
  warning_code: "code_modified_external_to_seam";
1986
+ created_at?: string | undefined;
973
1987
  }>, z.ZodObject<z.objectUtil.extendShape<{
974
1988
  message: z.ZodString;
1989
+ created_at: z.ZodOptional<z.ZodString>;
975
1990
  }, {
976
1991
  warning_code: z.ZodLiteral<"delay_in_setting_on_device">;
977
1992
  }>, "strip", z.ZodTypeAny, {
978
1993
  message: string;
979
1994
  warning_code: "delay_in_setting_on_device";
1995
+ created_at?: string | undefined;
980
1996
  }, {
981
1997
  message: string;
982
1998
  warning_code: "delay_in_setting_on_device";
1999
+ created_at?: string | undefined;
983
2000
  }>, z.ZodObject<z.objectUtil.extendShape<{
984
2001
  message: z.ZodString;
2002
+ created_at: z.ZodOptional<z.ZodString>;
985
2003
  }, {
986
2004
  warning_code: z.ZodLiteral<"delay_in_removing_from_device">;
987
2005
  }>, "strip", z.ZodTypeAny, {
988
2006
  message: string;
989
2007
  warning_code: "delay_in_removing_from_device";
2008
+ created_at?: string | undefined;
990
2009
  }, {
991
2010
  message: string;
992
2011
  warning_code: "delay_in_removing_from_device";
2012
+ created_at?: string | undefined;
993
2013
  }>, z.ZodObject<z.objectUtil.extendShape<{
994
2014
  message: z.ZodString;
2015
+ created_at: z.ZodOptional<z.ZodString>;
995
2016
  }, {
996
2017
  warning_code: z.ZodLiteral<"third_party_integration_detected">;
997
2018
  }>, "strip", z.ZodTypeAny, {
998
2019
  message: string;
999
2020
  warning_code: "third_party_integration_detected";
2021
+ created_at?: string | undefined;
1000
2022
  }, {
1001
2023
  message: string;
1002
2024
  warning_code: "third_party_integration_detected";
2025
+ created_at?: string | undefined;
1003
2026
  }>, z.ZodObject<z.objectUtil.extendShape<{
1004
2027
  message: z.ZodString;
2028
+ created_at: z.ZodOptional<z.ZodString>;
1005
2029
  }, {
1006
2030
  warning_code: z.ZodLiteral<"august_device_programming_delay">;
1007
2031
  }>, "strip", z.ZodTypeAny, {
1008
2032
  message: string;
1009
2033
  warning_code: "august_device_programming_delay";
2034
+ created_at?: string | undefined;
1010
2035
  }, {
1011
2036
  message: string;
1012
2037
  warning_code: "august_device_programming_delay";
2038
+ created_at?: string | undefined;
1013
2039
  }>, z.ZodObject<z.objectUtil.extendShape<{
1014
2040
  message: z.ZodString;
2041
+ created_at: z.ZodOptional<z.ZodString>;
1015
2042
  }, {
1016
2043
  warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
1017
2044
  }>, "strip", z.ZodTypeAny, {
1018
2045
  message: string;
1019
2046
  warning_code: "igloo_algopin_must_be_used_within_24_hours";
2047
+ created_at?: string | undefined;
1020
2048
  }, {
1021
2049
  message: string;
1022
2050
  warning_code: "igloo_algopin_must_be_used_within_24_hours";
2051
+ created_at?: string | undefined;
1023
2052
  }>, z.ZodObject<z.objectUtil.extendShape<{
1024
2053
  message: z.ZodString;
2054
+ created_at: z.ZodOptional<z.ZodString>;
1025
2055
  }, {
1026
2056
  warning_code: z.ZodLiteral<"management_transferred">;
1027
2057
  }>, "strip", z.ZodTypeAny, {
1028
2058
  message: string;
1029
2059
  warning_code: "management_transferred";
2060
+ created_at?: string | undefined;
1030
2061
  }, {
1031
2062
  message: string;
1032
2063
  warning_code: "management_transferred";
2064
+ created_at?: string | undefined;
1033
2065
  }>, z.ZodObject<z.objectUtil.extendShape<{
1034
2066
  message: z.ZodString;
2067
+ created_at: z.ZodOptional<z.ZodString>;
1035
2068
  }, {
1036
2069
  warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
1037
2070
  }>, "strip", z.ZodTypeAny, {
1038
2071
  message: string;
1039
2072
  warning_code: "kwikset_unable_to_confirm_code";
2073
+ created_at?: string | undefined;
1040
2074
  }, {
1041
2075
  message: string;
1042
2076
  warning_code: "kwikset_unable_to_confirm_code";
2077
+ created_at?: string | undefined;
1043
2078
  }>]>, "many">;
1044
2079
  is_managed: z.ZodLiteral<true>;
1045
2080
  starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1146,115 +2181,146 @@ export declare const access_code: z.ZodObject<{
1146
2181
  message: string;
1147
2182
  error_code: "smartthings_failed_to_set_access_code";
1148
2183
  is_access_code_error: true;
2184
+ created_at?: string | undefined;
1149
2185
  } | {
1150
2186
  message: string;
1151
2187
  error_code: "smartthings_failed_to_set_after_multiple_retries";
1152
2188
  is_access_code_error: true;
2189
+ created_at?: string | undefined;
1153
2190
  } | {
1154
2191
  message: string;
1155
2192
  error_code: "code_modified_external_to_seam";
1156
2193
  is_access_code_error: true;
2194
+ created_at?: string | undefined;
1157
2195
  } | {
1158
2196
  message: string;
1159
2197
  error_code: "failed_to_set_on_device";
1160
2198
  is_access_code_error: true;
2199
+ created_at?: string | undefined;
1161
2200
  } | {
1162
2201
  message: string;
1163
2202
  error_code: "failed_to_remove_from_device";
1164
2203
  is_access_code_error: true;
2204
+ created_at?: string | undefined;
1165
2205
  } | {
1166
2206
  message: string;
1167
2207
  error_code: "duplicate_code_on_device";
1168
2208
  is_access_code_error: true;
2209
+ created_at?: string | undefined;
1169
2210
  } | {
1170
2211
  message: string;
1171
2212
  error_code: "duplicate_code_attempt_prevented";
1172
2213
  is_access_code_error: true;
2214
+ created_at?: string | undefined;
1173
2215
  } | {
1174
2216
  message: string;
1175
2217
  error_code: "igloohome_bridge_too_many_pending_jobs";
1176
2218
  is_access_code_error: true;
2219
+ created_at?: string | undefined;
1177
2220
  } | {
1178
2221
  message: string;
1179
2222
  error_code: "igloohome_bridge_offline";
1180
2223
  is_access_code_error: true;
2224
+ created_at?: string | undefined;
1181
2225
  } | {
1182
2226
  message: string;
1183
2227
  error_code: "kwikset_unable_to_confirm_code";
1184
2228
  is_access_code_error: true;
2229
+ created_at?: string | undefined;
1185
2230
  } | {
1186
2231
  message: string;
1187
2232
  error_code: "kwikset_unable_to_confirm_deletion";
1188
2233
  is_access_code_error: true;
2234
+ created_at?: string | undefined;
1189
2235
  } | {
1190
2236
  message: string;
1191
2237
  error_code: "igloohome_offline_access_code_no_variance_available";
1192
2238
  is_access_code_error: true;
2239
+ created_at?: string | undefined;
1193
2240
  } | {
1194
2241
  message: string;
1195
2242
  error_code: "august_lock_invalid_code_length";
1196
2243
  is_access_code_error: true;
2244
+ created_at?: string | undefined;
1197
2245
  } | {
1198
2246
  message: string;
1199
2247
  error_code: "august_device_programming_delay";
1200
2248
  is_access_code_error: true;
2249
+ created_at?: string | undefined;
1201
2250
  } | {
1202
2251
  message: string;
1203
2252
  error_code: "august_device_slots_full";
1204
2253
  is_access_code_error: true;
2254
+ created_at?: string | undefined;
1205
2255
  } | {
1206
2256
  message: string;
1207
2257
  error_code: "august_lock_missing_keypad";
1208
2258
  is_access_code_error: true;
2259
+ created_at?: string | undefined;
1209
2260
  } | {
1210
2261
  message: string;
1211
2262
  error_code: "salto_site_user_not_subscribed";
1212
2263
  is_access_code_error: true;
2264
+ created_at?: string | undefined;
1213
2265
  } | {
1214
2266
  message: string;
1215
2267
  error_code: "hubitat_device_programming_delay";
1216
2268
  is_access_code_error: true;
2269
+ created_at?: string | undefined;
1217
2270
  } | {
1218
2271
  message: string;
1219
2272
  error_code: "hubitat_no_free_positions_available";
1220
2273
  is_access_code_error: true;
2274
+ created_at?: string | undefined;
1221
2275
  })[];
1222
2276
  warnings: ({
1223
2277
  message: string;
1224
2278
  warning_code: "smartthings_failed_to_set_access_code";
2279
+ created_at?: string | undefined;
1225
2280
  } | {
1226
2281
  message: string;
1227
2282
  warning_code: "august_device_programming_delay";
2283
+ created_at?: string | undefined;
1228
2284
  } | {
1229
2285
  message: string;
1230
2286
  warning_code: "code_modified_external_to_seam";
2287
+ created_at?: string | undefined;
1231
2288
  } | {
1232
2289
  message: string;
1233
2290
  warning_code: "schlage_detected_duplicate";
2291
+ created_at?: string | undefined;
1234
2292
  } | {
1235
2293
  message: string;
1236
2294
  warning_code: "schlage_creation_outage";
2295
+ created_at?: string | undefined;
1237
2296
  } | {
1238
2297
  message: string;
1239
2298
  warning_code: "salto_office_mode";
2299
+ created_at?: string | undefined;
1240
2300
  } | {
1241
2301
  message: string;
1242
2302
  warning_code: "delay_in_setting_on_device";
2303
+ created_at?: string | undefined;
1243
2304
  } | {
1244
2305
  message: string;
1245
2306
  warning_code: "delay_in_removing_from_device";
2307
+ created_at?: string | undefined;
1246
2308
  } | {
1247
2309
  message: string;
1248
2310
  warning_code: "third_party_integration_detected";
2311
+ created_at?: string | undefined;
1249
2312
  } | {
1250
2313
  message: string;
1251
2314
  warning_code: "igloo_algopin_must_be_used_within_24_hours";
2315
+ created_at?: string | undefined;
1252
2316
  } | {
1253
2317
  message: string;
1254
2318
  warning_code: "management_transferred";
2319
+ created_at?: string | undefined;
1255
2320
  } | {
1256
2321
  message: string;
1257
2322
  warning_code: "kwikset_unable_to_confirm_code";
2323
+ created_at?: string | undefined;
1258
2324
  })[];
1259
2325
  is_managed: true;
1260
2326
  common_code_key: string | null;
@@ -1364,115 +2430,146 @@ export declare const access_code: z.ZodObject<{
1364
2430
  message: string;
1365
2431
  error_code: "smartthings_failed_to_set_access_code";
1366
2432
  is_access_code_error: true;
2433
+ created_at?: string | undefined;
1367
2434
  } | {
1368
2435
  message: string;
1369
2436
  error_code: "smartthings_failed_to_set_after_multiple_retries";
1370
2437
  is_access_code_error: true;
2438
+ created_at?: string | undefined;
1371
2439
  } | {
1372
2440
  message: string;
1373
2441
  error_code: "code_modified_external_to_seam";
1374
2442
  is_access_code_error: true;
2443
+ created_at?: string | undefined;
1375
2444
  } | {
1376
2445
  message: string;
1377
2446
  error_code: "failed_to_set_on_device";
1378
2447
  is_access_code_error: true;
2448
+ created_at?: string | undefined;
1379
2449
  } | {
1380
2450
  message: string;
1381
2451
  error_code: "failed_to_remove_from_device";
1382
2452
  is_access_code_error: true;
2453
+ created_at?: string | undefined;
1383
2454
  } | {
1384
2455
  message: string;
1385
2456
  error_code: "duplicate_code_on_device";
1386
2457
  is_access_code_error: true;
2458
+ created_at?: string | undefined;
1387
2459
  } | {
1388
2460
  message: string;
1389
2461
  error_code: "duplicate_code_attempt_prevented";
1390
2462
  is_access_code_error: true;
2463
+ created_at?: string | undefined;
1391
2464
  } | {
1392
2465
  message: string;
1393
2466
  error_code: "igloohome_bridge_too_many_pending_jobs";
1394
2467
  is_access_code_error: true;
2468
+ created_at?: string | undefined;
1395
2469
  } | {
1396
2470
  message: string;
1397
2471
  error_code: "igloohome_bridge_offline";
1398
2472
  is_access_code_error: true;
2473
+ created_at?: string | undefined;
1399
2474
  } | {
1400
2475
  message: string;
1401
2476
  error_code: "kwikset_unable_to_confirm_code";
1402
2477
  is_access_code_error: true;
2478
+ created_at?: string | undefined;
1403
2479
  } | {
1404
2480
  message: string;
1405
2481
  error_code: "kwikset_unable_to_confirm_deletion";
1406
2482
  is_access_code_error: true;
2483
+ created_at?: string | undefined;
1407
2484
  } | {
1408
2485
  message: string;
1409
2486
  error_code: "igloohome_offline_access_code_no_variance_available";
1410
2487
  is_access_code_error: true;
2488
+ created_at?: string | undefined;
1411
2489
  } | {
1412
2490
  message: string;
1413
2491
  error_code: "august_lock_invalid_code_length";
1414
2492
  is_access_code_error: true;
2493
+ created_at?: string | undefined;
1415
2494
  } | {
1416
2495
  message: string;
1417
2496
  error_code: "august_device_programming_delay";
1418
2497
  is_access_code_error: true;
2498
+ created_at?: string | undefined;
1419
2499
  } | {
1420
2500
  message: string;
1421
2501
  error_code: "august_device_slots_full";
1422
2502
  is_access_code_error: true;
2503
+ created_at?: string | undefined;
1423
2504
  } | {
1424
2505
  message: string;
1425
2506
  error_code: "august_lock_missing_keypad";
1426
2507
  is_access_code_error: true;
2508
+ created_at?: string | undefined;
1427
2509
  } | {
1428
2510
  message: string;
1429
2511
  error_code: "salto_site_user_not_subscribed";
1430
2512
  is_access_code_error: true;
2513
+ created_at?: string | undefined;
1431
2514
  } | {
1432
2515
  message: string;
1433
2516
  error_code: "hubitat_device_programming_delay";
1434
2517
  is_access_code_error: true;
2518
+ created_at?: string | undefined;
1435
2519
  } | {
1436
2520
  message: string;
1437
2521
  error_code: "hubitat_no_free_positions_available";
1438
2522
  is_access_code_error: true;
2523
+ created_at?: string | undefined;
1439
2524
  })[];
1440
2525
  warnings: ({
1441
2526
  message: string;
1442
2527
  warning_code: "smartthings_failed_to_set_access_code";
2528
+ created_at?: string | undefined;
1443
2529
  } | {
1444
2530
  message: string;
1445
2531
  warning_code: "august_device_programming_delay";
2532
+ created_at?: string | undefined;
1446
2533
  } | {
1447
2534
  message: string;
1448
2535
  warning_code: "code_modified_external_to_seam";
2536
+ created_at?: string | undefined;
1449
2537
  } | {
1450
2538
  message: string;
1451
2539
  warning_code: "schlage_detected_duplicate";
2540
+ created_at?: string | undefined;
1452
2541
  } | {
1453
2542
  message: string;
1454
2543
  warning_code: "schlage_creation_outage";
2544
+ created_at?: string | undefined;
1455
2545
  } | {
1456
2546
  message: string;
1457
2547
  warning_code: "salto_office_mode";
2548
+ created_at?: string | undefined;
1458
2549
  } | {
1459
2550
  message: string;
1460
2551
  warning_code: "delay_in_setting_on_device";
2552
+ created_at?: string | undefined;
1461
2553
  } | {
1462
2554
  message: string;
1463
2555
  warning_code: "delay_in_removing_from_device";
2556
+ created_at?: string | undefined;
1464
2557
  } | {
1465
2558
  message: string;
1466
2559
  warning_code: "third_party_integration_detected";
2560
+ created_at?: string | undefined;
1467
2561
  } | {
1468
2562
  message: string;
1469
2563
  warning_code: "igloo_algopin_must_be_used_within_24_hours";
2564
+ created_at?: string | undefined;
1470
2565
  } | {
1471
2566
  message: string;
1472
2567
  warning_code: "management_transferred";
2568
+ created_at?: string | undefined;
1473
2569
  } | {
1474
2570
  message: string;
1475
2571
  warning_code: "kwikset_unable_to_confirm_code";
2572
+ created_at?: string | undefined;
1476
2573
  })[];
1477
2574
  is_managed: true;
1478
2575
  common_code_key: string | null;