@seamapi/types 1.270.0 → 1.271.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -219,7 +219,87 @@ export interface Routes {
219
219
  status: 'success';
220
220
  error: null;
221
221
  action_type: 'ENCODE_CARD';
222
- result: {};
222
+ result: {
223
+ acs_credential_id: string;
224
+ acs_user_id?: string | undefined;
225
+ acs_credential_pool_id?: string | undefined;
226
+ acs_system_id: string;
227
+ parent_acs_credential_id?: string | undefined;
228
+ display_name: string;
229
+ code?: (string | undefined) | null;
230
+ card_number?: (string | undefined) | null;
231
+ is_issued?: boolean | undefined;
232
+ issued_at?: (string | undefined) | null;
233
+ access_method: 'code' | 'card' | 'mobile_key';
234
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
235
+ external_type_display_name?: string | undefined;
236
+ created_at: string;
237
+ workspace_id: string;
238
+ starts_at?: string | undefined;
239
+ ends_at?: string | undefined;
240
+ errors: Array<{
241
+ error_code: string;
242
+ message: string;
243
+ }>;
244
+ warnings: Array<{
245
+ warning_code: string;
246
+ message: string;
247
+ }>;
248
+ is_multi_phone_sync_credential?: boolean | undefined;
249
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
250
+ latest_desired_state_synced_with_provider_at?: string | undefined;
251
+ visionline_metadata?: {
252
+ card_function_type: 'guest' | 'staff';
253
+ joiner_acs_credential_ids?: string[] | undefined;
254
+ guest_acs_entrance_ids?: string[] | undefined;
255
+ common_acs_entrance_ids?: string[] | undefined;
256
+ is_valid?: boolean | undefined;
257
+ auto_join?: boolean | undefined;
258
+ card_id?: string | undefined;
259
+ credential_id?: string | undefined;
260
+ } | undefined;
261
+ is_managed: true;
262
+ } | {
263
+ acs_credential_id: string;
264
+ acs_user_id?: string | undefined;
265
+ acs_credential_pool_id?: string | undefined;
266
+ acs_system_id: string;
267
+ parent_acs_credential_id?: string | undefined;
268
+ display_name: string;
269
+ code?: (string | undefined) | null;
270
+ card_number?: (string | undefined) | null;
271
+ is_issued?: boolean | undefined;
272
+ issued_at?: (string | undefined) | null;
273
+ access_method: 'code' | 'card' | 'mobile_key';
274
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
275
+ external_type_display_name?: string | undefined;
276
+ created_at: string;
277
+ workspace_id: string;
278
+ starts_at?: string | undefined;
279
+ ends_at?: string | undefined;
280
+ errors: Array<{
281
+ error_code: string;
282
+ message: string;
283
+ }>;
284
+ warnings: Array<{
285
+ warning_code: string;
286
+ message: string;
287
+ }>;
288
+ is_multi_phone_sync_credential?: boolean | undefined;
289
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
290
+ latest_desired_state_synced_with_provider_at?: string | undefined;
291
+ visionline_metadata?: {
292
+ card_function_type: 'guest' | 'staff';
293
+ joiner_acs_credential_ids?: string[] | undefined;
294
+ guest_acs_entrance_ids?: string[] | undefined;
295
+ common_acs_entrance_ids?: string[] | undefined;
296
+ is_valid?: boolean | undefined;
297
+ auto_join?: boolean | undefined;
298
+ card_id?: string | undefined;
299
+ credential_id?: string | undefined;
300
+ } | undefined;
301
+ is_managed: false;
302
+ };
223
303
  } | {
224
304
  /** The ID of the action attempt. */
225
305
  action_attempt_id: string;
@@ -932,7 +1012,87 @@ export interface Routes {
932
1012
  status: 'success';
933
1013
  error: null;
934
1014
  action_type: 'ENCODE_CARD';
935
- result: {};
1015
+ result: {
1016
+ acs_credential_id: string;
1017
+ acs_user_id?: string | undefined;
1018
+ acs_credential_pool_id?: string | undefined;
1019
+ acs_system_id: string;
1020
+ parent_acs_credential_id?: string | undefined;
1021
+ display_name: string;
1022
+ code?: (string | undefined) | null;
1023
+ card_number?: (string | undefined) | null;
1024
+ is_issued?: boolean | undefined;
1025
+ issued_at?: (string | undefined) | null;
1026
+ access_method: 'code' | 'card' | 'mobile_key';
1027
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
1028
+ external_type_display_name?: string | undefined;
1029
+ created_at: string;
1030
+ workspace_id: string;
1031
+ starts_at?: string | undefined;
1032
+ ends_at?: string | undefined;
1033
+ errors: Array<{
1034
+ error_code: string;
1035
+ message: string;
1036
+ }>;
1037
+ warnings: Array<{
1038
+ warning_code: string;
1039
+ message: string;
1040
+ }>;
1041
+ is_multi_phone_sync_credential?: boolean | undefined;
1042
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
1043
+ latest_desired_state_synced_with_provider_at?: string | undefined;
1044
+ visionline_metadata?: {
1045
+ card_function_type: 'guest' | 'staff';
1046
+ joiner_acs_credential_ids?: string[] | undefined;
1047
+ guest_acs_entrance_ids?: string[] | undefined;
1048
+ common_acs_entrance_ids?: string[] | undefined;
1049
+ is_valid?: boolean | undefined;
1050
+ auto_join?: boolean | undefined;
1051
+ card_id?: string | undefined;
1052
+ credential_id?: string | undefined;
1053
+ } | undefined;
1054
+ is_managed: true;
1055
+ } | {
1056
+ acs_credential_id: string;
1057
+ acs_user_id?: string | undefined;
1058
+ acs_credential_pool_id?: string | undefined;
1059
+ acs_system_id: string;
1060
+ parent_acs_credential_id?: string | undefined;
1061
+ display_name: string;
1062
+ code?: (string | undefined) | null;
1063
+ card_number?: (string | undefined) | null;
1064
+ is_issued?: boolean | undefined;
1065
+ issued_at?: (string | undefined) | null;
1066
+ access_method: 'code' | 'card' | 'mobile_key';
1067
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
1068
+ external_type_display_name?: string | undefined;
1069
+ created_at: string;
1070
+ workspace_id: string;
1071
+ starts_at?: string | undefined;
1072
+ ends_at?: string | undefined;
1073
+ errors: Array<{
1074
+ error_code: string;
1075
+ message: string;
1076
+ }>;
1077
+ warnings: Array<{
1078
+ warning_code: string;
1079
+ message: string;
1080
+ }>;
1081
+ is_multi_phone_sync_credential?: boolean | undefined;
1082
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
1083
+ latest_desired_state_synced_with_provider_at?: string | undefined;
1084
+ visionline_metadata?: {
1085
+ card_function_type: 'guest' | 'staff';
1086
+ joiner_acs_credential_ids?: string[] | undefined;
1087
+ guest_acs_entrance_ids?: string[] | undefined;
1088
+ common_acs_entrance_ids?: string[] | undefined;
1089
+ is_valid?: boolean | undefined;
1090
+ auto_join?: boolean | undefined;
1091
+ card_id?: string | undefined;
1092
+ credential_id?: string | undefined;
1093
+ } | undefined;
1094
+ is_managed: false;
1095
+ };
936
1096
  } | {
937
1097
  /** The ID of the action attempt. */
938
1098
  action_attempt_id: string;
@@ -1802,7 +1962,87 @@ export interface Routes {
1802
1962
  status: 'success';
1803
1963
  error: null;
1804
1964
  action_type: 'ENCODE_CARD';
1805
- result: {};
1965
+ result: {
1966
+ acs_credential_id: string;
1967
+ acs_user_id?: string | undefined;
1968
+ acs_credential_pool_id?: string | undefined;
1969
+ acs_system_id: string;
1970
+ parent_acs_credential_id?: string | undefined;
1971
+ display_name: string;
1972
+ code?: (string | undefined) | null;
1973
+ card_number?: (string | undefined) | null;
1974
+ is_issued?: boolean | undefined;
1975
+ issued_at?: (string | undefined) | null;
1976
+ access_method: 'code' | 'card' | 'mobile_key';
1977
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
1978
+ external_type_display_name?: string | undefined;
1979
+ created_at: string;
1980
+ workspace_id: string;
1981
+ starts_at?: string | undefined;
1982
+ ends_at?: string | undefined;
1983
+ errors: Array<{
1984
+ error_code: string;
1985
+ message: string;
1986
+ }>;
1987
+ warnings: Array<{
1988
+ warning_code: string;
1989
+ message: string;
1990
+ }>;
1991
+ is_multi_phone_sync_credential?: boolean | undefined;
1992
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
1993
+ latest_desired_state_synced_with_provider_at?: string | undefined;
1994
+ visionline_metadata?: {
1995
+ card_function_type: 'guest' | 'staff';
1996
+ joiner_acs_credential_ids?: string[] | undefined;
1997
+ guest_acs_entrance_ids?: string[] | undefined;
1998
+ common_acs_entrance_ids?: string[] | undefined;
1999
+ is_valid?: boolean | undefined;
2000
+ auto_join?: boolean | undefined;
2001
+ card_id?: string | undefined;
2002
+ credential_id?: string | undefined;
2003
+ } | undefined;
2004
+ is_managed: true;
2005
+ } | {
2006
+ acs_credential_id: string;
2007
+ acs_user_id?: string | undefined;
2008
+ acs_credential_pool_id?: string | undefined;
2009
+ acs_system_id: string;
2010
+ parent_acs_credential_id?: string | undefined;
2011
+ display_name: string;
2012
+ code?: (string | undefined) | null;
2013
+ card_number?: (string | undefined) | null;
2014
+ is_issued?: boolean | undefined;
2015
+ issued_at?: (string | undefined) | null;
2016
+ access_method: 'code' | 'card' | 'mobile_key';
2017
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2018
+ external_type_display_name?: string | undefined;
2019
+ created_at: string;
2020
+ workspace_id: string;
2021
+ starts_at?: string | undefined;
2022
+ ends_at?: string | undefined;
2023
+ errors: Array<{
2024
+ error_code: string;
2025
+ message: string;
2026
+ }>;
2027
+ warnings: Array<{
2028
+ warning_code: string;
2029
+ message: string;
2030
+ }>;
2031
+ is_multi_phone_sync_credential?: boolean | undefined;
2032
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2033
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2034
+ visionline_metadata?: {
2035
+ card_function_type: 'guest' | 'staff';
2036
+ joiner_acs_credential_ids?: string[] | undefined;
2037
+ guest_acs_entrance_ids?: string[] | undefined;
2038
+ common_acs_entrance_ids?: string[] | undefined;
2039
+ is_valid?: boolean | undefined;
2040
+ auto_join?: boolean | undefined;
2041
+ card_id?: string | undefined;
2042
+ credential_id?: string | undefined;
2043
+ } | undefined;
2044
+ is_managed: false;
2045
+ };
1806
2046
  } | {
1807
2047
  /** The ID of the action attempt. */
1808
2048
  action_attempt_id: string;
@@ -2502,7 +2742,87 @@ export interface Routes {
2502
2742
  status: 'success';
2503
2743
  error: null;
2504
2744
  action_type: 'ENCODE_CARD';
2505
- result: {};
2745
+ result: {
2746
+ acs_credential_id: string;
2747
+ acs_user_id?: string | undefined;
2748
+ acs_credential_pool_id?: string | undefined;
2749
+ acs_system_id: string;
2750
+ parent_acs_credential_id?: string | undefined;
2751
+ display_name: string;
2752
+ code?: (string | undefined) | null;
2753
+ card_number?: (string | undefined) | null;
2754
+ is_issued?: boolean | undefined;
2755
+ issued_at?: (string | undefined) | null;
2756
+ access_method: 'code' | 'card' | 'mobile_key';
2757
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2758
+ external_type_display_name?: string | undefined;
2759
+ created_at: string;
2760
+ workspace_id: string;
2761
+ starts_at?: string | undefined;
2762
+ ends_at?: string | undefined;
2763
+ errors: Array<{
2764
+ error_code: string;
2765
+ message: string;
2766
+ }>;
2767
+ warnings: Array<{
2768
+ warning_code: string;
2769
+ message: string;
2770
+ }>;
2771
+ is_multi_phone_sync_credential?: boolean | undefined;
2772
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2773
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2774
+ visionline_metadata?: {
2775
+ card_function_type: 'guest' | 'staff';
2776
+ joiner_acs_credential_ids?: string[] | undefined;
2777
+ guest_acs_entrance_ids?: string[] | undefined;
2778
+ common_acs_entrance_ids?: string[] | undefined;
2779
+ is_valid?: boolean | undefined;
2780
+ auto_join?: boolean | undefined;
2781
+ card_id?: string | undefined;
2782
+ credential_id?: string | undefined;
2783
+ } | undefined;
2784
+ is_managed: true;
2785
+ } | {
2786
+ acs_credential_id: string;
2787
+ acs_user_id?: string | undefined;
2788
+ acs_credential_pool_id?: string | undefined;
2789
+ acs_system_id: string;
2790
+ parent_acs_credential_id?: string | undefined;
2791
+ display_name: string;
2792
+ code?: (string | undefined) | null;
2793
+ card_number?: (string | undefined) | null;
2794
+ is_issued?: boolean | undefined;
2795
+ issued_at?: (string | undefined) | null;
2796
+ access_method: 'code' | 'card' | 'mobile_key';
2797
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2798
+ external_type_display_name?: string | undefined;
2799
+ created_at: string;
2800
+ workspace_id: string;
2801
+ starts_at?: string | undefined;
2802
+ ends_at?: string | undefined;
2803
+ errors: Array<{
2804
+ error_code: string;
2805
+ message: string;
2806
+ }>;
2807
+ warnings: Array<{
2808
+ warning_code: string;
2809
+ message: string;
2810
+ }>;
2811
+ is_multi_phone_sync_credential?: boolean | undefined;
2812
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
2813
+ latest_desired_state_synced_with_provider_at?: string | undefined;
2814
+ visionline_metadata?: {
2815
+ card_function_type: 'guest' | 'staff';
2816
+ joiner_acs_credential_ids?: string[] | undefined;
2817
+ guest_acs_entrance_ids?: string[] | undefined;
2818
+ common_acs_entrance_ids?: string[] | undefined;
2819
+ is_valid?: boolean | undefined;
2820
+ auto_join?: boolean | undefined;
2821
+ card_id?: string | undefined;
2822
+ credential_id?: string | undefined;
2823
+ } | undefined;
2824
+ is_managed: false;
2825
+ };
2506
2826
  } | {
2507
2827
  /** The ID of the action attempt. */
2508
2828
  action_attempt_id: string;
@@ -3745,10 +4065,8 @@ export interface Routes {
3745
4065
  queryParams: {};
3746
4066
  jsonBody: {};
3747
4067
  commonParams: {
3748
- acs_system_id: string;
3749
- device_name: string;
3750
- } | {
3751
4068
  device_id: string;
4069
+ acs_credential_id: string;
3752
4070
  };
3753
4071
  formData: {};
3754
4072
  jsonResponse: {
@@ -3946,7 +4264,87 @@ export interface Routes {
3946
4264
  status: 'success';
3947
4265
  error: null;
3948
4266
  action_type: 'ENCODE_CARD';
3949
- result: {};
4267
+ result: {
4268
+ acs_credential_id: string;
4269
+ acs_user_id?: string | undefined;
4270
+ acs_credential_pool_id?: string | undefined;
4271
+ acs_system_id: string;
4272
+ parent_acs_credential_id?: string | undefined;
4273
+ display_name: string;
4274
+ code?: (string | undefined) | null;
4275
+ card_number?: (string | undefined) | null;
4276
+ is_issued?: boolean | undefined;
4277
+ issued_at?: (string | undefined) | null;
4278
+ access_method: 'code' | 'card' | 'mobile_key';
4279
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
4280
+ external_type_display_name?: string | undefined;
4281
+ created_at: string;
4282
+ workspace_id: string;
4283
+ starts_at?: string | undefined;
4284
+ ends_at?: string | undefined;
4285
+ errors: Array<{
4286
+ error_code: string;
4287
+ message: string;
4288
+ }>;
4289
+ warnings: Array<{
4290
+ warning_code: string;
4291
+ message: string;
4292
+ }>;
4293
+ is_multi_phone_sync_credential?: boolean | undefined;
4294
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
4295
+ latest_desired_state_synced_with_provider_at?: string | undefined;
4296
+ visionline_metadata?: {
4297
+ card_function_type: 'guest' | 'staff';
4298
+ joiner_acs_credential_ids?: string[] | undefined;
4299
+ guest_acs_entrance_ids?: string[] | undefined;
4300
+ common_acs_entrance_ids?: string[] | undefined;
4301
+ is_valid?: boolean | undefined;
4302
+ auto_join?: boolean | undefined;
4303
+ card_id?: string | undefined;
4304
+ credential_id?: string | undefined;
4305
+ } | undefined;
4306
+ is_managed: true;
4307
+ } | {
4308
+ acs_credential_id: string;
4309
+ acs_user_id?: string | undefined;
4310
+ acs_credential_pool_id?: string | undefined;
4311
+ acs_system_id: string;
4312
+ parent_acs_credential_id?: string | undefined;
4313
+ display_name: string;
4314
+ code?: (string | undefined) | null;
4315
+ card_number?: (string | undefined) | null;
4316
+ is_issued?: boolean | undefined;
4317
+ issued_at?: (string | undefined) | null;
4318
+ access_method: 'code' | 'card' | 'mobile_key';
4319
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
4320
+ external_type_display_name?: string | undefined;
4321
+ created_at: string;
4322
+ workspace_id: string;
4323
+ starts_at?: string | undefined;
4324
+ ends_at?: string | undefined;
4325
+ errors: Array<{
4326
+ error_code: string;
4327
+ message: string;
4328
+ }>;
4329
+ warnings: Array<{
4330
+ warning_code: string;
4331
+ message: string;
4332
+ }>;
4333
+ is_multi_phone_sync_credential?: boolean | undefined;
4334
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
4335
+ latest_desired_state_synced_with_provider_at?: string | undefined;
4336
+ visionline_metadata?: {
4337
+ card_function_type: 'guest' | 'staff';
4338
+ joiner_acs_credential_ids?: string[] | undefined;
4339
+ guest_acs_entrance_ids?: string[] | undefined;
4340
+ common_acs_entrance_ids?: string[] | undefined;
4341
+ is_valid?: boolean | undefined;
4342
+ auto_join?: boolean | undefined;
4343
+ card_id?: string | undefined;
4344
+ credential_id?: string | undefined;
4345
+ } | undefined;
4346
+ is_managed: false;
4347
+ };
3950
4348
  } | {
3951
4349
  /** The ID of the action attempt. */
3952
4350
  action_attempt_id: string;
@@ -4770,9 +5168,6 @@ export interface Routes {
4770
5168
  queryParams: {};
4771
5169
  jsonBody: {};
4772
5170
  commonParams: {
4773
- acs_system_id: string;
4774
- device_name: string;
4775
- } | {
4776
5171
  acs_system_id: string;
4777
5172
  device_id: string;
4778
5173
  };
@@ -4972,7 +5367,87 @@ export interface Routes {
4972
5367
  status: 'success';
4973
5368
  error: null;
4974
5369
  action_type: 'ENCODE_CARD';
4975
- result: {};
5370
+ result: {
5371
+ acs_credential_id: string;
5372
+ acs_user_id?: string | undefined;
5373
+ acs_credential_pool_id?: string | undefined;
5374
+ acs_system_id: string;
5375
+ parent_acs_credential_id?: string | undefined;
5376
+ display_name: string;
5377
+ code?: (string | undefined) | null;
5378
+ card_number?: (string | undefined) | null;
5379
+ is_issued?: boolean | undefined;
5380
+ issued_at?: (string | undefined) | null;
5381
+ access_method: 'code' | 'card' | 'mobile_key';
5382
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
5383
+ external_type_display_name?: string | undefined;
5384
+ created_at: string;
5385
+ workspace_id: string;
5386
+ starts_at?: string | undefined;
5387
+ ends_at?: string | undefined;
5388
+ errors: Array<{
5389
+ error_code: string;
5390
+ message: string;
5391
+ }>;
5392
+ warnings: Array<{
5393
+ warning_code: string;
5394
+ message: string;
5395
+ }>;
5396
+ is_multi_phone_sync_credential?: boolean | undefined;
5397
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
5398
+ latest_desired_state_synced_with_provider_at?: string | undefined;
5399
+ visionline_metadata?: {
5400
+ card_function_type: 'guest' | 'staff';
5401
+ joiner_acs_credential_ids?: string[] | undefined;
5402
+ guest_acs_entrance_ids?: string[] | undefined;
5403
+ common_acs_entrance_ids?: string[] | undefined;
5404
+ is_valid?: boolean | undefined;
5405
+ auto_join?: boolean | undefined;
5406
+ card_id?: string | undefined;
5407
+ credential_id?: string | undefined;
5408
+ } | undefined;
5409
+ is_managed: true;
5410
+ } | {
5411
+ acs_credential_id: string;
5412
+ acs_user_id?: string | undefined;
5413
+ acs_credential_pool_id?: string | undefined;
5414
+ acs_system_id: string;
5415
+ parent_acs_credential_id?: string | undefined;
5416
+ display_name: string;
5417
+ code?: (string | undefined) | null;
5418
+ card_number?: (string | undefined) | null;
5419
+ is_issued?: boolean | undefined;
5420
+ issued_at?: (string | undefined) | null;
5421
+ access_method: 'code' | 'card' | 'mobile_key';
5422
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
5423
+ external_type_display_name?: string | undefined;
5424
+ created_at: string;
5425
+ workspace_id: string;
5426
+ starts_at?: string | undefined;
5427
+ ends_at?: string | undefined;
5428
+ errors: Array<{
5429
+ error_code: string;
5430
+ message: string;
5431
+ }>;
5432
+ warnings: Array<{
5433
+ warning_code: string;
5434
+ message: string;
5435
+ }>;
5436
+ is_multi_phone_sync_credential?: boolean | undefined;
5437
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
5438
+ latest_desired_state_synced_with_provider_at?: string | undefined;
5439
+ visionline_metadata?: {
5440
+ card_function_type: 'guest' | 'staff';
5441
+ joiner_acs_credential_ids?: string[] | undefined;
5442
+ guest_acs_entrance_ids?: string[] | undefined;
5443
+ common_acs_entrance_ids?: string[] | undefined;
5444
+ is_valid?: boolean | undefined;
5445
+ auto_join?: boolean | undefined;
5446
+ card_id?: string | undefined;
5447
+ credential_id?: string | undefined;
5448
+ } | undefined;
5449
+ is_managed: false;
5450
+ };
4976
5451
  } | {
4977
5452
  /** The ID of the action attempt. */
4978
5453
  action_attempt_id: string;
@@ -6704,7 +7179,87 @@ export interface Routes {
6704
7179
  status: 'success';
6705
7180
  error: null;
6706
7181
  action_type: 'ENCODE_CARD';
6707
- result: {};
7182
+ result: {
7183
+ acs_credential_id: string;
7184
+ acs_user_id?: string | undefined;
7185
+ acs_credential_pool_id?: string | undefined;
7186
+ acs_system_id: string;
7187
+ parent_acs_credential_id?: string | undefined;
7188
+ display_name: string;
7189
+ code?: (string | undefined) | null;
7190
+ card_number?: (string | undefined) | null;
7191
+ is_issued?: boolean | undefined;
7192
+ issued_at?: (string | undefined) | null;
7193
+ access_method: 'code' | 'card' | 'mobile_key';
7194
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
7195
+ external_type_display_name?: string | undefined;
7196
+ created_at: string;
7197
+ workspace_id: string;
7198
+ starts_at?: string | undefined;
7199
+ ends_at?: string | undefined;
7200
+ errors: Array<{
7201
+ error_code: string;
7202
+ message: string;
7203
+ }>;
7204
+ warnings: Array<{
7205
+ warning_code: string;
7206
+ message: string;
7207
+ }>;
7208
+ is_multi_phone_sync_credential?: boolean | undefined;
7209
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
7210
+ latest_desired_state_synced_with_provider_at?: string | undefined;
7211
+ visionline_metadata?: {
7212
+ card_function_type: 'guest' | 'staff';
7213
+ joiner_acs_credential_ids?: string[] | undefined;
7214
+ guest_acs_entrance_ids?: string[] | undefined;
7215
+ common_acs_entrance_ids?: string[] | undefined;
7216
+ is_valid?: boolean | undefined;
7217
+ auto_join?: boolean | undefined;
7218
+ card_id?: string | undefined;
7219
+ credential_id?: string | undefined;
7220
+ } | undefined;
7221
+ is_managed: true;
7222
+ } | {
7223
+ acs_credential_id: string;
7224
+ acs_user_id?: string | undefined;
7225
+ acs_credential_pool_id?: string | undefined;
7226
+ acs_system_id: string;
7227
+ parent_acs_credential_id?: string | undefined;
7228
+ display_name: string;
7229
+ code?: (string | undefined) | null;
7230
+ card_number?: (string | undefined) | null;
7231
+ is_issued?: boolean | undefined;
7232
+ issued_at?: (string | undefined) | null;
7233
+ access_method: 'code' | 'card' | 'mobile_key';
7234
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
7235
+ external_type_display_name?: string | undefined;
7236
+ created_at: string;
7237
+ workspace_id: string;
7238
+ starts_at?: string | undefined;
7239
+ ends_at?: string | undefined;
7240
+ errors: Array<{
7241
+ error_code: string;
7242
+ message: string;
7243
+ }>;
7244
+ warnings: Array<{
7245
+ warning_code: string;
7246
+ message: string;
7247
+ }>;
7248
+ is_multi_phone_sync_credential?: boolean | undefined;
7249
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
7250
+ latest_desired_state_synced_with_provider_at?: string | undefined;
7251
+ visionline_metadata?: {
7252
+ card_function_type: 'guest' | 'staff';
7253
+ joiner_acs_credential_ids?: string[] | undefined;
7254
+ guest_acs_entrance_ids?: string[] | undefined;
7255
+ common_acs_entrance_ids?: string[] | undefined;
7256
+ is_valid?: boolean | undefined;
7257
+ auto_join?: boolean | undefined;
7258
+ card_id?: string | undefined;
7259
+ credential_id?: string | undefined;
7260
+ } | undefined;
7261
+ is_managed: false;
7262
+ };
6708
7263
  } | {
6709
7264
  /** The ID of the action attempt. */
6710
7265
  action_attempt_id: string;
@@ -7266,7 +7821,87 @@ export interface Routes {
7266
7821
  status: 'success';
7267
7822
  error: null;
7268
7823
  action_type: 'ENCODE_CARD';
7269
- result: {};
7824
+ result: {
7825
+ acs_credential_id: string;
7826
+ acs_user_id?: string | undefined;
7827
+ acs_credential_pool_id?: string | undefined;
7828
+ acs_system_id: string;
7829
+ parent_acs_credential_id?: string | undefined;
7830
+ display_name: string;
7831
+ code?: (string | undefined) | null;
7832
+ card_number?: (string | undefined) | null;
7833
+ is_issued?: boolean | undefined;
7834
+ issued_at?: (string | undefined) | null;
7835
+ access_method: 'code' | 'card' | 'mobile_key';
7836
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
7837
+ external_type_display_name?: string | undefined;
7838
+ created_at: string;
7839
+ workspace_id: string;
7840
+ starts_at?: string | undefined;
7841
+ ends_at?: string | undefined;
7842
+ errors: Array<{
7843
+ error_code: string;
7844
+ message: string;
7845
+ }>;
7846
+ warnings: Array<{
7847
+ warning_code: string;
7848
+ message: string;
7849
+ }>;
7850
+ is_multi_phone_sync_credential?: boolean | undefined;
7851
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
7852
+ latest_desired_state_synced_with_provider_at?: string | undefined;
7853
+ visionline_metadata?: {
7854
+ card_function_type: 'guest' | 'staff';
7855
+ joiner_acs_credential_ids?: string[] | undefined;
7856
+ guest_acs_entrance_ids?: string[] | undefined;
7857
+ common_acs_entrance_ids?: string[] | undefined;
7858
+ is_valid?: boolean | undefined;
7859
+ auto_join?: boolean | undefined;
7860
+ card_id?: string | undefined;
7861
+ credential_id?: string | undefined;
7862
+ } | undefined;
7863
+ is_managed: true;
7864
+ } | {
7865
+ acs_credential_id: string;
7866
+ acs_user_id?: string | undefined;
7867
+ acs_credential_pool_id?: string | undefined;
7868
+ acs_system_id: string;
7869
+ parent_acs_credential_id?: string | undefined;
7870
+ display_name: string;
7871
+ code?: (string | undefined) | null;
7872
+ card_number?: (string | undefined) | null;
7873
+ is_issued?: boolean | undefined;
7874
+ issued_at?: (string | undefined) | null;
7875
+ access_method: 'code' | 'card' | 'mobile_key';
7876
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
7877
+ external_type_display_name?: string | undefined;
7878
+ created_at: string;
7879
+ workspace_id: string;
7880
+ starts_at?: string | undefined;
7881
+ ends_at?: string | undefined;
7882
+ errors: Array<{
7883
+ error_code: string;
7884
+ message: string;
7885
+ }>;
7886
+ warnings: Array<{
7887
+ warning_code: string;
7888
+ message: string;
7889
+ }>;
7890
+ is_multi_phone_sync_credential?: boolean | undefined;
7891
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
7892
+ latest_desired_state_synced_with_provider_at?: string | undefined;
7893
+ visionline_metadata?: {
7894
+ card_function_type: 'guest' | 'staff';
7895
+ joiner_acs_credential_ids?: string[] | undefined;
7896
+ guest_acs_entrance_ids?: string[] | undefined;
7897
+ common_acs_entrance_ids?: string[] | undefined;
7898
+ is_valid?: boolean | undefined;
7899
+ auto_join?: boolean | undefined;
7900
+ card_id?: string | undefined;
7901
+ credential_id?: string | undefined;
7902
+ } | undefined;
7903
+ is_managed: false;
7904
+ };
7270
7905
  } | {
7271
7906
  /** The ID of the action attempt. */
7272
7907
  action_attempt_id: string;
@@ -11382,7 +12017,87 @@ export interface Routes {
11382
12017
  status: 'success';
11383
12018
  error: null;
11384
12019
  action_type: 'ENCODE_CARD';
11385
- result: {};
12020
+ result: {
12021
+ acs_credential_id: string;
12022
+ acs_user_id?: string | undefined;
12023
+ acs_credential_pool_id?: string | undefined;
12024
+ acs_system_id: string;
12025
+ parent_acs_credential_id?: string | undefined;
12026
+ display_name: string;
12027
+ code?: (string | undefined) | null;
12028
+ card_number?: (string | undefined) | null;
12029
+ is_issued?: boolean | undefined;
12030
+ issued_at?: (string | undefined) | null;
12031
+ access_method: 'code' | 'card' | 'mobile_key';
12032
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
12033
+ external_type_display_name?: string | undefined;
12034
+ created_at: string;
12035
+ workspace_id: string;
12036
+ starts_at?: string | undefined;
12037
+ ends_at?: string | undefined;
12038
+ errors: Array<{
12039
+ error_code: string;
12040
+ message: string;
12041
+ }>;
12042
+ warnings: Array<{
12043
+ warning_code: string;
12044
+ message: string;
12045
+ }>;
12046
+ is_multi_phone_sync_credential?: boolean | undefined;
12047
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
12048
+ latest_desired_state_synced_with_provider_at?: string | undefined;
12049
+ visionline_metadata?: {
12050
+ card_function_type: 'guest' | 'staff';
12051
+ joiner_acs_credential_ids?: string[] | undefined;
12052
+ guest_acs_entrance_ids?: string[] | undefined;
12053
+ common_acs_entrance_ids?: string[] | undefined;
12054
+ is_valid?: boolean | undefined;
12055
+ auto_join?: boolean | undefined;
12056
+ card_id?: string | undefined;
12057
+ credential_id?: string | undefined;
12058
+ } | undefined;
12059
+ is_managed: true;
12060
+ } | {
12061
+ acs_credential_id: string;
12062
+ acs_user_id?: string | undefined;
12063
+ acs_credential_pool_id?: string | undefined;
12064
+ acs_system_id: string;
12065
+ parent_acs_credential_id?: string | undefined;
12066
+ display_name: string;
12067
+ code?: (string | undefined) | null;
12068
+ card_number?: (string | undefined) | null;
12069
+ is_issued?: boolean | undefined;
12070
+ issued_at?: (string | undefined) | null;
12071
+ access_method: 'code' | 'card' | 'mobile_key';
12072
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
12073
+ external_type_display_name?: string | undefined;
12074
+ created_at: string;
12075
+ workspace_id: string;
12076
+ starts_at?: string | undefined;
12077
+ ends_at?: string | undefined;
12078
+ errors: Array<{
12079
+ error_code: string;
12080
+ message: string;
12081
+ }>;
12082
+ warnings: Array<{
12083
+ warning_code: string;
12084
+ message: string;
12085
+ }>;
12086
+ is_multi_phone_sync_credential?: boolean | undefined;
12087
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
12088
+ latest_desired_state_synced_with_provider_at?: string | undefined;
12089
+ visionline_metadata?: {
12090
+ card_function_type: 'guest' | 'staff';
12091
+ joiner_acs_credential_ids?: string[] | undefined;
12092
+ guest_acs_entrance_ids?: string[] | undefined;
12093
+ common_acs_entrance_ids?: string[] | undefined;
12094
+ is_valid?: boolean | undefined;
12095
+ auto_join?: boolean | undefined;
12096
+ card_id?: string | undefined;
12097
+ credential_id?: string | undefined;
12098
+ } | undefined;
12099
+ is_managed: false;
12100
+ };
11386
12101
  } | {
11387
12102
  /** The ID of the action attempt. */
11388
12103
  action_attempt_id: string;
@@ -11945,7 +12660,87 @@ export interface Routes {
11945
12660
  status: 'success';
11946
12661
  error: null;
11947
12662
  action_type: 'ENCODE_CARD';
11948
- result: {};
12663
+ result: {
12664
+ acs_credential_id: string;
12665
+ acs_user_id?: string | undefined;
12666
+ acs_credential_pool_id?: string | undefined;
12667
+ acs_system_id: string;
12668
+ parent_acs_credential_id?: string | undefined;
12669
+ display_name: string;
12670
+ code?: (string | undefined) | null;
12671
+ card_number?: (string | undefined) | null;
12672
+ is_issued?: boolean | undefined;
12673
+ issued_at?: (string | undefined) | null;
12674
+ access_method: 'code' | 'card' | 'mobile_key';
12675
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
12676
+ external_type_display_name?: string | undefined;
12677
+ created_at: string;
12678
+ workspace_id: string;
12679
+ starts_at?: string | undefined;
12680
+ ends_at?: string | undefined;
12681
+ errors: Array<{
12682
+ error_code: string;
12683
+ message: string;
12684
+ }>;
12685
+ warnings: Array<{
12686
+ warning_code: string;
12687
+ message: string;
12688
+ }>;
12689
+ is_multi_phone_sync_credential?: boolean | undefined;
12690
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
12691
+ latest_desired_state_synced_with_provider_at?: string | undefined;
12692
+ visionline_metadata?: {
12693
+ card_function_type: 'guest' | 'staff';
12694
+ joiner_acs_credential_ids?: string[] | undefined;
12695
+ guest_acs_entrance_ids?: string[] | undefined;
12696
+ common_acs_entrance_ids?: string[] | undefined;
12697
+ is_valid?: boolean | undefined;
12698
+ auto_join?: boolean | undefined;
12699
+ card_id?: string | undefined;
12700
+ credential_id?: string | undefined;
12701
+ } | undefined;
12702
+ is_managed: true;
12703
+ } | {
12704
+ acs_credential_id: string;
12705
+ acs_user_id?: string | undefined;
12706
+ acs_credential_pool_id?: string | undefined;
12707
+ acs_system_id: string;
12708
+ parent_acs_credential_id?: string | undefined;
12709
+ display_name: string;
12710
+ code?: (string | undefined) | null;
12711
+ card_number?: (string | undefined) | null;
12712
+ is_issued?: boolean | undefined;
12713
+ issued_at?: (string | undefined) | null;
12714
+ access_method: 'code' | 'card' | 'mobile_key';
12715
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
12716
+ external_type_display_name?: string | undefined;
12717
+ created_at: string;
12718
+ workspace_id: string;
12719
+ starts_at?: string | undefined;
12720
+ ends_at?: string | undefined;
12721
+ errors: Array<{
12722
+ error_code: string;
12723
+ message: string;
12724
+ }>;
12725
+ warnings: Array<{
12726
+ warning_code: string;
12727
+ message: string;
12728
+ }>;
12729
+ is_multi_phone_sync_credential?: boolean | undefined;
12730
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
12731
+ latest_desired_state_synced_with_provider_at?: string | undefined;
12732
+ visionline_metadata?: {
12733
+ card_function_type: 'guest' | 'staff';
12734
+ joiner_acs_credential_ids?: string[] | undefined;
12735
+ guest_acs_entrance_ids?: string[] | undefined;
12736
+ common_acs_entrance_ids?: string[] | undefined;
12737
+ is_valid?: boolean | undefined;
12738
+ auto_join?: boolean | undefined;
12739
+ card_id?: string | undefined;
12740
+ credential_id?: string | undefined;
12741
+ } | undefined;
12742
+ is_managed: false;
12743
+ };
11949
12744
  } | {
11950
12745
  /** The ID of the action attempt. */
11951
12746
  action_attempt_id: string;
@@ -13452,7 +14247,87 @@ export interface Routes {
13452
14247
  status: 'success';
13453
14248
  error: null;
13454
14249
  action_type: 'ENCODE_CARD';
13455
- result: {};
14250
+ result: {
14251
+ acs_credential_id: string;
14252
+ acs_user_id?: string | undefined;
14253
+ acs_credential_pool_id?: string | undefined;
14254
+ acs_system_id: string;
14255
+ parent_acs_credential_id?: string | undefined;
14256
+ display_name: string;
14257
+ code?: (string | undefined) | null;
14258
+ card_number?: (string | undefined) | null;
14259
+ is_issued?: boolean | undefined;
14260
+ issued_at?: (string | undefined) | null;
14261
+ access_method: 'code' | 'card' | 'mobile_key';
14262
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
14263
+ external_type_display_name?: string | undefined;
14264
+ created_at: string;
14265
+ workspace_id: string;
14266
+ starts_at?: string | undefined;
14267
+ ends_at?: string | undefined;
14268
+ errors: Array<{
14269
+ error_code: string;
14270
+ message: string;
14271
+ }>;
14272
+ warnings: Array<{
14273
+ warning_code: string;
14274
+ message: string;
14275
+ }>;
14276
+ is_multi_phone_sync_credential?: boolean | undefined;
14277
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
14278
+ latest_desired_state_synced_with_provider_at?: string | undefined;
14279
+ visionline_metadata?: {
14280
+ card_function_type: 'guest' | 'staff';
14281
+ joiner_acs_credential_ids?: string[] | undefined;
14282
+ guest_acs_entrance_ids?: string[] | undefined;
14283
+ common_acs_entrance_ids?: string[] | undefined;
14284
+ is_valid?: boolean | undefined;
14285
+ auto_join?: boolean | undefined;
14286
+ card_id?: string | undefined;
14287
+ credential_id?: string | undefined;
14288
+ } | undefined;
14289
+ is_managed: true;
14290
+ } | {
14291
+ acs_credential_id: string;
14292
+ acs_user_id?: string | undefined;
14293
+ acs_credential_pool_id?: string | undefined;
14294
+ acs_system_id: string;
14295
+ parent_acs_credential_id?: string | undefined;
14296
+ display_name: string;
14297
+ code?: (string | undefined) | null;
14298
+ card_number?: (string | undefined) | null;
14299
+ is_issued?: boolean | undefined;
14300
+ issued_at?: (string | undefined) | null;
14301
+ access_method: 'code' | 'card' | 'mobile_key';
14302
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
14303
+ external_type_display_name?: string | undefined;
14304
+ created_at: string;
14305
+ workspace_id: string;
14306
+ starts_at?: string | undefined;
14307
+ ends_at?: string | undefined;
14308
+ errors: Array<{
14309
+ error_code: string;
14310
+ message: string;
14311
+ }>;
14312
+ warnings: Array<{
14313
+ warning_code: string;
14314
+ message: string;
14315
+ }>;
14316
+ is_multi_phone_sync_credential?: boolean | undefined;
14317
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
14318
+ latest_desired_state_synced_with_provider_at?: string | undefined;
14319
+ visionline_metadata?: {
14320
+ card_function_type: 'guest' | 'staff';
14321
+ joiner_acs_credential_ids?: string[] | undefined;
14322
+ guest_acs_entrance_ids?: string[] | undefined;
14323
+ common_acs_entrance_ids?: string[] | undefined;
14324
+ is_valid?: boolean | undefined;
14325
+ auto_join?: boolean | undefined;
14326
+ card_id?: string | undefined;
14327
+ credential_id?: string | undefined;
14328
+ } | undefined;
14329
+ is_managed: false;
14330
+ };
13456
14331
  } | {
13457
14332
  /** The ID of the action attempt. */
13458
14333
  action_attempt_id: string;
@@ -14025,7 +14900,87 @@ export interface Routes {
14025
14900
  status: 'success';
14026
14901
  error: null;
14027
14902
  action_type: 'ENCODE_CARD';
14028
- result: {};
14903
+ result: {
14904
+ acs_credential_id: string;
14905
+ acs_user_id?: string | undefined;
14906
+ acs_credential_pool_id?: string | undefined;
14907
+ acs_system_id: string;
14908
+ parent_acs_credential_id?: string | undefined;
14909
+ display_name: string;
14910
+ code?: (string | undefined) | null;
14911
+ card_number?: (string | undefined) | null;
14912
+ is_issued?: boolean | undefined;
14913
+ issued_at?: (string | undefined) | null;
14914
+ access_method: 'code' | 'card' | 'mobile_key';
14915
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
14916
+ external_type_display_name?: string | undefined;
14917
+ created_at: string;
14918
+ workspace_id: string;
14919
+ starts_at?: string | undefined;
14920
+ ends_at?: string | undefined;
14921
+ errors: Array<{
14922
+ error_code: string;
14923
+ message: string;
14924
+ }>;
14925
+ warnings: Array<{
14926
+ warning_code: string;
14927
+ message: string;
14928
+ }>;
14929
+ is_multi_phone_sync_credential?: boolean | undefined;
14930
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
14931
+ latest_desired_state_synced_with_provider_at?: string | undefined;
14932
+ visionline_metadata?: {
14933
+ card_function_type: 'guest' | 'staff';
14934
+ joiner_acs_credential_ids?: string[] | undefined;
14935
+ guest_acs_entrance_ids?: string[] | undefined;
14936
+ common_acs_entrance_ids?: string[] | undefined;
14937
+ is_valid?: boolean | undefined;
14938
+ auto_join?: boolean | undefined;
14939
+ card_id?: string | undefined;
14940
+ credential_id?: string | undefined;
14941
+ } | undefined;
14942
+ is_managed: true;
14943
+ } | {
14944
+ acs_credential_id: string;
14945
+ acs_user_id?: string | undefined;
14946
+ acs_credential_pool_id?: string | undefined;
14947
+ acs_system_id: string;
14948
+ parent_acs_credential_id?: string | undefined;
14949
+ display_name: string;
14950
+ code?: (string | undefined) | null;
14951
+ card_number?: (string | undefined) | null;
14952
+ is_issued?: boolean | undefined;
14953
+ issued_at?: (string | undefined) | null;
14954
+ access_method: 'code' | 'card' | 'mobile_key';
14955
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
14956
+ external_type_display_name?: string | undefined;
14957
+ created_at: string;
14958
+ workspace_id: string;
14959
+ starts_at?: string | undefined;
14960
+ ends_at?: string | undefined;
14961
+ errors: Array<{
14962
+ error_code: string;
14963
+ message: string;
14964
+ }>;
14965
+ warnings: Array<{
14966
+ warning_code: string;
14967
+ message: string;
14968
+ }>;
14969
+ is_multi_phone_sync_credential?: boolean | undefined;
14970
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
14971
+ latest_desired_state_synced_with_provider_at?: string | undefined;
14972
+ visionline_metadata?: {
14973
+ card_function_type: 'guest' | 'staff';
14974
+ joiner_acs_credential_ids?: string[] | undefined;
14975
+ guest_acs_entrance_ids?: string[] | undefined;
14976
+ common_acs_entrance_ids?: string[] | undefined;
14977
+ is_valid?: boolean | undefined;
14978
+ auto_join?: boolean | undefined;
14979
+ card_id?: string | undefined;
14980
+ credential_id?: string | undefined;
14981
+ } | undefined;
14982
+ is_managed: false;
14983
+ };
14029
14984
  } | {
14030
14985
  /** The ID of the action attempt. */
14031
14986
  action_attempt_id: string;
@@ -14637,7 +15592,87 @@ export interface Routes {
14637
15592
  status: 'success';
14638
15593
  error: null;
14639
15594
  action_type: 'ENCODE_CARD';
14640
- result: {};
15595
+ result: {
15596
+ acs_credential_id: string;
15597
+ acs_user_id?: string | undefined;
15598
+ acs_credential_pool_id?: string | undefined;
15599
+ acs_system_id: string;
15600
+ parent_acs_credential_id?: string | undefined;
15601
+ display_name: string;
15602
+ code?: (string | undefined) | null;
15603
+ card_number?: (string | undefined) | null;
15604
+ is_issued?: boolean | undefined;
15605
+ issued_at?: (string | undefined) | null;
15606
+ access_method: 'code' | 'card' | 'mobile_key';
15607
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
15608
+ external_type_display_name?: string | undefined;
15609
+ created_at: string;
15610
+ workspace_id: string;
15611
+ starts_at?: string | undefined;
15612
+ ends_at?: string | undefined;
15613
+ errors: Array<{
15614
+ error_code: string;
15615
+ message: string;
15616
+ }>;
15617
+ warnings: Array<{
15618
+ warning_code: string;
15619
+ message: string;
15620
+ }>;
15621
+ is_multi_phone_sync_credential?: boolean | undefined;
15622
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
15623
+ latest_desired_state_synced_with_provider_at?: string | undefined;
15624
+ visionline_metadata?: {
15625
+ card_function_type: 'guest' | 'staff';
15626
+ joiner_acs_credential_ids?: string[] | undefined;
15627
+ guest_acs_entrance_ids?: string[] | undefined;
15628
+ common_acs_entrance_ids?: string[] | undefined;
15629
+ is_valid?: boolean | undefined;
15630
+ auto_join?: boolean | undefined;
15631
+ card_id?: string | undefined;
15632
+ credential_id?: string | undefined;
15633
+ } | undefined;
15634
+ is_managed: true;
15635
+ } | {
15636
+ acs_credential_id: string;
15637
+ acs_user_id?: string | undefined;
15638
+ acs_credential_pool_id?: string | undefined;
15639
+ acs_system_id: string;
15640
+ parent_acs_credential_id?: string | undefined;
15641
+ display_name: string;
15642
+ code?: (string | undefined) | null;
15643
+ card_number?: (string | undefined) | null;
15644
+ is_issued?: boolean | undefined;
15645
+ issued_at?: (string | undefined) | null;
15646
+ access_method: 'code' | 'card' | 'mobile_key';
15647
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
15648
+ external_type_display_name?: string | undefined;
15649
+ created_at: string;
15650
+ workspace_id: string;
15651
+ starts_at?: string | undefined;
15652
+ ends_at?: string | undefined;
15653
+ errors: Array<{
15654
+ error_code: string;
15655
+ message: string;
15656
+ }>;
15657
+ warnings: Array<{
15658
+ warning_code: string;
15659
+ message: string;
15660
+ }>;
15661
+ is_multi_phone_sync_credential?: boolean | undefined;
15662
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
15663
+ latest_desired_state_synced_with_provider_at?: string | undefined;
15664
+ visionline_metadata?: {
15665
+ card_function_type: 'guest' | 'staff';
15666
+ joiner_acs_credential_ids?: string[] | undefined;
15667
+ guest_acs_entrance_ids?: string[] | undefined;
15668
+ common_acs_entrance_ids?: string[] | undefined;
15669
+ is_valid?: boolean | undefined;
15670
+ auto_join?: boolean | undefined;
15671
+ card_id?: string | undefined;
15672
+ credential_id?: string | undefined;
15673
+ } | undefined;
15674
+ is_managed: false;
15675
+ };
14641
15676
  } | {
14642
15677
  /** The ID of the action attempt. */
14643
15678
  action_attempt_id: string;
@@ -15382,7 +16417,87 @@ export interface Routes {
15382
16417
  status: 'success';
15383
16418
  error: null;
15384
16419
  action_type: 'ENCODE_CARD';
15385
- result: {};
16420
+ result: {
16421
+ acs_credential_id: string;
16422
+ acs_user_id?: string | undefined;
16423
+ acs_credential_pool_id?: string | undefined;
16424
+ acs_system_id: string;
16425
+ parent_acs_credential_id?: string | undefined;
16426
+ display_name: string;
16427
+ code?: (string | undefined) | null;
16428
+ card_number?: (string | undefined) | null;
16429
+ is_issued?: boolean | undefined;
16430
+ issued_at?: (string | undefined) | null;
16431
+ access_method: 'code' | 'card' | 'mobile_key';
16432
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
16433
+ external_type_display_name?: string | undefined;
16434
+ created_at: string;
16435
+ workspace_id: string;
16436
+ starts_at?: string | undefined;
16437
+ ends_at?: string | undefined;
16438
+ errors: Array<{
16439
+ error_code: string;
16440
+ message: string;
16441
+ }>;
16442
+ warnings: Array<{
16443
+ warning_code: string;
16444
+ message: string;
16445
+ }>;
16446
+ is_multi_phone_sync_credential?: boolean | undefined;
16447
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
16448
+ latest_desired_state_synced_with_provider_at?: string | undefined;
16449
+ visionline_metadata?: {
16450
+ card_function_type: 'guest' | 'staff';
16451
+ joiner_acs_credential_ids?: string[] | undefined;
16452
+ guest_acs_entrance_ids?: string[] | undefined;
16453
+ common_acs_entrance_ids?: string[] | undefined;
16454
+ is_valid?: boolean | undefined;
16455
+ auto_join?: boolean | undefined;
16456
+ card_id?: string | undefined;
16457
+ credential_id?: string | undefined;
16458
+ } | undefined;
16459
+ is_managed: true;
16460
+ } | {
16461
+ acs_credential_id: string;
16462
+ acs_user_id?: string | undefined;
16463
+ acs_credential_pool_id?: string | undefined;
16464
+ acs_system_id: string;
16465
+ parent_acs_credential_id?: string | undefined;
16466
+ display_name: string;
16467
+ code?: (string | undefined) | null;
16468
+ card_number?: (string | undefined) | null;
16469
+ is_issued?: boolean | undefined;
16470
+ issued_at?: (string | undefined) | null;
16471
+ access_method: 'code' | 'card' | 'mobile_key';
16472
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
16473
+ external_type_display_name?: string | undefined;
16474
+ created_at: string;
16475
+ workspace_id: string;
16476
+ starts_at?: string | undefined;
16477
+ ends_at?: string | undefined;
16478
+ errors: Array<{
16479
+ error_code: string;
16480
+ message: string;
16481
+ }>;
16482
+ warnings: Array<{
16483
+ warning_code: string;
16484
+ message: string;
16485
+ }>;
16486
+ is_multi_phone_sync_credential?: boolean | undefined;
16487
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
16488
+ latest_desired_state_synced_with_provider_at?: string | undefined;
16489
+ visionline_metadata?: {
16490
+ card_function_type: 'guest' | 'staff';
16491
+ joiner_acs_credential_ids?: string[] | undefined;
16492
+ guest_acs_entrance_ids?: string[] | undefined;
16493
+ common_acs_entrance_ids?: string[] | undefined;
16494
+ is_valid?: boolean | undefined;
16495
+ auto_join?: boolean | undefined;
16496
+ card_id?: string | undefined;
16497
+ credential_id?: string | undefined;
16498
+ } | undefined;
16499
+ is_managed: false;
16500
+ };
15386
16501
  } | {
15387
16502
  /** The ID of the action attempt. */
15388
16503
  action_attempt_id: string;
@@ -15947,7 +17062,87 @@ export interface Routes {
15947
17062
  status: 'success';
15948
17063
  error: null;
15949
17064
  action_type: 'ENCODE_CARD';
15950
- result: {};
17065
+ result: {
17066
+ acs_credential_id: string;
17067
+ acs_user_id?: string | undefined;
17068
+ acs_credential_pool_id?: string | undefined;
17069
+ acs_system_id: string;
17070
+ parent_acs_credential_id?: string | undefined;
17071
+ display_name: string;
17072
+ code?: (string | undefined) | null;
17073
+ card_number?: (string | undefined) | null;
17074
+ is_issued?: boolean | undefined;
17075
+ issued_at?: (string | undefined) | null;
17076
+ access_method: 'code' | 'card' | 'mobile_key';
17077
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
17078
+ external_type_display_name?: string | undefined;
17079
+ created_at: string;
17080
+ workspace_id: string;
17081
+ starts_at?: string | undefined;
17082
+ ends_at?: string | undefined;
17083
+ errors: Array<{
17084
+ error_code: string;
17085
+ message: string;
17086
+ }>;
17087
+ warnings: Array<{
17088
+ warning_code: string;
17089
+ message: string;
17090
+ }>;
17091
+ is_multi_phone_sync_credential?: boolean | undefined;
17092
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
17093
+ latest_desired_state_synced_with_provider_at?: string | undefined;
17094
+ visionline_metadata?: {
17095
+ card_function_type: 'guest' | 'staff';
17096
+ joiner_acs_credential_ids?: string[] | undefined;
17097
+ guest_acs_entrance_ids?: string[] | undefined;
17098
+ common_acs_entrance_ids?: string[] | undefined;
17099
+ is_valid?: boolean | undefined;
17100
+ auto_join?: boolean | undefined;
17101
+ card_id?: string | undefined;
17102
+ credential_id?: string | undefined;
17103
+ } | undefined;
17104
+ is_managed: true;
17105
+ } | {
17106
+ acs_credential_id: string;
17107
+ acs_user_id?: string | undefined;
17108
+ acs_credential_pool_id?: string | undefined;
17109
+ acs_system_id: string;
17110
+ parent_acs_credential_id?: string | undefined;
17111
+ display_name: string;
17112
+ code?: (string | undefined) | null;
17113
+ card_number?: (string | undefined) | null;
17114
+ is_issued?: boolean | undefined;
17115
+ issued_at?: (string | undefined) | null;
17116
+ access_method: 'code' | 'card' | 'mobile_key';
17117
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
17118
+ external_type_display_name?: string | undefined;
17119
+ created_at: string;
17120
+ workspace_id: string;
17121
+ starts_at?: string | undefined;
17122
+ ends_at?: string | undefined;
17123
+ errors: Array<{
17124
+ error_code: string;
17125
+ message: string;
17126
+ }>;
17127
+ warnings: Array<{
17128
+ warning_code: string;
17129
+ message: string;
17130
+ }>;
17131
+ is_multi_phone_sync_credential?: boolean | undefined;
17132
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
17133
+ latest_desired_state_synced_with_provider_at?: string | undefined;
17134
+ visionline_metadata?: {
17135
+ card_function_type: 'guest' | 'staff';
17136
+ joiner_acs_credential_ids?: string[] | undefined;
17137
+ guest_acs_entrance_ids?: string[] | undefined;
17138
+ common_acs_entrance_ids?: string[] | undefined;
17139
+ is_valid?: boolean | undefined;
17140
+ auto_join?: boolean | undefined;
17141
+ card_id?: string | undefined;
17142
+ credential_id?: string | undefined;
17143
+ } | undefined;
17144
+ is_managed: false;
17145
+ };
15951
17146
  } | {
15952
17147
  /** The ID of the action attempt. */
15953
17148
  action_attempt_id: string;
@@ -16997,7 +18192,87 @@ export interface Routes {
16997
18192
  status: 'success';
16998
18193
  error: null;
16999
18194
  action_type: 'ENCODE_CARD';
17000
- result: {};
18195
+ result: {
18196
+ acs_credential_id: string;
18197
+ acs_user_id?: string | undefined;
18198
+ acs_credential_pool_id?: string | undefined;
18199
+ acs_system_id: string;
18200
+ parent_acs_credential_id?: string | undefined;
18201
+ display_name: string;
18202
+ code?: (string | undefined) | null;
18203
+ card_number?: (string | undefined) | null;
18204
+ is_issued?: boolean | undefined;
18205
+ issued_at?: (string | undefined) | null;
18206
+ access_method: 'code' | 'card' | 'mobile_key';
18207
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
18208
+ external_type_display_name?: string | undefined;
18209
+ created_at: string;
18210
+ workspace_id: string;
18211
+ starts_at?: string | undefined;
18212
+ ends_at?: string | undefined;
18213
+ errors: Array<{
18214
+ error_code: string;
18215
+ message: string;
18216
+ }>;
18217
+ warnings: Array<{
18218
+ warning_code: string;
18219
+ message: string;
18220
+ }>;
18221
+ is_multi_phone_sync_credential?: boolean | undefined;
18222
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
18223
+ latest_desired_state_synced_with_provider_at?: string | undefined;
18224
+ visionline_metadata?: {
18225
+ card_function_type: 'guest' | 'staff';
18226
+ joiner_acs_credential_ids?: string[] | undefined;
18227
+ guest_acs_entrance_ids?: string[] | undefined;
18228
+ common_acs_entrance_ids?: string[] | undefined;
18229
+ is_valid?: boolean | undefined;
18230
+ auto_join?: boolean | undefined;
18231
+ card_id?: string | undefined;
18232
+ credential_id?: string | undefined;
18233
+ } | undefined;
18234
+ is_managed: true;
18235
+ } | {
18236
+ acs_credential_id: string;
18237
+ acs_user_id?: string | undefined;
18238
+ acs_credential_pool_id?: string | undefined;
18239
+ acs_system_id: string;
18240
+ parent_acs_credential_id?: string | undefined;
18241
+ display_name: string;
18242
+ code?: (string | undefined) | null;
18243
+ card_number?: (string | undefined) | null;
18244
+ is_issued?: boolean | undefined;
18245
+ issued_at?: (string | undefined) | null;
18246
+ access_method: 'code' | 'card' | 'mobile_key';
18247
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
18248
+ external_type_display_name?: string | undefined;
18249
+ created_at: string;
18250
+ workspace_id: string;
18251
+ starts_at?: string | undefined;
18252
+ ends_at?: string | undefined;
18253
+ errors: Array<{
18254
+ error_code: string;
18255
+ message: string;
18256
+ }>;
18257
+ warnings: Array<{
18258
+ warning_code: string;
18259
+ message: string;
18260
+ }>;
18261
+ is_multi_phone_sync_credential?: boolean | undefined;
18262
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
18263
+ latest_desired_state_synced_with_provider_at?: string | undefined;
18264
+ visionline_metadata?: {
18265
+ card_function_type: 'guest' | 'staff';
18266
+ joiner_acs_credential_ids?: string[] | undefined;
18267
+ guest_acs_entrance_ids?: string[] | undefined;
18268
+ common_acs_entrance_ids?: string[] | undefined;
18269
+ is_valid?: boolean | undefined;
18270
+ auto_join?: boolean | undefined;
18271
+ card_id?: string | undefined;
18272
+ credential_id?: string | undefined;
18273
+ } | undefined;
18274
+ is_managed: false;
18275
+ };
17001
18276
  } | {
17002
18277
  /** The ID of the action attempt. */
17003
18278
  action_attempt_id: string;
@@ -17564,7 +18839,87 @@ export interface Routes {
17564
18839
  status: 'success';
17565
18840
  error: null;
17566
18841
  action_type: 'ENCODE_CARD';
17567
- result: {};
18842
+ result: {
18843
+ acs_credential_id: string;
18844
+ acs_user_id?: string | undefined;
18845
+ acs_credential_pool_id?: string | undefined;
18846
+ acs_system_id: string;
18847
+ parent_acs_credential_id?: string | undefined;
18848
+ display_name: string;
18849
+ code?: (string | undefined) | null;
18850
+ card_number?: (string | undefined) | null;
18851
+ is_issued?: boolean | undefined;
18852
+ issued_at?: (string | undefined) | null;
18853
+ access_method: 'code' | 'card' | 'mobile_key';
18854
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
18855
+ external_type_display_name?: string | undefined;
18856
+ created_at: string;
18857
+ workspace_id: string;
18858
+ starts_at?: string | undefined;
18859
+ ends_at?: string | undefined;
18860
+ errors: Array<{
18861
+ error_code: string;
18862
+ message: string;
18863
+ }>;
18864
+ warnings: Array<{
18865
+ warning_code: string;
18866
+ message: string;
18867
+ }>;
18868
+ is_multi_phone_sync_credential?: boolean | undefined;
18869
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
18870
+ latest_desired_state_synced_with_provider_at?: string | undefined;
18871
+ visionline_metadata?: {
18872
+ card_function_type: 'guest' | 'staff';
18873
+ joiner_acs_credential_ids?: string[] | undefined;
18874
+ guest_acs_entrance_ids?: string[] | undefined;
18875
+ common_acs_entrance_ids?: string[] | undefined;
18876
+ is_valid?: boolean | undefined;
18877
+ auto_join?: boolean | undefined;
18878
+ card_id?: string | undefined;
18879
+ credential_id?: string | undefined;
18880
+ } | undefined;
18881
+ is_managed: true;
18882
+ } | {
18883
+ acs_credential_id: string;
18884
+ acs_user_id?: string | undefined;
18885
+ acs_credential_pool_id?: string | undefined;
18886
+ acs_system_id: string;
18887
+ parent_acs_credential_id?: string | undefined;
18888
+ display_name: string;
18889
+ code?: (string | undefined) | null;
18890
+ card_number?: (string | undefined) | null;
18891
+ is_issued?: boolean | undefined;
18892
+ issued_at?: (string | undefined) | null;
18893
+ access_method: 'code' | 'card' | 'mobile_key';
18894
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
18895
+ external_type_display_name?: string | undefined;
18896
+ created_at: string;
18897
+ workspace_id: string;
18898
+ starts_at?: string | undefined;
18899
+ ends_at?: string | undefined;
18900
+ errors: Array<{
18901
+ error_code: string;
18902
+ message: string;
18903
+ }>;
18904
+ warnings: Array<{
18905
+ warning_code: string;
18906
+ message: string;
18907
+ }>;
18908
+ is_multi_phone_sync_credential?: boolean | undefined;
18909
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
18910
+ latest_desired_state_synced_with_provider_at?: string | undefined;
18911
+ visionline_metadata?: {
18912
+ card_function_type: 'guest' | 'staff';
18913
+ joiner_acs_credential_ids?: string[] | undefined;
18914
+ guest_acs_entrance_ids?: string[] | undefined;
18915
+ common_acs_entrance_ids?: string[] | undefined;
18916
+ is_valid?: boolean | undefined;
18917
+ auto_join?: boolean | undefined;
18918
+ card_id?: string | undefined;
18919
+ credential_id?: string | undefined;
18920
+ } | undefined;
18921
+ is_managed: false;
18922
+ };
17568
18923
  } | {
17569
18924
  /** The ID of the action attempt. */
17570
18925
  action_attempt_id: string;
@@ -19032,7 +20387,87 @@ export interface Routes {
19032
20387
  status: 'success';
19033
20388
  error: null;
19034
20389
  action_type: 'ENCODE_CARD';
19035
- result: {};
20390
+ result: {
20391
+ acs_credential_id: string;
20392
+ acs_user_id?: string | undefined;
20393
+ acs_credential_pool_id?: string | undefined;
20394
+ acs_system_id: string;
20395
+ parent_acs_credential_id?: string | undefined;
20396
+ display_name: string;
20397
+ code?: (string | undefined) | null;
20398
+ card_number?: (string | undefined) | null;
20399
+ is_issued?: boolean | undefined;
20400
+ issued_at?: (string | undefined) | null;
20401
+ access_method: 'code' | 'card' | 'mobile_key';
20402
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
20403
+ external_type_display_name?: string | undefined;
20404
+ created_at: string;
20405
+ workspace_id: string;
20406
+ starts_at?: string | undefined;
20407
+ ends_at?: string | undefined;
20408
+ errors: Array<{
20409
+ error_code: string;
20410
+ message: string;
20411
+ }>;
20412
+ warnings: Array<{
20413
+ warning_code: string;
20414
+ message: string;
20415
+ }>;
20416
+ is_multi_phone_sync_credential?: boolean | undefined;
20417
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
20418
+ latest_desired_state_synced_with_provider_at?: string | undefined;
20419
+ visionline_metadata?: {
20420
+ card_function_type: 'guest' | 'staff';
20421
+ joiner_acs_credential_ids?: string[] | undefined;
20422
+ guest_acs_entrance_ids?: string[] | undefined;
20423
+ common_acs_entrance_ids?: string[] | undefined;
20424
+ is_valid?: boolean | undefined;
20425
+ auto_join?: boolean | undefined;
20426
+ card_id?: string | undefined;
20427
+ credential_id?: string | undefined;
20428
+ } | undefined;
20429
+ is_managed: true;
20430
+ } | {
20431
+ acs_credential_id: string;
20432
+ acs_user_id?: string | undefined;
20433
+ acs_credential_pool_id?: string | undefined;
20434
+ acs_system_id: string;
20435
+ parent_acs_credential_id?: string | undefined;
20436
+ display_name: string;
20437
+ code?: (string | undefined) | null;
20438
+ card_number?: (string | undefined) | null;
20439
+ is_issued?: boolean | undefined;
20440
+ issued_at?: (string | undefined) | null;
20441
+ access_method: 'code' | 'card' | 'mobile_key';
20442
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
20443
+ external_type_display_name?: string | undefined;
20444
+ created_at: string;
20445
+ workspace_id: string;
20446
+ starts_at?: string | undefined;
20447
+ ends_at?: string | undefined;
20448
+ errors: Array<{
20449
+ error_code: string;
20450
+ message: string;
20451
+ }>;
20452
+ warnings: Array<{
20453
+ warning_code: string;
20454
+ message: string;
20455
+ }>;
20456
+ is_multi_phone_sync_credential?: boolean | undefined;
20457
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
20458
+ latest_desired_state_synced_with_provider_at?: string | undefined;
20459
+ visionline_metadata?: {
20460
+ card_function_type: 'guest' | 'staff';
20461
+ joiner_acs_credential_ids?: string[] | undefined;
20462
+ guest_acs_entrance_ids?: string[] | undefined;
20463
+ common_acs_entrance_ids?: string[] | undefined;
20464
+ is_valid?: boolean | undefined;
20465
+ auto_join?: boolean | undefined;
20466
+ card_id?: string | undefined;
20467
+ credential_id?: string | undefined;
20468
+ } | undefined;
20469
+ is_managed: false;
20470
+ };
19036
20471
  } | {
19037
20472
  /** The ID of the action attempt. */
19038
20473
  action_attempt_id: string;
@@ -19716,7 +21151,87 @@ export interface Routes {
19716
21151
  status: 'success';
19717
21152
  error: null;
19718
21153
  action_type: 'ENCODE_CARD';
19719
- result: {};
21154
+ result: {
21155
+ acs_credential_id: string;
21156
+ acs_user_id?: string | undefined;
21157
+ acs_credential_pool_id?: string | undefined;
21158
+ acs_system_id: string;
21159
+ parent_acs_credential_id?: string | undefined;
21160
+ display_name: string;
21161
+ code?: (string | undefined) | null;
21162
+ card_number?: (string | undefined) | null;
21163
+ is_issued?: boolean | undefined;
21164
+ issued_at?: (string | undefined) | null;
21165
+ access_method: 'code' | 'card' | 'mobile_key';
21166
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
21167
+ external_type_display_name?: string | undefined;
21168
+ created_at: string;
21169
+ workspace_id: string;
21170
+ starts_at?: string | undefined;
21171
+ ends_at?: string | undefined;
21172
+ errors: Array<{
21173
+ error_code: string;
21174
+ message: string;
21175
+ }>;
21176
+ warnings: Array<{
21177
+ warning_code: string;
21178
+ message: string;
21179
+ }>;
21180
+ is_multi_phone_sync_credential?: boolean | undefined;
21181
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
21182
+ latest_desired_state_synced_with_provider_at?: string | undefined;
21183
+ visionline_metadata?: {
21184
+ card_function_type: 'guest' | 'staff';
21185
+ joiner_acs_credential_ids?: string[] | undefined;
21186
+ guest_acs_entrance_ids?: string[] | undefined;
21187
+ common_acs_entrance_ids?: string[] | undefined;
21188
+ is_valid?: boolean | undefined;
21189
+ auto_join?: boolean | undefined;
21190
+ card_id?: string | undefined;
21191
+ credential_id?: string | undefined;
21192
+ } | undefined;
21193
+ is_managed: true;
21194
+ } | {
21195
+ acs_credential_id: string;
21196
+ acs_user_id?: string | undefined;
21197
+ acs_credential_pool_id?: string | undefined;
21198
+ acs_system_id: string;
21199
+ parent_acs_credential_id?: string | undefined;
21200
+ display_name: string;
21201
+ code?: (string | undefined) | null;
21202
+ card_number?: (string | undefined) | null;
21203
+ is_issued?: boolean | undefined;
21204
+ issued_at?: (string | undefined) | null;
21205
+ access_method: 'code' | 'card' | 'mobile_key';
21206
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
21207
+ external_type_display_name?: string | undefined;
21208
+ created_at: string;
21209
+ workspace_id: string;
21210
+ starts_at?: string | undefined;
21211
+ ends_at?: string | undefined;
21212
+ errors: Array<{
21213
+ error_code: string;
21214
+ message: string;
21215
+ }>;
21216
+ warnings: Array<{
21217
+ warning_code: string;
21218
+ message: string;
21219
+ }>;
21220
+ is_multi_phone_sync_credential?: boolean | undefined;
21221
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
21222
+ latest_desired_state_synced_with_provider_at?: string | undefined;
21223
+ visionline_metadata?: {
21224
+ card_function_type: 'guest' | 'staff';
21225
+ joiner_acs_credential_ids?: string[] | undefined;
21226
+ guest_acs_entrance_ids?: string[] | undefined;
21227
+ common_acs_entrance_ids?: string[] | undefined;
21228
+ is_valid?: boolean | undefined;
21229
+ auto_join?: boolean | undefined;
21230
+ card_id?: string | undefined;
21231
+ credential_id?: string | undefined;
21232
+ } | undefined;
21233
+ is_managed: false;
21234
+ };
19720
21235
  } | {
19721
21236
  /** The ID of the action attempt. */
19722
21237
  action_attempt_id: string;
@@ -21754,7 +23269,87 @@ export interface Routes {
21754
23269
  status: 'success';
21755
23270
  error: null;
21756
23271
  action_type: 'ENCODE_CARD';
21757
- result: {};
23272
+ result: {
23273
+ acs_credential_id: string;
23274
+ acs_user_id?: string | undefined;
23275
+ acs_credential_pool_id?: string | undefined;
23276
+ acs_system_id: string;
23277
+ parent_acs_credential_id?: string | undefined;
23278
+ display_name: string;
23279
+ code?: (string | undefined) | null;
23280
+ card_number?: (string | undefined) | null;
23281
+ is_issued?: boolean | undefined;
23282
+ issued_at?: (string | undefined) | null;
23283
+ access_method: 'code' | 'card' | 'mobile_key';
23284
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
23285
+ external_type_display_name?: string | undefined;
23286
+ created_at: string;
23287
+ workspace_id: string;
23288
+ starts_at?: string | undefined;
23289
+ ends_at?: string | undefined;
23290
+ errors: Array<{
23291
+ error_code: string;
23292
+ message: string;
23293
+ }>;
23294
+ warnings: Array<{
23295
+ warning_code: string;
23296
+ message: string;
23297
+ }>;
23298
+ is_multi_phone_sync_credential?: boolean | undefined;
23299
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
23300
+ latest_desired_state_synced_with_provider_at?: string | undefined;
23301
+ visionline_metadata?: {
23302
+ card_function_type: 'guest' | 'staff';
23303
+ joiner_acs_credential_ids?: string[] | undefined;
23304
+ guest_acs_entrance_ids?: string[] | undefined;
23305
+ common_acs_entrance_ids?: string[] | undefined;
23306
+ is_valid?: boolean | undefined;
23307
+ auto_join?: boolean | undefined;
23308
+ card_id?: string | undefined;
23309
+ credential_id?: string | undefined;
23310
+ } | undefined;
23311
+ is_managed: true;
23312
+ } | {
23313
+ acs_credential_id: string;
23314
+ acs_user_id?: string | undefined;
23315
+ acs_credential_pool_id?: string | undefined;
23316
+ acs_system_id: string;
23317
+ parent_acs_credential_id?: string | undefined;
23318
+ display_name: string;
23319
+ code?: (string | undefined) | null;
23320
+ card_number?: (string | undefined) | null;
23321
+ is_issued?: boolean | undefined;
23322
+ issued_at?: (string | undefined) | null;
23323
+ access_method: 'code' | 'card' | 'mobile_key';
23324
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
23325
+ external_type_display_name?: string | undefined;
23326
+ created_at: string;
23327
+ workspace_id: string;
23328
+ starts_at?: string | undefined;
23329
+ ends_at?: string | undefined;
23330
+ errors: Array<{
23331
+ error_code: string;
23332
+ message: string;
23333
+ }>;
23334
+ warnings: Array<{
23335
+ warning_code: string;
23336
+ message: string;
23337
+ }>;
23338
+ is_multi_phone_sync_credential?: boolean | undefined;
23339
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
23340
+ latest_desired_state_synced_with_provider_at?: string | undefined;
23341
+ visionline_metadata?: {
23342
+ card_function_type: 'guest' | 'staff';
23343
+ joiner_acs_credential_ids?: string[] | undefined;
23344
+ guest_acs_entrance_ids?: string[] | undefined;
23345
+ common_acs_entrance_ids?: string[] | undefined;
23346
+ is_valid?: boolean | undefined;
23347
+ auto_join?: boolean | undefined;
23348
+ card_id?: string | undefined;
23349
+ credential_id?: string | undefined;
23350
+ } | undefined;
23351
+ is_managed: false;
23352
+ };
21758
23353
  } | {
21759
23354
  /** The ID of the action attempt. */
21760
23355
  action_attempt_id: string;