@seamapi/types 1.486.0 → 1.488.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.
@@ -25416,6 +25416,626 @@ export declare const workspaces_batch: z.ZodObject<{
25416
25416
  acs_system_id: string;
25417
25417
  acs_encoder_id: string;
25418
25418
  }>, "many">>;
25419
+ acs_credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
25420
+ acs_credential_id: z.ZodString;
25421
+ acs_user_id: z.ZodOptional<z.ZodString>;
25422
+ user_identity_id: z.ZodOptional<z.ZodString>;
25423
+ connected_account_id: z.ZodString;
25424
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
25425
+ acs_system_id: z.ZodString;
25426
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
25427
+ display_name: z.ZodString;
25428
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25429
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
25430
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25431
+ is_issued: z.ZodOptional<z.ZodBoolean>;
25432
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25433
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
25434
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access"]>>;
25435
+ external_type_display_name: z.ZodOptional<z.ZodString>;
25436
+ created_at: z.ZodString;
25437
+ workspace_id: z.ZodString;
25438
+ starts_at: z.ZodOptional<z.ZodString>;
25439
+ ends_at: z.ZodOptional<z.ZodString>;
25440
+ errors: z.ZodArray<z.ZodObject<{
25441
+ error_code: z.ZodString;
25442
+ message: z.ZodString;
25443
+ }, "strip", z.ZodTypeAny, {
25444
+ message: string;
25445
+ error_code: string;
25446
+ }, {
25447
+ message: string;
25448
+ error_code: string;
25449
+ }>, "many">;
25450
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
25451
+ created_at: z.ZodString;
25452
+ message: z.ZodString;
25453
+ } & {
25454
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
25455
+ }, "strip", z.ZodTypeAny, {
25456
+ message: string;
25457
+ created_at: string;
25458
+ warning_code: "waiting_to_be_issued";
25459
+ }, {
25460
+ message: string;
25461
+ created_at: string;
25462
+ warning_code: "waiting_to_be_issued";
25463
+ }>, z.ZodObject<{
25464
+ created_at: z.ZodString;
25465
+ message: z.ZodString;
25466
+ } & {
25467
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
25468
+ }, "strip", z.ZodTypeAny, {
25469
+ message: string;
25470
+ created_at: string;
25471
+ warning_code: "schedule_externally_modified";
25472
+ }, {
25473
+ message: string;
25474
+ created_at: string;
25475
+ warning_code: "schedule_externally_modified";
25476
+ }>, z.ZodObject<{
25477
+ created_at: z.ZodString;
25478
+ message: z.ZodString;
25479
+ } & {
25480
+ warning_code: z.ZodLiteral<"schedule_modified">;
25481
+ }, "strip", z.ZodTypeAny, {
25482
+ message: string;
25483
+ created_at: string;
25484
+ warning_code: "schedule_modified";
25485
+ }, {
25486
+ message: string;
25487
+ created_at: string;
25488
+ warning_code: "schedule_modified";
25489
+ }>, z.ZodObject<{
25490
+ created_at: z.ZodString;
25491
+ message: z.ZodString;
25492
+ } & {
25493
+ warning_code: z.ZodLiteral<"being_deleted">;
25494
+ }, "strip", z.ZodTypeAny, {
25495
+ message: string;
25496
+ created_at: string;
25497
+ warning_code: "being_deleted";
25498
+ }, {
25499
+ message: string;
25500
+ created_at: string;
25501
+ warning_code: "being_deleted";
25502
+ }>, z.ZodObject<{
25503
+ created_at: z.ZodString;
25504
+ message: z.ZodString;
25505
+ } & {
25506
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
25507
+ }, "strip", z.ZodTypeAny, {
25508
+ message: string;
25509
+ created_at: string;
25510
+ warning_code: "unknown_issue_with_acs_credential";
25511
+ }, {
25512
+ message: string;
25513
+ created_at: string;
25514
+ warning_code: "unknown_issue_with_acs_credential";
25515
+ }>, z.ZodObject<{
25516
+ created_at: z.ZodString;
25517
+ message: z.ZodString;
25518
+ } & {
25519
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
25520
+ }, "strip", z.ZodTypeAny, {
25521
+ message: string;
25522
+ created_at: string;
25523
+ warning_code: "needs_to_be_reissued";
25524
+ }, {
25525
+ message: string;
25526
+ created_at: string;
25527
+ warning_code: "needs_to_be_reissued";
25528
+ }>]>, "many">;
25529
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
25530
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25531
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25532
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
25533
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
25534
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25535
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25536
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25537
+ is_valid: z.ZodOptional<z.ZodBoolean>;
25538
+ auto_join: z.ZodOptional<z.ZodBoolean>;
25539
+ card_id: z.ZodOptional<z.ZodString>;
25540
+ credential_id: z.ZodOptional<z.ZodString>;
25541
+ }, "strip", z.ZodTypeAny, {
25542
+ card_function_type: "guest" | "staff";
25543
+ auto_join?: boolean | undefined;
25544
+ joiner_acs_credential_ids?: string[] | undefined;
25545
+ guest_acs_entrance_ids?: string[] | undefined;
25546
+ common_acs_entrance_ids?: string[] | undefined;
25547
+ is_valid?: boolean | undefined;
25548
+ card_id?: string | undefined;
25549
+ credential_id?: string | undefined;
25550
+ }, {
25551
+ card_function_type: "guest" | "staff";
25552
+ auto_join?: boolean | undefined;
25553
+ joiner_acs_credential_ids?: string[] | undefined;
25554
+ guest_acs_entrance_ids?: string[] | undefined;
25555
+ common_acs_entrance_ids?: string[] | undefined;
25556
+ is_valid?: boolean | undefined;
25557
+ card_id?: string | undefined;
25558
+ credential_id?: string | undefined;
25559
+ }>>;
25560
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
25561
+ auto_join: z.ZodOptional<z.ZodBoolean>;
25562
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25563
+ key_id: z.ZodOptional<z.ZodString>;
25564
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
25565
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25566
+ endpoint_id: z.ZodOptional<z.ZodString>;
25567
+ }, "strip", z.ZodTypeAny, {
25568
+ key_id?: string | undefined;
25569
+ endpoint_id?: string | undefined;
25570
+ auto_join?: boolean | undefined;
25571
+ override_guest_acs_entrance_ids?: string[] | undefined;
25572
+ key_issuing_request_id?: string | undefined;
25573
+ door_names?: string[] | undefined;
25574
+ }, {
25575
+ key_id?: string | undefined;
25576
+ endpoint_id?: string | undefined;
25577
+ auto_join?: boolean | undefined;
25578
+ override_guest_acs_entrance_ids?: string[] | undefined;
25579
+ key_issuing_request_id?: string | undefined;
25580
+ door_names?: string[] | undefined;
25581
+ }>>;
25582
+ } & {
25583
+ is_managed: z.ZodLiteral<true>;
25584
+ }, "strip", z.ZodTypeAny, {
25585
+ display_name: string;
25586
+ workspace_id: string;
25587
+ created_at: string;
25588
+ errors: {
25589
+ message: string;
25590
+ error_code: string;
25591
+ }[];
25592
+ connected_account_id: string;
25593
+ warnings: ({
25594
+ message: string;
25595
+ created_at: string;
25596
+ warning_code: "waiting_to_be_issued";
25597
+ } | {
25598
+ message: string;
25599
+ created_at: string;
25600
+ warning_code: "schedule_externally_modified";
25601
+ } | {
25602
+ message: string;
25603
+ created_at: string;
25604
+ warning_code: "schedule_modified";
25605
+ } | {
25606
+ message: string;
25607
+ created_at: string;
25608
+ warning_code: "being_deleted";
25609
+ } | {
25610
+ message: string;
25611
+ created_at: string;
25612
+ warning_code: "unknown_issue_with_acs_credential";
25613
+ } | {
25614
+ message: string;
25615
+ created_at: string;
25616
+ warning_code: "needs_to_be_reissued";
25617
+ })[];
25618
+ is_managed: true;
25619
+ acs_system_id: string;
25620
+ acs_credential_id: string;
25621
+ access_method: "code" | "card" | "mobile_key";
25622
+ code?: string | null | undefined;
25623
+ starts_at?: string | undefined;
25624
+ ends_at?: string | undefined;
25625
+ visionline_metadata?: {
25626
+ card_function_type: "guest" | "staff";
25627
+ auto_join?: boolean | undefined;
25628
+ joiner_acs_credential_ids?: string[] | undefined;
25629
+ guest_acs_entrance_ids?: string[] | undefined;
25630
+ common_acs_entrance_ids?: string[] | undefined;
25631
+ is_valid?: boolean | undefined;
25632
+ card_id?: string | undefined;
25633
+ credential_id?: string | undefined;
25634
+ } | undefined;
25635
+ assa_abloy_vostio_metadata?: {
25636
+ key_id?: string | undefined;
25637
+ endpoint_id?: string | undefined;
25638
+ auto_join?: boolean | undefined;
25639
+ override_guest_acs_entrance_ids?: string[] | undefined;
25640
+ key_issuing_request_id?: string | undefined;
25641
+ door_names?: string[] | undefined;
25642
+ } | undefined;
25643
+ is_one_time_use?: boolean | undefined;
25644
+ user_identity_id?: string | undefined;
25645
+ issued_at?: string | null | undefined;
25646
+ is_issued?: boolean | undefined;
25647
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
25648
+ external_type_display_name?: string | undefined;
25649
+ acs_user_id?: string | undefined;
25650
+ acs_credential_pool_id?: string | undefined;
25651
+ parent_acs_credential_id?: string | undefined;
25652
+ card_number?: string | null | undefined;
25653
+ is_multi_phone_sync_credential?: boolean | undefined;
25654
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
25655
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
25656
+ }, {
25657
+ display_name: string;
25658
+ workspace_id: string;
25659
+ created_at: string;
25660
+ errors: {
25661
+ message: string;
25662
+ error_code: string;
25663
+ }[];
25664
+ connected_account_id: string;
25665
+ warnings: ({
25666
+ message: string;
25667
+ created_at: string;
25668
+ warning_code: "waiting_to_be_issued";
25669
+ } | {
25670
+ message: string;
25671
+ created_at: string;
25672
+ warning_code: "schedule_externally_modified";
25673
+ } | {
25674
+ message: string;
25675
+ created_at: string;
25676
+ warning_code: "schedule_modified";
25677
+ } | {
25678
+ message: string;
25679
+ created_at: string;
25680
+ warning_code: "being_deleted";
25681
+ } | {
25682
+ message: string;
25683
+ created_at: string;
25684
+ warning_code: "unknown_issue_with_acs_credential";
25685
+ } | {
25686
+ message: string;
25687
+ created_at: string;
25688
+ warning_code: "needs_to_be_reissued";
25689
+ })[];
25690
+ is_managed: true;
25691
+ acs_system_id: string;
25692
+ acs_credential_id: string;
25693
+ access_method: "code" | "card" | "mobile_key";
25694
+ code?: string | null | undefined;
25695
+ starts_at?: string | undefined;
25696
+ ends_at?: string | undefined;
25697
+ visionline_metadata?: {
25698
+ card_function_type: "guest" | "staff";
25699
+ auto_join?: boolean | undefined;
25700
+ joiner_acs_credential_ids?: string[] | undefined;
25701
+ guest_acs_entrance_ids?: string[] | undefined;
25702
+ common_acs_entrance_ids?: string[] | undefined;
25703
+ is_valid?: boolean | undefined;
25704
+ card_id?: string | undefined;
25705
+ credential_id?: string | undefined;
25706
+ } | undefined;
25707
+ assa_abloy_vostio_metadata?: {
25708
+ key_id?: string | undefined;
25709
+ endpoint_id?: string | undefined;
25710
+ auto_join?: boolean | undefined;
25711
+ override_guest_acs_entrance_ids?: string[] | undefined;
25712
+ key_issuing_request_id?: string | undefined;
25713
+ door_names?: string[] | undefined;
25714
+ } | undefined;
25715
+ is_one_time_use?: boolean | undefined;
25716
+ user_identity_id?: string | undefined;
25717
+ issued_at?: string | null | undefined;
25718
+ is_issued?: boolean | undefined;
25719
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
25720
+ external_type_display_name?: string | undefined;
25721
+ acs_user_id?: string | undefined;
25722
+ acs_credential_pool_id?: string | undefined;
25723
+ parent_acs_credential_id?: string | undefined;
25724
+ card_number?: string | null | undefined;
25725
+ is_multi_phone_sync_credential?: boolean | undefined;
25726
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
25727
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
25728
+ }>, "many">>;
25729
+ unmanaged_acs_credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
25730
+ acs_credential_id: z.ZodString;
25731
+ acs_user_id: z.ZodOptional<z.ZodString>;
25732
+ user_identity_id: z.ZodOptional<z.ZodString>;
25733
+ connected_account_id: z.ZodString;
25734
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
25735
+ acs_system_id: z.ZodString;
25736
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
25737
+ display_name: z.ZodString;
25738
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25739
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
25740
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25741
+ is_issued: z.ZodOptional<z.ZodBoolean>;
25742
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25743
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
25744
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access"]>>;
25745
+ external_type_display_name: z.ZodOptional<z.ZodString>;
25746
+ created_at: z.ZodString;
25747
+ workspace_id: z.ZodString;
25748
+ starts_at: z.ZodOptional<z.ZodString>;
25749
+ ends_at: z.ZodOptional<z.ZodString>;
25750
+ errors: z.ZodArray<z.ZodObject<{
25751
+ error_code: z.ZodString;
25752
+ message: z.ZodString;
25753
+ }, "strip", z.ZodTypeAny, {
25754
+ message: string;
25755
+ error_code: string;
25756
+ }, {
25757
+ message: string;
25758
+ error_code: string;
25759
+ }>, "many">;
25760
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
25761
+ created_at: z.ZodString;
25762
+ message: z.ZodString;
25763
+ } & {
25764
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
25765
+ }, "strip", z.ZodTypeAny, {
25766
+ message: string;
25767
+ created_at: string;
25768
+ warning_code: "waiting_to_be_issued";
25769
+ }, {
25770
+ message: string;
25771
+ created_at: string;
25772
+ warning_code: "waiting_to_be_issued";
25773
+ }>, z.ZodObject<{
25774
+ created_at: z.ZodString;
25775
+ message: z.ZodString;
25776
+ } & {
25777
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
25778
+ }, "strip", z.ZodTypeAny, {
25779
+ message: string;
25780
+ created_at: string;
25781
+ warning_code: "schedule_externally_modified";
25782
+ }, {
25783
+ message: string;
25784
+ created_at: string;
25785
+ warning_code: "schedule_externally_modified";
25786
+ }>, z.ZodObject<{
25787
+ created_at: z.ZodString;
25788
+ message: z.ZodString;
25789
+ } & {
25790
+ warning_code: z.ZodLiteral<"schedule_modified">;
25791
+ }, "strip", z.ZodTypeAny, {
25792
+ message: string;
25793
+ created_at: string;
25794
+ warning_code: "schedule_modified";
25795
+ }, {
25796
+ message: string;
25797
+ created_at: string;
25798
+ warning_code: "schedule_modified";
25799
+ }>, z.ZodObject<{
25800
+ created_at: z.ZodString;
25801
+ message: z.ZodString;
25802
+ } & {
25803
+ warning_code: z.ZodLiteral<"being_deleted">;
25804
+ }, "strip", z.ZodTypeAny, {
25805
+ message: string;
25806
+ created_at: string;
25807
+ warning_code: "being_deleted";
25808
+ }, {
25809
+ message: string;
25810
+ created_at: string;
25811
+ warning_code: "being_deleted";
25812
+ }>, z.ZodObject<{
25813
+ created_at: z.ZodString;
25814
+ message: z.ZodString;
25815
+ } & {
25816
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
25817
+ }, "strip", z.ZodTypeAny, {
25818
+ message: string;
25819
+ created_at: string;
25820
+ warning_code: "unknown_issue_with_acs_credential";
25821
+ }, {
25822
+ message: string;
25823
+ created_at: string;
25824
+ warning_code: "unknown_issue_with_acs_credential";
25825
+ }>, z.ZodObject<{
25826
+ created_at: z.ZodString;
25827
+ message: z.ZodString;
25828
+ } & {
25829
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
25830
+ }, "strip", z.ZodTypeAny, {
25831
+ message: string;
25832
+ created_at: string;
25833
+ warning_code: "needs_to_be_reissued";
25834
+ }, {
25835
+ message: string;
25836
+ created_at: string;
25837
+ warning_code: "needs_to_be_reissued";
25838
+ }>]>, "many">;
25839
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
25840
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25841
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25842
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
25843
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
25844
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25845
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25846
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25847
+ is_valid: z.ZodOptional<z.ZodBoolean>;
25848
+ auto_join: z.ZodOptional<z.ZodBoolean>;
25849
+ card_id: z.ZodOptional<z.ZodString>;
25850
+ credential_id: z.ZodOptional<z.ZodString>;
25851
+ }, "strip", z.ZodTypeAny, {
25852
+ card_function_type: "guest" | "staff";
25853
+ auto_join?: boolean | undefined;
25854
+ joiner_acs_credential_ids?: string[] | undefined;
25855
+ guest_acs_entrance_ids?: string[] | undefined;
25856
+ common_acs_entrance_ids?: string[] | undefined;
25857
+ is_valid?: boolean | undefined;
25858
+ card_id?: string | undefined;
25859
+ credential_id?: string | undefined;
25860
+ }, {
25861
+ card_function_type: "guest" | "staff";
25862
+ auto_join?: boolean | undefined;
25863
+ joiner_acs_credential_ids?: string[] | undefined;
25864
+ guest_acs_entrance_ids?: string[] | undefined;
25865
+ common_acs_entrance_ids?: string[] | undefined;
25866
+ is_valid?: boolean | undefined;
25867
+ card_id?: string | undefined;
25868
+ credential_id?: string | undefined;
25869
+ }>>;
25870
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
25871
+ auto_join: z.ZodOptional<z.ZodBoolean>;
25872
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25873
+ key_id: z.ZodOptional<z.ZodString>;
25874
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
25875
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25876
+ endpoint_id: z.ZodOptional<z.ZodString>;
25877
+ }, "strip", z.ZodTypeAny, {
25878
+ key_id?: string | undefined;
25879
+ endpoint_id?: string | undefined;
25880
+ auto_join?: boolean | undefined;
25881
+ override_guest_acs_entrance_ids?: string[] | undefined;
25882
+ key_issuing_request_id?: string | undefined;
25883
+ door_names?: string[] | undefined;
25884
+ }, {
25885
+ key_id?: string | undefined;
25886
+ endpoint_id?: string | undefined;
25887
+ auto_join?: boolean | undefined;
25888
+ override_guest_acs_entrance_ids?: string[] | undefined;
25889
+ key_issuing_request_id?: string | undefined;
25890
+ door_names?: string[] | undefined;
25891
+ }>>;
25892
+ } & {
25893
+ is_managed: z.ZodLiteral<false>;
25894
+ }, "strip", z.ZodTypeAny, {
25895
+ display_name: string;
25896
+ workspace_id: string;
25897
+ created_at: string;
25898
+ errors: {
25899
+ message: string;
25900
+ error_code: string;
25901
+ }[];
25902
+ connected_account_id: string;
25903
+ warnings: ({
25904
+ message: string;
25905
+ created_at: string;
25906
+ warning_code: "waiting_to_be_issued";
25907
+ } | {
25908
+ message: string;
25909
+ created_at: string;
25910
+ warning_code: "schedule_externally_modified";
25911
+ } | {
25912
+ message: string;
25913
+ created_at: string;
25914
+ warning_code: "schedule_modified";
25915
+ } | {
25916
+ message: string;
25917
+ created_at: string;
25918
+ warning_code: "being_deleted";
25919
+ } | {
25920
+ message: string;
25921
+ created_at: string;
25922
+ warning_code: "unknown_issue_with_acs_credential";
25923
+ } | {
25924
+ message: string;
25925
+ created_at: string;
25926
+ warning_code: "needs_to_be_reissued";
25927
+ })[];
25928
+ is_managed: false;
25929
+ acs_system_id: string;
25930
+ acs_credential_id: string;
25931
+ access_method: "code" | "card" | "mobile_key";
25932
+ code?: string | null | undefined;
25933
+ starts_at?: string | undefined;
25934
+ ends_at?: string | undefined;
25935
+ visionline_metadata?: {
25936
+ card_function_type: "guest" | "staff";
25937
+ auto_join?: boolean | undefined;
25938
+ joiner_acs_credential_ids?: string[] | undefined;
25939
+ guest_acs_entrance_ids?: string[] | undefined;
25940
+ common_acs_entrance_ids?: string[] | undefined;
25941
+ is_valid?: boolean | undefined;
25942
+ card_id?: string | undefined;
25943
+ credential_id?: string | undefined;
25944
+ } | undefined;
25945
+ assa_abloy_vostio_metadata?: {
25946
+ key_id?: string | undefined;
25947
+ endpoint_id?: string | undefined;
25948
+ auto_join?: boolean | undefined;
25949
+ override_guest_acs_entrance_ids?: string[] | undefined;
25950
+ key_issuing_request_id?: string | undefined;
25951
+ door_names?: string[] | undefined;
25952
+ } | undefined;
25953
+ is_one_time_use?: boolean | undefined;
25954
+ user_identity_id?: string | undefined;
25955
+ issued_at?: string | null | undefined;
25956
+ is_issued?: boolean | undefined;
25957
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
25958
+ external_type_display_name?: string | undefined;
25959
+ acs_user_id?: string | undefined;
25960
+ acs_credential_pool_id?: string | undefined;
25961
+ parent_acs_credential_id?: string | undefined;
25962
+ card_number?: string | null | undefined;
25963
+ is_multi_phone_sync_credential?: boolean | undefined;
25964
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
25965
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
25966
+ }, {
25967
+ display_name: string;
25968
+ workspace_id: string;
25969
+ created_at: string;
25970
+ errors: {
25971
+ message: string;
25972
+ error_code: string;
25973
+ }[];
25974
+ connected_account_id: string;
25975
+ warnings: ({
25976
+ message: string;
25977
+ created_at: string;
25978
+ warning_code: "waiting_to_be_issued";
25979
+ } | {
25980
+ message: string;
25981
+ created_at: string;
25982
+ warning_code: "schedule_externally_modified";
25983
+ } | {
25984
+ message: string;
25985
+ created_at: string;
25986
+ warning_code: "schedule_modified";
25987
+ } | {
25988
+ message: string;
25989
+ created_at: string;
25990
+ warning_code: "being_deleted";
25991
+ } | {
25992
+ message: string;
25993
+ created_at: string;
25994
+ warning_code: "unknown_issue_with_acs_credential";
25995
+ } | {
25996
+ message: string;
25997
+ created_at: string;
25998
+ warning_code: "needs_to_be_reissued";
25999
+ })[];
26000
+ is_managed: false;
26001
+ acs_system_id: string;
26002
+ acs_credential_id: string;
26003
+ access_method: "code" | "card" | "mobile_key";
26004
+ code?: string | null | undefined;
26005
+ starts_at?: string | undefined;
26006
+ ends_at?: string | undefined;
26007
+ visionline_metadata?: {
26008
+ card_function_type: "guest" | "staff";
26009
+ auto_join?: boolean | undefined;
26010
+ joiner_acs_credential_ids?: string[] | undefined;
26011
+ guest_acs_entrance_ids?: string[] | undefined;
26012
+ common_acs_entrance_ids?: string[] | undefined;
26013
+ is_valid?: boolean | undefined;
26014
+ card_id?: string | undefined;
26015
+ credential_id?: string | undefined;
26016
+ } | undefined;
26017
+ assa_abloy_vostio_metadata?: {
26018
+ key_id?: string | undefined;
26019
+ endpoint_id?: string | undefined;
26020
+ auto_join?: boolean | undefined;
26021
+ override_guest_acs_entrance_ids?: string[] | undefined;
26022
+ key_issuing_request_id?: string | undefined;
26023
+ door_names?: string[] | undefined;
26024
+ } | undefined;
26025
+ is_one_time_use?: boolean | undefined;
26026
+ user_identity_id?: string | undefined;
26027
+ issued_at?: string | null | undefined;
26028
+ is_issued?: boolean | undefined;
26029
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
26030
+ external_type_display_name?: string | undefined;
26031
+ acs_user_id?: string | undefined;
26032
+ acs_credential_pool_id?: string | undefined;
26033
+ parent_acs_credential_id?: string | undefined;
26034
+ card_number?: string | null | undefined;
26035
+ is_multi_phone_sync_credential?: boolean | undefined;
26036
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
26037
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
26038
+ }>, "many">>;
25419
26039
  action_attempts: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
