@seamapi/types 1.270.0 → 1.271.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2603,18 +2603,480 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2603
2603
  error: z.ZodNull;
2604
2604
  }>, {
2605
2605
  action_type: z.ZodLiteral<"ENCODE_CARD">;
2606
- result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2606
+ result: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2607
+ acs_credential_id: z.ZodString;
2608
+ acs_user_id: z.ZodOptional<z.ZodString>;
2609
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
2610
+ acs_system_id: z.ZodString;
2611
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
2612
+ display_name: z.ZodString;
2613
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2614
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2615
+ is_issued: z.ZodOptional<z.ZodBoolean>;
2616
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2617
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
2618
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential"]>>;
2619
+ external_type_display_name: z.ZodOptional<z.ZodString>;
2620
+ created_at: z.ZodString;
2621
+ workspace_id: z.ZodString;
2622
+ starts_at: z.ZodOptional<z.ZodString>;
2623
+ ends_at: z.ZodOptional<z.ZodString>;
2624
+ errors: z.ZodArray<z.ZodObject<{
2625
+ error_code: z.ZodString;
2626
+ message: z.ZodString;
2627
+ }, "strip", z.ZodTypeAny, {
2628
+ message: string;
2629
+ error_code: string;
2630
+ }, {
2631
+ message: string;
2632
+ error_code: string;
2633
+ }>, "many">;
2634
+ warnings: z.ZodArray<z.ZodObject<{
2635
+ warning_code: z.ZodString;
2636
+ message: z.ZodString;
2637
+ }, "strip", z.ZodTypeAny, {
2638
+ message: string;
2639
+ warning_code: string;
2640
+ }, {
2641
+ message: string;
2642
+ warning_code: string;
2643
+ }>, "many">;
2644
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
2645
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
2646
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
2647
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
2648
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
2649
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2650
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2651
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2652
+ is_valid: z.ZodOptional<z.ZodBoolean>;
2653
+ auto_join: z.ZodOptional<z.ZodBoolean>;
2654
+ card_id: z.ZodOptional<z.ZodString>;
2655
+ credential_id: z.ZodOptional<z.ZodString>;
2656
+ }, "strip", z.ZodTypeAny, {
2657
+ card_function_type: "guest" | "staff";
2658
+ joiner_acs_credential_ids?: string[] | undefined;
2659
+ guest_acs_entrance_ids?: string[] | undefined;
2660
+ common_acs_entrance_ids?: string[] | undefined;
2661
+ is_valid?: boolean | undefined;
2662
+ auto_join?: boolean | undefined;
2663
+ card_id?: string | undefined;
2664
+ credential_id?: string | undefined;
2665
+ }, {
2666
+ card_function_type: "guest" | "staff";
2667
+ joiner_acs_credential_ids?: string[] | undefined;
2668
+ guest_acs_entrance_ids?: string[] | undefined;
2669
+ common_acs_entrance_ids?: string[] | undefined;
2670
+ is_valid?: boolean | undefined;
2671
+ auto_join?: boolean | undefined;
2672
+ card_id?: string | undefined;
2673
+ credential_id?: string | undefined;
2674
+ }>>;
2675
+ }, {
2676
+ is_managed: z.ZodLiteral<true>;
2677
+ }>, "strip", z.ZodTypeAny, {
2678
+ created_at: string;
2679
+ errors: {
2680
+ message: string;
2681
+ error_code: string;
2682
+ }[];
2683
+ warnings: {
2684
+ message: string;
2685
+ warning_code: string;
2686
+ }[];
2687
+ display_name: string;
2688
+ workspace_id: string;
2689
+ is_managed: true;
2690
+ acs_system_id: string;
2691
+ acs_credential_id: string;
2692
+ access_method: "code" | "card" | "mobile_key";
2693
+ code?: string | null | undefined;
2694
+ starts_at?: string | undefined;
2695
+ ends_at?: string | undefined;
2696
+ visionline_metadata?: {
2697
+ card_function_type: "guest" | "staff";
2698
+ joiner_acs_credential_ids?: string[] | undefined;
2699
+ guest_acs_entrance_ids?: string[] | undefined;
2700
+ common_acs_entrance_ids?: string[] | undefined;
2701
+ is_valid?: boolean | undefined;
2702
+ auto_join?: boolean | undefined;
2703
+ card_id?: string | undefined;
2704
+ credential_id?: string | undefined;
2705
+ } | undefined;
2706
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2707
+ external_type_display_name?: string | undefined;
2708
+ acs_user_id?: string | undefined;
2709
+ acs_credential_pool_id?: string | undefined;
2710
+ parent_acs_credential_id?: string | undefined;
2711
+ card_number?: string | null | undefined;
2712
+ is_issued?: boolean | undefined;
2713
+ issued_at?: string | null | undefined;
2714
+ is_multi_phone_sync_credential?: boolean | undefined;
2715
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2716
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2717
+ }, {
2718
+ created_at: string;
2719
+ errors: {
2720
+ message: string;
2721
+ error_code: string;
2722
+ }[];
2723
+ warnings: {
2724
+ message: string;
2725
+ warning_code: string;
2726
+ }[];
2727
+ display_name: string;
2728
+ workspace_id: string;
2729
+ is_managed: true;
2730
+ acs_system_id: string;
2731
+ acs_credential_id: string;
2732
+ access_method: "code" | "card" | "mobile_key";
2733
+ code?: string | null | undefined;
2734
+ starts_at?: string | undefined;
2735
+ ends_at?: string | undefined;
2736
+ visionline_metadata?: {
2737
+ card_function_type: "guest" | "staff";
2738
+ joiner_acs_credential_ids?: string[] | undefined;
2739
+ guest_acs_entrance_ids?: string[] | undefined;
2740
+ common_acs_entrance_ids?: string[] | undefined;
2741
+ is_valid?: boolean | undefined;
2742
+ auto_join?: boolean | undefined;
2743
+ card_id?: string | undefined;
2744
+ credential_id?: string | undefined;
2745
+ } | undefined;
2746
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2747
+ external_type_display_name?: string | undefined;
2748
+ acs_user_id?: string | undefined;
2749
+ acs_credential_pool_id?: string | undefined;
2750
+ parent_acs_credential_id?: string | undefined;
2751
+ card_number?: string | null | undefined;
2752
+ is_issued?: boolean | undefined;
2753
+ issued_at?: string | null | undefined;
2754
+ is_multi_phone_sync_credential?: boolean | undefined;
2755
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2756
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2757
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2758
+ acs_credential_id: z.ZodString;
2759
+ acs_user_id: z.ZodOptional<z.ZodString>;
2760
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
2761
+ acs_system_id: z.ZodString;
2762
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
2763
+ display_name: z.ZodString;
2764
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2765
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2766
+ is_issued: z.ZodOptional<z.ZodBoolean>;
2767
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2768
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
2769
+ external_type: z.ZodOptional<z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card", "salto_ks_credential"]>>;
2770
+ external_type_display_name: z.ZodOptional<z.ZodString>;
2771
+ created_at: z.ZodString;
2772
+ workspace_id: z.ZodString;
2773
+ starts_at: z.ZodOptional<z.ZodString>;
2774
+ ends_at: z.ZodOptional<z.ZodString>;
2775
+ errors: z.ZodArray<z.ZodObject<{
2776
+ error_code: z.ZodString;
2777
+ message: z.ZodString;
2778
+ }, "strip", z.ZodTypeAny, {
2779
+ message: string;
2780
+ error_code: string;
2781
+ }, {
2782
+ message: string;
2783
+ error_code: string;
2784
+ }>, "many">;
2785
+ warnings: z.ZodArray<z.ZodObject<{
2786
+ warning_code: z.ZodString;
2787
+ message: z.ZodString;
2788
+ }, "strip", z.ZodTypeAny, {
2789
+ message: string;
2790
+ warning_code: string;
2791
+ }, {
2792
+ message: string;
2793
+ warning_code: string;
2794
+ }>, "many">;
2795
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
2796
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
2797
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
2798
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
2799
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
2800
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2801
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2802
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2803
+ is_valid: z.ZodOptional<z.ZodBoolean>;
2804
+ auto_join: z.ZodOptional<z.ZodBoolean>;
2805
+ card_id: z.ZodOptional<z.ZodString>;
2806
+ credential_id: z.ZodOptional<z.ZodString>;
2807
+ }, "strip", z.ZodTypeAny, {
2808
+ card_function_type: "guest" | "staff";
2809
+ joiner_acs_credential_ids?: string[] | undefined;
2810
+ guest_acs_entrance_ids?: string[] | undefined;
2811
+ common_acs_entrance_ids?: string[] | undefined;
2812
+ is_valid?: boolean | undefined;
2813
+ auto_join?: boolean | undefined;
2814
+ card_id?: string | undefined;
2815
+ credential_id?: string | undefined;
2816
+ }, {
2817
+ card_function_type: "guest" | "staff";
2818
+ joiner_acs_credential_ids?: string[] | undefined;
2819
+ guest_acs_entrance_ids?: string[] | undefined;
2820
+ common_acs_entrance_ids?: string[] | undefined;
2821
+ is_valid?: boolean | undefined;
2822
+ auto_join?: boolean | undefined;
2823
+ card_id?: string | undefined;
2824
+ credential_id?: string | undefined;
2825
+ }>>;
2826
+ }, {
2827
+ is_managed: z.ZodLiteral<false>;
2828
+ }>, "strip", z.ZodTypeAny, {
2829
+ created_at: string;
2830
+ errors: {
2831
+ message: string;
2832
+ error_code: string;
2833
+ }[];
2834
+ warnings: {
2835
+ message: string;
2836
+ warning_code: string;
2837
+ }[];
2838
+ display_name: string;
2839
+ workspace_id: string;
2840
+ is_managed: false;
2841
+ acs_system_id: string;
2842
+ acs_credential_id: string;
2843
+ access_method: "code" | "card" | "mobile_key";
2844
+ code?: string | null | undefined;
2845
+ starts_at?: string | undefined;
2846
+ ends_at?: string | undefined;
2847
+ visionline_metadata?: {
2848
+ card_function_type: "guest" | "staff";
2849
+ joiner_acs_credential_ids?: string[] | undefined;
2850
+ guest_acs_entrance_ids?: string[] | undefined;
2851
+ common_acs_entrance_ids?: string[] | undefined;
2852
+ is_valid?: boolean | undefined;
2853
+ auto_join?: boolean | undefined;
2854
+ card_id?: string | undefined;
2855
+ credential_id?: string | undefined;
2856
+ } | undefined;
2857
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2858
+ external_type_display_name?: string | undefined;
2859
+ acs_user_id?: string | undefined;
2860
+ acs_credential_pool_id?: string | undefined;
2861
+ parent_acs_credential_id?: string | undefined;
2862
+ card_number?: string | null | undefined;
2863
+ is_issued?: boolean | undefined;
2864
+ issued_at?: string | null | undefined;
2865
+ is_multi_phone_sync_credential?: boolean | undefined;
2866
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2867
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2868
+ }, {
2869
+ created_at: string;
2870
+ errors: {
2871
+ message: string;
2872
+ error_code: string;
2873
+ }[];
2874
+ warnings: {
2875
+ message: string;
2876
+ warning_code: string;
2877
+ }[];
2878
+ display_name: string;
2879
+ workspace_id: string;
2880
+ is_managed: false;
2881
+ acs_system_id: string;
2882
+ acs_credential_id: string;
2883
+ access_method: "code" | "card" | "mobile_key";
2884
+ code?: string | null | undefined;
2885
+ starts_at?: string | undefined;
2886
+ ends_at?: string | undefined;
2887
+ visionline_metadata?: {
2888
+ card_function_type: "guest" | "staff";
2889
+ joiner_acs_credential_ids?: string[] | undefined;
2890
+ guest_acs_entrance_ids?: string[] | undefined;
2891
+ common_acs_entrance_ids?: string[] | undefined;
2892
+ is_valid?: boolean | undefined;
2893
+ auto_join?: boolean | undefined;
2894
+ card_id?: string | undefined;
2895
+ credential_id?: string | undefined;
2896
+ } | undefined;
2897
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2898
+ external_type_display_name?: string | undefined;
2899
+ acs_user_id?: string | undefined;
2900
+ acs_credential_pool_id?: string | undefined;
2901
+ parent_acs_credential_id?: string | undefined;
2902
+ card_number?: string | null | undefined;
2903
+ is_issued?: boolean | undefined;
2904
+ issued_at?: string | null | undefined;
2905
+ is_multi_phone_sync_credential?: boolean | undefined;
2906
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2907
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2908
+ }>]>;
2607
2909
  }>, "strip", z.ZodTypeAny, {
2608
2910
  status: "success";
2609
2911
  action_attempt_id: string;
2610
2912
  error: null;
2611
- result: {};
2913
+ result: {
2914
+ created_at: string;
2915
+ errors: {
2916
+ message: string;
2917
+ error_code: string;
2918
+ }[];
2919
+ warnings: {
2920
+ message: string;
2921
+ warning_code: string;
2922
+ }[];
2923
+ display_name: string;
2924
+ workspace_id: string;
2925
+ is_managed: true;
2926
+ acs_system_id: string;
2927
+ acs_credential_id: string;
2928
+ access_method: "code" | "card" | "mobile_key";
2929
+ code?: string | null | undefined;
2930
+ starts_at?: string | undefined;
2931
+ ends_at?: string | undefined;
2932
+ visionline_metadata?: {
2933
+ card_function_type: "guest" | "staff";
2934
+ joiner_acs_credential_ids?: string[] | undefined;
2935
+ guest_acs_entrance_ids?: string[] | undefined;
2936
+ common_acs_entrance_ids?: string[] | undefined;
2937
+ is_valid?: boolean | undefined;
2938
+ auto_join?: boolean | undefined;
2939
+ card_id?: string | undefined;
2940
+ credential_id?: string | undefined;
2941
+ } | undefined;
2942
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2943
+ external_type_display_name?: string | undefined;
2944
+ acs_user_id?: string | undefined;
2945
+ acs_credential_pool_id?: string | undefined;
2946
+ parent_acs_credential_id?: string | undefined;
2947
+ card_number?: string | null | undefined;
2948
+ is_issued?: boolean | undefined;
2949
+ issued_at?: string | null | undefined;
2950
+ is_multi_phone_sync_credential?: boolean | undefined;
2951
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2952
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2953
+ } | {
2954
+ created_at: string;
2955
+ errors: {
2956
+ message: string;
2957
+ error_code: string;
2958
+ }[];
2959
+ warnings: {
2960
+ message: string;
2961
+ warning_code: string;
2962
+ }[];
2963
+ display_name: string;
2964
+ workspace_id: string;
2965
+ is_managed: false;
2966
+ acs_system_id: string;
2967
+ acs_credential_id: string;
2968
+ access_method: "code" | "card" | "mobile_key";
2969
+ code?: string | null | undefined;
2970
+ starts_at?: string | undefined;
2971
+ ends_at?: string | undefined;
2972
+ visionline_metadata?: {
2973
+ card_function_type: "guest" | "staff";
2974
+ joiner_acs_credential_ids?: string[] | undefined;
2975
+ guest_acs_entrance_ids?: string[] | undefined;
2976
+ common_acs_entrance_ids?: string[] | undefined;
2977
+ is_valid?: boolean | undefined;
2978
+ auto_join?: boolean | undefined;
2979
+ card_id?: string | undefined;
2980
+ credential_id?: string | undefined;
2981
+ } | undefined;
2982
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2983
+ external_type_display_name?: string | undefined;
2984
+ acs_user_id?: string | undefined;
2985
+ acs_credential_pool_id?: string | undefined;
2986
+ parent_acs_credential_id?: string | undefined;
2987
+ card_number?: string | null | undefined;
2988
+ is_issued?: boolean | undefined;
2989
+ issued_at?: string | null | undefined;
2990
+ is_multi_phone_sync_credential?: boolean | undefined;
2991
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2992
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2993
+ };
2612
2994
  action_type: "ENCODE_CARD";
2613
2995
  }, {
2614
2996
  status: "success";
2615
2997
  action_attempt_id: string;
2616
2998
  error: null;
2617
- result: {};
2999
+ result: {
3000
+ created_at: string;
3001
+ errors: {
3002
+ message: string;
3003
+ error_code: string;
3004
+ }[];
3005
+ warnings: {
3006
+ message: string;
3007
+ warning_code: string;
3008
+ }[];
3009
+ display_name: string;
3010
+ workspace_id: string;
3011
+ is_managed: true;
3012
+ acs_system_id: string;
3013
+ acs_credential_id: string;
3014
+ access_method: "code" | "card" | "mobile_key";
3015
+ code?: string | null | undefined;
3016
+ starts_at?: string | undefined;
3017
+ ends_at?: string | undefined;
3018
+ visionline_metadata?: {
3019
+ card_function_type: "guest" | "staff";
3020
+ joiner_acs_credential_ids?: string[] | undefined;
3021
+ guest_acs_entrance_ids?: string[] | undefined;
3022
+ common_acs_entrance_ids?: string[] | undefined;
3023
+ is_valid?: boolean | undefined;
3024
+ auto_join?: boolean | undefined;
3025
+ card_id?: string | undefined;
3026
+ credential_id?: string | undefined;
3027
+ } | undefined;
3028
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
3029
+ external_type_display_name?: string | undefined;
3030
+ acs_user_id?: string | undefined;
3031
+ acs_credential_pool_id?: string | undefined;
3032
+ parent_acs_credential_id?: string | undefined;
3033
+ card_number?: string | null | undefined;
3034
+ is_issued?: boolean | undefined;
3035
+ issued_at?: string | null | undefined;
3036
+ is_multi_phone_sync_credential?: boolean | undefined;
3037
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
3038
+ latest_desired_state_synced_with_provider_at?: string | undefined;
3039
+ } | {
3040
+ created_at: string;
3041
+ errors: {
3042
+ message: string;
3043
+ error_code: string;
3044
+ }[];
3045
+ warnings: {
3046
+ message: string;
3047
+ warning_code: string;
3048
+ }[];
3049
+ display_name: string;
3050
+ workspace_id: string;
3051
+ is_managed: false;
3052
+ acs_system_id: string;
3053
+ acs_credential_id: string;
3054
+ access_method: "code" | "card" | "mobile_key";
3055
+ code?: string | null | undefined;
3056
+ starts_at?: string | undefined;
3057
+ ends_at?: string | undefined;
3058
+ visionline_metadata?: {
3059
+ card_function_type: "guest" | "staff";
3060
+ joiner_acs_credential_ids?: string[] | undefined;
3061
+ guest_acs_entrance_ids?: string[] | undefined;
3062
+ common_acs_entrance_ids?: string[] | undefined;
3063
+ is_valid?: boolean | undefined;
3064
+ auto_join?: boolean | undefined;
3065
+ card_id?: string | undefined;
3066
+ credential_id?: string | undefined;
3067
+ } | undefined;
3068
+ external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
3069
+ external_type_display_name?: string | undefined;
3070
+ acs_user_id?: string | undefined;
3071
+ acs_credential_pool_id?: string | undefined;
3072
+ parent_acs_credential_id?: string | undefined;
3073
+ card_number?: string | null | undefined;
3074
+ is_issued?: boolean | undefined;
3075
+ issued_at?: string | null | undefined;
3076
+ is_multi_phone_sync_credential?: boolean | undefined;
3077
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
3078
+ latest_desired_state_synced_with_provider_at?: string | undefined;
3079
+ };
2618
3080
  action_type: "ENCODE_CARD";
2619
3081
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2620
3082
  action_attempt_id: z.ZodString;
@@ -11589,6 +12051,7 @@ declare const _default: {
11589
12051
  properties?: never;
11590
12052
  type?: never;
11591
12053
  required?: never;
12054
+ oneOf?: never;
11592
12055
  };
11593
12056
  status: {
11594
12057
  enum: string[];
@@ -11626,6 +12089,7 @@ declare const _default: {
11626
12089
  type: string;
11627
12090
  nullable?: never;
11628
12091
  required?: never;
12092
+ oneOf?: never;
11629
12093
  };
11630
12094
  status: {
11631
12095
  enum: string[];
@@ -11666,6 +12130,7 @@ declare const _default: {
11666
12130
  properties?: never;
11667
12131
  type?: never;
11668
12132
  required?: never;
12133
+ oneOf?: never;
11669
12134
  };
11670
12135
  status: {
11671
12136
  enum: string[];
@@ -11949,6 +12414,7 @@ declare const _default: {
11949
12414
  required: string[];
11950
12415
  type: string;
11951
12416
  nullable?: never;
12417
+ oneOf?: never;
11952
12418
  };
11953
12419
  status: {
11954
12420
  enum: string[];
@@ -11989,6 +12455,197 @@ declare const _default: {
11989
12455
  properties?: never;
11990
12456
  type?: never;
11991
12457
  required?: never;
12458
+ oneOf?: never;
12459
+ };
12460
+ status: {
12461
+ enum: string[];
12462
+ type: string;
12463
+ };
12464
+ };
12465
+ required: string[];
12466
+ type: string;
12467
+ } | {
12468
+ description: string;
12469
+ properties: {
12470
+ action_attempt_id: {
12471
+ description: string;
12472
+ format: string;
12473
+ type: string;
12474
+ 'x-title': string;
12475
+ };
12476
+ action_type: {
12477
+ enum: string[];
12478
+ type: string;
12479
+ };
12480
+ error: {
12481
+ nullable: boolean;
12482
+ properties?: never;
12483
+ required?: never;
12484
+ type?: never;
12485
+ };
12486
+ result: {
12487
+ oneOf: {
12488
+ properties: {
12489
+ access_method: {
12490
+ enum: string[];
12491
+ type: string;
12492
+ };
12493
+ acs_credential_id: {
12494
+ format: string;
12495
+ type: string;
12496
+ };
12497
+ acs_credential_pool_id: {
12498
+ format: string;
12499
+ type: string;
12500
+ };
12501
+ acs_system_id: {
12502
+ format: string;
12503
+ type: string;
12504
+ };
12505
+ acs_user_id: {
12506
+ format: string;
12507
+ type: string;
12508
+ };
12509
+ card_number: {
12510
+ nullable: boolean;
12511
+ type: string;
12512
+ };
12513
+ code: {
12514
+ nullable: boolean;
12515
+ type: string;
12516
+ };
12517
+ created_at: {
12518
+ format: string;
12519
+ type: string;
12520
+ };
12521
+ display_name: {
12522
+ minLength: number;
12523
+ type: string;
12524
+ };
12525
+ ends_at: {
12526
+ type: string;
12527
+ };
12528
+ errors: {
12529
+ items: {
12530
+ properties: {
12531
+ error_code: {
12532
+ type: string;
12533
+ };
12534
+ message: {
12535
+ type: string;
12536
+ };
12537
+ };
12538
+ required: string[];
12539
+ type: string;
12540
+ };
12541
+ type: string;
12542
+ };
12543
+ external_type: {
12544
+ enum: string[];
12545
+ type: string;
12546
+ };
12547
+ external_type_display_name: {
12548
+ type: string;
12549
+ };
12550
+ is_issued: {
12551
+ type: string;
12552
+ };
12553
+ is_latest_desired_state_synced_with_provider: {
12554
+ type: string;
12555
+ };
12556
+ is_managed: {
12557
+ enum: boolean[];
12558
+ type: string;
12559
+ };
12560
+ is_multi_phone_sync_credential: {
12561
+ type: string;
12562
+ };
12563
+ issued_at: {
12564
+ format: string;
12565
+ nullable: boolean;
12566
+ type: string;
12567
+ };
12568
+ latest_desired_state_synced_with_provider_at: {
12569
+ format: string;
12570
+ type: string;
12571
+ };
12572
+ parent_acs_credential_id: {
12573
+ format: string;
12574
+ type: string;
12575
+ };
12576
+ starts_at: {
12577
+ type: string;
12578
+ };
12579
+ visionline_metadata: {
12580
+ properties: {
12581
+ auto_join: {
12582
+ type: string;
12583
+ };
12584
+ card_function_type: {
12585
+ enum: string[];
12586
+ type: string;
12587
+ };
12588
+ card_id: {
12589
+ type: string;
12590
+ };
12591
+ common_acs_entrance_ids: {
12592
+ items: {
12593
+ format: string;
12594
+ type: string;
12595
+ };
12596
+ type: string;
12597
+ };
12598
+ credential_id: {
12599
+ type: string;
12600
+ };
12601
+ guest_acs_entrance_ids: {
12602
+ items: {
12603
+ format: string;
12604
+ type: string;
12605
+ };
12606
+ type: string;
12607
+ };
12608
+ is_valid: {
12609
+ type: string;
12610
+ };
12611
+ joiner_acs_credential_ids: {
12612
+ items: {
12613
+ format: string;
12614
+ type: string;
12615
+ };
12616
+ type: string;
12617
+ };
12618
+ };
12619
+ required: string[];
12620
+ type: string;
12621
+ };
12622
+ warnings: {
12623
+ items: {
12624
+ properties: {
12625
+ message: {
12626
+ type: string;
12627
+ };
12628
+ warning_code: {
12629
+ type: string;
12630
+ };
12631
+ };
12632
+ required: string[];
12633
+ type: string;
12634
+ };
12635
+ type: string;
12636
+ };
12637
+ workspace_id: {
12638
+ format: string;
12639
+ type: string;
12640
+ };
12641
+ };
12642
+ required: string[];
12643
+ type: string;
12644
+ }[];
12645
+ nullable?: never;
12646
+ properties?: never;
12647
+ type?: never;
12648
+ required?: never;
11992
12649
  };
11993
12650
  status: {
11994
12651
  enum: string[];
@@ -12020,6 +12677,7 @@ declare const _default: {
12020
12677
  properties?: never;
12021
12678
  type?: never;
12022
12679
  required?: never;
12680
+ oneOf?: never;
12023
12681
  };
12024
12682
  status: {
12025
12683
  enum: string[];
@@ -12057,6 +12715,7 @@ declare const _default: {
12057
12715
  type: string;
12058
12716
  nullable?: never;
12059
12717
  required?: never;
12718
+ oneOf?: never;
12060
12719
  };
12061
12720
  status: {
12062
12721
  enum: string[];
@@ -12097,6 +12756,7 @@ declare const _default: {
12097
12756
  properties?: never;
12098
12757
  type?: never;
12099
12758
  required?: never;
12759
+ oneOf?: never;
12100
12760
  };
12101
12761
  status: {
12102
12762
  enum: string[];
@@ -12134,6 +12794,7 @@ declare const _default: {
12134
12794
  type: string;
12135
12795
  nullable?: never;
12136
12796
  required?: never;
12797
+ oneOf?: never;
12137
12798
  };
12138
12799
  status: {
12139
12800
  enum: string[];
@@ -12171,6 +12832,7 @@ declare const _default: {
12171
12832
  type: string;
12172
12833
  nullable?: never;
12173
12834
  required?: never;
12835
+ oneOf?: never;
12174
12836
  };
12175
12837
  status: {
12176
12838
  enum: string[];
@@ -19185,31 +19847,18 @@ declare const _default: {
19185
19847
  content: {
19186
19848
  'application/json': {
19187
19849
  schema: {
19188
- oneOf: ({
19189
- properties: {
19190
- acs_system_id: {
19191
- format: string;
19192
- type: string;
19193
- };
19194
- device_name: {
19195
- type: string;
19196
- };
19197
- device_id?: never;
19850
+ properties: {
19851
+ acs_credential_id: {
19852
+ format: string;
19853
+ type: string;
19198
19854
  };
19199
- required: string[];
19200
- type: string;
19201
- } | {
19202
- properties: {
19203
- device_id: {
19204
- format: string;
19205
- type: string;
19206
- };
19207
- acs_system_id?: never;
19208
- device_name?: never;
19855
+ device_id: {
19856
+ format: string;
19857
+ type: string;
19209
19858
  };
19210
- required: string[];
19211
- type: string;
19212
- })[];
19859
+ };
19860
+ required: string[];
19861
+ type: string;
19213
19862
  };
19214
19863
  };
19215
19864
  };
@@ -19394,34 +20043,18 @@ declare const _default: {
19394
20043
  content: {
19395
20044
  'application/json': {
19396
20045
  schema: {
19397
- oneOf: ({
19398
- properties: {
19399
- acs_system_id: {
19400
- format: string;
19401
- type: string;
19402
- };
19403
- device_name: {
19404
- type: string;
19405
- };
19406
- device_id?: never;
20046
+ properties: {
20047
+ acs_system_id: {
20048
+ format: string;
20049
+ type: string;
19407
20050
  };
19408
- required: string[];
19409
- type: string;
19410
- } | {
19411
- properties: {
19412
- acs_system_id: {
19413
- format: string;
19414
- type: string;
19415
- };
19416
- device_id: {
19417
- format: string;
19418
- type: string;
19419
- };
19420
- device_name?: never;
20051
+ device_id: {
20052
+ format: string;
20053
+ type: string;
19421
20054
  };
19422
- required: string[];
19423
- type: string;
19424
- })[];
20055
+ };
20056
+ required: string[];
20057
+ type: string;
19425
20058
  };
19426
20059
  };
19427
20060
  };
@@ -30118,7 +30751,87 @@ interface Routes {
30118
30751
  status: 'success';
30119
30752
  error: null;
30120
30753
  action_type: 'ENCODE_CARD';
30121
- result: {};
30754
+ result: {
30755
+ acs_credential_id: string;
30756
+ acs_user_id?: string | undefined;
30757
+ acs_credential_pool_id?: string | undefined;
30758
+ acs_system_id: string;
30759
+ parent_acs_credential_id?: string | undefined;
30760
+ display_name: string;
30761
+ code?: (string | undefined) | null;
30762
+ card_number?: (string | undefined) | null;
30763
+ is_issued?: boolean | undefined;
30764
+ issued_at?: (string | undefined) | null;
30765
+ access_method: 'code' | 'card' | 'mobile_key';
30766
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
30767
+ external_type_display_name?: string | undefined;
30768
+ created_at: string;
30769
+ workspace_id: string;
30770
+ starts_at?: string | undefined;
30771
+ ends_at?: string | undefined;
30772
+ errors: Array<{
30773
+ error_code: string;
30774
+ message: string;
30775
+ }>;
30776
+ warnings: Array<{
30777
+ warning_code: string;
30778
+ message: string;
30779
+ }>;
30780
+ is_multi_phone_sync_credential?: boolean | undefined;
30781
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
30782
+ latest_desired_state_synced_with_provider_at?: string | undefined;
30783
+ visionline_metadata?: {
30784
+ card_function_type: 'guest' | 'staff';
30785
+ joiner_acs_credential_ids?: string[] | undefined;
30786
+ guest_acs_entrance_ids?: string[] | undefined;
30787
+ common_acs_entrance_ids?: string[] | undefined;
30788
+ is_valid?: boolean | undefined;
30789
+ auto_join?: boolean | undefined;
30790
+ card_id?: string | undefined;
30791
+ credential_id?: string | undefined;
30792
+ } | undefined;
30793
+ is_managed: true;
30794
+ } | {
30795
+ acs_credential_id: string;
30796
+ acs_user_id?: string | undefined;
30797
+ acs_credential_pool_id?: string | undefined;
30798
+ acs_system_id: string;
30799
+ parent_acs_credential_id?: string | undefined;
30800
+ display_name: string;
30801
+ code?: (string | undefined) | null;
30802
+ card_number?: (string | undefined) | null;
30803
+ is_issued?: boolean | undefined;
30804
+ issued_at?: (string | undefined) | null;
30805
+ access_method: 'code' | 'card' | 'mobile_key';
30806
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
30807
+ external_type_display_name?: string | undefined;
30808
+ created_at: string;
30809
+ workspace_id: string;
30810
+ starts_at?: string | undefined;
30811
+ ends_at?: string | undefined;
30812
+ errors: Array<{
30813
+ error_code: string;
30814
+ message: string;
30815
+ }>;
30816
+ warnings: Array<{
30817
+ warning_code: string;
30818
+ message: string;
30819
+ }>;
30820
+ is_multi_phone_sync_credential?: boolean | undefined;
30821
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
30822
+ latest_desired_state_synced_with_provider_at?: string | undefined;
30823
+ visionline_metadata?: {
30824
+ card_function_type: 'guest' | 'staff';
30825
+ joiner_acs_credential_ids?: string[] | undefined;
30826
+ guest_acs_entrance_ids?: string[] | undefined;
30827
+ common_acs_entrance_ids?: string[] | undefined;
30828
+ is_valid?: boolean | undefined;
30829
+ auto_join?: boolean | undefined;
30830
+ card_id?: string | undefined;
30831
+ credential_id?: string | undefined;
30832
+ } | undefined;
30833
+ is_managed: false;
30834
+ };
30122
30835
  } | {
30123
30836
  /** The ID of the action attempt. */
30124
30837
  action_attempt_id: string;
@@ -30831,7 +31544,87 @@ interface Routes {
30831
31544
  status: 'success';
30832
31545
  error: null;
30833
31546
  action_type: 'ENCODE_CARD';
30834
- result: {};
31547
+ result: {
31548
+ acs_credential_id: string;
31549
+ acs_user_id?: string | undefined;
31550
+ acs_credential_pool_id?: string | undefined;
31551
+ acs_system_id: string;
31552
+ parent_acs_credential_id?: string | undefined;
31553
+ display_name: string;
31554
+ code?: (string | undefined) | null;
31555
+ card_number?: (string | undefined) | null;
31556
+ is_issued?: boolean | undefined;
31557
+ issued_at?: (string | undefined) | null;
31558
+ access_method: 'code' | 'card' | 'mobile_key';
31559
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
31560
+ external_type_display_name?: string | undefined;
31561
+ created_at: string;
31562
+ workspace_id: string;
31563
+ starts_at?: string | undefined;
31564
+ ends_at?: string | undefined;
31565
+ errors: Array<{
31566
+ error_code: string;
31567
+ message: string;
31568
+ }>;
31569
+ warnings: Array<{
31570
+ warning_code: string;
31571
+ message: string;
31572
+ }>;
31573
+ is_multi_phone_sync_credential?: boolean | undefined;
31574
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
31575
+ latest_desired_state_synced_with_provider_at?: string | undefined;
31576
+ visionline_metadata?: {
31577
+ card_function_type: 'guest' | 'staff';
31578
+ joiner_acs_credential_ids?: string[] | undefined;
31579
+ guest_acs_entrance_ids?: string[] | undefined;
31580
+ common_acs_entrance_ids?: string[] | undefined;
31581
+ is_valid?: boolean | undefined;
31582
+ auto_join?: boolean | undefined;
31583
+ card_id?: string | undefined;
31584
+ credential_id?: string | undefined;
31585
+ } | undefined;
31586
+ is_managed: true;
31587
+ } | {
31588
+ acs_credential_id: string;
31589
+ acs_user_id?: string | undefined;
31590
+ acs_credential_pool_id?: string | undefined;
31591
+ acs_system_id: string;
31592
+ parent_acs_credential_id?: string | undefined;
31593
+ display_name: string;
31594
+ code?: (string | undefined) | null;
31595
+ card_number?: (string | undefined) | null;
31596
+ is_issued?: boolean | undefined;
31597
+ issued_at?: (string | undefined) | null;
31598
+ access_method: 'code' | 'card' | 'mobile_key';
31599
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
31600
+ external_type_display_name?: string | undefined;
31601
+ created_at: string;
31602
+ workspace_id: string;
31603
+ starts_at?: string | undefined;
31604
+ ends_at?: string | undefined;
31605
+ errors: Array<{
31606
+ error_code: string;
31607
+ message: string;
31608
+ }>;
31609
+ warnings: Array<{
31610
+ warning_code: string;
31611
+ message: string;
31612
+ }>;
31613
+ is_multi_phone_sync_credential?: boolean | undefined;
31614
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
31615
+ latest_desired_state_synced_with_provider_at?: string | undefined;
31616
+ visionline_metadata?: {
31617
+ card_function_type: 'guest' | 'staff';
31618
+ joiner_acs_credential_ids?: string[] | undefined;
31619
+ guest_acs_entrance_ids?: string[] | undefined;
31620
+ common_acs_entrance_ids?: string[] | undefined;
31621
+ is_valid?: boolean | undefined;
31622
+ auto_join?: boolean | undefined;
31623
+ card_id?: string | undefined;
31624
+ credential_id?: string | undefined;
31625
+ } | undefined;
31626
+ is_managed: false;
31627
+ };
30835
31628
  } | {
30836
31629
  /** The ID of the action attempt. */
30837
31630
  action_attempt_id: string;
@@ -31701,7 +32494,87 @@ interface Routes {
31701
32494
  status: 'success';
31702
32495
  error: null;
31703
32496
  action_type: 'ENCODE_CARD';
31704
- result: {};
32497
+ result: {
32498
+ acs_credential_id: string;
32499
+ acs_user_id?: string | undefined;
32500
+ acs_credential_pool_id?: string | undefined;
32501
+ acs_system_id: string;
32502
+ parent_acs_credential_id?: string | undefined;
32503
+ display_name: string;
32504
+ code?: (string | undefined) | null;
32505
+ card_number?: (string | undefined) | null;
32506
+ is_issued?: boolean | undefined;
32507
+ issued_at?: (string | undefined) | null;
32508
+ access_method: 'code' | 'card' | 'mobile_key';
32509
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
32510
+ external_type_display_name?: string | undefined;
32511
+ created_at: string;
32512
+ workspace_id: string;
32513
+ starts_at?: string | undefined;
32514
+ ends_at?: string | undefined;
32515
+ errors: Array<{
32516
+ error_code: string;
32517
+ message: string;
32518
+ }>;
32519
+ warnings: Array<{
32520
+ warning_code: string;
32521
+ message: string;
32522
+ }>;
32523
+ is_multi_phone_sync_credential?: boolean | undefined;
32524
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
32525
+ latest_desired_state_synced_with_provider_at?: string | undefined;
32526
+ visionline_metadata?: {
32527
+ card_function_type: 'guest' | 'staff';
32528
+ joiner_acs_credential_ids?: string[] | undefined;
32529
+ guest_acs_entrance_ids?: string[] | undefined;
32530
+ common_acs_entrance_ids?: string[] | undefined;
32531
+ is_valid?: boolean | undefined;
32532
+ auto_join?: boolean | undefined;
32533
+ card_id?: string | undefined;
32534
+ credential_id?: string | undefined;
32535
+ } | undefined;
32536
+ is_managed: true;
32537
+ } | {
32538
+ acs_credential_id: string;
32539
+ acs_user_id?: string | undefined;
32540
+ acs_credential_pool_id?: string | undefined;
32541
+ acs_system_id: string;
32542
+ parent_acs_credential_id?: string | undefined;
32543
+ display_name: string;
32544
+ code?: (string | undefined) | null;
32545
+ card_number?: (string | undefined) | null;
32546
+ is_issued?: boolean | undefined;
32547
+ issued_at?: (string | undefined) | null;
32548
+ access_method: 'code' | 'card' | 'mobile_key';
32549
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
32550
+ external_type_display_name?: string | undefined;
32551
+ created_at: string;
32552
+ workspace_id: string;
32553
+ starts_at?: string | undefined;
32554
+ ends_at?: string | undefined;
32555
+ errors: Array<{
32556
+ error_code: string;
32557
+ message: string;
32558
+ }>;
32559
+ warnings: Array<{
32560
+ warning_code: string;
32561
+ message: string;
32562
+ }>;
32563
+ is_multi_phone_sync_credential?: boolean | undefined;
32564
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
32565
+ latest_desired_state_synced_with_provider_at?: string | undefined;
32566
+ visionline_metadata?: {
32567
+ card_function_type: 'guest' | 'staff';
32568
+ joiner_acs_credential_ids?: string[] | undefined;
32569
+ guest_acs_entrance_ids?: string[] | undefined;
32570
+ common_acs_entrance_ids?: string[] | undefined;
32571
+ is_valid?: boolean | undefined;
32572
+ auto_join?: boolean | undefined;
32573
+ card_id?: string | undefined;
32574
+ credential_id?: string | undefined;
32575
+ } | undefined;
32576
+ is_managed: false;
32577
+ };
31705
32578
  } | {
31706
32579
  /** The ID of the action attempt. */
31707
32580
  action_attempt_id: string;
@@ -32401,7 +33274,87 @@ interface Routes {
32401
33274
  status: 'success';
32402
33275
  error: null;
32403
33276
  action_type: 'ENCODE_CARD';
32404
- result: {};
33277
+ result: {
33278
+ acs_credential_id: string;
33279
+ acs_user_id?: string | undefined;
33280
+ acs_credential_pool_id?: string | undefined;
33281
+ acs_system_id: string;
33282
+ parent_acs_credential_id?: string | undefined;
33283
+ display_name: string;
33284
+ code?: (string | undefined) | null;
33285
+ card_number?: (string | undefined) | null;
33286
+ is_issued?: boolean | undefined;
33287
+ issued_at?: (string | undefined) | null;
33288
+ access_method: 'code' | 'card' | 'mobile_key';
33289
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
33290
+ external_type_display_name?: string | undefined;
33291
+ created_at: string;
33292
+ workspace_id: string;
33293
+ starts_at?: string | undefined;
33294
+ ends_at?: string | undefined;
33295
+ errors: Array<{
33296
+ error_code: string;
33297
+ message: string;
33298
+ }>;
33299
+ warnings: Array<{
33300
+ warning_code: string;
33301
+ message: string;
33302
+ }>;
33303
+ is_multi_phone_sync_credential?: boolean | undefined;
33304
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
33305
+ latest_desired_state_synced_with_provider_at?: string | undefined;
33306
+ visionline_metadata?: {
33307
+ card_function_type: 'guest' | 'staff';
33308
+ joiner_acs_credential_ids?: string[] | undefined;
33309
+ guest_acs_entrance_ids?: string[] | undefined;
33310
+ common_acs_entrance_ids?: string[] | undefined;
33311
+ is_valid?: boolean | undefined;
33312
+ auto_join?: boolean | undefined;
33313
+ card_id?: string | undefined;
33314
+ credential_id?: string | undefined;
33315
+ } | undefined;
33316
+ is_managed: true;
33317
+ } | {
33318
+ acs_credential_id: string;
33319
+ acs_user_id?: string | undefined;
33320
+ acs_credential_pool_id?: string | undefined;
33321
+ acs_system_id: string;
33322
+ parent_acs_credential_id?: string | undefined;
33323
+ display_name: string;
33324
+ code?: (string | undefined) | null;
33325
+ card_number?: (string | undefined) | null;
33326
+ is_issued?: boolean | undefined;
33327
+ issued_at?: (string | undefined) | null;
33328
+ access_method: 'code' | 'card' | 'mobile_key';
33329
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
33330
+ external_type_display_name?: string | undefined;
33331
+ created_at: string;
33332
+ workspace_id: string;
33333
+ starts_at?: string | undefined;
33334
+ ends_at?: string | undefined;
33335
+ errors: Array<{
33336
+ error_code: string;
33337
+ message: string;
33338
+ }>;
33339
+ warnings: Array<{
33340
+ warning_code: string;
33341
+ message: string;
33342
+ }>;
33343
+ is_multi_phone_sync_credential?: boolean | undefined;
33344
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
33345
+ latest_desired_state_synced_with_provider_at?: string | undefined;
33346
+ visionline_metadata?: {
33347
+ card_function_type: 'guest' | 'staff';
33348
+ joiner_acs_credential_ids?: string[] | undefined;
33349
+ guest_acs_entrance_ids?: string[] | undefined;
33350
+ common_acs_entrance_ids?: string[] | undefined;
33351
+ is_valid?: boolean | undefined;
33352
+ auto_join?: boolean | undefined;
33353
+ card_id?: string | undefined;
33354
+ credential_id?: string | undefined;
33355
+ } | undefined;
33356
+ is_managed: false;
33357
+ };
32405
33358
  } | {
32406
33359
  /** The ID of the action attempt. */
32407
33360
  action_attempt_id: string;
@@ -33644,10 +34597,8 @@ interface Routes {
33644
34597
  queryParams: {};
33645
34598
  jsonBody: {};
33646
34599
  commonParams: {
33647
- acs_system_id: string;
33648
- device_name: string;
33649
- } | {
33650
34600
  device_id: string;
34601
+ acs_credential_id: string;
33651
34602
  };
33652
34603
  formData: {};
33653
34604
  jsonResponse: {
@@ -33845,7 +34796,87 @@ interface Routes {
33845
34796
  status: 'success';
33846
34797
  error: null;
33847
34798
  action_type: 'ENCODE_CARD';
33848
- result: {};
34799
+ result: {
34800
+ acs_credential_id: string;
34801
+ acs_user_id?: string | undefined;
34802
+ acs_credential_pool_id?: string | undefined;
34803
+ acs_system_id: string;
34804
+ parent_acs_credential_id?: string | undefined;
34805
+ display_name: string;
34806
+ code?: (string | undefined) | null;
34807
+ card_number?: (string | undefined) | null;
34808
+ is_issued?: boolean | undefined;
34809
+ issued_at?: (string | undefined) | null;
34810
+ access_method: 'code' | 'card' | 'mobile_key';
34811
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
34812
+ external_type_display_name?: string | undefined;
34813
+ created_at: string;
34814
+ workspace_id: string;
34815
+ starts_at?: string | undefined;
34816
+ ends_at?: string | undefined;
34817
+ errors: Array<{
34818
+ error_code: string;
34819
+ message: string;
34820
+ }>;
34821
+ warnings: Array<{
34822
+ warning_code: string;
34823
+ message: string;
34824
+ }>;
34825
+ is_multi_phone_sync_credential?: boolean | undefined;
34826
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
34827
+ latest_desired_state_synced_with_provider_at?: string | undefined;
34828
+ visionline_metadata?: {
34829
+ card_function_type: 'guest' | 'staff';
34830
+ joiner_acs_credential_ids?: string[] | undefined;
34831
+ guest_acs_entrance_ids?: string[] | undefined;
34832
+ common_acs_entrance_ids?: string[] | undefined;
34833
+ is_valid?: boolean | undefined;
34834
+ auto_join?: boolean | undefined;
34835
+ card_id?: string | undefined;
34836
+ credential_id?: string | undefined;
34837
+ } | undefined;
34838
+ is_managed: true;
34839
+ } | {
34840
+ acs_credential_id: string;
34841
+ acs_user_id?: string | undefined;
34842
+ acs_credential_pool_id?: string | undefined;
34843
+ acs_system_id: string;
34844
+ parent_acs_credential_id?: string | undefined;
34845
+ display_name: string;
34846
+ code?: (string | undefined) | null;
34847
+ card_number?: (string | undefined) | null;
34848
+ is_issued?: boolean | undefined;
34849
+ issued_at?: (string | undefined) | null;
34850
+ access_method: 'code' | 'card' | 'mobile_key';
34851
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
34852
+ external_type_display_name?: string | undefined;
34853
+ created_at: string;
34854
+ workspace_id: string;
34855
+ starts_at?: string | undefined;
34856
+ ends_at?: string | undefined;
34857
+ errors: Array<{
34858
+ error_code: string;
34859
+ message: string;
34860
+ }>;
34861
+ warnings: Array<{
34862
+ warning_code: string;
34863
+ message: string;
34864
+ }>;
34865
+ is_multi_phone_sync_credential?: boolean | undefined;
34866
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
34867
+ latest_desired_state_synced_with_provider_at?: string | undefined;
34868
+ visionline_metadata?: {
34869
+ card_function_type: 'guest' | 'staff';
34870
+ joiner_acs_credential_ids?: string[] | undefined;
34871
+ guest_acs_entrance_ids?: string[] | undefined;
34872
+ common_acs_entrance_ids?: string[] | undefined;
34873
+ is_valid?: boolean | undefined;
34874
+ auto_join?: boolean | undefined;
34875
+ card_id?: string | undefined;
34876
+ credential_id?: string | undefined;
34877
+ } | undefined;
34878
+ is_managed: false;
34879
+ };
33849
34880
  } | {
33850
34881
  /** The ID of the action attempt. */
33851
34882
  action_attempt_id: string;
@@ -34669,9 +35700,6 @@ interface Routes {
34669
35700
  queryParams: {};
34670
35701
  jsonBody: {};
34671
35702
  commonParams: {
34672
- acs_system_id: string;
34673
- device_name: string;
34674
- } | {
34675
35703
  acs_system_id: string;
34676
35704
  device_id: string;
34677
35705
  };
@@ -34871,7 +35899,87 @@ interface Routes {
34871
35899
  status: 'success';
34872
35900
  error: null;
34873
35901
  action_type: 'ENCODE_CARD';
34874
- result: {};
35902
+ result: {
35903
+ acs_credential_id: string;
35904
+ acs_user_id?: string | undefined;
35905
+ acs_credential_pool_id?: string | undefined;
35906
+ acs_system_id: string;
35907
+ parent_acs_credential_id?: string | undefined;
35908
+ display_name: string;
35909
+ code?: (string | undefined) | null;
35910
+ card_number?: (string | undefined) | null;
35911
+ is_issued?: boolean | undefined;
35912
+ issued_at?: (string | undefined) | null;
35913
+ access_method: 'code' | 'card' | 'mobile_key';
35914
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
35915
+ external_type_display_name?: string | undefined;
35916
+ created_at: string;
35917
+ workspace_id: string;
35918
+ starts_at?: string | undefined;
35919
+ ends_at?: string | undefined;
35920
+ errors: Array<{
35921
+ error_code: string;
35922
+ message: string;
35923
+ }>;
35924
+ warnings: Array<{
35925
+ warning_code: string;
35926
+ message: string;
35927
+ }>;
35928
+ is_multi_phone_sync_credential?: boolean | undefined;
35929
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
35930
+ latest_desired_state_synced_with_provider_at?: string | undefined;
35931
+ visionline_metadata?: {
35932
+ card_function_type: 'guest' | 'staff';
35933
+ joiner_acs_credential_ids?: string[] | undefined;
35934
+ guest_acs_entrance_ids?: string[] | undefined;
35935
+ common_acs_entrance_ids?: string[] | undefined;
35936
+ is_valid?: boolean | undefined;
35937
+ auto_join?: boolean | undefined;
35938
+ card_id?: string | undefined;
35939
+ credential_id?: string | undefined;
35940
+ } | undefined;
35941
+ is_managed: true;
35942
+ } | {
35943
+ acs_credential_id: string;
35944
+ acs_user_id?: string | undefined;
35945
+ acs_credential_pool_id?: string | undefined;
35946
+ acs_system_id: string;
35947
+ parent_acs_credential_id?: string | undefined;
35948
+ display_name: string;
35949
+ code?: (string | undefined) | null;
35950
+ card_number?: (string | undefined) | null;
35951
+ is_issued?: boolean | undefined;
35952
+ issued_at?: (string | undefined) | null;
35953
+ access_method: 'code' | 'card' | 'mobile_key';
35954
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
35955
+ external_type_display_name?: string | undefined;
35956
+ created_at: string;
35957
+ workspace_id: string;
35958
+ starts_at?: string | undefined;
35959
+ ends_at?: string | undefined;
35960
+ errors: Array<{
35961
+ error_code: string;
35962
+ message: string;
35963
+ }>;
35964
+ warnings: Array<{
35965
+ warning_code: string;
35966
+ message: string;
35967
+ }>;
35968
+ is_multi_phone_sync_credential?: boolean | undefined;
35969
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
35970
+ latest_desired_state_synced_with_provider_at?: string | undefined;
35971
+ visionline_metadata?: {
35972
+ card_function_type: 'guest' | 'staff';
35973
+ joiner_acs_credential_ids?: string[] | undefined;
35974
+ guest_acs_entrance_ids?: string[] | undefined;
35975
+ common_acs_entrance_ids?: string[] | undefined;
35976
+ is_valid?: boolean | undefined;
35977
+ auto_join?: boolean | undefined;
35978
+ card_id?: string | undefined;
35979
+ credential_id?: string | undefined;
35980
+ } | undefined;
35981
+ is_managed: false;
35982
+ };
34875
35983
  } | {
34876
35984
  /** The ID of the action attempt. */
34877
35985
  action_attempt_id: string;
@@ -36603,7 +37711,87 @@ interface Routes {
36603
37711
  status: 'success';
36604
37712
  error: null;
36605
37713
  action_type: 'ENCODE_CARD';
36606
- result: {};
37714
+ result: {
37715
+ acs_credential_id: string;
37716
+ acs_user_id?: string | undefined;
37717
+ acs_credential_pool_id?: string | undefined;
37718
+ acs_system_id: string;
37719
+ parent_acs_credential_id?: string | undefined;
37720
+ display_name: string;
37721
+ code?: (string | undefined) | null;
37722
+ card_number?: (string | undefined) | null;
37723
+ is_issued?: boolean | undefined;
37724
+ issued_at?: (string | undefined) | null;
37725
+ access_method: 'code' | 'card' | 'mobile_key';
37726
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
37727
+ external_type_display_name?: string | undefined;
37728
+ created_at: string;
37729
+ workspace_id: string;
37730
+ starts_at?: string | undefined;
37731
+ ends_at?: string | undefined;
37732
+ errors: Array<{
37733
+ error_code: string;
37734
+ message: string;
37735
+ }>;
37736
+ warnings: Array<{
37737
+ warning_code: string;
37738
+ message: string;
37739
+ }>;
37740
+ is_multi_phone_sync_credential?: boolean | undefined;
37741
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
37742
+ latest_desired_state_synced_with_provider_at?: string | undefined;
37743
+ visionline_metadata?: {
37744
+ card_function_type: 'guest' | 'staff';
37745
+ joiner_acs_credential_ids?: string[] | undefined;
37746
+ guest_acs_entrance_ids?: string[] | undefined;
37747
+ common_acs_entrance_ids?: string[] | undefined;
37748
+ is_valid?: boolean | undefined;
37749
+ auto_join?: boolean | undefined;
37750
+ card_id?: string | undefined;
37751
+ credential_id?: string | undefined;
37752
+ } | undefined;
37753
+ is_managed: true;
37754
+ } | {
37755
+ acs_credential_id: string;
37756
+ acs_user_id?: string | undefined;
37757
+ acs_credential_pool_id?: string | undefined;
37758
+ acs_system_id: string;
37759
+ parent_acs_credential_id?: string | undefined;
37760
+ display_name: string;
37761
+ code?: (string | undefined) | null;
37762
+ card_number?: (string | undefined) | null;
37763
+ is_issued?: boolean | undefined;
37764
+ issued_at?: (string | undefined) | null;
37765
+ access_method: 'code' | 'card' | 'mobile_key';
37766
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
37767
+ external_type_display_name?: string | undefined;
37768
+ created_at: string;
37769
+ workspace_id: string;
37770
+ starts_at?: string | undefined;
37771
+ ends_at?: string | undefined;
37772
+ errors: Array<{
37773
+ error_code: string;
37774
+ message: string;
37775
+ }>;
37776
+ warnings: Array<{
37777
+ warning_code: string;
37778
+ message: string;
37779
+ }>;
37780
+ is_multi_phone_sync_credential?: boolean | undefined;
37781
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
37782
+ latest_desired_state_synced_with_provider_at?: string | undefined;
37783
+ visionline_metadata?: {
37784
+ card_function_type: 'guest' | 'staff';
37785
+ joiner_acs_credential_ids?: string[] | undefined;
37786
+ guest_acs_entrance_ids?: string[] | undefined;
37787
+ common_acs_entrance_ids?: string[] | undefined;
37788
+ is_valid?: boolean | undefined;
37789
+ auto_join?: boolean | undefined;
37790
+ card_id?: string | undefined;
37791
+ credential_id?: string | undefined;
37792
+ } | undefined;
37793
+ is_managed: false;
37794
+ };
36607
37795
  } | {
36608
37796
  /** The ID of the action attempt. */
36609
37797
  action_attempt_id: string;
@@ -37165,7 +38353,87 @@ interface Routes {
37165
38353
  status: 'success';
37166
38354
  error: null;
37167
38355
  action_type: 'ENCODE_CARD';
37168
- result: {};
38356
+ result: {
38357
+ acs_credential_id: string;
38358
+ acs_user_id?: string | undefined;
38359
+ acs_credential_pool_id?: string | undefined;
38360
+ acs_system_id: string;
38361
+ parent_acs_credential_id?: string | undefined;
38362
+ display_name: string;
38363
+ code?: (string | undefined) | null;
38364
+ card_number?: (string | undefined) | null;
38365
+ is_issued?: boolean | undefined;
38366
+ issued_at?: (string | undefined) | null;
38367
+ access_method: 'code' | 'card' | 'mobile_key';
38368
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
38369
+ external_type_display_name?: string | undefined;
38370
+ created_at: string;
38371
+ workspace_id: string;
38372
+ starts_at?: string | undefined;
38373
+ ends_at?: string | undefined;
38374
+ errors: Array<{
38375
+ error_code: string;
38376
+ message: string;
38377
+ }>;
38378
+ warnings: Array<{
38379
+ warning_code: string;
38380
+ message: string;
38381
+ }>;
38382
+ is_multi_phone_sync_credential?: boolean | undefined;
38383
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
38384
+ latest_desired_state_synced_with_provider_at?: string | undefined;
38385
+ visionline_metadata?: {
38386
+ card_function_type: 'guest' | 'staff';
38387
+ joiner_acs_credential_ids?: string[] | undefined;
38388
+ guest_acs_entrance_ids?: string[] | undefined;
38389
+ common_acs_entrance_ids?: string[] | undefined;
38390
+ is_valid?: boolean | undefined;
38391
+ auto_join?: boolean | undefined;
38392
+ card_id?: string | undefined;
38393
+ credential_id?: string | undefined;
38394
+ } | undefined;
38395
+ is_managed: true;
38396
+ } | {
38397
+ acs_credential_id: string;
38398
+ acs_user_id?: string | undefined;
38399
+ acs_credential_pool_id?: string | undefined;
38400
+ acs_system_id: string;
38401
+ parent_acs_credential_id?: string | undefined;
38402
+ display_name: string;
38403
+ code?: (string | undefined) | null;
38404
+ card_number?: (string | undefined) | null;
38405
+ is_issued?: boolean | undefined;
38406
+ issued_at?: (string | undefined) | null;
38407
+ access_method: 'code' | 'card' | 'mobile_key';
38408
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
38409
+ external_type_display_name?: string | undefined;
38410
+ created_at: string;
38411
+ workspace_id: string;
38412
+ starts_at?: string | undefined;
38413
+ ends_at?: string | undefined;
38414
+ errors: Array<{
38415
+ error_code: string;
38416
+ message: string;
38417
+ }>;
38418
+ warnings: Array<{
38419
+ warning_code: string;
38420
+ message: string;
38421
+ }>;
38422
+ is_multi_phone_sync_credential?: boolean | undefined;
38423
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
38424
+ latest_desired_state_synced_with_provider_at?: string | undefined;
38425
+ visionline_metadata?: {
38426
+ card_function_type: 'guest' | 'staff';
38427
+ joiner_acs_credential_ids?: string[] | undefined;
38428
+ guest_acs_entrance_ids?: string[] | undefined;
38429
+ common_acs_entrance_ids?: string[] | undefined;
38430
+ is_valid?: boolean | undefined;
38431
+ auto_join?: boolean | undefined;
38432
+ card_id?: string | undefined;
38433
+ credential_id?: string | undefined;
38434
+ } | undefined;
38435
+ is_managed: false;
38436
+ };
37169
38437
  } | {
37170
38438
  /** The ID of the action attempt. */
37171
38439
  action_attempt_id: string;
@@ -41281,7 +42549,87 @@ interface Routes {
41281
42549
  status: 'success';
41282
42550
  error: null;
41283
42551
  action_type: 'ENCODE_CARD';
41284
- result: {};
42552
+ result: {
42553
+ acs_credential_id: string;
42554
+ acs_user_id?: string | undefined;
42555
+ acs_credential_pool_id?: string | undefined;
42556
+ acs_system_id: string;
42557
+ parent_acs_credential_id?: string | undefined;
42558
+ display_name: string;
42559
+ code?: (string | undefined) | null;
42560
+ card_number?: (string | undefined) | null;
42561
+ is_issued?: boolean | undefined;
42562
+ issued_at?: (string | undefined) | null;
42563
+ access_method: 'code' | 'card' | 'mobile_key';
42564
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
42565
+ external_type_display_name?: string | undefined;
42566
+ created_at: string;
42567
+ workspace_id: string;
42568
+ starts_at?: string | undefined;
42569
+ ends_at?: string | undefined;
42570
+ errors: Array<{
42571
+ error_code: string;
42572
+ message: string;
42573
+ }>;
42574
+ warnings: Array<{
42575
+ warning_code: string;
42576
+ message: string;
42577
+ }>;
42578
+ is_multi_phone_sync_credential?: boolean | undefined;
42579
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
42580
+ latest_desired_state_synced_with_provider_at?: string | undefined;
42581
+ visionline_metadata?: {
42582
+ card_function_type: 'guest' | 'staff';
42583
+ joiner_acs_credential_ids?: string[] | undefined;
42584
+ guest_acs_entrance_ids?: string[] | undefined;
42585
+ common_acs_entrance_ids?: string[] | undefined;
42586
+ is_valid?: boolean | undefined;
42587
+ auto_join?: boolean | undefined;
42588
+ card_id?: string | undefined;
42589
+ credential_id?: string | undefined;
42590
+ } | undefined;
42591
+ is_managed: true;
42592
+ } | {
42593
+ acs_credential_id: string;
42594
+ acs_user_id?: string | undefined;
42595
+ acs_credential_pool_id?: string | undefined;
42596
+ acs_system_id: string;
42597
+ parent_acs_credential_id?: string | undefined;
42598
+ display_name: string;
42599
+ code?: (string | undefined) | null;
42600
+ card_number?: (string | undefined) | null;
42601
+ is_issued?: boolean | undefined;
42602
+ issued_at?: (string | undefined) | null;
42603
+ access_method: 'code' | 'card' | 'mobile_key';
42604
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
42605
+ external_type_display_name?: string | undefined;
42606
+ created_at: string;
42607
+ workspace_id: string;
42608
+ starts_at?: string | undefined;
42609
+ ends_at?: string | undefined;
42610
+ errors: Array<{
42611
+ error_code: string;
42612
+ message: string;
42613
+ }>;
42614
+ warnings: Array<{
42615
+ warning_code: string;
42616
+ message: string;
42617
+ }>;
42618
+ is_multi_phone_sync_credential?: boolean | undefined;
42619
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
42620
+ latest_desired_state_synced_with_provider_at?: string | undefined;
42621
+ visionline_metadata?: {
42622
+ card_function_type: 'guest' | 'staff';
42623
+ joiner_acs_credential_ids?: string[] | undefined;
42624
+ guest_acs_entrance_ids?: string[] | undefined;
42625
+ common_acs_entrance_ids?: string[] | undefined;
42626
+ is_valid?: boolean | undefined;
42627
+ auto_join?: boolean | undefined;
42628
+ card_id?: string | undefined;
42629
+ credential_id?: string | undefined;
42630
+ } | undefined;
42631
+ is_managed: false;
42632
+ };
41285
42633
  } | {
41286
42634
  /** The ID of the action attempt. */
41287
42635
  action_attempt_id: string;
@@ -41844,7 +43192,87 @@ interface Routes {
41844
43192
  status: 'success';
41845
43193
  error: null;
41846
43194
  action_type: 'ENCODE_CARD';
41847
- result: {};
43195
+ result: {
43196
+ acs_credential_id: string;
43197
+ acs_user_id?: string | undefined;
43198
+ acs_credential_pool_id?: string | undefined;
43199
+ acs_system_id: string;
43200
+ parent_acs_credential_id?: string | undefined;
43201
+ display_name: string;
43202
+ code?: (string | undefined) | null;
43203
+ card_number?: (string | undefined) | null;
43204
+ is_issued?: boolean | undefined;
43205
+ issued_at?: (string | undefined) | null;
43206
+ access_method: 'code' | 'card' | 'mobile_key';
43207
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
43208
+ external_type_display_name?: string | undefined;
43209
+ created_at: string;
43210
+ workspace_id: string;
43211
+ starts_at?: string | undefined;
43212
+ ends_at?: string | undefined;
43213
+ errors: Array<{
43214
+ error_code: string;
43215
+ message: string;
43216
+ }>;
43217
+ warnings: Array<{
43218
+ warning_code: string;
43219
+ message: string;
43220
+ }>;
43221
+ is_multi_phone_sync_credential?: boolean | undefined;
43222
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
43223
+ latest_desired_state_synced_with_provider_at?: string | undefined;
43224
+ visionline_metadata?: {
43225
+ card_function_type: 'guest' | 'staff';
43226
+ joiner_acs_credential_ids?: string[] | undefined;
43227
+ guest_acs_entrance_ids?: string[] | undefined;
43228
+ common_acs_entrance_ids?: string[] | undefined;
43229
+ is_valid?: boolean | undefined;
43230
+ auto_join?: boolean | undefined;
43231
+ card_id?: string | undefined;
43232
+ credential_id?: string | undefined;
43233
+ } | undefined;
43234
+ is_managed: true;
43235
+ } | {
43236
+ acs_credential_id: string;
43237
+ acs_user_id?: string | undefined;
43238
+ acs_credential_pool_id?: string | undefined;
43239
+ acs_system_id: string;
43240
+ parent_acs_credential_id?: string | undefined;
43241
+ display_name: string;
43242
+ code?: (string | undefined) | null;
43243
+ card_number?: (string | undefined) | null;
43244
+ is_issued?: boolean | undefined;
43245
+ issued_at?: (string | undefined) | null;
43246
+ access_method: 'code' | 'card' | 'mobile_key';
43247
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
43248
+ external_type_display_name?: string | undefined;
43249
+ created_at: string;
43250
+ workspace_id: string;
43251
+ starts_at?: string | undefined;
43252
+ ends_at?: string | undefined;
43253
+ errors: Array<{
43254
+ error_code: string;
43255
+ message: string;
43256
+ }>;
43257
+ warnings: Array<{
43258
+ warning_code: string;
43259
+ message: string;
43260
+ }>;
43261
+ is_multi_phone_sync_credential?: boolean | undefined;
43262
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
43263
+ latest_desired_state_synced_with_provider_at?: string | undefined;
43264
+ visionline_metadata?: {
43265
+ card_function_type: 'guest' | 'staff';
43266
+ joiner_acs_credential_ids?: string[] | undefined;
43267
+ guest_acs_entrance_ids?: string[] | undefined;
43268
+ common_acs_entrance_ids?: string[] | undefined;
43269
+ is_valid?: boolean | undefined;
43270
+ auto_join?: boolean | undefined;
43271
+ card_id?: string | undefined;
43272
+ credential_id?: string | undefined;
43273
+ } | undefined;
43274
+ is_managed: false;
43275
+ };
41848
43276
  } | {
41849
43277
  /** The ID of the action attempt. */
41850
43278
  action_attempt_id: string;
@@ -43351,7 +44779,87 @@ interface Routes {
43351
44779
  status: 'success';
43352
44780
  error: null;
43353
44781
  action_type: 'ENCODE_CARD';
43354
- result: {};
44782
+ result: {
44783
+ acs_credential_id: string;
44784
+ acs_user_id?: string | undefined;
44785
+ acs_credential_pool_id?: string | undefined;
44786
+ acs_system_id: string;
44787
+ parent_acs_credential_id?: string | undefined;
44788
+ display_name: string;
44789
+ code?: (string | undefined) | null;
44790
+ card_number?: (string | undefined) | null;
44791
+ is_issued?: boolean | undefined;
44792
+ issued_at?: (string | undefined) | null;
44793
+ access_method: 'code' | 'card' | 'mobile_key';
44794
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
44795
+ external_type_display_name?: string | undefined;
44796
+ created_at: string;
44797
+ workspace_id: string;
44798
+ starts_at?: string | undefined;
44799
+ ends_at?: string | undefined;
44800
+ errors: Array<{
44801
+ error_code: string;
44802
+ message: string;
44803
+ }>;
44804
+ warnings: Array<{
44805
+ warning_code: string;
44806
+ message: string;
44807
+ }>;
44808
+ is_multi_phone_sync_credential?: boolean | undefined;
44809
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
44810
+ latest_desired_state_synced_with_provider_at?: string | undefined;
44811
+ visionline_metadata?: {
44812
+ card_function_type: 'guest' | 'staff';
44813
+ joiner_acs_credential_ids?: string[] | undefined;
44814
+ guest_acs_entrance_ids?: string[] | undefined;
44815
+ common_acs_entrance_ids?: string[] | undefined;
44816
+ is_valid?: boolean | undefined;
44817
+ auto_join?: boolean | undefined;
44818
+ card_id?: string | undefined;
44819
+ credential_id?: string | undefined;
44820
+ } | undefined;
44821
+ is_managed: true;
44822
+ } | {
44823
+ acs_credential_id: string;
44824
+ acs_user_id?: string | undefined;
44825
+ acs_credential_pool_id?: string | undefined;
44826
+ acs_system_id: string;
44827
+ parent_acs_credential_id?: string | undefined;
44828
+ display_name: string;
44829
+ code?: (string | undefined) | null;
44830
+ card_number?: (string | undefined) | null;
44831
+ is_issued?: boolean | undefined;
44832
+ issued_at?: (string | undefined) | null;
44833
+ access_method: 'code' | 'card' | 'mobile_key';
44834
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
44835
+ external_type_display_name?: string | undefined;
44836
+ created_at: string;
44837
+ workspace_id: string;
44838
+ starts_at?: string | undefined;
44839
+ ends_at?: string | undefined;
44840
+ errors: Array<{
44841
+ error_code: string;
44842
+ message: string;
44843
+ }>;
44844
+ warnings: Array<{
44845
+ warning_code: string;
44846
+ message: string;
44847
+ }>;
44848
+ is_multi_phone_sync_credential?: boolean | undefined;
44849
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
44850
+ latest_desired_state_synced_with_provider_at?: string | undefined;
44851
+ visionline_metadata?: {
44852
+ card_function_type: 'guest' | 'staff';
44853
+ joiner_acs_credential_ids?: string[] | undefined;
44854
+ guest_acs_entrance_ids?: string[] | undefined;
44855
+ common_acs_entrance_ids?: string[] | undefined;
44856
+ is_valid?: boolean | undefined;
44857
+ auto_join?: boolean | undefined;
44858
+ card_id?: string | undefined;
44859
+ credential_id?: string | undefined;
44860
+ } | undefined;
44861
+ is_managed: false;
44862
+ };
43355
44863
  } | {
43356
44864
  /** The ID of the action attempt. */
43357
44865
  action_attempt_id: string;
@@ -43924,7 +45432,87 @@ interface Routes {
43924
45432
  status: 'success';
43925
45433
  error: null;
43926
45434
  action_type: 'ENCODE_CARD';
43927
- result: {};
45435
+ result: {
45436
+ acs_credential_id: string;
45437
+ acs_user_id?: string | undefined;
45438
+ acs_credential_pool_id?: string | undefined;
45439
+ acs_system_id: string;
45440
+ parent_acs_credential_id?: string | undefined;
45441
+ display_name: string;
45442
+ code?: (string | undefined) | null;
45443
+ card_number?: (string | undefined) | null;
45444
+ is_issued?: boolean | undefined;
45445
+ issued_at?: (string | undefined) | null;
45446
+ access_method: 'code' | 'card' | 'mobile_key';
45447
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
45448
+ external_type_display_name?: string | undefined;
45449
+ created_at: string;
45450
+ workspace_id: string;
45451
+ starts_at?: string | undefined;
45452
+ ends_at?: string | undefined;
45453
+ errors: Array<{
45454
+ error_code: string;
45455
+ message: string;
45456
+ }>;
45457
+ warnings: Array<{
45458
+ warning_code: string;
45459
+ message: string;
45460
+ }>;
45461
+ is_multi_phone_sync_credential?: boolean | undefined;
45462
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
45463
+ latest_desired_state_synced_with_provider_at?: string | undefined;
45464
+ visionline_metadata?: {
45465
+ card_function_type: 'guest' | 'staff';
45466
+ joiner_acs_credential_ids?: string[] | undefined;
45467
+ guest_acs_entrance_ids?: string[] | undefined;
45468
+ common_acs_entrance_ids?: string[] | undefined;
45469
+ is_valid?: boolean | undefined;
45470
+ auto_join?: boolean | undefined;
45471
+ card_id?: string | undefined;
45472
+ credential_id?: string | undefined;
45473
+ } | undefined;
45474
+ is_managed: true;
45475
+ } | {
45476
+ acs_credential_id: string;
45477
+ acs_user_id?: string | undefined;
45478
+ acs_credential_pool_id?: string | undefined;
45479
+ acs_system_id: string;
45480
+ parent_acs_credential_id?: string | undefined;
45481
+ display_name: string;
45482
+ code?: (string | undefined) | null;
45483
+ card_number?: (string | undefined) | null;
45484
+ is_issued?: boolean | undefined;
45485
+ issued_at?: (string | undefined) | null;
45486
+ access_method: 'code' | 'card' | 'mobile_key';
45487
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
45488
+ external_type_display_name?: string | undefined;
45489
+ created_at: string;
45490
+ workspace_id: string;
45491
+ starts_at?: string | undefined;
45492
+ ends_at?: string | undefined;
45493
+ errors: Array<{
45494
+ error_code: string;
45495
+ message: string;
45496
+ }>;
45497
+ warnings: Array<{
45498
+ warning_code: string;
45499
+ message: string;
45500
+ }>;
45501
+ is_multi_phone_sync_credential?: boolean | undefined;
45502
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
45503
+ latest_desired_state_synced_with_provider_at?: string | undefined;
45504
+ visionline_metadata?: {
45505
+ card_function_type: 'guest' | 'staff';
45506
+ joiner_acs_credential_ids?: string[] | undefined;
45507
+ guest_acs_entrance_ids?: string[] | undefined;
45508
+ common_acs_entrance_ids?: string[] | undefined;
45509
+ is_valid?: boolean | undefined;
45510
+ auto_join?: boolean | undefined;
45511
+ card_id?: string | undefined;
45512
+ credential_id?: string | undefined;
45513
+ } | undefined;
45514
+ is_managed: false;
45515
+ };
43928
45516
  } | {
43929
45517
  /** The ID of the action attempt. */
43930
45518
  action_attempt_id: string;
@@ -44536,7 +46124,87 @@ interface Routes {
44536
46124
  status: 'success';
44537
46125
  error: null;
44538
46126
  action_type: 'ENCODE_CARD';
44539
- result: {};
46127
+ result: {
46128
+ acs_credential_id: string;
46129
+ acs_user_id?: string | undefined;
46130
+ acs_credential_pool_id?: string | undefined;
46131
+ acs_system_id: string;
46132
+ parent_acs_credential_id?: string | undefined;
46133
+ display_name: string;
46134
+ code?: (string | undefined) | null;
46135
+ card_number?: (string | undefined) | null;
46136
+ is_issued?: boolean | undefined;
46137
+ issued_at?: (string | undefined) | null;
46138
+ access_method: 'code' | 'card' | 'mobile_key';
46139
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
46140
+ external_type_display_name?: string | undefined;
46141
+ created_at: string;
46142
+ workspace_id: string;
46143
+ starts_at?: string | undefined;
46144
+ ends_at?: string | undefined;
46145
+ errors: Array<{
46146
+ error_code: string;
46147
+ message: string;
46148
+ }>;
46149
+ warnings: Array<{
46150
+ warning_code: string;
46151
+ message: string;
46152
+ }>;
46153
+ is_multi_phone_sync_credential?: boolean | undefined;
46154
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
46155
+ latest_desired_state_synced_with_provider_at?: string | undefined;
46156
+ visionline_metadata?: {
46157
+ card_function_type: 'guest' | 'staff';
46158
+ joiner_acs_credential_ids?: string[] | undefined;
46159
+ guest_acs_entrance_ids?: string[] | undefined;
46160
+ common_acs_entrance_ids?: string[] | undefined;
46161
+ is_valid?: boolean | undefined;
46162
+ auto_join?: boolean | undefined;
46163
+ card_id?: string | undefined;
46164
+ credential_id?: string | undefined;
46165
+ } | undefined;
46166
+ is_managed: true;
46167
+ } | {
46168
+ acs_credential_id: string;
46169
+ acs_user_id?: string | undefined;
46170
+ acs_credential_pool_id?: string | undefined;
46171
+ acs_system_id: string;
46172
+ parent_acs_credential_id?: string | undefined;
46173
+ display_name: string;
46174
+ code?: (string | undefined) | null;
46175
+ card_number?: (string | undefined) | null;
46176
+ is_issued?: boolean | undefined;
46177
+ issued_at?: (string | undefined) | null;
46178
+ access_method: 'code' | 'card' | 'mobile_key';
46179
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
46180
+ external_type_display_name?: string | undefined;
46181
+ created_at: string;
46182
+ workspace_id: string;
46183
+ starts_at?: string | undefined;
46184
+ ends_at?: string | undefined;
46185
+ errors: Array<{
46186
+ error_code: string;
46187
+ message: string;
46188
+ }>;
46189
+ warnings: Array<{
46190
+ warning_code: string;
46191
+ message: string;
46192
+ }>;
46193
+ is_multi_phone_sync_credential?: boolean | undefined;
46194
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
46195
+ latest_desired_state_synced_with_provider_at?: string | undefined;
46196
+ visionline_metadata?: {
46197
+ card_function_type: 'guest' | 'staff';
46198
+ joiner_acs_credential_ids?: string[] | undefined;
46199
+ guest_acs_entrance_ids?: string[] | undefined;
46200
+ common_acs_entrance_ids?: string[] | undefined;
46201
+ is_valid?: boolean | undefined;
46202
+ auto_join?: boolean | undefined;
46203
+ card_id?: string | undefined;
46204
+ credential_id?: string | undefined;
46205
+ } | undefined;
46206
+ is_managed: false;
46207
+ };
44540
46208
  } | {
44541
46209
  /** The ID of the action attempt. */
44542
46210
  action_attempt_id: string;
@@ -45281,7 +46949,87 @@ interface Routes {
45281
46949
  status: 'success';
45282
46950
  error: null;
45283
46951
  action_type: 'ENCODE_CARD';
45284
- result: {};
46952
+ result: {
46953
+ acs_credential_id: string;
46954
+ acs_user_id?: string | undefined;
46955
+ acs_credential_pool_id?: string | undefined;
46956
+ acs_system_id: string;
46957
+ parent_acs_credential_id?: string | undefined;
46958
+ display_name: string;
46959
+ code?: (string | undefined) | null;
46960
+ card_number?: (string | undefined) | null;
46961
+ is_issued?: boolean | undefined;
46962
+ issued_at?: (string | undefined) | null;
46963
+ access_method: 'code' | 'card' | 'mobile_key';
46964
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
46965
+ external_type_display_name?: string | undefined;
46966
+ created_at: string;
46967
+ workspace_id: string;
46968
+ starts_at?: string | undefined;
46969
+ ends_at?: string | undefined;
46970
+ errors: Array<{
46971
+ error_code: string;
46972
+ message: string;
46973
+ }>;
46974
+ warnings: Array<{
46975
+ warning_code: string;
46976
+ message: string;
46977
+ }>;
46978
+ is_multi_phone_sync_credential?: boolean | undefined;
46979
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
46980
+ latest_desired_state_synced_with_provider_at?: string | undefined;
46981
+ visionline_metadata?: {
46982
+ card_function_type: 'guest' | 'staff';
46983
+ joiner_acs_credential_ids?: string[] | undefined;
46984
+ guest_acs_entrance_ids?: string[] | undefined;
46985
+ common_acs_entrance_ids?: string[] | undefined;
46986
+ is_valid?: boolean | undefined;
46987
+ auto_join?: boolean | undefined;
46988
+ card_id?: string | undefined;
46989
+ credential_id?: string | undefined;
46990
+ } | undefined;
46991
+ is_managed: true;
46992
+ } | {
46993
+ acs_credential_id: string;
46994
+ acs_user_id?: string | undefined;
46995
+ acs_credential_pool_id?: string | undefined;
46996
+ acs_system_id: string;
46997
+ parent_acs_credential_id?: string | undefined;
46998
+ display_name: string;
46999
+ code?: (string | undefined) | null;
47000
+ card_number?: (string | undefined) | null;
47001
+ is_issued?: boolean | undefined;
47002
+ issued_at?: (string | undefined) | null;
47003
+ access_method: 'code' | 'card' | 'mobile_key';
47004
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
47005
+ external_type_display_name?: string | undefined;
47006
+ created_at: string;
47007
+ workspace_id: string;
47008
+ starts_at?: string | undefined;
47009
+ ends_at?: string | undefined;
47010
+ errors: Array<{
47011
+ error_code: string;
47012
+ message: string;
47013
+ }>;
47014
+ warnings: Array<{
47015
+ warning_code: string;
47016
+ message: string;
47017
+ }>;
47018
+ is_multi_phone_sync_credential?: boolean | undefined;
47019
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
47020
+ latest_desired_state_synced_with_provider_at?: string | undefined;
47021
+ visionline_metadata?: {
47022
+ card_function_type: 'guest' | 'staff';
47023
+ joiner_acs_credential_ids?: string[] | undefined;
47024
+ guest_acs_entrance_ids?: string[] | undefined;
47025
+ common_acs_entrance_ids?: string[] | undefined;
47026
+ is_valid?: boolean | undefined;
47027
+ auto_join?: boolean | undefined;
47028
+ card_id?: string | undefined;
47029
+ credential_id?: string | undefined;
47030
+ } | undefined;
47031
+ is_managed: false;
47032
+ };
45285
47033
  } | {
45286
47034
  /** The ID of the action attempt. */
45287
47035
  action_attempt_id: string;
@@ -45846,7 +47594,87 @@ interface Routes {
45846
47594
  status: 'success';
45847
47595
  error: null;
45848
47596
  action_type: 'ENCODE_CARD';
45849
- result: {};
47597
+ result: {
47598
+ acs_credential_id: string;
47599
+ acs_user_id?: string | undefined;
47600
+ acs_credential_pool_id?: string | undefined;
47601
+ acs_system_id: string;
47602
+ parent_acs_credential_id?: string | undefined;
47603
+ display_name: string;
47604
+ code?: (string | undefined) | null;
47605
+ card_number?: (string | undefined) | null;
47606
+ is_issued?: boolean | undefined;
47607
+ issued_at?: (string | undefined) | null;
47608
+ access_method: 'code' | 'card' | 'mobile_key';
47609
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
47610
+ external_type_display_name?: string | undefined;
47611
+ created_at: string;
47612
+ workspace_id: string;
47613
+ starts_at?: string | undefined;
47614
+ ends_at?: string | undefined;
47615
+ errors: Array<{
47616
+ error_code: string;
47617
+ message: string;
47618
+ }>;
47619
+ warnings: Array<{
47620
+ warning_code: string;
47621
+ message: string;
47622
+ }>;
47623
+ is_multi_phone_sync_credential?: boolean | undefined;
47624
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
47625
+ latest_desired_state_synced_with_provider_at?: string | undefined;
47626
+ visionline_metadata?: {
47627
+ card_function_type: 'guest' | 'staff';
47628
+ joiner_acs_credential_ids?: string[] | undefined;
47629
+ guest_acs_entrance_ids?: string[] | undefined;
47630
+ common_acs_entrance_ids?: string[] | undefined;
47631
+ is_valid?: boolean | undefined;
47632
+ auto_join?: boolean | undefined;
47633
+ card_id?: string | undefined;
47634
+ credential_id?: string | undefined;
47635
+ } | undefined;
47636
+ is_managed: true;
47637
+ } | {
47638
+ acs_credential_id: string;
47639
+ acs_user_id?: string | undefined;
47640
+ acs_credential_pool_id?: string | undefined;
47641
+ acs_system_id: string;
47642
+ parent_acs_credential_id?: string | undefined;
47643
+ display_name: string;
47644
+ code?: (string | undefined) | null;
47645
+ card_number?: (string | undefined) | null;
47646
+ is_issued?: boolean | undefined;
47647
+ issued_at?: (string | undefined) | null;
47648
+ access_method: 'code' | 'card' | 'mobile_key';
47649
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
47650
+ external_type_display_name?: string | undefined;
47651
+ created_at: string;
47652
+ workspace_id: string;
47653
+ starts_at?: string | undefined;
47654
+ ends_at?: string | undefined;
47655
+ errors: Array<{
47656
+ error_code: string;
47657
+ message: string;
47658
+ }>;
47659
+ warnings: Array<{
47660
+ warning_code: string;
47661
+ message: string;
47662
+ }>;
47663
+ is_multi_phone_sync_credential?: boolean | undefined;
47664
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
47665
+ latest_desired_state_synced_with_provider_at?: string | undefined;
47666
+ visionline_metadata?: {
47667
+ card_function_type: 'guest' | 'staff';
47668
+ joiner_acs_credential_ids?: string[] | undefined;
47669
+ guest_acs_entrance_ids?: string[] | undefined;
47670
+ common_acs_entrance_ids?: string[] | undefined;
47671
+ is_valid?: boolean | undefined;
47672
+ auto_join?: boolean | undefined;
47673
+ card_id?: string | undefined;
47674
+ credential_id?: string | undefined;
47675
+ } | undefined;
47676
+ is_managed: false;
47677
+ };
45850
47678
  } | {
45851
47679
  /** The ID of the action attempt. */
45852
47680
  action_attempt_id: string;
@@ -46896,7 +48724,87 @@ interface Routes {
46896
48724
  status: 'success';
46897
48725
  error: null;
46898
48726
  action_type: 'ENCODE_CARD';
46899
- result: {};
48727
+ result: {
48728
+ acs_credential_id: string;
48729
+ acs_user_id?: string | undefined;
48730
+ acs_credential_pool_id?: string | undefined;
48731
+ acs_system_id: string;
48732
+ parent_acs_credential_id?: string | undefined;
48733
+ display_name: string;
48734
+ code?: (string | undefined) | null;
48735
+ card_number?: (string | undefined) | null;
48736
+ is_issued?: boolean | undefined;
48737
+ issued_at?: (string | undefined) | null;
48738
+ access_method: 'code' | 'card' | 'mobile_key';
48739
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
48740
+ external_type_display_name?: string | undefined;
48741
+ created_at: string;
48742
+ workspace_id: string;
48743
+ starts_at?: string | undefined;
48744
+ ends_at?: string | undefined;
48745
+ errors: Array<{
48746
+ error_code: string;
48747
+ message: string;
48748
+ }>;
48749
+ warnings: Array<{
48750
+ warning_code: string;
48751
+ message: string;
48752
+ }>;
48753
+ is_multi_phone_sync_credential?: boolean | undefined;
48754
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
48755
+ latest_desired_state_synced_with_provider_at?: string | undefined;
48756
+ visionline_metadata?: {
48757
+ card_function_type: 'guest' | 'staff';
48758
+ joiner_acs_credential_ids?: string[] | undefined;
48759
+ guest_acs_entrance_ids?: string[] | undefined;
48760
+ common_acs_entrance_ids?: string[] | undefined;
48761
+ is_valid?: boolean | undefined;
48762
+ auto_join?: boolean | undefined;
48763
+ card_id?: string | undefined;
48764
+ credential_id?: string | undefined;
48765
+ } | undefined;
48766
+ is_managed: true;
48767
+ } | {
48768
+ acs_credential_id: string;
48769
+ acs_user_id?: string | undefined;
48770
+ acs_credential_pool_id?: string | undefined;
48771
+ acs_system_id: string;
48772
+ parent_acs_credential_id?: string | undefined;
48773
+ display_name: string;
48774
+ code?: (string | undefined) | null;
48775
+ card_number?: (string | undefined) | null;
48776
+ is_issued?: boolean | undefined;
48777
+ issued_at?: (string | undefined) | null;
48778
+ access_method: 'code' | 'card' | 'mobile_key';
48779
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
48780
+ external_type_display_name?: string | undefined;
48781
+ created_at: string;
48782
+ workspace_id: string;
48783
+ starts_at?: string | undefined;
48784
+ ends_at?: string | undefined;
48785
+ errors: Array<{
48786
+ error_code: string;
48787
+ message: string;
48788
+ }>;
48789
+ warnings: Array<{
48790
+ warning_code: string;
48791
+ message: string;
48792
+ }>;
48793
+ is_multi_phone_sync_credential?: boolean | undefined;
48794
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
48795
+ latest_desired_state_synced_with_provider_at?: string | undefined;
48796
+ visionline_metadata?: {
48797
+ card_function_type: 'guest' | 'staff';
48798
+ joiner_acs_credential_ids?: string[] | undefined;
48799
+ guest_acs_entrance_ids?: string[] | undefined;
48800
+ common_acs_entrance_ids?: string[] | undefined;
48801
+ is_valid?: boolean | undefined;
48802
+ auto_join?: boolean | undefined;
48803
+ card_id?: string | undefined;
48804
+ credential_id?: string | undefined;
48805
+ } | undefined;
48806
+ is_managed: false;
48807
+ };
46900
48808
  } | {
46901
48809
  /** The ID of the action attempt. */
46902
48810
  action_attempt_id: string;
@@ -47463,7 +49371,87 @@ interface Routes {
47463
49371
  status: 'success';
47464
49372
  error: null;
47465
49373
  action_type: 'ENCODE_CARD';
47466
- result: {};
49374
+ result: {
49375
+ acs_credential_id: string;
49376
+ acs_user_id?: string | undefined;
49377
+ acs_credential_pool_id?: string | undefined;
49378
+ acs_system_id: string;
49379
+ parent_acs_credential_id?: string | undefined;
49380
+ display_name: string;
49381
+ code?: (string | undefined) | null;
49382
+ card_number?: (string | undefined) | null;
49383
+ is_issued?: boolean | undefined;
49384
+ issued_at?: (string | undefined) | null;
49385
+ access_method: 'code' | 'card' | 'mobile_key';
49386
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
49387
+ external_type_display_name?: string | undefined;
49388
+ created_at: string;
49389
+ workspace_id: string;
49390
+ starts_at?: string | undefined;
49391
+ ends_at?: string | undefined;
49392
+ errors: Array<{
49393
+ error_code: string;
49394
+ message: string;
49395
+ }>;
49396
+ warnings: Array<{
49397
+ warning_code: string;
49398
+ message: string;
49399
+ }>;
49400
+ is_multi_phone_sync_credential?: boolean | undefined;
49401
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
49402
+ latest_desired_state_synced_with_provider_at?: string | undefined;
49403
+ visionline_metadata?: {
49404
+ card_function_type: 'guest' | 'staff';
49405
+ joiner_acs_credential_ids?: string[] | undefined;
49406
+ guest_acs_entrance_ids?: string[] | undefined;
49407
+ common_acs_entrance_ids?: string[] | undefined;
49408
+ is_valid?: boolean | undefined;
49409
+ auto_join?: boolean | undefined;
49410
+ card_id?: string | undefined;
49411
+ credential_id?: string | undefined;
49412
+ } | undefined;
49413
+ is_managed: true;
49414
+ } | {
49415
+ acs_credential_id: string;
49416
+ acs_user_id?: string | undefined;
49417
+ acs_credential_pool_id?: string | undefined;
49418
+ acs_system_id: string;
49419
+ parent_acs_credential_id?: string | undefined;
49420
+ display_name: string;
49421
+ code?: (string | undefined) | null;
49422
+ card_number?: (string | undefined) | null;
49423
+ is_issued?: boolean | undefined;
49424
+ issued_at?: (string | undefined) | null;
49425
+ access_method: 'code' | 'card' | 'mobile_key';
49426
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
49427
+ external_type_display_name?: string | undefined;
49428
+ created_at: string;
49429
+ workspace_id: string;
49430
+ starts_at?: string | undefined;
49431
+ ends_at?: string | undefined;
49432
+ errors: Array<{
49433
+ error_code: string;
49434
+ message: string;
49435
+ }>;
49436
+ warnings: Array<{
49437
+ warning_code: string;
49438
+ message: string;
49439
+ }>;
49440
+ is_multi_phone_sync_credential?: boolean | undefined;
49441
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
49442
+ latest_desired_state_synced_with_provider_at?: string | undefined;
49443
+ visionline_metadata?: {
49444
+ card_function_type: 'guest' | 'staff';
49445
+ joiner_acs_credential_ids?: string[] | undefined;
49446
+ guest_acs_entrance_ids?: string[] | undefined;
49447
+ common_acs_entrance_ids?: string[] | undefined;
49448
+ is_valid?: boolean | undefined;
49449
+ auto_join?: boolean | undefined;
49450
+ card_id?: string | undefined;
49451
+ credential_id?: string | undefined;
49452
+ } | undefined;
49453
+ is_managed: false;
49454
+ };
47467
49455
  } | {
47468
49456
  /** The ID of the action attempt. */
47469
49457
  action_attempt_id: string;
@@ -48931,7 +50919,87 @@ interface Routes {
48931
50919
  status: 'success';
48932
50920
  error: null;
48933
50921
  action_type: 'ENCODE_CARD';
48934
- result: {};
50922
+ result: {
50923
+ acs_credential_id: string;
50924
+ acs_user_id?: string | undefined;
50925
+ acs_credential_pool_id?: string | undefined;
50926
+ acs_system_id: string;
50927
+ parent_acs_credential_id?: string | undefined;
50928
+ display_name: string;
50929
+ code?: (string | undefined) | null;
50930
+ card_number?: (string | undefined) | null;
50931
+ is_issued?: boolean | undefined;
50932
+ issued_at?: (string | undefined) | null;
50933
+ access_method: 'code' | 'card' | 'mobile_key';
50934
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
50935
+ external_type_display_name?: string | undefined;
50936
+ created_at: string;
50937
+ workspace_id: string;
50938
+ starts_at?: string | undefined;
50939
+ ends_at?: string | undefined;
50940
+ errors: Array<{
50941
+ error_code: string;
50942
+ message: string;
50943
+ }>;
50944
+ warnings: Array<{
50945
+ warning_code: string;
50946
+ message: string;
50947
+ }>;
50948
+ is_multi_phone_sync_credential?: boolean | undefined;
50949
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
50950
+ latest_desired_state_synced_with_provider_at?: string | undefined;
50951
+ visionline_metadata?: {
50952
+ card_function_type: 'guest' | 'staff';
50953
+ joiner_acs_credential_ids?: string[] | undefined;
50954
+ guest_acs_entrance_ids?: string[] | undefined;
50955
+ common_acs_entrance_ids?: string[] | undefined;
50956
+ is_valid?: boolean | undefined;
50957
+ auto_join?: boolean | undefined;
50958
+ card_id?: string | undefined;
50959
+ credential_id?: string | undefined;
50960
+ } | undefined;
50961
+ is_managed: true;
50962
+ } | {
50963
+ acs_credential_id: string;
50964
+ acs_user_id?: string | undefined;
50965
+ acs_credential_pool_id?: string | undefined;
50966
+ acs_system_id: string;
50967
+ parent_acs_credential_id?: string | undefined;
50968
+ display_name: string;
50969
+ code?: (string | undefined) | null;
50970
+ card_number?: (string | undefined) | null;
50971
+ is_issued?: boolean | undefined;
50972
+ issued_at?: (string | undefined) | null;
50973
+ access_method: 'code' | 'card' | 'mobile_key';
50974
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
50975
+ external_type_display_name?: string | undefined;
50976
+ created_at: string;
50977
+ workspace_id: string;
50978
+ starts_at?: string | undefined;
50979
+ ends_at?: string | undefined;
50980
+ errors: Array<{
50981
+ error_code: string;
50982
+ message: string;
50983
+ }>;
50984
+ warnings: Array<{
50985
+ warning_code: string;
50986
+ message: string;
50987
+ }>;
50988
+ is_multi_phone_sync_credential?: boolean | undefined;
50989
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
50990
+ latest_desired_state_synced_with_provider_at?: string | undefined;
50991
+ visionline_metadata?: {
50992
+ card_function_type: 'guest' | 'staff';
50993
+ joiner_acs_credential_ids?: string[] | undefined;
50994
+ guest_acs_entrance_ids?: string[] | undefined;
50995
+ common_acs_entrance_ids?: string[] | undefined;
50996
+ is_valid?: boolean | undefined;
50997
+ auto_join?: boolean | undefined;
50998
+ card_id?: string | undefined;
50999
+ credential_id?: string | undefined;
51000
+ } | undefined;
51001
+ is_managed: false;
51002
+ };
48935
51003
  } | {
48936
51004
  /** The ID of the action attempt. */
48937
51005
  action_attempt_id: string;
@@ -49615,7 +51683,87 @@ interface Routes {
49615
51683
  status: 'success';
49616
51684
  error: null;
49617
51685
  action_type: 'ENCODE_CARD';
49618
- result: {};
51686
+ result: {
51687
+ acs_credential_id: string;
51688
+ acs_user_id?: string | undefined;
51689
+ acs_credential_pool_id?: string | undefined;
51690
+ acs_system_id: string;
51691
+ parent_acs_credential_id?: string | undefined;
51692
+ display_name: string;
51693
+ code?: (string | undefined) | null;
51694
+ card_number?: (string | undefined) | null;
51695
+ is_issued?: boolean | undefined;
51696
+ issued_at?: (string | undefined) | null;
51697
+ access_method: 'code' | 'card' | 'mobile_key';
51698
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
51699
+ external_type_display_name?: string | undefined;
51700
+ created_at: string;
51701
+ workspace_id: string;
51702
+ starts_at?: string | undefined;
51703
+ ends_at?: string | undefined;
51704
+ errors: Array<{
51705
+ error_code: string;
51706
+ message: string;
51707
+ }>;
51708
+ warnings: Array<{
51709
+ warning_code: string;
51710
+ message: string;
51711
+ }>;
51712
+ is_multi_phone_sync_credential?: boolean | undefined;
51713
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
51714
+ latest_desired_state_synced_with_provider_at?: string | undefined;
51715
+ visionline_metadata?: {
51716
+ card_function_type: 'guest' | 'staff';
51717
+ joiner_acs_credential_ids?: string[] | undefined;
51718
+ guest_acs_entrance_ids?: string[] | undefined;
51719
+ common_acs_entrance_ids?: string[] | undefined;
51720
+ is_valid?: boolean | undefined;
51721
+ auto_join?: boolean | undefined;
51722
+ card_id?: string | undefined;
51723
+ credential_id?: string | undefined;
51724
+ } | undefined;
51725
+ is_managed: true;
51726
+ } | {
51727
+ acs_credential_id: string;
51728
+ acs_user_id?: string | undefined;
51729
+ acs_credential_pool_id?: string | undefined;
51730
+ acs_system_id: string;
51731
+ parent_acs_credential_id?: string | undefined;
51732
+ display_name: string;
51733
+ code?: (string | undefined) | null;
51734
+ card_number?: (string | undefined) | null;
51735
+ is_issued?: boolean | undefined;
51736
+ issued_at?: (string | undefined) | null;
51737
+ access_method: 'code' | 'card' | 'mobile_key';
51738
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
51739
+ external_type_display_name?: string | undefined;
51740
+ created_at: string;
51741
+ workspace_id: string;
51742
+ starts_at?: string | undefined;
51743
+ ends_at?: string | undefined;
51744
+ errors: Array<{
51745
+ error_code: string;
51746
+ message: string;
51747
+ }>;
51748
+ warnings: Array<{
51749
+ warning_code: string;
51750
+ message: string;
51751
+ }>;
51752
+ is_multi_phone_sync_credential?: boolean | undefined;
51753
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
51754
+ latest_desired_state_synced_with_provider_at?: string | undefined;
51755
+ visionline_metadata?: {
51756
+ card_function_type: 'guest' | 'staff';
51757
+ joiner_acs_credential_ids?: string[] | undefined;
51758
+ guest_acs_entrance_ids?: string[] | undefined;
51759
+ common_acs_entrance_ids?: string[] | undefined;
51760
+ is_valid?: boolean | undefined;
51761
+ auto_join?: boolean | undefined;
51762
+ card_id?: string | undefined;
51763
+ credential_id?: string | undefined;
51764
+ } | undefined;
51765
+ is_managed: false;
51766
+ };
49619
51767
  } | {
49620
51768
  /** The ID of the action attempt. */
49621
51769
  action_attempt_id: string;
@@ -51653,7 +53801,87 @@ interface Routes {
51653
53801
  status: 'success';
51654
53802
  error: null;
51655
53803
  action_type: 'ENCODE_CARD';
51656
- result: {};
53804
+ result: {
53805
+ acs_credential_id: string;
53806
+ acs_user_id?: string | undefined;
53807
+ acs_credential_pool_id?: string | undefined;
53808
+ acs_system_id: string;
53809
+ parent_acs_credential_id?: string | undefined;
53810
+ display_name: string;
53811
+ code?: (string | undefined) | null;
53812
+ card_number?: (string | undefined) | null;
53813
+ is_issued?: boolean | undefined;
53814
+ issued_at?: (string | undefined) | null;
53815
+ access_method: 'code' | 'card' | 'mobile_key';
53816
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
53817
+ external_type_display_name?: string | undefined;
53818
+ created_at: string;
53819
+ workspace_id: string;
53820
+ starts_at?: string | undefined;
53821
+ ends_at?: string | undefined;
53822
+ errors: Array<{
53823
+ error_code: string;
53824
+ message: string;
53825
+ }>;
53826
+ warnings: Array<{
53827
+ warning_code: string;
53828
+ message: string;
53829
+ }>;
53830
+ is_multi_phone_sync_credential?: boolean | undefined;
53831
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
53832
+ latest_desired_state_synced_with_provider_at?: string | undefined;
53833
+ visionline_metadata?: {
53834
+ card_function_type: 'guest' | 'staff';
53835
+ joiner_acs_credential_ids?: string[] | undefined;
53836
+ guest_acs_entrance_ids?: string[] | undefined;
53837
+ common_acs_entrance_ids?: string[] | undefined;
53838
+ is_valid?: boolean | undefined;
53839
+ auto_join?: boolean | undefined;
53840
+ card_id?: string | undefined;
53841
+ credential_id?: string | undefined;
53842
+ } | undefined;
53843
+ is_managed: true;
53844
+ } | {
53845
+ acs_credential_id: string;
53846
+ acs_user_id?: string | undefined;
53847
+ acs_credential_pool_id?: string | undefined;
53848
+ acs_system_id: string;
53849
+ parent_acs_credential_id?: string | undefined;
53850
+ display_name: string;
53851
+ code?: (string | undefined) | null;
53852
+ card_number?: (string | undefined) | null;
53853
+ is_issued?: boolean | undefined;
53854
+ issued_at?: (string | undefined) | null;
53855
+ access_method: 'code' | 'card' | 'mobile_key';
53856
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
53857
+ external_type_display_name?: string | undefined;
53858
+ created_at: string;
53859
+ workspace_id: string;
53860
+ starts_at?: string | undefined;
53861
+ ends_at?: string | undefined;
53862
+ errors: Array<{
53863
+ error_code: string;
53864
+ message: string;
53865
+ }>;
53866
+ warnings: Array<{
53867
+ warning_code: string;
53868
+ message: string;
53869
+ }>;
53870
+ is_multi_phone_sync_credential?: boolean | undefined;
53871
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
53872
+ latest_desired_state_synced_with_provider_at?: string | undefined;
53873
+ visionline_metadata?: {
53874
+ card_function_type: 'guest' | 'staff';
53875
+ joiner_acs_credential_ids?: string[] | undefined;
53876
+ guest_acs_entrance_ids?: string[] | undefined;
53877
+ common_acs_entrance_ids?: string[] | undefined;
53878
+ is_valid?: boolean | undefined;
53879
+ auto_join?: boolean | undefined;
53880
+ card_id?: string | undefined;
53881
+ credential_id?: string | undefined;
53882
+ } | undefined;
53883
+ is_managed: false;
53884
+ };
51657
53885
  } | {
51658
53886
  /** The ID of the action attempt. */
51659
53887
  action_attempt_id: string;