@seamapi/types 1.909.0 → 1.910.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.
- package/dist/connect.cjs +143 -1152
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -2497
- package/dist/index.cjs +143 -1152
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +97 -1168
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -229
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -391
- package/lib/seam/connect/openapi.js +69 -907
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -1474
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -276
- package/src/lib/seam/connect/openapi.ts +182 -1158
- package/src/lib/seam/connect/route-types.ts +0 -1650
|
@@ -19,38 +19,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
19
19
|
message: z.ZodString;
|
|
20
20
|
is_access_code_error: z.ZodLiteral<true>;
|
|
21
21
|
created_at: z.ZodOptional<z.ZodString>;
|
|
22
|
-
} & {
|
|
23
|
-
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
24
|
-
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
message: string;
|
|
26
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
27
|
-
is_access_code_error: true;
|
|
28
|
-
created_at?: string | undefined;
|
|
29
|
-
}, {
|
|
30
|
-
message: string;
|
|
31
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
32
|
-
is_access_code_error: true;
|
|
33
|
-
created_at?: string | undefined;
|
|
34
|
-
}>, z.ZodObject<{
|
|
35
|
-
message: z.ZodString;
|
|
36
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
37
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
38
|
-
} & {
|
|
39
|
-
error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
|
|
40
|
-
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
message: string;
|
|
42
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
43
|
-
is_access_code_error: true;
|
|
44
|
-
created_at?: string | undefined;
|
|
45
|
-
}, {
|
|
46
|
-
message: string;
|
|
47
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
48
|
-
is_access_code_error: true;
|
|
49
|
-
created_at?: string | undefined;
|
|
50
|
-
}>, z.ZodObject<{
|
|
51
|
-
message: z.ZodString;
|
|
52
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
53
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
54
22
|
} & {
|
|
55
23
|
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
56
24
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -153,38 +121,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
153
121
|
message: z.ZodString;
|
|
154
122
|
is_access_code_error: z.ZodLiteral<true>;
|
|
155
123
|
created_at: z.ZodOptional<z.ZodString>;
|
|
156
|
-
} & {
|
|
157
|
-
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
158
|
-
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
message: string;
|
|
160
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
161
|
-
is_access_code_error: true;
|
|
162
|
-
created_at?: string | undefined;
|
|
163
|
-
}, {
|
|
164
|
-
message: string;
|
|
165
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
166
|
-
is_access_code_error: true;
|
|
167
|
-
created_at?: string | undefined;
|
|
168
|
-
}>, z.ZodObject<{
|
|
169
|
-
message: z.ZodString;
|
|
170
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
171
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
172
|
-
} & {
|
|
173
|
-
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
|
|
174
|
-
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
message: string;
|
|
176
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
177
|
-
is_access_code_error: true;
|
|
178
|
-
created_at?: string | undefined;
|
|
179
|
-
}, {
|
|
180
|
-
message: string;
|
|
181
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
182
|
-
is_access_code_error: true;
|
|
183
|
-
created_at?: string | undefined;
|
|
184
|
-
}>, z.ZodObject<{
|
|
185
|
-
message: z.ZodString;
|
|
186
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
187
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
188
124
|
} & {
|
|
189
125
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
190
126
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
@@ -227,54 +163,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
227
163
|
message: z.ZodString;
|
|
228
164
|
is_access_code_error: z.ZodLiteral<true>;
|
|
229
165
|
created_at: z.ZodOptional<z.ZodString>;
|
|
230
|
-
} & {
|
|
231
|
-
error_code: z.ZodLiteral<"august_lock_invalid_code_length">;
|
|
232
|
-
}, "strip", z.ZodTypeAny, {
|
|
233
|
-
message: string;
|
|
234
|
-
error_code: "august_lock_invalid_code_length";
|
|
235
|
-
is_access_code_error: true;
|
|
236
|
-
created_at?: string | undefined;
|
|
237
|
-
}, {
|
|
238
|
-
message: string;
|
|
239
|
-
error_code: "august_lock_invalid_code_length";
|
|
240
|
-
is_access_code_error: true;
|
|
241
|
-
created_at?: string | undefined;
|
|
242
|
-
}>, z.ZodObject<{
|
|
243
|
-
message: z.ZodString;
|
|
244
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
245
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
246
|
-
} & {
|
|
247
|
-
error_code: z.ZodLiteral<"august_lock_missing_keypad">;
|
|
248
|
-
}, "strip", z.ZodTypeAny, {
|
|
249
|
-
message: string;
|
|
250
|
-
error_code: "august_lock_missing_keypad";
|
|
251
|
-
is_access_code_error: true;
|
|
252
|
-
created_at?: string | undefined;
|
|
253
|
-
}, {
|
|
254
|
-
message: string;
|
|
255
|
-
error_code: "august_lock_missing_keypad";
|
|
256
|
-
is_access_code_error: true;
|
|
257
|
-
created_at?: string | undefined;
|
|
258
|
-
}>, z.ZodObject<{
|
|
259
|
-
message: z.ZodString;
|
|
260
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
261
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
262
|
-
} & {
|
|
263
|
-
error_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
264
|
-
}, "strip", z.ZodTypeAny, {
|
|
265
|
-
message: string;
|
|
266
|
-
error_code: "august_lock_temporarily_offline";
|
|
267
|
-
is_access_code_error: true;
|
|
268
|
-
created_at?: string | undefined;
|
|
269
|
-
}, {
|
|
270
|
-
message: string;
|
|
271
|
-
error_code: "august_lock_temporarily_offline";
|
|
272
|
-
is_access_code_error: true;
|
|
273
|
-
created_at?: string | undefined;
|
|
274
|
-
}>, z.ZodObject<{
|
|
275
|
-
message: z.ZodString;
|
|
276
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
277
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
278
166
|
} & {
|
|
279
167
|
error_code: z.ZodLiteral<"access_code_inactive">;
|
|
280
168
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -307,54 +195,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
307
195
|
message: z.ZodString;
|
|
308
196
|
is_access_code_error: z.ZodLiteral<true>;
|
|
309
197
|
created_at: z.ZodOptional<z.ZodString>;
|
|
310
|
-
} & {
|
|
311
|
-
error_code: z.ZodLiteral<"wyze_duplicate_code_name">;
|
|
312
|
-
}, "strip", z.ZodTypeAny, {
|
|
313
|
-
message: string;
|
|
314
|
-
error_code: "wyze_duplicate_code_name";
|
|
315
|
-
is_access_code_error: true;
|
|
316
|
-
created_at?: string | undefined;
|
|
317
|
-
}, {
|
|
318
|
-
message: string;
|
|
319
|
-
error_code: "wyze_duplicate_code_name";
|
|
320
|
-
is_access_code_error: true;
|
|
321
|
-
created_at?: string | undefined;
|
|
322
|
-
}>, z.ZodObject<{
|
|
323
|
-
message: z.ZodString;
|
|
324
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
325
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
326
|
-
} & {
|
|
327
|
-
error_code: z.ZodLiteral<"wyze_potential_duplicate_code">;
|
|
328
|
-
}, "strip", z.ZodTypeAny, {
|
|
329
|
-
message: string;
|
|
330
|
-
error_code: "wyze_potential_duplicate_code";
|
|
331
|
-
is_access_code_error: true;
|
|
332
|
-
created_at?: string | undefined;
|
|
333
|
-
}, {
|
|
334
|
-
message: string;
|
|
335
|
-
error_code: "wyze_potential_duplicate_code";
|
|
336
|
-
is_access_code_error: true;
|
|
337
|
-
created_at?: string | undefined;
|
|
338
|
-
}>, z.ZodObject<{
|
|
339
|
-
message: z.ZodString;
|
|
340
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
341
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
342
|
-
} & {
|
|
343
|
-
error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
|
|
344
|
-
}, "strip", z.ZodTypeAny, {
|
|
345
|
-
message: string;
|
|
346
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
347
|
-
is_access_code_error: true;
|
|
348
|
-
created_at?: string | undefined;
|
|
349
|
-
}, {
|
|
350
|
-
message: string;
|
|
351
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
352
|
-
is_access_code_error: true;
|
|
353
|
-
created_at?: string | undefined;
|
|
354
|
-
}>, z.ZodObject<{
|
|
355
|
-
message: z.ZodString;
|
|
356
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
357
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
358
198
|
} & {
|
|
359
199
|
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
360
200
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -371,22 +211,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
371
211
|
message: z.ZodString;
|
|
372
212
|
is_access_code_error: z.ZodLiteral<true>;
|
|
373
213
|
created_at: z.ZodOptional<z.ZodString>;
|
|
374
|
-
} & {
|
|
375
|
-
error_code: z.ZodLiteral<"keynest_unsupported_third_party_locker">;
|
|
376
|
-
}, "strip", z.ZodTypeAny, {
|
|
377
|
-
message: string;
|
|
378
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
379
|
-
is_access_code_error: true;
|
|
380
|
-
created_at?: string | undefined;
|
|
381
|
-
}, {
|
|
382
|
-
message: string;
|
|
383
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
384
|
-
is_access_code_error: true;
|
|
385
|
-
created_at?: string | undefined;
|
|
386
|
-
}>, z.ZodObject<{
|
|
387
|
-
message: z.ZodString;
|
|
388
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
389
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
390
214
|
} & {
|
|
391
215
|
error_code: z.ZodLiteral<"replaced_by_newer_access_code">;
|
|
392
216
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -419,40 +243,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
419
243
|
is_access_code_error: true;
|
|
420
244
|
created_at?: string | undefined;
|
|
421
245
|
}>>>;
|
|
422
|
-
smartthings_failed_to_set_access_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
423
|
-
message: z.ZodString;
|
|
424
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
425
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
426
|
-
} & {
|
|
427
|
-
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
428
|
-
}, "strip", z.ZodTypeAny, {
|
|
429
|
-
message: string;
|
|
430
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
431
|
-
is_access_code_error: true;
|
|
432
|
-
created_at?: string | undefined;
|
|
433
|
-
}, {
|
|
434
|
-
message: string;
|
|
435
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
436
|
-
is_access_code_error: true;
|
|
437
|
-
created_at?: string | undefined;
|
|
438
|
-
}>>>;
|
|
439
|
-
smartthings_failed_to_set_after_multiple_retries: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
440
|
-
message: z.ZodString;
|
|
441
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
442
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
443
|
-
} & {
|
|
444
|
-
error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
|
|
445
|
-
}, "strip", z.ZodTypeAny, {
|
|
446
|
-
message: string;
|
|
447
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
448
|
-
is_access_code_error: true;
|
|
449
|
-
created_at?: string | undefined;
|
|
450
|
-
}, {
|
|
451
|
-
message: string;
|
|
452
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
453
|
-
is_access_code_error: true;
|
|
454
|
-
created_at?: string | undefined;
|
|
455
|
-
}>>>;
|
|
456
246
|
failed_to_set_on_device: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
457
247
|
message: z.ZodString;
|
|
458
248
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -561,40 +351,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
561
351
|
is_access_code_error: true;
|
|
562
352
|
created_at?: string | undefined;
|
|
563
353
|
}>>>;
|
|
564
|
-
kwikset_unable_to_confirm_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
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<"kwikset_unable_to_confirm_code">;
|
|
570
|
-
}, "strip", z.ZodTypeAny, {
|
|
571
|
-
message: string;
|
|
572
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
573
|
-
is_access_code_error: true;
|
|
574
|
-
created_at?: string | undefined;
|
|
575
|
-
}, {
|
|
576
|
-
message: string;
|
|
577
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
578
|
-
is_access_code_error: true;
|
|
579
|
-
created_at?: string | undefined;
|
|
580
|
-
}>>>;
|
|
581
|
-
kwikset_unable_to_confirm_deletion: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
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<"kwikset_unable_to_confirm_deletion">;
|
|
587
|
-
}, "strip", z.ZodTypeAny, {
|
|
588
|
-
message: string;
|
|
589
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
590
|
-
is_access_code_error: true;
|
|
591
|
-
created_at?: string | undefined;
|
|
592
|
-
}, {
|
|
593
|
-
message: string;
|
|
594
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
595
|
-
is_access_code_error: true;
|
|
596
|
-
created_at?: string | undefined;
|
|
597
|
-
}>>>;
|
|
598
354
|
insufficient_permissions: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
599
355
|
message: z.ZodString;
|
|
600
356
|
is_access_code_error: z.ZodLiteral<true>;
|
|
@@ -655,224 +411,93 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
655
411
|
field: string;
|
|
656
412
|
}[] | undefined;
|
|
657
413
|
}>>>;
|
|
658
|
-
|
|
414
|
+
access_code_inactive: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
659
415
|
message: z.ZodString;
|
|
660
416
|
is_access_code_error: z.ZodLiteral<true>;
|
|
661
417
|
created_at: z.ZodOptional<z.ZodString>;
|
|
662
418
|
} & {
|
|
663
|
-
error_code: z.ZodLiteral<"
|
|
419
|
+
error_code: z.ZodLiteral<"access_code_inactive">;
|
|
664
420
|
}, "strip", z.ZodTypeAny, {
|
|
665
421
|
message: string;
|
|
666
|
-
error_code: "
|
|
422
|
+
error_code: "access_code_inactive";
|
|
667
423
|
is_access_code_error: true;
|
|
668
424
|
created_at?: string | undefined;
|
|
669
425
|
}, {
|
|
670
426
|
message: string;
|
|
671
|
-
error_code: "
|
|
427
|
+
error_code: "access_code_inactive";
|
|
672
428
|
is_access_code_error: true;
|
|
673
429
|
created_at?: string | undefined;
|
|
674
430
|
}>>>;
|
|
675
|
-
|
|
431
|
+
salto_ks_user_not_subscribed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
676
432
|
message: z.ZodString;
|
|
677
433
|
is_access_code_error: z.ZodLiteral<true>;
|
|
678
434
|
created_at: z.ZodOptional<z.ZodString>;
|
|
679
435
|
} & {
|
|
680
|
-
error_code: z.ZodLiteral<"
|
|
436
|
+
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
681
437
|
}, "strip", z.ZodTypeAny, {
|
|
682
438
|
message: string;
|
|
683
|
-
error_code: "
|
|
439
|
+
error_code: "salto_ks_user_not_subscribed";
|
|
684
440
|
is_access_code_error: true;
|
|
685
441
|
created_at?: string | undefined;
|
|
686
442
|
}, {
|
|
687
443
|
message: string;
|
|
688
|
-
error_code: "
|
|
444
|
+
error_code: "salto_ks_user_not_subscribed";
|
|
689
445
|
is_access_code_error: true;
|
|
690
446
|
created_at?: string | undefined;
|
|
691
447
|
}>>>;
|
|
692
|
-
|
|
448
|
+
replaced_by_newer_access_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
693
449
|
message: z.ZodString;
|
|
694
450
|
is_access_code_error: z.ZodLiteral<true>;
|
|
695
451
|
created_at: z.ZodOptional<z.ZodString>;
|
|
696
452
|
} & {
|
|
697
|
-
error_code: z.ZodLiteral<"
|
|
453
|
+
error_code: z.ZodLiteral<"replaced_by_newer_access_code">;
|
|
698
454
|
}, "strip", z.ZodTypeAny, {
|
|
699
455
|
message: string;
|
|
700
|
-
error_code: "
|
|
456
|
+
error_code: "replaced_by_newer_access_code";
|
|
701
457
|
is_access_code_error: true;
|
|
702
458
|
created_at?: string | undefined;
|
|
703
459
|
}, {
|
|
704
460
|
message: string;
|
|
705
|
-
error_code: "
|
|
461
|
+
error_code: "replaced_by_newer_access_code";
|
|
706
462
|
is_access_code_error: true;
|
|
707
463
|
created_at?: string | undefined;
|
|
708
464
|
}>>>;
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
712
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
713
|
-
} & {
|
|
714
|
-
error_code: z.ZodLiteral<"access_code_inactive">;
|
|
715
|
-
}, "strip", z.ZodTypeAny, {
|
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
|
466
|
+
provider_issue?: {
|
|
716
467
|
message: string;
|
|
717
|
-
error_code: "
|
|
468
|
+
error_code: "provider_issue";
|
|
718
469
|
is_access_code_error: true;
|
|
719
470
|
created_at?: string | undefined;
|
|
720
|
-
}
|
|
471
|
+
} | null | undefined;
|
|
472
|
+
insufficient_permissions?: {
|
|
721
473
|
message: string;
|
|
722
|
-
error_code: "
|
|
474
|
+
error_code: "insufficient_permissions";
|
|
723
475
|
is_access_code_error: true;
|
|
724
476
|
created_at?: string | undefined;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
message: z.ZodString;
|
|
728
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
729
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
730
|
-
} & {
|
|
731
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
732
|
-
}, "strip", z.ZodTypeAny, {
|
|
477
|
+
} | null | undefined;
|
|
478
|
+
failed_to_set_on_device?: {
|
|
733
479
|
message: string;
|
|
734
|
-
error_code: "
|
|
480
|
+
error_code: "failed_to_set_on_device";
|
|
735
481
|
is_access_code_error: true;
|
|
736
482
|
created_at?: string | undefined;
|
|
737
|
-
}
|
|
483
|
+
} | null | undefined;
|
|
484
|
+
failed_to_remove_from_device?: {
|
|
738
485
|
message: string;
|
|
739
|
-
error_code: "
|
|
486
|
+
error_code: "failed_to_remove_from_device";
|
|
740
487
|
is_access_code_error: true;
|
|
741
488
|
created_at?: string | undefined;
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
message: z.ZodString;
|
|
745
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
746
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
747
|
-
} & {
|
|
748
|
-
error_code: z.ZodLiteral<"wyze_duplicate_code_name">;
|
|
749
|
-
}, "strip", z.ZodTypeAny, {
|
|
489
|
+
} | null | undefined;
|
|
490
|
+
duplicate_code_on_device?: {
|
|
750
491
|
message: string;
|
|
751
|
-
error_code: "
|
|
492
|
+
error_code: "duplicate_code_on_device";
|
|
752
493
|
is_access_code_error: true;
|
|
753
494
|
created_at?: string | undefined;
|
|
754
|
-
|
|
495
|
+
unmanaged_access_code_id?: string | undefined;
|
|
496
|
+
managed_access_code_id?: string | undefined;
|
|
497
|
+
} | null | undefined;
|
|
498
|
+
duplicate_code_attempt_prevented?: {
|
|
755
499
|
message: string;
|
|
756
|
-
error_code: "
|
|
757
|
-
is_access_code_error: true;
|
|
758
|
-
created_at?: string | undefined;
|
|
759
|
-
}>>>;
|
|
760
|
-
wyze_potential_duplicate_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
761
|
-
message: z.ZodString;
|
|
762
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
763
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
764
|
-
} & {
|
|
765
|
-
error_code: z.ZodLiteral<"wyze_potential_duplicate_code">;
|
|
766
|
-
}, "strip", z.ZodTypeAny, {
|
|
767
|
-
message: string;
|
|
768
|
-
error_code: "wyze_potential_duplicate_code";
|
|
769
|
-
is_access_code_error: true;
|
|
770
|
-
created_at?: string | undefined;
|
|
771
|
-
}, {
|
|
772
|
-
message: string;
|
|
773
|
-
error_code: "wyze_potential_duplicate_code";
|
|
774
|
-
is_access_code_error: true;
|
|
775
|
-
created_at?: string | undefined;
|
|
776
|
-
}>>>;
|
|
777
|
-
dormakaba_oracode_invalid_time_range: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
778
|
-
message: z.ZodString;
|
|
779
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
780
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
781
|
-
} & {
|
|
782
|
-
error_code: z.ZodLiteral<"dormakaba_oracode_invalid_time_range">;
|
|
783
|
-
}, "strip", z.ZodTypeAny, {
|
|
784
|
-
message: string;
|
|
785
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
786
|
-
is_access_code_error: true;
|
|
787
|
-
created_at?: string | undefined;
|
|
788
|
-
}, {
|
|
789
|
-
message: string;
|
|
790
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
791
|
-
is_access_code_error: true;
|
|
792
|
-
created_at?: string | undefined;
|
|
793
|
-
}>>>;
|
|
794
|
-
keynest_unsupported_third_party_locker: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
795
|
-
message: z.ZodString;
|
|
796
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
797
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
798
|
-
} & {
|
|
799
|
-
error_code: z.ZodLiteral<"keynest_unsupported_third_party_locker">;
|
|
800
|
-
}, "strip", z.ZodTypeAny, {
|
|
801
|
-
message: string;
|
|
802
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
803
|
-
is_access_code_error: true;
|
|
804
|
-
created_at?: string | undefined;
|
|
805
|
-
}, {
|
|
806
|
-
message: string;
|
|
807
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
808
|
-
is_access_code_error: true;
|
|
809
|
-
created_at?: string | undefined;
|
|
810
|
-
}>>>;
|
|
811
|
-
replaced_by_newer_access_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
812
|
-
message: z.ZodString;
|
|
813
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
814
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
815
|
-
} & {
|
|
816
|
-
error_code: z.ZodLiteral<"replaced_by_newer_access_code">;
|
|
817
|
-
}, "strip", z.ZodTypeAny, {
|
|
818
|
-
message: string;
|
|
819
|
-
error_code: "replaced_by_newer_access_code";
|
|
820
|
-
is_access_code_error: true;
|
|
821
|
-
created_at?: string | undefined;
|
|
822
|
-
}, {
|
|
823
|
-
message: string;
|
|
824
|
-
error_code: "replaced_by_newer_access_code";
|
|
825
|
-
is_access_code_error: true;
|
|
826
|
-
created_at?: string | undefined;
|
|
827
|
-
}>>>;
|
|
828
|
-
}, "strip", z.ZodTypeAny, {
|
|
829
|
-
provider_issue?: {
|
|
830
|
-
message: string;
|
|
831
|
-
error_code: "provider_issue";
|
|
832
|
-
is_access_code_error: true;
|
|
833
|
-
created_at?: string | undefined;
|
|
834
|
-
} | null | undefined;
|
|
835
|
-
insufficient_permissions?: {
|
|
836
|
-
message: string;
|
|
837
|
-
error_code: "insufficient_permissions";
|
|
838
|
-
is_access_code_error: true;
|
|
839
|
-
created_at?: string | undefined;
|
|
840
|
-
} | null | undefined;
|
|
841
|
-
smartthings_failed_to_set_access_code?: {
|
|
842
|
-
message: string;
|
|
843
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
844
|
-
is_access_code_error: true;
|
|
845
|
-
created_at?: string | undefined;
|
|
846
|
-
} | null | undefined;
|
|
847
|
-
smartthings_failed_to_set_after_multiple_retries?: {
|
|
848
|
-
message: string;
|
|
849
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
850
|
-
is_access_code_error: true;
|
|
851
|
-
created_at?: string | undefined;
|
|
852
|
-
} | null | undefined;
|
|
853
|
-
failed_to_set_on_device?: {
|
|
854
|
-
message: string;
|
|
855
|
-
error_code: "failed_to_set_on_device";
|
|
856
|
-
is_access_code_error: true;
|
|
857
|
-
created_at?: string | undefined;
|
|
858
|
-
} | null | undefined;
|
|
859
|
-
failed_to_remove_from_device?: {
|
|
860
|
-
message: string;
|
|
861
|
-
error_code: "failed_to_remove_from_device";
|
|
862
|
-
is_access_code_error: true;
|
|
863
|
-
created_at?: string | undefined;
|
|
864
|
-
} | null | undefined;
|
|
865
|
-
duplicate_code_on_device?: {
|
|
866
|
-
message: string;
|
|
867
|
-
error_code: "duplicate_code_on_device";
|
|
868
|
-
is_access_code_error: true;
|
|
869
|
-
created_at?: string | undefined;
|
|
870
|
-
unmanaged_access_code_id?: string | undefined;
|
|
871
|
-
managed_access_code_id?: string | undefined;
|
|
872
|
-
} | null | undefined;
|
|
873
|
-
duplicate_code_attempt_prevented?: {
|
|
874
|
-
message: string;
|
|
875
|
-
error_code: "duplicate_code_attempt_prevented";
|
|
500
|
+
error_code: "duplicate_code_attempt_prevented";
|
|
876
501
|
is_access_code_error: true;
|
|
877
502
|
created_at?: string | undefined;
|
|
878
503
|
} | null | undefined;
|
|
@@ -888,36 +513,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
888
513
|
is_access_code_error: true;
|
|
889
514
|
created_at?: string | undefined;
|
|
890
515
|
} | null | undefined;
|
|
891
|
-
kwikset_unable_to_confirm_code?: {
|
|
892
|
-
message: string;
|
|
893
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
894
|
-
is_access_code_error: true;
|
|
895
|
-
created_at?: string | undefined;
|
|
896
|
-
} | null | undefined;
|
|
897
|
-
kwikset_unable_to_confirm_deletion?: {
|
|
898
|
-
message: string;
|
|
899
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
900
|
-
is_access_code_error: true;
|
|
901
|
-
created_at?: string | undefined;
|
|
902
|
-
} | null | undefined;
|
|
903
|
-
august_lock_invalid_code_length?: {
|
|
904
|
-
message: string;
|
|
905
|
-
error_code: "august_lock_invalid_code_length";
|
|
906
|
-
is_access_code_error: true;
|
|
907
|
-
created_at?: string | undefined;
|
|
908
|
-
} | null | undefined;
|
|
909
|
-
august_lock_temporarily_offline?: {
|
|
910
|
-
message: string;
|
|
911
|
-
error_code: "august_lock_temporarily_offline";
|
|
912
|
-
is_access_code_error: true;
|
|
913
|
-
created_at?: string | undefined;
|
|
914
|
-
} | null | undefined;
|
|
915
|
-
august_lock_missing_keypad?: {
|
|
916
|
-
message: string;
|
|
917
|
-
error_code: "august_lock_missing_keypad";
|
|
918
|
-
is_access_code_error: true;
|
|
919
|
-
created_at?: string | undefined;
|
|
920
|
-
} | null | undefined;
|
|
921
516
|
access_code_inactive?: {
|
|
922
517
|
message: string;
|
|
923
518
|
error_code: "access_code_inactive";
|
|
@@ -930,30 +525,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
930
525
|
is_access_code_error: true;
|
|
931
526
|
created_at?: string | undefined;
|
|
932
527
|
} | null | undefined;
|
|
933
|
-
wyze_duplicate_code_name?: {
|
|
934
|
-
message: string;
|
|
935
|
-
error_code: "wyze_duplicate_code_name";
|
|
936
|
-
is_access_code_error: true;
|
|
937
|
-
created_at?: string | undefined;
|
|
938
|
-
} | null | undefined;
|
|
939
|
-
wyze_potential_duplicate_code?: {
|
|
940
|
-
message: string;
|
|
941
|
-
error_code: "wyze_potential_duplicate_code";
|
|
942
|
-
is_access_code_error: true;
|
|
943
|
-
created_at?: string | undefined;
|
|
944
|
-
} | null | undefined;
|
|
945
|
-
dormakaba_oracode_invalid_time_range?: {
|
|
946
|
-
message: string;
|
|
947
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
948
|
-
is_access_code_error: true;
|
|
949
|
-
created_at?: string | undefined;
|
|
950
|
-
} | null | undefined;
|
|
951
|
-
keynest_unsupported_third_party_locker?: {
|
|
952
|
-
message: string;
|
|
953
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
954
|
-
is_access_code_error: true;
|
|
955
|
-
created_at?: string | undefined;
|
|
956
|
-
} | null | undefined;
|
|
957
528
|
replaced_by_newer_access_code?: {
|
|
958
529
|
message: string;
|
|
959
530
|
error_code: "replaced_by_newer_access_code";
|
|
@@ -985,18 +556,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
985
556
|
is_access_code_error: true;
|
|
986
557
|
created_at?: string | undefined;
|
|
987
558
|
} | null | undefined;
|
|
988
|
-
smartthings_failed_to_set_access_code?: {
|
|
989
|
-
message: string;
|
|
990
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
991
|
-
is_access_code_error: true;
|
|
992
|
-
created_at?: string | undefined;
|
|
993
|
-
} | null | undefined;
|
|
994
|
-
smartthings_failed_to_set_after_multiple_retries?: {
|
|
995
|
-
message: string;
|
|
996
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
997
|
-
is_access_code_error: true;
|
|
998
|
-
created_at?: string | undefined;
|
|
999
|
-
} | null | undefined;
|
|
1000
559
|
failed_to_set_on_device?: {
|
|
1001
560
|
message: string;
|
|
1002
561
|
error_code: "failed_to_set_on_device";
|
|
@@ -1035,36 +594,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
1035
594
|
is_access_code_error: true;
|
|
1036
595
|
created_at?: string | undefined;
|
|
1037
596
|
} | null | undefined;
|
|
1038
|
-
kwikset_unable_to_confirm_code?: {
|
|
1039
|
-
message: string;
|
|
1040
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
1041
|
-
is_access_code_error: true;
|
|
1042
|
-
created_at?: string | undefined;
|
|
1043
|
-
} | null | undefined;
|
|
1044
|
-
kwikset_unable_to_confirm_deletion?: {
|
|
1045
|
-
message: string;
|
|
1046
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
1047
|
-
is_access_code_error: true;
|
|
1048
|
-
created_at?: string | undefined;
|
|
1049
|
-
} | null | undefined;
|
|
1050
|
-
august_lock_invalid_code_length?: {
|
|
1051
|
-
message: string;
|
|
1052
|
-
error_code: "august_lock_invalid_code_length";
|
|
1053
|
-
is_access_code_error: true;
|
|
1054
|
-
created_at?: string | undefined;
|
|
1055
|
-
} | null | undefined;
|
|
1056
|
-
august_lock_temporarily_offline?: {
|
|
1057
|
-
message: string;
|
|
1058
|
-
error_code: "august_lock_temporarily_offline";
|
|
1059
|
-
is_access_code_error: true;
|
|
1060
|
-
created_at?: string | undefined;
|
|
1061
|
-
} | null | undefined;
|
|
1062
|
-
august_lock_missing_keypad?: {
|
|
1063
|
-
message: string;
|
|
1064
|
-
error_code: "august_lock_missing_keypad";
|
|
1065
|
-
is_access_code_error: true;
|
|
1066
|
-
created_at?: string | undefined;
|
|
1067
|
-
} | null | undefined;
|
|
1068
597
|
access_code_inactive?: {
|
|
1069
598
|
message: string;
|
|
1070
599
|
error_code: "access_code_inactive";
|
|
@@ -1077,30 +606,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
1077
606
|
is_access_code_error: true;
|
|
1078
607
|
created_at?: string | undefined;
|
|
1079
608
|
} | null | undefined;
|
|
1080
|
-
wyze_duplicate_code_name?: {
|
|
1081
|
-
message: string;
|
|
1082
|
-
error_code: "wyze_duplicate_code_name";
|
|
1083
|
-
is_access_code_error: true;
|
|
1084
|
-
created_at?: string | undefined;
|
|
1085
|
-
} | null | undefined;
|
|
1086
|
-
wyze_potential_duplicate_code?: {
|
|
1087
|
-
message: string;
|
|
1088
|
-
error_code: "wyze_potential_duplicate_code";
|
|
1089
|
-
is_access_code_error: true;
|
|
1090
|
-
created_at?: string | undefined;
|
|
1091
|
-
} | null | undefined;
|
|
1092
|
-
dormakaba_oracode_invalid_time_range?: {
|
|
1093
|
-
message: string;
|
|
1094
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
1095
|
-
is_access_code_error: true;
|
|
1096
|
-
created_at?: string | undefined;
|
|
1097
|
-
} | null | undefined;
|
|
1098
|
-
keynest_unsupported_third_party_locker?: {
|
|
1099
|
-
message: string;
|
|
1100
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
1101
|
-
is_access_code_error: true;
|
|
1102
|
-
created_at?: string | undefined;
|
|
1103
|
-
} | null | undefined;
|
|
1104
609
|
replaced_by_newer_access_code?: {
|
|
1105
610
|
message: string;
|
|
1106
611
|
error_code: "replaced_by_newer_access_code";
|
|
@@ -1137,19 +642,6 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1137
642
|
}>, z.ZodObject<{
|
|
1138
643
|
message: z.ZodString;
|
|
1139
644
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1140
|
-
} & {
|
|
1141
|
-
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
1142
|
-
}, "strip", z.ZodTypeAny, {
|
|
1143
|
-
message: string;
|
|
1144
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
1145
|
-
created_at?: string | undefined;
|
|
1146
|
-
}, {
|
|
1147
|
-
message: string;
|
|
1148
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
1149
|
-
created_at?: string | undefined;
|
|
1150
|
-
}>, z.ZodObject<{
|
|
1151
|
-
message: z.ZodString;
|
|
1152
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1153
645
|
} & {
|
|
1154
646
|
warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
|
|
1155
647
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1163,19 +655,6 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1163
655
|
}>, z.ZodObject<{
|
|
1164
656
|
message: z.ZodString;
|
|
1165
657
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1166
|
-
} & {
|
|
1167
|
-
warning_code: z.ZodLiteral<"schlage_creation_outage">;
|
|
1168
|
-
}, "strip", z.ZodTypeAny, {
|
|
1169
|
-
message: string;
|
|
1170
|
-
warning_code: "schlage_creation_outage";
|
|
1171
|
-
created_at?: string | undefined;
|
|
1172
|
-
}, {
|
|
1173
|
-
message: string;
|
|
1174
|
-
warning_code: "schlage_creation_outage";
|
|
1175
|
-
created_at?: string | undefined;
|
|
1176
|
-
}>, z.ZodObject<{
|
|
1177
|
-
message: z.ZodString;
|
|
1178
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1179
658
|
} & {
|
|
1180
659
|
warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
|
|
1181
660
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1267,19 +746,6 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1267
746
|
}>, z.ZodObject<{
|
|
1268
747
|
message: z.ZodString;
|
|
1269
748
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1270
|
-
} & {
|
|
1271
|
-
warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
1272
|
-
}, "strip", z.ZodTypeAny, {
|
|
1273
|
-
message: string;
|
|
1274
|
-
warning_code: "august_lock_temporarily_offline";
|
|
1275
|
-
created_at?: string | undefined;
|
|
1276
|
-
}, {
|
|
1277
|
-
message: string;
|
|
1278
|
-
warning_code: "august_lock_temporarily_offline";
|
|
1279
|
-
created_at?: string | undefined;
|
|
1280
|
-
}>, z.ZodObject<{
|
|
1281
|
-
message: z.ZodString;
|
|
1282
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1283
749
|
} & {
|
|
1284
750
|
warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
|
|
1285
751
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1306,19 +772,6 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1306
772
|
}>, z.ZodObject<{
|
|
1307
773
|
message: z.ZodString;
|
|
1308
774
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1309
|
-
} & {
|
|
1310
|
-
warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
1311
|
-
}, "strip", z.ZodTypeAny, {
|
|
1312
|
-
message: string;
|
|
1313
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
1314
|
-
created_at?: string | undefined;
|
|
1315
|
-
}, {
|
|
1316
|
-
message: string;
|
|
1317
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
1318
|
-
created_at?: string | undefined;
|
|
1319
|
-
}>, z.ZodObject<{
|
|
1320
|
-
message: z.ZodString;
|
|
1321
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1322
775
|
} & {
|
|
1323
776
|
warning_code: z.ZodLiteral<"access_code_inactive">;
|
|
1324
777
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1332,19 +785,6 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
1332
785
|
}>, z.ZodObject<{
|
|
1333
786
|
message: z.ZodString;
|
|
1334
787
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1335
|
-
} & {
|
|
1336
|
-
warning_code: z.ZodLiteral<"ultraloq_access_code_disabled">;
|
|
1337
|
-
}, "strip", z.ZodTypeAny, {
|
|
1338
|
-
message: string;
|
|
1339
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
1340
|
-
created_at?: string | undefined;
|
|
1341
|
-
}, {
|
|
1342
|
-
message: string;
|
|
1343
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
1344
|
-
created_at?: string | undefined;
|
|
1345
|
-
}>, z.ZodObject<{
|
|
1346
|
-
message: z.ZodString;
|
|
1347
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1348
788
|
} & {
|
|
1349
789
|
warning_code: z.ZodLiteral<"using_backup_access_code">;
|
|
1350
790
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1385,20 +825,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1385
825
|
warning_code: "provider_issue";
|
|
1386
826
|
created_at?: string | undefined;
|
|
1387
827
|
}>>>;
|
|
1388
|
-
smartthings_failed_to_set_access_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1389
|
-
message: z.ZodString;
|
|
1390
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1391
|
-
} & {
|
|
1392
|
-
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
1393
|
-
}, "strip", z.ZodTypeAny, {
|
|
1394
|
-
message: string;
|
|
1395
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
1396
|
-
created_at?: string | undefined;
|
|
1397
|
-
}, {
|
|
1398
|
-
message: string;
|
|
1399
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
1400
|
-
created_at?: string | undefined;
|
|
1401
|
-
}>>>;
|
|
1402
828
|
schlage_detected_duplicate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1403
829
|
message: z.ZodString;
|
|
1404
830
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1413,20 +839,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1413
839
|
warning_code: "schlage_detected_duplicate";
|
|
1414
840
|
created_at?: string | undefined;
|
|
1415
841
|
}>>>;
|
|
1416
|
-
schlage_creation_outage: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1417
|
-
message: z.ZodString;
|
|
1418
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1419
|
-
} & {
|
|
1420
|
-
warning_code: z.ZodLiteral<"schlage_creation_outage">;
|
|
1421
|
-
}, "strip", z.ZodTypeAny, {
|
|
1422
|
-
message: string;
|
|
1423
|
-
warning_code: "schlage_creation_outage";
|
|
1424
|
-
created_at?: string | undefined;
|
|
1425
|
-
}, {
|
|
1426
|
-
message: string;
|
|
1427
|
-
warning_code: "schlage_creation_outage";
|
|
1428
|
-
created_at?: string | undefined;
|
|
1429
|
-
}>>>;
|
|
1430
842
|
schlage_access_code_ambiguous_timezone_dst_risk: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1431
843
|
message: z.ZodString;
|
|
1432
844
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1523,20 +935,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1523
935
|
warning_code: "third_party_integration_detected";
|
|
1524
936
|
created_at?: string | undefined;
|
|
1525
937
|
}>>>;
|
|
1526
|
-
august_lock_temporarily_offline: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1527
|
-
message: z.ZodString;
|
|
1528
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1529
|
-
} & {
|
|
1530
|
-
warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
1531
|
-
}, "strip", z.ZodTypeAny, {
|
|
1532
|
-
message: string;
|
|
1533
|
-
warning_code: "august_lock_temporarily_offline";
|
|
1534
|
-
created_at?: string | undefined;
|
|
1535
|
-
}, {
|
|
1536
|
-
message: string;
|
|
1537
|
-
warning_code: "august_lock_temporarily_offline";
|
|
1538
|
-
created_at?: string | undefined;
|
|
1539
|
-
}>>>;
|
|
1540
938
|
igloo_algopin_must_be_used_within_24_hours: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1541
939
|
message: z.ZodString;
|
|
1542
940
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1565,20 +963,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1565
963
|
warning_code: "management_transferred";
|
|
1566
964
|
created_at?: string | undefined;
|
|
1567
965
|
}>>>;
|
|
1568
|
-
kwikset_unable_to_confirm_code_warning: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1569
|
-
message: z.ZodString;
|
|
1570
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1571
|
-
} & {
|
|
1572
|
-
warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
1573
|
-
}, "strip", z.ZodTypeAny, {
|
|
1574
|
-
message: string;
|
|
1575
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
1576
|
-
created_at?: string | undefined;
|
|
1577
|
-
}, {
|
|
1578
|
-
message: string;
|
|
1579
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
1580
|
-
created_at?: string | undefined;
|
|
1581
|
-
}>>>;
|
|
1582
966
|
access_code_inactive: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1583
967
|
message: z.ZodString;
|
|
1584
968
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1593,20 +977,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1593
977
|
warning_code: "access_code_inactive";
|
|
1594
978
|
created_at?: string | undefined;
|
|
1595
979
|
}>>>;
|
|
1596
|
-
ultraloq_access_code_disabled: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1597
|
-
message: z.ZodString;
|
|
1598
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1599
|
-
} & {
|
|
1600
|
-
warning_code: z.ZodLiteral<"ultraloq_access_code_disabled">;
|
|
1601
|
-
}, "strip", z.ZodTypeAny, {
|
|
1602
|
-
message: string;
|
|
1603
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
1604
|
-
created_at?: string | undefined;
|
|
1605
|
-
}, {
|
|
1606
|
-
message: string;
|
|
1607
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
1608
|
-
created_at?: string | undefined;
|
|
1609
|
-
}>>>;
|
|
1610
980
|
using_backup_access_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1611
981
|
message: z.ZodString;
|
|
1612
982
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -1651,16 +1021,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1651
1021
|
warning_code: "provider_issue";
|
|
1652
1022
|
created_at?: string | undefined;
|
|
1653
1023
|
} | null | undefined;
|
|
1654
|
-
smartthings_failed_to_set_access_code?: {
|
|
1655
|
-
message: string;
|
|
1656
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
1657
|
-
created_at?: string | undefined;
|
|
1658
|
-
} | null | undefined;
|
|
1659
|
-
august_lock_temporarily_offline?: {
|
|
1660
|
-
message: string;
|
|
1661
|
-
warning_code: "august_lock_temporarily_offline";
|
|
1662
|
-
created_at?: string | undefined;
|
|
1663
|
-
} | null | undefined;
|
|
1664
1024
|
access_code_inactive?: {
|
|
1665
1025
|
message: string;
|
|
1666
1026
|
warning_code: "access_code_inactive";
|
|
@@ -1671,11 +1031,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1671
1031
|
warning_code: "schlage_detected_duplicate";
|
|
1672
1032
|
created_at?: string | undefined;
|
|
1673
1033
|
} | null | undefined;
|
|
1674
|
-
schlage_creation_outage?: {
|
|
1675
|
-
message: string;
|
|
1676
|
-
warning_code: "schlage_creation_outage";
|
|
1677
|
-
created_at?: string | undefined;
|
|
1678
|
-
} | null | undefined;
|
|
1679
1034
|
schlage_access_code_ambiguous_timezone_dst_risk?: {
|
|
1680
1035
|
message: string;
|
|
1681
1036
|
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
@@ -1701,11 +1056,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1701
1056
|
warning_code: "management_transferred";
|
|
1702
1057
|
created_at?: string | undefined;
|
|
1703
1058
|
} | null | undefined;
|
|
1704
|
-
ultraloq_access_code_disabled?: {
|
|
1705
|
-
message: string;
|
|
1706
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
1707
|
-
created_at?: string | undefined;
|
|
1708
|
-
} | null | undefined;
|
|
1709
1059
|
using_backup_access_code?: {
|
|
1710
1060
|
message: string;
|
|
1711
1061
|
warning_code: "using_backup_access_code";
|
|
@@ -1722,11 +1072,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1722
1072
|
field: string;
|
|
1723
1073
|
}[] | undefined;
|
|
1724
1074
|
} | null | undefined;
|
|
1725
|
-
kwikset_unable_to_confirm_code_warning?: {
|
|
1726
|
-
message: string;
|
|
1727
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
1728
|
-
created_at?: string | undefined;
|
|
1729
|
-
} | null | undefined;
|
|
1730
1075
|
}, {
|
|
1731
1076
|
being_deleted?: {
|
|
1732
1077
|
message: string;
|
|
@@ -1743,16 +1088,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1743
1088
|
warning_code: "provider_issue";
|
|
1744
1089
|
created_at?: string | undefined;
|
|
1745
1090
|
} | null | undefined;
|
|
1746
|
-
smartthings_failed_to_set_access_code?: {
|
|
1747
|
-
message: string;
|
|
1748
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
1749
|
-
created_at?: string | undefined;
|
|
1750
|
-
} | null | undefined;
|
|
1751
|
-
august_lock_temporarily_offline?: {
|
|
1752
|
-
message: string;
|
|
1753
|
-
warning_code: "august_lock_temporarily_offline";
|
|
1754
|
-
created_at?: string | undefined;
|
|
1755
|
-
} | null | undefined;
|
|
1756
1091
|
access_code_inactive?: {
|
|
1757
1092
|
message: string;
|
|
1758
1093
|
warning_code: "access_code_inactive";
|
|
@@ -1763,11 +1098,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1763
1098
|
warning_code: "schlage_detected_duplicate";
|
|
1764
1099
|
created_at?: string | undefined;
|
|
1765
1100
|
} | null | undefined;
|
|
1766
|
-
schlage_creation_outage?: {
|
|
1767
|
-
message: string;
|
|
1768
|
-
warning_code: "schlage_creation_outage";
|
|
1769
|
-
created_at?: string | undefined;
|
|
1770
|
-
} | null | undefined;
|
|
1771
1101
|
schlage_access_code_ambiguous_timezone_dst_risk?: {
|
|
1772
1102
|
message: string;
|
|
1773
1103
|
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
@@ -1793,11 +1123,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1793
1123
|
warning_code: "management_transferred";
|
|
1794
1124
|
created_at?: string | undefined;
|
|
1795
1125
|
} | null | undefined;
|
|
1796
|
-
ultraloq_access_code_disabled?: {
|
|
1797
|
-
message: string;
|
|
1798
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
1799
|
-
created_at?: string | undefined;
|
|
1800
|
-
} | null | undefined;
|
|
1801
1126
|
using_backup_access_code?: {
|
|
1802
1127
|
message: string;
|
|
1803
1128
|
warning_code: "using_backup_access_code";
|
|
@@ -1814,11 +1139,6 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1814
1139
|
field: string;
|
|
1815
1140
|
}[] | undefined;
|
|
1816
1141
|
} | null | undefined;
|
|
1817
|
-
kwikset_unable_to_confirm_code_warning?: {
|
|
1818
|
-
message: string;
|
|
1819
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
1820
|
-
created_at?: string | undefined;
|
|
1821
|
-
} | null | undefined;
|
|
1822
1142
|
}>;
|
|
1823
1143
|
export type AccessCodeWarningMap = z.infer<typeof _access_code_warning_map>;
|
|
1824
1144
|
export declare const dormakaba_oracode_access_code_metadata: z.ZodObject<{
|
|
@@ -1865,239 +1185,31 @@ export declare const access_code: z.ZodObject<{
|
|
|
1865
1185
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1866
1186
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1867
1187
|
} & {
|
|
1868
|
-
error_code: z.ZodLiteral<"provider_issue">;
|
|
1869
|
-
}, "strip", z.ZodTypeAny, {
|
|
1870
|
-
message: string;
|
|
1871
|
-
error_code: "provider_issue";
|
|
1872
|
-
is_access_code_error: true;
|
|
1873
|
-
created_at?: string | undefined;
|
|
1874
|
-
}, {
|
|
1875
|
-
message: string;
|
|
1876
|
-
error_code: "provider_issue";
|
|
1877
|
-
is_access_code_error: true;
|
|
1878
|
-
created_at?: string | undefined;
|
|
1879
|
-
}>, z.ZodObject<{
|
|
1880
|
-
message: z.ZodString;
|
|
1881
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
1882
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1883
|
-
} & {
|
|
1884
|
-
error_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
1885
|
-
}, "strip", z.ZodTypeAny, {
|
|
1886
|
-
message: string;
|
|
1887
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
1888
|
-
is_access_code_error: true;
|
|
1889
|
-
created_at?: string | undefined;
|
|
1890
|
-
}, {
|
|
1891
|
-
message: string;
|
|
1892
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
1893
|
-
is_access_code_error: true;
|
|
1894
|
-
created_at?: string | undefined;
|
|
1895
|
-
}>, z.ZodObject<{
|
|
1896
|
-
message: z.ZodString;
|
|
1897
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
1898
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1899
|
-
} & {
|
|
1900
|
-
error_code: z.ZodLiteral<"smartthings_failed_to_set_after_multiple_retries">;
|
|
1901
|
-
}, "strip", z.ZodTypeAny, {
|
|
1902
|
-
message: string;
|
|
1903
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
1904
|
-
is_access_code_error: true;
|
|
1905
|
-
created_at?: string | undefined;
|
|
1906
|
-
}, {
|
|
1907
|
-
message: string;
|
|
1908
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
1909
|
-
is_access_code_error: true;
|
|
1910
|
-
created_at?: string | undefined;
|
|
1911
|
-
}>, z.ZodObject<{
|
|
1912
|
-
message: z.ZodString;
|
|
1913
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
1914
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1915
|
-
} & {
|
|
1916
|
-
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
1917
|
-
}, "strip", z.ZodTypeAny, {
|
|
1918
|
-
message: string;
|
|
1919
|
-
error_code: "failed_to_set_on_device";
|
|
1920
|
-
is_access_code_error: true;
|
|
1921
|
-
created_at?: string | undefined;
|
|
1922
|
-
}, {
|
|
1923
|
-
message: string;
|
|
1924
|
-
error_code: "failed_to_set_on_device";
|
|
1925
|
-
is_access_code_error: true;
|
|
1926
|
-
created_at?: string | undefined;
|
|
1927
|
-
}>, z.ZodObject<{
|
|
1928
|
-
message: z.ZodString;
|
|
1929
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
1930
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1931
|
-
} & {
|
|
1932
|
-
error_code: z.ZodLiteral<"failed_to_remove_from_device">;
|
|
1933
|
-
}, "strip", z.ZodTypeAny, {
|
|
1934
|
-
message: string;
|
|
1935
|
-
error_code: "failed_to_remove_from_device";
|
|
1936
|
-
is_access_code_error: true;
|
|
1937
|
-
created_at?: string | undefined;
|
|
1938
|
-
}, {
|
|
1939
|
-
message: string;
|
|
1940
|
-
error_code: "failed_to_remove_from_device";
|
|
1941
|
-
is_access_code_error: true;
|
|
1942
|
-
created_at?: string | undefined;
|
|
1943
|
-
}>, z.ZodObject<{
|
|
1944
|
-
message: z.ZodString;
|
|
1945
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
1946
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1947
|
-
} & {
|
|
1948
|
-
error_code: z.ZodLiteral<"duplicate_code_on_device">;
|
|
1949
|
-
unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
|
|
1950
|
-
managed_access_code_id: z.ZodOptional<z.ZodString>;
|
|
1951
|
-
}, "strip", z.ZodTypeAny, {
|
|
1952
|
-
message: string;
|
|
1953
|
-
error_code: "duplicate_code_on_device";
|
|
1954
|
-
is_access_code_error: true;
|
|
1955
|
-
created_at?: string | undefined;
|
|
1956
|
-
unmanaged_access_code_id?: string | undefined;
|
|
1957
|
-
managed_access_code_id?: string | undefined;
|
|
1958
|
-
}, {
|
|
1959
|
-
message: string;
|
|
1960
|
-
error_code: "duplicate_code_on_device";
|
|
1961
|
-
is_access_code_error: true;
|
|
1962
|
-
created_at?: string | undefined;
|
|
1963
|
-
unmanaged_access_code_id?: string | undefined;
|
|
1964
|
-
managed_access_code_id?: string | undefined;
|
|
1965
|
-
}>, z.ZodObject<{
|
|
1966
|
-
message: z.ZodString;
|
|
1967
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
1968
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1969
|
-
} & {
|
|
1970
|
-
error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
|
|
1971
|
-
}, "strip", z.ZodTypeAny, {
|
|
1972
|
-
message: string;
|
|
1973
|
-
error_code: "duplicate_code_attempt_prevented";
|
|
1974
|
-
is_access_code_error: true;
|
|
1975
|
-
created_at?: string | undefined;
|
|
1976
|
-
}, {
|
|
1977
|
-
message: string;
|
|
1978
|
-
error_code: "duplicate_code_attempt_prevented";
|
|
1979
|
-
is_access_code_error: true;
|
|
1980
|
-
created_at?: string | undefined;
|
|
1981
|
-
}>, z.ZodObject<{
|
|
1982
|
-
message: z.ZodString;
|
|
1983
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
1984
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1985
|
-
} & {
|
|
1986
|
-
error_code: z.ZodLiteral<"no_space_for_access_code_on_device">;
|
|
1987
|
-
}, "strip", z.ZodTypeAny, {
|
|
1988
|
-
message: string;
|
|
1989
|
-
error_code: "no_space_for_access_code_on_device";
|
|
1990
|
-
is_access_code_error: true;
|
|
1991
|
-
created_at?: string | undefined;
|
|
1992
|
-
}, {
|
|
1993
|
-
message: string;
|
|
1994
|
-
error_code: "no_space_for_access_code_on_device";
|
|
1995
|
-
is_access_code_error: true;
|
|
1996
|
-
created_at?: string | undefined;
|
|
1997
|
-
}>, z.ZodObject<{
|
|
1998
|
-
message: z.ZodString;
|
|
1999
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
2000
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2001
|
-
} & {
|
|
2002
|
-
error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
|
|
2003
|
-
}, "strip", z.ZodTypeAny, {
|
|
2004
|
-
message: string;
|
|
2005
|
-
error_code: "access_code_state_unconfirmed";
|
|
2006
|
-
is_access_code_error: true;
|
|
2007
|
-
created_at?: string | undefined;
|
|
2008
|
-
}, {
|
|
2009
|
-
message: string;
|
|
2010
|
-
error_code: "access_code_state_unconfirmed";
|
|
2011
|
-
is_access_code_error: true;
|
|
2012
|
-
created_at?: string | undefined;
|
|
2013
|
-
}>, z.ZodObject<{
|
|
2014
|
-
message: z.ZodString;
|
|
2015
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
2016
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2017
|
-
} & {
|
|
2018
|
-
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
2019
|
-
}, "strip", z.ZodTypeAny, {
|
|
2020
|
-
message: string;
|
|
2021
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
2022
|
-
is_access_code_error: true;
|
|
2023
|
-
created_at?: string | undefined;
|
|
2024
|
-
}, {
|
|
2025
|
-
message: string;
|
|
2026
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
2027
|
-
is_access_code_error: true;
|
|
2028
|
-
created_at?: string | undefined;
|
|
2029
|
-
}>, z.ZodObject<{
|
|
2030
|
-
message: z.ZodString;
|
|
2031
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
2032
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2033
|
-
} & {
|
|
2034
|
-
error_code: z.ZodLiteral<"kwikset_unable_to_confirm_deletion">;
|
|
2035
|
-
}, "strip", z.ZodTypeAny, {
|
|
2036
|
-
message: string;
|
|
2037
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
2038
|
-
is_access_code_error: true;
|
|
2039
|
-
created_at?: string | undefined;
|
|
2040
|
-
}, {
|
|
2041
|
-
message: string;
|
|
2042
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
2043
|
-
is_access_code_error: true;
|
|
2044
|
-
created_at?: string | undefined;
|
|
2045
|
-
}>, z.ZodObject<{
|
|
2046
|
-
message: z.ZodString;
|
|
2047
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
2048
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2049
|
-
} & {
|
|
2050
|
-
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
2051
|
-
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
2052
|
-
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2053
|
-
field: z.ZodString;
|
|
2054
|
-
from: z.ZodNullable<z.ZodString>;
|
|
2055
|
-
to: z.ZodNullable<z.ZodString>;
|
|
2056
|
-
}, "strip", z.ZodTypeAny, {
|
|
2057
|
-
from: string | null;
|
|
2058
|
-
to: string | null;
|
|
2059
|
-
field: string;
|
|
2060
|
-
}, {
|
|
2061
|
-
from: string | null;
|
|
2062
|
-
to: string | null;
|
|
2063
|
-
field: string;
|
|
2064
|
-
}>, "many">>;
|
|
1188
|
+
error_code: z.ZodLiteral<"provider_issue">;
|
|
2065
1189
|
}, "strip", z.ZodTypeAny, {
|
|
2066
1190
|
message: string;
|
|
2067
|
-
error_code: "
|
|
1191
|
+
error_code: "provider_issue";
|
|
2068
1192
|
is_access_code_error: true;
|
|
2069
1193
|
created_at?: string | undefined;
|
|
2070
|
-
change_type?: "modified" | "removed" | undefined;
|
|
2071
|
-
modified_fields?: {
|
|
2072
|
-
from: string | null;
|
|
2073
|
-
to: string | null;
|
|
2074
|
-
field: string;
|
|
2075
|
-
}[] | undefined;
|
|
2076
1194
|
}, {
|
|
2077
1195
|
message: string;
|
|
2078
|
-
error_code: "
|
|
1196
|
+
error_code: "provider_issue";
|
|
2079
1197
|
is_access_code_error: true;
|
|
2080
1198
|
created_at?: string | undefined;
|
|
2081
|
-
change_type?: "modified" | "removed" | undefined;
|
|
2082
|
-
modified_fields?: {
|
|
2083
|
-
from: string | null;
|
|
2084
|
-
to: string | null;
|
|
2085
|
-
field: string;
|
|
2086
|
-
}[] | undefined;
|
|
2087
1199
|
}>, z.ZodObject<{
|
|
2088
1200
|
message: z.ZodString;
|
|
2089
1201
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2090
1202
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2091
1203
|
} & {
|
|
2092
|
-
error_code: z.ZodLiteral<"
|
|
1204
|
+
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
2093
1205
|
}, "strip", z.ZodTypeAny, {
|
|
2094
1206
|
message: string;
|
|
2095
|
-
error_code: "
|
|
1207
|
+
error_code: "failed_to_set_on_device";
|
|
2096
1208
|
is_access_code_error: true;
|
|
2097
1209
|
created_at?: string | undefined;
|
|
2098
1210
|
}, {
|
|
2099
1211
|
message: string;
|
|
2100
|
-
error_code: "
|
|
1212
|
+
error_code: "failed_to_set_on_device";
|
|
2101
1213
|
is_access_code_error: true;
|
|
2102
1214
|
created_at?: string | undefined;
|
|
2103
1215
|
}>, z.ZodObject<{
|
|
@@ -2105,15 +1217,15 @@ export declare const access_code: z.ZodObject<{
|
|
|
2105
1217
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2106
1218
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2107
1219
|
} & {
|
|
2108
|
-
error_code: z.ZodLiteral<"
|
|
1220
|
+
error_code: z.ZodLiteral<"failed_to_remove_from_device">;
|
|
2109
1221
|
}, "strip", z.ZodTypeAny, {
|
|
2110
1222
|
message: string;
|
|
2111
|
-
error_code: "
|
|
1223
|
+
error_code: "failed_to_remove_from_device";
|
|
2112
1224
|
is_access_code_error: true;
|
|
2113
1225
|
created_at?: string | undefined;
|
|
2114
1226
|
}, {
|
|
2115
1227
|
message: string;
|
|
2116
|
-
error_code: "
|
|
1228
|
+
error_code: "failed_to_remove_from_device";
|
|
2117
1229
|
is_access_code_error: true;
|
|
2118
1230
|
created_at?: string | undefined;
|
|
2119
1231
|
}>, z.ZodObject<{
|
|
@@ -2121,31 +1233,37 @@ export declare const access_code: z.ZodObject<{
|
|
|
2121
1233
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2122
1234
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2123
1235
|
} & {
|
|
2124
|
-
error_code: z.ZodLiteral<"
|
|
1236
|
+
error_code: z.ZodLiteral<"duplicate_code_on_device">;
|
|
1237
|
+
unmanaged_access_code_id: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
managed_access_code_id: z.ZodOptional<z.ZodString>;
|
|
2125
1239
|
}, "strip", z.ZodTypeAny, {
|
|
2126
1240
|
message: string;
|
|
2127
|
-
error_code: "
|
|
1241
|
+
error_code: "duplicate_code_on_device";
|
|
2128
1242
|
is_access_code_error: true;
|
|
2129
1243
|
created_at?: string | undefined;
|
|
1244
|
+
unmanaged_access_code_id?: string | undefined;
|
|
1245
|
+
managed_access_code_id?: string | undefined;
|
|
2130
1246
|
}, {
|
|
2131
1247
|
message: string;
|
|
2132
|
-
error_code: "
|
|
1248
|
+
error_code: "duplicate_code_on_device";
|
|
2133
1249
|
is_access_code_error: true;
|
|
2134
1250
|
created_at?: string | undefined;
|
|
1251
|
+
unmanaged_access_code_id?: string | undefined;
|
|
1252
|
+
managed_access_code_id?: string | undefined;
|
|
2135
1253
|
}>, z.ZodObject<{
|
|
2136
1254
|
message: z.ZodString;
|
|
2137
1255
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2138
1256
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2139
1257
|
} & {
|
|
2140
|
-
error_code: z.ZodLiteral<"
|
|
1258
|
+
error_code: z.ZodLiteral<"duplicate_code_attempt_prevented">;
|
|
2141
1259
|
}, "strip", z.ZodTypeAny, {
|
|
2142
1260
|
message: string;
|
|
2143
|
-
error_code: "
|
|
1261
|
+
error_code: "duplicate_code_attempt_prevented";
|
|
2144
1262
|
is_access_code_error: true;
|
|
2145
1263
|
created_at?: string | undefined;
|
|
2146
1264
|
}, {
|
|
2147
1265
|
message: string;
|
|
2148
|
-
error_code: "
|
|
1266
|
+
error_code: "duplicate_code_attempt_prevented";
|
|
2149
1267
|
is_access_code_error: true;
|
|
2150
1268
|
created_at?: string | undefined;
|
|
2151
1269
|
}>, z.ZodObject<{
|
|
@@ -2153,15 +1271,15 @@ export declare const access_code: z.ZodObject<{
|
|
|
2153
1271
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2154
1272
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2155
1273
|
} & {
|
|
2156
|
-
error_code: z.ZodLiteral<"
|
|
1274
|
+
error_code: z.ZodLiteral<"no_space_for_access_code_on_device">;
|
|
2157
1275
|
}, "strip", z.ZodTypeAny, {
|
|
2158
1276
|
message: string;
|
|
2159
|
-
error_code: "
|
|
1277
|
+
error_code: "no_space_for_access_code_on_device";
|
|
2160
1278
|
is_access_code_error: true;
|
|
2161
1279
|
created_at?: string | undefined;
|
|
2162
1280
|
}, {
|
|
2163
1281
|
message: string;
|
|
2164
|
-
error_code: "
|
|
1282
|
+
error_code: "no_space_for_access_code_on_device";
|
|
2165
1283
|
is_access_code_error: true;
|
|
2166
1284
|
created_at?: string | undefined;
|
|
2167
1285
|
}>, z.ZodObject<{
|
|
@@ -2169,15 +1287,15 @@ export declare const access_code: z.ZodObject<{
|
|
|
2169
1287
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2170
1288
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2171
1289
|
} & {
|
|
2172
|
-
error_code: z.ZodLiteral<"
|
|
1290
|
+
error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
|
|
2173
1291
|
}, "strip", z.ZodTypeAny, {
|
|
2174
1292
|
message: string;
|
|
2175
|
-
error_code: "
|
|
1293
|
+
error_code: "access_code_state_unconfirmed";
|
|
2176
1294
|
is_access_code_error: true;
|
|
2177
1295
|
created_at?: string | undefined;
|
|
2178
1296
|
}, {
|
|
2179
1297
|
message: string;
|
|
2180
|
-
error_code: "
|
|
1298
|
+
error_code: "access_code_state_unconfirmed";
|
|
2181
1299
|
is_access_code_error: true;
|
|
2182
1300
|
created_at?: string | undefined;
|
|
2183
1301
|
}>, z.ZodObject<{
|
|
@@ -2185,31 +1303,57 @@ export declare const access_code: z.ZodObject<{
|
|
|
2185
1303
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2186
1304
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2187
1305
|
} & {
|
|
2188
|
-
error_code: z.ZodLiteral<"
|
|
1306
|
+
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
1307
|
+
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
1308
|
+
modified_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1309
|
+
field: z.ZodString;
|
|
1310
|
+
from: z.ZodNullable<z.ZodString>;
|
|
1311
|
+
to: z.ZodNullable<z.ZodString>;
|
|
1312
|
+
}, "strip", z.ZodTypeAny, {
|
|
1313
|
+
from: string | null;
|
|
1314
|
+
to: string | null;
|
|
1315
|
+
field: string;
|
|
1316
|
+
}, {
|
|
1317
|
+
from: string | null;
|
|
1318
|
+
to: string | null;
|
|
1319
|
+
field: string;
|
|
1320
|
+
}>, "many">>;
|
|
2189
1321
|
}, "strip", z.ZodTypeAny, {
|
|
2190
1322
|
message: string;
|
|
2191
|
-
error_code: "
|
|
1323
|
+
error_code: "code_modified_external_to_seam";
|
|
2192
1324
|
is_access_code_error: true;
|
|
2193
1325
|
created_at?: string | undefined;
|
|
1326
|
+
change_type?: "modified" | "removed" | undefined;
|
|
1327
|
+
modified_fields?: {
|
|
1328
|
+
from: string | null;
|
|
1329
|
+
to: string | null;
|
|
1330
|
+
field: string;
|
|
1331
|
+
}[] | undefined;
|
|
2194
1332
|
}, {
|
|
2195
1333
|
message: string;
|
|
2196
|
-
error_code: "
|
|
1334
|
+
error_code: "code_modified_external_to_seam";
|
|
2197
1335
|
is_access_code_error: true;
|
|
2198
1336
|
created_at?: string | undefined;
|
|
1337
|
+
change_type?: "modified" | "removed" | undefined;
|
|
1338
|
+
modified_fields?: {
|
|
1339
|
+
from: string | null;
|
|
1340
|
+
to: string | null;
|
|
1341
|
+
field: string;
|
|
1342
|
+
}[] | undefined;
|
|
2199
1343
|
}>, z.ZodObject<{
|
|
2200
1344
|
message: z.ZodString;
|
|
2201
1345
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2202
1346
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2203
1347
|
} & {
|
|
2204
|
-
error_code: z.ZodLiteral<"
|
|
1348
|
+
error_code: z.ZodLiteral<"access_code_inactive">;
|
|
2205
1349
|
}, "strip", z.ZodTypeAny, {
|
|
2206
1350
|
message: string;
|
|
2207
|
-
error_code: "
|
|
1351
|
+
error_code: "access_code_inactive";
|
|
2208
1352
|
is_access_code_error: true;
|
|
2209
1353
|
created_at?: string | undefined;
|
|
2210
1354
|
}, {
|
|
2211
1355
|
message: string;
|
|
2212
|
-
error_code: "
|
|
1356
|
+
error_code: "access_code_inactive";
|
|
2213
1357
|
is_access_code_error: true;
|
|
2214
1358
|
created_at?: string | undefined;
|
|
2215
1359
|
}>, z.ZodObject<{
|
|
@@ -2217,15 +1361,15 @@ export declare const access_code: z.ZodObject<{
|
|
|
2217
1361
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2218
1362
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2219
1363
|
} & {
|
|
2220
|
-
error_code: z.ZodLiteral<"
|
|
1364
|
+
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
2221
1365
|
}, "strip", z.ZodTypeAny, {
|
|
2222
1366
|
message: string;
|
|
2223
|
-
error_code: "
|
|
1367
|
+
error_code: "salto_ks_user_not_subscribed";
|
|
2224
1368
|
is_access_code_error: true;
|
|
2225
1369
|
created_at?: string | undefined;
|
|
2226
1370
|
}, {
|
|
2227
1371
|
message: string;
|
|
2228
|
-
error_code: "
|
|
1372
|
+
error_code: "salto_ks_user_not_subscribed";
|
|
2229
1373
|
is_access_code_error: true;
|
|
2230
1374
|
created_at?: string | undefined;
|
|
2231
1375
|
}>, z.ZodObject<{
|
|
@@ -2233,15 +1377,15 @@ export declare const access_code: z.ZodObject<{
|
|
|
2233
1377
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2234
1378
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2235
1379
|
} & {
|
|
2236
|
-
error_code: z.ZodLiteral<"
|
|
1380
|
+
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
2237
1381
|
}, "strip", z.ZodTypeAny, {
|
|
2238
1382
|
message: string;
|
|
2239
|
-
error_code: "
|
|
1383
|
+
error_code: "insufficient_permissions";
|
|
2240
1384
|
is_access_code_error: true;
|
|
2241
1385
|
created_at?: string | undefined;
|
|
2242
1386
|
}, {
|
|
2243
1387
|
message: string;
|
|
2244
|
-
error_code: "
|
|
1388
|
+
error_code: "insufficient_permissions";
|
|
2245
1389
|
is_access_code_error: true;
|
|
2246
1390
|
created_at?: string | undefined;
|
|
2247
1391
|
}>, z.ZodObject<{
|
|
@@ -2631,19 +1775,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
2631
1775
|
}>, z.ZodObject<{
|
|
2632
1776
|
message: z.ZodString;
|
|
2633
1777
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2634
|
-
} & {
|
|
2635
|
-
warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
|
|
2636
|
-
}, "strip", z.ZodTypeAny, {
|
|
2637
|
-
message: string;
|
|
2638
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
2639
|
-
created_at?: string | undefined;
|
|
2640
|
-
}, {
|
|
2641
|
-
message: string;
|
|
2642
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
2643
|
-
created_at?: string | undefined;
|
|
2644
|
-
}>, z.ZodObject<{
|
|
2645
|
-
message: z.ZodString;
|
|
2646
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2647
1778
|
} & {
|
|
2648
1779
|
warning_code: z.ZodLiteral<"schlage_detected_duplicate">;
|
|
2649
1780
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2657,19 +1788,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
2657
1788
|
}>, z.ZodObject<{
|
|
2658
1789
|
message: z.ZodString;
|
|
2659
1790
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2660
|
-
} & {
|
|
2661
|
-
warning_code: z.ZodLiteral<"schlage_creation_outage">;
|
|
2662
|
-
}, "strip", z.ZodTypeAny, {
|
|
2663
|
-
message: string;
|
|
2664
|
-
warning_code: "schlage_creation_outage";
|
|
2665
|
-
created_at?: string | undefined;
|
|
2666
|
-
}, {
|
|
2667
|
-
message: string;
|
|
2668
|
-
warning_code: "schlage_creation_outage";
|
|
2669
|
-
created_at?: string | undefined;
|
|
2670
|
-
}>, z.ZodObject<{
|
|
2671
|
-
message: z.ZodString;
|
|
2672
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2673
1791
|
} & {
|
|
2674
1792
|
warning_code: z.ZodLiteral<"schlage_access_code_ambiguous_timezone_dst_risk">;
|
|
2675
1793
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2761,19 +1879,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
2761
1879
|
}>, z.ZodObject<{
|
|
2762
1880
|
message: z.ZodString;
|
|
2763
1881
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2764
|
-
} & {
|
|
2765
|
-
warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
2766
|
-
}, "strip", z.ZodTypeAny, {
|
|
2767
|
-
message: string;
|
|
2768
|
-
warning_code: "august_lock_temporarily_offline";
|
|
2769
|
-
created_at?: string | undefined;
|
|
2770
|
-
}, {
|
|
2771
|
-
message: string;
|
|
2772
|
-
warning_code: "august_lock_temporarily_offline";
|
|
2773
|
-
created_at?: string | undefined;
|
|
2774
|
-
}>, z.ZodObject<{
|
|
2775
|
-
message: z.ZodString;
|
|
2776
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2777
1882
|
} & {
|
|
2778
1883
|
warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
|
|
2779
1884
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2800,19 +1905,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
2800
1905
|
}>, z.ZodObject<{
|
|
2801
1906
|
message: z.ZodString;
|
|
2802
1907
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2803
|
-
} & {
|
|
2804
|
-
warning_code: z.ZodLiteral<"kwikset_unable_to_confirm_code">;
|
|
2805
|
-
}, "strip", z.ZodTypeAny, {
|
|
2806
|
-
message: string;
|
|
2807
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
2808
|
-
created_at?: string | undefined;
|
|
2809
|
-
}, {
|
|
2810
|
-
message: string;
|
|
2811
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
2812
|
-
created_at?: string | undefined;
|
|
2813
|
-
}>, z.ZodObject<{
|
|
2814
|
-
message: z.ZodString;
|
|
2815
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2816
1908
|
} & {
|
|
2817
1909
|
warning_code: z.ZodLiteral<"access_code_inactive">;
|
|
2818
1910
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2826,19 +1918,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
2826
1918
|
}>, z.ZodObject<{
|
|
2827
1919
|
message: z.ZodString;
|
|
2828
1920
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2829
|
-
} & {
|
|
2830
|
-
warning_code: z.ZodLiteral<"ultraloq_access_code_disabled">;
|
|
2831
|
-
}, "strip", z.ZodTypeAny, {
|
|
2832
|
-
message: string;
|
|
2833
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
2834
|
-
created_at?: string | undefined;
|
|
2835
|
-
}, {
|
|
2836
|
-
message: string;
|
|
2837
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
2838
|
-
created_at?: string | undefined;
|
|
2839
|
-
}>, z.ZodObject<{
|
|
2840
|
-
message: z.ZodString;
|
|
2841
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2842
1921
|
} & {
|
|
2843
1922
|
warning_code: z.ZodLiteral<"using_backup_access_code">;
|
|
2844
1923
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3188,16 +2267,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
3188
2267
|
error_code: "provider_issue";
|
|
3189
2268
|
is_access_code_error: true;
|
|
3190
2269
|
created_at?: string | undefined;
|
|
3191
|
-
} | {
|
|
3192
|
-
message: string;
|
|
3193
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
3194
|
-
is_access_code_error: true;
|
|
3195
|
-
created_at?: string | undefined;
|
|
3196
|
-
} | {
|
|
3197
|
-
message: string;
|
|
3198
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
3199
|
-
is_access_code_error: true;
|
|
3200
|
-
created_at?: string | undefined;
|
|
3201
2270
|
} | {
|
|
3202
2271
|
message: string;
|
|
3203
2272
|
error_code: "code_modified_external_to_seam";
|
|
@@ -3241,36 +2310,11 @@ export declare const access_code: z.ZodObject<{
|
|
|
3241
2310
|
error_code: "access_code_state_unconfirmed";
|
|
3242
2311
|
is_access_code_error: true;
|
|
3243
2312
|
created_at?: string | undefined;
|
|
3244
|
-
} | {
|
|
3245
|
-
message: string;
|
|
3246
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
3247
|
-
is_access_code_error: true;
|
|
3248
|
-
created_at?: string | undefined;
|
|
3249
|
-
} | {
|
|
3250
|
-
message: string;
|
|
3251
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
3252
|
-
is_access_code_error: true;
|
|
3253
|
-
created_at?: string | undefined;
|
|
3254
2313
|
} | {
|
|
3255
2314
|
message: string;
|
|
3256
2315
|
error_code: "insufficient_permissions";
|
|
3257
2316
|
is_access_code_error: true;
|
|
3258
2317
|
created_at?: string | undefined;
|
|
3259
|
-
} | {
|
|
3260
|
-
message: string;
|
|
3261
|
-
error_code: "august_lock_invalid_code_length";
|
|
3262
|
-
is_access_code_error: true;
|
|
3263
|
-
created_at?: string | undefined;
|
|
3264
|
-
} | {
|
|
3265
|
-
message: string;
|
|
3266
|
-
error_code: "august_lock_temporarily_offline";
|
|
3267
|
-
is_access_code_error: true;
|
|
3268
|
-
created_at?: string | undefined;
|
|
3269
|
-
} | {
|
|
3270
|
-
message: string;
|
|
3271
|
-
error_code: "august_lock_missing_keypad";
|
|
3272
|
-
is_access_code_error: true;
|
|
3273
|
-
created_at?: string | undefined;
|
|
3274
2318
|
} | {
|
|
3275
2319
|
message: string;
|
|
3276
2320
|
error_code: "access_code_inactive";
|
|
@@ -3281,26 +2325,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
3281
2325
|
error_code: "salto_ks_user_not_subscribed";
|
|
3282
2326
|
is_access_code_error: true;
|
|
3283
2327
|
created_at?: string | undefined;
|
|
3284
|
-
} | {
|
|
3285
|
-
message: string;
|
|
3286
|
-
error_code: "wyze_duplicate_code_name";
|
|
3287
|
-
is_access_code_error: true;
|
|
3288
|
-
created_at?: string | undefined;
|
|
3289
|
-
} | {
|
|
3290
|
-
message: string;
|
|
3291
|
-
error_code: "wyze_potential_duplicate_code";
|
|
3292
|
-
is_access_code_error: true;
|
|
3293
|
-
created_at?: string | undefined;
|
|
3294
|
-
} | {
|
|
3295
|
-
message: string;
|
|
3296
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
3297
|
-
is_access_code_error: true;
|
|
3298
|
-
created_at?: string | undefined;
|
|
3299
|
-
} | {
|
|
3300
|
-
message: string;
|
|
3301
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
3302
|
-
is_access_code_error: true;
|
|
3303
|
-
created_at?: string | undefined;
|
|
3304
2328
|
} | {
|
|
3305
2329
|
message: string;
|
|
3306
2330
|
error_code: "replaced_by_newer_access_code";
|
|
@@ -3308,14 +2332,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
3308
2332
|
created_at?: string | undefined;
|
|
3309
2333
|
})[];
|
|
3310
2334
|
warnings: ({
|
|
3311
|
-
message: string;
|
|
3312
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
3313
|
-
created_at?: string | undefined;
|
|
3314
|
-
} | {
|
|
3315
|
-
message: string;
|
|
3316
|
-
warning_code: "august_lock_temporarily_offline";
|
|
3317
|
-
created_at?: string | undefined;
|
|
3318
|
-
} | {
|
|
3319
2335
|
message: string;
|
|
3320
2336
|
warning_code: "code_modified_external_to_seam";
|
|
3321
2337
|
created_at?: string | undefined;
|
|
@@ -3333,10 +2349,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
3333
2349
|
message: string;
|
|
3334
2350
|
warning_code: "provider_issue";
|
|
3335
2351
|
created_at?: string | undefined;
|
|
3336
|
-
} | {
|
|
3337
|
-
message: string;
|
|
3338
|
-
warning_code: "schlage_creation_outage";
|
|
3339
|
-
created_at?: string | undefined;
|
|
3340
2352
|
} | {
|
|
3341
2353
|
message: string;
|
|
3342
2354
|
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
@@ -3361,18 +2373,10 @@ export declare const access_code: z.ZodObject<{
|
|
|
3361
2373
|
message: string;
|
|
3362
2374
|
warning_code: "management_transferred";
|
|
3363
2375
|
created_at?: string | undefined;
|
|
3364
|
-
} | {
|
|
3365
|
-
message: string;
|
|
3366
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
3367
|
-
created_at?: string | undefined;
|
|
3368
2376
|
} | {
|
|
3369
2377
|
message: string;
|
|
3370
2378
|
warning_code: "access_code_inactive";
|
|
3371
2379
|
created_at?: string | undefined;
|
|
3372
|
-
} | {
|
|
3373
|
-
message: string;
|
|
3374
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
3375
|
-
created_at?: string | undefined;
|
|
3376
2380
|
} | {
|
|
3377
2381
|
message: string;
|
|
3378
2382
|
warning_code: "using_backup_access_code";
|
|
@@ -3568,16 +2572,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
3568
2572
|
error_code: "provider_issue";
|
|
3569
2573
|
is_access_code_error: true;
|
|
3570
2574
|
created_at?: string | undefined;
|
|
3571
|
-
} | {
|
|
3572
|
-
message: string;
|
|
3573
|
-
error_code: "smartthings_failed_to_set_access_code";
|
|
3574
|
-
is_access_code_error: true;
|
|
3575
|
-
created_at?: string | undefined;
|
|
3576
|
-
} | {
|
|
3577
|
-
message: string;
|
|
3578
|
-
error_code: "smartthings_failed_to_set_after_multiple_retries";
|
|
3579
|
-
is_access_code_error: true;
|
|
3580
|
-
created_at?: string | undefined;
|
|
3581
2575
|
} | {
|
|
3582
2576
|
message: string;
|
|
3583
2577
|
error_code: "code_modified_external_to_seam";
|
|
@@ -3621,36 +2615,11 @@ export declare const access_code: z.ZodObject<{
|
|
|
3621
2615
|
error_code: "access_code_state_unconfirmed";
|
|
3622
2616
|
is_access_code_error: true;
|
|
3623
2617
|
created_at?: string | undefined;
|
|
3624
|
-
} | {
|
|
3625
|
-
message: string;
|
|
3626
|
-
error_code: "kwikset_unable_to_confirm_code";
|
|
3627
|
-
is_access_code_error: true;
|
|
3628
|
-
created_at?: string | undefined;
|
|
3629
|
-
} | {
|
|
3630
|
-
message: string;
|
|
3631
|
-
error_code: "kwikset_unable_to_confirm_deletion";
|
|
3632
|
-
is_access_code_error: true;
|
|
3633
|
-
created_at?: string | undefined;
|
|
3634
2618
|
} | {
|
|
3635
2619
|
message: string;
|
|
3636
2620
|
error_code: "insufficient_permissions";
|
|
3637
2621
|
is_access_code_error: true;
|
|
3638
2622
|
created_at?: string | undefined;
|
|
3639
|
-
} | {
|
|
3640
|
-
message: string;
|
|
3641
|
-
error_code: "august_lock_invalid_code_length";
|
|
3642
|
-
is_access_code_error: true;
|
|
3643
|
-
created_at?: string | undefined;
|
|
3644
|
-
} | {
|
|
3645
|
-
message: string;
|
|
3646
|
-
error_code: "august_lock_temporarily_offline";
|
|
3647
|
-
is_access_code_error: true;
|
|
3648
|
-
created_at?: string | undefined;
|
|
3649
|
-
} | {
|
|
3650
|
-
message: string;
|
|
3651
|
-
error_code: "august_lock_missing_keypad";
|
|
3652
|
-
is_access_code_error: true;
|
|
3653
|
-
created_at?: string | undefined;
|
|
3654
2623
|
} | {
|
|
3655
2624
|
message: string;
|
|
3656
2625
|
error_code: "access_code_inactive";
|
|
@@ -3661,26 +2630,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
3661
2630
|
error_code: "salto_ks_user_not_subscribed";
|
|
3662
2631
|
is_access_code_error: true;
|
|
3663
2632
|
created_at?: string | undefined;
|
|
3664
|
-
} | {
|
|
3665
|
-
message: string;
|
|
3666
|
-
error_code: "wyze_duplicate_code_name";
|
|
3667
|
-
is_access_code_error: true;
|
|
3668
|
-
created_at?: string | undefined;
|
|
3669
|
-
} | {
|
|
3670
|
-
message: string;
|
|
3671
|
-
error_code: "wyze_potential_duplicate_code";
|
|
3672
|
-
is_access_code_error: true;
|
|
3673
|
-
created_at?: string | undefined;
|
|
3674
|
-
} | {
|
|
3675
|
-
message: string;
|
|
3676
|
-
error_code: "dormakaba_oracode_invalid_time_range";
|
|
3677
|
-
is_access_code_error: true;
|
|
3678
|
-
created_at?: string | undefined;
|
|
3679
|
-
} | {
|
|
3680
|
-
message: string;
|
|
3681
|
-
error_code: "keynest_unsupported_third_party_locker";
|
|
3682
|
-
is_access_code_error: true;
|
|
3683
|
-
created_at?: string | undefined;
|
|
3684
2633
|
} | {
|
|
3685
2634
|
message: string;
|
|
3686
2635
|
error_code: "replaced_by_newer_access_code";
|
|
@@ -3688,14 +2637,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
3688
2637
|
created_at?: string | undefined;
|
|
3689
2638
|
})[];
|
|
3690
2639
|
warnings: ({
|
|
3691
|
-
message: string;
|
|
3692
|
-
warning_code: "smartthings_failed_to_set_access_code";
|
|
3693
|
-
created_at?: string | undefined;
|
|
3694
|
-
} | {
|
|
3695
|
-
message: string;
|
|
3696
|
-
warning_code: "august_lock_temporarily_offline";
|
|
3697
|
-
created_at?: string | undefined;
|
|
3698
|
-
} | {
|
|
3699
2640
|
message: string;
|
|
3700
2641
|
warning_code: "code_modified_external_to_seam";
|
|
3701
2642
|
created_at?: string | undefined;
|
|
@@ -3713,10 +2654,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
3713
2654
|
message: string;
|
|
3714
2655
|
warning_code: "provider_issue";
|
|
3715
2656
|
created_at?: string | undefined;
|
|
3716
|
-
} | {
|
|
3717
|
-
message: string;
|
|
3718
|
-
warning_code: "schlage_creation_outage";
|
|
3719
|
-
created_at?: string | undefined;
|
|
3720
2657
|
} | {
|
|
3721
2658
|
message: string;
|
|
3722
2659
|
warning_code: "schlage_access_code_ambiguous_timezone_dst_risk";
|
|
@@ -3741,18 +2678,10 @@ export declare const access_code: z.ZodObject<{
|
|
|
3741
2678
|
message: string;
|
|
3742
2679
|
warning_code: "management_transferred";
|
|
3743
2680
|
created_at?: string | undefined;
|
|
3744
|
-
} | {
|
|
3745
|
-
message: string;
|
|
3746
|
-
warning_code: "kwikset_unable_to_confirm_code";
|
|
3747
|
-
created_at?: string | undefined;
|
|
3748
2681
|
} | {
|
|
3749
2682
|
message: string;
|
|
3750
2683
|
warning_code: "access_code_inactive";
|
|
3751
2684
|
created_at?: string | undefined;
|
|
3752
|
-
} | {
|
|
3753
|
-
message: string;
|
|
3754
|
-
warning_code: "ultraloq_access_code_disabled";
|
|
3755
|
-
created_at?: string | undefined;
|
|
3756
2685
|
} | {
|
|
3757
2686
|
message: string;
|
|
3758
2687
|
warning_code: "using_backup_access_code";
|