@seamapi/types 1.487.0 → 1.489.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.
@@ -12086,6 +12086,71 @@ export declare const access_grants_batch: z.ZodObject<{
12086
12086
  system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "dormakaba_ambiance_site" | "legic_connect_credential_service" | undefined;
12087
12087
  system_type_display_name?: string | undefined;
12088
12088
  }>, "many">>;
12089
+ acs_access_groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
12090
+ acs_access_group_id: z.ZodString;
12091
+ acs_system_id: z.ZodString;
12092
+ workspace_id: z.ZodString;
12093
+ connected_account_id: z.ZodString;
12094
+ name: z.ZodString;
12095
+ access_group_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group"]>;
12096
+ access_group_type_display_name: z.ZodString;
12097
+ display_name: z.ZodString;
12098
+ external_type: z.ZodEnum<["pti_unit", "pti_access_level", "salto_ks_access_group", "brivo_group", "salto_space_group", "dormakaba_community_access_group"]>;
12099
+ external_type_display_name: z.ZodString;
12100
+ created_at: z.ZodString;
12101
+ warnings: z.ZodArray<z.ZodObject<{
12102
+ created_at: z.ZodString;
12103
+ message: z.ZodString;
12104
+ } & {
12105
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_access_group">;
12106
+ }, "strip", z.ZodTypeAny, {
12107
+ message: string;
12108
+ created_at: string;
12109
+ warning_code: "unknown_issue_with_acs_access_group";
12110
+ }, {
12111
+ message: string;
12112
+ created_at: string;
12113
+ warning_code: "unknown_issue_with_acs_access_group";
12114
+ }>, "many">;
12115
+ } & {
12116
+ is_managed: z.ZodLiteral<true>;
12117
+ }, "strip", z.ZodTypeAny, {
12118
+ name: string;
12119
+ display_name: string;
12120
+ workspace_id: string;
12121
+ created_at: string;
12122
+ connected_account_id: string;
12123
+ warnings: {
12124
+ message: string;
12125
+ created_at: string;
12126
+ warning_code: "unknown_issue_with_acs_access_group";
12127
+ }[];
12128
+ is_managed: true;
12129
+ acs_access_group_id: string;
12130
+ acs_system_id: string;
12131
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
12132
+ access_group_type_display_name: string;
12133
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
12134
+ external_type_display_name: string;
12135
+ }, {
12136
+ name: string;
12137
+ display_name: string;
12138
+ workspace_id: string;
12139
+ created_at: string;
12140
+ connected_account_id: string;
12141
+ warnings: {
12142
+ message: string;
12143
+ created_at: string;
12144
+ warning_code: "unknown_issue_with_acs_access_group";
12145
+ }[];
12146
+ is_managed: true;
12147
+ acs_access_group_id: string;
12148
+ acs_system_id: string;
12149
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
12150
+ access_group_type_display_name: string;
12151
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
12152
+ external_type_display_name: string;
12153
+ }>, "many">>;
12089
12154
  }, "strip", z.ZodTypeAny, {
12090
12155
  batch_type: "access_grants";
12091
12156
  spaces?: {
@@ -12978,6 +13043,25 @@ export declare const access_grants_batch: z.ZodObject<{
12978
13043
  user_identity_key: string | null;
12979
13044
  acs_user_ids: string[];
12980
13045
  }[] | undefined;
13046
+ acs_access_groups?: {
13047
+ name: string;
13048
+ display_name: string;
13049
+ workspace_id: string;
13050
+ created_at: string;
13051
+ connected_account_id: string;
13052
+ warnings: {
13053
+ message: string;
13054
+ created_at: string;
13055
+ warning_code: "unknown_issue_with_acs_access_group";
13056
+ }[];
13057
+ is_managed: true;
13058
+ acs_access_group_id: string;
13059
+ acs_system_id: string;
13060
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
13061
+ access_group_type_display_name: string;
13062
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
13063
+ external_type_display_name: string;
13064
+ }[] | undefined;
12981
13065
  }, {
12982
13066
  batch_type: "access_grants";
12983
13067
  spaces?: {
@@ -13870,6 +13954,25 @@ export declare const access_grants_batch: z.ZodObject<{
13870
13954
  user_identity_key: string | null;
13871
13955
  acs_user_ids: string[];
13872
13956
  }[] | undefined;
13957
+ acs_access_groups?: {
13958
+ name: string;
13959
+ display_name: string;
13960
+ workspace_id: string;
13961
+ created_at: string;
13962
+ connected_account_id: string;
13963
+ warnings: {
13964
+ message: string;
13965
+ created_at: string;
13966
+ warning_code: "unknown_issue_with_acs_access_group";
13967
+ }[];
13968
+ is_managed: true;
13969
+ acs_access_group_id: string;
13970
+ acs_system_id: string;
13971
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
13972
+ access_group_type_display_name: string;
13973
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
13974
+ external_type_display_name: string;
13975
+ }[] | undefined;
13873
13976
  }>;
13874
13977
  export declare const access_methods_batch: z.ZodObject<{
13875
13978
  batch_type: z.ZodLiteral<"access_methods">;
@@ -25416,6 +25519,626 @@ export declare const workspaces_batch: z.ZodObject<{
25416
25519
  acs_system_id: string;
25417
25520
  acs_encoder_id: string;
25418
25521
  }>, "many">>;
25522
+ acs_credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
25523
+ acs_credential_id: z.ZodString;
25524
+ acs_user_id: z.ZodOptional<z.ZodString>;
25525
+ user_identity_id: z.ZodOptional<z.ZodString>;
25526
+ connected_account_id: z.ZodString;
25527
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
25528
+ acs_system_id: z.ZodString;
25529
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
25530
+ display_name: z.ZodString;
25531
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25532
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
25533
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25534
+ is_issued: z.ZodOptional<z.ZodBoolean>;
25535
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25536
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
25537
+ 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"]>>;
25538
+ external_type_display_name: z.ZodOptional<z.ZodString>;
25539
+ created_at: z.ZodString;
25540
+ workspace_id: z.ZodString;
25541
+ starts_at: z.ZodOptional<z.ZodString>;
25542
+ ends_at: z.ZodOptional<z.ZodString>;
25543
+ errors: z.ZodArray<z.ZodObject<{
25544
+ error_code: z.ZodString;
25545
+ message: z.ZodString;
25546
+ }, "strip", z.ZodTypeAny, {
25547
+ message: string;
25548
+ error_code: string;
25549
+ }, {
25550
+ message: string;
25551
+ error_code: string;
25552
+ }>, "many">;
25553
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
25554
+ created_at: z.ZodString;
25555
+ message: z.ZodString;
25556
+ } & {
25557
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
25558
+ }, "strip", z.ZodTypeAny, {
25559
+ message: string;
25560
+ created_at: string;
25561
+ warning_code: "waiting_to_be_issued";
25562
+ }, {
25563
+ message: string;
25564
+ created_at: string;
25565
+ warning_code: "waiting_to_be_issued";
25566
+ }>, z.ZodObject<{
25567
+ created_at: z.ZodString;
25568
+ message: z.ZodString;
25569
+ } & {
25570
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
25571
+ }, "strip", z.ZodTypeAny, {
25572
+ message: string;
25573
+ created_at: string;
25574
+ warning_code: "schedule_externally_modified";
25575
+ }, {
25576
+ message: string;
25577
+ created_at: string;
25578
+ warning_code: "schedule_externally_modified";
25579
+ }>, z.ZodObject<{
25580
+ created_at: z.ZodString;
25581
+ message: z.ZodString;
25582
+ } & {
25583
+ warning_code: z.ZodLiteral<"schedule_modified">;
25584
+ }, "strip", z.ZodTypeAny, {
25585
+ message: string;
25586
+ created_at: string;
25587
+ warning_code: "schedule_modified";
25588
+ }, {
25589
+ message: string;
25590
+ created_at: string;
25591
+ warning_code: "schedule_modified";
25592
+ }>, z.ZodObject<{
25593
+ created_at: z.ZodString;
25594
+ message: z.ZodString;
25595
+ } & {
25596
+ warning_code: z.ZodLiteral<"being_deleted">;
25597
+ }, "strip", z.ZodTypeAny, {
25598
+ message: string;
25599
+ created_at: string;
25600
+ warning_code: "being_deleted";
25601
+ }, {
25602
+ message: string;
25603
+ created_at: string;
25604
+ warning_code: "being_deleted";
25605
+ }>, z.ZodObject<{
25606
+ created_at: z.ZodString;
25607
+ message: z.ZodString;
25608
+ } & {
25609
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
25610
+ }, "strip", z.ZodTypeAny, {
25611
+ message: string;
25612
+ created_at: string;
25613
+ warning_code: "unknown_issue_with_acs_credential";
25614
+ }, {
25615
+ message: string;
25616
+ created_at: string;
25617
+ warning_code: "unknown_issue_with_acs_credential";
25618
+ }>, z.ZodObject<{
25619
+ created_at: z.ZodString;
25620
+ message: z.ZodString;
25621
+ } & {
25622
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
25623
+ }, "strip", z.ZodTypeAny, {
25624
+ message: string;
25625
+ created_at: string;
25626
+ warning_code: "needs_to_be_reissued";
25627
+ }, {
25628
+ message: string;
25629
+ created_at: string;
25630
+ warning_code: "needs_to_be_reissued";
25631
+ }>]>, "many">;
25632
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
25633
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25634
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25635
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
25636
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
25637
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25638
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25639
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25640
+ is_valid: z.ZodOptional<z.ZodBoolean>;
25641
+ auto_join: z.ZodOptional<z.ZodBoolean>;
25642
+ card_id: z.ZodOptional<z.ZodString>;
25643
+ credential_id: z.ZodOptional<z.ZodString>;
25644
+ }, "strip", z.ZodTypeAny, {
25645
+ card_function_type: "guest" | "staff";
25646
+ auto_join?: boolean | undefined;
25647
+ joiner_acs_credential_ids?: string[] | undefined;
25648
+ guest_acs_entrance_ids?: string[] | undefined;
25649
+ common_acs_entrance_ids?: string[] | undefined;
25650
+ is_valid?: boolean | undefined;
25651
+ card_id?: string | undefined;
25652
+ credential_id?: string | undefined;
25653
+ }, {
25654
+ card_function_type: "guest" | "staff";
25655
+ auto_join?: boolean | undefined;
25656
+ joiner_acs_credential_ids?: string[] | undefined;
25657
+ guest_acs_entrance_ids?: string[] | undefined;
25658
+ common_acs_entrance_ids?: string[] | undefined;
25659
+ is_valid?: boolean | undefined;
25660
+ card_id?: string | undefined;
25661
+ credential_id?: string | undefined;
25662
+ }>>;
25663
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
25664
+ auto_join: z.ZodOptional<z.ZodBoolean>;
25665
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25666
+ key_id: z.ZodOptional<z.ZodString>;
25667
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
25668
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25669
+ endpoint_id: z.ZodOptional<z.ZodString>;
25670
+ }, "strip", z.ZodTypeAny, {
25671
+ key_id?: string | undefined;
25672
+ endpoint_id?: string | undefined;
25673
+ auto_join?: boolean | undefined;
25674
+ override_guest_acs_entrance_ids?: string[] | undefined;
25675
+ key_issuing_request_id?: string | undefined;
25676
+ door_names?: string[] | undefined;
25677
+ }, {
25678
+ key_id?: string | undefined;
25679
+ endpoint_id?: string | undefined;
25680
+ auto_join?: boolean | undefined;
25681
+ override_guest_acs_entrance_ids?: string[] | undefined;
25682
+ key_issuing_request_id?: string | undefined;
25683
+ door_names?: string[] | undefined;
25684
+ }>>;
25685
+ } & {
25686
+ is_managed: z.ZodLiteral<true>;
25687
+ }, "strip", z.ZodTypeAny, {
25688
+ display_name: string;
25689
+ workspace_id: string;
25690
+ created_at: string;
25691
+ errors: {
25692
+ message: string;
25693
+ error_code: string;
25694
+ }[];
25695
+ connected_account_id: string;
25696
+ warnings: ({
25697
+ message: string;
25698
+ created_at: string;
25699
+ warning_code: "waiting_to_be_issued";
25700
+ } | {
25701
+ message: string;
25702
+ created_at: string;
25703
+ warning_code: "schedule_externally_modified";
25704
+ } | {
25705
+ message: string;
25706
+ created_at: string;
25707
+ warning_code: "schedule_modified";
25708
+ } | {
25709
+ message: string;
25710
+ created_at: string;
25711
+ warning_code: "being_deleted";
25712
+ } | {
25713
+ message: string;
25714
+ created_at: string;
25715
+ warning_code: "unknown_issue_with_acs_credential";
25716
+ } | {
25717
+ message: string;
25718
+ created_at: string;
25719
+ warning_code: "needs_to_be_reissued";
25720
+ })[];
25721
+ is_managed: true;
25722
+ acs_system_id: string;
25723
+ acs_credential_id: string;
25724
+ access_method: "code" | "card" | "mobile_key";
25725
+ code?: string | null | undefined;
25726
+ starts_at?: string | undefined;
25727
+ ends_at?: string | undefined;
25728
+ visionline_metadata?: {
25729
+ card_function_type: "guest" | "staff";
25730
+ auto_join?: boolean | undefined;
25731
+ joiner_acs_credential_ids?: string[] | undefined;
25732
+ guest_acs_entrance_ids?: string[] | undefined;
25733
+ common_acs_entrance_ids?: string[] | undefined;
25734
+ is_valid?: boolean | undefined;
25735
+ card_id?: string | undefined;
25736
+ credential_id?: string | undefined;
25737
+ } | undefined;
25738
+ assa_abloy_vostio_metadata?: {
25739
+ key_id?: string | undefined;
25740
+ endpoint_id?: string | undefined;
25741
+ auto_join?: boolean | undefined;
25742
+ override_guest_acs_entrance_ids?: string[] | undefined;
25743
+ key_issuing_request_id?: string | undefined;
25744
+ door_names?: string[] | undefined;
25745
+ } | undefined;
25746
+ is_one_time_use?: boolean | undefined;
25747
+ user_identity_id?: string | undefined;
25748
+ issued_at?: string | null | undefined;
25749
+ is_issued?: boolean | undefined;
25750
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
25751
+ external_type_display_name?: string | undefined;
25752
+ acs_user_id?: string | undefined;
25753
+ acs_credential_pool_id?: string | undefined;
25754
+ parent_acs_credential_id?: string | undefined;
25755
+ card_number?: string | null | undefined;
25756
+ is_multi_phone_sync_credential?: boolean | undefined;
25757
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
25758
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
25759
+ }, {
25760
+ display_name: string;
25761
+ workspace_id: string;
25762
+ created_at: string;
25763
+ errors: {
25764
+ message: string;
25765
+ error_code: string;
25766
+ }[];
25767
+ connected_account_id: string;
25768
+ warnings: ({
25769
+ message: string;
25770
+ created_at: string;
25771
+ warning_code: "waiting_to_be_issued";
25772
+ } | {
25773
+ message: string;
25774
+ created_at: string;
25775
+ warning_code: "schedule_externally_modified";
25776
+ } | {
25777
+ message: string;
25778
+ created_at: string;
25779
+ warning_code: "schedule_modified";
25780
+ } | {
25781
+ message: string;
25782
+ created_at: string;
25783
+ warning_code: "being_deleted";
25784
+ } | {
25785
+ message: string;
25786
+ created_at: string;
25787
+ warning_code: "unknown_issue_with_acs_credential";
25788
+ } | {
25789
+ message: string;
25790
+ created_at: string;
25791
+ warning_code: "needs_to_be_reissued";
25792
+ })[];
25793
+ is_managed: true;
25794
+ acs_system_id: string;
25795
+ acs_credential_id: string;
25796
+ access_method: "code" | "card" | "mobile_key";
25797
+ code?: string | null | undefined;
25798
+ starts_at?: string | undefined;
25799
+ ends_at?: string | undefined;
25800
+ visionline_metadata?: {
25801
+ card_function_type: "guest" | "staff";
25802
+ auto_join?: boolean | undefined;
25803
+ joiner_acs_credential_ids?: string[] | undefined;
25804
+ guest_acs_entrance_ids?: string[] | undefined;
25805
+ common_acs_entrance_ids?: string[] | undefined;
25806
+ is_valid?: boolean | undefined;
25807
+ card_id?: string | undefined;
25808
+ credential_id?: string | undefined;
25809
+ } | undefined;
25810
+ assa_abloy_vostio_metadata?: {
25811
+ key_id?: string | undefined;
25812
+ endpoint_id?: string | undefined;
25813
+ auto_join?: boolean | undefined;
25814
+ override_guest_acs_entrance_ids?: string[] | undefined;
25815
+ key_issuing_request_id?: string | undefined;
25816
+ door_names?: string[] | undefined;
25817
+ } | undefined;
25818
+ is_one_time_use?: boolean | undefined;
25819
+ user_identity_id?: string | undefined;
25820
+ issued_at?: string | null | undefined;
25821
+ is_issued?: boolean | undefined;
25822
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
25823
+ external_type_display_name?: string | undefined;
25824
+ acs_user_id?: string | undefined;
25825
+ acs_credential_pool_id?: string | undefined;
25826
+ parent_acs_credential_id?: string | undefined;
25827
+ card_number?: string | null | undefined;
25828
+ is_multi_phone_sync_credential?: boolean | undefined;
25829
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
25830
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
25831
+ }>, "many">>;
25832
+ unmanaged_acs_credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
25833
+ acs_credential_id: z.ZodString;
25834
+ acs_user_id: z.ZodOptional<z.ZodString>;
25835
+ user_identity_id: z.ZodOptional<z.ZodString>;
25836
+ connected_account_id: z.ZodString;
25837
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
25838
+ acs_system_id: z.ZodString;
25839
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
25840
+ display_name: z.ZodString;
25841
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25842
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
25843
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25844
+ is_issued: z.ZodOptional<z.ZodBoolean>;
25845
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25846
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
25847
+ 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"]>>;
25848
+ external_type_display_name: z.ZodOptional<z.ZodString>;
25849
+ created_at: z.ZodString;
25850
+ workspace_id: z.ZodString;
25851
+ starts_at: z.ZodOptional<z.ZodString>;
25852
+ ends_at: z.ZodOptional<z.ZodString>;
25853
+ errors: z.ZodArray<z.ZodObject<{
25854
+ error_code: z.ZodString;
25855
+ message: z.ZodString;
25856
+ }, "strip", z.ZodTypeAny, {
25857
+ message: string;
25858
+ error_code: string;
25859
+ }, {
25860
+ message: string;
25861
+ error_code: string;
25862
+ }>, "many">;
25863
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
25864
+ created_at: z.ZodString;
25865
+ message: z.ZodString;
25866
+ } & {
25867
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
25868
+ }, "strip", z.ZodTypeAny, {
25869
+ message: string;
25870
+ created_at: string;
25871
+ warning_code: "waiting_to_be_issued";
25872
+ }, {
25873
+ message: string;
25874
+ created_at: string;
25875
+ warning_code: "waiting_to_be_issued";
25876
+ }>, z.ZodObject<{
25877
+ created_at: z.ZodString;
25878
+ message: z.ZodString;
25879
+ } & {
25880
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
25881
+ }, "strip", z.ZodTypeAny, {
25882
+ message: string;
25883
+ created_at: string;
25884
+ warning_code: "schedule_externally_modified";
25885
+ }, {
25886
+ message: string;
25887
+ created_at: string;
25888
+ warning_code: "schedule_externally_modified";
25889
+ }>, z.ZodObject<{
25890
+ created_at: z.ZodString;
25891
+ message: z.ZodString;
25892
+ } & {
25893
+ warning_code: z.ZodLiteral<"schedule_modified">;
25894
+ }, "strip", z.ZodTypeAny, {
25895
+ message: string;
25896
+ created_at: string;
25897
+ warning_code: "schedule_modified";
25898
+ }, {
25899
+ message: string;
25900
+ created_at: string;
25901
+ warning_code: "schedule_modified";
25902
+ }>, z.ZodObject<{
25903
+ created_at: z.ZodString;
25904
+ message: z.ZodString;
25905
+ } & {
25906
+ warning_code: z.ZodLiteral<"being_deleted">;
25907
+ }, "strip", z.ZodTypeAny, {
25908
+ message: string;
25909
+ created_at: string;
25910
+ warning_code: "being_deleted";
25911
+ }, {
25912
+ message: string;
25913
+ created_at: string;
25914
+ warning_code: "being_deleted";
25915
+ }>, z.ZodObject<{
25916
+ created_at: z.ZodString;
25917
+ message: z.ZodString;
25918
+ } & {
25919
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
25920
+ }, "strip", z.ZodTypeAny, {
25921
+ message: string;
25922
+ created_at: string;
25923
+ warning_code: "unknown_issue_with_acs_credential";
25924
+ }, {
25925
+ message: string;
25926
+ created_at: string;
25927
+ warning_code: "unknown_issue_with_acs_credential";
25928
+ }>, z.ZodObject<{
25929
+ created_at: z.ZodString;
25930
+ message: z.ZodString;
25931
+ } & {
25932
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
25933
+ }, "strip", z.ZodTypeAny, {
25934
+ message: string;
25935
+ created_at: string;
25936
+ warning_code: "needs_to_be_reissued";
25937
+ }, {
25938
+ message: string;
25939
+ created_at: string;
25940
+ warning_code: "needs_to_be_reissued";
25941
+ }>]>, "many">;
25942
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
25943
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25944
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25945
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
25946
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
25947
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25948
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25949
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25950
+ is_valid: z.ZodOptional<z.ZodBoolean>;
25951
+ auto_join: z.ZodOptional<z.ZodBoolean>;
25952
+ card_id: z.ZodOptional<z.ZodString>;
25953
+ credential_id: z.ZodOptional<z.ZodString>;
25954
+ }, "strip", z.ZodTypeAny, {
25955
+ card_function_type: "guest" | "staff";
25956
+ auto_join?: boolean | undefined;
25957
+ joiner_acs_credential_ids?: string[] | undefined;
25958
+ guest_acs_entrance_ids?: string[] | undefined;
25959
+ common_acs_entrance_ids?: string[] | undefined;
25960
+ is_valid?: boolean | undefined;
25961
+ card_id?: string | undefined;
25962
+ credential_id?: string | undefined;
25963
+ }, {
25964
+ card_function_type: "guest" | "staff";
25965
+ auto_join?: boolean | undefined;
25966
+ joiner_acs_credential_ids?: string[] | undefined;
25967
+ guest_acs_entrance_ids?: string[] | undefined;
25968
+ common_acs_entrance_ids?: string[] | undefined;
25969
+ is_valid?: boolean | undefined;
25970
+ card_id?: string | undefined;
25971
+ credential_id?: string | undefined;
25972
+ }>>;
25973
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
25974
+ auto_join: z.ZodOptional<z.ZodBoolean>;
25975
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25976
+ key_id: z.ZodOptional<z.ZodString>;
25977
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
25978
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25979
+ endpoint_id: z.ZodOptional<z.ZodString>;
25980
+ }, "strip", z.ZodTypeAny, {
25981
+ key_id?: string | undefined;
25982
+ endpoint_id?: string | undefined;
25983
+ auto_join?: boolean | undefined;
25984
+ override_guest_acs_entrance_ids?: string[] | undefined;
25985
+ key_issuing_request_id?: string | undefined;
25986
+ door_names?: string[] | undefined;
25987
+ }, {
25988
+ key_id?: string | undefined;
25989
+ endpoint_id?: string | undefined;
25990
+ auto_join?: boolean | undefined;
25991
+ override_guest_acs_entrance_ids?: string[] | undefined;
25992
+ key_issuing_request_id?: string | undefined;
25993
+ door_names?: string[] | undefined;
25994
+ }>>;
25995
+ } & {
25996
+ is_managed: z.ZodLiteral<false>;
25997
+ }, "strip", z.ZodTypeAny, {
25998
+ display_name: string;
25999
+ workspace_id: string;
26000
+ created_at: string;
26001
+ errors: {
26002
+ message: string;
26003
+ error_code: string;
26004
+ }[];
26005
+ connected_account_id: string;
26006
+ warnings: ({
26007
+ message: string;
26008
+ created_at: string;
26009
+ warning_code: "waiting_to_be_issued";
26010
+ } | {
26011
+ message: string;
26012
+ created_at: string;
26013
+ warning_code: "schedule_externally_modified";
26014
+ } | {
26015
+ message: string;
26016
+ created_at: string;
26017
+ warning_code: "schedule_modified";
26018
+ } | {
26019
+ message: string;
26020
+ created_at: string;
26021
+ warning_code: "being_deleted";
26022
+ } | {
26023
+ message: string;
26024
+ created_at: string;
26025
+ warning_code: "unknown_issue_with_acs_credential";
26026
+ } | {
26027
+ message: string;
26028
+ created_at: string;
26029
+ warning_code: "needs_to_be_reissued";
26030
+ })[];
26031
+ is_managed: false;
26032
+ acs_system_id: string;
26033
+ acs_credential_id: string;
26034
+ access_method: "code" | "card" | "mobile_key";
26035
+ code?: string | null | undefined;
26036
+ starts_at?: string | undefined;
26037
+ ends_at?: string | undefined;
26038
+ visionline_metadata?: {
26039
+ card_function_type: "guest" | "staff";
26040
+ auto_join?: boolean | undefined;
26041
+ joiner_acs_credential_ids?: string[] | undefined;
26042
+ guest_acs_entrance_ids?: string[] | undefined;
26043
+ common_acs_entrance_ids?: string[] | undefined;
26044
+ is_valid?: boolean | undefined;
26045
+ card_id?: string | undefined;
26046
+ credential_id?: string | undefined;
26047
+ } | undefined;
26048
+ assa_abloy_vostio_metadata?: {
26049
+ key_id?: string | undefined;
26050
+ endpoint_id?: string | undefined;
26051
+ auto_join?: boolean | undefined;
26052
+ override_guest_acs_entrance_ids?: string[] | undefined;
26053
+ key_issuing_request_id?: string | undefined;
26054
+ door_names?: string[] | undefined;
26055
+ } | undefined;
26056
+ is_one_time_use?: boolean | undefined;
26057
+ user_identity_id?: string | undefined;
26058
+ issued_at?: string | null | undefined;
26059
+ is_issued?: boolean | undefined;
26060
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
26061
+ external_type_display_name?: string | undefined;
26062
+ acs_user_id?: string | undefined;
26063
+ acs_credential_pool_id?: string | undefined;
26064
+ parent_acs_credential_id?: string | undefined;
26065
+ card_number?: string | null | undefined;
26066
+ is_multi_phone_sync_credential?: boolean | undefined;
26067
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
26068
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
26069
+ }, {
26070
+ display_name: string;
26071
+ workspace_id: string;
26072
+ created_at: string;
26073
+ errors: {
26074
+ message: string;
26075
+ error_code: string;
26076
+ }[];
26077
+ connected_account_id: string;
26078
+ warnings: ({
26079
+ message: string;
26080
+ created_at: string;
26081
+ warning_code: "waiting_to_be_issued";
26082
+ } | {
26083
+ message: string;
26084
+ created_at: string;
26085
+ warning_code: "schedule_externally_modified";
26086
+ } | {
26087
+ message: string;
26088
+ created_at: string;
26089
+ warning_code: "schedule_modified";
26090
+ } | {
26091
+ message: string;
26092
+ created_at: string;
26093
+ warning_code: "being_deleted";
26094
+ } | {
26095
+ message: string;
26096
+ created_at: string;
26097
+ warning_code: "unknown_issue_with_acs_credential";
26098
+ } | {
26099
+ message: string;
26100
+ created_at: string;
26101
+ warning_code: "needs_to_be_reissued";
26102
+ })[];
26103
+ is_managed: false;
26104
+ acs_system_id: string;
26105
+ acs_credential_id: string;
26106
+ access_method: "code" | "card" | "mobile_key";
26107
+ code?: string | null | undefined;
26108
+ starts_at?: string | undefined;
26109
+ ends_at?: string | undefined;
26110
+ visionline_metadata?: {
26111
+ card_function_type: "guest" | "staff";
26112
+ auto_join?: boolean | undefined;
26113
+ joiner_acs_credential_ids?: string[] | undefined;
26114
+ guest_acs_entrance_ids?: string[] | undefined;
26115
+ common_acs_entrance_ids?: string[] | undefined;
26116
+ is_valid?: boolean | undefined;
26117
+ card_id?: string | undefined;
26118
+ credential_id?: string | undefined;
26119
+ } | undefined;
26120
+ assa_abloy_vostio_metadata?: {
26121
+ key_id?: string | undefined;
26122
+ endpoint_id?: string | undefined;
26123
+ auto_join?: boolean | undefined;
26124
+ override_guest_acs_entrance_ids?: string[] | undefined;
26125
+ key_issuing_request_id?: string | undefined;
26126
+ door_names?: string[] | undefined;
26127
+ } | undefined;
26128
+ is_one_time_use?: boolean | undefined;
26129
+ user_identity_id?: string | undefined;
26130
+ issued_at?: string | null | undefined;
26131
+ is_issued?: boolean | undefined;
26132
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
26133
+ external_type_display_name?: string | undefined;
26134
+ acs_user_id?: string | undefined;
26135
+ acs_credential_pool_id?: string | undefined;
26136
+ parent_acs_credential_id?: string | undefined;
26137
+ card_number?: string | null | undefined;
26138
+ is_multi_phone_sync_credential?: boolean | undefined;
26139
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
26140
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
26141
+ }>, "many">>;
25419
26142
  action_attempts: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
