@seamapi/types 1.249.0 → 1.252.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.
Files changed (34) hide show
  1. package/dist/connect.cjs +254 -51
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1219 -12
  4. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +93 -0
  5. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
  6. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/read-card.d.ts +96 -0
  8. package/lib/seam/connect/models/action-attempts/read-card.js +36 -0
  9. package/lib/seam/connect/models/action-attempts/read-card.js.map +1 -0
  10. package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
  11. package/lib/seam/connect/models/events/acs/common.js +2 -1
  12. package/lib/seam/connect/models/events/acs/common.js.map +1 -1
  13. package/lib/seam/connect/models/events/acs/credentials.d.ts +6 -6
  14. package/lib/seam/connect/models/events/acs/index.d.ts +35 -9
  15. package/lib/seam/connect/models/events/acs/systems.d.ts +60 -6
  16. package/lib/seam/connect/models/events/acs/systems.js +9 -1
  17. package/lib/seam/connect/models/events/acs/systems.js.map +1 -1
  18. package/lib/seam/connect/models/events/acs/users.d.ts +6 -6
  19. package/lib/seam/connect/models/events/devices.d.ts +86 -0
  20. package/lib/seam/connect/models/events/devices.js +21 -0
  21. package/lib/seam/connect/models/events/devices.js.map +1 -1
  22. package/lib/seam/connect/models/events/seam-event.d.ts +35 -9
  23. package/lib/seam/connect/openapi.d.ts +138 -1
  24. package/lib/seam/connect/openapi.js +156 -0
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +1104 -153
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  29. package/src/lib/seam/connect/models/action-attempts/read-card.ts +46 -0
  30. package/src/lib/seam/connect/models/events/acs/common.ts +2 -1
  31. package/src/lib/seam/connect/models/events/acs/systems.ts +12 -1
  32. package/src/lib/seam/connect/models/events/devices.ts +33 -0
  33. package/src/lib/seam/connect/openapi.ts +158 -0
  34. package/src/lib/seam/connect/route-types.ts +1115 -55
@@ -73,6 +73,35 @@ export interface Routes {
73
73
  type: string;
74
74
  message: string;
75
75
  };
76
+ } | {
77
+ /** The ID of the action attempt. */
78
+ action_attempt_id: string;
79
+ status: 'pending';
80
+ result: null;
81
+ error: null;
82
+ action_type: 'READ_CARD';
83
+ } | {
84
+ /** The ID of the action attempt. */
85
+ action_attempt_id: string;
86
+ status: 'success';
87
+ error: null;
88
+ action_type: 'READ_CARD';
89
+ result: {
90
+ /** Matching acs_credential currently encoded on this card. */
91
+ acs_credential_id: string | null;
92
+ /** A number or sting that physically identifies this card. */
93
+ card_number: string | null;
94
+ };
95
+ } | {
96
+ /** The ID of the action attempt. */
97
+ action_attempt_id: string;
98
+ status: 'error';
99
+ result: null;
100
+ action_type: 'READ_CARD';
101
+ error: {
102
+ type: string;
103
+ message: string;
104
+ };
76
105
  } | {
77
106
  /** The ID of the action attempt. */
78
107
  action_attempt_id: string;
@@ -621,6 +650,35 @@ export interface Routes {
621
650
  type: string;
622
651
  message: string;
623
652
  };
653
+ } | {
654
+ /** The ID of the action attempt. */
655
+ action_attempt_id: string;
656
+ status: 'pending';
657
+ result: null;
658
+ error: null;
659
+ action_type: 'READ_CARD';
660
+ } | {
661
+ /** The ID of the action attempt. */
662
+ action_attempt_id: string;
663
+ status: 'success';
664
+ error: null;
665
+ action_type: 'READ_CARD';
666
+ result: {
667
+ /** Matching acs_credential currently encoded on this card. */
668
+ acs_credential_id: string | null;
669
+ /** A number or sting that physically identifies this card. */
670
+ card_number: string | null;
671
+ };
672
+ } | {
673
+ /** The ID of the action attempt. */
674
+ action_attempt_id: string;
675
+ status: 'error';
676
+ result: null;
677
+ action_type: 'READ_CARD';
678
+ error: {
679
+ type: string;
680
+ message: string;
681
+ };
624
682
  } | {
625
683
  /** The ID of the action attempt. */
626
684
  action_attempt_id: string;
@@ -1326,6 +1384,35 @@ export interface Routes {
1326
1384
  type: string;
1327
1385
  message: string;
1328
1386
  };
1387
+ } | {
1388
+ /** The ID of the action attempt. */
1389
+ action_attempt_id: string;
1390
+ status: 'pending';
1391
+ result: null;
1392
+ error: null;
1393
+ action_type: 'READ_CARD';
1394
+ } | {
1395
+ /** The ID of the action attempt. */
1396
+ action_attempt_id: string;
1397
+ status: 'success';
1398
+ error: null;
1399
+ action_type: 'READ_CARD';
1400
+ result: {
1401
+ /** Matching acs_credential currently encoded on this card. */
1402
+ acs_credential_id: string | null;
1403
+ /** A number or sting that physically identifies this card. */
1404
+ card_number: string | null;
1405
+ };
1406
+ } | {
1407
+ /** The ID of the action attempt. */
1408
+ action_attempt_id: string;
1409
+ status: 'error';
1410
+ result: null;
1411
+ action_type: 'READ_CARD';
1412
+ error: {
1413
+ type: string;
1414
+ message: string;
1415
+ };
1329
1416
  } | {
1330
1417
  /** The ID of the action attempt. */
1331
1418
  action_attempt_id: string;
@@ -1861,6 +1948,35 @@ export interface Routes {
1861
1948
  type: string;
1862
1949
  message: string;
1863
1950
  };
1951
+ } | {
1952
+ /** The ID of the action attempt. */
1953
+ action_attempt_id: string;
1954
+ status: 'pending';
1955
+ result: null;
1956
+ error: null;
1957
+ action_type: 'READ_CARD';
1958
+ } | {
1959
+ /** The ID of the action attempt. */
1960
+ action_attempt_id: string;
1961
+ status: 'success';
1962
+ error: null;
1963
+ action_type: 'READ_CARD';
1964
+ result: {
1965
+ /** Matching acs_credential currently encoded on this card. */
1966
+ acs_credential_id: string | null;
1967
+ /** A number or sting that physically identifies this card. */
1968
+ card_number: string | null;
1969
+ };
1970
+ } | {
1971
+ /** The ID of the action attempt. */
1972
+ action_attempt_id: string;
1973
+ status: 'error';
1974
+ result: null;
1975
+ action_type: 'READ_CARD';
1976
+ error: {
1977
+ type: string;
1978
+ message: string;
1979
+ };
1864
1980
  } | {
1865
1981
  /** The ID of the action attempt. */
1866
1982
  action_attempt_id: string;
@@ -2806,163 +2922,592 @@ export interface Routes {
2806
2922
  }>;
2807
2923
  };