25420
26040
  action_attempt_id: z.ZodString;
25421
26041
  } & {
@@ -36842,6 +37462,31 @@ export declare const workspaces_batch: z.ZodObject<{
36842
37462
  event_type: "phone.deactivated";
36843
37463
  device_custom_metadata?: Record<string, string | boolean> | undefined;
36844
37464
  }>]>, "many">>;
37465
+ instant_keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
37466
+ instant_key_id: z.ZodString;
37467
+ workspace_id: z.ZodString;
37468
+ created_at: z.ZodString;
37469
+ instant_key_url: z.ZodString;
37470
+ client_session_id: z.ZodString;
37471
+ user_identity_id: z.ZodString;
37472
+ expires_at: z.ZodString;
37473
+ }, "strip", z.ZodTypeAny, {
37474
+ workspace_id: string;
37475
+ created_at: string;
37476
+ user_identity_id: string;
37477
+ instant_key_url: string;
37478
+ client_session_id: string;
37479
+ expires_at: string;
37480
+ instant_key_id: string;
37481
+ }, {
37482
+ workspace_id: string;
37483
+ created_at: string;
37484
+ user_identity_id: string;
37485
+ instant_key_url: string;
37486
+ client_session_id: string;
37487
+ expires_at: string;
37488
+ instant_key_id: string;
37489
+ }>, "many">>;
36845
37490
  }, "strip", z.ZodTypeAny, {
36846
37491
  batch_type: "workspaces";
36847
37492
  spaces?: {
@@ -37939,6 +38584,152 @@ export declare const workspaces_batch: z.ZodObject<{
37939
38584
  acs_system_id: string;
37940
38585
  acs_encoder_id: string;
37941
38586
  }[] | undefined;
38587
+ acs_credentials?: {
38588
+ display_name: string;
38589
+ workspace_id: string;
38590
+ created_at: string;
38591
+ errors: {
38592
+ message: string;
38593
+ error_code: string;
38594
+ }[];
38595
+ connected_account_id: string;
38596
+ warnings: ({
38597
+ message: string;
38598
+ created_at: string;
38599
+ warning_code: "waiting_to_be_issued";
38600
+ } | {
38601
+ message: string;
38602
+ created_at: string;
38603
+ warning_code: "schedule_externally_modified";
38604
+ } | {
38605
+ message: string;
38606
+ created_at: string;
38607
+ warning_code: "schedule_modified";
38608
+ } | {
38609
+ message: string;
38610
+ created_at: string;
38611
+ warning_code: "being_deleted";
38612
+ } | {
38613
+ message: string;
38614
+ created_at: string;
38615
+ warning_code: "unknown_issue_with_acs_credential";
38616
+ } | {
38617
+ message: string;
38618
+ created_at: string;
38619
+ warning_code: "needs_to_be_reissued";
38620
+ })[];
38621
+ is_managed: true;
38622
+ acs_system_id: string;
38623
+ acs_credential_id: string;
38624
+ access_method: "code" | "card" | "mobile_key";
38625
+ code?: string | null | undefined;
38626
+ starts_at?: string | undefined;
38627
+ ends_at?: string | undefined;
38628
+ visionline_metadata?: {
38629
+ card_function_type: "guest" | "staff";
38630
+ auto_join?: boolean | undefined;
38631
+ joiner_acs_credential_ids?: string[] | undefined;
38632
+ guest_acs_entrance_ids?: string[] | undefined;
38633
+ common_acs_entrance_ids?: string[] | undefined;
38634
+ is_valid?: boolean | undefined;
38635
+ card_id?: string | undefined;
38636
+ credential_id?: string | undefined;
38637
+ } | undefined;
38638
+ assa_abloy_vostio_metadata?: {
38639
+ key_id?: string | undefined;
38640
+ endpoint_id?: string | undefined;
38641
+ auto_join?: boolean | undefined;
38642
+ override_guest_acs_entrance_ids?: string[] | undefined;
38643
+ key_issuing_request_id?: string | undefined;
38644
+ door_names?: string[] | undefined;
38645
+ } | undefined;
38646
+ is_one_time_use?: boolean | undefined;
38647
+ user_identity_id?: string | undefined;
38648
+ issued_at?: string | null | undefined;
38649
+ is_issued?: boolean | undefined;
38650
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
38651
+ external_type_display_name?: string | undefined;
38652
+ acs_user_id?: string | undefined;
38653
+ acs_credential_pool_id?: string | undefined;
38654
+ parent_acs_credential_id?: string | undefined;
38655
+ card_number?: string | null | undefined;
38656
+ is_multi_phone_sync_credential?: boolean | undefined;
38657
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
38658
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
38659
+ }[] | undefined;
38660
+ unmanaged_acs_credentials?: {
38661
+ display_name: string;
38662
+ workspace_id: string;
38663
+ created_at: string;
38664
+ errors: {
38665
+ message: string;
38666
+ error_code: string;
38667
+ }[];
38668
+ connected_account_id: string;
38669
+ warnings: ({
38670
+ message: string;
38671
+ created_at: string;
38672
+ warning_code: "waiting_to_be_issued";
38673
+ } | {
38674
+ message: string;
38675
+ created_at: string;
38676
+ warning_code: "schedule_externally_modified";
38677
+ } | {
38678
+ message: string;
38679
+ created_at: string;
38680
+ warning_code: "schedule_modified";
38681
+ } | {
38682
+ message: string;
38683
+ created_at: string;
38684
+ warning_code: "being_deleted";
38685
+ } | {
38686
+ message: string;
38687
+ created_at: string;
38688
+ warning_code: "unknown_issue_with_acs_credential";
38689
+ } | {
38690
+ message: string;
38691
+ created_at: string;
38692
+ warning_code: "needs_to_be_reissued";
38693
+ })[];
38694
+ is_managed: false;
38695
+ acs_system_id: string;
38696
+ acs_credential_id: string;
38697
+ access_method: "code" | "card" | "mobile_key";
38698
+ code?: string | null | undefined;
38699
+ starts_at?: string | undefined;
38700
+ ends_at?: string | undefined;
38701
+ visionline_metadata?: {
38702
+ card_function_type: "guest" | "staff";
38703
+ auto_join?: boolean | undefined;
38704
+ joiner_acs_credential_ids?: string[] | undefined;
38705
+ guest_acs_entrance_ids?: string[] | undefined;
38706
+ common_acs_entrance_ids?: string[] | undefined;
38707
+ is_valid?: boolean | undefined;
38708
+ card_id?: string | undefined;
38709
+ credential_id?: string | undefined;
38710
+ } | undefined;
38711
+ assa_abloy_vostio_metadata?: {
38712
+ key_id?: string | undefined;
38713
+ endpoint_id?: string | undefined;
38714
+ auto_join?: boolean | undefined;
38715
+ override_guest_acs_entrance_ids?: string[] | undefined;
38716
+ key_issuing_request_id?: string | undefined;
38717
+ door_names?: string[] | undefined;
38718
+ } | undefined;
38719
+ is_one_time_use?: boolean | undefined;
38720
+ user_identity_id?: string | undefined;
38721
+ issued_at?: string | null | undefined;
38722
+ is_issued?: boolean | undefined;
38723
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
38724
+ external_type_display_name?: string | undefined;
38725
+ acs_user_id?: string | undefined;
38726
+ acs_credential_pool_id?: string | undefined;
38727
+ parent_acs_credential_id?: string | undefined;
38728
+ card_number?: string | null | undefined;
38729
+ is_multi_phone_sync_credential?: boolean | undefined;
38730
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
38731
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
38732
+ }[] | undefined;
37942
38733
  action_attempts?: ({
37943
38734
  status: "pending";
37944
38735
  action_attempt_id: string;
@@ -39964,6 +40755,15 @@ export declare const workspaces_batch: z.ZodObject<{
39964
40755
  event_type: "phone.deactivated";
39965
40756
  device_custom_metadata?: Record<string, string | boolean> | undefined;
39966
40757
  })[] | undefined;
40758
+ instant_keys?: {
40759
+ workspace_id: string;
40760
+ created_at: string;
40761
+ user_identity_id: string;
40762
+ instant_key_url: string;
40763
+ client_session_id: string;
40764
+ expires_at: string;
40765
+ instant_key_id: string;
40766
+ }[] | undefined;
39967
40767
  }, {
39968
40768
  batch_type: "workspaces";
39969
40769
  spaces?: {
@@ -41061,6 +41861,152 @@ export declare const workspaces_batch: z.ZodObject<{
41061
41861
  acs_system_id: string;
41062
41862
  acs_encoder_id: string;
41063
41863
  }[] | undefined;
41864
+ acs_credentials?: {
41865
+ display_name: string;
41866
+ workspace_id: string;
41867
+ created_at: string;
41868
+ errors: {
41869
+ message: string;
41870
+ error_code: string;
41871
+ }[];
41872
+ connected_account_id: string;
41873
+ warnings: ({
41874
+ message: string;
41875
+ created_at: string;
41876
+ warning_code: "waiting_to_be_issued";
41877
+ } | {
41878
+ message: string;
41879
+ created_at: string;
41880
+ warning_code: "schedule_externally_modified";
41881
+ } | {
41882
+ message: string;
41883
+ created_at: string;
41884
+ warning_code: "schedule_modified";
41885
+ } | {
41886
+ message: string;
41887
+ created_at: string;
41888
+ warning_code: "being_deleted";
41889
+ } | {
41890
+ message: string;
41891
+ created_at: string;
41892
+ warning_code: "unknown_issue_with_acs_credential";
41893
+ } | {
41894
+ message: string;
41895
+ created_at: string;
41896
+ warning_code: "needs_to_be_reissued";
41897
+ })[];
41898
+ is_managed: true;
41899
+ acs_system_id: string;
41900
+ acs_credential_id: string;
41901
+ access_method: "code" | "card" | "mobile_key";
41902
+ code?: string | null | undefined;
41903
+ starts_at?: string | undefined;
41904
+ ends_at?: string | undefined;
41905
+ visionline_metadata?: {
41906
+ card_function_type: "guest" | "staff";
41907
+ auto_join?: boolean | undefined;
41908
+ joiner_acs_credential_ids?: string[] | undefined;
41909
+ guest_acs_entrance_ids?: string[] | undefined;
41910
+ common_acs_entrance_ids?: string[] | undefined;
41911
+ is_valid?: boolean | undefined;
41912
+ card_id?: string | undefined;
41913
+ credential_id?: string | undefined;
41914
+ } | undefined;
41915
+ assa_abloy_vostio_metadata?: {
41916
+ key_id?: string | undefined;
41917
+ endpoint_id?: string | undefined;
41918
+ auto_join?: boolean | undefined;
41919
+ override_guest_acs_entrance_ids?: string[] | undefined;
41920
+ key_issuing_request_id?: string | undefined;
41921
+ door_names?: string[] | undefined;
41922
+ } | undefined;
41923
+ is_one_time_use?: boolean | undefined;
41924
+ user_identity_id?: string | undefined;
41925
+ issued_at?: string | null | undefined;
41926
+ is_issued?: boolean | undefined;
41927
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
41928
+ external_type_display_name?: string | undefined;
41929
+ acs_user_id?: string | undefined;
41930
+ acs_credential_pool_id?: string | undefined;
41931
+ parent_acs_credential_id?: string | undefined;
41932
+ card_number?: string | null | undefined;
41933
+ is_multi_phone_sync_credential?: boolean | undefined;
41934
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
41935
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
41936
+ }[] | undefined;
41937
+ unmanaged_acs_credentials?: {
41938
+ display_name: string;
41939
+ workspace_id: string;
41940
+ created_at: string;
41941
+ errors: {
41942
+ message: string;
41943
+ error_code: string;
41944
+ }[];
41945
+ connected_account_id: string;
41946
+ warnings: ({
41947
+ message: string;
41948
+ created_at: string;
41949
+ warning_code: "waiting_to_be_issued";
41950
+ } | {
41951
+ message: string;
41952
+ created_at: string;
41953
+ warning_code: "schedule_externally_modified";
41954
+ } | {
41955
+ message: string;
41956
+ created_at: string;
41957
+ warning_code: "schedule_modified";
41958
+ } | {
41959
+ message: string;
41960
+ created_at: string;
41961
+ warning_code: "being_deleted";
41962
+ } | {
41963
+ message: string;
41964
+ created_at: string;
41965
+ warning_code: "unknown_issue_with_acs_credential";
41966
+ } | {
41967
+ message: string;
41968
+ created_at: string;
41969
+ warning_code: "needs_to_be_reissued";
41970
+ })[];
41971
+ is_managed: false;
41972
+ acs_system_id: string;
41973
+ acs_credential_id: string;
41974
+ access_method: "code" | "card" | "mobile_key";
41975
+ code?: string | null | undefined;
41976
+ starts_at?: string | undefined;
41977
+ ends_at?: string | undefined;
41978
+ visionline_metadata?: {
41979
+ card_function_type: "guest" | "staff";
41980
+ auto_join?: boolean | undefined;
41981
+ joiner_acs_credential_ids?: string[] | undefined;
41982
+ guest_acs_entrance_ids?: string[] | undefined;
41983
+ common_acs_entrance_ids?: string[] | undefined;
41984
+ is_valid?: boolean | undefined;
41985
+ card_id?: string | undefined;
41986
+ credential_id?: string | undefined;
41987
+ } | undefined;
41988
+ assa_abloy_vostio_metadata?: {
41989
+ key_id?: string | undefined;
41990
+ endpoint_id?: string | undefined;
41991
+ auto_join?: boolean | undefined;
41992
+ override_guest_acs_entrance_ids?: string[] | undefined;
41993
+ key_issuing_request_id?: string | undefined;
41994
+ door_names?: string[] | undefined;
41995
+ } | undefined;
41996
+ is_one_time_use?: boolean | undefined;
41997
+ user_identity_id?: string | undefined;
41998
+ issued_at?: string | null | undefined;
41999
+ is_issued?: boolean | undefined;
42000
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
42001
+ external_type_display_name?: string | undefined;
42002
+ acs_user_id?: string | undefined;
42003
+ acs_credential_pool_id?: string | undefined;
42004
+ parent_acs_credential_id?: string | undefined;
42005
+ card_number?: string | null | undefined;
42006
+ is_multi_phone_sync_credential?: boolean | undefined;
42007
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
42008
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
42009
+ }[] | undefined;
41064
42010
  action_attempts?: ({
41065
42011
  status: "pending";
41066
42012
  action_attempt_id: string;
@@ -43086,6 +44032,15 @@ export declare const workspaces_batch: z.ZodObject<{
43086
44032
  event_type: "phone.deactivated";
43087
44033
  device_custom_metadata?: Record<string, string | boolean> | undefined;
43088
44034
  })[] | undefined;
44035
+ instant_keys?: {
44036
+ workspace_id: string;
44037
+ created_at: string;
44038
+ user_identity_id: string;
44039
+ instant_key_url: string;
44040
+ client_session_id: string;
44041
+ expires_at: string;
44042
+ instant_key_id: string;
44043
+ }[] | undefined;
43089
44044
  }>;
43090
44045
  export declare const batch: z.ZodObject<{
43091
44046
  batch_type: z.ZodEnum<["workspaces", "spaces", "access_grants", "access_methods"]>;
@@ -48727,6 +49682,626 @@ export declare const batch: z.ZodObject<{
48727
49682
  acs_system_id: string;
48728
49683
  acs_encoder_id: string;
48729
49684
  }>, "many">>;
49685
+ acs_credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
49686
+ acs_credential_id: z.ZodString;
49687
+ acs_user_id: z.ZodOptional<z.ZodString>;
49688
+ user_identity_id: z.ZodOptional<z.ZodString>;
49689
+ connected_account_id: z.ZodString;
49690
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
49691
+ acs_system_id: z.ZodString;
49692
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
49693
+ display_name: z.ZodString;
49694
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49695
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
49696
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49697
+ is_issued: z.ZodOptional<z.ZodBoolean>;
49698
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49699
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
49700
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access"]>>;
49701
+ external_type_display_name: z.ZodOptional<z.ZodString>;
49702
+ created_at: z.ZodString;
49703
+ workspace_id: z.ZodString;
49704
+ starts_at: z.ZodOptional<z.ZodString>;
49705
+ ends_at: z.ZodOptional<z.ZodString>;
49706
+ errors: z.ZodArray<z.ZodObject<{
49707
+ error_code: z.ZodString;
49708
+ message: z.ZodString;
49709
+ }, "strip", z.ZodTypeAny, {
49710
+ message: string;
49711
+ error_code: string;
49712
+ }, {
49713
+ message: string;
49714
+ error_code: string;
49715
+ }>, "many">;
49716
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
49717
+ created_at: z.ZodString;
49718
+ message: z.ZodString;
49719
+ } & {
49720
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
49721
+ }, "strip", z.ZodTypeAny, {
49722
+ message: string;
49723
+ created_at: string;
49724
+ warning_code: "waiting_to_be_issued";
49725
+ }, {
49726
+ message: string;
49727
+ created_at: string;
49728
+ warning_code: "waiting_to_be_issued";
49729
+ }>, z.ZodObject<{
49730
+ created_at: z.ZodString;
49731
+ message: z.ZodString;
49732
+ } & {
49733
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
49734
+ }, "strip", z.ZodTypeAny, {
49735
+ message: string;
49736
+ created_at: string;
49737
+ warning_code: "schedule_externally_modified";
49738
+ }, {
49739
+ message: string;
49740
+ created_at: string;
49741
+ warning_code: "schedule_externally_modified";
49742
+ }>, z.ZodObject<{
49743
+ created_at: z.ZodString;
49744
+ message: z.ZodString;
49745
+ } & {
49746
+ warning_code: z.ZodLiteral<"schedule_modified">;
49747
+ }, "strip", z.ZodTypeAny, {
49748
+ message: string;
49749
+ created_at: string;
49750
+ warning_code: "schedule_modified";
49751
+ }, {
49752
+ message: string;
49753
+ created_at: string;
49754
+ warning_code: "schedule_modified";
49755
+ }>, z.ZodObject<{
49756
+ created_at: z.ZodString;
49757
+ message: z.ZodString;
49758
+ } & {
49759
+ warning_code: z.ZodLiteral<"being_deleted">;
49760
+ }, "strip", z.ZodTypeAny, {
49761
+ message: string;
49762
+ created_at: string;
49763
+ warning_code: "being_deleted";
49764
+ }, {
49765
+ message: string;
49766
+ created_at: string;
49767
+ warning_code: "being_deleted";
49768
+ }>, z.ZodObject<{
49769
+ created_at: z.ZodString;
49770
+ message: z.ZodString;
49771
+ } & {
49772
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
49773
+ }, "strip", z.ZodTypeAny, {
49774
+ message: string;
49775
+ created_at: string;
49776
+ warning_code: "unknown_issue_with_acs_credential";
49777
+ }, {
49778
+ message: string;
49779
+ created_at: string;
49780
+ warning_code: "unknown_issue_with_acs_credential";
49781
+ }>, z.ZodObject<{
49782
+ created_at: z.ZodString;
49783
+ message: z.ZodString;
49784
+ } & {
49785
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
49786
+ }, "strip", z.ZodTypeAny, {
49787
+ message: string;
49788
+ created_at: string;
49789
+ warning_code: "needs_to_be_reissued";
49790
+ }, {
49791
+ message: string;
49792
+ created_at: string;
49793
+ warning_code: "needs_to_be_reissued";
49794
+ }>]>, "many">;
49795
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
49796
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49797
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49798
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
49799
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
49800
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49801
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49802
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49803
+ is_valid: z.ZodOptional<z.ZodBoolean>;
49804
+ auto_join: z.ZodOptional<z.ZodBoolean>;
49805
+ card_id: z.ZodOptional<z.ZodString>;
49806
+ credential_id: z.ZodOptional<z.ZodString>;
49807
+ }, "strip", z.ZodTypeAny, {
49808
+ card_function_type: "guest" | "staff";
49809
+ auto_join?: boolean | undefined;
49810
+ joiner_acs_credential_ids?: string[] | undefined;
49811
+ guest_acs_entrance_ids?: string[] | undefined;
49812
+ common_acs_entrance_ids?: string[] | undefined;
49813
+ is_valid?: boolean | undefined;
49814
+ card_id?: string | undefined;
49815
+ credential_id?: string | undefined;
49816
+ }, {
49817
+ card_function_type: "guest" | "staff";
49818
+ auto_join?: boolean | undefined;
49819
+ joiner_acs_credential_ids?: string[] | undefined;
49820
+ guest_acs_entrance_ids?: string[] | undefined;
49821
+ common_acs_entrance_ids?: string[] | undefined;
49822
+ is_valid?: boolean | undefined;
49823
+ card_id?: string | undefined;
49824
+ credential_id?: string | undefined;
49825
+ }>>;
49826
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
49827
+ auto_join: z.ZodOptional<z.ZodBoolean>;
49828
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49829
+ key_id: z.ZodOptional<z.ZodString>;
49830
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
49831
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49832
+ endpoint_id: z.ZodOptional<z.ZodString>;
49833
+ }, "strip", z.ZodTypeAny, {
49834
+ key_id?: string | undefined;
49835
+ endpoint_id?: string | undefined;
49836
+ auto_join?: boolean | undefined;
49837
+ override_guest_acs_entrance_ids?: string[] | undefined;
49838
+ key_issuing_request_id?: string | undefined;
49839
+ door_names?: string[] | undefined;
49840
+ }, {
49841
+ key_id?: string | undefined;
49842
+ endpoint_id?: string | undefined;
49843
+ auto_join?: boolean | undefined;
49844
+ override_guest_acs_entrance_ids?: string[] | undefined;
49845
+ key_issuing_request_id?: string | undefined;
49846
+ door_names?: string[] | undefined;
49847
+ }>>;
49848
+ } & {
49849
+ is_managed: z.ZodLiteral<true>;
49850
+ }, "strip", z.ZodTypeAny, {
49851
+ display_name: string;
49852
+ workspace_id: string;
49853
+ created_at: string;
49854
+ errors: {
49855
+ message: string;
49856
+ error_code: string;
49857
+ }[];
49858
+ connected_account_id: string;
49859
+ warnings: ({
49860
+ message: string;
49861
+ created_at: string;
49862
+ warning_code: "waiting_to_be_issued";
49863
+ } | {
49864
+ message: string;
49865
+ created_at: string;
49866
+ warning_code: "schedule_externally_modified";
49867
+ } | {
49868
+ message: string;
49869
+ created_at: string;
49870
+ warning_code: "schedule_modified";
49871
+ } | {
49872
+ message: string;
49873
+ created_at: string;
49874
+ warning_code: "being_deleted";
49875
+ } | {
49876
+ message: string;
49877
+ created_at: string;
49878
+ warning_code: "unknown_issue_with_acs_credential";
49879
+ } | {
49880
+ message: string;
49881
+ created_at: string;
49882
+ warning_code: "needs_to_be_reissued";
49883
+ })[];
49884
+ is_managed: true;
49885
+ acs_system_id: string;
49886
+ acs_credential_id: string;
49887
+ access_method: "code" | "card" | "mobile_key";
49888
+ code?: string | null | undefined;
49889
+ starts_at?: string | undefined;
49890
+ ends_at?: string | undefined;
49891
+ visionline_metadata?: {
49892
+ card_function_type: "guest" | "staff";
49893
+ auto_join?: boolean | undefined;
49894
+ joiner_acs_credential_ids?: string[] | undefined;
49895
+ guest_acs_entrance_ids?: string[] | undefined;
49896
+ common_acs_entrance_ids?: string[] | undefined;
49897
+ is_valid?: boolean | undefined;
49898
+ card_id?: string | undefined;
49899
+ credential_id?: string | undefined;
49900
+ } | undefined;
49901
+ assa_abloy_vostio_metadata?: {
49902
+ key_id?: string | undefined;
49903
+ endpoint_id?: string | undefined;
49904
+ auto_join?: boolean | undefined;
49905
+ override_guest_acs_entrance_ids?: string[] | undefined;
49906
+ key_issuing_request_id?: string | undefined;
49907
+ door_names?: string[] | undefined;
49908
+ } | undefined;
49909
+ is_one_time_use?: boolean | undefined;
49910
+ user_identity_id?: string | undefined;
49911
+ issued_at?: string | null | undefined;
49912
+ is_issued?: boolean | undefined;
49913
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
49914
+ external_type_display_name?: string | undefined;
49915
+ acs_user_id?: string | undefined;
49916
+ acs_credential_pool_id?: string | undefined;
49917
+ parent_acs_credential_id?: string | undefined;
49918
+ card_number?: string | null | undefined;
49919
+ is_multi_phone_sync_credential?: boolean | undefined;
49920
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
49921
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
49922
+ }, {
49923
+ display_name: string;
49924
+ workspace_id: string;
49925
+ created_at: string;
49926
+ errors: {
49927
+ message: string;
49928
+ error_code: string;
49929
+ }[];
49930
+ connected_account_id: string;
49931
+ warnings: ({
49932
+ message: string;
49933
+ created_at: string;
49934
+ warning_code: "waiting_to_be_issued";
49935
+ } | {
49936
+ message: string;
49937
+ created_at: string;
49938
+ warning_code: "schedule_externally_modified";
49939
+ } | {
49940
+ message: string;
49941
+ created_at: string;
49942
+ warning_code: "schedule_modified";
49943
+ } | {
49944
+ message: string;
49945
+ created_at: string;
49946
+ warning_code: "being_deleted";
49947
+ } | {
49948
+ message: string;
49949
+ created_at: string;
49950
+ warning_code: "unknown_issue_with_acs_credential";
49951
+ } | {
49952
+ message: string;
49953
+ created_at: string;
49954
+ warning_code: "needs_to_be_reissued";
49955
+ })[];
49956
+ is_managed: true;
49957
+ acs_system_id: string;
49958
+ acs_credential_id: string;
49959
+ access_method: "code" | "card" | "mobile_key";
49960
+ code?: string | null | undefined;
49961
+ starts_at?: string | undefined;
49962
+ ends_at?: string | undefined;
49963
+ visionline_metadata?: {
49964
+ card_function_type: "guest" | "staff";
49965
+ auto_join?: boolean | undefined;
49966
+ joiner_acs_credential_ids?: string[] | undefined;
49967
+ guest_acs_entrance_ids?: string[] | undefined;
49968
+ common_acs_entrance_ids?: string[] | undefined;
49969
+ is_valid?: boolean | undefined;
49970
+ card_id?: string | undefined;
49971
+ credential_id?: string | undefined;
49972
+ } | undefined;
49973
+ assa_abloy_vostio_metadata?: {
49974
+ key_id?: string | undefined;
49975
+ endpoint_id?: string | undefined;
49976
+ auto_join?: boolean | undefined;
49977
+ override_guest_acs_entrance_ids?: string[] | undefined;
49978
+ key_issuing_request_id?: string | undefined;
49979
+ door_names?: string[] | undefined;
49980
+ } | undefined;
49981
+ is_one_time_use?: boolean | undefined;
49982
+ user_identity_id?: string | undefined;
49983
+ issued_at?: string | null | undefined;
49984
+ is_issued?: boolean | undefined;
49985
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
49986
+ external_type_display_name?: string | undefined;
49987
+ acs_user_id?: string | undefined;
49988
+ acs_credential_pool_id?: string | undefined;
49989
+ parent_acs_credential_id?: string | undefined;
49990
+ card_number?: string | null | undefined;
49991
+ is_multi_phone_sync_credential?: boolean | undefined;
49992
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
49993
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
49994
+ }>, "many">>;
49995
+ unmanaged_acs_credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
49996
+ acs_credential_id: z.ZodString;
49997
+ acs_user_id: z.ZodOptional<z.ZodString>;
49998
+ user_identity_id: z.ZodOptional<z.ZodString>;
49999
+ connected_account_id: z.ZodString;
50000
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
50001
+ acs_system_id: z.ZodString;
50002
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
50003
+ display_name: z.ZodString;
50004
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50005
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
50006
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50007
+ is_issued: z.ZodOptional<z.ZodBoolean>;
50008
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50009
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
50010
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential", "assa_abloy_vostio_key", "salto_space_key", "latch_access"]>>;
50011
+ external_type_display_name: z.ZodOptional<z.ZodString>;
50012
+ created_at: z.ZodString;
50013
+ workspace_id: z.ZodString;
50014
+ starts_at: z.ZodOptional<z.ZodString>;
50015
+ ends_at: z.ZodOptional<z.ZodString>;
50016
+ errors: z.ZodArray<z.ZodObject<{
50017
+ error_code: z.ZodString;
50018
+ message: z.ZodString;
50019
+ }, "strip", z.ZodTypeAny, {
50020
+ message: string;
50021
+ error_code: string;
50022
+ }, {
50023
+ message: string;
50024
+ error_code: string;
50025
+ }>, "many">;
50026
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
50027
+ created_at: z.ZodString;
50028
+ message: z.ZodString;
50029
+ } & {
50030
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
50031
+ }, "strip", z.ZodTypeAny, {
50032
+ message: string;
50033
+ created_at: string;
50034
+ warning_code: "waiting_to_be_issued";
50035
+ }, {
50036
+ message: string;
50037
+ created_at: string;
50038
+ warning_code: "waiting_to_be_issued";
50039
+ }>, z.ZodObject<{
50040
+ created_at: z.ZodString;
50041
+ message: z.ZodString;
50042
+ } & {
50043
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
50044
+ }, "strip", z.ZodTypeAny, {
50045
+ message: string;
50046
+ created_at: string;
50047
+ warning_code: "schedule_externally_modified";
50048
+ }, {
50049
+ message: string;
50050
+ created_at: string;
50051
+ warning_code: "schedule_externally_modified";
50052
+ }>, z.ZodObject<{
50053
+ created_at: z.ZodString;
50054
+ message: z.ZodString;
50055
+ } & {
50056
+ warning_code: z.ZodLiteral<"schedule_modified">;
50057
+ }, "strip", z.ZodTypeAny, {
50058
+ message: string;
50059
+ created_at: string;
50060
+ warning_code: "schedule_modified";
50061
+ }, {
50062
+ message: string;
50063
+ created_at: string;
50064
+ warning_code: "schedule_modified";
50065
+ }>, z.ZodObject<{
50066
+ created_at: z.ZodString;
50067
+ message: z.ZodString;
50068
+ } & {
50069
+ warning_code: z.ZodLiteral<"being_deleted">;
50070
+ }, "strip", z.ZodTypeAny, {
50071
+ message: string;
50072
+ created_at: string;
50073
+ warning_code: "being_deleted";
50074
+ }, {
50075
+ message: string;
50076
+ created_at: string;
50077
+ warning_code: "being_deleted";
50078
+ }>, z.ZodObject<{
50079
+ created_at: z.ZodString;
50080
+ message: z.ZodString;
50081
+ } & {
50082
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
50083
+ }, "strip", z.ZodTypeAny, {
50084
+ message: string;
50085
+ created_at: string;
50086
+ warning_code: "unknown_issue_with_acs_credential";
50087
+ }, {
50088
+ message: string;
50089
+ created_at: string;
50090
+ warning_code: "unknown_issue_with_acs_credential";
50091
+ }>, z.ZodObject<{
50092
+ created_at: z.ZodString;
50093
+ message: z.ZodString;
50094
+ } & {
50095
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
50096
+ }, "strip", z.ZodTypeAny, {
50097
+ message: string;
50098
+ created_at: string;
50099
+ warning_code: "needs_to_be_reissued";
50100
+ }, {
50101
+ message: string;
50102
+ created_at: string;
50103
+ warning_code: "needs_to_be_reissued";
50104
+ }>]>, "many">;
50105
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
50106
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
50107
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50108
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
50109
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
50110
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50111
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50112
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50113
+ is_valid: z.ZodOptional<z.ZodBoolean>;
50114
+ auto_join: z.ZodOptional<z.ZodBoolean>;
50115
+ card_id: z.ZodOptional<z.ZodString>;
50116
+ credential_id: z.ZodOptional<z.ZodString>;
50117
+ }, "strip", z.ZodTypeAny, {
50118
+ card_function_type: "guest" | "staff";
50119
+ auto_join?: boolean | undefined;
50120
+ joiner_acs_credential_ids?: string[] | undefined;
50121
+ guest_acs_entrance_ids?: string[] | undefined;
50122
+ common_acs_entrance_ids?: string[] | undefined;
50123
+ is_valid?: boolean | undefined;
50124
+ card_id?: string | undefined;
50125
+ credential_id?: string | undefined;
50126
+ }, {
50127
+ card_function_type: "guest" | "staff";
50128
+ auto_join?: boolean | undefined;
50129
+ joiner_acs_credential_ids?: string[] | undefined;
50130
+ guest_acs_entrance_ids?: string[] | undefined;
50131
+ common_acs_entrance_ids?: string[] | undefined;
50132
+ is_valid?: boolean | undefined;
50133
+ card_id?: string | undefined;
50134
+ credential_id?: string | undefined;
50135
+ }>>;
50136
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
50137
+ auto_join: z.ZodOptional<z.ZodBoolean>;
50138
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50139
+ key_id: z.ZodOptional<z.ZodString>;
50140
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
50141
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50142
+ endpoint_id: z.ZodOptional<z.ZodString>;
50143
+ }, "strip", z.ZodTypeAny, {
50144
+ key_id?: string | undefined;
50145
+ endpoint_id?: string | undefined;
50146
+ auto_join?: boolean | undefined;
50147
+ override_guest_acs_entrance_ids?: string[] | undefined;
50148
+ key_issuing_request_id?: string | undefined;
50149
+ door_names?: string[] | undefined;
50150
+ }, {
50151
+ key_id?: string | undefined;
50152
+ endpoint_id?: string | undefined;
50153
+ auto_join?: boolean | undefined;
50154
+ override_guest_acs_entrance_ids?: string[] | undefined;
50155
+ key_issuing_request_id?: string | undefined;
50156
+ door_names?: string[] | undefined;
50157
+ }>>;
50158
+ } & {
50159
+ is_managed: z.ZodLiteral<false>;
50160
+ }, "strip", z.ZodTypeAny, {
50161
+ display_name: string;
50162
+ workspace_id: string;
50163
+ created_at: string;
50164
+ errors: {
50165
+ message: string;
50166
+ error_code: string;
50167
+ }[];
50168
+ connected_account_id: string;
50169
+ warnings: ({
50170
+ message: string;
50171
+ created_at: string;
50172
+ warning_code: "waiting_to_be_issued";
50173
+ } | {
50174
+ message: string;
50175
+ created_at: string;
50176
+ warning_code: "schedule_externally_modified";
50177
+ } | {
50178
+ message: string;
50179
+ created_at: string;
50180
+ warning_code: "schedule_modified";
50181
+ } | {
50182
+ message: string;
50183
+ created_at: string;
50184
+ warning_code: "being_deleted";
50185
+ } | {
50186
+ message: string;
50187
+ created_at: string;
50188
+ warning_code: "unknown_issue_with_acs_credential";
50189
+ } | {
50190
+ message: string;
50191
+ created_at: string;
50192
+ warning_code: "needs_to_be_reissued";
50193
+ })[];
50194
+ is_managed: false;
50195
+ acs_system_id: string;
50196
+ acs_credential_id: string;
50197
+ access_method: "code" | "card" | "mobile_key";
50198
+ code?: string | null | undefined;
50199
+ starts_at?: string | undefined;
50200
+ ends_at?: string | undefined;
50201
+ visionline_metadata?: {
50202
+ card_function_type: "guest" | "staff";
50203
+ auto_join?: boolean | undefined;
50204
+ joiner_acs_credential_ids?: string[] | undefined;
50205
+ guest_acs_entrance_ids?: string[] | undefined;
50206
+ common_acs_entrance_ids?: string[] | undefined;
50207
+ is_valid?: boolean | undefined;
50208
+ card_id?: string | undefined;
50209
+ credential_id?: string | undefined;
50210
+ } | undefined;
50211
+ assa_abloy_vostio_metadata?: {
50212
+ key_id?: string | undefined;
50213
+ endpoint_id?: string | undefined;
50214
+ auto_join?: boolean | undefined;
50215
+ override_guest_acs_entrance_ids?: string[] | undefined;
50216
+ key_issuing_request_id?: string | undefined;
50217
+ door_names?: string[] | undefined;
50218
+ } | undefined;
50219
+ is_one_time_use?: boolean | undefined;
50220
+ user_identity_id?: string | undefined;
50221
+ issued_at?: string | null | undefined;
50222
+ is_issued?: boolean | undefined;
50223
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
50224
+ external_type_display_name?: string | undefined;
50225
+ acs_user_id?: string | undefined;
50226
+ acs_credential_pool_id?: string | undefined;
50227
+ parent_acs_credential_id?: string | undefined;
50228
+ card_number?: string | null | undefined;
50229
+ is_multi_phone_sync_credential?: boolean | undefined;
50230
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
50231
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
50232
+ }, {
50233
+ display_name: string;
50234
+ workspace_id: string;
50235
+ created_at: string;
50236
+ errors: {
50237
+ message: string;
50238
+ error_code: string;
50239
+ }[];
50240
+ connected_account_id: string;
50241
+ warnings: ({
50242
+ message: string;
50243
+ created_at: string;
50244
+ warning_code: "waiting_to_be_issued";
50245
+ } | {
50246
+ message: string;
50247
+ created_at: string;
50248
+ warning_code: "schedule_externally_modified";
50249
+ } | {
50250
+ message: string;
50251
+ created_at: string;
50252
+ warning_code: "schedule_modified";
50253
+ } | {
50254
+ message: string;
50255
+ created_at: string;
50256
+ warning_code: "being_deleted";
50257
+ } | {
50258
+ message: string;
50259
+ created_at: string;
50260
+ warning_code: "unknown_issue_with_acs_credential";
50261
+ } | {
50262
+ message: string;
50263
+ created_at: string;
50264
+ warning_code: "needs_to_be_reissued";
50265
+ })[];
50266
+ is_managed: false;
50267
+ acs_system_id: string;
50268
+ acs_credential_id: string;
50269
+ access_method: "code" | "card" | "mobile_key";
50270
+ code?: string | null | undefined;
50271
+ starts_at?: string | undefined;
50272
+ ends_at?: string | undefined;
50273
+ visionline_metadata?: {
50274
+ card_function_type: "guest" | "staff";
50275
+ auto_join?: boolean | undefined;
50276
+ joiner_acs_credential_ids?: string[] | undefined;
50277
+ guest_acs_entrance_ids?: string[] | undefined;
50278
+ common_acs_entrance_ids?: string[] | undefined;
50279
+ is_valid?: boolean | undefined;
50280
+ card_id?: string | undefined;
50281
+ credential_id?: string | undefined;
50282
+ } | undefined;
50283
+ assa_abloy_vostio_metadata?: {
50284
+ key_id?: string | undefined;
50285
+ endpoint_id?: string | undefined;
50286
+ auto_join?: boolean | undefined;
50287
+ override_guest_acs_entrance_ids?: string[] | undefined;
50288
+ key_issuing_request_id?: string | undefined;
50289
+ door_names?: string[] | undefined;
50290
+ } | undefined;
50291
+ is_one_time_use?: boolean | undefined;
50292
+ user_identity_id?: string | undefined;
50293
+ issued_at?: string | null | undefined;
50294
+ is_issued?: boolean | undefined;
50295
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
50296
+ external_type_display_name?: string | undefined;
50297
+ acs_user_id?: string | undefined;
50298
+ acs_credential_pool_id?: string | undefined;
50299
+ parent_acs_credential_id?: string | undefined;
50300
+ card_number?: string | null | undefined;
50301
+ is_multi_phone_sync_credential?: boolean | undefined;
50302
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
50303
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
50304
+ }>, "many">>;
48730
50305
  action_attempts: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