25420
26143
  action_attempt_id: z.ZodString;
25421
26144
  } & {
@@ -37781,6 +38504,25 @@ export declare const workspaces_batch: z.ZodObject<{
37781
38504
  user_identity_key: string | null;
37782
38505
  acs_user_ids: string[];
37783
38506
  }[] | undefined;
38507
+ acs_access_groups?: {
38508
+ name: string;
38509
+ display_name: string;
38510
+ workspace_id: string;
38511
+ created_at: string;
38512
+ connected_account_id: string;
38513
+ warnings: {
38514
+ message: string;
38515
+ created_at: string;
38516
+ warning_code: "unknown_issue_with_acs_access_group";
38517
+ }[];
38518
+ is_managed: true;
38519
+ acs_access_group_id: string;
38520
+ acs_system_id: string;
38521
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
38522
+ access_group_type_display_name: string;
38523
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
38524
+ external_type_display_name: string;
38525
+ }[] | undefined;
37784
38526
  access_methods?: {
37785
38527
  display_name: string;
37786
38528
  workspace_id: string;
@@ -37932,37 +38674,164 @@ export declare const workspaces_batch: z.ZodObject<{
37932
38674
  };
37933
38675
  })[] | undefined;
37934
38676
  }[] | undefined;
37935
- acs_access_groups?: {
37936
- name: string;
38677
+ acs_encoders?: {
37937
38678
  display_name: string;
37938
38679
  workspace_id: string;
37939
38680
  created_at: string;
37940
- connected_account_id: string;
37941
- warnings: {
38681
+ errors: {
37942
38682
  message: string;
37943
38683
  created_at: string;
37944
- warning_code: "unknown_issue_with_acs_access_group";
38684
+ error_code: "acs_encoder_removed";
37945
38685
  }[];
37946
- is_managed: true;
37947
- acs_access_group_id: string;
38686
+ connected_account_id: string;
37948
38687
  acs_system_id: string;
37949
- access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
37950
- access_group_type_display_name: string;
37951
- external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
37952
- external_type_display_name: string;
38688
+ acs_encoder_id: string;
37953
38689
  }[] | undefined;
37954
- acs_encoders?: {
38690
+ acs_credentials?: {
37955
38691
  display_name: string;
37956
38692
  workspace_id: string;
37957
38693
  created_at: string;
37958
38694
  errors: {
38695
+ message: string;
38696
+ error_code: string;
38697
+ }[];
38698
+ connected_account_id: string;
38699
+ warnings: ({
37959
38700
  message: string;
37960
38701
  created_at: string;
37961
- error_code: "acs_encoder_removed";
38702
+ warning_code: "waiting_to_be_issued";
38703
+ } | {
38704
+ message: string;
38705
+ created_at: string;
38706
+ warning_code: "schedule_externally_modified";
38707
+ } | {
38708
+ message: string;
38709
+ created_at: string;
38710
+ warning_code: "schedule_modified";
38711
+ } | {
38712
+ message: string;
38713
+ created_at: string;
38714
+ warning_code: "being_deleted";
38715
+ } | {
38716
+ message: string;
38717
+ created_at: string;
38718
+ warning_code: "unknown_issue_with_acs_credential";
38719
+ } | {
38720
+ message: string;
38721
+ created_at: string;
38722
+ warning_code: "needs_to_be_reissued";
38723
+ })[];
38724
+ is_managed: true;
38725
+ acs_system_id: string;
38726
+ acs_credential_id: string;
38727
+ access_method: "code" | "card" | "mobile_key";
38728
+ code?: string | null | undefined;
38729
+ starts_at?: string | undefined;
38730
+ ends_at?: string | undefined;
38731
+ visionline_metadata?: {
38732
+ card_function_type: "guest" | "staff";
38733
+ auto_join?: boolean | undefined;
38734
+ joiner_acs_credential_ids?: string[] | undefined;
38735
+ guest_acs_entrance_ids?: string[] | undefined;
38736
+ common_acs_entrance_ids?: string[] | undefined;
38737
+ is_valid?: boolean | undefined;
38738
+ card_id?: string | undefined;
38739
+ credential_id?: string | undefined;
38740
+ } | undefined;
38741
+ assa_abloy_vostio_metadata?: {
38742
+ key_id?: string | undefined;
38743
+ endpoint_id?: string | undefined;
38744
+ auto_join?: boolean | undefined;
38745
+ override_guest_acs_entrance_ids?: string[] | undefined;
38746
+ key_issuing_request_id?: string | undefined;
38747
+ door_names?: string[] | undefined;
38748
+ } | undefined;
38749
+ is_one_time_use?: boolean | undefined;
38750
+ user_identity_id?: string | undefined;
38751
+ issued_at?: string | null | undefined;
38752
+ is_issued?: boolean | undefined;
38753
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
38754
+ external_type_display_name?: string | undefined;
38755
+ acs_user_id?: string | undefined;
38756
+ acs_credential_pool_id?: string | undefined;
38757
+ parent_acs_credential_id?: string | undefined;
38758
+ card_number?: string | null | undefined;
38759
+ is_multi_phone_sync_credential?: boolean | undefined;
38760
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
38761
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
38762
+ }[] | undefined;
38763
+ unmanaged_acs_credentials?: {
38764
+ display_name: string;
38765
+ workspace_id: string;
38766
+ created_at: string;
38767
+ errors: {
38768
+ message: string;
38769
+ error_code: string;
37962
38770
  }[];
37963
38771
  connected_account_id: string;
38772
+ warnings: ({
38773
+ message: string;
38774
+ created_at: string;
38775
+ warning_code: "waiting_to_be_issued";
38776
+ } | {
38777
+ message: string;
38778
+ created_at: string;
38779
+ warning_code: "schedule_externally_modified";
38780
+ } | {
38781
+ message: string;
38782
+ created_at: string;
38783
+ warning_code: "schedule_modified";
38784
+ } | {
38785
+ message: string;
38786
+ created_at: string;
38787
+ warning_code: "being_deleted";
38788
+ } | {
38789
+ message: string;
38790
+ created_at: string;
38791
+ warning_code: "unknown_issue_with_acs_credential";
38792
+ } | {
38793
+ message: string;
38794
+ created_at: string;
38795
+ warning_code: "needs_to_be_reissued";
38796
+ })[];
38797
+ is_managed: false;
37964
38798
  acs_system_id: string;
37965
- acs_encoder_id: string;
38799
+ acs_credential_id: string;
38800
+ access_method: "code" | "card" | "mobile_key";
38801
+ code?: string | null | undefined;
38802
+ starts_at?: string | undefined;
38803
+ ends_at?: string | undefined;
38804
+ visionline_metadata?: {
38805
+ card_function_type: "guest" | "staff";
38806
+ auto_join?: boolean | undefined;
38807
+ joiner_acs_credential_ids?: string[] | undefined;
38808
+ guest_acs_entrance_ids?: string[] | undefined;
38809
+ common_acs_entrance_ids?: string[] | undefined;
38810
+ is_valid?: boolean | undefined;
38811
+ card_id?: string | undefined;
38812
+ credential_id?: string | undefined;
38813
+ } | undefined;
38814
+ assa_abloy_vostio_metadata?: {
38815
+ key_id?: string | undefined;
38816
+ endpoint_id?: string | undefined;
38817
+ auto_join?: boolean | undefined;
38818
+ override_guest_acs_entrance_ids?: string[] | undefined;
38819
+ key_issuing_request_id?: string | undefined;
38820
+ door_names?: string[] | undefined;
38821
+ } | undefined;
38822
+ is_one_time_use?: boolean | undefined;
38823
+ user_identity_id?: string | undefined;
38824
+ issued_at?: string | null | undefined;
38825
+ is_issued?: boolean | undefined;
38826
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
38827
+ external_type_display_name?: string | undefined;
38828
+ acs_user_id?: string | undefined;
38829
+ acs_credential_pool_id?: string | undefined;
38830
+ parent_acs_credential_id?: string | undefined;
38831
+ card_number?: string | null | undefined;
38832
+ is_multi_phone_sync_credential?: boolean | undefined;
38833
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
38834
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
37966
38835
  }[] | undefined;
37967
38836
  action_attempts?: ({
37968
38837
  status: "pending";
@@ -40912,6 +41781,25 @@ export declare const workspaces_batch: z.ZodObject<{
40912
41781
  user_identity_key: string | null;
40913
41782
  acs_user_ids: string[];
40914
41783
  }[] | undefined;
41784
+ acs_access_groups?: {
41785
+ name: string;
41786
+ display_name: string;
41787
+ workspace_id: string;
41788
+ created_at: string;
41789
+ connected_account_id: string;
41790
+ warnings: {
41791
+ message: string;
41792
+ created_at: string;
41793
+ warning_code: "unknown_issue_with_acs_access_group";
41794
+ }[];
41795
+ is_managed: true;
41796
+ acs_access_group_id: string;
41797
+ acs_system_id: string;
41798
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
41799
+ access_group_type_display_name: string;
41800
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
41801
+ external_type_display_name: string;
41802
+ }[] | undefined;
40915
41803
  access_methods?: {
40916
41804
  display_name: string;
40917
41805
  workspace_id: string;
@@ -41063,37 +41951,164 @@ export declare const workspaces_batch: z.ZodObject<{
41063
41951
  };
41064
41952
  })[] | undefined;
41065
41953
  }[] | undefined;
41066
- acs_access_groups?: {
41067
- name: string;
41954
+ acs_encoders?: {
41068
41955
  display_name: string;
41069
41956
  workspace_id: string;
41070
41957
  created_at: string;
41071
- connected_account_id: string;
41072
- warnings: {
41958
+ errors: {
41073
41959
  message: string;
41074
41960
  created_at: string;
41075
- warning_code: "unknown_issue_with_acs_access_group";
41961
+ error_code: "acs_encoder_removed";
41076
41962
  }[];
41077
- is_managed: true;
41078
- acs_access_group_id: string;
41963
+ connected_account_id: string;
41079
41964
  acs_system_id: string;
41080
- access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
41081
- access_group_type_display_name: string;
41082
- external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
41083
- external_type_display_name: string;
41965
+ acs_encoder_id: string;
41084
41966
  }[] | undefined;
41085
- acs_encoders?: {
41967
+ acs_credentials?: {
41086
41968
  display_name: string;
41087
41969
  workspace_id: string;
41088
41970
  created_at: string;
41089
41971
  errors: {
41972
+ message: string;
41973
+ error_code: string;
41974
+ }[];
41975
+ connected_account_id: string;
41976
+ warnings: ({
41090
41977
  message: string;
41091
41978
  created_at: string;
41092
- error_code: "acs_encoder_removed";
41979
+ warning_code: "waiting_to_be_issued";
41980
+ } | {
41981
+ message: string;
41982
+ created_at: string;
41983
+ warning_code: "schedule_externally_modified";
41984
+ } | {
41985
+ message: string;
41986
+ created_at: string;
41987
+ warning_code: "schedule_modified";
41988
+ } | {
41989
+ message: string;
41990
+ created_at: string;
41991
+ warning_code: "being_deleted";
41992
+ } | {
41993
+ message: string;
41994
+ created_at: string;
41995
+ warning_code: "unknown_issue_with_acs_credential";
41996
+ } | {
41997
+ message: string;
41998
+ created_at: string;
41999
+ warning_code: "needs_to_be_reissued";
42000
+ })[];
42001
+ is_managed: true;
42002
+ acs_system_id: string;
42003
+ acs_credential_id: string;
42004
+ access_method: "code" | "card" | "mobile_key";
42005
+ code?: string | null | undefined;
42006
+ starts_at?: string | undefined;
42007
+ ends_at?: string | undefined;
42008
+ visionline_metadata?: {
42009
+ card_function_type: "guest" | "staff";
42010
+ auto_join?: boolean | undefined;
42011
+ joiner_acs_credential_ids?: string[] | undefined;
42012
+ guest_acs_entrance_ids?: string[] | undefined;
42013
+ common_acs_entrance_ids?: string[] | undefined;
42014
+ is_valid?: boolean | undefined;
42015
+ card_id?: string | undefined;
42016
+ credential_id?: string | undefined;
42017
+ } | undefined;
42018
+ assa_abloy_vostio_metadata?: {
42019
+ key_id?: string | undefined;
42020
+ endpoint_id?: string | undefined;
42021
+ auto_join?: boolean | undefined;
42022
+ override_guest_acs_entrance_ids?: string[] | undefined;
42023
+ key_issuing_request_id?: string | undefined;
42024
+ door_names?: string[] | undefined;
42025
+ } | undefined;
42026
+ is_one_time_use?: boolean | undefined;
42027
+ user_identity_id?: string | undefined;
42028
+ issued_at?: string | null | undefined;
42029
+ is_issued?: boolean | undefined;
42030
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
42031
+ external_type_display_name?: string | undefined;
42032
+ acs_user_id?: string | undefined;
42033
+ acs_credential_pool_id?: string | undefined;
42034
+ parent_acs_credential_id?: string | undefined;
42035
+ card_number?: string | null | undefined;
42036
+ is_multi_phone_sync_credential?: boolean | undefined;
42037
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
42038
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
42039
+ }[] | undefined;
42040
+ unmanaged_acs_credentials?: {
42041
+ display_name: string;
42042
+ workspace_id: string;
42043
+ created_at: string;
42044
+ errors: {
42045
+ message: string;
42046
+ error_code: string;
41093
42047
  }[];
41094
42048
  connected_account_id: string;
42049
+ warnings: ({
42050
+ message: string;
42051
+ created_at: string;
42052
+ warning_code: "waiting_to_be_issued";
42053
+ } | {
42054
+ message: string;
42055
+ created_at: string;
42056
+ warning_code: "schedule_externally_modified";
42057
+ } | {
42058
+ message: string;
42059
+ created_at: string;
42060
+ warning_code: "schedule_modified";
42061
+ } | {
42062
+ message: string;
42063
+ created_at: string;
42064
+ warning_code: "being_deleted";
42065
+ } | {
42066
+ message: string;
42067
+ created_at: string;
42068
+ warning_code: "unknown_issue_with_acs_credential";
42069
+ } | {
42070
+ message: string;
42071
+ created_at: string;
42072
+ warning_code: "needs_to_be_reissued";
42073
+ })[];
42074
+ is_managed: false;
41095
42075
  acs_system_id: string;
41096
- acs_encoder_id: string;
42076
+ acs_credential_id: string;
42077
+ access_method: "code" | "card" | "mobile_key";
42078
+ code?: string | null | undefined;
42079
+ starts_at?: string | undefined;
42080
+ ends_at?: string | undefined;
42081
+ visionline_metadata?: {
42082
+ card_function_type: "guest" | "staff";
42083
+ auto_join?: boolean | undefined;
42084
+ joiner_acs_credential_ids?: string[] | undefined;
42085
+ guest_acs_entrance_ids?: string[] | undefined;
42086
+ common_acs_entrance_ids?: string[] | undefined;
42087
+ is_valid?: boolean | undefined;
42088
+ card_id?: string | undefined;
42089
+ credential_id?: string | undefined;
42090
+ } | undefined;
42091
+ assa_abloy_vostio_metadata?: {
42092
+ key_id?: string | undefined;
42093
+ endpoint_id?: string | undefined;
42094
+ auto_join?: boolean | undefined;
42095
+ override_guest_acs_entrance_ids?: string[] | undefined;
42096
+ key_issuing_request_id?: string | undefined;
42097
+ door_names?: string[] | undefined;
42098
+ } | undefined;
42099
+ is_one_time_use?: boolean | undefined;
42100
+ user_identity_id?: string | undefined;
42101
+ issued_at?: string | null | undefined;
42102
+ is_issued?: boolean | undefined;
42103
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
42104
+ external_type_display_name?: string | undefined;
42105
+ acs_user_id?: string | undefined;
42106
+ acs_credential_pool_id?: string | undefined;
42107
+ parent_acs_credential_id?: string | undefined;
42108
+ card_number?: string | null | undefined;
42109
+ is_multi_phone_sync_credential?: boolean | undefined;
42110
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
42111
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
41097
42112
  }[] | undefined;
41098
42113
  action_attempts?: ({
41099
42114
  status: "pending";
@@ -48770,6 +49785,626 @@ export declare const batch: z.ZodObject<{
48770
49785
  acs_system_id: string;
48771
49786
  acs_encoder_id: string;
48772
49787
  }>, "many">>;
49788
+ acs_credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
49789
+ acs_credential_id: z.ZodString;
49790
+ acs_user_id: z.ZodOptional<z.ZodString>;
49791
+ user_identity_id: z.ZodOptional<z.ZodString>;
49792
+ connected_account_id: z.ZodString;
49793
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
49794
+ acs_system_id: z.ZodString;
49795
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
49796
+ display_name: z.ZodString;
49797
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49798
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
49799
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49800
+ is_issued: z.ZodOptional<z.ZodBoolean>;
49801
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49802
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
49803
+ 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"]>>;
49804
+ external_type_display_name: z.ZodOptional<z.ZodString>;
49805
+ created_at: z.ZodString;
49806
+ workspace_id: z.ZodString;
49807
+ starts_at: z.ZodOptional<z.ZodString>;
49808
+ ends_at: z.ZodOptional<z.ZodString>;
49809
+ errors: z.ZodArray<z.ZodObject<{
49810
+ error_code: z.ZodString;
49811
+ message: z.ZodString;
49812
+ }, "strip", z.ZodTypeAny, {
49813
+ message: string;
49814
+ error_code: string;
49815
+ }, {
49816
+ message: string;
49817
+ error_code: string;
49818
+ }>, "many">;
49819
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
49820
+ created_at: z.ZodString;
49821
+ message: z.ZodString;
49822
+ } & {
49823
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
49824
+ }, "strip", z.ZodTypeAny, {
49825
+ message: string;
49826
+ created_at: string;
49827
+ warning_code: "waiting_to_be_issued";
49828
+ }, {
49829
+ message: string;
49830
+ created_at: string;
49831
+ warning_code: "waiting_to_be_issued";
49832
+ }>, z.ZodObject<{
49833
+ created_at: z.ZodString;
49834
+ message: z.ZodString;
49835
+ } & {
49836
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
49837
+ }, "strip", z.ZodTypeAny, {
49838
+ message: string;
49839
+ created_at: string;
49840
+ warning_code: "schedule_externally_modified";
49841
+ }, {
49842
+ message: string;
49843
+ created_at: string;
49844
+ warning_code: "schedule_externally_modified";
49845
+ }>, z.ZodObject<{
49846
+ created_at: z.ZodString;
49847
+ message: z.ZodString;
49848
+ } & {
49849
+ warning_code: z.ZodLiteral<"schedule_modified">;
49850
+ }, "strip", z.ZodTypeAny, {
49851
+ message: string;
49852
+ created_at: string;
49853
+ warning_code: "schedule_modified";
49854
+ }, {
49855
+ message: string;
49856
+ created_at: string;
49857
+ warning_code: "schedule_modified";
49858
+ }>, z.ZodObject<{
49859
+ created_at: z.ZodString;
49860
+ message: z.ZodString;
49861
+ } & {
49862
+ warning_code: z.ZodLiteral<"being_deleted">;
49863
+ }, "strip", z.ZodTypeAny, {
49864
+ message: string;
49865
+ created_at: string;
49866
+ warning_code: "being_deleted";
49867
+ }, {
49868
+ message: string;
49869
+ created_at: string;
49870
+ warning_code: "being_deleted";
49871
+ }>, z.ZodObject<{
49872
+ created_at: z.ZodString;
49873
+ message: z.ZodString;
49874
+ } & {
49875
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
49876
+ }, "strip", z.ZodTypeAny, {
49877
+ message: string;
49878
+ created_at: string;
49879
+ warning_code: "unknown_issue_with_acs_credential";
49880
+ }, {
49881
+ message: string;
49882
+ created_at: string;
49883
+ warning_code: "unknown_issue_with_acs_credential";
49884
+ }>, z.ZodObject<{
49885
+ created_at: z.ZodString;
49886
+ message: z.ZodString;
49887
+ } & {
49888
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
49889
+ }, "strip", z.ZodTypeAny, {
49890
+ message: string;
49891
+ created_at: string;
49892
+ warning_code: "needs_to_be_reissued";
49893
+ }, {
49894
+ message: string;
49895
+ created_at: string;
49896
+ warning_code: "needs_to_be_reissued";
49897
+ }>]>, "many">;
49898
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
49899
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49900
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49901
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
49902
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
49903
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49904
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49905
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49906
+ is_valid: z.ZodOptional<z.ZodBoolean>;
49907
+ auto_join: z.ZodOptional<z.ZodBoolean>;
49908
+ card_id: z.ZodOptional<z.ZodString>;
49909
+ credential_id: z.ZodOptional<z.ZodString>;
49910
+ }, "strip", z.ZodTypeAny, {
49911
+ card_function_type: "guest" | "staff";
49912
+ auto_join?: boolean | undefined;
49913
+ joiner_acs_credential_ids?: string[] | undefined;
49914
+ guest_acs_entrance_ids?: string[] | undefined;
49915
+ common_acs_entrance_ids?: string[] | undefined;
49916
+ is_valid?: boolean | undefined;
49917
+ card_id?: string | undefined;
49918
+ credential_id?: string | undefined;
49919
+ }, {
49920
+ card_function_type: "guest" | "staff";
49921
+ auto_join?: boolean | undefined;
49922
+ joiner_acs_credential_ids?: string[] | undefined;
49923
+ guest_acs_entrance_ids?: string[] | undefined;
49924
+ common_acs_entrance_ids?: string[] | undefined;
49925
+ is_valid?: boolean | undefined;
49926
+ card_id?: string | undefined;
49927
+ credential_id?: string | undefined;
49928
+ }>>;
49929
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
49930
+ auto_join: z.ZodOptional<z.ZodBoolean>;
49931
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49932
+ key_id: z.ZodOptional<z.ZodString>;
49933
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
49934
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49935
+ endpoint_id: z.ZodOptional<z.ZodString>;
49936
+ }, "strip", z.ZodTypeAny, {
49937
+ key_id?: string | undefined;
49938
+ endpoint_id?: string | undefined;
49939
+ auto_join?: boolean | undefined;
49940
+ override_guest_acs_entrance_ids?: string[] | undefined;
49941
+ key_issuing_request_id?: string | undefined;
49942
+ door_names?: string[] | undefined;
49943
+ }, {
49944
+ key_id?: string | undefined;
49945
+ endpoint_id?: string | undefined;
49946
+ auto_join?: boolean | undefined;
49947
+ override_guest_acs_entrance_ids?: string[] | undefined;
49948
+ key_issuing_request_id?: string | undefined;
49949
+ door_names?: string[] | undefined;
49950
+ }>>;
49951
+ } & {
49952
+ is_managed: z.ZodLiteral<true>;
49953
+ }, "strip", z.ZodTypeAny, {
49954
+ display_name: string;
49955
+ workspace_id: string;
49956
+ created_at: string;
49957
+ errors: {
49958
+ message: string;
49959
+ error_code: string;
49960
+ }[];
49961
+ connected_account_id: string;
49962
+ warnings: ({
49963
+ message: string;
49964
+ created_at: string;
49965
+ warning_code: "waiting_to_be_issued";
49966
+ } | {
49967
+ message: string;
49968
+ created_at: string;
49969
+ warning_code: "schedule_externally_modified";
49970
+ } | {
49971
+ message: string;
49972
+ created_at: string;
49973
+ warning_code: "schedule_modified";
49974
+ } | {
49975
+ message: string;
49976
+ created_at: string;
49977
+ warning_code: "being_deleted";
49978
+ } | {
49979
+ message: string;
49980
+ created_at: string;
49981
+ warning_code: "unknown_issue_with_acs_credential";
49982
+ } | {
49983
+ message: string;
49984
+ created_at: string;
49985
+ warning_code: "needs_to_be_reissued";
49986
+ })[];
49987
+ is_managed: true;
49988
+ acs_system_id: string;
49989
+ acs_credential_id: string;
49990
+ access_method: "code" | "card" | "mobile_key";
49991
+ code?: string | null | undefined;
49992
+ starts_at?: string | undefined;
49993
+ ends_at?: string | undefined;
49994
+ visionline_metadata?: {
49995
+ card_function_type: "guest" | "staff";
49996
+ auto_join?: boolean | undefined;
49997
+ joiner_acs_credential_ids?: string[] | undefined;
49998
+ guest_acs_entrance_ids?: string[] | undefined;
49999
+ common_acs_entrance_ids?: string[] | undefined;
50000
+ is_valid?: boolean | undefined;
50001
+ card_id?: string | undefined;
50002
+ credential_id?: string | undefined;
50003
+ } | undefined;
50004
+ assa_abloy_vostio_metadata?: {
50005
+ key_id?: string | undefined;
50006
+ endpoint_id?: string | undefined;
50007
+ auto_join?: boolean | undefined;
50008
+ override_guest_acs_entrance_ids?: string[] | undefined;
50009
+ key_issuing_request_id?: string | undefined;
50010
+ door_names?: string[] | undefined;
50011
+ } | undefined;
50012
+ is_one_time_use?: boolean | undefined;
50013
+ user_identity_id?: string | undefined;
50014
+ issued_at?: string | null | undefined;
50015
+ is_issued?: boolean | undefined;
50016
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
50017
+ external_type_display_name?: string | undefined;
50018
+ acs_user_id?: string | undefined;
50019
+ acs_credential_pool_id?: string | undefined;
50020
+ parent_acs_credential_id?: string | undefined;
50021
+ card_number?: string | null | undefined;
50022
+ is_multi_phone_sync_credential?: boolean | undefined;
50023
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
50024
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
50025
+ }, {
50026
+ display_name: string;
50027
+ workspace_id: string;
50028
+ created_at: string;
50029
+ errors: {
50030
+ message: string;
50031
+ error_code: string;
50032
+ }[];
50033
+ connected_account_id: string;
50034
+ warnings: ({
50035
+ message: string;
50036
+ created_at: string;
50037
+ warning_code: "waiting_to_be_issued";
50038
+ } | {
50039
+ message: string;
50040
+ created_at: string;
50041
+ warning_code: "schedule_externally_modified";
50042
+ } | {
50043
+ message: string;
50044
+ created_at: string;
50045
+ warning_code: "schedule_modified";
50046
+ } | {
50047
+ message: string;
50048
+ created_at: string;
50049
+ warning_code: "being_deleted";
50050
+ } | {
50051
+ message: string;
50052
+ created_at: string;
50053
+ warning_code: "unknown_issue_with_acs_credential";
50054
+ } | {
50055
+ message: string;
50056
+ created_at: string;
50057
+ warning_code: "needs_to_be_reissued";
50058
+ })[];
50059
+ is_managed: true;
50060
+ acs_system_id: string;
50061
+ acs_credential_id: string;
50062
+ access_method: "code" | "card" | "mobile_key";
50063
+ code?: string | null | undefined;
50064
+ starts_at?: string | undefined;
50065
+ ends_at?: string | undefined;
50066
+ visionline_metadata?: {
50067
+ card_function_type: "guest" | "staff";
50068
+ auto_join?: boolean | undefined;
50069
+ joiner_acs_credential_ids?: string[] | undefined;
50070
+ guest_acs_entrance_ids?: string[] | undefined;
50071
+ common_acs_entrance_ids?: string[] | undefined;
50072
+ is_valid?: boolean | undefined;
50073
+ card_id?: string | undefined;
50074
+ credential_id?: string | undefined;
50075
+ } | undefined;
50076
+ assa_abloy_vostio_metadata?: {
50077
+ key_id?: string | undefined;
50078
+ endpoint_id?: string | undefined;
50079
+ auto_join?: boolean | undefined;
50080
+ override_guest_acs_entrance_ids?: string[] | undefined;
50081
+ key_issuing_request_id?: string | undefined;
50082
+ door_names?: string[] | undefined;
50083
+ } | undefined;
50084
+ is_one_time_use?: boolean | undefined;
50085
+ user_identity_id?: string | undefined;
50086
+ issued_at?: string | null | undefined;
50087
+ is_issued?: boolean | undefined;
50088
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
50089
+ external_type_display_name?: string | undefined;
50090
+ acs_user_id?: string | undefined;
50091
+ acs_credential_pool_id?: string | undefined;
50092
+ parent_acs_credential_id?: string | undefined;
50093
+ card_number?: string | null | undefined;
50094
+ is_multi_phone_sync_credential?: boolean | undefined;
50095
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
50096
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
50097
+ }>, "many">>;
50098
+ unmanaged_acs_credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
50099
+ acs_credential_id: z.ZodString;
50100
+ acs_user_id: z.ZodOptional<z.ZodString>;
50101
+ user_identity_id: z.ZodOptional<z.ZodString>;
50102
+ connected_account_id: z.ZodString;
50103
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
50104
+ acs_system_id: z.ZodString;
50105
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
50106
+ display_name: z.ZodString;
50107
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50108
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
50109
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50110
+ is_issued: z.ZodOptional<z.ZodBoolean>;
50111
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50112
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
50113
+ 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"]>>;
50114
+ external_type_display_name: z.ZodOptional<z.ZodString>;
50115
+ created_at: z.ZodString;
50116
+ workspace_id: z.ZodString;
50117
+ starts_at: z.ZodOptional<z.ZodString>;
50118
+ ends_at: z.ZodOptional<z.ZodString>;
50119
+ errors: z.ZodArray<z.ZodObject<{
50120
+ error_code: z.ZodString;
50121
+ message: z.ZodString;
50122
+ }, "strip", z.ZodTypeAny, {
50123
+ message: string;
50124
+ error_code: string;
50125
+ }, {
50126
+ message: string;
50127
+ error_code: string;
50128
+ }>, "many">;
50129
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
50130
+ created_at: z.ZodString;
50131
+ message: z.ZodString;
50132
+ } & {
50133
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
50134
+ }, "strip", z.ZodTypeAny, {
50135
+ message: string;
50136
+ created_at: string;
50137
+ warning_code: "waiting_to_be_issued";
50138
+ }, {
50139
+ message: string;
50140
+ created_at: string;
50141
+ warning_code: "waiting_to_be_issued";
50142
+ }>, z.ZodObject<{
50143
+ created_at: z.ZodString;
50144
+ message: z.ZodString;
50145
+ } & {
50146
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
50147
+ }, "strip", z.ZodTypeAny, {
50148
+ message: string;
50149
+ created_at: string;
50150
+ warning_code: "schedule_externally_modified";
50151
+ }, {
50152
+ message: string;
50153
+ created_at: string;
50154
+ warning_code: "schedule_externally_modified";
50155
+ }>, z.ZodObject<{
50156
+ created_at: z.ZodString;
50157
+ message: z.ZodString;
50158
+ } & {
50159
+ warning_code: z.ZodLiteral<"schedule_modified">;
50160
+ }, "strip", z.ZodTypeAny, {
50161
+ message: string;
50162
+ created_at: string;
50163
+ warning_code: "schedule_modified";
50164
+ }, {
50165
+ message: string;
50166
+ created_at: string;
50167
+ warning_code: "schedule_modified";
50168
+ }>, z.ZodObject<{
50169
+ created_at: z.ZodString;
50170
+ message: z.ZodString;
50171
+ } & {
50172
+ warning_code: z.ZodLiteral<"being_deleted">;
50173
+ }, "strip", z.ZodTypeAny, {
50174
+ message: string;
50175
+ created_at: string;
50176
+ warning_code: "being_deleted";
50177
+ }, {
50178
+ message: string;
50179
+ created_at: string;
50180
+ warning_code: "being_deleted";
50181
+ }>, z.ZodObject<{
50182
+ created_at: z.ZodString;
50183
+ message: z.ZodString;
50184
+ } & {
50185
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
50186
+ }, "strip", z.ZodTypeAny, {
50187
+ message: string;
50188
+ created_at: string;
50189
+ warning_code: "unknown_issue_with_acs_credential";
50190
+ }, {
50191
+ message: string;
50192
+ created_at: string;
50193
+ warning_code: "unknown_issue_with_acs_credential";
50194
+ }>, z.ZodObject<{
50195
+ created_at: z.ZodString;
50196
+ message: z.ZodString;
50197
+ } & {
50198
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
50199
+ }, "strip", z.ZodTypeAny, {
50200
+ message: string;
50201
+ created_at: string;
50202
+ warning_code: "needs_to_be_reissued";
50203
+ }, {
50204
+ message: string;
50205
+ created_at: string;
50206
+ warning_code: "needs_to_be_reissued";
50207
+ }>]>, "many">;
50208
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
50209
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
50210
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50211
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
50212
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
50213
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50214
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50215
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50216
+ is_valid: z.ZodOptional<z.ZodBoolean>;
50217
+ auto_join: z.ZodOptional<z.ZodBoolean>;
50218
+ card_id: z.ZodOptional<z.ZodString>;
50219
+ credential_id: z.ZodOptional<z.ZodString>;
50220
+ }, "strip", z.ZodTypeAny, {
50221
+ card_function_type: "guest" | "staff";
50222
+ auto_join?: boolean | undefined;
50223
+ joiner_acs_credential_ids?: string[] | undefined;
50224
+ guest_acs_entrance_ids?: string[] | undefined;
50225
+ common_acs_entrance_ids?: string[] | undefined;
50226
+ is_valid?: boolean | undefined;
50227
+ card_id?: string | undefined;
50228
+ credential_id?: string | undefined;
50229
+ }, {
50230
+ card_function_type: "guest" | "staff";
50231
+ auto_join?: boolean | undefined;
50232
+ joiner_acs_credential_ids?: string[] | undefined;
50233
+ guest_acs_entrance_ids?: string[] | undefined;
50234
+ common_acs_entrance_ids?: string[] | undefined;
50235
+ is_valid?: boolean | undefined;
50236
+ card_id?: string | undefined;
50237
+ credential_id?: string | undefined;
50238
+ }>>;
50239
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
50240
+ auto_join: z.ZodOptional<z.ZodBoolean>;
50241
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50242
+ key_id: z.ZodOptional<z.ZodString>;
50243
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
50244
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
50245
+ endpoint_id: z.ZodOptional<z.ZodString>;
50246
+ }, "strip", z.ZodTypeAny, {
50247
+ key_id?: string | undefined;
50248
+ endpoint_id?: string | undefined;
50249
+ auto_join?: boolean | undefined;
50250
+ override_guest_acs_entrance_ids?: string[] | undefined;
50251
+ key_issuing_request_id?: string | undefined;
50252
+ door_names?: string[] | undefined;
50253
+ }, {
50254
+ key_id?: string | undefined;
50255
+ endpoint_id?: string | undefined;
50256
+ auto_join?: boolean | undefined;
50257
+ override_guest_acs_entrance_ids?: string[] | undefined;
50258
+ key_issuing_request_id?: string | undefined;
50259
+ door_names?: string[] | undefined;
50260
+ }>>;
50261
+ } & {
50262
+ is_managed: z.ZodLiteral<false>;
50263
+ }, "strip", z.ZodTypeAny, {
50264
+ display_name: string;
50265
+ workspace_id: string;
50266
+ created_at: string;
50267
+ errors: {
50268
+ message: string;
50269
+ error_code: string;
50270
+ }[];
50271
+ connected_account_id: string;
50272
+ warnings: ({
50273
+ message: string;
50274
+ created_at: string;
50275
+ warning_code: "waiting_to_be_issued";
50276
+ } | {
50277
+ message: string;
50278
+ created_at: string;
50279
+ warning_code: "schedule_externally_modified";
50280
+ } | {
50281
+ message: string;
50282
+ created_at: string;
50283
+ warning_code: "schedule_modified";
50284
+ } | {
50285
+ message: string;
50286
+ created_at: string;
50287
+ warning_code: "being_deleted";
50288
+ } | {
50289
+ message: string;
50290
+ created_at: string;
50291
+ warning_code: "unknown_issue_with_acs_credential";
50292
+ } | {
50293
+ message: string;
50294
+ created_at: string;
50295
+ warning_code: "needs_to_be_reissued";
50296
+ })[];
50297
+ is_managed: false;
50298
+ acs_system_id: string;
50299
+ acs_credential_id: string;
50300
+ access_method: "code" | "card" | "mobile_key";
50301
+ code?: string | null | undefined;
50302
+ starts_at?: string | undefined;
50303
+ ends_at?: string | undefined;
50304
+ visionline_metadata?: {
50305
+ card_function_type: "guest" | "staff";
50306
+ auto_join?: boolean | undefined;
50307
+ joiner_acs_credential_ids?: string[] | undefined;
50308
+ guest_acs_entrance_ids?: string[] | undefined;
50309
+ common_acs_entrance_ids?: string[] | undefined;
50310
+ is_valid?: boolean | undefined;
50311
+ card_id?: string | undefined;
50312
+ credential_id?: string | undefined;
50313
+ } | undefined;
50314
+ assa_abloy_vostio_metadata?: {
50315
+ key_id?: string | undefined;
50316
+ endpoint_id?: string | undefined;
50317
+ auto_join?: boolean | undefined;
50318
+ override_guest_acs_entrance_ids?: string[] | undefined;
50319
+ key_issuing_request_id?: string | undefined;
50320
+ door_names?: string[] | undefined;
50321
+ } | undefined;
50322
+ is_one_time_use?: boolean | undefined;
50323
+ user_identity_id?: string | undefined;
50324
+ issued_at?: string | null | undefined;
50325
+ is_issued?: boolean | undefined;
50326
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
50327
+ external_type_display_name?: string | undefined;
50328
+ acs_user_id?: string | undefined;
50329
+ acs_credential_pool_id?: string | undefined;
50330
+ parent_acs_credential_id?: string | undefined;
50331
+ card_number?: string | null | undefined;
50332
+ is_multi_phone_sync_credential?: boolean | undefined;
50333
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
50334
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
50335
+ }, {
50336
+ display_name: string;
50337
+ workspace_id: string;
50338
+ created_at: string;
50339
+ errors: {
50340
+ message: string;
50341
+ error_code: string;
50342
+ }[];
50343
+ connected_account_id: string;
50344
+ warnings: ({
50345
+ message: string;
50346
+ created_at: string;
50347
+ warning_code: "waiting_to_be_issued";
50348
+ } | {
50349
+ message: string;
50350
+ created_at: string;
50351
+ warning_code: "schedule_externally_modified";
50352
+ } | {
50353
+ message: string;
50354
+ created_at: string;
50355
+ warning_code: "schedule_modified";
50356
+ } | {
50357
+ message: string;
50358
+ created_at: string;
50359
+ warning_code: "being_deleted";
50360
+ } | {
50361
+ message: string;
50362
+ created_at: string;
50363
+ warning_code: "unknown_issue_with_acs_credential";
50364
+ } | {
50365
+ message: string;
50366
+ created_at: string;
50367
+ warning_code: "needs_to_be_reissued";
50368
+ })[];
50369
+ is_managed: false;
50370
+ acs_system_id: string;
50371
+ acs_credential_id: string;
50372
+ access_method: "code" | "card" | "mobile_key";
50373
+ code?: string | null | undefined;
50374
+ starts_at?: string | undefined;
50375
+ ends_at?: string | undefined;
50376
+ visionline_metadata?: {
50377
+ card_function_type: "guest" | "staff";
50378
+ auto_join?: boolean | undefined;
50379
+ joiner_acs_credential_ids?: string[] | undefined;
50380
+ guest_acs_entrance_ids?: string[] | undefined;
50381
+ common_acs_entrance_ids?: string[] | undefined;
50382
+ is_valid?: boolean | undefined;
50383
+ card_id?: string | undefined;
50384
+ credential_id?: string | undefined;
50385
+ } | undefined;
50386
+ assa_abloy_vostio_metadata?: {
50387
+ key_id?: string | undefined;
50388
+ endpoint_id?: string | undefined;
50389
+ auto_join?: boolean | undefined;
50390
+ override_guest_acs_entrance_ids?: string[] | undefined;
50391
+ key_issuing_request_id?: string | undefined;
50392
+ door_names?: string[] | undefined;
50393
+ } | undefined;
50394
+ is_one_time_use?: boolean | undefined;
50395
+ user_identity_id?: string | undefined;
50396
+ issued_at?: string | null | undefined;
50397
+ is_issued?: boolean | undefined;
50398
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
50399
+ external_type_display_name?: string | undefined;
50400
+ acs_user_id?: string | undefined;
50401
+ acs_credential_pool_id?: string | undefined;
50402
+ parent_acs_credential_id?: string | undefined;
50403
+ card_number?: string | null | undefined;
50404
+ is_multi_phone_sync_credential?: boolean | undefined;
50405
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
50406
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
50407
+ }>, "many">>;
48773
50408
  action_attempts: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
