@seamapi/types 1.269.1 → 1.271.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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;
@@ -6671,6 +7133,7 @@ declare const DEVICE_PROVIDERS: {
6671
7133
  readonly HONEYWELL_RESIDEO: "honeywell_resideo";
6672
7134
  readonly LATCH: "latch";
6673
7135
  readonly AKILES: "akiles";
7136
+ readonly VOSTIO: "vostio";
6674
7137
  };
6675
7138
  type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
6676
7139
  declare const device_provider: z.ZodObject<z.objectUtil.extendShape<{
@@ -11588,6 +12051,7 @@ declare const _default: {
11588
12051
  properties?: never;
11589
12052
  type?: never;
11590
12053
  required?: never;
12054
+ oneOf?: never;
11591
12055
  };
11592
12056
  status: {
11593
12057
  enum: string[];
@@ -11625,6 +12089,7 @@ declare const _default: {
11625
12089
  type: string;
11626
12090
  nullable?: never;
11627
12091
  required?: never;
12092
+ oneOf?: never;
11628
12093
  };
11629
12094
  status: {
11630
12095
  enum: string[];
@@ -11665,6 +12130,7 @@ declare const _default: {
11665
12130
  properties?: never;
11666
12131
  type?: never;
11667
12132
  required?: never;
12133
+ oneOf?: never;
11668
12134
  };
11669
12135
  status: {
11670
12136
  enum: string[];
@@ -11948,6 +12414,7 @@ declare const _default: {
11948
12414
  required: string[];
11949
12415
  type: string;
11950
12416
  nullable?: never;
12417
+ oneOf?: never;
11951
12418
  };
11952
12419
  status: {
11953
12420
  enum: string[];
@@ -11988,6 +12455,197 @@ declare const _default: {
11988
12455
  properties?: never;
11989
12456
  type?: never;
11990
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;
11991
12649
  };
11992
12650
  status: {
11993
12651
  enum: string[];
@@ -12019,6 +12677,7 @@ declare const _default: {
12019
12677
  properties?: never;
12020
12678
  type?: never;
12021
12679
  required?: never;
12680
+ oneOf?: never;
12022
12681
  };
12023
12682
  status: {
12024
12683
  enum: string[];
@@ -12056,6 +12715,7 @@ declare const _default: {
12056
12715
  type: string;
12057
12716
  nullable?: never;
12058
12717
  required?: never;
12718
+ oneOf?: never;
12059
12719
  };
12060
12720
  status: {
12061
12721
  enum: string[];
@@ -12096,6 +12756,7 @@ declare const _default: {
12096
12756
  properties?: never;
12097
12757
  type?: never;
12098
12758
  required?: never;
12759
+ oneOf?: never;
12099
12760
  };
12100
12761
  status: {
12101
12762
  enum: string[];
@@ -12133,6 +12794,7 @@ declare const _default: {
12133
12794
  type: string;
12134
12795
  nullable?: never;
12135
12796
  required?: never;
12797
+ oneOf?: never;
12136
12798
  };
12137
12799
  status: {
12138
12800
  enum: string[];
@@ -12170,6 +12832,7 @@ declare const _default: {
12170
12832
  type: string;
12171
12833
  nullable?: never;
12172
12834
  required?: never;
12835
+ oneOf?: never;
12173
12836
  };
12174
12837
  status: {
12175
12838
  enum: string[];
@@ -19186,6 +19849,10 @@ declare const _default: {
19186
19849
  schema: {
19187
19850
  oneOf: ({
19188
19851
  properties: {
19852
+ acs_credential_id: {
19853
+ format: string;
19854
+ type: string;
19855
+ };
19189
19856
  acs_system_id: {
19190
19857
  format: string;
19191
19858
  type: string;
@@ -19199,11 +19866,18 @@ declare const _default: {
19199
19866
  type: string;
19200
19867
  } | {
19201
19868
  properties: {
19869
+ acs_credential_id: {
19870
+ format: string;
19871
+ type: string;
19872
+ };
19873
+ acs_system_id: {
19874
+ format: string;
19875
+ type: string;
19876
+ };
19202
19877
  device_id: {
19203
19878
  format: string;
19204
19879
  type: string;
19205
19880
  };
19206
- acs_system_id?: never;
19207
19881
  device_name?: never;
19208
19882
  };
19209
19883
  required: string[];
@@ -30117,7 +30791,87 @@ interface Routes {
30117
30791
  status: 'success';
30118
30792
  error: null;
30119
30793
  action_type: 'ENCODE_CARD';
30120
- result: {};
30794
+ result: {
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: true;
30834
+ } | {
30835
+ acs_credential_id: string;
30836
+ acs_user_id?: string | undefined;
30837
+ acs_credential_pool_id?: string | undefined;
30838
+ acs_system_id: string;
30839
+ parent_acs_credential_id?: string | undefined;
30840
+ display_name: string;
30841
+ code?: (string | undefined) | null;
30842
+ card_number?: (string | undefined) | null;
30843
+ is_issued?: boolean | undefined;
30844
+ issued_at?: (string | undefined) | null;
30845
+ access_method: 'code' | 'card' | 'mobile_key';
30846
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
30847
+ external_type_display_name?: string | undefined;
30848
+ created_at: string;
30849
+ workspace_id: string;
30850
+ starts_at?: string | undefined;
30851
+ ends_at?: string | undefined;
30852
+ errors: Array<{
30853
+ error_code: string;
30854
+ message: string;
30855
+ }>;
30856
+ warnings: Array<{
30857
+ warning_code: string;
30858
+ message: string;
30859
+ }>;
30860
+ is_multi_phone_sync_credential?: boolean | undefined;
30861
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
30862
+ latest_desired_state_synced_with_provider_at?: string | undefined;
30863
+ visionline_metadata?: {
30864
+ card_function_type: 'guest' | 'staff';
30865
+ joiner_acs_credential_ids?: string[] | undefined;
30866
+ guest_acs_entrance_ids?: string[] | undefined;
30867
+ common_acs_entrance_ids?: string[] | undefined;
30868
+ is_valid?: boolean | undefined;
30869
+ auto_join?: boolean | undefined;
30870
+ card_id?: string | undefined;
30871
+ credential_id?: string | undefined;
30872
+ } | undefined;
30873
+ is_managed: false;
30874
+ };
30121
30875
  } | {
30122
30876
  /** The ID of the action attempt. */
30123
30877
  action_attempt_id: string;
@@ -30830,7 +31584,87 @@ interface Routes {
30830
31584
  status: 'success';
30831
31585
  error: null;
30832
31586
  action_type: 'ENCODE_CARD';
30833
- result: {};
31587
+ result: {
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: true;
31627
+ } | {
31628
+ acs_credential_id: string;
31629
+ acs_user_id?: string | undefined;
31630
+ acs_credential_pool_id?: string | undefined;
31631
+ acs_system_id: string;
31632
+ parent_acs_credential_id?: string | undefined;
31633
+ display_name: string;
31634
+ code?: (string | undefined) | null;
31635
+ card_number?: (string | undefined) | null;
31636
+ is_issued?: boolean | undefined;
31637
+ issued_at?: (string | undefined) | null;
31638
+ access_method: 'code' | 'card' | 'mobile_key';
31639
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
31640
+ external_type_display_name?: string | undefined;
31641
+ created_at: string;
31642
+ workspace_id: string;
31643
+ starts_at?: string | undefined;
31644
+ ends_at?: string | undefined;
31645
+ errors: Array<{
31646
+ error_code: string;
31647
+ message: string;
31648
+ }>;
31649
+ warnings: Array<{
31650
+ warning_code: string;
31651
+ message: string;
31652
+ }>;
31653
+ is_multi_phone_sync_credential?: boolean | undefined;
31654
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
31655
+ latest_desired_state_synced_with_provider_at?: string | undefined;
31656
+ visionline_metadata?: {
31657
+ card_function_type: 'guest' | 'staff';
31658
+ joiner_acs_credential_ids?: string[] | undefined;
31659
+ guest_acs_entrance_ids?: string[] | undefined;
31660
+ common_acs_entrance_ids?: string[] | undefined;
31661
+ is_valid?: boolean | undefined;
31662
+ auto_join?: boolean | undefined;
31663
+ card_id?: string | undefined;
31664
+ credential_id?: string | undefined;
31665
+ } | undefined;
31666
+ is_managed: false;
31667
+ };
30834
31668
  } | {
30835
31669
  /** The ID of the action attempt. */
30836
31670
  action_attempt_id: string;
@@ -31700,7 +32534,87 @@ interface Routes {
31700
32534
  status: 'success';
31701
32535
  error: null;
31702
32536
  action_type: 'ENCODE_CARD';
31703
- result: {};
32537
+ result: {
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: true;
32577
+ } | {
32578
+ acs_credential_id: string;
32579
+ acs_user_id?: string | undefined;
32580
+ acs_credential_pool_id?: string | undefined;
32581
+ acs_system_id: string;
32582
+ parent_acs_credential_id?: string | undefined;
32583
+ display_name: string;
32584
+ code?: (string | undefined) | null;
32585
+ card_number?: (string | undefined) | null;
32586
+ is_issued?: boolean | undefined;
32587
+ issued_at?: (string | undefined) | null;
32588
+ access_method: 'code' | 'card' | 'mobile_key';
32589
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
32590
+ external_type_display_name?: string | undefined;
32591
+ created_at: string;
32592
+ workspace_id: string;
32593
+ starts_at?: string | undefined;
32594
+ ends_at?: string | undefined;
32595
+ errors: Array<{
32596
+ error_code: string;
32597
+ message: string;
32598
+ }>;
32599
+ warnings: Array<{
32600
+ warning_code: string;
32601
+ message: string;
32602
+ }>;
32603
+ is_multi_phone_sync_credential?: boolean | undefined;
32604
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
32605
+ latest_desired_state_synced_with_provider_at?: string | undefined;
32606
+ visionline_metadata?: {
32607
+ card_function_type: 'guest' | 'staff';
32608
+ joiner_acs_credential_ids?: string[] | undefined;
32609
+ guest_acs_entrance_ids?: string[] | undefined;
32610
+ common_acs_entrance_ids?: string[] | undefined;
32611
+ is_valid?: boolean | undefined;
32612
+ auto_join?: boolean | undefined;
32613
+ card_id?: string | undefined;
32614
+ credential_id?: string | undefined;
32615
+ } | undefined;
32616
+ is_managed: false;
32617
+ };
31704
32618
  } | {
31705
32619
  /** The ID of the action attempt. */
31706
32620
  action_attempt_id: string;
@@ -32400,7 +33314,87 @@ interface Routes {
32400
33314
  status: 'success';
32401
33315
  error: null;
32402
33316
  action_type: 'ENCODE_CARD';
32403
- result: {};
33317
+ result: {
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: true;
33357
+ } | {
33358
+ acs_credential_id: string;
33359
+ acs_user_id?: string | undefined;
33360
+ acs_credential_pool_id?: string | undefined;
33361
+ acs_system_id: string;
33362
+ parent_acs_credential_id?: string | undefined;
33363
+ display_name: string;
33364
+ code?: (string | undefined) | null;
33365
+ card_number?: (string | undefined) | null;
33366
+ is_issued?: boolean | undefined;
33367
+ issued_at?: (string | undefined) | null;
33368
+ access_method: 'code' | 'card' | 'mobile_key';
33369
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
33370
+ external_type_display_name?: string | undefined;
33371
+ created_at: string;
33372
+ workspace_id: string;
33373
+ starts_at?: string | undefined;
33374
+ ends_at?: string | undefined;
33375
+ errors: Array<{
33376
+ error_code: string;
33377
+ message: string;
33378
+ }>;
33379
+ warnings: Array<{
33380
+ warning_code: string;
33381
+ message: string;
33382
+ }>;
33383
+ is_multi_phone_sync_credential?: boolean | undefined;
33384
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
33385
+ latest_desired_state_synced_with_provider_at?: string | undefined;
33386
+ visionline_metadata?: {
33387
+ card_function_type: 'guest' | 'staff';
33388
+ joiner_acs_credential_ids?: string[] | undefined;
33389
+ guest_acs_entrance_ids?: string[] | undefined;
33390
+ common_acs_entrance_ids?: string[] | undefined;
33391
+ is_valid?: boolean | undefined;
33392
+ auto_join?: boolean | undefined;
33393
+ card_id?: string | undefined;
33394
+ credential_id?: string | undefined;
33395
+ } | undefined;
33396
+ is_managed: false;
33397
+ };
32404
33398
  } | {
32405
33399
  /** The ID of the action attempt. */
32406
33400
  action_attempt_id: string;
@@ -33645,8 +34639,11 @@ interface Routes {
33645
34639
  commonParams: {
33646
34640
  acs_system_id: string;
33647
34641
  device_name: string;
34642
+ acs_credential_id: string;
33648
34643
  } | {
34644
+ acs_system_id: string;
33649
34645
  device_id: string;
34646
+ acs_credential_id: string;
33650
34647
  };
33651
34648
  formData: {};
33652
34649
  jsonResponse: {
@@ -33844,7 +34841,87 @@ interface Routes {
33844
34841
  status: 'success';
33845
34842
  error: null;
33846
34843
  action_type: 'ENCODE_CARD';
33847
- result: {};
34844
+ result: {
34845
+ acs_credential_id: string;
34846
+ acs_user_id?: string | undefined;
34847
+ acs_credential_pool_id?: string | undefined;
34848
+ acs_system_id: string;
34849
+ parent_acs_credential_id?: string | undefined;
34850
+ display_name: string;
34851
+ code?: (string | undefined) | null;
34852
+ card_number?: (string | undefined) | null;
34853
+ is_issued?: boolean | undefined;
34854
+ issued_at?: (string | undefined) | null;
34855
+ access_method: 'code' | 'card' | 'mobile_key';
34856
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
34857
+ external_type_display_name?: string | undefined;
34858
+ created_at: string;
34859
+ workspace_id: string;
34860
+ starts_at?: string | undefined;
34861
+ ends_at?: string | undefined;
34862
+ errors: Array<{
34863
+ error_code: string;
34864
+ message: string;
34865
+ }>;
34866
+ warnings: Array<{
34867
+ warning_code: string;
34868
+ message: string;
34869
+ }>;
34870
+ is_multi_phone_sync_credential?: boolean | undefined;
34871
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
34872
+ latest_desired_state_synced_with_provider_at?: string | undefined;
34873
+ visionline_metadata?: {
34874
+ card_function_type: 'guest' | 'staff';
34875
+ joiner_acs_credential_ids?: string[] | undefined;
34876
+ guest_acs_entrance_ids?: string[] | undefined;
34877
+ common_acs_entrance_ids?: string[] | undefined;
34878
+ is_valid?: boolean | undefined;
34879
+ auto_join?: boolean | undefined;
34880
+ card_id?: string | undefined;
34881
+ credential_id?: string | undefined;
34882
+ } | undefined;
34883
+ is_managed: true;
34884
+ } | {
34885
+ acs_credential_id: string;
34886
+ acs_user_id?: string | undefined;
34887
+ acs_credential_pool_id?: string | undefined;
34888
+ acs_system_id: string;
34889
+ parent_acs_credential_id?: string | undefined;
34890
+ display_name: string;
34891
+ code?: (string | undefined) | null;
34892
+ card_number?: (string | undefined) | null;
34893
+ is_issued?: boolean | undefined;
34894
+ issued_at?: (string | undefined) | null;
34895
+ access_method: 'code' | 'card' | 'mobile_key';
34896
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
34897
+ external_type_display_name?: string | undefined;
34898
+ created_at: string;
34899
+ workspace_id: string;
34900
+ starts_at?: string | undefined;
34901
+ ends_at?: string | undefined;
34902
+ errors: Array<{
34903
+ error_code: string;
34904
+ message: string;
34905
+ }>;
34906
+ warnings: Array<{
34907
+ warning_code: string;
34908
+ message: string;
34909
+ }>;
34910
+ is_multi_phone_sync_credential?: boolean | undefined;
34911
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
34912
+ latest_desired_state_synced_with_provider_at?: string | undefined;
34913
+ visionline_metadata?: {
34914
+ card_function_type: 'guest' | 'staff';
34915
+ joiner_acs_credential_ids?: string[] | undefined;
34916
+ guest_acs_entrance_ids?: string[] | undefined;
34917
+ common_acs_entrance_ids?: string[] | undefined;
34918
+ is_valid?: boolean | undefined;
34919
+ auto_join?: boolean | undefined;
34920
+ card_id?: string | undefined;
34921
+ credential_id?: string | undefined;
34922
+ } | undefined;
34923
+ is_managed: false;
34924
+ };
33848
34925
  } | {
33849
34926
  /** The ID of the action attempt. */
33850
34927
  action_attempt_id: string;
@@ -34870,7 +35947,87 @@ interface Routes {
34870
35947
  status: 'success';
34871
35948
  error: null;
34872
35949
  action_type: 'ENCODE_CARD';
34873
- result: {};
35950
+ result: {
35951
+ acs_credential_id: string;
35952
+ acs_user_id?: string | undefined;
35953
+ acs_credential_pool_id?: string | undefined;
35954
+ acs_system_id: string;
35955
+ parent_acs_credential_id?: string | undefined;
35956
+ display_name: string;
35957
+ code?: (string | undefined) | null;
35958
+ card_number?: (string | undefined) | null;
35959
+ is_issued?: boolean | undefined;
35960
+ issued_at?: (string | undefined) | null;
35961
+ access_method: 'code' | 'card' | 'mobile_key';
35962
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
35963
+ external_type_display_name?: string | undefined;
35964
+ created_at: string;
35965
+ workspace_id: string;
35966
+ starts_at?: string | undefined;
35967
+ ends_at?: string | undefined;
35968
+ errors: Array<{
35969
+ error_code: string;
35970
+ message: string;
35971
+ }>;
35972
+ warnings: Array<{
35973
+ warning_code: string;
35974
+ message: string;
35975
+ }>;
35976
+ is_multi_phone_sync_credential?: boolean | undefined;
35977
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
35978
+ latest_desired_state_synced_with_provider_at?: string | undefined;
35979
+ visionline_metadata?: {
35980
+ card_function_type: 'guest' | 'staff';
35981
+ joiner_acs_credential_ids?: string[] | undefined;
35982
+ guest_acs_entrance_ids?: string[] | undefined;
35983
+ common_acs_entrance_ids?: string[] | undefined;
35984
+ is_valid?: boolean | undefined;
35985
+ auto_join?: boolean | undefined;
35986
+ card_id?: string | undefined;
35987
+ credential_id?: string | undefined;
35988
+ } | undefined;
35989
+ is_managed: true;
35990
+ } | {
35991
+ acs_credential_id: string;
35992
+ acs_user_id?: string | undefined;
35993
+ acs_credential_pool_id?: string | undefined;
35994
+ acs_system_id: string;
35995
+ parent_acs_credential_id?: string | undefined;
35996
+ display_name: string;
35997
+ code?: (string | undefined) | null;
35998
+ card_number?: (string | undefined) | null;
35999
+ is_issued?: boolean | undefined;
36000
+ issued_at?: (string | undefined) | null;
36001
+ access_method: 'code' | 'card' | 'mobile_key';
36002
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
36003
+ external_type_display_name?: string | undefined;
36004
+ created_at: string;
36005
+ workspace_id: string;
36006
+ starts_at?: string | undefined;
36007
+ ends_at?: string | undefined;
36008
+ errors: Array<{
36009
+ error_code: string;
36010
+ message: string;
36011
+ }>;
36012
+ warnings: Array<{
36013
+ warning_code: string;
36014
+ message: string;
36015
+ }>;
36016
+ is_multi_phone_sync_credential?: boolean | undefined;
36017
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
36018
+ latest_desired_state_synced_with_provider_at?: string | undefined;
36019
+ visionline_metadata?: {
36020
+ card_function_type: 'guest' | 'staff';
36021
+ joiner_acs_credential_ids?: string[] | undefined;
36022
+ guest_acs_entrance_ids?: string[] | undefined;
36023
+ common_acs_entrance_ids?: string[] | undefined;
36024
+ is_valid?: boolean | undefined;
36025
+ auto_join?: boolean | undefined;
36026
+ card_id?: string | undefined;
36027
+ credential_id?: string | undefined;
36028
+ } | undefined;
36029
+ is_managed: false;
36030
+ };
34874
36031
  } | {
34875
36032
  /** The ID of the action attempt. */
34876
36033
  action_attempt_id: string;
@@ -36602,7 +37759,87 @@ interface Routes {
36602
37759
  status: 'success';
36603
37760
  error: null;
36604
37761
  action_type: 'ENCODE_CARD';
36605
- result: {};
37762
+ result: {
37763
+ acs_credential_id: string;
37764
+ acs_user_id?: string | undefined;
37765
+ acs_credential_pool_id?: string | undefined;
37766
+ acs_system_id: string;
37767
+ parent_acs_credential_id?: string | undefined;
37768
+ display_name: string;
37769
+ code?: (string | undefined) | null;
37770
+ card_number?: (string | undefined) | null;
37771
+ is_issued?: boolean | undefined;
37772
+ issued_at?: (string | undefined) | null;
37773
+ access_method: 'code' | 'card' | 'mobile_key';
37774
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
37775
+ external_type_display_name?: string | undefined;
37776
+ created_at: string;
37777
+ workspace_id: string;
37778
+ starts_at?: string | undefined;
37779
+ ends_at?: string | undefined;
37780
+ errors: Array<{
37781
+ error_code: string;
37782
+ message: string;
37783
+ }>;
37784
+ warnings: Array<{
37785
+ warning_code: string;
37786
+ message: string;
37787
+ }>;
37788
+ is_multi_phone_sync_credential?: boolean | undefined;
37789
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
37790
+ latest_desired_state_synced_with_provider_at?: string | undefined;
37791
+ visionline_metadata?: {
37792
+ card_function_type: 'guest' | 'staff';
37793
+ joiner_acs_credential_ids?: string[] | undefined;
37794
+ guest_acs_entrance_ids?: string[] | undefined;
37795
+ common_acs_entrance_ids?: string[] | undefined;
37796
+ is_valid?: boolean | undefined;
37797
+ auto_join?: boolean | undefined;
37798
+ card_id?: string | undefined;
37799
+ credential_id?: string | undefined;
37800
+ } | undefined;
37801
+ is_managed: true;
37802
+ } | {
37803
+ acs_credential_id: string;
37804
+ acs_user_id?: string | undefined;
37805
+ acs_credential_pool_id?: string | undefined;
37806
+ acs_system_id: string;
37807
+ parent_acs_credential_id?: string | undefined;
37808
+ display_name: string;
37809
+ code?: (string | undefined) | null;
37810
+ card_number?: (string | undefined) | null;
37811
+ is_issued?: boolean | undefined;
37812
+ issued_at?: (string | undefined) | null;
37813
+ access_method: 'code' | 'card' | 'mobile_key';
37814
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
37815
+ external_type_display_name?: string | undefined;
37816
+ created_at: string;
37817
+ workspace_id: string;
37818
+ starts_at?: string | undefined;
37819
+ ends_at?: string | undefined;
37820
+ errors: Array<{
37821
+ error_code: string;
37822
+ message: string;
37823
+ }>;
37824
+ warnings: Array<{
37825
+ warning_code: string;
37826
+ message: string;
37827
+ }>;
37828
+ is_multi_phone_sync_credential?: boolean | undefined;
37829
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
37830
+ latest_desired_state_synced_with_provider_at?: string | undefined;
37831
+ visionline_metadata?: {
37832
+ card_function_type: 'guest' | 'staff';
37833
+ joiner_acs_credential_ids?: string[] | undefined;
37834
+ guest_acs_entrance_ids?: string[] | undefined;
37835
+ common_acs_entrance_ids?: string[] | undefined;
37836
+ is_valid?: boolean | undefined;
37837
+ auto_join?: boolean | undefined;
37838
+ card_id?: string | undefined;
37839
+ credential_id?: string | undefined;
37840
+ } | undefined;
37841
+ is_managed: false;
37842
+ };
36606
37843
  } | {
36607
37844
  /** The ID of the action attempt. */
36608
37845
  action_attempt_id: string;
@@ -37164,7 +38401,87 @@ interface Routes {
37164
38401
  status: 'success';
37165
38402
  error: null;
37166
38403
  action_type: 'ENCODE_CARD';
37167
- result: {};
38404
+ result: {
38405
+ acs_credential_id: string;
38406
+ acs_user_id?: string | undefined;
38407
+ acs_credential_pool_id?: string | undefined;
38408
+ acs_system_id: string;
38409
+ parent_acs_credential_id?: string | undefined;
38410
+ display_name: string;
38411
+ code?: (string | undefined) | null;
38412
+ card_number?: (string | undefined) | null;
38413
+ is_issued?: boolean | undefined;
38414
+ issued_at?: (string | undefined) | null;
38415
+ access_method: 'code' | 'card' | 'mobile_key';
38416
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
38417
+ external_type_display_name?: string | undefined;
38418
+ created_at: string;
38419
+ workspace_id: string;
38420
+ starts_at?: string | undefined;
38421
+ ends_at?: string | undefined;
38422
+ errors: Array<{
38423
+ error_code: string;
38424
+ message: string;
38425
+ }>;
38426
+ warnings: Array<{
38427
+ warning_code: string;
38428
+ message: string;
38429
+ }>;
38430
+ is_multi_phone_sync_credential?: boolean | undefined;
38431
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
38432
+ latest_desired_state_synced_with_provider_at?: string | undefined;
38433
+ visionline_metadata?: {
38434
+ card_function_type: 'guest' | 'staff';
38435
+ joiner_acs_credential_ids?: string[] | undefined;
38436
+ guest_acs_entrance_ids?: string[] | undefined;
38437
+ common_acs_entrance_ids?: string[] | undefined;
38438
+ is_valid?: boolean | undefined;
38439
+ auto_join?: boolean | undefined;
38440
+ card_id?: string | undefined;
38441
+ credential_id?: string | undefined;
38442
+ } | undefined;
38443
+ is_managed: true;
38444
+ } | {
38445
+ acs_credential_id: string;
38446
+ acs_user_id?: string | undefined;
38447
+ acs_credential_pool_id?: string | undefined;
38448
+ acs_system_id: string;
38449
+ parent_acs_credential_id?: string | undefined;
38450
+ display_name: string;
38451
+ code?: (string | undefined) | null;
38452
+ card_number?: (string | undefined) | null;
38453
+ is_issued?: boolean | undefined;
38454
+ issued_at?: (string | undefined) | null;
38455
+ access_method: 'code' | 'card' | 'mobile_key';
38456
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
38457
+ external_type_display_name?: string | undefined;
38458
+ created_at: string;
38459
+ workspace_id: string;
38460
+ starts_at?: string | undefined;
38461
+ ends_at?: string | undefined;
38462
+ errors: Array<{
38463
+ error_code: string;
38464
+ message: string;
38465
+ }>;
38466
+ warnings: Array<{
38467
+ warning_code: string;
38468
+ message: string;
38469
+ }>;
38470
+ is_multi_phone_sync_credential?: boolean | undefined;
38471
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
38472
+ latest_desired_state_synced_with_provider_at?: string | undefined;
38473
+ visionline_metadata?: {
38474
+ card_function_type: 'guest' | 'staff';
38475
+ joiner_acs_credential_ids?: string[] | undefined;
38476
+ guest_acs_entrance_ids?: string[] | undefined;
38477
+ common_acs_entrance_ids?: string[] | undefined;
38478
+ is_valid?: boolean | undefined;
38479
+ auto_join?: boolean | undefined;
38480
+ card_id?: string | undefined;
38481
+ credential_id?: string | undefined;
38482
+ } | undefined;
38483
+ is_managed: false;
38484
+ };
37168
38485
  } | {
37169
38486
  /** The ID of the action attempt. */
37170
38487
  action_attempt_id: string;
@@ -37684,7 +39001,7 @@ interface Routes {
37684
39001
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
37685
39002
  custom_redirect_url?: string | undefined;
37686
39003
  custom_redirect_failure_url?: string | undefined;
37687
- accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
39004
+ accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'vostio' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
37688
39005
  provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
37689
39006
  custom_metadata?: Record<string, string | boolean | null> | undefined;
37690
39007
  automatically_manage_new_devices?: boolean;
@@ -38876,7 +40193,7 @@ interface Routes {
38876
40193
  formData: {};
38877
40194
  jsonResponse: {
38878
40195
  device_providers: Array<{
38879
- device_provider_name: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles';
40196
+ device_provider_name: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'vostio';
38880
40197
  display_name: string;
38881
40198
  image_url: string;
38882
40199
  provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems'>;
@@ -41280,7 +42597,87 @@ interface Routes {
41280
42597
  status: 'success';
41281
42598
  error: null;
41282
42599
  action_type: 'ENCODE_CARD';
41283
- result: {};
42600
+ result: {
42601
+ acs_credential_id: string;
42602
+ acs_user_id?: string | undefined;
42603
+ acs_credential_pool_id?: string | undefined;
42604
+ acs_system_id: string;
42605
+ parent_acs_credential_id?: string | undefined;
42606
+ display_name: string;
42607
+ code?: (string | undefined) | null;
42608
+ card_number?: (string | undefined) | null;
42609
+ is_issued?: boolean | undefined;
42610
+ issued_at?: (string | undefined) | null;
42611
+ access_method: 'code' | 'card' | 'mobile_key';
42612
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
42613
+ external_type_display_name?: string | undefined;
42614
+ created_at: string;
42615
+ workspace_id: string;
42616
+ starts_at?: string | undefined;
42617
+ ends_at?: string | undefined;
42618
+ errors: Array<{
42619
+ error_code: string;
42620
+ message: string;
42621
+ }>;
42622
+ warnings: Array<{
42623
+ warning_code: string;
42624
+ message: string;
42625
+ }>;
42626
+ is_multi_phone_sync_credential?: boolean | undefined;
42627
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
42628
+ latest_desired_state_synced_with_provider_at?: string | undefined;
42629
+ visionline_metadata?: {
42630
+ card_function_type: 'guest' | 'staff';
42631
+ joiner_acs_credential_ids?: string[] | undefined;
42632
+ guest_acs_entrance_ids?: string[] | undefined;
42633
+ common_acs_entrance_ids?: string[] | undefined;
42634
+ is_valid?: boolean | undefined;
42635
+ auto_join?: boolean | undefined;
42636
+ card_id?: string | undefined;
42637
+ credential_id?: string | undefined;
42638
+ } | undefined;
42639
+ is_managed: true;
42640
+ } | {
42641
+ acs_credential_id: string;
42642
+ acs_user_id?: string | undefined;
42643
+ acs_credential_pool_id?: string | undefined;
42644
+ acs_system_id: string;
42645
+ parent_acs_credential_id?: string | undefined;
42646
+ display_name: string;
42647
+ code?: (string | undefined) | null;
42648
+ card_number?: (string | undefined) | null;
42649
+ is_issued?: boolean | undefined;
42650
+ issued_at?: (string | undefined) | null;
42651
+ access_method: 'code' | 'card' | 'mobile_key';
42652
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
42653
+ external_type_display_name?: string | undefined;
42654
+ created_at: string;
42655
+ workspace_id: string;
42656
+ starts_at?: string | undefined;
42657
+ ends_at?: string | undefined;
42658
+ errors: Array<{
42659
+ error_code: string;
42660
+ message: string;
42661
+ }>;
42662
+ warnings: Array<{
42663
+ warning_code: string;
42664
+ message: string;
42665
+ }>;
42666
+ is_multi_phone_sync_credential?: boolean | undefined;
42667
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
42668
+ latest_desired_state_synced_with_provider_at?: string | undefined;
42669
+ visionline_metadata?: {
42670
+ card_function_type: 'guest' | 'staff';
42671
+ joiner_acs_credential_ids?: string[] | undefined;
42672
+ guest_acs_entrance_ids?: string[] | undefined;
42673
+ common_acs_entrance_ids?: string[] | undefined;
42674
+ is_valid?: boolean | undefined;
42675
+ auto_join?: boolean | undefined;
42676
+ card_id?: string | undefined;
42677
+ credential_id?: string | undefined;
42678
+ } | undefined;
42679
+ is_managed: false;
42680
+ };
41284
42681
  } | {
41285
42682
  /** The ID of the action attempt. */
41286
42683
  action_attempt_id: string;
@@ -41843,7 +43240,87 @@ interface Routes {
41843
43240
  status: 'success';
41844
43241
  error: null;
41845
43242
  action_type: 'ENCODE_CARD';
41846
- result: {};
43243
+ result: {
43244
+ acs_credential_id: string;
43245
+ acs_user_id?: string | undefined;
43246
+ acs_credential_pool_id?: string | undefined;
43247
+ acs_system_id: string;
43248
+ parent_acs_credential_id?: string | undefined;
43249
+ display_name: string;
43250
+ code?: (string | undefined) | null;
43251
+ card_number?: (string | undefined) | null;
43252
+ is_issued?: boolean | undefined;
43253
+ issued_at?: (string | undefined) | null;
43254
+ access_method: 'code' | 'card' | 'mobile_key';
43255
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
43256
+ external_type_display_name?: string | undefined;
43257
+ created_at: string;
43258
+ workspace_id: string;
43259
+ starts_at?: string | undefined;
43260
+ ends_at?: string | undefined;
43261
+ errors: Array<{
43262
+ error_code: string;
43263
+ message: string;
43264
+ }>;
43265
+ warnings: Array<{
43266
+ warning_code: string;
43267
+ message: string;
43268
+ }>;
43269
+ is_multi_phone_sync_credential?: boolean | undefined;
43270
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
43271
+ latest_desired_state_synced_with_provider_at?: string | undefined;
43272
+ visionline_metadata?: {
43273
+ card_function_type: 'guest' | 'staff';
43274
+ joiner_acs_credential_ids?: string[] | undefined;
43275
+ guest_acs_entrance_ids?: string[] | undefined;
43276
+ common_acs_entrance_ids?: string[] | undefined;
43277
+ is_valid?: boolean | undefined;
43278
+ auto_join?: boolean | undefined;
43279
+ card_id?: string | undefined;
43280
+ credential_id?: string | undefined;
43281
+ } | undefined;
43282
+ is_managed: true;
43283
+ } | {
43284
+ acs_credential_id: string;
43285
+ acs_user_id?: string | undefined;
43286
+ acs_credential_pool_id?: string | undefined;
43287
+ acs_system_id: string;
43288
+ parent_acs_credential_id?: string | undefined;
43289
+ display_name: string;
43290
+ code?: (string | undefined) | null;
43291
+ card_number?: (string | undefined) | null;
43292
+ is_issued?: boolean | undefined;
43293
+ issued_at?: (string | undefined) | null;
43294
+ access_method: 'code' | 'card' | 'mobile_key';
43295
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
43296
+ external_type_display_name?: string | undefined;
43297
+ created_at: string;
43298
+ workspace_id: string;
43299
+ starts_at?: string | undefined;
43300
+ ends_at?: string | undefined;
43301
+ errors: Array<{
43302
+ error_code: string;
43303
+ message: string;
43304
+ }>;
43305
+ warnings: Array<{
43306
+ warning_code: string;
43307
+ message: string;
43308
+ }>;
43309
+ is_multi_phone_sync_credential?: boolean | undefined;
43310
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
43311
+ latest_desired_state_synced_with_provider_at?: string | undefined;
43312
+ visionline_metadata?: {
43313
+ card_function_type: 'guest' | 'staff';
43314
+ joiner_acs_credential_ids?: string[] | undefined;
43315
+ guest_acs_entrance_ids?: string[] | undefined;
43316
+ common_acs_entrance_ids?: string[] | undefined;
43317
+ is_valid?: boolean | undefined;
43318
+ auto_join?: boolean | undefined;
43319
+ card_id?: string | undefined;
43320
+ credential_id?: string | undefined;
43321
+ } | undefined;
43322
+ is_managed: false;
43323
+ };
41847
43324
  } | {
41848
43325
  /** The ID of the action attempt. */
41849
43326
  action_attempt_id: string;
@@ -43350,7 +44827,87 @@ interface Routes {
43350
44827
  status: 'success';
43351
44828
  error: null;
43352
44829
  action_type: 'ENCODE_CARD';
43353
- result: {};
44830
+ result: {
44831
+ acs_credential_id: string;
44832
+ acs_user_id?: string | undefined;
44833
+ acs_credential_pool_id?: string | undefined;
44834
+ acs_system_id: string;
44835
+ parent_acs_credential_id?: string | undefined;
44836
+ display_name: string;
44837
+ code?: (string | undefined) | null;
44838
+ card_number?: (string | undefined) | null;
44839
+ is_issued?: boolean | undefined;
44840
+ issued_at?: (string | undefined) | null;
44841
+ access_method: 'code' | 'card' | 'mobile_key';
44842
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
44843
+ external_type_display_name?: string | undefined;
44844
+ created_at: string;
44845
+ workspace_id: string;
44846
+ starts_at?: string | undefined;
44847
+ ends_at?: string | undefined;
44848
+ errors: Array<{
44849
+ error_code: string;
44850
+ message: string;
44851
+ }>;
44852
+ warnings: Array<{
44853
+ warning_code: string;
44854
+ message: string;
44855
+ }>;
44856
+ is_multi_phone_sync_credential?: boolean | undefined;
44857
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
44858
+ latest_desired_state_synced_with_provider_at?: string | undefined;
44859
+ visionline_metadata?: {
44860
+ card_function_type: 'guest' | 'staff';
44861
+ joiner_acs_credential_ids?: string[] | undefined;
44862
+ guest_acs_entrance_ids?: string[] | undefined;
44863
+ common_acs_entrance_ids?: string[] | undefined;
44864
+ is_valid?: boolean | undefined;
44865
+ auto_join?: boolean | undefined;
44866
+ card_id?: string | undefined;
44867
+ credential_id?: string | undefined;
44868
+ } | undefined;
44869
+ is_managed: true;
44870
+ } | {
44871
+ acs_credential_id: string;
44872
+ acs_user_id?: string | undefined;
44873
+ acs_credential_pool_id?: string | undefined;
44874
+ acs_system_id: string;
44875
+ parent_acs_credential_id?: string | undefined;
44876
+ display_name: string;
44877
+ code?: (string | undefined) | null;
44878
+ card_number?: (string | undefined) | null;
44879
+ is_issued?: boolean | undefined;
44880
+ issued_at?: (string | undefined) | null;
44881
+ access_method: 'code' | 'card' | 'mobile_key';
44882
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
44883
+ external_type_display_name?: string | undefined;
44884
+ created_at: string;
44885
+ workspace_id: string;
44886
+ starts_at?: string | undefined;
44887
+ ends_at?: string | undefined;
44888
+ errors: Array<{
44889
+ error_code: string;
44890
+ message: string;
44891
+ }>;
44892
+ warnings: Array<{
44893
+ warning_code: string;
44894
+ message: string;
44895
+ }>;
44896
+ is_multi_phone_sync_credential?: boolean | undefined;
44897
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
44898
+ latest_desired_state_synced_with_provider_at?: string | undefined;
44899
+ visionline_metadata?: {
44900
+ card_function_type: 'guest' | 'staff';
44901
+ joiner_acs_credential_ids?: string[] | undefined;
44902
+ guest_acs_entrance_ids?: string[] | undefined;
44903
+ common_acs_entrance_ids?: string[] | undefined;
44904
+ is_valid?: boolean | undefined;
44905
+ auto_join?: boolean | undefined;
44906
+ card_id?: string | undefined;
44907
+ credential_id?: string | undefined;
44908
+ } | undefined;
44909
+ is_managed: false;
44910
+ };
43354
44911
  } | {
43355
44912
  /** The ID of the action attempt. */
43356
44913
  action_attempt_id: string;
@@ -43923,7 +45480,87 @@ interface Routes {
43923
45480
  status: 'success';
43924
45481
  error: null;
43925
45482
  action_type: 'ENCODE_CARD';
43926
- result: {};
45483
+ result: {
45484
+ acs_credential_id: string;
45485
+ acs_user_id?: string | undefined;
45486
+ acs_credential_pool_id?: string | undefined;
45487
+ acs_system_id: string;
45488
+ parent_acs_credential_id?: string | undefined;
45489
+ display_name: string;
45490
+ code?: (string | undefined) | null;
45491
+ card_number?: (string | undefined) | null;
45492
+ is_issued?: boolean | undefined;
45493
+ issued_at?: (string | undefined) | null;
45494
+ access_method: 'code' | 'card' | 'mobile_key';
45495
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
45496
+ external_type_display_name?: string | undefined;
45497
+ created_at: string;
45498
+ workspace_id: string;
45499
+ starts_at?: string | undefined;
45500
+ ends_at?: string | undefined;
45501
+ errors: Array<{
45502
+ error_code: string;
45503
+ message: string;
45504
+ }>;
45505
+ warnings: Array<{
45506
+ warning_code: string;
45507
+ message: string;
45508
+ }>;
45509
+ is_multi_phone_sync_credential?: boolean | undefined;
45510
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
45511
+ latest_desired_state_synced_with_provider_at?: string | undefined;
45512
+ visionline_metadata?: {
45513
+ card_function_type: 'guest' | 'staff';
45514
+ joiner_acs_credential_ids?: string[] | undefined;
45515
+ guest_acs_entrance_ids?: string[] | undefined;
45516
+ common_acs_entrance_ids?: string[] | undefined;
45517
+ is_valid?: boolean | undefined;
45518
+ auto_join?: boolean | undefined;
45519
+ card_id?: string | undefined;
45520
+ credential_id?: string | undefined;
45521
+ } | undefined;
45522
+ is_managed: true;
45523
+ } | {
45524
+ acs_credential_id: string;
45525
+ acs_user_id?: string | undefined;
45526
+ acs_credential_pool_id?: string | undefined;
45527
+ acs_system_id: string;
45528
+ parent_acs_credential_id?: string | undefined;
45529
+ display_name: string;
45530
+ code?: (string | undefined) | null;
45531
+ card_number?: (string | undefined) | null;
45532
+ is_issued?: boolean | undefined;
45533
+ issued_at?: (string | undefined) | null;
45534
+ access_method: 'code' | 'card' | 'mobile_key';
45535
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
45536
+ external_type_display_name?: string | undefined;
45537
+ created_at: string;
45538
+ workspace_id: string;
45539
+ starts_at?: string | undefined;
45540
+ ends_at?: string | undefined;
45541
+ errors: Array<{
45542
+ error_code: string;
45543
+ message: string;
45544
+ }>;
45545
+ warnings: Array<{
45546
+ warning_code: string;
45547
+ message: string;
45548
+ }>;
45549
+ is_multi_phone_sync_credential?: boolean | undefined;
45550
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
45551
+ latest_desired_state_synced_with_provider_at?: string | undefined;
45552
+ visionline_metadata?: {
45553
+ card_function_type: 'guest' | 'staff';
45554
+ joiner_acs_credential_ids?: string[] | undefined;
45555
+ guest_acs_entrance_ids?: string[] | undefined;
45556
+ common_acs_entrance_ids?: string[] | undefined;
45557
+ is_valid?: boolean | undefined;
45558
+ auto_join?: boolean | undefined;
45559
+ card_id?: string | undefined;
45560
+ credential_id?: string | undefined;
45561
+ } | undefined;
45562
+ is_managed: false;
45563
+ };
43927
45564
  } | {
43928
45565
  /** The ID of the action attempt. */
43929
45566
  action_attempt_id: string;
@@ -44535,7 +46172,87 @@ interface Routes {
44535
46172
  status: 'success';
44536
46173
  error: null;
44537
46174
  action_type: 'ENCODE_CARD';
44538
- result: {};
46175
+ result: {
46176
+ acs_credential_id: string;
46177
+ acs_user_id?: string | undefined;
46178
+ acs_credential_pool_id?: string | undefined;
46179
+ acs_system_id: string;
46180
+ parent_acs_credential_id?: string | undefined;
46181
+ display_name: string;
46182
+ code?: (string | undefined) | null;
46183
+ card_number?: (string | undefined) | null;
46184
+ is_issued?: boolean | undefined;
46185
+ issued_at?: (string | undefined) | null;
46186
+ access_method: 'code' | 'card' | 'mobile_key';
46187
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
46188
+ external_type_display_name?: string | undefined;
46189
+ created_at: string;
46190
+ workspace_id: string;
46191
+ starts_at?: string | undefined;
46192
+ ends_at?: string | undefined;
46193
+ errors: Array<{
46194
+ error_code: string;
46195
+ message: string;
46196
+ }>;
46197
+ warnings: Array<{
46198
+ warning_code: string;
46199
+ message: string;
46200
+ }>;
46201
+ is_multi_phone_sync_credential?: boolean | undefined;
46202
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
46203
+ latest_desired_state_synced_with_provider_at?: string | undefined;
46204
+ visionline_metadata?: {
46205
+ card_function_type: 'guest' | 'staff';
46206
+ joiner_acs_credential_ids?: string[] | undefined;
46207
+ guest_acs_entrance_ids?: string[] | undefined;
46208
+ common_acs_entrance_ids?: string[] | undefined;
46209
+ is_valid?: boolean | undefined;
46210
+ auto_join?: boolean | undefined;
46211
+ card_id?: string | undefined;
46212
+ credential_id?: string | undefined;
46213
+ } | undefined;
46214
+ is_managed: true;
46215
+ } | {
46216
+ acs_credential_id: string;
46217
+ acs_user_id?: string | undefined;
46218
+ acs_credential_pool_id?: string | undefined;
46219
+ acs_system_id: string;
46220
+ parent_acs_credential_id?: string | undefined;
46221
+ display_name: string;
46222
+ code?: (string | undefined) | null;
46223
+ card_number?: (string | undefined) | null;
46224
+ is_issued?: boolean | undefined;
46225
+ issued_at?: (string | undefined) | null;
46226
+ access_method: 'code' | 'card' | 'mobile_key';
46227
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
46228
+ external_type_display_name?: string | undefined;
46229
+ created_at: string;
46230
+ workspace_id: string;
46231
+ starts_at?: string | undefined;
46232
+ ends_at?: string | undefined;
46233
+ errors: Array<{
46234
+ error_code: string;
46235
+ message: string;
46236
+ }>;
46237
+ warnings: Array<{
46238
+ warning_code: string;
46239
+ message: string;
46240
+ }>;
46241
+ is_multi_phone_sync_credential?: boolean | undefined;
46242
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
46243
+ latest_desired_state_synced_with_provider_at?: string | undefined;
46244
+ visionline_metadata?: {
46245
+ card_function_type: 'guest' | 'staff';
46246
+ joiner_acs_credential_ids?: string[] | undefined;
46247
+ guest_acs_entrance_ids?: string[] | undefined;
46248
+ common_acs_entrance_ids?: string[] | undefined;
46249
+ is_valid?: boolean | undefined;
46250
+ auto_join?: boolean | undefined;
46251
+ card_id?: string | undefined;
46252
+ credential_id?: string | undefined;
46253
+ } | undefined;
46254
+ is_managed: false;
46255
+ };
44539
46256
  } | {
44540
46257
  /** The ID of the action attempt. */
44541
46258
  action_attempt_id: string;
@@ -45280,7 +46997,87 @@ interface Routes {
45280
46997
  status: 'success';
45281
46998
  error: null;
45282
46999
  action_type: 'ENCODE_CARD';
45283
- result: {};
47000
+ result: {
47001
+ acs_credential_id: string;
47002
+ acs_user_id?: string | undefined;
47003
+ acs_credential_pool_id?: string | undefined;
47004
+ acs_system_id: string;
47005
+ parent_acs_credential_id?: string | undefined;
47006
+ display_name: string;
47007
+ code?: (string | undefined) | null;
47008
+ card_number?: (string | undefined) | null;
47009
+ is_issued?: boolean | undefined;
47010
+ issued_at?: (string | undefined) | null;
47011
+ access_method: 'code' | 'card' | 'mobile_key';
47012
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
47013
+ external_type_display_name?: string | undefined;
47014
+ created_at: string;
47015
+ workspace_id: string;
47016
+ starts_at?: string | undefined;
47017
+ ends_at?: string | undefined;
47018
+ errors: Array<{
47019
+ error_code: string;
47020
+ message: string;
47021
+ }>;
47022
+ warnings: Array<{
47023
+ warning_code: string;
47024
+ message: string;
47025
+ }>;
47026
+ is_multi_phone_sync_credential?: boolean | undefined;
47027
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
47028
+ latest_desired_state_synced_with_provider_at?: string | undefined;
47029
+ visionline_metadata?: {
47030
+ card_function_type: 'guest' | 'staff';
47031
+ joiner_acs_credential_ids?: string[] | undefined;
47032
+ guest_acs_entrance_ids?: string[] | undefined;
47033
+ common_acs_entrance_ids?: string[] | undefined;
47034
+ is_valid?: boolean | undefined;
47035
+ auto_join?: boolean | undefined;
47036
+ card_id?: string | undefined;
47037
+ credential_id?: string | undefined;
47038
+ } | undefined;
47039
+ is_managed: true;
47040
+ } | {
47041
+ acs_credential_id: string;
47042
+ acs_user_id?: string | undefined;
47043
+ acs_credential_pool_id?: string | undefined;
47044
+ acs_system_id: string;
47045
+ parent_acs_credential_id?: string | undefined;
47046
+ display_name: string;
47047
+ code?: (string | undefined) | null;
47048
+ card_number?: (string | undefined) | null;
47049
+ is_issued?: boolean | undefined;
47050
+ issued_at?: (string | undefined) | null;
47051
+ access_method: 'code' | 'card' | 'mobile_key';
47052
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
47053
+ external_type_display_name?: string | undefined;
47054
+ created_at: string;
47055
+ workspace_id: string;
47056
+ starts_at?: string | undefined;
47057
+ ends_at?: string | undefined;
47058
+ errors: Array<{
47059
+ error_code: string;
47060
+ message: string;
47061
+ }>;
47062
+ warnings: Array<{
47063
+ warning_code: string;
47064
+ message: string;
47065
+ }>;
47066
+ is_multi_phone_sync_credential?: boolean | undefined;
47067
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
47068
+ latest_desired_state_synced_with_provider_at?: string | undefined;
47069
+ visionline_metadata?: {
47070
+ card_function_type: 'guest' | 'staff';
47071
+ joiner_acs_credential_ids?: string[] | undefined;
47072
+ guest_acs_entrance_ids?: string[] | undefined;
47073
+ common_acs_entrance_ids?: string[] | undefined;
47074
+ is_valid?: boolean | undefined;
47075
+ auto_join?: boolean | undefined;
47076
+ card_id?: string | undefined;
47077
+ credential_id?: string | undefined;
47078
+ } | undefined;
47079
+ is_managed: false;
47080
+ };
45284
47081
  } | {
45285
47082
  /** The ID of the action attempt. */
45286
47083
  action_attempt_id: string;
@@ -45845,7 +47642,87 @@ interface Routes {
45845
47642
  status: 'success';
45846
47643
  error: null;
45847
47644
  action_type: 'ENCODE_CARD';
45848
- result: {};
47645
+ result: {
47646
+ acs_credential_id: string;
47647
+ acs_user_id?: string | undefined;
47648
+ acs_credential_pool_id?: string | undefined;
47649
+ acs_system_id: string;
47650
+ parent_acs_credential_id?: string | undefined;
47651
+ display_name: string;
47652
+ code?: (string | undefined) | null;
47653
+ card_number?: (string | undefined) | null;
47654
+ is_issued?: boolean | undefined;
47655
+ issued_at?: (string | undefined) | null;
47656
+ access_method: 'code' | 'card' | 'mobile_key';
47657
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
47658
+ external_type_display_name?: string | undefined;
47659
+ created_at: string;
47660
+ workspace_id: string;
47661
+ starts_at?: string | undefined;
47662
+ ends_at?: string | undefined;
47663
+ errors: Array<{
47664
+ error_code: string;
47665
+ message: string;
47666
+ }>;
47667
+ warnings: Array<{
47668
+ warning_code: string;
47669
+ message: string;
47670
+ }>;
47671
+ is_multi_phone_sync_credential?: boolean | undefined;
47672
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
47673
+ latest_desired_state_synced_with_provider_at?: string | undefined;
47674
+ visionline_metadata?: {
47675
+ card_function_type: 'guest' | 'staff';
47676
+ joiner_acs_credential_ids?: string[] | undefined;
47677
+ guest_acs_entrance_ids?: string[] | undefined;
47678
+ common_acs_entrance_ids?: string[] | undefined;
47679
+ is_valid?: boolean | undefined;
47680
+ auto_join?: boolean | undefined;
47681
+ card_id?: string | undefined;
47682
+ credential_id?: string | undefined;
47683
+ } | undefined;
47684
+ is_managed: true;
47685
+ } | {
47686
+ acs_credential_id: string;
47687
+ acs_user_id?: string | undefined;
47688
+ acs_credential_pool_id?: string | undefined;
47689
+ acs_system_id: string;
47690
+ parent_acs_credential_id?: string | undefined;
47691
+ display_name: string;
47692
+ code?: (string | undefined) | null;
47693
+ card_number?: (string | undefined) | null;
47694
+ is_issued?: boolean | undefined;
47695
+ issued_at?: (string | undefined) | null;
47696
+ access_method: 'code' | 'card' | 'mobile_key';
47697
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
47698
+ external_type_display_name?: string | undefined;
47699
+ created_at: string;
47700
+ workspace_id: string;
47701
+ starts_at?: string | undefined;
47702
+ ends_at?: string | undefined;
47703
+ errors: Array<{
47704
+ error_code: string;
47705
+ message: string;
47706
+ }>;
47707
+ warnings: Array<{
47708
+ warning_code: string;
47709
+ message: string;
47710
+ }>;
47711
+ is_multi_phone_sync_credential?: boolean | undefined;
47712
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
47713
+ latest_desired_state_synced_with_provider_at?: string | undefined;
47714
+ visionline_metadata?: {
47715
+ card_function_type: 'guest' | 'staff';
47716
+ joiner_acs_credential_ids?: string[] | undefined;
47717
+ guest_acs_entrance_ids?: string[] | undefined;
47718
+ common_acs_entrance_ids?: string[] | undefined;
47719
+ is_valid?: boolean | undefined;
47720
+ auto_join?: boolean | undefined;
47721
+ card_id?: string | undefined;
47722
+ credential_id?: string | undefined;
47723
+ } | undefined;
47724
+ is_managed: false;
47725
+ };
45849
47726
  } | {
45850
47727
  /** The ID of the action attempt. */
45851
47728
  action_attempt_id: string;
@@ -46895,7 +48772,87 @@ interface Routes {
46895
48772
  status: 'success';
46896
48773
  error: null;
46897
48774
  action_type: 'ENCODE_CARD';
46898
- result: {};
48775
+ result: {
48776
+ acs_credential_id: string;
48777
+ acs_user_id?: string | undefined;
48778
+ acs_credential_pool_id?: string | undefined;
48779
+ acs_system_id: string;
48780
+ parent_acs_credential_id?: string | undefined;
48781
+ display_name: string;
48782
+ code?: (string | undefined) | null;
48783
+ card_number?: (string | undefined) | null;
48784
+ is_issued?: boolean | undefined;
48785
+ issued_at?: (string | undefined) | null;
48786
+ access_method: 'code' | 'card' | 'mobile_key';
48787
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
48788
+ external_type_display_name?: string | undefined;
48789
+ created_at: string;
48790
+ workspace_id: string;
48791
+ starts_at?: string | undefined;
48792
+ ends_at?: string | undefined;
48793
+ errors: Array<{
48794
+ error_code: string;
48795
+ message: string;
48796
+ }>;
48797
+ warnings: Array<{
48798
+ warning_code: string;
48799
+ message: string;
48800
+ }>;
48801
+ is_multi_phone_sync_credential?: boolean | undefined;
48802
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
48803
+ latest_desired_state_synced_with_provider_at?: string | undefined;
48804
+ visionline_metadata?: {
48805
+ card_function_type: 'guest' | 'staff';
48806
+ joiner_acs_credential_ids?: string[] | undefined;
48807
+ guest_acs_entrance_ids?: string[] | undefined;
48808
+ common_acs_entrance_ids?: string[] | undefined;
48809
+ is_valid?: boolean | undefined;
48810
+ auto_join?: boolean | undefined;
48811
+ card_id?: string | undefined;
48812
+ credential_id?: string | undefined;
48813
+ } | undefined;
48814
+ is_managed: true;
48815
+ } | {
48816
+ acs_credential_id: string;
48817
+ acs_user_id?: string | undefined;
48818
+ acs_credential_pool_id?: string | undefined;
48819
+ acs_system_id: string;
48820
+ parent_acs_credential_id?: string | undefined;
48821
+ display_name: string;
48822
+ code?: (string | undefined) | null;
48823
+ card_number?: (string | undefined) | null;
48824
+ is_issued?: boolean | undefined;
48825
+ issued_at?: (string | undefined) | null;
48826
+ access_method: 'code' | 'card' | 'mobile_key';
48827
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
48828
+ external_type_display_name?: string | undefined;
48829
+ created_at: string;
48830
+ workspace_id: string;
48831
+ starts_at?: string | undefined;
48832
+ ends_at?: string | undefined;
48833
+ errors: Array<{
48834
+ error_code: string;
48835
+ message: string;
48836
+ }>;
48837
+ warnings: Array<{
48838
+ warning_code: string;
48839
+ message: string;
48840
+ }>;
48841
+ is_multi_phone_sync_credential?: boolean | undefined;
48842
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
48843
+ latest_desired_state_synced_with_provider_at?: string | undefined;
48844
+ visionline_metadata?: {
48845
+ card_function_type: 'guest' | 'staff';
48846
+ joiner_acs_credential_ids?: string[] | undefined;
48847
+ guest_acs_entrance_ids?: string[] | undefined;
48848
+ common_acs_entrance_ids?: string[] | undefined;
48849
+ is_valid?: boolean | undefined;
48850
+ auto_join?: boolean | undefined;
48851
+ card_id?: string | undefined;
48852
+ credential_id?: string | undefined;
48853
+ } | undefined;
48854
+ is_managed: false;
48855
+ };
46899
48856
  } | {
46900
48857
  /** The ID of the action attempt. */
46901
48858
  action_attempt_id: string;
@@ -47462,7 +49419,87 @@ interface Routes {
47462
49419
  status: 'success';
47463
49420
  error: null;
47464
49421
  action_type: 'ENCODE_CARD';
47465
- result: {};
49422
+ result: {
49423
+ acs_credential_id: string;
49424
+ acs_user_id?: string | undefined;
49425
+ acs_credential_pool_id?: string | undefined;
49426
+ acs_system_id: string;
49427
+ parent_acs_credential_id?: string | undefined;
49428
+ display_name: string;
49429
+ code?: (string | undefined) | null;
49430
+ card_number?: (string | undefined) | null;
49431
+ is_issued?: boolean | undefined;
49432
+ issued_at?: (string | undefined) | null;
49433
+ access_method: 'code' | 'card' | 'mobile_key';
49434
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
49435
+ external_type_display_name?: string | undefined;
49436
+ created_at: string;
49437
+ workspace_id: string;
49438
+ starts_at?: string | undefined;
49439
+ ends_at?: string | undefined;
49440
+ errors: Array<{
49441
+ error_code: string;
49442
+ message: string;
49443
+ }>;
49444
+ warnings: Array<{
49445
+ warning_code: string;
49446
+ message: string;
49447
+ }>;
49448
+ is_multi_phone_sync_credential?: boolean | undefined;
49449
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
49450
+ latest_desired_state_synced_with_provider_at?: string | undefined;
49451
+ visionline_metadata?: {
49452
+ card_function_type: 'guest' | 'staff';
49453
+ joiner_acs_credential_ids?: string[] | undefined;
49454
+ guest_acs_entrance_ids?: string[] | undefined;
49455
+ common_acs_entrance_ids?: string[] | undefined;
49456
+ is_valid?: boolean | undefined;
49457
+ auto_join?: boolean | undefined;
49458
+ card_id?: string | undefined;
49459
+ credential_id?: string | undefined;
49460
+ } | undefined;
49461
+ is_managed: true;
49462
+ } | {
49463
+ acs_credential_id: string;
49464
+ acs_user_id?: string | undefined;
49465
+ acs_credential_pool_id?: string | undefined;
49466
+ acs_system_id: string;
49467
+ parent_acs_credential_id?: string | undefined;
49468
+ display_name: string;
49469
+ code?: (string | undefined) | null;
49470
+ card_number?: (string | undefined) | null;
49471
+ is_issued?: boolean | undefined;
49472
+ issued_at?: (string | undefined) | null;
49473
+ access_method: 'code' | 'card' | 'mobile_key';
49474
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
49475
+ external_type_display_name?: string | undefined;
49476
+ created_at: string;
49477
+ workspace_id: string;
49478
+ starts_at?: string | undefined;
49479
+ ends_at?: string | undefined;
49480
+ errors: Array<{
49481
+ error_code: string;
49482
+ message: string;
49483
+ }>;
49484
+ warnings: Array<{
49485
+ warning_code: string;
49486
+ message: string;
49487
+ }>;
49488
+ is_multi_phone_sync_credential?: boolean | undefined;
49489
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
49490
+ latest_desired_state_synced_with_provider_at?: string | undefined;
49491
+ visionline_metadata?: {
49492
+ card_function_type: 'guest' | 'staff';
49493
+ joiner_acs_credential_ids?: string[] | undefined;
49494
+ guest_acs_entrance_ids?: string[] | undefined;
49495
+ common_acs_entrance_ids?: string[] | undefined;
49496
+ is_valid?: boolean | undefined;
49497
+ auto_join?: boolean | undefined;
49498
+ card_id?: string | undefined;
49499
+ credential_id?: string | undefined;
49500
+ } | undefined;
49501
+ is_managed: false;
49502
+ };
47466
49503
  } | {
47467
49504
  /** The ID of the action attempt. */
47468
49505
  action_attempt_id: string;
@@ -48930,7 +50967,87 @@ interface Routes {
48930
50967
  status: 'success';
48931
50968
  error: null;
48932
50969
  action_type: 'ENCODE_CARD';
48933
- result: {};
50970
+ result: {
50971
+ acs_credential_id: string;
50972
+ acs_user_id?: string | undefined;
50973
+ acs_credential_pool_id?: string | undefined;
50974
+ acs_system_id: string;
50975
+ parent_acs_credential_id?: string | undefined;
50976
+ display_name: string;
50977
+ code?: (string | undefined) | null;
50978
+ card_number?: (string | undefined) | null;
50979
+ is_issued?: boolean | undefined;
50980
+ issued_at?: (string | undefined) | null;
50981
+ access_method: 'code' | 'card' | 'mobile_key';
50982
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
50983
+ external_type_display_name?: string | undefined;
50984
+ created_at: string;
50985
+ workspace_id: string;
50986
+ starts_at?: string | undefined;
50987
+ ends_at?: string | undefined;
50988
+ errors: Array<{
50989
+ error_code: string;
50990
+ message: string;
50991
+ }>;
50992
+ warnings: Array<{
50993
+ warning_code: string;
50994
+ message: string;
50995
+ }>;
50996
+ is_multi_phone_sync_credential?: boolean | undefined;
50997
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
50998
+ latest_desired_state_synced_with_provider_at?: string | undefined;
50999
+ visionline_metadata?: {
51000
+ card_function_type: 'guest' | 'staff';
51001
+ joiner_acs_credential_ids?: string[] | undefined;
51002
+ guest_acs_entrance_ids?: string[] | undefined;
51003
+ common_acs_entrance_ids?: string[] | undefined;
51004
+ is_valid?: boolean | undefined;
51005
+ auto_join?: boolean | undefined;
51006
+ card_id?: string | undefined;
51007
+ credential_id?: string | undefined;
51008
+ } | undefined;
51009
+ is_managed: true;
51010
+ } | {
51011
+ acs_credential_id: string;
51012
+ acs_user_id?: string | undefined;
51013
+ acs_credential_pool_id?: string | undefined;
51014
+ acs_system_id: string;
51015
+ parent_acs_credential_id?: string | undefined;
51016
+ display_name: string;
51017
+ code?: (string | undefined) | null;
51018
+ card_number?: (string | undefined) | null;
51019
+ is_issued?: boolean | undefined;
51020
+ issued_at?: (string | undefined) | null;
51021
+ access_method: 'code' | 'card' | 'mobile_key';
51022
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
51023
+ external_type_display_name?: string | undefined;
51024
+ created_at: string;
51025
+ workspace_id: string;
51026
+ starts_at?: string | undefined;
51027
+ ends_at?: string | undefined;
51028
+ errors: Array<{
51029
+ error_code: string;
51030
+ message: string;
51031
+ }>;
51032
+ warnings: Array<{
51033
+ warning_code: string;
51034
+ message: string;
51035
+ }>;
51036
+ is_multi_phone_sync_credential?: boolean | undefined;
51037
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
51038
+ latest_desired_state_synced_with_provider_at?: string | undefined;
51039
+ visionline_metadata?: {
51040
+ card_function_type: 'guest' | 'staff';
51041
+ joiner_acs_credential_ids?: string[] | undefined;
51042
+ guest_acs_entrance_ids?: string[] | undefined;
51043
+ common_acs_entrance_ids?: string[] | undefined;
51044
+ is_valid?: boolean | undefined;
51045
+ auto_join?: boolean | undefined;
51046
+ card_id?: string | undefined;
51047
+ credential_id?: string | undefined;
51048
+ } | undefined;
51049
+ is_managed: false;
51050
+ };
48934
51051
  } | {
48935
51052
  /** The ID of the action attempt. */
48936
51053
  action_attempt_id: string;
@@ -49614,7 +51731,87 @@ interface Routes {
49614
51731
  status: 'success';
49615
51732
  error: null;
49616
51733
  action_type: 'ENCODE_CARD';
49617
- result: {};
51734
+ result: {
51735
+ acs_credential_id: string;
51736
+ acs_user_id?: string | undefined;
51737
+ acs_credential_pool_id?: string | undefined;
51738
+ acs_system_id: string;
51739
+ parent_acs_credential_id?: string | undefined;
51740
+ display_name: string;
51741
+ code?: (string | undefined) | null;
51742
+ card_number?: (string | undefined) | null;
51743
+ is_issued?: boolean | undefined;
51744
+ issued_at?: (string | undefined) | null;
51745
+ access_method: 'code' | 'card' | 'mobile_key';
51746
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
51747
+ external_type_display_name?: string | undefined;
51748
+ created_at: string;
51749
+ workspace_id: string;
51750
+ starts_at?: string | undefined;
51751
+ ends_at?: string | undefined;
51752
+ errors: Array<{
51753
+ error_code: string;
51754
+ message: string;
51755
+ }>;
51756
+ warnings: Array<{
51757
+ warning_code: string;
51758
+ message: string;
51759
+ }>;
51760
+ is_multi_phone_sync_credential?: boolean | undefined;
51761
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
51762
+ latest_desired_state_synced_with_provider_at?: string | undefined;
51763
+ visionline_metadata?: {
51764
+ card_function_type: 'guest' | 'staff';
51765
+ joiner_acs_credential_ids?: string[] | undefined;
51766
+ guest_acs_entrance_ids?: string[] | undefined;
51767
+ common_acs_entrance_ids?: string[] | undefined;
51768
+ is_valid?: boolean | undefined;
51769
+ auto_join?: boolean | undefined;
51770
+ card_id?: string | undefined;
51771
+ credential_id?: string | undefined;
51772
+ } | undefined;
51773
+ is_managed: true;
51774
+ } | {
51775
+ acs_credential_id: string;
51776
+ acs_user_id?: string | undefined;
51777
+ acs_credential_pool_id?: string | undefined;
51778
+ acs_system_id: string;
51779
+ parent_acs_credential_id?: string | undefined;
51780
+ display_name: string;
51781
+ code?: (string | undefined) | null;
51782
+ card_number?: (string | undefined) | null;
51783
+ is_issued?: boolean | undefined;
51784
+ issued_at?: (string | undefined) | null;
51785
+ access_method: 'code' | 'card' | 'mobile_key';
51786
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
51787
+ external_type_display_name?: string | undefined;
51788
+ created_at: string;
51789
+ workspace_id: string;
51790
+ starts_at?: string | undefined;
51791
+ ends_at?: string | undefined;
51792
+ errors: Array<{
51793
+ error_code: string;
51794
+ message: string;
51795
+ }>;
51796
+ warnings: Array<{
51797
+ warning_code: string;
51798
+ message: string;
51799
+ }>;
51800
+ is_multi_phone_sync_credential?: boolean | undefined;
51801
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
51802
+ latest_desired_state_synced_with_provider_at?: string | undefined;
51803
+ visionline_metadata?: {
51804
+ card_function_type: 'guest' | 'staff';
51805
+ joiner_acs_credential_ids?: string[] | undefined;
51806
+ guest_acs_entrance_ids?: string[] | undefined;
51807
+ common_acs_entrance_ids?: string[] | undefined;
51808
+ is_valid?: boolean | undefined;
51809
+ auto_join?: boolean | undefined;
51810
+ card_id?: string | undefined;
51811
+ credential_id?: string | undefined;
51812
+ } | undefined;
51813
+ is_managed: false;
51814
+ };
49618
51815
  } | {
49619
51816
  /** The ID of the action attempt. */
49620
51817
  action_attempt_id: string;
@@ -51652,7 +53849,87 @@ interface Routes {
51652
53849
  status: 'success';
51653
53850
  error: null;
51654
53851
  action_type: 'ENCODE_CARD';
51655
- result: {};
53852
+ result: {
53853
+ acs_credential_id: string;
53854
+ acs_user_id?: string | undefined;
53855
+ acs_credential_pool_id?: string | undefined;
53856
+ acs_system_id: string;
53857
+ parent_acs_credential_id?: string | undefined;
53858
+ display_name: string;
53859
+ code?: (string | undefined) | null;
53860
+ card_number?: (string | undefined) | null;
53861
+ is_issued?: boolean | undefined;
53862
+ issued_at?: (string | undefined) | null;
53863
+ access_method: 'code' | 'card' | 'mobile_key';
53864
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
53865
+ external_type_display_name?: string | undefined;
53866
+ created_at: string;
53867
+ workspace_id: string;
53868
+ starts_at?: string | undefined;
53869
+ ends_at?: string | undefined;
53870
+ errors: Array<{
53871
+ error_code: string;
53872
+ message: string;
53873
+ }>;
53874
+ warnings: Array<{
53875
+ warning_code: string;
53876
+ message: string;
53877
+ }>;
53878
+ is_multi_phone_sync_credential?: boolean | undefined;
53879
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
53880
+ latest_desired_state_synced_with_provider_at?: string | undefined;
53881
+ visionline_metadata?: {
53882
+ card_function_type: 'guest' | 'staff';
53883
+ joiner_acs_credential_ids?: string[] | undefined;
53884
+ guest_acs_entrance_ids?: string[] | undefined;
53885
+ common_acs_entrance_ids?: string[] | undefined;
53886
+ is_valid?: boolean | undefined;
53887
+ auto_join?: boolean | undefined;
53888
+ card_id?: string | undefined;
53889
+ credential_id?: string | undefined;
53890
+ } | undefined;
53891
+ is_managed: true;
53892
+ } | {
53893
+ acs_credential_id: string;
53894
+ acs_user_id?: string | undefined;
53895
+ acs_credential_pool_id?: string | undefined;
53896
+ acs_system_id: string;
53897
+ parent_acs_credential_id?: string | undefined;
53898
+ display_name: string;
53899
+ code?: (string | undefined) | null;
53900
+ card_number?: (string | undefined) | null;
53901
+ is_issued?: boolean | undefined;
53902
+ issued_at?: (string | undefined) | null;
53903
+ access_method: 'code' | 'card' | 'mobile_key';
53904
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
53905
+ external_type_display_name?: string | undefined;
53906
+ created_at: string;
53907
+ workspace_id: string;
53908
+ starts_at?: string | undefined;
53909
+ ends_at?: string | undefined;
53910
+ errors: Array<{
53911
+ error_code: string;
53912
+ message: string;
53913
+ }>;
53914
+ warnings: Array<{
53915
+ warning_code: string;
53916
+ message: string;
53917
+ }>;
53918
+ is_multi_phone_sync_credential?: boolean | undefined;
53919
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
53920
+ latest_desired_state_synced_with_provider_at?: string | undefined;
53921
+ visionline_metadata?: {
53922
+ card_function_type: 'guest' | 'staff';
53923
+ joiner_acs_credential_ids?: string[] | undefined;
53924
+ guest_acs_entrance_ids?: string[] | undefined;
53925
+ common_acs_entrance_ids?: string[] | undefined;
53926
+ is_valid?: boolean | undefined;
53927
+ auto_join?: boolean | undefined;
53928
+ card_id?: string | undefined;
53929
+ credential_id?: string | undefined;
53930
+ } | undefined;
53931
+ is_managed: false;
53932
+ };
51656
53933
  } | {
51657
53934
  /** The ID of the action attempt. */
51658
53935
  action_attempt_id: string;