2808
2924
  };
2809
- '/acs/credentials/unassign': {
2810
- route: '/acs/credentials/unassign';
2811
- method: 'PATCH' | 'POST';
2812
- queryParams: {};
2813
- jsonBody: {
2814
- acs_user_id: string;
2815
- acs_credential_id: string;
2816
- };
2817
- commonParams: {};
2818
- formData: {};
2819
- jsonResponse: {
2820
- acs_credential: {
2821
- acs_credential_id: string;
2822
- acs_user_id?: string | undefined;
2823
- acs_credential_pool_id?: string | undefined;
2824
- acs_system_id: string;
2825
- parent_acs_credential_id?: string | undefined;
2826
- display_name: string;
2827
- code?: (string | undefined) | null;
2828
- card_number?: (string | undefined) | null;
2829
- is_encoded?: boolean | undefined;
2830
- encoded_at?: (string | undefined) | null;
2831
- access_method: 'code' | 'card' | 'mobile_key';
2832
- external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2833
- external_type_display_name?: string | undefined;
2834
- created_at: string;
2835
- workspace_id: string;
2836
- starts_at?: string | undefined;
2837
- ends_at?: string | undefined;
2838
- errors: Array<{
2839
- error_code: string;
2840
- message: string;
2841
- }>;
2842
- warnings: Array<{
2843
- warning_code: string;
2844
- message: string;
2845
- }>;
2846
- is_multi_phone_sync_credential?: boolean | undefined;
2847
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
2848
- latest_desired_state_synced_with_provider_at?: string | undefined;
2849
- visionline_metadata?: {
2850
- card_function_type: 'guest' | 'staff';
2851
- joiner_acs_credential_ids?: string[] | undefined;
2852
- guest_acs_entrance_ids?: string[] | undefined;
2853
- common_acs_entrance_ids?: string[] | undefined;
2854
- is_valid?: boolean | undefined;
2855
- card_id?: string | undefined;
2856
- credential_id?: string | undefined;
2857
- } | undefined;
2858
- is_managed: true;
2859
- };
2860
- };
2861
- };
2862
- '/acs/credentials/unmanaged/get': {
2863
- route: '/acs/credentials/unmanaged/get';
2864
- method: 'GET' | 'POST';
2865
- queryParams: {};
2866
- jsonBody: {};
2867
- commonParams: {
2868
- acs_credential_id: string;
2869
- };
2870
- formData: {};
2871
- jsonResponse: {
2872
- acs_credential: {
2873
- acs_credential_id: string;
2874
- acs_user_id?: string | undefined;
2875
- acs_credential_pool_id?: string | undefined;
2876
- acs_system_id: string;
2877
- parent_acs_credential_id?: string | undefined;
2878
- display_name: string;
2879
- code?: (string | undefined) | null;
2880
- card_number?: (string | undefined) | null;
2881
- is_encoded?: boolean | undefined;
2882
- encoded_at?: (string | undefined) | null;
2883
- access_method: 'code' | 'card' | 'mobile_key';
2884
- external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2885
- external_type_display_name?: string | undefined;
2886
- created_at: string;
2887
- workspace_id: string;
2888
- starts_at?: string | undefined;
2889
- ends_at?: string | undefined;
2890
- errors: Array<{
2891
- error_code: string;
2892
- message: string;
2893
- }>;
2894
- warnings: Array<{
2895
- warning_code: string;
2896
- message: string;
2897
- }>;
2898
- is_multi_phone_sync_credential?: boolean | undefined;
2899
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
2900
- latest_desired_state_synced_with_provider_at?: string | undefined;
2901
- visionline_metadata?: {
2902
- card_function_type: 'guest' | 'staff';
2903
- joiner_acs_credential_ids?: string[] | undefined;
2904
- guest_acs_entrance_ids?: string[] | undefined;
2905
- common_acs_entrance_ids?: string[] | undefined;
2906
- is_valid?: boolean | undefined;
2907
- card_id?: string | undefined;
2908
- credential_id?: string | undefined;
2909
- } | undefined;
2910
- is_managed: false;
2911
- };
2912
- };
2913
- };
2914
- '/acs/credentials/unmanaged/list': {
2915
- route: '/acs/credentials/unmanaged/list';
2916
- method: 'GET' | 'POST';
2925
+ '/acs/credentials/read_card': {
2926
+ route: '/acs/credentials/read_card';
2927
+ method: 'POST';
2917
2928
  queryParams: {};
2918
2929
  jsonBody: {};
2919
2930
  commonParams: {
2920
- acs_user_id: string;
2921
- } | {
2922
- acs_system_id: string;
2923
- } | {
2924
- acs_user_id: string;
2925
2931
  acs_system_id: string;
2932
+ device_name: string;
2926
2933
  } | {
2927
- user_identity_id: string;
2934
+ device_id: string;
2928
2935
  };
2929
2936
  formData: {};
2930
2937
  jsonResponse: {
2931
- acs_credentials: Array<{
2932
- acs_credential_id: string;
2933
- acs_user_id?: string | undefined;
2934
- acs_credential_pool_id?: string | undefined;
2935
- acs_system_id: string;
2936
- parent_acs_credential_id?: string | undefined;
2937
- display_name: string;
2938
- code?: (string | undefined) | null;
2939
- card_number?: (string | undefined) | null;
2940
- is_encoded?: boolean | undefined;
2941
- encoded_at?: (string | undefined) | null;
2942
- access_method: 'code' | 'card' | 'mobile_key';
2943
- external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2944
- external_type_display_name?: string | undefined;
2945
- created_at: string;
2946
- workspace_id: string;
2947
- starts_at?: string | undefined;
2948
- ends_at?: string | undefined;
2949
- errors: Array<{
2950
- error_code: string;
2951
- message: string;
2952
- }>;
2953
- warnings: Array<{
2954
- warning_code: string;
2938
+ action_attempt: {
2939
+ /** The ID of the action attempt. */
2940
+ action_attempt_id: string;
2941
+ status: 'pending';
2942
+ result: null;
2943
+ error: null;
2944
+ action_type: 'LOCK_DOOR';
2945
+ } | {
2946
+ /** The ID of the action attempt. */
2947
+ action_attempt_id: string;
2948
+ status: 'success';
2949
+ error: null;
2950
+ action_type: 'LOCK_DOOR';
2951
+ result: {};
2952
+ } | {
2953
+ /** The ID of the action attempt. */
2954
+ action_attempt_id: string;
2955
+ status: 'error';
2956
+ result: null;
2957
+ action_type: 'LOCK_DOOR';
2958
+ error: {
2959
+ type: string;
2955
2960
  message: string;
2956
- }>;
2957
- is_multi_phone_sync_credential?: boolean | undefined;
2958
- is_latest_desired_state_synced_with_provider?: boolean | undefined;
2959
- latest_desired_state_synced_with_provider_at?: string | undefined;
2960
- visionline_metadata?: {
2961
- card_function_type: 'guest' | 'staff';
2962
- joiner_acs_credential_ids?: string[] | undefined;
2963
- guest_acs_entrance_ids?: string[] | undefined;
2964
- common_acs_entrance_ids?: string[] | undefined;
2965
- is_valid?: boolean | undefined;
2961
+ };
2962
+ } | {
2963
+ /** The ID of the action attempt. */
2964
+ action_attempt_id: string;
2965
+ status: 'pending';
2966
+ result: null;
2967
+ error: null;
2968
+ action_type: 'UNLOCK_DOOR';
2969
+ } | {
2970
+ /** The ID of the action attempt. */
2971
+ action_attempt_id: string;
2972
+ status: 'success';
2973
+ error: null;
2974
+ action_type: 'UNLOCK_DOOR';
2975
+ result: {};
2976
+ } | {
2977
+ /** The ID of the action attempt. */
2978
+ action_attempt_id: string;
2979
+ status: 'error';
2980
+ result: null;
2981
+ action_type: 'UNLOCK_DOOR';
2982
+ error: {
2983
+ type: string;
2984
+ message: string;
2985
+ };
2986
+ } | {
2987
+ /** The ID of the action attempt. */
2988
+ action_attempt_id: string;
2989
+ status: 'pending';
2990
+ result: null;
2991
+ error: null;
2992
+ action_type: 'READ_CARD';
2993
+ } | {
2994
+ /** The ID of the action attempt. */
2995
+ action_attempt_id: string;
2996
+ status: 'success';
2997
+ error: null;
2998
+ action_type: 'READ_CARD';
2999
+ result: {
3000
+ /** Matching acs_credential currently encoded on this card. */
3001
+ acs_credential_id: string | null;
3002
+ /** A number or sting that physically identifies this card. */
3003
+ card_number: string | null;
3004
+ };
3005
+ } | {
3006
+ /** The ID of the action attempt. */
3007
+ action_attempt_id: string;
3008
+ status: 'error';
3009
+ result: null;
3010
+ action_type: 'READ_CARD';
3011
+ error: {
3012
+ type: string;
3013
+ message: string;
3014
+ };
3015
+ } | {
3016
+ /** The ID of the action attempt. */
3017
+ action_attempt_id: string;
3018
+ status: 'pending';
3019
+ result: null;
3020
+ error: null;
3021
+ action_type: 'RESET_SANDBOX_WORKSPACE';
3022
+ } | {
3023
+ /** The ID of the action attempt. */
3024
+ action_attempt_id: string;
3025
+ status: 'success';
3026
+ error: null;
3027
+ action_type: 'RESET_SANDBOX_WORKSPACE';
3028
+ result: {};
3029
+ } | {
3030
+ /** The ID of the action attempt. */
3031
+ action_attempt_id: string;
3032
+ status: 'error';
3033
+ result: null;
3034
+ action_type: 'RESET_SANDBOX_WORKSPACE';
3035
+ error: {
3036
+ type: string;
3037
+ message: string;
3038
+ };
3039
+ } | {
3040
+ /** The ID of the action attempt. */
3041
+ action_attempt_id: string;
3042
+ status: 'pending';
3043
+ result: null;
3044
+ error: null;
3045
+ action_type: 'SET_COOL';
3046
+ } | {
3047
+ /** The ID of the action attempt. */
3048
+ action_attempt_id: string;
3049
+ status: 'success';
3050
+ error: null;
3051
+ action_type: 'SET_COOL';
3052
+ result: {};
3053
+ } | {
3054
+ /** The ID of the action attempt. */
3055
+ action_attempt_id: string;
3056
+ status: 'error';
3057
+ result: null;
3058
+ action_type: 'SET_COOL';
3059
+ error: {
3060
+ type: string;
3061
+ message: string;
3062
+ };
3063
+ } | {
3064
+ /** The ID of the action attempt. */
3065
+ action_attempt_id: string;
3066
+ status: 'pending';
3067
+ result: null;
3068
+ error: null;
3069
+ action_type: 'SET_HEAT';
3070
+ } | {
3071
+ /** The ID of the action attempt. */
3072
+ action_attempt_id: string;
3073
+ status: 'success';
3074
+ error: null;
3075
+ action_type: 'SET_HEAT';
3076
+ result: {};
3077
+ } | {
3078
+ /** The ID of the action attempt. */
3079
+ action_attempt_id: string;
3080
+ status: 'error';
3081
+ result: null;
3082
+ action_type: 'SET_HEAT';
3083
+ error: {
3084
+ type: string;
3085
+ message: string;
3086
+ };
3087
+ } | {
3088
+ /** The ID of the action attempt. */
3089
+ action_attempt_id: string;
3090
+ status: 'pending';
3091
+ result: null;
3092
+ error: null;
3093
+ action_type: 'SET_HEAT_COOL';
3094
+ } | {
3095
+ /** The ID of the action attempt. */
3096
+ action_attempt_id: string;
3097
+ status: 'success';
3098
+ error: null;
3099
+ action_type: 'SET_HEAT_COOL';
3100
+ result: {};
3101
+ } | {
3102
+ /** The ID of the action attempt. */
3103
+ action_attempt_id: string;
3104
+ status: 'error';
3105
+ result: null;
3106
+ action_type: 'SET_HEAT_COOL';
3107
+ error: {
3108
+ type: string;
3109
+ message: string;
3110
+ };
3111
+ } | {
3112
+ /** The ID of the action attempt. */
3113
+ action_attempt_id: string;
3114
+ status: 'pending';
3115
+ result: null;
3116
+ error: null;
3117
+ action_type: 'SET_FAN_MODE';
3118
+ } | {
3119
+ /** The ID of the action attempt. */
3120
+ action_attempt_id: string;
3121
+ status: 'success';
3122
+ error: null;
3123
+ action_type: 'SET_FAN_MODE';
3124
+ result: {};
3125
+ } | {
3126
+ /** The ID of the action attempt. */
3127
+ action_attempt_id: string;
3128
+ status: 'error';
3129
+ result: null;
3130
+ action_type: 'SET_FAN_MODE';
3131
+ error: {
3132
+ type: string;
3133
+ message: string;
3134
+ };
3135
+ } | {
3136
+ /** The ID of the action attempt. */
3137
+ action_attempt_id: string;
3138
+ status: 'pending';
3139
+ result: null;
3140
+ error: null;
3141
+ action_type: 'SET_THERMOSTAT_OFF';
3142
+ } | {
3143
+ /** The ID of the action attempt. */
3144
+ action_attempt_id: string;
3145
+ status: 'success';
3146
+ error: null;
3147
+ action_type: 'SET_THERMOSTAT_OFF';
3148
+ result: {};
3149
+ } | {
3150
+ /** The ID of the action attempt. */
3151
+ action_attempt_id: string;
3152
+ status: 'error';
3153
+ result: null;
3154
+ action_type: 'SET_THERMOSTAT_OFF';
3155
+ error: {
3156
+ type: string;
3157
+ message: string;
3158
+ };
3159
+ } | {
3160
+ /** The ID of the action attempt. */
3161
+ action_attempt_id: string;
3162
+ status: 'pending';
3163
+ result: null;
3164
+ error: null;
3165
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
3166
+ } | {
3167
+ /** The ID of the action attempt. */
3168
+ action_attempt_id: string;
3169
+ status: 'success';
3170
+ error: null;
3171
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
3172
+ result: {};
3173
+ } | {
3174
+ /** The ID of the action attempt. */
3175
+ action_attempt_id: string;
3176
+ status: 'error';
3177
+ result: null;
3178
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
3179
+ error: {
3180
+ type: string;
3181
+ message: string;
3182
+ };
3183
+ } | {
3184
+ /** The ID of the action attempt. */
3185
+ action_attempt_id: string;
3186
+ status: 'pending';
3187
+ result: null;
3188
+ error: null;
3189
+ action_type: 'SYNC_ACCESS_CODES';
3190
+ } | {
3191
+ /** The ID of the action attempt. */
3192
+ action_attempt_id: string;
3193
+ status: 'success';
3194
+ error: null;
3195
+ action_type: 'SYNC_ACCESS_CODES';
3196
+ result?: any;
3197
+ } | {
3198
+ /** The ID of the action attempt. */
3199
+ action_attempt_id: string;
3200
+ status: 'error';
3201
+ result: null;
3202
+ action_type: 'SYNC_ACCESS_CODES';
3203
+ error: {
3204
+ type: string;
3205
+ message: string;
3206
+ };
3207
+ } | {
3208
+ /** The ID of the action attempt. */
3209
+ action_attempt_id: string;
3210
+ status: 'pending';
3211
+ result: null;
3212
+ error: null;
3213
+ action_type: 'CREATE_ACCESS_CODE';
3214
+ } | {
3215
+ /** The ID of the action attempt. */
3216
+ action_attempt_id: string;
3217
+ status: 'success';
3218
+ error: null;
3219
+ action_type: 'CREATE_ACCESS_CODE';
3220
+ result?: any;
3221
+ } | {
3222
+ /** The ID of the action attempt. */
3223
+ action_attempt_id: string;
3224
+ status: 'error';
3225
+ result: null;
3226
+ action_type: 'CREATE_ACCESS_CODE';
3227
+ error: {
3228
+ type: string;
3229
+ message: string;
3230
+ };
3231
+ } | {
3232
+ /** The ID of the action attempt. */
3233
+ action_attempt_id: string;
3234
+ status: 'pending';
3235
+ result: null;
3236
+ error: null;
3237
+ action_type: 'DELETE_ACCESS_CODE';
3238
+ } | {
3239
+ /** The ID of the action attempt. */
3240
+ action_attempt_id: string;
3241
+ status: 'success';
3242
+ error: null;
3243
+ action_type: 'DELETE_ACCESS_CODE';
3244
+ result?: any;
3245
+ } | {
3246
+ /** The ID of the action attempt. */
3247
+ action_attempt_id: string;
3248
+ status: 'error';
3249
+ result: null;
3250
+ action_type: 'DELETE_ACCESS_CODE';
3251
+ error: {
3252
+ type: string;
3253
+ message: string;
3254
+ };
3255
+ } | {
3256
+ /** The ID of the action attempt. */
3257
+ action_attempt_id: string;
3258
+ status: 'pending';
3259
+ result: null;
3260
+ error: null;
3261
+ action_type: 'UPDATE_ACCESS_CODE';
3262
+ } | {
3263
+ /** The ID of the action attempt. */
3264
+ action_attempt_id: string;
3265
+ status: 'success';
3266
+ error: null;
3267
+ action_type: 'UPDATE_ACCESS_CODE';
3268
+ result?: any;
3269
+ } | {
3270
+ /** The ID of the action attempt. */
3271
+ action_attempt_id: string;
3272
+ status: 'error';
3273
+ result: null;
3274
+ action_type: 'UPDATE_ACCESS_CODE';
3275
+ error: {
3276
+ type: string;
3277
+ message: string;
3278
+ };
3279
+ } | {
3280
+ /** The ID of the action attempt. */
3281
+ action_attempt_id: string;
3282
+ status: 'pending';
3283
+ result: null;
3284
+ error: null;
3285
+ action_type: 'CREATE_NOISE_THRESHOLD';
3286
+ } | {
3287
+ /** The ID of the action attempt. */
3288
+ action_attempt_id: string;
3289
+ status: 'success';
3290
+ error: null;
3291
+ action_type: 'CREATE_NOISE_THRESHOLD';
3292
+ result?: any;
3293
+ } | {
3294
+ /** The ID of the action attempt. */
3295
+ action_attempt_id: string;
3296
+ status: 'error';
3297
+ result: null;
3298
+ action_type: 'CREATE_NOISE_THRESHOLD';
3299
+ error: {
3300
+ type: string;
3301
+ message: string;
3302
+ };
3303
+ } | {
3304
+ /** The ID of the action attempt. */
3305
+ action_attempt_id: string;
3306
+ status: 'pending';
3307
+ result: null;
3308
+ error: null;
3309
+ action_type: 'DELETE_NOISE_THRESHOLD';
3310
+ } | {
3311
+ /** The ID of the action attempt. */
3312
+ action_attempt_id: string;
3313
+ status: 'success';
3314
+ error: null;
3315
+ action_type: 'DELETE_NOISE_THRESHOLD';
3316
+ result?: any;
3317
+ } | {
3318
+ /** The ID of the action attempt. */
3319
+ action_attempt_id: string;
3320
+ status: 'error';
3321
+ result: null;
3322
+ action_type: 'DELETE_NOISE_THRESHOLD';
3323
+ error: {
3324
+ type: string;
3325
+ message: string;
3326
+ };
3327
+ } | {
3328
+ /** The ID of the action attempt. */
3329
+ action_attempt_id: string;
3330
+ status: 'pending';
3331
+ result: null;
3332
+ error: null;
3333
+ action_type: 'UPDATE_NOISE_THRESHOLD';
3334
+ } | {
3335
+ /** The ID of the action attempt. */
3336
+ action_attempt_id: string;
3337
+ status: 'success';
3338
+ error: null;
3339
+ action_type: 'UPDATE_NOISE_THRESHOLD';
3340
+ result?: any;
3341
+ } | {
3342
+ /** The ID of the action attempt. */
3343
+ action_attempt_id: string;
3344
+ status: 'error';
3345
+ result: null;
3346
+ action_type: 'UPDATE_NOISE_THRESHOLD';
3347
+ error: {
3348
+ type: string;
3349
+ message: string;
3350
+ };
3351
+ };
3352
+ };
3353
+ };
3354
+ '/acs/credentials/unassign': {
3355
+ route: '/acs/credentials/unassign';
3356
+ method: 'PATCH' | 'POST';
3357
+ queryParams: {};
3358
+ jsonBody: {
3359
+ acs_user_id: string;
3360
+ acs_credential_id: string;
3361
+ };
3362
+ commonParams: {};
3363
+ formData: {};
3364
+ jsonResponse: {
3365
+ acs_credential: {
3366
+ acs_credential_id: string;
3367
+ acs_user_id?: string | undefined;
3368
+ acs_credential_pool_id?: string | undefined;
3369
+ acs_system_id: string;
3370
+ parent_acs_credential_id?: string | undefined;
3371
+ display_name: string;
3372
+ code?: (string | undefined) | null;
3373
+ card_number?: (string | undefined) | null;
3374
+ is_encoded?: boolean | undefined;
3375
+ encoded_at?: (string | undefined) | null;
3376
+ access_method: 'code' | 'card' | 'mobile_key';
3377
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
3378
+ external_type_display_name?: string | undefined;
3379
+ created_at: string;
3380
+ workspace_id: string;
3381
+ starts_at?: string | undefined;
3382
+ ends_at?: string | undefined;
3383
+ errors: Array<{
3384
+ error_code: string;
3385
+ message: string;
3386
+ }>;
3387
+ warnings: Array<{
3388
+ warning_code: string;
3389
+ message: string;
3390
+ }>;
3391
+ is_multi_phone_sync_credential?: boolean | undefined;
3392
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
3393
+ latest_desired_state_synced_with_provider_at?: string | undefined;
3394
+ visionline_metadata?: {
3395
+ card_function_type: 'guest' | 'staff';
3396
+ joiner_acs_credential_ids?: string[] | undefined;
3397
+ guest_acs_entrance_ids?: string[] | undefined;
3398
+ common_acs_entrance_ids?: string[] | undefined;
3399
+ is_valid?: boolean | undefined;
3400
+ card_id?: string | undefined;
3401
+ credential_id?: string | undefined;
3402
+ } | undefined;
3403
+ is_managed: true;
3404
+ };
3405
+ };
3406
+ };
3407
+ '/acs/credentials/unmanaged/get': {
3408
+ route: '/acs/credentials/unmanaged/get';
3409
+ method: 'GET' | 'POST';
3410
+ queryParams: {};
3411
+ jsonBody: {};
3412
+ commonParams: {
3413
+ acs_credential_id: string;
3414
+ };
3415
+ formData: {};
3416
+ jsonResponse: {
3417
+ acs_credential: {
3418
+ acs_credential_id: string;
3419
+ acs_user_id?: string | undefined;
3420
+ acs_credential_pool_id?: string | undefined;
3421
+ acs_system_id: string;
3422
+ parent_acs_credential_id?: string | undefined;
3423
+ display_name: string;
3424
+ code?: (string | undefined) | null;
3425
+ card_number?: (string | undefined) | null;
3426
+ is_encoded?: boolean | undefined;
3427
+ encoded_at?: (string | undefined) | null;
3428
+ access_method: 'code' | 'card' | 'mobile_key';
3429
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
3430
+ external_type_display_name?: string | undefined;
3431
+ created_at: string;
3432
+ workspace_id: string;
3433
+ starts_at?: string | undefined;
3434
+ ends_at?: string | undefined;
3435
+ errors: Array<{
3436
+ error_code: string;
3437
+ message: string;
3438
+ }>;
3439
+ warnings: Array<{
3440
+ warning_code: string;
3441
+ message: string;
3442
+ }>;
3443
+ is_multi_phone_sync_credential?: boolean | undefined;
3444
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
3445
+ latest_desired_state_synced_with_provider_at?: string | undefined;
3446
+ visionline_metadata?: {
3447
+ card_function_type: 'guest' | 'staff';
3448
+ joiner_acs_credential_ids?: string[] | undefined;
3449
+ guest_acs_entrance_ids?: string[] | undefined;
3450
+ common_acs_entrance_ids?: string[] | undefined;
3451
+ is_valid?: boolean | undefined;
3452
+ card_id?: string | undefined;
3453
+ credential_id?: string | undefined;
3454
+ } | undefined;
3455
+ is_managed: false;
3456
+ };
3457
+ };
3458
+ };
3459
+ '/acs/credentials/unmanaged/list': {
3460
+ route: '/acs/credentials/unmanaged/list';
3461
+ method: 'GET' | 'POST';
3462
+ queryParams: {};
3463
+ jsonBody: {};
3464
+ commonParams: {
3465
+ acs_user_id: string;
3466
+ } | {
3467
+ acs_system_id: string;
3468
+ } | {
3469
+ acs_user_id: string;
3470
+ acs_system_id: string;
3471
+ } | {
3472
+ user_identity_id: string;
3473
+ };
3474
+ formData: {};
3475
+ jsonResponse: {
3476
+ acs_credentials: Array<{
3477
+ acs_credential_id: string;
3478
+ acs_user_id?: string | undefined;
3479
+ acs_credential_pool_id?: string | undefined;
3480
+ acs_system_id: string;
3481
+ parent_acs_credential_id?: string | undefined;
3482
+ display_name: string;
3483
+ code?: (string | undefined) | null;
3484
+ card_number?: (string | undefined) | null;
3485
+ is_encoded?: boolean | undefined;
3486
+ encoded_at?: (string | undefined) | null;
3487
+ access_method: 'code' | 'card' | 'mobile_key';
3488
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
3489
+ external_type_display_name?: string | undefined;
3490
+ created_at: string;
3491
+ workspace_id: string;
3492
+ starts_at?: string | undefined;
3493
+ ends_at?: string | undefined;
3494
+ errors: Array<{
3495
+ error_code: string;
3496
+ message: string;
3497
+ }>;
3498
+ warnings: Array<{
3499
+ warning_code: string;
3500
+ message: string;
3501
+ }>;
3502
+ is_multi_phone_sync_credential?: boolean | undefined;
3503
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
3504
+ latest_desired_state_synced_with_provider_at?: string | undefined;
3505
+ visionline_metadata?: {
3506
+ card_function_type: 'guest' | 'staff';
3507
+ joiner_acs_credential_ids?: string[] | undefined;
3508
+ guest_acs_entrance_ids?: string[] | undefined;
3509
+ common_acs_entrance_ids?: string[] | undefined;
3510
+ is_valid?: boolean | undefined;
2966
3511
  card_id?: string | undefined;
2967
3512
  credential_id?: string | undefined;
2968
3513
  } | undefined;
@@ -4197,6 +4742,35 @@ export interface Routes {
4197
4742
  type: string;
4198
4743
  message: string;
4199
4744
  };
4745
+ } | {
4746
+ /** The ID of the action attempt. */
4747
+ action_attempt_id: string;
4748
+ status: 'pending';
4749
+ result: null;
4750
+ error: null;
4751
+ action_type: 'READ_CARD';
4752
+ } | {
4753
+ /** The ID of the action attempt. */
4754
+ action_attempt_id: string;
4755
+ status: 'success';
4756
+ error: null;
4757
+ action_type: 'READ_CARD';
4758
+ result: {
4759
+ /** Matching acs_credential currently encoded on this card. */
4760
+ acs_credential_id: string | null;
4761
+ /** A number or sting that physically identifies this card. */
4762
+ card_number: string | null;
4763
+ };
4764
+ } | {
4765
+ /** The ID of the action attempt. */
4766
+ action_attempt_id: string;
4767
+ status: 'error';
4768
+ result: null;
4769
+ action_type: 'READ_CARD';
4770
+ error: {
4771
+ type: string;
4772
+ message: string;
4773
+ };
4200
4774
  } | {
4201
4775
  /** The ID of the action attempt. */
4202
4776
  action_attempt_id: string;
@@ -4582,14 +5156,43 @@ export interface Routes {
4582
5156
  action_attempt_id: string;
4583
5157
  status: 'success';
4584
5158
  error: null;
4585
- action_type: 'UNLOCK_DOOR';
4586
- result: {};
5159
+ action_type: 'UNLOCK_DOOR';
5160
+ result: {};
5161
+ } | {
5162
+ /** The ID of the action attempt. */
5163
+ action_attempt_id: string;
5164
+ status: 'error';
5165
+ result: null;
5166
+ action_type: 'UNLOCK_DOOR';
5167
+ error: {
5168
+ type: string;
5169
+ message: string;
5170
+ };
5171
+ } | {
5172
+ /** The ID of the action attempt. */
5173
+ action_attempt_id: string;
5174
+ status: 'pending';
5175
+ result: null;
5176
+ error: null;
5177
+ action_type: 'READ_CARD';
5178
+ } | {
5179
+ /** The ID of the action attempt. */
5180
+ action_attempt_id: string;
5181
+ status: 'success';
5182
+ error: null;
5183
+ action_type: 'READ_CARD';
5184
+ result: {
5185
+ /** Matching acs_credential currently encoded on this card. */
5186
+ acs_credential_id: string | null;
5187
+ /** A number or sting that physically identifies this card. */
5188
+ card_number: string | null;
5189
+ };
4587
5190
  } | {
4588
5191
  /** The ID of the action attempt. */
4589
5192
  action_attempt_id: string;
4590
5193
  status: 'error';
4591
5194
  result: null;
4592
- action_type: 'UNLOCK_DOOR';
5195
+ action_type: 'READ_CARD';
4593
5196
  error: {
4594
5197
  type: string;
4595
5198
  message: string;
@@ -6627,8 +7230,8 @@ export interface Routes {
6627
7230
  device_ids?: string[] | undefined;
6628
7231
  access_code_id?: string | undefined;
6629
7232
  access_code_ids?: string[] | undefined;
6630
- event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed') | undefined;
6631
- event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed'> | undefined;
7233
+ event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed') | undefined;
7234
+ event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed'> | undefined;
6632
7235
  connected_account_id?: string | undefined;
6633
7236
  connect_webview_id?: string | undefined;
6634
7237
  limit?: number;
@@ -8477,6 +9080,35 @@ export interface Routes {
8477
9080
  type: string;
8478
9081
  message: string;
8479
9082
  };
9083
+ } | {
9084
+ /** The ID of the action attempt. */
9085
+ action_attempt_id: string;
9086
+ status: 'pending';
9087
+ result: null;
9088
+ error: null;
9089
+ action_type: 'READ_CARD';
9090
+ } | {
9091
+ /** The ID of the action attempt. */
9092
+ action_attempt_id: string;
9093
+ status: 'success';
9094
+ error: null;
9095
+ action_type: 'READ_CARD';
9096
+ result: {
9097
+ /** Matching acs_credential currently encoded on this card. */
9098
+ acs_credential_id: string | null;
9099
+ /** A number or sting that physically identifies this card. */
9100
+ card_number: string | null;
9101
+ };
9102
+ } | {
9103
+ /** The ID of the action attempt. */
9104
+ action_attempt_id: string;
9105
+ status: 'error';
9106
+ result: null;
9107
+ action_type: 'READ_CARD';
9108
+ error: {
9109
+ type: string;
9110
+ message: string;
9111
+ };
8480
9112
  } | {
8481
9113
  /** The ID of the action attempt. */
8482
9114
  action_attempt_id: string;
@@ -8875,6 +9507,35 @@ export interface Routes {
8875
9507
  type: string;
8876
9508
  message: string;
8877
9509
  };
9510
+ } | {
9511
+ /** The ID of the action attempt. */
9512
+ action_attempt_id: string;
9513
+ status: 'pending';
9514
+ result: null;
9515
+ error: null;
9516
+ action_type: 'READ_CARD';
9517
+ } | {
9518
+ /** The ID of the action attempt. */
9519
+ action_attempt_id: string;
9520
+ status: 'success';
9521
+ error: null;
9522
+ action_type: 'READ_CARD';
9523
+ result: {
9524
+ /** Matching acs_credential currently encoded on this card. */
9525
+ acs_credential_id: string | null;
9526
+ /** A number or sting that physically identifies this card. */
9527
+ card_number: string | null;
9528
+ };
9529
+ } | {
9530
+ /** The ID of the action attempt. */
9531
+ action_attempt_id: string;
9532
+ status: 'error';
9533
+ result: null;
9534
+ action_type: 'READ_CARD';
9535
+ error: {
9536
+ type: string;
9537
+ message: string;
9538
+ };
8878
9539
  } | {
8879
9540
  /** The ID of the action attempt. */
8880
9541
  action_attempt_id: string;
@@ -10201,6 +10862,35 @@ export interface Routes {
10201
10862
  type: string;
10202
10863
  message: string;
10203
10864
  };
10865
+ } | {
10866
+ /** The ID of the action attempt. */
10867
+ action_attempt_id: string;
10868
+ status: 'pending';
10869
+ result: null;
10870
+ error: null;
10871
+ action_type: 'READ_CARD';
10872
+ } | {
10873
+ /** The ID of the action attempt. */
10874
+ action_attempt_id: string;
10875
+ status: 'success';
10876
+ error: null;
10877
+ action_type: 'READ_CARD';
10878
+ result: {
10879
+ /** Matching acs_credential currently encoded on this card. */
10880
+ acs_credential_id: string | null;
10881
+ /** A number or sting that physically identifies this card. */
10882
+ card_number: string | null;
10883
+ };
10884
+ } | {
10885
+ /** The ID of the action attempt. */
10886
+ action_attempt_id: string;
10887
+ status: 'error';
10888
+ result: null;
10889
+ action_type: 'READ_CARD';
10890
+ error: {
10891
+ type: string;
10892
+ message: string;
10893
+ };
10204
10894
  } | {
10205
10895
  /** The ID of the action attempt. */
10206
10896
  action_attempt_id: string;
@@ -10609,6 +11299,35 @@ export interface Routes {
10609
11299
  type: string;
10610
11300
  message: string;
10611
11301
  };
11302
+ } | {
11303
+ /** The ID of the action attempt. */
11304
+ action_attempt_id: string;
11305
+ status: 'pending';
11306
+ result: null;
11307
+ error: null;
11308
+ action_type: 'READ_CARD';
11309
+ } | {
11310
+ /** The ID of the action attempt. */
11311
+ action_attempt_id: string;
11312
+ status: 'success';
11313
+ error: null;
11314
+ action_type: 'READ_CARD';
11315
+ result: {
11316
+ /** Matching acs_credential currently encoded on this card. */
11317
+ acs_credential_id: string | null;
11318
+ /** A number or sting that physically identifies this card. */
11319
+ card_number: string | null;
11320
+ };
11321
+ } | {
11322
+ /** The ID of the action attempt. */
11323
+ action_attempt_id: string;
11324
+ status: 'error';
11325
+ result: null;
11326
+ action_type: 'READ_CARD';
11327
+ error: {
11328
+ type: string;
11329
+ message: string;
11330
+ };
10612
11331
  } | {
10613
11332
  /** The ID of the action attempt. */
10614
11333
  action_attempt_id: string;
@@ -11056,6 +11775,35 @@ export interface Routes {
11056
11775
  type: string;
11057
11776
  message: string;
11058
11777
  };
11778
+ } | {
11779
+ /** The ID of the action attempt. */
11780
+ action_attempt_id: string;
11781
+ status: 'pending';
11782
+ result: null;
11783
+ error: null;
11784
+ action_type: 'READ_CARD';
11785
+ } | {
11786
+ /** The ID of the action attempt. */
11787
+ action_attempt_id: string;
11788
+ status: 'success';
11789
+ error: null;
11790
+ action_type: 'READ_CARD';
11791
+ result: {
11792
+ /** Matching acs_credential currently encoded on this card. */
11793
+ acs_credential_id: string | null;
11794
+ /** A number or sting that physically identifies this card. */
11795
+ card_number: string | null;
11796
+ };
11797
+ } | {
11798
+ /** The ID of the action attempt. */
11799
+ action_attempt_id: string;
11800
+ status: 'error';
11801
+ result: null;
11802
+ action_type: 'READ_CARD';
11803
+ error: {
11804
+ type: string;
11805
+ message: string;
11806
+ };
11059
11807
  } | {
11060
11808
  /** The ID of the action attempt. */
11061
11809
  action_attempt_id: string;
@@ -11636,6 +12384,35 @@ export interface Routes {
11636
12384
  type: string;
11637
12385
  message: string;
11638
12386
  };
12387
+ } | {
12388
+ /** The ID of the action attempt. */
12389
+ action_attempt_id: string;
12390
+ status: 'pending';
12391
+ result: null;
12392
+ error: null;
12393
+ action_type: 'READ_CARD';
12394
+ } | {
12395
+ /** The ID of the action attempt. */
12396
+ action_attempt_id: string;
12397
+ status: 'success';
12398
+ error: null;
12399
+ action_type: 'READ_CARD';
12400
+ result: {
12401
+ /** Matching acs_credential currently encoded on this card. */
12402
+ acs_credential_id: string | null;
12403
+ /** A number or sting that physically identifies this card. */
12404
+ card_number: string | null;
12405
+ };
12406
+ } | {
12407
+ /** The ID of the action attempt. */
12408
+ action_attempt_id: string;
12409
+ status: 'error';
12410
+ result: null;
12411
+ action_type: 'READ_CARD';
12412
+ error: {
12413
+ type: string;
12414
+ message: string;
12415
+ };
11639
12416
  } | {
11640
12417
  /** The ID of the action attempt. */
11641
12418
  action_attempt_id: string;
@@ -12036,6 +12813,35 @@ export interface Routes {
12036
12813
  type: string;
12037
12814
  message: string;
12038
12815
  };
12816
+ } | {
12817
+ /** The ID of the action attempt. */
12818
+ action_attempt_id: string;
12819
+ status: 'pending';
12820
+ result: null;
12821
+ error: null;
12822
+ action_type: 'READ_CARD';
12823
+ } | {
12824
+ /** The ID of the action attempt. */
12825
+ action_attempt_id: string;
12826
+ status: 'success';
12827
+ error: null;
12828
+ action_type: 'READ_CARD';
12829
+ result: {
12830
+ /** Matching acs_credential currently encoded on this card. */
12831
+ acs_credential_id: string | null;
12832
+ /** A number or sting that physically identifies this card. */
12833
+ card_number: string | null;
12834
+ };
12835
+ } | {
12836
+ /** The ID of the action attempt. */
12837
+ action_attempt_id: string;
12838
+ status: 'error';
12839
+ result: null;
12840
+ action_type: 'READ_CARD';
12841
+ error: {
12842
+ type: string;
12843
+ message: string;
12844
+ };
12039
12845
  } | {
12040
12846
  /** The ID of the action attempt. */
12041
12847
  action_attempt_id: string;
@@ -12928,6 +13734,35 @@ export interface Routes {
12928
13734
  type: string;
12929
13735
  message: string;
12930
13736
  };
13737
+ } | {
13738
+ /** The ID of the action attempt. */
13739
+ action_attempt_id: string;
13740
+ status: 'pending';
13741
+ result: null;
13742
+ error: null;
13743
+ action_type: 'READ_CARD';
13744
+ } | {
13745
+ /** The ID of the action attempt. */
13746
+ action_attempt_id: string;
13747
+ status: 'success';
13748
+ error: null;
13749
+ action_type: 'READ_CARD';
13750
+ result: {
13751
+ /** Matching acs_credential currently encoded on this card. */
13752
+ acs_credential_id: string | null;
13753
+ /** A number or sting that physically identifies this card. */
13754
+ card_number: string | null;
13755
+ };
13756
+ } | {
13757
+ /** The ID of the action attempt. */
13758
+ action_attempt_id: string;
13759
+ status: 'error';
13760
+ result: null;
13761
+ action_type: 'READ_CARD';
13762
+ error: {
13763
+ type: string;
13764
+ message: string;
13765
+ };
12931
13766
  } | {
12932
13767
  /** The ID of the action attempt. */
12933
13768
  action_attempt_id: string;
@@ -13330,6 +14165,35 @@ export interface Routes {
13330
14165
  type: string;
13331
14166
  message: string;
13332
14167
  };
14168
+ } | {
14169
+ /** The ID of the action attempt. */
14170
+ action_attempt_id: string;
14171
+ status: 'pending';
14172
+ result: null;
14173
+ error: null;
14174
+ action_type: 'READ_CARD';
14175
+ } | {
14176
+ /** The ID of the action attempt. */
14177
+ action_attempt_id: string;
14178
+ status: 'success';
14179
+ error: null;
14180
+ action_type: 'READ_CARD';
14181
+ result: {
14182
+ /** Matching acs_credential currently encoded on this card. */
14183
+ acs_credential_id: string | null;
14184
+ /** A number or sting that physically identifies this card. */
14185
+ card_number: string | null;
14186
+ };
14187
+ } | {
14188
+ /** The ID of the action attempt. */
14189
+ action_attempt_id: string;
14190
+ status: 'error';
14191
+ result: null;
14192
+ action_type: 'READ_CARD';
14193
+ error: {
14194
+ type: string;
14195
+ message: string;
14196
+ };
13333
14197
  } | {
13334
14198
  /** The ID of the action attempt. */
13335
14199
  action_attempt_id: string;
@@ -14185,6 +15049,35 @@ export interface Routes {
14185
15049
  type: string;
14186
15050
  message: string;
14187
15051
  };
15052
+ } | {
15053
+ /** The ID of the action attempt. */
15054
+ action_attempt_id: string;
15055
+ status: 'pending';
15056
+ result: null;
15057
+ error: null;
15058
+ action_type: 'READ_CARD';
15059
+ } | {
15060
+ /** The ID of the action attempt. */
15061
+ action_attempt_id: string;
15062
+ status: 'success';
15063
+ error: null;
15064
+ action_type: 'READ_CARD';
15065
+ result: {
15066
+ /** Matching acs_credential currently encoded on this card. */
15067
+ acs_credential_id: string | null;
15068
+ /** A number or sting that physically identifies this card. */
15069
+ card_number: string | null;
15070
+ };
15071
+ } | {
15072
+ /** The ID of the action attempt. */
15073
+ action_attempt_id: string;
15074
+ status: 'error';
15075
+ result: null;
15076
+ action_type: 'READ_CARD';
15077
+ error: {
15078
+ type: string;
15079
+ message: string;
15080
+ };
14188
15081
  } | {
14189
15082
  /** The ID of the action attempt. */
14190
15083
  action_attempt_id: string;
@@ -14704,6 +15597,35 @@ export interface Routes {
14704
15597
  type: string;
14705
15598
  message: string;
14706
15599
  };
15600
+ } | {
15601
+ /** The ID of the action attempt. */
15602
+ action_attempt_id: string;
15603
+ status: 'pending';
15604
+ result: null;
15605
+ error: null;
15606
+ action_type: 'READ_CARD';
15607
+ } | {
15608
+ /** The ID of the action attempt. */
15609
+ action_attempt_id: string;
15610
+ status: 'success';
15611
+ error: null;
15612
+ action_type: 'READ_CARD';
15613
+ result: {
15614
+ /** Matching acs_credential currently encoded on this card. */
15615
+ acs_credential_id: string | null;
15616
+ /** A number or sting that physically identifies this card. */
15617
+ card_number: string | null;
15618
+ };
15619
+ } | {
15620
+ /** The ID of the action attempt. */
15621
+ action_attempt_id: string;
15622
+ status: 'error';
15623
+ result: null;
15624
+ action_type: 'READ_CARD';
15625
+ error: {
15626
+ type: string;
15627
+ message: string;
15628
+ };
14707
15629
  } | {
14708
15630
  /** The ID of the action attempt. */
14709
15631
  action_attempt_id: string;
@@ -16557,6 +17479,35 @@ export interface Routes {
16557
17479
  type: string;
16558
17480
  message: string;
16559
17481
  };
17482
+ } | {
17483
+ /** The ID of the action attempt. */
17484
+ action_attempt_id: string;
17485
+ status: 'pending';
17486
+ result: null;
17487
+ error: null;
17488
+ action_type: 'READ_CARD';
17489
+ } | {
17490
+ /** The ID of the action attempt. */
17491
+ action_attempt_id: string;
17492
+ status: 'success';
17493
+ error: null;
17494
+ action_type: 'READ_CARD';
17495
+ result: {
17496
+ /** Matching acs_credential currently encoded on this card. */
17497
+ acs_credential_id: string | null;
17498
+ /** A number or sting that physically identifies this card. */
17499
+ card_number: string | null;
17500
+ };
17501
+ } | {
17502
+ /** The ID of the action attempt. */
17503
+ action_attempt_id: string;
17504
+ status: 'error';
17505
+ result: null;
17506
+ action_type: 'READ_CARD';
17507
+ error: {
17508
+ type: string;
17509
+ message: string;
17510
+ };
16560
17511
  } | {
16561
17512
  /** The ID of the action attempt. */
16562
17513
  action_attempt_id: string;