48774
50409
  action_attempt_id: z.ZodString;
48775
50410
  } & {
@@ -60682,6 +62317,25 @@ export declare const batch: z.ZodObject<{
60682
62317
  user_identity_key: string | null;
60683
62318
  acs_user_ids: string[];
60684
62319
  }[] | undefined;
62320
+ acs_access_groups?: {
62321
+ name: string;
62322
+ display_name: string;
62323
+ workspace_id: string;
62324
+ created_at: string;
62325
+ connected_account_id: string;
62326
+ warnings: {
62327
+ message: string;
62328
+ created_at: string;
62329
+ warning_code: "unknown_issue_with_acs_access_group";
62330
+ }[];
62331
+ is_managed: true;
62332
+ acs_access_group_id: string;
62333
+ acs_system_id: string;
62334
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
62335
+ access_group_type_display_name: string;
62336
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
62337
+ external_type_display_name: string;
62338
+ }[] | undefined;
60685
62339
  access_methods?: {
60686
62340
  display_name: string;
60687
62341
  workspace_id: string;
@@ -60833,37 +62487,164 @@ export declare const batch: z.ZodObject<{
60833
62487
  };
60834
62488
  })[] | undefined;
60835
62489
  }[] | undefined;
60836
- acs_access_groups?: {
60837
- name: string;
62490
+ acs_encoders?: {
60838
62491
  display_name: string;
60839
62492
  workspace_id: string;
60840
62493
  created_at: string;
60841
- connected_account_id: string;
60842
- warnings: {
62494
+ errors: {
60843
62495
  message: string;
60844
62496
  created_at: string;
60845
- warning_code: "unknown_issue_with_acs_access_group";
62497
+ error_code: "acs_encoder_removed";
60846
62498
  }[];
60847
- is_managed: true;
60848
- acs_access_group_id: string;
62499
+ connected_account_id: string;
60849
62500
  acs_system_id: string;
60850
- access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
60851
- access_group_type_display_name: string;
60852
- external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
60853
- external_type_display_name: string;
62501
+ acs_encoder_id: string;
60854
62502
  }[] | undefined;
60855
- acs_encoders?: {
62503
+ acs_credentials?: {
60856
62504
  display_name: string;
60857
62505
  workspace_id: string;
60858
62506
  created_at: string;
60859
62507
  errors: {
62508
+ message: string;
62509
+ error_code: string;
62510
+ }[];
62511
+ connected_account_id: string;
62512
+ warnings: ({
60860
62513
  message: string;
60861
62514
  created_at: string;
60862
- error_code: "acs_encoder_removed";
62515
+ warning_code: "waiting_to_be_issued";
62516
+ } | {
62517
+ message: string;
62518
+ created_at: string;
62519
+ warning_code: "schedule_externally_modified";
62520
+ } | {
62521
+ message: string;
62522
+ created_at: string;
62523
+ warning_code: "schedule_modified";
62524
+ } | {
62525
+ message: string;
62526
+ created_at: string;
62527
+ warning_code: "being_deleted";
62528
+ } | {
62529
+ message: string;
62530
+ created_at: string;
62531
+ warning_code: "unknown_issue_with_acs_credential";
62532
+ } | {
62533
+ message: string;
62534
+ created_at: string;
62535
+ warning_code: "needs_to_be_reissued";
62536
+ })[];
62537
+ is_managed: true;
62538
+ acs_system_id: string;
62539
+ acs_credential_id: string;
62540
+ access_method: "code" | "card" | "mobile_key";
62541
+ code?: string | null | undefined;
62542
+ starts_at?: string | undefined;
62543
+ ends_at?: string | undefined;
62544
+ visionline_metadata?: {
62545
+ card_function_type: "guest" | "staff";
62546
+ auto_join?: boolean | undefined;
62547
+ joiner_acs_credential_ids?: string[] | undefined;
62548
+ guest_acs_entrance_ids?: string[] | undefined;
62549
+ common_acs_entrance_ids?: string[] | undefined;
62550
+ is_valid?: boolean | undefined;
62551
+ card_id?: string | undefined;
62552
+ credential_id?: string | undefined;
62553
+ } | undefined;
62554
+ assa_abloy_vostio_metadata?: {
62555
+ key_id?: string | undefined;
62556
+ endpoint_id?: string | undefined;
62557
+ auto_join?: boolean | undefined;
62558
+ override_guest_acs_entrance_ids?: string[] | undefined;
62559
+ key_issuing_request_id?: string | undefined;
62560
+ door_names?: string[] | undefined;
62561
+ } | undefined;
62562
+ is_one_time_use?: boolean | undefined;
62563
+ user_identity_id?: string | undefined;
62564
+ issued_at?: string | null | undefined;
62565
+ is_issued?: boolean | undefined;
62566
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
62567
+ external_type_display_name?: string | undefined;
62568
+ acs_user_id?: string | undefined;
62569
+ acs_credential_pool_id?: string | undefined;
62570
+ parent_acs_credential_id?: string | undefined;
62571
+ card_number?: string | null | undefined;
62572
+ is_multi_phone_sync_credential?: boolean | undefined;
62573
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
62574
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
62575
+ }[] | undefined;
62576
+ unmanaged_acs_credentials?: {
62577
+ display_name: string;
62578
+ workspace_id: string;
62579
+ created_at: string;
62580
+ errors: {
62581
+ message: string;
62582
+ error_code: string;
60863
62583
  }[];
60864
62584
  connected_account_id: string;
62585
+ warnings: ({
62586
+ message: string;
62587
+ created_at: string;
62588
+ warning_code: "waiting_to_be_issued";
62589
+ } | {
62590
+ message: string;
62591
+ created_at: string;
62592
+ warning_code: "schedule_externally_modified";
62593
+ } | {
62594
+ message: string;
62595
+ created_at: string;
62596
+ warning_code: "schedule_modified";
62597
+ } | {
62598
+ message: string;
62599
+ created_at: string;
62600
+ warning_code: "being_deleted";
62601
+ } | {
62602
+ message: string;
62603
+ created_at: string;
62604
+ warning_code: "unknown_issue_with_acs_credential";
62605
+ } | {
62606
+ message: string;
62607
+ created_at: string;
62608
+ warning_code: "needs_to_be_reissued";
62609
+ })[];
62610
+ is_managed: false;
60865
62611
  acs_system_id: string;
60866
- acs_encoder_id: string;
62612
+ acs_credential_id: string;
62613
+ access_method: "code" | "card" | "mobile_key";
62614
+ code?: string | null | undefined;
62615
+ starts_at?: string | undefined;
62616
+ ends_at?: string | undefined;
62617
+ visionline_metadata?: {
62618
+ card_function_type: "guest" | "staff";
62619
+ auto_join?: boolean | undefined;
62620
+ joiner_acs_credential_ids?: string[] | undefined;
62621
+ guest_acs_entrance_ids?: string[] | undefined;
62622
+ common_acs_entrance_ids?: string[] | undefined;
62623
+ is_valid?: boolean | undefined;
62624
+ card_id?: string | undefined;
62625
+ credential_id?: string | undefined;
62626
+ } | undefined;
62627
+ assa_abloy_vostio_metadata?: {
62628
+ key_id?: string | undefined;
62629
+ endpoint_id?: string | undefined;
62630
+ auto_join?: boolean | undefined;
62631
+ override_guest_acs_entrance_ids?: string[] | undefined;
62632
+ key_issuing_request_id?: string | undefined;
62633
+ door_names?: string[] | undefined;
62634
+ } | undefined;
62635
+ is_one_time_use?: boolean | undefined;
62636
+ user_identity_id?: string | undefined;
62637
+ issued_at?: string | null | undefined;
62638
+ is_issued?: boolean | undefined;
62639
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
62640
+ external_type_display_name?: string | undefined;
62641
+ acs_user_id?: string | undefined;
62642
+ acs_credential_pool_id?: string | undefined;
62643
+ parent_acs_credential_id?: string | undefined;
62644
+ card_number?: string | null | undefined;
62645
+ is_multi_phone_sync_credential?: boolean | undefined;
62646
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
62647
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
60867
62648
  }[] | undefined;
60868
62649
  action_attempts?: ({
60869
62650
  status: "pending";
@@ -63742,6 +65523,25 @@ export declare const batch: z.ZodObject<{
63742
65523
  user_identity_key: string | null;
63743
65524
  acs_user_ids: string[];
63744
65525
  }[] | undefined;
65526
+ acs_access_groups?: {
65527
+ name: string;
65528
+ display_name: string;
65529
+ workspace_id: string;
65530
+ created_at: string;
65531
+ connected_account_id: string;
65532
+ warnings: {
65533
+ message: string;
65534
+ created_at: string;
65535
+ warning_code: "unknown_issue_with_acs_access_group";
65536
+ }[];
65537
+ is_managed: true;
65538
+ acs_access_group_id: string;
65539
+ acs_system_id: string;
65540
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
65541
+ access_group_type_display_name: string;
65542
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
65543
+ external_type_display_name: string;
65544
+ }[] | undefined;
63745
65545
  access_methods?: {
63746
65546
  display_name: string;
63747
65547
  workspace_id: string;
@@ -63893,37 +65693,164 @@ export declare const batch: z.ZodObject<{
63893
65693
  };
63894
65694
  })[] | undefined;
63895
65695
  }[] | undefined;
63896
- acs_access_groups?: {
63897
- name: string;
65696
+ acs_encoders?: {
63898
65697
  display_name: string;
63899
65698
  workspace_id: string;
63900
65699
  created_at: string;
63901
- connected_account_id: string;
63902
- warnings: {
65700
+ errors: {
63903
65701
  message: string;
63904
65702
  created_at: string;
63905
- warning_code: "unknown_issue_with_acs_access_group";
65703
+ error_code: "acs_encoder_removed";
63906
65704
  }[];
63907
- is_managed: true;
63908
- acs_access_group_id: string;
65705
+ connected_account_id: string;
63909
65706
  acs_system_id: string;
63910
- access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
63911
- access_group_type_display_name: string;
63912
- external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
63913
- external_type_display_name: string;
65707
+ acs_encoder_id: string;
63914
65708
  }[] | undefined;
63915
- acs_encoders?: {
65709
+ acs_credentials?: {
63916
65710
  display_name: string;
63917
65711
  workspace_id: string;
63918
65712
  created_at: string;
63919
65713
  errors: {
65714
+ message: string;
65715
+ error_code: string;
65716
+ }[];
65717
+ connected_account_id: string;
65718
+ warnings: ({
63920
65719
  message: string;
63921
65720
  created_at: string;
63922
- error_code: "acs_encoder_removed";
65721
+ warning_code: "waiting_to_be_issued";
65722
+ } | {
65723
+ message: string;
65724
+ created_at: string;
65725
+ warning_code: "schedule_externally_modified";
65726
+ } | {
65727
+ message: string;
65728
+ created_at: string;
65729
+ warning_code: "schedule_modified";
65730
+ } | {
65731
+ message: string;
65732
+ created_at: string;
65733
+ warning_code: "being_deleted";
65734
+ } | {
65735
+ message: string;
65736
+ created_at: string;
65737
+ warning_code: "unknown_issue_with_acs_credential";
65738
+ } | {
65739
+ message: string;
65740
+ created_at: string;
65741
+ warning_code: "needs_to_be_reissued";
65742
+ })[];
65743
+ is_managed: true;
65744
+ acs_system_id: string;
65745
+ acs_credential_id: string;
65746
+ access_method: "code" | "card" | "mobile_key";
65747
+ code?: string | null | undefined;
65748
+ starts_at?: string | undefined;
65749
+ ends_at?: string | undefined;
65750
+ visionline_metadata?: {
65751
+ card_function_type: "guest" | "staff";
65752
+ auto_join?: boolean | undefined;
65753
+ joiner_acs_credential_ids?: string[] | undefined;
65754
+ guest_acs_entrance_ids?: string[] | undefined;
65755
+ common_acs_entrance_ids?: string[] | undefined;
65756
+ is_valid?: boolean | undefined;
65757
+ card_id?: string | undefined;
65758
+ credential_id?: string | undefined;
65759
+ } | undefined;
65760
+ assa_abloy_vostio_metadata?: {
65761
+ key_id?: string | undefined;
65762
+ endpoint_id?: string | undefined;
65763
+ auto_join?: boolean | undefined;
65764
+ override_guest_acs_entrance_ids?: string[] | undefined;
65765
+ key_issuing_request_id?: string | undefined;
65766
+ door_names?: string[] | undefined;
65767
+ } | undefined;
65768
+ is_one_time_use?: boolean | undefined;
65769
+ user_identity_id?: string | undefined;
65770
+ issued_at?: string | null | undefined;
65771
+ is_issued?: boolean | undefined;
65772
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
65773
+ external_type_display_name?: string | undefined;
65774
+ acs_user_id?: string | undefined;
65775
+ acs_credential_pool_id?: string | undefined;
65776
+ parent_acs_credential_id?: string | undefined;
65777
+ card_number?: string | null | undefined;
65778
+ is_multi_phone_sync_credential?: boolean | undefined;
65779
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
65780
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
65781
+ }[] | undefined;
65782
+ unmanaged_acs_credentials?: {
65783
+ display_name: string;
65784
+ workspace_id: string;
65785
+ created_at: string;
65786
+ errors: {
65787
+ message: string;
65788
+ error_code: string;
63923
65789
  }[];
63924
65790
  connected_account_id: string;
65791
+ warnings: ({
65792
+ message: string;
65793
+ created_at: string;
65794
+ warning_code: "waiting_to_be_issued";
65795
+ } | {
65796
+ message: string;
65797
+ created_at: string;
65798
+ warning_code: "schedule_externally_modified";
65799
+ } | {
65800
+ message: string;
65801
+ created_at: string;
65802
+ warning_code: "schedule_modified";
65803
+ } | {
65804
+ message: string;
65805
+ created_at: string;
65806
+ warning_code: "being_deleted";
65807
+ } | {
65808
+ message: string;
65809
+ created_at: string;
65810
+ warning_code: "unknown_issue_with_acs_credential";
65811
+ } | {
65812
+ message: string;
65813
+ created_at: string;
65814
+ warning_code: "needs_to_be_reissued";
65815
+ })[];
65816
+ is_managed: false;
63925
65817
  acs_system_id: string;
63926
- acs_encoder_id: string;
65818
+ acs_credential_id: string;
65819
+ access_method: "code" | "card" | "mobile_key";
65820
+ code?: string | null | undefined;
65821
+ starts_at?: string | undefined;
65822
+ ends_at?: string | undefined;
65823
+ visionline_metadata?: {
65824
+ card_function_type: "guest" | "staff";
65825
+ auto_join?: boolean | undefined;
65826
+ joiner_acs_credential_ids?: string[] | undefined;
65827
+ guest_acs_entrance_ids?: string[] | undefined;
65828
+ common_acs_entrance_ids?: string[] | undefined;
65829
+ is_valid?: boolean | undefined;
65830
+ card_id?: string | undefined;
65831
+ credential_id?: string | undefined;
65832
+ } | undefined;
65833
+ assa_abloy_vostio_metadata?: {
65834
+ key_id?: string | undefined;
65835
+ endpoint_id?: string | undefined;
65836
+ auto_join?: boolean | undefined;
65837
+ override_guest_acs_entrance_ids?: string[] | undefined;
65838
+ key_issuing_request_id?: string | undefined;
65839
+ door_names?: string[] | undefined;
65840
+ } | undefined;
65841
+ is_one_time_use?: boolean | undefined;
65842
+ user_identity_id?: string | undefined;
65843
+ issued_at?: string | null | undefined;
65844
+ is_issued?: boolean | undefined;
65845
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
65846
+ external_type_display_name?: string | undefined;
65847
+ acs_user_id?: string | undefined;
65848
+ acs_credential_pool_id?: string | undefined;
65849
+ parent_acs_credential_id?: string | undefined;
65850
+ card_number?: string | null | undefined;
65851
+ is_multi_phone_sync_credential?: boolean | undefined;
65852
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
65853
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
63927
65854
  }[] | undefined;
63928
65855
  action_attempts?: ({
63929
65856
  status: "pending";