@seamapi/types 1.1145.0 → 1.1146.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/lib/seam/connect/models/access-codes/managed-access-code.d.ts +92 -92
- package/lib/seam/connect/models/access-codes/managed-access-code.js +23 -37
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +44 -44
- package/lib/seam/connect/models/access-grants/access-grant.js +11 -16
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +40 -40
- package/lib/seam/connect/models/access-grants/access-method.js +10 -16
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-access-group.js +3 -5
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +32 -32
- package/lib/seam/connect/models/acs/acs-credential.js +8 -12
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-encoder.js +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +24 -24
- package/lib/seam/connect/models/acs/acs-entrance.js +6 -6
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
- package/lib/seam/connect/models/acs/acs-system.js +14 -26
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +44 -44
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +11 -23
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +8 -8
- package/lib/seam/connect/models/bridges/bridge-client-session.js +2 -4
- package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +48 -48
- package/lib/seam/connect/models/connected-accounts/connected-account.js +12 -24
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +168 -168
- package/lib/seam/connect/models/devices/device.js +42 -70
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/spaces/space.d.ts +8 -8
- package/lib/seam/connect/models/spaces/space.js +2 -4
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +12 -12
- package/lib/seam/connect/models/user-identities/user-identity.js +2 -3
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +26 -37
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +11 -16
- package/src/lib/seam/connect/models/access-grants/access-method.ts +11 -16
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +4 -5
- package/src/lib/seam/connect/models/acs/acs-credential.ts +9 -12
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -6
- package/src/lib/seam/connect/models/acs/acs-system.ts +16 -26
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +16 -23
- package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -4
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +15 -24
- package/src/lib/seam/connect/models/devices/device.ts +43 -70
- package/src/lib/seam/connect/models/spaces/space.ts +3 -4
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +2 -3
|
@@ -210,7 +210,7 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
210
210
|
}>]>;
|
|
211
211
|
export type AccessCodeError = z.infer<typeof access_code_error>;
|
|
212
212
|
declare const _access_code_error_map: z.ZodObject<{
|
|
213
|
-
provider_issue: z.
|
|
213
|
+
provider_issue: z.ZodOptional<z.ZodObject<{
|
|
214
214
|
message: z.ZodString;
|
|
215
215
|
is_access_code_error: z.ZodLiteral<true>;
|
|
216
216
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -226,8 +226,8 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
226
226
|
error_code: "provider_issue";
|
|
227
227
|
is_access_code_error: true;
|
|
228
228
|
created_at?: string | undefined;
|
|
229
|
-
}
|
|
230
|
-
failed_to_set_on_device: z.
|
|
229
|
+
}>>;
|
|
230
|
+
failed_to_set_on_device: z.ZodOptional<z.ZodObject<{
|
|
231
231
|
message: z.ZodString;
|
|
232
232
|
is_access_code_error: z.ZodLiteral<true>;
|
|
233
233
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -243,8 +243,8 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
243
243
|
error_code: "failed_to_set_on_device";
|
|
244
244
|
is_access_code_error: true;
|
|
245
245
|
created_at?: string | undefined;
|
|
246
|
-
}
|
|
247
|
-
failed_to_remove_from_device: z.
|
|
246
|
+
}>>;
|
|
247
|
+
failed_to_remove_from_device: z.ZodOptional<z.ZodObject<{
|
|
248
248
|
message: z.ZodString;
|
|
249
249
|
is_access_code_error: z.ZodLiteral<true>;
|
|
250
250
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -260,8 +260,8 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
260
260
|
error_code: "failed_to_remove_from_device";
|
|
261
261
|
is_access_code_error: true;
|
|
262
262
|
created_at?: string | undefined;
|
|
263
|
-
}
|
|
264
|
-
no_space_for_access_code_on_device: z.
|
|
263
|
+
}>>;
|
|
264
|
+
no_space_for_access_code_on_device: z.ZodOptional<z.ZodObject<{
|
|
265
265
|
message: z.ZodString;
|
|
266
266
|
is_access_code_error: z.ZodLiteral<true>;
|
|
267
267
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -277,8 +277,8 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
277
277
|
error_code: "no_space_for_access_code_on_device";
|
|
278
278
|
is_access_code_error: true;
|
|
279
279
|
created_at?: string | undefined;
|
|
280
|
-
}
|
|
281
|
-
duplicate_code_on_device: z.
|
|
280
|
+
}>>;
|
|
281
|
+
duplicate_code_on_device: z.ZodOptional<z.ZodObject<{
|
|
282
282
|
message: z.ZodString;
|
|
283
283
|
is_access_code_error: z.ZodLiteral<true>;
|
|
284
284
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -300,8 +300,8 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
300
300
|
created_at?: string | undefined;
|
|
301
301
|
unmanaged_access_code_id?: string | undefined;
|
|
302
302
|
managed_access_code_id?: string | undefined;
|
|
303
|
-
}
|
|
304
|
-
conflicting_external_modification: z.
|
|
303
|
+
}>>;
|
|
304
|
+
conflicting_external_modification: z.ZodOptional<z.ZodObject<{
|
|
305
305
|
message: z.ZodString;
|
|
306
306
|
is_access_code_error: z.ZodLiteral<true>;
|
|
307
307
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -343,8 +343,8 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
343
343
|
to: string | null;
|
|
344
344
|
field: string;
|
|
345
345
|
}[] | undefined;
|
|
346
|
-
}
|
|
347
|
-
access_code_inactive: z.
|
|
346
|
+
}>>;
|
|
347
|
+
access_code_inactive: z.ZodOptional<z.ZodObject<{
|
|
348
348
|
message: z.ZodString;
|
|
349
349
|
is_access_code_error: z.ZodLiteral<true>;
|
|
350
350
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -360,8 +360,8 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
360
360
|
error_code: "access_code_inactive";
|
|
361
361
|
is_access_code_error: true;
|
|
362
362
|
created_at?: string | undefined;
|
|
363
|
-
}
|
|
364
|
-
code_constraints_violated: z.
|
|
363
|
+
}>>;
|
|
364
|
+
code_constraints_violated: z.ZodOptional<z.ZodObject<{
|
|
365
365
|
message: z.ZodString;
|
|
366
366
|
is_access_code_error: z.ZodLiteral<true>;
|
|
367
367
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -377,8 +377,8 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
377
377
|
error_code: "code_constraints_violated";
|
|
378
378
|
is_access_code_error: true;
|
|
379
379
|
created_at?: string | undefined;
|
|
380
|
-
}
|
|
381
|
-
failed_to_issue: z.
|
|
380
|
+
}>>;
|
|
381
|
+
failed_to_issue: z.ZodOptional<z.ZodObject<{
|
|
382
382
|
message: z.ZodString;
|
|
383
383
|
is_access_code_error: z.ZodLiteral<true>;
|
|
384
384
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -394,8 +394,8 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
394
394
|
error_code: "failed_to_issue";
|
|
395
395
|
is_access_code_error: true;
|
|
396
396
|
created_at?: string | undefined;
|
|
397
|
-
}
|
|
398
|
-
failed_to_update: z.
|
|
397
|
+
}>>;
|
|
398
|
+
failed_to_update: z.ZodOptional<z.ZodObject<{
|
|
399
399
|
message: z.ZodString;
|
|
400
400
|
is_access_code_error: z.ZodLiteral<true>;
|
|
401
401
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -411,8 +411,8 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
411
411
|
error_code: "failed_to_update";
|
|
412
412
|
is_access_code_error: true;
|
|
413
413
|
created_at?: string | undefined;
|
|
414
|
-
}
|
|
415
|
-
failed_to_delete: z.
|
|
414
|
+
}>>;
|
|
415
|
+
failed_to_delete: z.ZodOptional<z.ZodObject<{
|
|
416
416
|
message: z.ZodString;
|
|
417
417
|
is_access_code_error: z.ZodLiteral<true>;
|
|
418
418
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -428,14 +428,14 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
428
428
|
error_code: "failed_to_delete";
|
|
429
429
|
is_access_code_error: true;
|
|
430
430
|
created_at?: string | undefined;
|
|
431
|
-
}
|
|
431
|
+
}>>;
|
|
432
432
|
}, "strip", z.ZodTypeAny, {
|
|
433
433
|
provider_issue?: {
|
|
434
434
|
message: string;
|
|
435
435
|
error_code: "provider_issue";
|
|
436
436
|
is_access_code_error: true;
|
|
437
437
|
created_at?: string | undefined;
|
|
438
|
-
} |
|
|
438
|
+
} | undefined;
|
|
439
439
|
conflicting_external_modification?: {
|
|
440
440
|
message: string;
|
|
441
441
|
error_code: "conflicting_external_modification";
|
|
@@ -447,19 +447,19 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
447
447
|
to: string | null;
|
|
448
448
|
field: string;
|
|
449
449
|
}[] | undefined;
|
|
450
|
-
} |
|
|
450
|
+
} | undefined;
|
|
451
451
|
failed_to_set_on_device?: {
|
|
452
452
|
message: string;
|
|
453
453
|
error_code: "failed_to_set_on_device";
|
|
454
454
|
is_access_code_error: true;
|
|
455
455
|
created_at?: string | undefined;
|
|
456
|
-
} |
|
|
456
|
+
} | undefined;
|
|
457
457
|
failed_to_remove_from_device?: {
|
|
458
458
|
message: string;
|
|
459
459
|
error_code: "failed_to_remove_from_device";
|
|
460
460
|
is_access_code_error: true;
|
|
461
461
|
created_at?: string | undefined;
|
|
462
|
-
} |
|
|
462
|
+
} | undefined;
|
|
463
463
|
duplicate_code_on_device?: {
|
|
464
464
|
message: string;
|
|
465
465
|
error_code: "duplicate_code_on_device";
|
|
@@ -467,50 +467,50 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
467
467
|
created_at?: string | undefined;
|
|
468
468
|
unmanaged_access_code_id?: string | undefined;
|
|
469
469
|
managed_access_code_id?: string | undefined;
|
|
470
|
-
} |
|
|
470
|
+
} | undefined;
|
|
471
471
|
no_space_for_access_code_on_device?: {
|
|
472
472
|
message: string;
|
|
473
473
|
error_code: "no_space_for_access_code_on_device";
|
|
474
474
|
is_access_code_error: true;
|
|
475
475
|
created_at?: string | undefined;
|
|
476
|
-
} |
|
|
476
|
+
} | undefined;
|
|
477
477
|
failed_to_issue?: {
|
|
478
478
|
message: string;
|
|
479
479
|
error_code: "failed_to_issue";
|
|
480
480
|
is_access_code_error: true;
|
|
481
481
|
created_at?: string | undefined;
|
|
482
|
-
} |
|
|
482
|
+
} | undefined;
|
|
483
483
|
failed_to_update?: {
|
|
484
484
|
message: string;
|
|
485
485
|
error_code: "failed_to_update";
|
|
486
486
|
is_access_code_error: true;
|
|
487
487
|
created_at?: string | undefined;
|
|
488
|
-
} |
|
|
488
|
+
} | undefined;
|
|
489
489
|
failed_to_delete?: {
|
|
490
490
|
message: string;
|
|
491
491
|
error_code: "failed_to_delete";
|
|
492
492
|
is_access_code_error: true;
|
|
493
493
|
created_at?: string | undefined;
|
|
494
|
-
} |
|
|
494
|
+
} | undefined;
|
|
495
495
|
access_code_inactive?: {
|
|
496
496
|
message: string;
|
|
497
497
|
error_code: "access_code_inactive";
|
|
498
498
|
is_access_code_error: true;
|
|
499
499
|
created_at?: string | undefined;
|
|
500
|
-
} |
|
|
500
|
+
} | undefined;
|
|
501
501
|
code_constraints_violated?: {
|
|
502
502
|
message: string;
|
|
503
503
|
error_code: "code_constraints_violated";
|
|
504
504
|
is_access_code_error: true;
|
|
505
505
|
created_at?: string | undefined;
|
|
506
|
-
} |
|
|
506
|
+
} | undefined;
|
|
507
507
|
}, {
|
|
508
508
|
provider_issue?: {
|
|
509
509
|
message: string;
|
|
510
510
|
error_code: "provider_issue";
|
|
511
511
|
is_access_code_error: true;
|
|
512
512
|
created_at?: string | undefined;
|
|
513
|
-
} |
|
|
513
|
+
} | undefined;
|
|
514
514
|
conflicting_external_modification?: {
|
|
515
515
|
message: string;
|
|
516
516
|
error_code: "conflicting_external_modification";
|
|
@@ -522,19 +522,19 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
522
522
|
to: string | null;
|
|
523
523
|
field: string;
|
|
524
524
|
}[] | undefined;
|
|
525
|
-
} |
|
|
525
|
+
} | undefined;
|
|
526
526
|
failed_to_set_on_device?: {
|
|
527
527
|
message: string;
|
|
528
528
|
error_code: "failed_to_set_on_device";
|
|
529
529
|
is_access_code_error: true;
|
|
530
530
|
created_at?: string | undefined;
|
|
531
|
-
} |
|
|
531
|
+
} | undefined;
|
|
532
532
|
failed_to_remove_from_device?: {
|
|
533
533
|
message: string;
|
|
534
534
|
error_code: "failed_to_remove_from_device";
|
|
535
535
|
is_access_code_error: true;
|
|
536
536
|
created_at?: string | undefined;
|
|
537
|
-
} |
|
|
537
|
+
} | undefined;
|
|
538
538
|
duplicate_code_on_device?: {
|
|
539
539
|
message: string;
|
|
540
540
|
error_code: "duplicate_code_on_device";
|
|
@@ -542,43 +542,43 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
542
542
|
created_at?: string | undefined;
|
|
543
543
|
unmanaged_access_code_id?: string | undefined;
|
|
544
544
|
managed_access_code_id?: string | undefined;
|
|
545
|
-
} |
|
|
545
|
+
} | undefined;
|
|
546
546
|
no_space_for_access_code_on_device?: {
|
|
547
547
|
message: string;
|
|
548
548
|
error_code: "no_space_for_access_code_on_device";
|
|
549
549
|
is_access_code_error: true;
|
|
550
550
|
created_at?: string | undefined;
|
|
551
|
-
} |
|
|
551
|
+
} | undefined;
|
|
552
552
|
failed_to_issue?: {
|
|
553
553
|
message: string;
|
|
554
554
|
error_code: "failed_to_issue";
|
|
555
555
|
is_access_code_error: true;
|
|
556
556
|
created_at?: string | undefined;
|
|
557
|
-
} |
|
|
557
|
+
} | undefined;
|
|
558
558
|
failed_to_update?: {
|
|
559
559
|
message: string;
|
|
560
560
|
error_code: "failed_to_update";
|
|
561
561
|
is_access_code_error: true;
|
|
562
562
|
created_at?: string | undefined;
|
|
563
|
-
} |
|
|
563
|
+
} | undefined;
|
|
564
564
|
failed_to_delete?: {
|
|
565
565
|
message: string;
|
|
566
566
|
error_code: "failed_to_delete";
|
|
567
567
|
is_access_code_error: true;
|
|
568
568
|
created_at?: string | undefined;
|
|
569
|
-
} |
|
|
569
|
+
} | undefined;
|
|
570
570
|
access_code_inactive?: {
|
|
571
571
|
message: string;
|
|
572
572
|
error_code: "access_code_inactive";
|
|
573
573
|
is_access_code_error: true;
|
|
574
574
|
created_at?: string | undefined;
|
|
575
|
-
} |
|
|
575
|
+
} | undefined;
|
|
576
576
|
code_constraints_violated?: {
|
|
577
577
|
message: string;
|
|
578
578
|
error_code: "code_constraints_violated";
|
|
579
579
|
is_access_code_error: true;
|
|
580
580
|
created_at?: string | undefined;
|
|
581
|
-
} |
|
|
581
|
+
} | undefined;
|
|
582
582
|
}>;
|
|
583
583
|
export type AccessCodeErrorMap = z.infer<typeof _access_code_error_map>;
|
|
584
584
|
declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
@@ -766,7 +766,7 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
766
766
|
}>]>;
|
|
767
767
|
export type AccessCodeWarning = z.infer<typeof access_code_warning>;
|
|
768
768
|
declare const _access_code_warning_map: z.ZodObject<{
|
|
769
|
-
code_rotates_periodically: z.
|
|
769
|
+
code_rotates_periodically: z.ZodOptional<z.ZodObject<{
|
|
770
770
|
message: z.ZodString;
|
|
771
771
|
created_at: z.ZodOptional<z.ZodString>;
|
|
772
772
|
} & {
|
|
@@ -779,8 +779,8 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
779
779
|
message: string;
|
|
780
780
|
warning_code: "code_rotates_periodically";
|
|
781
781
|
created_at?: string | undefined;
|
|
782
|
-
}
|
|
783
|
-
time_frame_adjusted_for_unknown_time_zone: z.
|
|
782
|
+
}>>;
|
|
783
|
+
time_frame_adjusted_for_unknown_time_zone: z.ZodOptional<z.ZodObject<{
|
|
784
784
|
message: z.ZodString;
|
|
785
785
|
created_at: z.ZodOptional<z.ZodString>;
|
|
786
786
|
} & {
|
|
@@ -793,8 +793,8 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
793
793
|
message: string;
|
|
794
794
|
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
795
795
|
created_at?: string | undefined;
|
|
796
|
-
}
|
|
797
|
-
external_modification_in_effect: z.
|
|
796
|
+
}>>;
|
|
797
|
+
external_modification_in_effect: z.ZodOptional<z.ZodObject<{
|
|
798
798
|
message: z.ZodString;
|
|
799
799
|
created_at: z.ZodOptional<z.ZodString>;
|
|
800
800
|
} & {
|
|
@@ -833,8 +833,8 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
833
833
|
to: string | null;
|
|
834
834
|
field: string;
|
|
835
835
|
}[] | undefined;
|
|
836
|
-
}
|
|
837
|
-
delay_in_setting_on_device: z.
|
|
836
|
+
}>>;
|
|
837
|
+
delay_in_setting_on_device: z.ZodOptional<z.ZodObject<{
|
|
838
838
|
message: z.ZodString;
|
|
839
839
|
created_at: z.ZodOptional<z.ZodString>;
|
|
840
840
|
} & {
|
|
@@ -847,8 +847,8 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
847
847
|
message: string;
|
|
848
848
|
warning_code: "delay_in_setting_on_device";
|
|
849
849
|
created_at?: string | undefined;
|
|
850
|
-
}
|
|
851
|
-
delay_in_removing_from_device: z.
|
|
850
|
+
}>>;
|
|
851
|
+
delay_in_removing_from_device: z.ZodOptional<z.ZodObject<{
|
|
852
852
|
message: z.ZodString;
|
|
853
853
|
created_at: z.ZodOptional<z.ZodString>;
|
|
854
854
|
} & {
|
|
@@ -861,8 +861,8 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
861
861
|
message: string;
|
|
862
862
|
warning_code: "delay_in_removing_from_device";
|
|
863
863
|
created_at?: string | undefined;
|
|
864
|
-
}
|
|
865
|
-
delay_in_issuing: z.
|
|
864
|
+
}>>;
|
|
865
|
+
delay_in_issuing: z.ZodOptional<z.ZodObject<{
|
|
866
866
|
message: z.ZodString;
|
|
867
867
|
created_at: z.ZodOptional<z.ZodString>;
|
|
868
868
|
} & {
|
|
@@ -875,8 +875,8 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
875
875
|
message: string;
|
|
876
876
|
warning_code: "delay_in_issuing";
|
|
877
877
|
created_at?: string | undefined;
|
|
878
|
-
}
|
|
879
|
-
third_party_integration_detected: z.
|
|
878
|
+
}>>;
|
|
879
|
+
third_party_integration_detected: z.ZodOptional<z.ZodObject<{
|
|
880
880
|
message: z.ZodString;
|
|
881
881
|
created_at: z.ZodOptional<z.ZodString>;
|
|
882
882
|
} & {
|
|
@@ -889,8 +889,8 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
889
889
|
message: string;
|
|
890
890
|
warning_code: "third_party_integration_detected";
|
|
891
891
|
created_at?: string | undefined;
|
|
892
|
-
}
|
|
893
|
-
igloo_algopin_must_be_used_within_24_hours: z.
|
|
892
|
+
}>>;
|
|
893
|
+
igloo_algopin_must_be_used_within_24_hours: z.ZodOptional<z.ZodObject<{
|
|
894
894
|
message: z.ZodString;
|
|
895
895
|
created_at: z.ZodOptional<z.ZodString>;
|
|
896
896
|
} & {
|
|
@@ -903,8 +903,8 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
903
903
|
message: string;
|
|
904
904
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
905
905
|
created_at?: string | undefined;
|
|
906
|
-
}
|
|
907
|
-
management_transferred: z.
|
|
906
|
+
}>>;
|
|
907
|
+
management_transferred: z.ZodOptional<z.ZodObject<{
|
|
908
908
|
message: z.ZodString;
|
|
909
909
|
created_at: z.ZodOptional<z.ZodString>;
|
|
910
910
|
} & {
|
|
@@ -917,8 +917,8 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
917
917
|
message: string;
|
|
918
918
|
warning_code: "management_transferred";
|
|
919
919
|
created_at?: string | undefined;
|
|
920
|
-
}
|
|
921
|
-
using_backup_access_code: z.
|
|
920
|
+
}>>;
|
|
921
|
+
using_backup_access_code: z.ZodOptional<z.ZodObject<{
|
|
922
922
|
message: z.ZodString;
|
|
923
923
|
created_at: z.ZodOptional<z.ZodString>;
|
|
924
924
|
} & {
|
|
@@ -931,8 +931,8 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
931
931
|
message: string;
|
|
932
932
|
warning_code: "using_backup_access_code";
|
|
933
933
|
created_at?: string | undefined;
|
|
934
|
-
}
|
|
935
|
-
being_deleted: z.
|
|
934
|
+
}>>;
|
|
935
|
+
being_deleted: z.ZodOptional<z.ZodObject<{
|
|
936
936
|
message: z.ZodString;
|
|
937
937
|
created_at: z.ZodOptional<z.ZodString>;
|
|
938
938
|
} & {
|
|
@@ -945,8 +945,8 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
945
945
|
message: string;
|
|
946
946
|
warning_code: "being_deleted";
|
|
947
947
|
created_at?: string | undefined;
|
|
948
|
-
}
|
|
949
|
-
unknown_issue_with_access_code: z.
|
|
948
|
+
}>>;
|
|
949
|
+
unknown_issue_with_access_code: z.ZodOptional<z.ZodObject<{
|
|
950
950
|
message: z.ZodString;
|
|
951
951
|
created_at: z.ZodOptional<z.ZodString>;
|
|
952
952
|
} & {
|
|
@@ -959,18 +959,18 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
959
959
|
message: string;
|
|
960
960
|
warning_code: "unknown_issue_with_access_code";
|
|
961
961
|
created_at?: string | undefined;
|
|
962
|
-
}
|
|
962
|
+
}>>;
|
|
963
963
|
}, "strip", z.ZodTypeAny, {
|
|
964
964
|
being_deleted?: {
|
|
965
965
|
message: string;
|
|
966
966
|
warning_code: "being_deleted";
|
|
967
967
|
created_at?: string | undefined;
|
|
968
|
-
} |
|
|
968
|
+
} | undefined;
|
|
969
969
|
third_party_integration_detected?: {
|
|
970
970
|
message: string;
|
|
971
971
|
warning_code: "third_party_integration_detected";
|
|
972
972
|
created_at?: string | undefined;
|
|
973
|
-
} |
|
|
973
|
+
} | undefined;
|
|
974
974
|
external_modification_in_effect?: {
|
|
975
975
|
message: string;
|
|
976
976
|
warning_code: "external_modification_in_effect";
|
|
@@ -981,63 +981,63 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
981
981
|
to: string | null;
|
|
982
982
|
field: string;
|
|
983
983
|
}[] | undefined;
|
|
984
|
-
} |
|
|
984
|
+
} | undefined;
|
|
985
985
|
code_rotates_periodically?: {
|
|
986
986
|
message: string;
|
|
987
987
|
warning_code: "code_rotates_periodically";
|
|
988
988
|
created_at?: string | undefined;
|
|
989
|
-
} |
|
|
989
|
+
} | undefined;
|
|
990
990
|
time_frame_adjusted_for_unknown_time_zone?: {
|
|
991
991
|
message: string;
|
|
992
992
|
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
993
993
|
created_at?: string | undefined;
|
|
994
|
-
} |
|
|
994
|
+
} | undefined;
|
|
995
995
|
delay_in_setting_on_device?: {
|
|
996
996
|
message: string;
|
|
997
997
|
warning_code: "delay_in_setting_on_device";
|
|
998
998
|
created_at?: string | undefined;
|
|
999
|
-
} |
|
|
999
|
+
} | undefined;
|
|
1000
1000
|
delay_in_removing_from_device?: {
|
|
1001
1001
|
message: string;
|
|
1002
1002
|
warning_code: "delay_in_removing_from_device";
|
|
1003
1003
|
created_at?: string | undefined;
|
|
1004
|
-
} |
|
|
1004
|
+
} | undefined;
|
|
1005
1005
|
delay_in_issuing?: {
|
|
1006
1006
|
message: string;
|
|
1007
1007
|
warning_code: "delay_in_issuing";
|
|
1008
1008
|
created_at?: string | undefined;
|
|
1009
|
-
} |
|
|
1009
|
+
} | undefined;
|
|
1010
1010
|
igloo_algopin_must_be_used_within_24_hours?: {
|
|
1011
1011
|
message: string;
|
|
1012
1012
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
1013
1013
|
created_at?: string | undefined;
|
|
1014
|
-
} |
|
|
1014
|
+
} | undefined;
|
|
1015
1015
|
management_transferred?: {
|
|
1016
1016
|
message: string;
|
|
1017
1017
|
warning_code: "management_transferred";
|
|
1018
1018
|
created_at?: string | undefined;
|
|
1019
|
-
} |
|
|
1019
|
+
} | undefined;
|
|
1020
1020
|
using_backup_access_code?: {
|
|
1021
1021
|
message: string;
|
|
1022
1022
|
warning_code: "using_backup_access_code";
|
|
1023
1023
|
created_at?: string | undefined;
|
|
1024
|
-
} |
|
|
1024
|
+
} | undefined;
|
|
1025
1025
|
unknown_issue_with_access_code?: {
|
|
1026
1026
|
message: string;
|
|
1027
1027
|
warning_code: "unknown_issue_with_access_code";
|
|
1028
1028
|
created_at?: string | undefined;
|
|
1029
|
-
} |
|
|
1029
|
+
} | undefined;
|
|
1030
1030
|
}, {
|
|
1031
1031
|
being_deleted?: {
|
|
1032
1032
|
message: string;
|
|
1033
1033
|
warning_code: "being_deleted";
|
|
1034
1034
|
created_at?: string | undefined;
|
|
1035
|
-
} |
|
|
1035
|
+
} | undefined;
|
|
1036
1036
|
third_party_integration_detected?: {
|
|
1037
1037
|
message: string;
|
|
1038
1038
|
warning_code: "third_party_integration_detected";
|
|
1039
1039
|
created_at?: string | undefined;
|
|
1040
|
-
} |
|
|
1040
|
+
} | undefined;
|
|
1041
1041
|
external_modification_in_effect?: {
|
|
1042
1042
|
message: string;
|
|
1043
1043
|
warning_code: "external_modification_in_effect";
|
|
@@ -1048,52 +1048,52 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
1048
1048
|
to: string | null;
|
|
1049
1049
|
field: string;
|
|
1050
1050
|
}[] | undefined;
|
|
1051
|
-
} |
|
|
1051
|
+
} | undefined;
|
|
1052
1052
|
code_rotates_periodically?: {
|
|
1053
1053
|
message: string;
|
|
1054
1054
|
warning_code: "code_rotates_periodically";
|
|
1055
1055
|
created_at?: string | undefined;
|
|
1056
|
-
} |
|
|
1056
|
+
} | undefined;
|
|
1057
1057
|
time_frame_adjusted_for_unknown_time_zone?: {
|
|
1058
1058
|
message: string;
|
|
1059
1059
|
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
1060
1060
|
created_at?: string | undefined;
|
|
1061
|
-
} |
|
|
1061
|
+
} | undefined;
|
|
1062
1062
|
delay_in_setting_on_device?: {
|
|
1063
1063
|
message: string;
|
|
1064
1064
|
warning_code: "delay_in_setting_on_device";
|
|
1065
1065
|
created_at?: string | undefined;
|
|
1066
|
-
} |
|
|
1066
|
+
} | undefined;
|
|
1067
1067
|
delay_in_removing_from_device?: {
|
|
1068
1068
|
message: string;
|
|
1069
1069
|
warning_code: "delay_in_removing_from_device";
|
|
1070
1070
|
created_at?: string | undefined;
|
|
1071
|
-
} |
|
|
1071
|
+
} | undefined;
|
|
1072
1072
|
delay_in_issuing?: {
|
|
1073
1073
|
message: string;
|
|
1074
1074
|
warning_code: "delay_in_issuing";
|
|
1075
1075
|
created_at?: string | undefined;
|
|
1076
|
-
} |
|
|
1076
|
+
} | undefined;
|
|
1077
1077
|
igloo_algopin_must_be_used_within_24_hours?: {
|
|
1078
1078
|
message: string;
|
|
1079
1079
|
warning_code: "igloo_algopin_must_be_used_within_24_hours";
|
|
1080
1080
|
created_at?: string | undefined;
|
|
1081
|
-
} |
|
|
1081
|
+
} | undefined;
|
|
1082
1082
|
management_transferred?: {
|
|
1083
1083
|
message: string;
|
|
1084
1084
|
warning_code: "management_transferred";
|
|
1085
1085
|
created_at?: string | undefined;
|
|
1086
|
-
} |
|
|
1086
|
+
} | undefined;
|
|
1087
1087
|
using_backup_access_code?: {
|
|
1088
1088
|
message: string;
|
|
1089
1089
|
warning_code: "using_backup_access_code";
|
|
1090
1090
|
created_at?: string | undefined;
|
|
1091
|
-
} |
|
|
1091
|
+
} | undefined;
|
|
1092
1092
|
unknown_issue_with_access_code?: {
|
|
1093
1093
|
message: string;
|
|
1094
1094
|
warning_code: "unknown_issue_with_access_code";
|
|
1095
1095
|
created_at?: string | undefined;
|
|
1096
|
-
} |
|
|
1096
|
+
} | undefined;
|
|
1097
1097
|
}>;
|
|
1098
1098
|
export type AccessCodeWarningMap = z.infer<typeof _access_code_warning_map>;
|
|
1099
1099
|
export declare const dormakaba_oracode_access_code_metadata: z.ZodObject<{
|
|
@@ -160,23 +160,17 @@ const access_code_error = z
|
|
|
160
160
|
])
|
|
161
161
|
.describe('Errors associated with the [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes).');
|
|
162
162
|
const _access_code_error_map = z.object({
|
|
163
|
-
provider_issue: provider_issue.optional()
|
|
164
|
-
failed_to_set_on_device: failed_to_set_on_device.optional()
|
|
165
|
-
failed_to_remove_from_device: failed_to_remove_from_device
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
.nullable(),
|
|
175
|
-
access_code_inactive: access_code_inactive_error.optional().nullable(),
|
|
176
|
-
code_constraints_violated: code_constraints_violated.optional().nullable(),
|
|
177
|
-
failed_to_issue: failed_to_issue.optional().nullable(),
|
|
178
|
-
failed_to_update: failed_to_update.optional().nullable(),
|
|
179
|
-
failed_to_delete: failed_to_delete.optional().nullable(),
|
|
163
|
+
provider_issue: provider_issue.optional(),
|
|
164
|
+
failed_to_set_on_device: failed_to_set_on_device.optional(),
|
|
165
|
+
failed_to_remove_from_device: failed_to_remove_from_device.optional(),
|
|
166
|
+
no_space_for_access_code_on_device: no_space_for_access_code_on_device.optional(),
|
|
167
|
+
duplicate_code_on_device: duplicate_code_on_device.optional(),
|
|
168
|
+
conflicting_external_modification: conflicting_external_modification_error.optional(),
|
|
169
|
+
access_code_inactive: access_code_inactive_error.optional(),
|
|
170
|
+
code_constraints_violated: code_constraints_violated.optional(),
|
|
171
|
+
failed_to_issue: failed_to_issue.optional(),
|
|
172
|
+
failed_to_update: failed_to_update.optional(),
|
|
173
|
+
failed_to_delete: failed_to_delete.optional(),
|
|
180
174
|
});
|
|
181
175
|
const common_access_code_warning = z.object({
|
|
182
176
|
message: z
|
|
@@ -301,26 +295,18 @@ const access_code_warning = z
|
|
|
301
295
|
])
|
|
302
296
|
.describe('Warnings associated with the [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes).');
|
|
303
297
|
const _access_code_warning_map = z.object({
|
|
304
|
-
code_rotates_periodically: code_rotates_periodically.optional()
|
|
305
|
-
time_frame_adjusted_for_unknown_time_zone: time_frame_adjusted_for_unknown_time_zone.optional()
|
|
306
|
-
external_modification_in_effect: external_modification_in_effect_warning
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
.nullable(),
|
|
317
|
-
igloo_algopin_must_be_used_within_24_hours: igloo_algopin_must_be_used_within_24_hours.optional().nullable(),
|
|
318
|
-
management_transferred: management_transferred.optional().nullable(),
|
|
319
|
-
using_backup_access_code: using_backup_access_code.optional().nullable(),
|
|
320
|
-
being_deleted: being_deleted.optional().nullable(),
|
|
321
|
-
unknown_issue_with_access_code: unknown_issue_with_access_code
|
|
322
|
-
.optional()
|
|
323
|
-
.nullable(),
|
|
298
|
+
code_rotates_periodically: code_rotates_periodically.optional(),
|
|
299
|
+
time_frame_adjusted_for_unknown_time_zone: time_frame_adjusted_for_unknown_time_zone.optional(),
|
|
300
|
+
external_modification_in_effect: external_modification_in_effect_warning.optional(),
|
|
301
|
+
delay_in_setting_on_device: delay_in_setting_on_device.optional(),
|
|
302
|
+
delay_in_removing_from_device: delay_in_removing_from_device.optional(),
|
|
303
|
+
delay_in_issuing: delay_in_issuing.optional(),
|
|
304
|
+
third_party_integration_detected: third_party_integration_detected.optional(),
|
|
305
|
+
igloo_algopin_must_be_used_within_24_hours: igloo_algopin_must_be_used_within_24_hours.optional(),
|
|
306
|
+
management_transferred: management_transferred.optional(),
|
|
307
|
+
using_backup_access_code: using_backup_access_code.optional(),
|
|
308
|
+
being_deleted: being_deleted.optional(),
|
|
309
|
+
unknown_issue_with_access_code: unknown_issue_with_access_code.optional(),
|
|
324
310
|
});
|
|
325
311
|
export const dormakaba_oracode_access_code_metadata = z
|
|
326
312
|
.object({
|