48731
50306
  action_attempt_id: z.ZodString;
48732
50307
  } & {
@@ -59771,6 +61346,31 @@ export declare const batch: z.ZodObject<{
59771
61346
  event_type: "phone.deactivated";
59772
61347
  device_custom_metadata?: Record<string, string | boolean> | undefined;
59773
61348
  }>]>, "many">>;
61349
+ instant_keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
61350
+ instant_key_id: z.ZodString;
61351
+ workspace_id: z.ZodString;
61352
+ created_at: z.ZodString;
61353
+ instant_key_url: z.ZodString;
61354
+ client_session_id: z.ZodString;
61355
+ user_identity_id: z.ZodString;
61356
+ expires_at: z.ZodString;
61357
+ }, "strip", z.ZodTypeAny, {
61358
+ workspace_id: string;
61359
+ created_at: string;
61360
+ user_identity_id: string;
61361
+ instant_key_url: string;
61362
+ client_session_id: string;
61363
+ expires_at: string;
61364
+ instant_key_id: string;
61365
+ }, {
61366
+ workspace_id: string;
61367
+ created_at: string;
61368
+ user_identity_id: string;
61369
+ instant_key_url: string;
61370
+ client_session_id: string;
61371
+ expires_at: string;
61372
+ instant_key_id: string;
61373
+ }>, "many">>;
59774
61374
  }, "strip", z.ZodTypeAny, {
59775
61375
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
59776
61376
  spaces?: {
@@ -60797,6 +62397,152 @@ export declare const batch: z.ZodObject<{
60797
62397
  acs_system_id: string;
60798
62398
  acs_encoder_id: string;
60799
62399
  }[] | undefined;
62400
+ acs_credentials?: {
62401
+ display_name: string;
62402
+ workspace_id: string;
62403
+ created_at: string;
62404
+ errors: {
62405
+ message: string;
62406
+ error_code: string;
62407
+ }[];
62408
+ connected_account_id: string;
62409
+ warnings: ({
62410
+ message: string;
62411
+ created_at: string;
62412
+ warning_code: "waiting_to_be_issued";
62413
+ } | {
62414
+ message: string;
62415
+ created_at: string;
62416
+ warning_code: "schedule_externally_modified";
62417
+ } | {
62418
+ message: string;
62419
+ created_at: string;
62420
+ warning_code: "schedule_modified";
62421
+ } | {
62422
+ message: string;
62423
+ created_at: string;
62424
+ warning_code: "being_deleted";
62425
+ } | {
62426
+ message: string;
62427
+ created_at: string;
62428
+ warning_code: "unknown_issue_with_acs_credential";
62429
+ } | {
62430
+ message: string;
62431
+ created_at: string;
62432
+ warning_code: "needs_to_be_reissued";
62433
+ })[];
62434
+ is_managed: true;
62435
+ acs_system_id: string;
62436
+ acs_credential_id: string;
62437
+ access_method: "code" | "card" | "mobile_key";
62438
+ code?: string | null | undefined;
62439
+ starts_at?: string | undefined;
62440
+ ends_at?: string | undefined;
62441
+ visionline_metadata?: {
62442
+ card_function_type: "guest" | "staff";
62443
+ auto_join?: boolean | undefined;
62444
+ joiner_acs_credential_ids?: string[] | undefined;
62445
+ guest_acs_entrance_ids?: string[] | undefined;
62446
+ common_acs_entrance_ids?: string[] | undefined;
62447
+ is_valid?: boolean | undefined;
62448
+ card_id?: string | undefined;
62449
+ credential_id?: string | undefined;
62450
+ } | undefined;
62451
+ assa_abloy_vostio_metadata?: {
62452
+ key_id?: string | undefined;
62453
+ endpoint_id?: string | undefined;
62454
+ auto_join?: boolean | undefined;
62455
+ override_guest_acs_entrance_ids?: string[] | undefined;
62456
+ key_issuing_request_id?: string | undefined;
62457
+ door_names?: string[] | undefined;
62458
+ } | undefined;
62459
+ is_one_time_use?: boolean | undefined;
62460
+ user_identity_id?: string | undefined;
62461
+ issued_at?: string | null | undefined;
62462
+ is_issued?: boolean | undefined;
62463
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
62464
+ external_type_display_name?: string | undefined;
62465
+ acs_user_id?: string | undefined;
62466
+ acs_credential_pool_id?: string | undefined;
62467
+ parent_acs_credential_id?: string | undefined;
62468
+ card_number?: string | null | undefined;
62469
+ is_multi_phone_sync_credential?: boolean | undefined;
62470
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
62471
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
62472
+ }[] | undefined;
62473
+ unmanaged_acs_credentials?: {
62474
+ display_name: string;
62475
+ workspace_id: string;
62476
+ created_at: string;
62477
+ errors: {
62478
+ message: string;
62479
+ error_code: string;
62480
+ }[];
62481
+ connected_account_id: string;
62482
+ warnings: ({
62483
+ message: string;
62484
+ created_at: string;
62485
+ warning_code: "waiting_to_be_issued";
62486
+ } | {
62487
+ message: string;
62488
+ created_at: string;
62489
+ warning_code: "schedule_externally_modified";
62490
+ } | {
62491
+ message: string;
62492
+ created_at: string;
62493
+ warning_code: "schedule_modified";
62494
+ } | {
62495
+ message: string;
62496
+ created_at: string;
62497
+ warning_code: "being_deleted";
62498
+ } | {
62499
+ message: string;
62500
+ created_at: string;
62501
+ warning_code: "unknown_issue_with_acs_credential";
62502
+ } | {
62503
+ message: string;
62504
+ created_at: string;
62505
+ warning_code: "needs_to_be_reissued";
62506
+ })[];
62507
+ is_managed: false;
62508
+ acs_system_id: string;
62509
+ acs_credential_id: string;
62510
+ access_method: "code" | "card" | "mobile_key";
62511
+ code?: string | null | undefined;
62512
+ starts_at?: string | undefined;
62513
+ ends_at?: string | undefined;
62514
+ visionline_metadata?: {
62515
+ card_function_type: "guest" | "staff";
62516
+ auto_join?: boolean | undefined;
62517
+ joiner_acs_credential_ids?: string[] | undefined;
62518
+ guest_acs_entrance_ids?: string[] | undefined;
62519
+ common_acs_entrance_ids?: string[] | undefined;
62520
+ is_valid?: boolean | undefined;
62521
+ card_id?: string | undefined;
62522
+ credential_id?: string | undefined;
62523
+ } | undefined;
62524
+ assa_abloy_vostio_metadata?: {
62525
+ key_id?: string | undefined;
62526
+ endpoint_id?: string | undefined;
62527
+ auto_join?: boolean | undefined;
62528
+ override_guest_acs_entrance_ids?: string[] | undefined;
62529
+ key_issuing_request_id?: string | undefined;
62530
+ door_names?: string[] | undefined;
62531
+ } | undefined;
62532
+ is_one_time_use?: boolean | undefined;
62533
+ user_identity_id?: string | undefined;
62534
+ issued_at?: string | null | undefined;
62535
+ is_issued?: boolean | undefined;
62536
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
62537
+ external_type_display_name?: string | undefined;
62538
+ acs_user_id?: string | undefined;
62539
+ acs_credential_pool_id?: string | undefined;
62540
+ parent_acs_credential_id?: string | undefined;
62541
+ card_number?: string | null | undefined;
62542
+ is_multi_phone_sync_credential?: boolean | undefined;
62543
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
62544
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
62545
+ }[] | undefined;
60800
62546
  action_attempts?: ({
60801
62547
  status: "pending";
60802
62548
  action_attempt_id: string;
@@ -62822,6 +64568,15 @@ export declare const batch: z.ZodObject<{
62822
64568
  event_type: "phone.deactivated";
62823
64569
  device_custom_metadata?: Record<string, string | boolean> | undefined;
62824
64570
  })[] | undefined;
64571
+ instant_keys?: {
64572
+ workspace_id: string;
64573
+ created_at: string;
64574
+ user_identity_id: string;
64575
+ instant_key_url: string;
64576
+ client_session_id: string;
64577
+ expires_at: string;
64578
+ instant_key_id: string;
64579
+ }[] | undefined;
62825
64580
  }, {
62826
64581
  batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
62827
64582
  spaces?: {
@@ -63848,6 +65603,152 @@ export declare const batch: z.ZodObject<{
63848
65603
  acs_system_id: string;
63849
65604
  acs_encoder_id: string;
63850
65605
  }[] | undefined;
65606
+ acs_credentials?: {
65607
+ display_name: string;
65608
+ workspace_id: string;
65609
+ created_at: string;
65610
+ errors: {
65611
+ message: string;
65612
+ error_code: string;
65613
+ }[];
65614
+ connected_account_id: string;
65615
+ warnings: ({
65616
+ message: string;
65617
+ created_at: string;
65618
+ warning_code: "waiting_to_be_issued";
65619
+ } | {
65620
+ message: string;
65621
+ created_at: string;
65622
+ warning_code: "schedule_externally_modified";
65623
+ } | {
65624
+ message: string;
65625
+ created_at: string;
65626
+ warning_code: "schedule_modified";
65627
+ } | {
65628
+ message: string;
65629
+ created_at: string;
65630
+ warning_code: "being_deleted";
65631
+ } | {
65632
+ message: string;
65633
+ created_at: string;
65634
+ warning_code: "unknown_issue_with_acs_credential";
65635
+ } | {
65636
+ message: string;
65637
+ created_at: string;
65638
+ warning_code: "needs_to_be_reissued";
65639
+ })[];
65640
+ is_managed: true;
65641
+ acs_system_id: string;
65642
+ acs_credential_id: string;
65643
+ access_method: "code" | "card" | "mobile_key";
65644
+ code?: string | null | undefined;
65645
+ starts_at?: string | undefined;
65646
+ ends_at?: string | undefined;
65647
+ visionline_metadata?: {
65648
+ card_function_type: "guest" | "staff";
65649
+ auto_join?: boolean | undefined;
65650
+ joiner_acs_credential_ids?: string[] | undefined;
65651
+ guest_acs_entrance_ids?: string[] | undefined;
65652
+ common_acs_entrance_ids?: string[] | undefined;
65653
+ is_valid?: boolean | undefined;
65654
+ card_id?: string | undefined;
65655
+ credential_id?: string | undefined;
65656
+ } | undefined;
65657
+ assa_abloy_vostio_metadata?: {
65658
+ key_id?: string | undefined;
65659
+ endpoint_id?: string | undefined;
65660
+ auto_join?: boolean | undefined;
65661
+ override_guest_acs_entrance_ids?: string[] | undefined;
65662
+ key_issuing_request_id?: string | undefined;
65663
+ door_names?: string[] | undefined;
65664
+ } | undefined;
65665
+ is_one_time_use?: boolean | undefined;
65666
+ user_identity_id?: string | undefined;
65667
+ issued_at?: string | null | undefined;
65668
+ is_issued?: boolean | undefined;
65669
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
65670
+ external_type_display_name?: string | undefined;
65671
+ acs_user_id?: string | undefined;
65672
+ acs_credential_pool_id?: string | undefined;
65673
+ parent_acs_credential_id?: string | undefined;
65674
+ card_number?: string | null | undefined;
65675
+ is_multi_phone_sync_credential?: boolean | undefined;
65676
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
65677
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
65678
+ }[] | undefined;
65679
+ unmanaged_acs_credentials?: {
65680
+ display_name: string;
65681
+ workspace_id: string;
65682
+ created_at: string;
65683
+ errors: {
65684
+ message: string;
65685
+ error_code: string;
65686
+ }[];
65687
+ connected_account_id: string;
65688
+ warnings: ({
65689
+ message: string;
65690
+ created_at: string;
65691
+ warning_code: "waiting_to_be_issued";
65692
+ } | {
65693
+ message: string;
65694
+ created_at: string;
65695
+ warning_code: "schedule_externally_modified";
65696
+ } | {
65697
+ message: string;
65698
+ created_at: string;
65699
+ warning_code: "schedule_modified";
65700
+ } | {
65701
+ message: string;
65702
+ created_at: string;
65703
+ warning_code: "being_deleted";
65704
+ } | {
65705
+ message: string;
65706
+ created_at: string;
65707
+ warning_code: "unknown_issue_with_acs_credential";
65708
+ } | {
65709
+ message: string;
65710
+ created_at: string;
65711
+ warning_code: "needs_to_be_reissued";
65712
+ })[];
65713
+ is_managed: false;
65714
+ acs_system_id: string;
65715
+ acs_credential_id: string;
65716
+ access_method: "code" | "card" | "mobile_key";
65717
+ code?: string | null | undefined;
65718
+ starts_at?: string | undefined;
65719
+ ends_at?: string | undefined;
65720
+ visionline_metadata?: {
65721
+ card_function_type: "guest" | "staff";
65722
+ auto_join?: boolean | undefined;
65723
+ joiner_acs_credential_ids?: string[] | undefined;
65724
+ guest_acs_entrance_ids?: string[] | undefined;
65725
+ common_acs_entrance_ids?: string[] | undefined;
65726
+ is_valid?: boolean | undefined;
65727
+ card_id?: string | undefined;
65728
+ credential_id?: string | undefined;
65729
+ } | undefined;
65730
+ assa_abloy_vostio_metadata?: {
65731
+ key_id?: string | undefined;
65732
+ endpoint_id?: string | undefined;
65733
+ auto_join?: boolean | undefined;
65734
+ override_guest_acs_entrance_ids?: string[] | undefined;
65735
+ key_issuing_request_id?: string | undefined;
65736
+ door_names?: string[] | undefined;
65737
+ } | undefined;
65738
+ is_one_time_use?: boolean | undefined;
65739
+ user_identity_id?: string | undefined;
65740
+ issued_at?: string | null | undefined;
65741
+ is_issued?: boolean | undefined;
65742
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
65743
+ external_type_display_name?: string | undefined;
65744
+ acs_user_id?: string | undefined;
65745
+ acs_credential_pool_id?: string | undefined;
65746
+ parent_acs_credential_id?: string | undefined;
65747
+ card_number?: string | null | undefined;
65748
+ is_multi_phone_sync_credential?: boolean | undefined;
65749
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
65750
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
65751
+ }[] | undefined;
63851
65752
  action_attempts?: ({
63852
65753
  status: "pending";
63853
65754
  action_attempt_id: string;
@@ -65873,6 +67774,15 @@ export declare const batch: z.ZodObject<{
65873
67774
  event_type: "phone.deactivated";
65874
67775
  device_custom_metadata?: Record<string, string | boolean> | undefined;
65875
67776
  })[] | undefined;
67777
+ instant_keys?: {
67778
+ workspace_id: string;
67779
+ created_at: string;
67780
+ user_identity_id: string;
67781
+ instant_key_url: string;
67782
+ client_session_id: string;
67783
+ expires_at: string;
67784
+ instant_key_id: string;
67785
+ }[] | undefined;
65876
67786
  }>;
65877
67787
  export type WorkspacesBatch = z.infer<typeof workspaces_batch>;
65878
67788
  export type Batch = z.infer<typeof batch>;