@seamapi/types 1.270.0 → 1.271.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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;
@@ -3747,8 +4067,11 @@ export interface Routes {
3747
4067
  commonParams: {
3748
4068
  acs_system_id: string;
3749
4069
  device_name: string;
4070
+ acs_credential_id: string;
3750
4071
  } | {
4072
+ acs_system_id: string;
3751
4073
  device_id: string;
4074
+ acs_credential_id: string;
3752
4075
  };
3753
4076
  formData: {};
3754
4077
  jsonResponse: {
@@ -3946,7 +4269,87 @@ export interface Routes {
3946
4269
  status: 'success';
3947
4270
  error: null;
3948
4271
  action_type: 'ENCODE_CARD';
3949
- result: {};
4272
+ result: {
4273
+ acs_credential_id: string;
4274
+ acs_user_id?: string | undefined;
4275
+ acs_credential_pool_id?: string | undefined;
4276
+ acs_system_id: string;
4277
+ parent_acs_credential_id?: string | undefined;
4278
+ display_name: string;
4279
+ code?: (string | undefined) | null;
4280
+ card_number?: (string | undefined) | null;
4281
+ is_issued?: boolean | undefined;
4282
+ issued_at?: (string | undefined) | null;
4283
+ access_method: 'code' | 'card' | 'mobile_key';
4284
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
4285
+ external_type_display_name?: string | undefined;
4286
+ created_at: string;
4287
+ workspace_id: string;
4288
+ starts_at?: string | undefined;
4289
+ ends_at?: string | undefined;
4290
+ errors: Array<{
4291
+ error_code: string;
4292
+ message: string;
4293
+ }>;
4294
+ warnings: Array<{
4295
+ warning_code: string;
4296
+ message: string;
4297
+ }>;
4298
+ is_multi_phone_sync_credential?: boolean | undefined;
4299
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
4300
+ latest_desired_state_synced_with_provider_at?: string | undefined;
4301
+ visionline_metadata?: {
4302
+ card_function_type: 'guest' | 'staff';
4303
+ joiner_acs_credential_ids?: string[] | undefined;
4304
+ guest_acs_entrance_ids?: string[] | undefined;
4305
+ common_acs_entrance_ids?: string[] | undefined;
4306
+ is_valid?: boolean | undefined;
4307
+ auto_join?: boolean | undefined;
4308
+ card_id?: string | undefined;
4309
+ credential_id?: string | undefined;
4310
+ } | undefined;
4311
+ is_managed: true;
4312
+ } | {
4313
+ acs_credential_id: string;
4314
+ acs_user_id?: string | undefined;
4315
+ acs_credential_pool_id?: string | undefined;
4316
+ acs_system_id: string;
4317
+ parent_acs_credential_id?: string | undefined;
4318
+ display_name: string;
4319
+ code?: (string | undefined) | null;
4320
+ card_number?: (string | undefined) | null;
4321
+ is_issued?: boolean | undefined;
4322
+ issued_at?: (string | undefined) | null;
4323
+ access_method: 'code' | 'card' | 'mobile_key';
4324
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
4325
+ external_type_display_name?: string | undefined;
4326
+ created_at: string;
4327
+ workspace_id: string;
4328
+ starts_at?: string | undefined;
4329
+ ends_at?: string | undefined;
4330
+ errors: Array<{
4331
+ error_code: string;
4332
+ message: string;
4333
+ }>;
4334
+ warnings: Array<{
4335
+ warning_code: string;
4336
+ message: string;
4337
+ }>;
4338
+ is_multi_phone_sync_credential?: boolean | undefined;
4339
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
4340
+ latest_desired_state_synced_with_provider_at?: string | undefined;
4341
+ visionline_metadata?: {
4342
+ card_function_type: 'guest' | 'staff';
4343
+ joiner_acs_credential_ids?: string[] | undefined;
4344
+ guest_acs_entrance_ids?: string[] | undefined;
4345
+ common_acs_entrance_ids?: string[] | undefined;
4346
+ is_valid?: boolean | undefined;
4347
+ auto_join?: boolean | undefined;
4348
+ card_id?: string | undefined;
4349
+ credential_id?: string | undefined;
4350
+ } | undefined;
4351
+ is_managed: false;
4352
+ };
3950
4353
  } | {
3951
4354
  /** The ID of the action attempt. */
3952
4355
  action_attempt_id: string;
@@ -4972,7 +5375,87 @@ export interface Routes {
4972
5375
  status: 'success';
4973
5376
  error: null;
4974
5377
  action_type: 'ENCODE_CARD';
4975
- result: {};
5378
+ result: {
5379
+ acs_credential_id: string;
5380
+ acs_user_id?: string | undefined;
5381
+ acs_credential_pool_id?: string | undefined;
5382
+ acs_system_id: string;
5383
+ parent_acs_credential_id?: string | undefined;
5384
+ display_name: string;
5385
+ code?: (string | undefined) | null;
5386
+ card_number?: (string | undefined) | null;
5387
+ is_issued?: boolean | undefined;
5388
+ issued_at?: (string | undefined) | null;
5389
+ access_method: 'code' | 'card' | 'mobile_key';
5390
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
5391
+ external_type_display_name?: string | undefined;
5392
+ created_at: string;
5393
+ workspace_id: string;
5394
+ starts_at?: string | undefined;
5395
+ ends_at?: string | undefined;
5396
+ errors: Array<{
5397
+ error_code: string;
5398
+ message: string;
5399
+ }>;
5400
+ warnings: Array<{
5401
+ warning_code: string;
5402
+ message: string;
5403
+ }>;
5404
+ is_multi_phone_sync_credential?: boolean | undefined;
5405
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
5406
+ latest_desired_state_synced_with_provider_at?: string | undefined;
5407
+ visionline_metadata?: {
5408
+ card_function_type: 'guest' | 'staff';
5409
+ joiner_acs_credential_ids?: string[] | undefined;
5410
+ guest_acs_entrance_ids?: string[] | undefined;
5411
+ common_acs_entrance_ids?: string[] | undefined;
5412
+ is_valid?: boolean | undefined;
5413
+ auto_join?: boolean | undefined;
5414
+ card_id?: string | undefined;
5415
+ credential_id?: string | undefined;
5416
+ } | undefined;
5417
+ is_managed: true;
5418
+ } | {
5419
+ acs_credential_id: string;
5420
+ acs_user_id?: string | undefined;
5421
+ acs_credential_pool_id?: string | undefined;
5422
+ acs_system_id: string;
5423
+ parent_acs_credential_id?: string | undefined;
5424
+ display_name: string;
5425
+ code?: (string | undefined) | null;
5426
+ card_number?: (string | undefined) | null;
5427
+ is_issued?: boolean | undefined;
5428
+ issued_at?: (string | undefined) | null;
5429
+ access_method: 'code' | 'card' | 'mobile_key';
5430
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
5431
+ external_type_display_name?: string | undefined;
5432
+ created_at: string;
5433
+ workspace_id: string;
5434
+ starts_at?: string | undefined;
5435
+ ends_at?: string | undefined;
5436
+ errors: Array<{
5437
+ error_code: string;
5438
+ message: string;
5439
+ }>;
5440
+ warnings: Array<{
5441
+ warning_code: string;
5442
+ message: string;
5443
+ }>;
5444
+ is_multi_phone_sync_credential?: boolean | undefined;
5445
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
5446
+ latest_desired_state_synced_with_provider_at?: string | undefined;
5447
+ visionline_metadata?: {
5448
+ card_function_type: 'guest' | 'staff';
5449
+ joiner_acs_credential_ids?: string[] | undefined;
5450
+ guest_acs_entrance_ids?: string[] | undefined;
5451
+ common_acs_entrance_ids?: string[] | undefined;
5452
+ is_valid?: boolean | undefined;
5453
+ auto_join?: boolean | undefined;
5454
+ card_id?: string | undefined;
5455
+ credential_id?: string | undefined;
5456
+ } | undefined;
5457
+ is_managed: false;
5458
+ };
4976
5459
  } | {
4977
5460
  /** The ID of the action attempt. */
4978
5461
  action_attempt_id: string;
@@ -6704,7 +7187,87 @@ export interface Routes {
6704
7187
  status: 'success';
6705
7188
  error: null;
6706
7189
  action_type: 'ENCODE_CARD';
6707
- result: {};
7190
+ result: {
7191
+ acs_credential_id: string;
7192
+ acs_user_id?: string | undefined;
7193
+ acs_credential_pool_id?: string | undefined;
7194
+ acs_system_id: string;
7195
+ parent_acs_credential_id?: string | undefined;
7196
+ display_name: string;
7197
+ code?: (string | undefined) | null;
7198
+ card_number?: (string | undefined) | null;
7199
+ is_issued?: boolean | undefined;
7200
+ issued_at?: (string | undefined) | null;
7201
+ access_method: 'code' | 'card' | 'mobile_key';
7202
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
7203
+ external_type_display_name?: string | undefined;
7204
+ created_at: string;
7205
+ workspace_id: string;
7206
+ starts_at?: string | undefined;
7207
+ ends_at?: string | undefined;
7208
+ errors: Array<{
7209
+ error_code: string;
7210
+ message: string;
7211
+ }>;
7212
+ warnings: Array<{
7213
+ warning_code: string;
7214
+ message: string;
7215
+ }>;
7216
+ is_multi_phone_sync_credential?: boolean | undefined;
7217
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
7218
+ latest_desired_state_synced_with_provider_at?: string | undefined;
7219
+ visionline_metadata?: {
7220
+ card_function_type: 'guest' | 'staff';
7221
+ joiner_acs_credential_ids?: string[] | undefined;
7222
+ guest_acs_entrance_ids?: string[] | undefined;
7223
+ common_acs_entrance_ids?: string[] | undefined;
7224
+ is_valid?: boolean | undefined;
7225
+ auto_join?: boolean | undefined;
7226
+ card_id?: string | undefined;
7227
+ credential_id?: string | undefined;
7228
+ } | undefined;
7229
+ is_managed: true;
7230
+ } | {
7231
+ acs_credential_id: string;
7232
+ acs_user_id?: string | undefined;
7233
+ acs_credential_pool_id?: string | undefined;
7234
+ acs_system_id: string;
7235
+ parent_acs_credential_id?: string | undefined;
7236
+ display_name: string;
7237
+ code?: (string | undefined) | null;
7238
+ card_number?: (string | undefined) | null;
7239
+ is_issued?: boolean | undefined;
7240
+ issued_at?: (string | undefined) | null;
7241
+ access_method: 'code' | 'card' | 'mobile_key';
7242
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
7243
+ external_type_display_name?: string | undefined;
7244
+ created_at: string;
7245
+ workspace_id: string;
7246
+ starts_at?: string | undefined;
7247
+ ends_at?: string | undefined;
7248
+ errors: Array<{
7249
+ error_code: string;
7250
+ message: string;
7251
+ }>;
7252
+ warnings: Array<{
7253
+ warning_code: string;
7254
+ message: string;
7255
+ }>;
7256
+ is_multi_phone_sync_credential?: boolean | undefined;
7257
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
7258
+ latest_desired_state_synced_with_provider_at?: string | undefined;
7259
+ visionline_metadata?: {
7260
+ card_function_type: 'guest' | 'staff';
7261
+ joiner_acs_credential_ids?: string[] | undefined;
7262
+ guest_acs_entrance_ids?: string[] | undefined;
7263
+ common_acs_entrance_ids?: string[] | undefined;
7264
+ is_valid?: boolean | undefined;
7265
+ auto_join?: boolean | undefined;
7266
+ card_id?: string | undefined;
7267
+ credential_id?: string | undefined;
7268
+ } | undefined;
7269
+ is_managed: false;
7270
+ };
6708
7271
  } | {
6709
7272
  /** The ID of the action attempt. */
6710
7273
  action_attempt_id: string;
@@ -7266,7 +7829,87 @@ export interface Routes {
7266
7829
  status: 'success';
7267
7830
  error: null;
7268
7831
  action_type: 'ENCODE_CARD';
7269
- result: {};
7832
+ result: {
7833
+ acs_credential_id: string;
7834
+ acs_user_id?: string | undefined;
7835
+ acs_credential_pool_id?: string | undefined;
7836
+ acs_system_id: string;
7837
+ parent_acs_credential_id?: string | undefined;
7838
+ display_name: string;
7839
+ code?: (string | undefined) | null;
7840
+ card_number?: (string | undefined) | null;
7841
+ is_issued?: boolean | undefined;
7842
+ issued_at?: (string | undefined) | null;
7843
+ access_method: 'code' | 'card' | 'mobile_key';
7844
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
7845
+ external_type_display_name?: string | undefined;
7846
+ created_at: string;
7847
+ workspace_id: string;
7848
+ starts_at?: string | undefined;
7849
+ ends_at?: string | undefined;
7850
+ errors: Array<{
7851
+ error_code: string;
7852
+ message: string;
7853
+ }>;
7854
+ warnings: Array<{
7855
+ warning_code: string;
7856
+ message: string;
7857
+ }>;
7858
+ is_multi_phone_sync_credential?: boolean | undefined;
7859
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
7860
+ latest_desired_state_synced_with_provider_at?: string | undefined;
7861
+ visionline_metadata?: {
7862
+ card_function_type: 'guest' | 'staff';
7863
+ joiner_acs_credential_ids?: string[] | undefined;
7864
+ guest_acs_entrance_ids?: string[] | undefined;
7865
+ common_acs_entrance_ids?: string[] | undefined;
7866
+ is_valid?: boolean | undefined;
7867
+ auto_join?: boolean | undefined;
7868
+ card_id?: string | undefined;
7869
+ credential_id?: string | undefined;
7870
+ } | undefined;
7871
+ is_managed: true;
7872
+ } | {
7873
+ acs_credential_id: string;
7874
+ acs_user_id?: string | undefined;
7875
+ acs_credential_pool_id?: string | undefined;
7876
+ acs_system_id: string;
7877
+ parent_acs_credential_id?: string | undefined;
7878
+ display_name: string;
7879
+ code?: (string | undefined) | null;
7880
+ card_number?: (string | undefined) | null;
7881
+ is_issued?: boolean | undefined;
7882
+ issued_at?: (string | undefined) | null;
7883
+ access_method: 'code' | 'card' | 'mobile_key';
7884
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
7885
+ external_type_display_name?: string | undefined;
7886
+ created_at: string;
7887
+ workspace_id: string;
7888
+ starts_at?: string | undefined;
7889
+ ends_at?: string | undefined;
7890
+ errors: Array<{
7891
+ error_code: string;
7892
+ message: string;
7893
+ }>;
7894
+ warnings: Array<{
7895
+ warning_code: string;
7896
+ message: string;
7897
+ }>;
7898
+ is_multi_phone_sync_credential?: boolean | undefined;
7899
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
7900
+ latest_desired_state_synced_with_provider_at?: string | undefined;
7901
+ visionline_metadata?: {
7902
+ card_function_type: 'guest' | 'staff';
7903
+ joiner_acs_credential_ids?: string[] | undefined;
7904
+ guest_acs_entrance_ids?: string[] | undefined;
7905
+ common_acs_entrance_ids?: string[] | undefined;
7906
+ is_valid?: boolean | undefined;
7907
+ auto_join?: boolean | undefined;
7908
+ card_id?: string | undefined;
7909
+ credential_id?: string | undefined;
7910
+ } | undefined;
7911
+ is_managed: false;
7912
+ };
7270
7913
  } | {
7271
7914
  /** The ID of the action attempt. */
7272
7915
  action_attempt_id: string;
@@ -11382,7 +12025,87 @@ export interface Routes {
11382
12025
  status: 'success';
11383
12026
  error: null;
11384
12027
  action_type: 'ENCODE_CARD';
11385
- result: {};
12028
+ result: {
12029
+ acs_credential_id: string;
12030
+ acs_user_id?: string | undefined;
12031
+ acs_credential_pool_id?: string | undefined;
12032
+ acs_system_id: string;
12033
+ parent_acs_credential_id?: string | undefined;
12034
+ display_name: string;
12035
+ code?: (string | undefined) | null;
12036
+ card_number?: (string | undefined) | null;
12037
+ is_issued?: boolean | undefined;
12038
+ issued_at?: (string | undefined) | null;
12039
+ access_method: 'code' | 'card' | 'mobile_key';
12040
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
12041
+ external_type_display_name?: string | undefined;
12042
+ created_at: string;
12043
+ workspace_id: string;
12044
+ starts_at?: string | undefined;
12045
+ ends_at?: string | undefined;
12046
+ errors: Array<{
12047
+ error_code: string;
12048
+ message: string;
12049
+ }>;
12050
+ warnings: Array<{
12051
+ warning_code: string;
12052
+ message: string;
12053
+ }>;
12054
+ is_multi_phone_sync_credential?: boolean | undefined;
12055
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
12056
+ latest_desired_state_synced_with_provider_at?: string | undefined;
12057
+ visionline_metadata?: {
12058
+ card_function_type: 'guest' | 'staff';
12059
+ joiner_acs_credential_ids?: string[] | undefined;
12060
+ guest_acs_entrance_ids?: string[] | undefined;
12061
+ common_acs_entrance_ids?: string[] | undefined;
12062
+ is_valid?: boolean | undefined;
12063
+ auto_join?: boolean | undefined;
12064
+ card_id?: string | undefined;
12065
+ credential_id?: string | undefined;
12066
+ } | undefined;
12067
+ is_managed: true;
12068
+ } | {
12069
+ acs_credential_id: string;
12070
+ acs_user_id?: string | undefined;
12071
+ acs_credential_pool_id?: string | undefined;
12072
+ acs_system_id: string;
12073
+ parent_acs_credential_id?: string | undefined;
12074
+ display_name: string;
12075
+ code?: (string | undefined) | null;
12076
+ card_number?: (string | undefined) | null;
12077
+ is_issued?: boolean | undefined;
12078
+ issued_at?: (string | undefined) | null;
12079
+ access_method: 'code' | 'card' | 'mobile_key';
12080
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
12081
+ external_type_display_name?: string | undefined;
12082
+ created_at: string;
12083
+ workspace_id: string;
12084
+ starts_at?: string | undefined;
12085
+ ends_at?: string | undefined;
12086
+ errors: Array<{
12087
+ error_code: string;
12088
+ message: string;
12089
+ }>;
12090
+ warnings: Array<{
12091
+ warning_code: string;
12092
+ message: string;
12093
+ }>;
12094
+ is_multi_phone_sync_credential?: boolean | undefined;
12095
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
12096
+ latest_desired_state_synced_with_provider_at?: string | undefined;
12097
+ visionline_metadata?: {
12098
+ card_function_type: 'guest' | 'staff';
12099
+ joiner_acs_credential_ids?: string[] | undefined;
12100
+ guest_acs_entrance_ids?: string[] | undefined;
12101
+ common_acs_entrance_ids?: string[] | undefined;
12102
+ is_valid?: boolean | undefined;
12103
+ auto_join?: boolean | undefined;
12104
+ card_id?: string | undefined;
12105
+ credential_id?: string | undefined;
12106
+ } | undefined;
12107
+ is_managed: false;
12108
+ };
11386
12109
  } | {
11387
12110
  /** The ID of the action attempt. */
11388
12111
  action_attempt_id: string;
@@ -11945,7 +12668,87 @@ export interface Routes {
11945
12668
  status: 'success';
11946
12669
  error: null;
11947
12670
  action_type: 'ENCODE_CARD';
11948
- result: {};
12671
+ result: {
12672
+ acs_credential_id: string;
12673
+ acs_user_id?: string | undefined;
12674
+ acs_credential_pool_id?: string | undefined;
12675
+ acs_system_id: string;
12676
+ parent_acs_credential_id?: string | undefined;
12677
+ display_name: string;
12678
+ code?: (string | undefined) | null;
12679
+ card_number?: (string | undefined) | null;
12680
+ is_issued?: boolean | undefined;
12681
+ issued_at?: (string | undefined) | null;
12682
+ access_method: 'code' | 'card' | 'mobile_key';
12683
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
12684
+ external_type_display_name?: string | undefined;
12685
+ created_at: string;
12686
+ workspace_id: string;
12687
+ starts_at?: string | undefined;
12688
+ ends_at?: string | undefined;
12689
+ errors: Array<{
12690
+ error_code: string;
12691
+ message: string;
12692
+ }>;
12693
+ warnings: Array<{
12694
+ warning_code: string;
12695
+ message: string;
12696
+ }>;
12697
+ is_multi_phone_sync_credential?: boolean | undefined;
12698
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
12699
+ latest_desired_state_synced_with_provider_at?: string | undefined;
12700
+ visionline_metadata?: {
12701
+ card_function_type: 'guest' | 'staff';
12702
+ joiner_acs_credential_ids?: string[] | undefined;
12703
+ guest_acs_entrance_ids?: string[] | undefined;
12704
+ common_acs_entrance_ids?: string[] | undefined;
12705
+ is_valid?: boolean | undefined;
12706
+ auto_join?: boolean | undefined;
12707
+ card_id?: string | undefined;
12708
+ credential_id?: string | undefined;
12709
+ } | undefined;
12710
+ is_managed: true;
12711
+ } | {
12712
+ acs_credential_id: string;
12713
+ acs_user_id?: string | undefined;
12714
+ acs_credential_pool_id?: string | undefined;
12715
+ acs_system_id: string;
12716
+ parent_acs_credential_id?: string | undefined;
12717
+ display_name: string;
12718
+ code?: (string | undefined) | null;
12719
+ card_number?: (string | undefined) | null;
12720
+ is_issued?: boolean | undefined;
12721
+ issued_at?: (string | undefined) | null;
12722
+ access_method: 'code' | 'card' | 'mobile_key';
12723
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
12724
+ external_type_display_name?: string | undefined;
12725
+ created_at: string;
12726
+ workspace_id: string;
12727
+ starts_at?: string | undefined;
12728
+ ends_at?: string | undefined;
12729
+ errors: Array<{
12730
+ error_code: string;
12731
+ message: string;
12732
+ }>;
12733
+ warnings: Array<{
12734
+ warning_code: string;
12735
+ message: string;
12736
+ }>;
12737
+ is_multi_phone_sync_credential?: boolean | undefined;
12738
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
12739
+ latest_desired_state_synced_with_provider_at?: string | undefined;
12740
+ visionline_metadata?: {
12741
+ card_function_type: 'guest' | 'staff';
12742
+ joiner_acs_credential_ids?: string[] | undefined;
12743
+ guest_acs_entrance_ids?: string[] | undefined;
12744
+ common_acs_entrance_ids?: string[] | undefined;
12745
+ is_valid?: boolean | undefined;
12746
+ auto_join?: boolean | undefined;
12747
+ card_id?: string | undefined;
12748
+ credential_id?: string | undefined;
12749
+ } | undefined;
12750
+ is_managed: false;
12751
+ };
11949
12752
  } | {
11950
12753
  /** The ID of the action attempt. */
11951
12754
  action_attempt_id: string;
@@ -13452,7 +14255,87 @@ export interface Routes {
13452
14255
  status: 'success';
13453
14256
  error: null;
13454
14257
  action_type: 'ENCODE_CARD';
13455
- result: {};
14258
+ result: {
14259
+ acs_credential_id: string;
14260
+ acs_user_id?: string | undefined;
14261
+ acs_credential_pool_id?: string | undefined;
14262
+ acs_system_id: string;
14263
+ parent_acs_credential_id?: string | undefined;
14264
+ display_name: string;
14265
+ code?: (string | undefined) | null;
14266
+ card_number?: (string | undefined) | null;
14267
+ is_issued?: boolean | undefined;
14268
+ issued_at?: (string | undefined) | null;
14269
+ access_method: 'code' | 'card' | 'mobile_key';
14270
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
14271
+ external_type_display_name?: string | undefined;
14272
+ created_at: string;
14273
+ workspace_id: string;
14274
+ starts_at?: string | undefined;
14275
+ ends_at?: string | undefined;
14276
+ errors: Array<{
14277
+ error_code: string;
14278
+ message: string;
14279
+ }>;
14280
+ warnings: Array<{
14281
+ warning_code: string;
14282
+ message: string;
14283
+ }>;
14284
+ is_multi_phone_sync_credential?: boolean | undefined;
14285
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
14286
+ latest_desired_state_synced_with_provider_at?: string | undefined;
14287
+ visionline_metadata?: {
14288
+ card_function_type: 'guest' | 'staff';
14289
+ joiner_acs_credential_ids?: string[] | undefined;
14290
+ guest_acs_entrance_ids?: string[] | undefined;
14291
+ common_acs_entrance_ids?: string[] | undefined;
14292
+ is_valid?: boolean | undefined;
14293
+ auto_join?: boolean | undefined;
14294
+ card_id?: string | undefined;
14295
+ credential_id?: string | undefined;
14296
+ } | undefined;
14297
+ is_managed: true;
14298
+ } | {
14299
+ acs_credential_id: string;
14300
+ acs_user_id?: string | undefined;
14301
+ acs_credential_pool_id?: string | undefined;
14302
+ acs_system_id: string;
14303
+ parent_acs_credential_id?: string | undefined;
14304
+ display_name: string;
14305
+ code?: (string | undefined) | null;
14306
+ card_number?: (string | undefined) | null;
14307
+ is_issued?: boolean | undefined;
14308
+ issued_at?: (string | undefined) | null;
14309
+ access_method: 'code' | 'card' | 'mobile_key';
14310
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
14311
+ external_type_display_name?: string | undefined;
14312
+ created_at: string;
14313
+ workspace_id: string;
14314
+ starts_at?: string | undefined;
14315
+ ends_at?: string | undefined;
14316
+ errors: Array<{
14317
+ error_code: string;
14318
+ message: string;
14319
+ }>;
14320
+ warnings: Array<{
14321
+ warning_code: string;
14322
+ message: string;
14323
+ }>;
14324
+ is_multi_phone_sync_credential?: boolean | undefined;
14325
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
14326
+ latest_desired_state_synced_with_provider_at?: string | undefined;
14327
+ visionline_metadata?: {
14328
+ card_function_type: 'guest' | 'staff';
14329
+ joiner_acs_credential_ids?: string[] | undefined;
14330
+ guest_acs_entrance_ids?: string[] | undefined;
14331
+ common_acs_entrance_ids?: string[] | undefined;
14332
+ is_valid?: boolean | undefined;
14333
+ auto_join?: boolean | undefined;
14334
+ card_id?: string | undefined;
14335
+ credential_id?: string | undefined;
14336
+ } | undefined;
14337
+ is_managed: false;
14338
+ };
13456
14339
  } | {
13457
14340
  /** The ID of the action attempt. */
13458
14341
  action_attempt_id: string;
@@ -14025,7 +14908,87 @@ export interface Routes {
14025
14908
  status: 'success';
14026
14909
  error: null;
14027
14910
  action_type: 'ENCODE_CARD';
14028
- result: {};
14911
+ result: {
14912
+ acs_credential_id: string;
14913
+ acs_user_id?: string | undefined;
14914
+ acs_credential_pool_id?: string | undefined;
14915
+ acs_system_id: string;
14916
+ parent_acs_credential_id?: string | undefined;
14917
+ display_name: string;
14918
+ code?: (string | undefined) | null;
14919
+ card_number?: (string | undefined) | null;
14920
+ is_issued?: boolean | undefined;
14921
+ issued_at?: (string | undefined) | null;
14922
+ access_method: 'code' | 'card' | 'mobile_key';
14923
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
14924
+ external_type_display_name?: string | undefined;
14925
+ created_at: string;
14926
+ workspace_id: string;
14927
+ starts_at?: string | undefined;
14928
+ ends_at?: string | undefined;
14929
+ errors: Array<{
14930
+ error_code: string;
14931
+ message: string;
14932
+ }>;
14933
+ warnings: Array<{
14934
+ warning_code: string;
14935
+ message: string;
14936
+ }>;
14937
+ is_multi_phone_sync_credential?: boolean | undefined;
14938
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
14939
+ latest_desired_state_synced_with_provider_at?: string | undefined;
14940
+ visionline_metadata?: {
14941
+ card_function_type: 'guest' | 'staff';
14942
+ joiner_acs_credential_ids?: string[] | undefined;
14943
+ guest_acs_entrance_ids?: string[] | undefined;
14944
+ common_acs_entrance_ids?: string[] | undefined;
14945
+ is_valid?: boolean | undefined;
14946
+ auto_join?: boolean | undefined;
14947
+ card_id?: string | undefined;
14948
+ credential_id?: string | undefined;
14949
+ } | undefined;
14950
+ is_managed: true;
14951
+ } | {
14952
+ acs_credential_id: string;
14953
+ acs_user_id?: string | undefined;
14954
+ acs_credential_pool_id?: string | undefined;
14955
+ acs_system_id: string;
14956
+ parent_acs_credential_id?: string | undefined;
14957
+ display_name: string;
14958
+ code?: (string | undefined) | null;
14959
+ card_number?: (string | undefined) | null;
14960
+ is_issued?: boolean | undefined;
14961
+ issued_at?: (string | undefined) | null;
14962
+ access_method: 'code' | 'card' | 'mobile_key';
14963
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
14964
+ external_type_display_name?: string | undefined;
14965
+ created_at: string;
14966
+ workspace_id: string;
14967
+ starts_at?: string | undefined;
14968
+ ends_at?: string | undefined;
14969
+ errors: Array<{
14970
+ error_code: string;
14971
+ message: string;
14972
+ }>;
14973
+ warnings: Array<{
14974
+ warning_code: string;
14975
+ message: string;
14976
+ }>;
14977
+ is_multi_phone_sync_credential?: boolean | undefined;
14978
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
14979
+ latest_desired_state_synced_with_provider_at?: string | undefined;
14980
+ visionline_metadata?: {
14981
+ card_function_type: 'guest' | 'staff';
14982
+ joiner_acs_credential_ids?: string[] | undefined;
14983
+ guest_acs_entrance_ids?: string[] | undefined;
14984
+ common_acs_entrance_ids?: string[] | undefined;
14985
+ is_valid?: boolean | undefined;
14986
+ auto_join?: boolean | undefined;
14987
+ card_id?: string | undefined;
14988
+ credential_id?: string | undefined;
14989
+ } | undefined;
14990
+ is_managed: false;
14991
+ };
14029
14992
  } | {
14030
14993
  /** The ID of the action attempt. */
14031
14994
  action_attempt_id: string;
@@ -14637,7 +15600,87 @@ export interface Routes {
14637
15600
  status: 'success';
14638
15601
  error: null;
14639
15602
  action_type: 'ENCODE_CARD';
14640
- result: {};
15603
+ result: {
15604
+ acs_credential_id: string;
15605
+ acs_user_id?: string | undefined;
15606
+ acs_credential_pool_id?: string | undefined;
15607
+ acs_system_id: string;
15608
+ parent_acs_credential_id?: string | undefined;
15609
+ display_name: string;
15610
+ code?: (string | undefined) | null;
15611
+ card_number?: (string | undefined) | null;
15612
+ is_issued?: boolean | undefined;
15613
+ issued_at?: (string | undefined) | null;
15614
+ access_method: 'code' | 'card' | 'mobile_key';
15615
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
15616
+ external_type_display_name?: string | undefined;
15617
+ created_at: string;
15618
+ workspace_id: string;
15619
+ starts_at?: string | undefined;
15620
+ ends_at?: string | undefined;
15621
+ errors: Array<{
15622
+ error_code: string;
15623
+ message: string;
15624
+ }>;
15625
+ warnings: Array<{
15626
+ warning_code: string;
15627
+ message: string;
15628
+ }>;
15629
+ is_multi_phone_sync_credential?: boolean | undefined;
15630
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
15631
+ latest_desired_state_synced_with_provider_at?: string | undefined;
15632
+ visionline_metadata?: {
15633
+ card_function_type: 'guest' | 'staff';
15634
+ joiner_acs_credential_ids?: string[] | undefined;
15635
+ guest_acs_entrance_ids?: string[] | undefined;
15636
+ common_acs_entrance_ids?: string[] | undefined;
15637
+ is_valid?: boolean | undefined;
15638
+ auto_join?: boolean | undefined;
15639
+ card_id?: string | undefined;
15640
+ credential_id?: string | undefined;
15641
+ } | undefined;
15642
+ is_managed: true;
15643
+ } | {
15644
+ acs_credential_id: string;
15645
+ acs_user_id?: string | undefined;
15646
+ acs_credential_pool_id?: string | undefined;
15647
+ acs_system_id: string;
15648
+ parent_acs_credential_id?: string | undefined;
15649
+ display_name: string;
15650
+ code?: (string | undefined) | null;
15651
+ card_number?: (string | undefined) | null;
15652
+ is_issued?: boolean | undefined;
15653
+ issued_at?: (string | undefined) | null;
15654
+ access_method: 'code' | 'card' | 'mobile_key';
15655
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
15656
+ external_type_display_name?: string | undefined;
15657
+ created_at: string;
15658
+ workspace_id: string;
15659
+ starts_at?: string | undefined;
15660
+ ends_at?: string | undefined;
15661
+ errors: Array<{
15662
+ error_code: string;
15663
+ message: string;
15664
+ }>;
15665
+ warnings: Array<{
15666
+ warning_code: string;
15667
+ message: string;
15668
+ }>;
15669
+ is_multi_phone_sync_credential?: boolean | undefined;
15670
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
15671
+ latest_desired_state_synced_with_provider_at?: string | undefined;
15672
+ visionline_metadata?: {
15673
+ card_function_type: 'guest' | 'staff';
15674
+ joiner_acs_credential_ids?: string[] | undefined;
15675
+ guest_acs_entrance_ids?: string[] | undefined;
15676
+ common_acs_entrance_ids?: string[] | undefined;
15677
+ is_valid?: boolean | undefined;
15678
+ auto_join?: boolean | undefined;
15679
+ card_id?: string | undefined;
15680
+ credential_id?: string | undefined;
15681
+ } | undefined;
15682
+ is_managed: false;
15683
+ };
14641
15684
  } | {
14642
15685
  /** The ID of the action attempt. */
14643
15686
  action_attempt_id: string;
@@ -15382,7 +16425,87 @@ export interface Routes {
15382
16425
  status: 'success';
15383
16426
  error: null;
15384
16427
  action_type: 'ENCODE_CARD';
15385
- result: {};
16428
+ result: {
16429
+ acs_credential_id: string;
16430
+ acs_user_id?: string | undefined;
16431
+ acs_credential_pool_id?: string | undefined;
16432
+ acs_system_id: string;
16433
+ parent_acs_credential_id?: string | undefined;
16434
+ display_name: string;
16435
+ code?: (string | undefined) | null;
16436
+ card_number?: (string | undefined) | null;
16437
+ is_issued?: boolean | undefined;
16438
+ issued_at?: (string | undefined) | null;
16439
+ access_method: 'code' | 'card' | 'mobile_key';
16440
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
16441
+ external_type_display_name?: string | undefined;
16442
+ created_at: string;
16443
+ workspace_id: string;
16444
+ starts_at?: string | undefined;
16445
+ ends_at?: string | undefined;
16446
+ errors: Array<{
16447
+ error_code: string;
16448
+ message: string;
16449
+ }>;
16450
+ warnings: Array<{
16451
+ warning_code: string;
16452
+ message: string;
16453
+ }>;
16454
+ is_multi_phone_sync_credential?: boolean | undefined;
16455
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
16456
+ latest_desired_state_synced_with_provider_at?: string | undefined;
16457
+ visionline_metadata?: {
16458
+ card_function_type: 'guest' | 'staff';
16459
+ joiner_acs_credential_ids?: string[] | undefined;
16460
+ guest_acs_entrance_ids?: string[] | undefined;
16461
+ common_acs_entrance_ids?: string[] | undefined;
16462
+ is_valid?: boolean | undefined;
16463
+ auto_join?: boolean | undefined;
16464
+ card_id?: string | undefined;
16465
+ credential_id?: string | undefined;
16466
+ } | undefined;
16467
+ is_managed: true;
16468
+ } | {
16469
+ acs_credential_id: string;
16470
+ acs_user_id?: string | undefined;
16471
+ acs_credential_pool_id?: string | undefined;
16472
+ acs_system_id: string;
16473
+ parent_acs_credential_id?: string | undefined;
16474
+ display_name: string;
16475
+ code?: (string | undefined) | null;
16476
+ card_number?: (string | undefined) | null;
16477
+ is_issued?: boolean | undefined;
16478
+ issued_at?: (string | undefined) | null;
16479
+ access_method: 'code' | 'card' | 'mobile_key';
16480
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
16481
+ external_type_display_name?: string | undefined;
16482
+ created_at: string;
16483
+ workspace_id: string;
16484
+ starts_at?: string | undefined;
16485
+ ends_at?: string | undefined;
16486
+ errors: Array<{
16487
+ error_code: string;
16488
+ message: string;
16489
+ }>;
16490
+ warnings: Array<{
16491
+ warning_code: string;
16492
+ message: string;
16493
+ }>;
16494
+ is_multi_phone_sync_credential?: boolean | undefined;
16495
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
16496
+ latest_desired_state_synced_with_provider_at?: string | undefined;
16497
+ visionline_metadata?: {
16498
+ card_function_type: 'guest' | 'staff';
16499
+ joiner_acs_credential_ids?: string[] | undefined;
16500
+ guest_acs_entrance_ids?: string[] | undefined;
16501
+ common_acs_entrance_ids?: string[] | undefined;
16502
+ is_valid?: boolean | undefined;
16503
+ auto_join?: boolean | undefined;
16504
+ card_id?: string | undefined;
16505
+ credential_id?: string | undefined;
16506
+ } | undefined;
16507
+ is_managed: false;
16508
+ };
15386
16509
  } | {
15387
16510
  /** The ID of the action attempt. */
15388
16511
  action_attempt_id: string;
@@ -15947,7 +17070,87 @@ export interface Routes {
15947
17070
  status: 'success';
15948
17071
  error: null;
15949
17072
  action_type: 'ENCODE_CARD';
15950
- result: {};
17073
+ result: {
17074
+ acs_credential_id: string;
17075
+ acs_user_id?: string | undefined;
17076
+ acs_credential_pool_id?: string | undefined;
17077
+ acs_system_id: string;
17078
+ parent_acs_credential_id?: string | undefined;
17079
+ display_name: string;
17080
+ code?: (string | undefined) | null;
17081
+ card_number?: (string | undefined) | null;
17082
+ is_issued?: boolean | undefined;
17083
+ issued_at?: (string | undefined) | null;
17084
+ access_method: 'code' | 'card' | 'mobile_key';
17085
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
17086
+ external_type_display_name?: string | undefined;
17087
+ created_at: string;
17088
+ workspace_id: string;
17089
+ starts_at?: string | undefined;
17090
+ ends_at?: string | undefined;
17091
+ errors: Array<{
17092
+ error_code: string;
17093
+ message: string;
17094
+ }>;
17095
+ warnings: Array<{
17096
+ warning_code: string;
17097
+ message: string;
17098
+ }>;
17099
+ is_multi_phone_sync_credential?: boolean | undefined;
17100
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
17101
+ latest_desired_state_synced_with_provider_at?: string | undefined;
17102
+ visionline_metadata?: {
17103
+ card_function_type: 'guest' | 'staff';
17104
+ joiner_acs_credential_ids?: string[] | undefined;
17105
+ guest_acs_entrance_ids?: string[] | undefined;
17106
+ common_acs_entrance_ids?: string[] | undefined;
17107
+ is_valid?: boolean | undefined;
17108
+ auto_join?: boolean | undefined;
17109
+ card_id?: string | undefined;
17110
+ credential_id?: string | undefined;
17111
+ } | undefined;
17112
+ is_managed: true;
17113
+ } | {
17114
+ acs_credential_id: string;
17115
+ acs_user_id?: string | undefined;
17116
+ acs_credential_pool_id?: string | undefined;
17117
+ acs_system_id: string;
17118
+ parent_acs_credential_id?: string | undefined;
17119
+ display_name: string;
17120
+ code?: (string | undefined) | null;
17121
+ card_number?: (string | undefined) | null;
17122
+ is_issued?: boolean | undefined;
17123
+ issued_at?: (string | undefined) | null;
17124
+ access_method: 'code' | 'card' | 'mobile_key';
17125
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
17126
+ external_type_display_name?: string | undefined;
17127
+ created_at: string;
17128
+ workspace_id: string;
17129
+ starts_at?: string | undefined;
17130
+ ends_at?: string | undefined;
17131
+ errors: Array<{
17132
+ error_code: string;
17133
+ message: string;
17134
+ }>;
17135
+ warnings: Array<{
17136
+ warning_code: string;
17137
+ message: string;
17138
+ }>;
17139
+ is_multi_phone_sync_credential?: boolean | undefined;
17140
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
17141
+ latest_desired_state_synced_with_provider_at?: string | undefined;
17142
+ visionline_metadata?: {
17143
+ card_function_type: 'guest' | 'staff';
17144
+ joiner_acs_credential_ids?: string[] | undefined;
17145
+ guest_acs_entrance_ids?: string[] | undefined;
17146
+ common_acs_entrance_ids?: string[] | undefined;
17147
+ is_valid?: boolean | undefined;
17148
+ auto_join?: boolean | undefined;
17149
+ card_id?: string | undefined;
17150
+ credential_id?: string | undefined;
17151
+ } | undefined;
17152
+ is_managed: false;
17153
+ };
15951
17154
  } | {
15952
17155
  /** The ID of the action attempt. */
15953
17156
  action_attempt_id: string;
@@ -16997,7 +18200,87 @@ export interface Routes {
16997
18200
  status: 'success';
16998
18201
  error: null;
16999
18202
  action_type: 'ENCODE_CARD';
17000
- result: {};
18203
+ result: {
18204
+ acs_credential_id: string;
18205
+ acs_user_id?: string | undefined;
18206
+ acs_credential_pool_id?: string | undefined;
18207
+ acs_system_id: string;
18208
+ parent_acs_credential_id?: string | undefined;
18209
+ display_name: string;
18210
+ code?: (string | undefined) | null;
18211
+ card_number?: (string | undefined) | null;
18212
+ is_issued?: boolean | undefined;
18213
+ issued_at?: (string | undefined) | null;
18214
+ access_method: 'code' | 'card' | 'mobile_key';
18215
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
18216
+ external_type_display_name?: string | undefined;
18217
+ created_at: string;
18218
+ workspace_id: string;
18219
+ starts_at?: string | undefined;
18220
+ ends_at?: string | undefined;
18221
+ errors: Array<{
18222
+ error_code: string;
18223
+ message: string;
18224
+ }>;
18225
+ warnings: Array<{
18226
+ warning_code: string;
18227
+ message: string;
18228
+ }>;
18229
+ is_multi_phone_sync_credential?: boolean | undefined;
18230
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
18231
+ latest_desired_state_synced_with_provider_at?: string | undefined;
18232
+ visionline_metadata?: {
18233
+ card_function_type: 'guest' | 'staff';
18234
+ joiner_acs_credential_ids?: string[] | undefined;
18235
+ guest_acs_entrance_ids?: string[] | undefined;
18236
+ common_acs_entrance_ids?: string[] | undefined;
18237
+ is_valid?: boolean | undefined;
18238
+ auto_join?: boolean | undefined;
18239
+ card_id?: string | undefined;
18240
+ credential_id?: string | undefined;
18241
+ } | undefined;
18242
+ is_managed: true;
18243
+ } | {
18244
+ acs_credential_id: string;
18245
+ acs_user_id?: string | undefined;
18246
+ acs_credential_pool_id?: string | undefined;
18247
+ acs_system_id: string;
18248
+ parent_acs_credential_id?: string | undefined;
18249
+ display_name: string;
18250
+ code?: (string | undefined) | null;
18251
+ card_number?: (string | undefined) | null;
18252
+ is_issued?: boolean | undefined;
18253
+ issued_at?: (string | undefined) | null;
18254
+ access_method: 'code' | 'card' | 'mobile_key';
18255
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
18256
+ external_type_display_name?: string | undefined;
18257
+ created_at: string;
18258
+ workspace_id: string;
18259
+ starts_at?: string | undefined;
18260
+ ends_at?: string | undefined;
18261
+ errors: Array<{
18262
+ error_code: string;
18263
+ message: string;
18264
+ }>;
18265
+ warnings: Array<{
18266
+ warning_code: string;
18267
+ message: string;
18268
+ }>;
18269
+ is_multi_phone_sync_credential?: boolean | undefined;
18270
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
18271
+ latest_desired_state_synced_with_provider_at?: string | undefined;
18272
+ visionline_metadata?: {
18273
+ card_function_type: 'guest' | 'staff';
18274
+ joiner_acs_credential_ids?: string[] | undefined;
18275
+ guest_acs_entrance_ids?: string[] | undefined;
18276
+ common_acs_entrance_ids?: string[] | undefined;
18277
+ is_valid?: boolean | undefined;
18278
+ auto_join?: boolean | undefined;
18279
+ card_id?: string | undefined;
18280
+ credential_id?: string | undefined;
18281
+ } | undefined;
18282
+ is_managed: false;
18283
+ };
17001
18284
  } | {
17002
18285
  /** The ID of the action attempt. */
17003
18286
  action_attempt_id: string;
@@ -17564,7 +18847,87 @@ export interface Routes {
17564
18847
  status: 'success';
17565
18848
  error: null;
17566
18849
  action_type: 'ENCODE_CARD';
17567
- result: {};
18850
+ result: {
18851
+ acs_credential_id: string;
18852
+ acs_user_id?: string | undefined;
18853
+ acs_credential_pool_id?: string | undefined;
18854
+ acs_system_id: string;
18855
+ parent_acs_credential_id?: string | undefined;
18856
+ display_name: string;
18857
+ code?: (string | undefined) | null;
18858
+ card_number?: (string | undefined) | null;
18859
+ is_issued?: boolean | undefined;
18860
+ issued_at?: (string | undefined) | null;
18861
+ access_method: 'code' | 'card' | 'mobile_key';
18862
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
18863
+ external_type_display_name?: string | undefined;
18864
+ created_at: string;
18865
+ workspace_id: string;
18866
+ starts_at?: string | undefined;
18867
+ ends_at?: string | undefined;
18868
+ errors: Array<{
18869
+ error_code: string;
18870
+ message: string;
18871
+ }>;
18872
+ warnings: Array<{
18873
+ warning_code: string;
18874
+ message: string;
18875
+ }>;
18876
+ is_multi_phone_sync_credential?: boolean | undefined;
18877
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
18878
+ latest_desired_state_synced_with_provider_at?: string | undefined;
18879
+ visionline_metadata?: {
18880
+ card_function_type: 'guest' | 'staff';
18881
+ joiner_acs_credential_ids?: string[] | undefined;
18882
+ guest_acs_entrance_ids?: string[] | undefined;
18883
+ common_acs_entrance_ids?: string[] | undefined;
18884
+ is_valid?: boolean | undefined;
18885
+ auto_join?: boolean | undefined;
18886
+ card_id?: string | undefined;
18887
+ credential_id?: string | undefined;
18888
+ } | undefined;
18889
+ is_managed: true;
18890
+ } | {
18891
+ acs_credential_id: string;
18892
+ acs_user_id?: string | undefined;
18893
+ acs_credential_pool_id?: string | undefined;
18894
+ acs_system_id: string;
18895
+ parent_acs_credential_id?: string | undefined;
18896
+ display_name: string;
18897
+ code?: (string | undefined) | null;
18898
+ card_number?: (string | undefined) | null;
18899
+ is_issued?: boolean | undefined;
18900
+ issued_at?: (string | undefined) | null;
18901
+ access_method: 'code' | 'card' | 'mobile_key';
18902
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
18903
+ external_type_display_name?: string | undefined;
18904
+ created_at: string;
18905
+ workspace_id: string;
18906
+ starts_at?: string | undefined;
18907
+ ends_at?: string | undefined;
18908
+ errors: Array<{
18909
+ error_code: string;
18910
+ message: string;
18911
+ }>;
18912
+ warnings: Array<{
18913
+ warning_code: string;
18914
+ message: string;
18915
+ }>;
18916
+ is_multi_phone_sync_credential?: boolean | undefined;
18917
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
18918
+ latest_desired_state_synced_with_provider_at?: string | undefined;
18919
+ visionline_metadata?: {
18920
+ card_function_type: 'guest' | 'staff';
18921
+ joiner_acs_credential_ids?: string[] | undefined;
18922
+ guest_acs_entrance_ids?: string[] | undefined;
18923
+ common_acs_entrance_ids?: string[] | undefined;
18924
+ is_valid?: boolean | undefined;
18925
+ auto_join?: boolean | undefined;
18926
+ card_id?: string | undefined;
18927
+ credential_id?: string | undefined;
18928
+ } | undefined;
18929
+ is_managed: false;
18930
+ };
17568
18931
  } | {
17569
18932
  /** The ID of the action attempt. */
17570
18933
  action_attempt_id: string;
@@ -19032,7 +20395,87 @@ export interface Routes {
19032
20395
  status: 'success';
19033
20396
  error: null;
19034
20397
  action_type: 'ENCODE_CARD';
19035
- result: {};
20398
+ result: {
20399
+ acs_credential_id: string;
20400
+ acs_user_id?: string | undefined;
20401
+ acs_credential_pool_id?: string | undefined;
20402
+ acs_system_id: string;
20403
+ parent_acs_credential_id?: string | undefined;
20404
+ display_name: string;
20405
+ code?: (string | undefined) | null;
20406
+ card_number?: (string | undefined) | null;
20407
+ is_issued?: boolean | undefined;
20408
+ issued_at?: (string | undefined) | null;
20409
+ access_method: 'code' | 'card' | 'mobile_key';
20410
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
20411
+ external_type_display_name?: string | undefined;
20412
+ created_at: string;
20413
+ workspace_id: string;
20414
+ starts_at?: string | undefined;
20415
+ ends_at?: string | undefined;
20416
+ errors: Array<{
20417
+ error_code: string;
20418
+ message: string;
20419
+ }>;
20420
+ warnings: Array<{
20421
+ warning_code: string;
20422
+ message: string;
20423
+ }>;
20424
+ is_multi_phone_sync_credential?: boolean | undefined;
20425
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
20426
+ latest_desired_state_synced_with_provider_at?: string | undefined;
20427
+ visionline_metadata?: {
20428
+ card_function_type: 'guest' | 'staff';
20429
+ joiner_acs_credential_ids?: string[] | undefined;
20430
+ guest_acs_entrance_ids?: string[] | undefined;
20431
+ common_acs_entrance_ids?: string[] | undefined;
20432
+ is_valid?: boolean | undefined;
20433
+ auto_join?: boolean | undefined;
20434
+ card_id?: string | undefined;
20435
+ credential_id?: string | undefined;
20436
+ } | undefined;
20437
+ is_managed: true;
20438
+ } | {
20439
+ acs_credential_id: string;
20440
+ acs_user_id?: string | undefined;
20441
+ acs_credential_pool_id?: string | undefined;
20442
+ acs_system_id: string;
20443
+ parent_acs_credential_id?: string | undefined;
20444
+ display_name: string;
20445
+ code?: (string | undefined) | null;
20446
+ card_number?: (string | undefined) | null;
20447
+ is_issued?: boolean | undefined;
20448
+ issued_at?: (string | undefined) | null;
20449
+ access_method: 'code' | 'card' | 'mobile_key';
20450
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
20451
+ external_type_display_name?: string | undefined;
20452
+ created_at: string;
20453
+ workspace_id: string;
20454
+ starts_at?: string | undefined;
20455
+ ends_at?: string | undefined;
20456
+ errors: Array<{
20457
+ error_code: string;
20458
+ message: string;
20459
+ }>;
20460
+ warnings: Array<{
20461
+ warning_code: string;
20462
+ message: string;
20463
+ }>;
20464
+ is_multi_phone_sync_credential?: boolean | undefined;
20465
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
20466
+ latest_desired_state_synced_with_provider_at?: string | undefined;
20467
+ visionline_metadata?: {
20468
+ card_function_type: 'guest' | 'staff';
20469
+ joiner_acs_credential_ids?: string[] | undefined;
20470
+ guest_acs_entrance_ids?: string[] | undefined;
20471
+ common_acs_entrance_ids?: string[] | undefined;
20472
+ is_valid?: boolean | undefined;
20473
+ auto_join?: boolean | undefined;
20474
+ card_id?: string | undefined;
20475
+ credential_id?: string | undefined;
20476
+ } | undefined;
20477
+ is_managed: false;
20478
+ };
19036
20479
  } | {
19037
20480
  /** The ID of the action attempt. */
19038
20481
  action_attempt_id: string;
@@ -19716,7 +21159,87 @@ export interface Routes {
19716
21159
  status: 'success';
19717
21160
  error: null;
19718
21161
  action_type: 'ENCODE_CARD';
19719
- result: {};
21162
+ result: {
21163
+ acs_credential_id: string;
21164
+ acs_user_id?: string | undefined;
21165
+ acs_credential_pool_id?: string | undefined;
21166
+ acs_system_id: string;
21167
+ parent_acs_credential_id?: string | undefined;
21168
+ display_name: string;
21169
+ code?: (string | undefined) | null;
21170
+ card_number?: (string | undefined) | null;
21171
+ is_issued?: boolean | undefined;
21172
+ issued_at?: (string | undefined) | null;
21173
+ access_method: 'code' | 'card' | 'mobile_key';
21174
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
21175
+ external_type_display_name?: string | undefined;
21176
+ created_at: string;
21177
+ workspace_id: string;
21178
+ starts_at?: string | undefined;
21179
+ ends_at?: string | undefined;
21180
+ errors: Array<{
21181
+ error_code: string;
21182
+ message: string;
21183
+ }>;
21184
+ warnings: Array<{
21185
+ warning_code: string;
21186
+ message: string;
21187
+ }>;
21188
+ is_multi_phone_sync_credential?: boolean | undefined;
21189
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
21190
+ latest_desired_state_synced_with_provider_at?: string | undefined;
21191
+ visionline_metadata?: {
21192
+ card_function_type: 'guest' | 'staff';
21193
+ joiner_acs_credential_ids?: string[] | undefined;
21194
+ guest_acs_entrance_ids?: string[] | undefined;
21195
+ common_acs_entrance_ids?: string[] | undefined;
21196
+ is_valid?: boolean | undefined;
21197
+ auto_join?: boolean | undefined;
21198
+ card_id?: string | undefined;
21199
+ credential_id?: string | undefined;
21200
+ } | undefined;
21201
+ is_managed: true;
21202
+ } | {
21203
+ acs_credential_id: string;
21204
+ acs_user_id?: string | undefined;
21205
+ acs_credential_pool_id?: string | undefined;
21206
+ acs_system_id: string;
21207
+ parent_acs_credential_id?: string | undefined;
21208
+ display_name: string;
21209
+ code?: (string | undefined) | null;
21210
+ card_number?: (string | undefined) | null;
21211
+ is_issued?: boolean | undefined;
21212
+ issued_at?: (string | undefined) | null;
21213
+ access_method: 'code' | 'card' | 'mobile_key';
21214
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
21215
+ external_type_display_name?: string | undefined;
21216
+ created_at: string;
21217
+ workspace_id: string;
21218
+ starts_at?: string | undefined;
21219
+ ends_at?: string | undefined;
21220
+ errors: Array<{
21221
+ error_code: string;
21222
+ message: string;
21223
+ }>;
21224
+ warnings: Array<{
21225
+ warning_code: string;
21226
+ message: string;
21227
+ }>;
21228
+ is_multi_phone_sync_credential?: boolean | undefined;
21229
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
21230
+ latest_desired_state_synced_with_provider_at?: string | undefined;
21231
+ visionline_metadata?: {
21232
+ card_function_type: 'guest' | 'staff';
21233
+ joiner_acs_credential_ids?: string[] | undefined;
21234
+ guest_acs_entrance_ids?: string[] | undefined;
21235
+ common_acs_entrance_ids?: string[] | undefined;
21236
+ is_valid?: boolean | undefined;
21237
+ auto_join?: boolean | undefined;
21238
+ card_id?: string | undefined;
21239
+ credential_id?: string | undefined;
21240
+ } | undefined;
21241
+ is_managed: false;
21242
+ };
19720
21243
  } | {
19721
21244
  /** The ID of the action attempt. */
19722
21245
  action_attempt_id: string;
@@ -21754,7 +23277,87 @@ export interface Routes {
21754
23277
  status: 'success';
21755
23278
  error: null;
21756
23279
  action_type: 'ENCODE_CARD';
21757
- result: {};
23280
+ result: {
23281
+ acs_credential_id: string;
23282
+ acs_user_id?: string | undefined;
23283
+ acs_credential_pool_id?: string | undefined;
23284
+ acs_system_id: string;
23285
+ parent_acs_credential_id?: string | undefined;
23286
+ display_name: string;
23287
+ code?: (string | undefined) | null;
23288
+ card_number?: (string | undefined) | null;
23289
+ is_issued?: boolean | undefined;
23290
+ issued_at?: (string | undefined) | null;
23291
+ access_method: 'code' | 'card' | 'mobile_key';
23292
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
23293
+ external_type_display_name?: string | undefined;
23294
+ created_at: string;
23295
+ workspace_id: string;
23296
+ starts_at?: string | undefined;
23297
+ ends_at?: string | undefined;
23298
+ errors: Array<{
23299
+ error_code: string;
23300
+ message: string;
23301
+ }>;
23302
+ warnings: Array<{
23303
+ warning_code: string;
23304
+ message: string;
23305
+ }>;
23306
+ is_multi_phone_sync_credential?: boolean | undefined;
23307
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
23308
+ latest_desired_state_synced_with_provider_at?: string | undefined;
23309
+ visionline_metadata?: {
23310
+ card_function_type: 'guest' | 'staff';
23311
+ joiner_acs_credential_ids?: string[] | undefined;
23312
+ guest_acs_entrance_ids?: string[] | undefined;
23313
+ common_acs_entrance_ids?: string[] | undefined;
23314
+ is_valid?: boolean | undefined;
23315
+ auto_join?: boolean | undefined;
23316
+ card_id?: string | undefined;
23317
+ credential_id?: string | undefined;
23318
+ } | undefined;
23319
+ is_managed: true;
23320
+ } | {
23321
+ acs_credential_id: string;
23322
+ acs_user_id?: string | undefined;
23323
+ acs_credential_pool_id?: string | undefined;
23324
+ acs_system_id: string;
23325
+ parent_acs_credential_id?: string | undefined;
23326
+ display_name: string;
23327
+ code?: (string | undefined) | null;
23328
+ card_number?: (string | undefined) | null;
23329
+ is_issued?: boolean | undefined;
23330
+ issued_at?: (string | undefined) | null;
23331
+ access_method: 'code' | 'card' | 'mobile_key';
23332
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
23333
+ external_type_display_name?: string | undefined;
23334
+ created_at: string;
23335
+ workspace_id: string;
23336
+ starts_at?: string | undefined;
23337
+ ends_at?: string | undefined;
23338
+ errors: Array<{
23339
+ error_code: string;
23340
+ message: string;
23341
+ }>;
23342
+ warnings: Array<{
23343
+ warning_code: string;
23344
+ message: string;
23345
+ }>;
23346
+ is_multi_phone_sync_credential?: boolean | undefined;
23347
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
23348
+ latest_desired_state_synced_with_provider_at?: string | undefined;
23349
+ visionline_metadata?: {
23350
+ card_function_type: 'guest' | 'staff';
23351
+ joiner_acs_credential_ids?: string[] | undefined;
23352
+ guest_acs_entrance_ids?: string[] | undefined;
23353
+ common_acs_entrance_ids?: string[] | undefined;
23354
+ is_valid?: boolean | undefined;
23355
+ auto_join?: boolean | undefined;
23356
+ card_id?: string | undefined;
23357
+ credential_id?: string | undefined;
23358
+ } | undefined;
23359
+ is_managed: false;
23360
+ };
21758
23361
  } | {
21759
23362
  /** The ID of the action attempt. */
21760
23363
  action_attempt_id: string;