@seamapi/types 1.289.0 → 1.289.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.
Files changed (24) hide show
  1. package/dist/connect.cjs +54 -38
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +172 -164
  4. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -18
  5. package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -4
  6. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/{encode-card.d.ts → encode-credential.d.ts} +11 -11
  8. package/lib/seam/connect/models/action-attempts/{encode-card.js → encode-credential.js} +6 -6
  9. package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -0
  10. package/lib/seam/connect/models/action-attempts/{scan-card.d.ts → scan-credential.d.ts} +11 -11
  11. package/lib/seam/connect/models/action-attempts/{scan-card.js → scan-credential.js} +7 -7
  12. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -0
  13. package/lib/seam/connect/openapi.d.ts +6 -2
  14. package/lib/seam/connect/openapi.js +41 -25
  15. package/lib/seam/connect/openapi.js.map +1 -1
  16. package/lib/seam/connect/route-types.d.ts +148 -144
  17. package/package.json +1 -1
  18. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -4
  19. package/src/lib/seam/connect/models/action-attempts/{encode-card.ts → encode-credential.ts} +8 -6
  20. package/src/lib/seam/connect/models/action-attempts/{scan-card.ts → scan-credential.ts} +9 -7
  21. package/src/lib/seam/connect/openapi.ts +46 -25
  22. package/src/lib/seam/connect/route-types.ts +148 -144
  23. package/lib/seam/connect/models/action-attempts/encode-card.js.map +0 -1
  24. package/lib/seam/connect/models/action-attempts/scan-card.js.map +0 -1
@@ -79,15 +79,15 @@ export interface Routes {
79
79
  status: 'pending';
80
80
  result: null;
81
81
  error: null;
82
- action_type: 'SCAN_CARD';
82
+ action_type: 'SCAN_CREDENTIAL';
83
83
  } | {
84
84
  /** The ID of the action attempt. */
85
85
  action_attempt_id: string;
86
86
  status: 'success';
87
87
  error: null;
88
- action_type: 'SCAN_CARD';
88
+ action_type: 'SCAN_CREDENTIAL';
89
89
  result: {
90
- /** Snapshot of the card data read from the physical encoder. */
90
+ /** Snapshot of credential data read from physical encoder. */
91
91
  acs_credential_on_encoder: {
92
92
  /** Date and time the credential was created. */
93
93
  created_at: string | null;
@@ -240,7 +240,7 @@ export interface Routes {
240
240
  action_attempt_id: string;
241
241
  status: 'error';
242
242
  result: null;
243
- action_type: 'SCAN_CARD';
243
+ action_type: 'SCAN_CREDENTIAL';
244
244
  error: {
245
245
  type: 'uncategorized_error';
246
246
  message: string;
@@ -257,13 +257,13 @@ export interface Routes {
257
257
  status: 'pending';
258
258
  result: null;
259
259
  error: null;
260
- action_type: 'ENCODE_CARD';
260
+ action_type: 'ENCODE_CREDENTIAL';
261
261
  } | {
262
262
  /** The ID of the action attempt. */
263
263
  action_attempt_id: string;
264
264
  status: 'success';
265
265
  error: null;
266
- action_type: 'ENCODE_CARD';
266
+ action_type: 'ENCODE_CREDENTIAL';
267
267
  /** Means by which a user gains access at an entrance.
268
268
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
269
269
  result: {
@@ -386,7 +386,7 @@ export interface Routes {
386
386
  action_attempt_id: string;
387
387
  status: 'error';
388
388
  result: null;
389
- action_type: 'ENCODE_CARD';
389
+ action_type: 'ENCODE_CREDENTIAL';
390
390
  error: {
391
391
  type: 'uncategorized_error';
392
392
  message: string;
@@ -962,15 +962,15 @@ export interface Routes {
962
962
  status: 'pending';
963
963
  result: null;
964
964
  error: null;
965
- action_type: 'SCAN_CARD';
965
+ action_type: 'SCAN_CREDENTIAL';
966
966
  } | {
967
967
  /** The ID of the action attempt. */
968
968
  action_attempt_id: string;
969
969
  status: 'success';
970
970
  error: null;
971
- action_type: 'SCAN_CARD';
971
+ action_type: 'SCAN_CREDENTIAL';
972
972
  result: {
973
- /** Snapshot of the card data read from the physical encoder. */
973
+ /** Snapshot of credential data read from physical encoder. */
974
974
  acs_credential_on_encoder: {
975
975
  /** Date and time the credential was created. */
976
976
  created_at: string | null;
@@ -1123,7 +1123,7 @@ export interface Routes {
1123
1123
  action_attempt_id: string;
1124
1124
  status: 'error';
1125
1125
  result: null;
1126
- action_type: 'SCAN_CARD';
1126
+ action_type: 'SCAN_CREDENTIAL';
1127
1127
  error: {
1128
1128
  type: 'uncategorized_error';
1129
1129
  message: string;
@@ -1140,13 +1140,13 @@ export interface Routes {
1140
1140
  status: 'pending';
1141
1141
  result: null;
1142
1142
  error: null;
1143
- action_type: 'ENCODE_CARD';
1143
+ action_type: 'ENCODE_CREDENTIAL';
1144
1144
  } | {
1145
1145
  /** The ID of the action attempt. */
1146
1146
  action_attempt_id: string;
1147
1147
  status: 'success';
1148
1148
  error: null;
1149
- action_type: 'ENCODE_CARD';
1149
+ action_type: 'ENCODE_CREDENTIAL';
1150
1150
  /** Means by which a user gains access at an entrance.
1151
1151
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
1152
1152
  result: {
@@ -1269,7 +1269,7 @@ export interface Routes {
1269
1269
  action_attempt_id: string;
1270
1270
  status: 'error';
1271
1271
  result: null;
1272
- action_type: 'ENCODE_CARD';
1272
+ action_type: 'ENCODE_CREDENTIAL';
1273
1273
  error: {
1274
1274
  type: 'uncategorized_error';
1275
1275
  message: string;
@@ -2002,15 +2002,15 @@ export interface Routes {
2002
2002
  status: 'pending';
2003
2003
  result: null;
2004
2004
  error: null;
2005
- action_type: 'SCAN_CARD';
2005
+ action_type: 'SCAN_CREDENTIAL';
2006
2006
  } | {
2007
2007
  /** The ID of the action attempt. */
2008
2008
  action_attempt_id: string;
2009
2009
  status: 'success';
2010
2010
  error: null;
2011
- action_type: 'SCAN_CARD';
2011
+ action_type: 'SCAN_CREDENTIAL';
2012
2012
  result: {
2013
- /** Snapshot of the card data read from the physical encoder. */
2013
+ /** Snapshot of credential data read from physical encoder. */
2014
2014
  acs_credential_on_encoder: {
2015
2015
  /** Date and time the credential was created. */
2016
2016
  created_at: string | null;
@@ -2163,7 +2163,7 @@ export interface Routes {
2163
2163
  action_attempt_id: string;
2164
2164
  status: 'error';
2165
2165
  result: null;
2166
- action_type: 'SCAN_CARD';
2166
+ action_type: 'SCAN_CREDENTIAL';
2167
2167
  error: {
2168
2168
  type: 'uncategorized_error';
2169
2169
  message: string;
@@ -2180,13 +2180,13 @@ export interface Routes {
2180
2180
  status: 'pending';
2181
2181
  result: null;
2182
2182
  error: null;
2183
- action_type: 'ENCODE_CARD';
2183
+ action_type: 'ENCODE_CREDENTIAL';
2184
2184
  } | {
2185
2185
  /** The ID of the action attempt. */
2186
2186
  action_attempt_id: string;
2187
2187
  status: 'success';
2188
2188
  error: null;
2189
- action_type: 'ENCODE_CARD';
2189
+ action_type: 'ENCODE_CREDENTIAL';
2190
2190
  /** Means by which a user gains access at an entrance.
2191
2191
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
2192
2192
  result: {
@@ -2309,7 +2309,7 @@ export interface Routes {
2309
2309
  action_attempt_id: string;
2310
2310
  status: 'error';
2311
2311
  result: null;
2312
- action_type: 'ENCODE_CARD';
2312
+ action_type: 'ENCODE_CREDENTIAL';
2313
2313
  error: {
2314
2314
  type: 'uncategorized_error';
2315
2315
  message: string;
@@ -2872,15 +2872,15 @@ export interface Routes {
2872
2872
  status: 'pending';
2873
2873
  result: null;
2874
2874
  error: null;
2875
- action_type: 'SCAN_CARD';
2875
+ action_type: 'SCAN_CREDENTIAL';
2876
2876
  } | {
2877
2877
  /** The ID of the action attempt. */
2878
2878
  action_attempt_id: string;
2879
2879
  status: 'success';
2880
2880
  error: null;
2881
- action_type: 'SCAN_CARD';
2881
+ action_type: 'SCAN_CREDENTIAL';
2882
2882
  result: {
2883
- /** Snapshot of the card data read from the physical encoder. */
2883
+ /** Snapshot of credential data read from physical encoder. */
2884
2884
  acs_credential_on_encoder: {
2885
2885
  /** Date and time the credential was created. */
2886
2886
  created_at: string | null;
@@ -3033,7 +3033,7 @@ export interface Routes {
3033
3033
  action_attempt_id: string;
3034
3034
  status: 'error';
3035
3035
  result: null;
3036
- action_type: 'SCAN_CARD';
3036
+ action_type: 'SCAN_CREDENTIAL';
3037
3037
  error: {
3038
3038
  type: 'uncategorized_error';
3039
3039
  message: string;
@@ -3050,13 +3050,13 @@ export interface Routes {
3050
3050
  status: 'pending';
3051
3051
  result: null;
3052
3052
  error: null;
3053
- action_type: 'ENCODE_CARD';
3053
+ action_type: 'ENCODE_CREDENTIAL';
3054
3054
  } | {
3055
3055
  /** The ID of the action attempt. */
3056
3056
  action_attempt_id: string;
3057
3057
  status: 'success';
3058
3058
  error: null;
3059
- action_type: 'ENCODE_CARD';
3059
+ action_type: 'ENCODE_CREDENTIAL';
3060
3060
  /** Means by which a user gains access at an entrance.
3061
3061
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
3062
3062
  result: {
@@ -3179,7 +3179,7 @@ export interface Routes {
3179
3179
  action_attempt_id: string;
3180
3180
  status: 'error';
3181
3181
  result: null;
3182
- action_type: 'ENCODE_CARD';
3182
+ action_type: 'ENCODE_CREDENTIAL';
3183
3183
  error: {
3184
3184
  type: 'uncategorized_error';
3185
3185
  message: string;
@@ -4667,13 +4667,15 @@ export interface Routes {
4667
4667
  };
4668
4668
  };
4669
4669
  };
4670
- '/acs/encoders/encode_card': {
4671
- route: '/acs/encoders/encode_card';
4670
+ '/acs/encoders/encode_credential': {
4671
+ route: '/acs/encoders/encode_credential';
4672
4672
  method: 'POST';
4673
4673
  queryParams: {};
4674
4674
  jsonBody: {};
4675
4675
  commonParams: {
4676
+ /** ID of the encoder to use for the encoding. */
4676
4677
  device_id: string;
4678
+ /** ID of the acs_credential to encode on a physical card. */
4677
4679
  acs_credential_id: string;
4678
4680
  };
4679
4681
  formData: {};
@@ -4732,15 +4734,15 @@ export interface Routes {
4732
4734
  status: 'pending';
4733
4735
  result: null;
4734
4736
  error: null;
4735
- action_type: 'SCAN_CARD';
4737
+ action_type: 'SCAN_CREDENTIAL';
4736
4738
  } | {
4737
4739
  /** The ID of the action attempt. */
4738
4740
  action_attempt_id: string;
4739
4741
  status: 'success';
4740
4742
  error: null;
4741
- action_type: 'SCAN_CARD';
4743
+ action_type: 'SCAN_CREDENTIAL';
4742
4744
  result: {
4743
- /** Snapshot of the card data read from the physical encoder. */
4745
+ /** Snapshot of credential data read from physical encoder. */
4744
4746
  acs_credential_on_encoder: {
4745
4747
  /** Date and time the credential was created. */
4746
4748
  created_at: string | null;
@@ -4893,7 +4895,7 @@ export interface Routes {
4893
4895
  action_attempt_id: string;
4894
4896
  status: 'error';
4895
4897
  result: null;
4896
- action_type: 'SCAN_CARD';
4898
+ action_type: 'SCAN_CREDENTIAL';
4897
4899
  error: {
4898
4900
  type: 'uncategorized_error';
4899
4901
  message: string;
@@ -4910,13 +4912,13 @@ export interface Routes {
4910
4912
  status: 'pending';
4911
4913
  result: null;
4912
4914
  error: null;
4913
- action_type: 'ENCODE_CARD';
4915
+ action_type: 'ENCODE_CREDENTIAL';
4914
4916
  } | {
4915
4917
  /** The ID of the action attempt. */
4916
4918
  action_attempt_id: string;
4917
4919
  status: 'success';
4918
4920
  error: null;
4919
- action_type: 'ENCODE_CARD';
4921
+ action_type: 'ENCODE_CREDENTIAL';
4920
4922
  /** Means by which a user gains access at an entrance.
4921
4923
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
4922
4924
  result: {
@@ -5039,7 +5041,7 @@ export interface Routes {
5039
5041
  action_attempt_id: string;
5040
5042
  status: 'error';
5041
5043
  result: null;
5042
- action_type: 'ENCODE_CARD';
5044
+ action_type: 'ENCODE_CREDENTIAL';
5043
5045
  error: {
5044
5046
  type: 'uncategorized_error';
5045
5047
  message: string;
@@ -5883,13 +5885,15 @@ export interface Routes {
5883
5885
  }>;
5884
5886
  };
5885
5887
  };
5886
- '/acs/encoders/scan_card': {
5887
- route: '/acs/encoders/scan_card';
5888
+ '/acs/encoders/scan_credential': {
5889
+ route: '/acs/encoders/scan_credential';
5888
5890
  method: 'POST';
5889
5891
  queryParams: {};
5890
5892
  jsonBody: {};
5891
5893
  commonParams: {
5894
+ /** ID of the acs_system the encoder belongs to. */
5892
5895
  acs_system_id: string;
5896
+ /** ID of the encoder to use for the scan. */
5893
5897
  device_id: string;
5894
5898
  };
5895
5899
  formData: {};
@@ -5948,15 +5952,15 @@ export interface Routes {
5948
5952
  status: 'pending';
5949
5953
  result: null;
5950
5954
  error: null;
5951
- action_type: 'SCAN_CARD';
5955
+ action_type: 'SCAN_CREDENTIAL';
5952
5956
  } | {
5953
5957
  /** The ID of the action attempt. */
5954
5958
  action_attempt_id: string;
5955
5959
  status: 'success';
5956
5960
  error: null;
5957
- action_type: 'SCAN_CARD';
5961
+ action_type: 'SCAN_CREDENTIAL';
5958
5962
  result: {
5959
- /** Snapshot of the card data read from the physical encoder. */
5963
+ /** Snapshot of credential data read from physical encoder. */
5960
5964
  acs_credential_on_encoder: {
5961
5965
  /** Date and time the credential was created. */
5962
5966
  created_at: string | null;
@@ -6109,7 +6113,7 @@ export interface Routes {
6109
6113
  action_attempt_id: string;
6110
6114
  status: 'error';
6111
6115
  result: null;
6112
- action_type: 'SCAN_CARD';
6116
+ action_type: 'SCAN_CREDENTIAL';
6113
6117
  error: {
6114
6118
  type: 'uncategorized_error';
6115
6119
  message: string;
@@ -6126,13 +6130,13 @@ export interface Routes {
6126
6130
  status: 'pending';
6127
6131
  result: null;
6128
6132
  error: null;
6129
- action_type: 'ENCODE_CARD';
6133
+ action_type: 'ENCODE_CREDENTIAL';
6130
6134
  } | {
6131
6135
  /** The ID of the action attempt. */
6132
6136
  action_attempt_id: string;
6133
6137
  status: 'success';
6134
6138
  error: null;
6135
- action_type: 'ENCODE_CARD';
6139
+ action_type: 'ENCODE_CREDENTIAL';
6136
6140
  /** Means by which a user gains access at an entrance.
6137
6141
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
6138
6142
  result: {
@@ -6255,7 +6259,7 @@ export interface Routes {
6255
6259
  action_attempt_id: string;
6256
6260
  status: 'error';
6257
6261
  result: null;
6258
- action_type: 'ENCODE_CARD';
6262
+ action_type: 'ENCODE_CREDENTIAL';
6259
6263
  error: {
6260
6264
  type: 'uncategorized_error';
6261
6265
  message: string;
@@ -7908,15 +7912,15 @@ export interface Routes {
7908
7912
  status: 'pending';
7909
7913
  result: null;
7910
7914
  error: null;
7911
- action_type: 'SCAN_CARD';
7915
+ action_type: 'SCAN_CREDENTIAL';
7912
7916
  } | {
7913
7917
  /** The ID of the action attempt. */
7914
7918
  action_attempt_id: string;
7915
7919
  status: 'success';
7916
7920
  error: null;
7917
- action_type: 'SCAN_CARD';
7921
+ action_type: 'SCAN_CREDENTIAL';
7918
7922
  result: {
7919
- /** Snapshot of the card data read from the physical encoder. */
7923
+ /** Snapshot of credential data read from physical encoder. */
7920
7924
  acs_credential_on_encoder: {
7921
7925
  /** Date and time the credential was created. */
7922
7926
  created_at: string | null;
@@ -8069,7 +8073,7 @@ export interface Routes {
8069
8073
  action_attempt_id: string;
8070
8074
  status: 'error';
8071
8075
  result: null;
8072
- action_type: 'SCAN_CARD';
8076
+ action_type: 'SCAN_CREDENTIAL';
8073
8077
  error: {
8074
8078
  type: 'uncategorized_error';
8075
8079
  message: string;
@@ -8086,13 +8090,13 @@ export interface Routes {
8086
8090
  status: 'pending';
8087
8091
  result: null;
8088
8092
  error: null;
8089
- action_type: 'ENCODE_CARD';
8093
+ action_type: 'ENCODE_CREDENTIAL';
8090
8094
  } | {
8091
8095
  /** The ID of the action attempt. */
8092
8096
  action_attempt_id: string;
8093
8097
  status: 'success';
8094
8098
  error: null;
8095
- action_type: 'ENCODE_CARD';
8099
+ action_type: 'ENCODE_CREDENTIAL';
8096
8100
  /** Means by which a user gains access at an entrance.
8097
8101
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
8098
8102
  result: {
@@ -8215,7 +8219,7 @@ export interface Routes {
8215
8219
  action_attempt_id: string;
8216
8220
  status: 'error';
8217
8221
  result: null;
8218
- action_type: 'ENCODE_CARD';
8222
+ action_type: 'ENCODE_CREDENTIAL';
8219
8223
  error: {
8220
8224
  type: 'uncategorized_error';
8221
8225
  message: string;
@@ -8640,15 +8644,15 @@ export interface Routes {
8640
8644
  status: 'pending';
8641
8645
  result: null;
8642
8646
  error: null;
8643
- action_type: 'SCAN_CARD';
8647
+ action_type: 'SCAN_CREDENTIAL';
8644
8648
  } | {
8645
8649
  /** The ID of the action attempt. */
8646
8650
  action_attempt_id: string;
8647
8651
  status: 'success';
8648
8652
  error: null;
8649
- action_type: 'SCAN_CARD';
8653
+ action_type: 'SCAN_CREDENTIAL';
8650
8654
  result: {
8651
- /** Snapshot of the card data read from the physical encoder. */
8655
+ /** Snapshot of credential data read from physical encoder. */
8652
8656
  acs_credential_on_encoder: {
8653
8657
  /** Date and time the credential was created. */
8654
8658
  created_at: string | null;
@@ -8801,7 +8805,7 @@ export interface Routes {
8801
8805
  action_attempt_id: string;
8802
8806
  status: 'error';
8803
8807
  result: null;
8804
- action_type: 'SCAN_CARD';
8808
+ action_type: 'SCAN_CREDENTIAL';
8805
8809
  error: {
8806
8810
  type: 'uncategorized_error';
8807
8811
  message: string;
@@ -8818,13 +8822,13 @@ export interface Routes {
8818
8822
  status: 'pending';
8819
8823
  result: null;
8820
8824
  error: null;
8821
- action_type: 'ENCODE_CARD';
8825
+ action_type: 'ENCODE_CREDENTIAL';
8822
8826
  } | {
8823
8827
  /** The ID of the action attempt. */
8824
8828
  action_attempt_id: string;
8825
8829
  status: 'success';
8826
8830
  error: null;
8827
- action_type: 'ENCODE_CARD';
8831
+ action_type: 'ENCODE_CREDENTIAL';
8828
8832
  /** Means by which a user gains access at an entrance.
8829
8833
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
8830
8834
  result: {
@@ -8947,7 +8951,7 @@ export interface Routes {
8947
8951
  action_attempt_id: string;
8948
8952
  status: 'error';
8949
8953
  result: null;
8950
- action_type: 'ENCODE_CARD';
8954
+ action_type: 'ENCODE_CREDENTIAL';
8951
8955
  error: {
8952
8956
  type: 'uncategorized_error';
8953
8957
  message: string;
@@ -13067,15 +13071,15 @@ export interface Routes {
13067
13071
  status: 'pending';
13068
13072
  result: null;
13069
13073
  error: null;
13070
- action_type: 'SCAN_CARD';
13074
+ action_type: 'SCAN_CREDENTIAL';
13071
13075
  } | {
13072
13076
  /** The ID of the action attempt. */
13073
13077
  action_attempt_id: string;
13074
13078
  status: 'success';
13075
13079
  error: null;
13076
- action_type: 'SCAN_CARD';
13080
+ action_type: 'SCAN_CREDENTIAL';
13077
13081
  result: {
13078
- /** Snapshot of the card data read from the physical encoder. */
13082
+ /** Snapshot of credential data read from physical encoder. */
13079
13083
  acs_credential_on_encoder: {
13080
13084
  /** Date and time the credential was created. */
13081
13085
  created_at: string | null;
@@ -13228,7 +13232,7 @@ export interface Routes {
13228
13232
  action_attempt_id: string;
13229
13233
  status: 'error';
13230
13234
  result: null;
13231
- action_type: 'SCAN_CARD';
13235
+ action_type: 'SCAN_CREDENTIAL';
13232
13236
  error: {
13233
13237
  type: 'uncategorized_error';
13234
13238
  message: string;
@@ -13245,13 +13249,13 @@ export interface Routes {
13245
13249
  status: 'pending';
13246
13250
  result: null;
13247
13251
  error: null;
13248
- action_type: 'ENCODE_CARD';
13252
+ action_type: 'ENCODE_CREDENTIAL';
13249
13253
  } | {
13250
13254
  /** The ID of the action attempt. */
13251
13255
  action_attempt_id: string;
13252
13256
  status: 'success';
13253
13257
  error: null;
13254
- action_type: 'ENCODE_CARD';
13258
+ action_type: 'ENCODE_CREDENTIAL';
13255
13259
  /** Means by which a user gains access at an entrance.
13256
13260
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
13257
13261
  result: {
@@ -13374,7 +13378,7 @@ export interface Routes {
13374
13378
  action_attempt_id: string;
13375
13379
  status: 'error';
13376
13380
  result: null;
13377
- action_type: 'ENCODE_CARD';
13381
+ action_type: 'ENCODE_CREDENTIAL';
13378
13382
  error: {
13379
13383
  type: 'uncategorized_error';
13380
13384
  message: string;
@@ -13800,15 +13804,15 @@ export interface Routes {
13800
13804
  status: 'pending';
13801
13805
  result: null;
13802
13806
  error: null;
13803
- action_type: 'SCAN_CARD';
13807
+ action_type: 'SCAN_CREDENTIAL';
13804
13808
  } | {
13805
13809
  /** The ID of the action attempt. */
13806
13810
  action_attempt_id: string;
13807
13811
  status: 'success';
13808
13812
  error: null;
13809
- action_type: 'SCAN_CARD';
13813
+ action_type: 'SCAN_CREDENTIAL';
13810
13814
  result: {
13811
- /** Snapshot of the card data read from the physical encoder. */
13815
+ /** Snapshot of credential data read from physical encoder. */
13812
13816
  acs_credential_on_encoder: {
13813
13817
  /** Date and time the credential was created. */
13814
13818
  created_at: string | null;
@@ -13961,7 +13965,7 @@ export interface Routes {
13961
13965
  action_attempt_id: string;
13962
13966
  status: 'error';
13963
13967
  result: null;
13964
- action_type: 'SCAN_CARD';
13968
+ action_type: 'SCAN_CREDENTIAL';
13965
13969
  error: {
13966
13970
  type: 'uncategorized_error';
13967
13971
  message: string;
@@ -13978,13 +13982,13 @@ export interface Routes {
13978
13982
  status: 'pending';
13979
13983
  result: null;
13980
13984
  error: null;
13981
- action_type: 'ENCODE_CARD';
13985
+ action_type: 'ENCODE_CREDENTIAL';
13982
13986
  } | {
13983
13987
  /** The ID of the action attempt. */
13984
13988
  action_attempt_id: string;
13985
13989
  status: 'success';
13986
13990
  error: null;
13987
- action_type: 'ENCODE_CARD';
13991
+ action_type: 'ENCODE_CREDENTIAL';
13988
13992
  /** Means by which a user gains access at an entrance.
13989
13993
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
13990
13994
  result: {
@@ -14107,7 +14111,7 @@ export interface Routes {
14107
14111
  action_attempt_id: string;
14108
14112
  status: 'error';
14109
14113
  result: null;
14110
- action_type: 'ENCODE_CARD';
14114
+ action_type: 'ENCODE_CREDENTIAL';
14111
14115
  error: {
14112
14116
  type: 'uncategorized_error';
14113
14117
  message: string;
@@ -15523,15 +15527,15 @@ export interface Routes {
15523
15527
  status: 'pending';
15524
15528
  result: null;
15525
15529
  error: null;
15526
- action_type: 'SCAN_CARD';
15530
+ action_type: 'SCAN_CREDENTIAL';
15527
15531
  } | {
15528
15532
  /** The ID of the action attempt. */
15529
15533
  action_attempt_id: string;
15530
15534
  status: 'success';
15531
15535
  error: null;
15532
- action_type: 'SCAN_CARD';
15536
+ action_type: 'SCAN_CREDENTIAL';
15533
15537
  result: {
15534
- /** Snapshot of the card data read from the physical encoder. */
15538
+ /** Snapshot of credential data read from physical encoder. */
15535
15539
  acs_credential_on_encoder: {
15536
15540
  /** Date and time the credential was created. */
15537
15541
  created_at: string | null;
@@ -15684,7 +15688,7 @@ export interface Routes {
15684
15688
  action_attempt_id: string;
15685
15689
  status: 'error';
15686
15690
  result: null;
15687
- action_type: 'SCAN_CARD';
15691
+ action_type: 'SCAN_CREDENTIAL';
15688
15692
  error: {
15689
15693
  type: 'uncategorized_error';
15690
15694
  message: string;
@@ -15701,13 +15705,13 @@ export interface Routes {
15701
15705
  status: 'pending';
15702
15706
  result: null;
15703
15707
  error: null;
15704
- action_type: 'ENCODE_CARD';
15708
+ action_type: 'ENCODE_CREDENTIAL';
15705
15709
  } | {
15706
15710
  /** The ID of the action attempt. */
15707
15711
  action_attempt_id: string;
15708
15712
  status: 'success';
15709
15713
  error: null;
15710
- action_type: 'ENCODE_CARD';
15714
+ action_type: 'ENCODE_CREDENTIAL';
15711
15715
  /** Means by which a user gains access at an entrance.
15712
15716
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
15713
15717
  result: {
@@ -15830,7 +15834,7 @@ export interface Routes {
15830
15834
  action_attempt_id: string;
15831
15835
  status: 'error';
15832
15836
  result: null;
15833
- action_type: 'ENCODE_CARD';
15837
+ action_type: 'ENCODE_CREDENTIAL';
15834
15838
  error: {
15835
15839
  type: 'uncategorized_error';
15836
15840
  message: string;
@@ -16266,15 +16270,15 @@ export interface Routes {
16266
16270
  status: 'pending';
16267
16271
  result: null;
16268
16272
  error: null;
16269
- action_type: 'SCAN_CARD';
16273
+ action_type: 'SCAN_CREDENTIAL';
16270
16274
  } | {
16271
16275
  /** The ID of the action attempt. */
16272
16276
  action_attempt_id: string;
16273
16277
  status: 'success';
16274
16278
  error: null;
16275
- action_type: 'SCAN_CARD';
16279
+ action_type: 'SCAN_CREDENTIAL';
16276
16280
  result: {
16277
- /** Snapshot of the card data read from the physical encoder. */
16281
+ /** Snapshot of credential data read from physical encoder. */
16278
16282
  acs_credential_on_encoder: {
16279
16283
  /** Date and time the credential was created. */
16280
16284
  created_at: string | null;
@@ -16427,7 +16431,7 @@ export interface Routes {
16427
16431
  action_attempt_id: string;
16428
16432
  status: 'error';
16429
16433
  result: null;
16430
- action_type: 'SCAN_CARD';
16434
+ action_type: 'SCAN_CREDENTIAL';
16431
16435
  error: {
16432
16436
  type: 'uncategorized_error';
16433
16437
  message: string;
@@ -16444,13 +16448,13 @@ export interface Routes {
16444
16448
  status: 'pending';
16445
16449
  result: null;
16446
16450
  error: null;
16447
- action_type: 'ENCODE_CARD';
16451
+ action_type: 'ENCODE_CREDENTIAL';
16448
16452
  } | {
16449
16453
  /** The ID of the action attempt. */
16450
16454
  action_attempt_id: string;
16451
16455
  status: 'success';
16452
16456
  error: null;
16453
- action_type: 'ENCODE_CARD';
16457
+ action_type: 'ENCODE_CREDENTIAL';
16454
16458
  /** Means by which a user gains access at an entrance.
16455
16459
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
16456
16460
  result: {
@@ -16573,7 +16577,7 @@ export interface Routes {
16573
16577
  action_attempt_id: string;
16574
16578
  status: 'error';
16575
16579
  result: null;
16576
- action_type: 'ENCODE_CARD';
16580
+ action_type: 'ENCODE_CREDENTIAL';
16577
16581
  error: {
16578
16582
  type: 'uncategorized_error';
16579
16583
  message: string;
@@ -17048,15 +17052,15 @@ export interface Routes {
17048
17052
  status: 'pending';
17049
17053
  result: null;
17050
17054
  error: null;
17051
- action_type: 'SCAN_CARD';
17055
+ action_type: 'SCAN_CREDENTIAL';
17052
17056
  } | {
17053
17057
  /** The ID of the action attempt. */
17054
17058
  action_attempt_id: string;
17055
17059
  status: 'success';
17056
17060
  error: null;
17057
- action_type: 'SCAN_CARD';
17061
+ action_type: 'SCAN_CREDENTIAL';
17058
17062
  result: {
17059
- /** Snapshot of the card data read from the physical encoder. */
17063
+ /** Snapshot of credential data read from physical encoder. */
17060
17064
  acs_credential_on_encoder: {
17061
17065
  /** Date and time the credential was created. */
17062
17066
  created_at: string | null;
@@ -17209,7 +17213,7 @@ export interface Routes {
17209
17213
  action_attempt_id: string;
17210
17214
  status: 'error';
17211
17215
  result: null;
17212
- action_type: 'SCAN_CARD';
17216
+ action_type: 'SCAN_CREDENTIAL';
17213
17217
  error: {
17214
17218
  type: 'uncategorized_error';
17215
17219
  message: string;
@@ -17226,13 +17230,13 @@ export interface Routes {
17226
17230
  status: 'pending';
17227
17231
  result: null;
17228
17232
  error: null;
17229
- action_type: 'ENCODE_CARD';
17233
+ action_type: 'ENCODE_CREDENTIAL';
17230
17234
  } | {
17231
17235
  /** The ID of the action attempt. */
17232
17236
  action_attempt_id: string;
17233
17237
  status: 'success';
17234
17238
  error: null;
17235
- action_type: 'ENCODE_CARD';
17239
+ action_type: 'ENCODE_CREDENTIAL';
17236
17240
  /** Means by which a user gains access at an entrance.
17237
17241
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
17238
17242
  result: {
@@ -17355,7 +17359,7 @@ export interface Routes {
17355
17359
  action_attempt_id: string;
17356
17360
  status: 'error';
17357
17361
  result: null;
17358
- action_type: 'ENCODE_CARD';
17362
+ action_type: 'ENCODE_CREDENTIAL';
17359
17363
  error: {
17360
17364
  type: 'uncategorized_error';
17361
17365
  message: string;
@@ -17963,15 +17967,15 @@ export interface Routes {
17963
17967
  status: 'pending';
17964
17968
  result: null;
17965
17969
  error: null;
17966
- action_type: 'SCAN_CARD';
17970
+ action_type: 'SCAN_CREDENTIAL';
17967
17971
  } | {
17968
17972
  /** The ID of the action attempt. */
17969
17973
  action_attempt_id: string;
17970
17974
  status: 'success';
17971
17975
  error: null;
17972
- action_type: 'SCAN_CARD';
17976
+ action_type: 'SCAN_CREDENTIAL';
17973
17977
  result: {
17974
- /** Snapshot of the card data read from the physical encoder. */
17978
+ /** Snapshot of credential data read from physical encoder. */
17975
17979
  acs_credential_on_encoder: {
17976
17980
  /** Date and time the credential was created. */
17977
17981
  created_at: string | null;
@@ -18124,7 +18128,7 @@ export interface Routes {
18124
18128
  action_attempt_id: string;
18125
18129
  status: 'error';
18126
18130
  result: null;
18127
- action_type: 'SCAN_CARD';
18131
+ action_type: 'SCAN_CREDENTIAL';
18128
18132
  error: {
18129
18133
  type: 'uncategorized_error';
18130
18134
  message: string;
@@ -18141,13 +18145,13 @@ export interface Routes {
18141
18145
  status: 'pending';
18142
18146
  result: null;
18143
18147
  error: null;
18144
- action_type: 'ENCODE_CARD';
18148
+ action_type: 'ENCODE_CREDENTIAL';
18145
18149
  } | {
18146
18150
  /** The ID of the action attempt. */
18147
18151
  action_attempt_id: string;
18148
18152
  status: 'success';
18149
18153
  error: null;
18150
- action_type: 'ENCODE_CARD';
18154
+ action_type: 'ENCODE_CREDENTIAL';
18151
18155
  /** Means by which a user gains access at an entrance.
18152
18156
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
18153
18157
  result: {
@@ -18270,7 +18274,7 @@ export interface Routes {
18270
18274
  action_attempt_id: string;
18271
18275
  status: 'error';
18272
18276
  result: null;
18273
- action_type: 'ENCODE_CARD';
18277
+ action_type: 'ENCODE_CREDENTIAL';
18274
18278
  error: {
18275
18279
  type: 'uncategorized_error';
18276
18280
  message: string;
@@ -18701,15 +18705,15 @@ export interface Routes {
18701
18705
  status: 'pending';
18702
18706
  result: null;
18703
18707
  error: null;
18704
- action_type: 'SCAN_CARD';
18708
+ action_type: 'SCAN_CREDENTIAL';
18705
18709
  } | {
18706
18710
  /** The ID of the action attempt. */
18707
18711
  action_attempt_id: string;
18708
18712
  status: 'success';
18709
18713
  error: null;
18710
- action_type: 'SCAN_CARD';
18714
+ action_type: 'SCAN_CREDENTIAL';
18711
18715
  result: {
18712
- /** Snapshot of the card data read from the physical encoder. */
18716
+ /** Snapshot of credential data read from physical encoder. */
18713
18717
  acs_credential_on_encoder: {
18714
18718
  /** Date and time the credential was created. */
18715
18719
  created_at: string | null;
@@ -18862,7 +18866,7 @@ export interface Routes {
18862
18866
  action_attempt_id: string;
18863
18867
  status: 'error';
18864
18868
  result: null;
18865
- action_type: 'SCAN_CARD';
18869
+ action_type: 'SCAN_CREDENTIAL';
18866
18870
  error: {
18867
18871
  type: 'uncategorized_error';
18868
18872
  message: string;
@@ -18879,13 +18883,13 @@ export interface Routes {
18879
18883
  status: 'pending';
18880
18884
  result: null;
18881
18885
  error: null;
18882
- action_type: 'ENCODE_CARD';
18886
+ action_type: 'ENCODE_CREDENTIAL';
18883
18887
  } | {
18884
18888
  /** The ID of the action attempt. */
18885
18889
  action_attempt_id: string;
18886
18890
  status: 'success';
18887
18891
  error: null;
18888
- action_type: 'ENCODE_CARD';
18892
+ action_type: 'ENCODE_CREDENTIAL';
18889
18893
  /** Means by which a user gains access at an entrance.
18890
18894
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
18891
18895
  result: {
@@ -19008,7 +19012,7 @@ export interface Routes {
19008
19012
  action_attempt_id: string;
19009
19013
  status: 'error';
19010
19014
  result: null;
19011
- action_type: 'ENCODE_CARD';
19015
+ action_type: 'ENCODE_CREDENTIAL';
19012
19016
  error: {
19013
19017
  type: 'uncategorized_error';
19014
19018
  message: string;
@@ -19949,15 +19953,15 @@ export interface Routes {
19949
19953
  status: 'pending';
19950
19954
  result: null;
19951
19955
  error: null;
19952
- action_type: 'SCAN_CARD';
19956
+ action_type: 'SCAN_CREDENTIAL';
19953
19957
  } | {
19954
19958
  /** The ID of the action attempt. */
19955
19959
  action_attempt_id: string;
19956
19960
  status: 'success';
19957
19961
  error: null;
19958
- action_type: 'SCAN_CARD';
19962
+ action_type: 'SCAN_CREDENTIAL';
19959
19963
  result: {
19960
- /** Snapshot of the card data read from the physical encoder. */
19964
+ /** Snapshot of credential data read from physical encoder. */
19961
19965
  acs_credential_on_encoder: {
19962
19966
  /** Date and time the credential was created. */
19963
19967
  created_at: string | null;
@@ -20110,7 +20114,7 @@ export interface Routes {
20110
20114
  action_attempt_id: string;
20111
20115
  status: 'error';
20112
20116
  result: null;
20113
- action_type: 'SCAN_CARD';
20117
+ action_type: 'SCAN_CREDENTIAL';
20114
20118
  error: {
20115
20119
  type: 'uncategorized_error';
20116
20120
  message: string;
@@ -20127,13 +20131,13 @@ export interface Routes {
20127
20131
  status: 'pending';
20128
20132
  result: null;
20129
20133
  error: null;
20130
- action_type: 'ENCODE_CARD';
20134
+ action_type: 'ENCODE_CREDENTIAL';
20131
20135
  } | {
20132
20136
  /** The ID of the action attempt. */
20133
20137
  action_attempt_id: string;
20134
20138
  status: 'success';
20135
20139
  error: null;
20136
- action_type: 'ENCODE_CARD';
20140
+ action_type: 'ENCODE_CREDENTIAL';
20137
20141
  /** Means by which a user gains access at an entrance.
20138
20142
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
20139
20143
  result: {
@@ -20256,7 +20260,7 @@ export interface Routes {
20256
20260
  action_attempt_id: string;
20257
20261
  status: 'error';
20258
20262
  result: null;
20259
- action_type: 'ENCODE_CARD';
20263
+ action_type: 'ENCODE_CREDENTIAL';
20260
20264
  error: {
20261
20265
  type: 'uncategorized_error';
20262
20266
  message: string;
@@ -20691,15 +20695,15 @@ export interface Routes {
20691
20695
  status: 'pending';
20692
20696
  result: null;
20693
20697
  error: null;
20694
- action_type: 'SCAN_CARD';
20698
+ action_type: 'SCAN_CREDENTIAL';
20695
20699
  } | {
20696
20700
  /** The ID of the action attempt. */
20697
20701
  action_attempt_id: string;
20698
20702
  status: 'success';
20699
20703
  error: null;
20700
- action_type: 'SCAN_CARD';
20704
+ action_type: 'SCAN_CREDENTIAL';
20701
20705
  result: {
20702
- /** Snapshot of the card data read from the physical encoder. */
20706
+ /** Snapshot of credential data read from physical encoder. */
20703
20707
  acs_credential_on_encoder: {
20704
20708
  /** Date and time the credential was created. */
20705
20709
  created_at: string | null;
@@ -20852,7 +20856,7 @@ export interface Routes {
20852
20856
  action_attempt_id: string;
20853
20857
  status: 'error';
20854
20858
  result: null;
20855
- action_type: 'SCAN_CARD';
20859
+ action_type: 'SCAN_CREDENTIAL';
20856
20860
  error: {
20857
20861
  type: 'uncategorized_error';
20858
20862
  message: string;
@@ -20869,13 +20873,13 @@ export interface Routes {
20869
20873
  status: 'pending';
20870
20874
  result: null;
20871
20875
  error: null;
20872
- action_type: 'ENCODE_CARD';
20876
+ action_type: 'ENCODE_CREDENTIAL';
20873
20877
  } | {
20874
20878
  /** The ID of the action attempt. */
20875
20879
  action_attempt_id: string;
20876
20880
  status: 'success';
20877
20881
  error: null;
20878
- action_type: 'ENCODE_CARD';
20882
+ action_type: 'ENCODE_CREDENTIAL';
20879
20883
  /** Means by which a user gains access at an entrance.
20880
20884
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
20881
20885
  result: {
@@ -20998,7 +21002,7 @@ export interface Routes {
20998
21002
  action_attempt_id: string;
20999
21003
  status: 'error';
21000
21004
  result: null;
21001
- action_type: 'ENCODE_CARD';
21005
+ action_type: 'ENCODE_CREDENTIAL';
21002
21006
  error: {
21003
21007
  type: 'uncategorized_error';
21004
21008
  message: string;
@@ -22376,15 +22380,15 @@ export interface Routes {
22376
22380
  status: 'pending';
22377
22381
  result: null;
22378
22382
  error: null;
22379
- action_type: 'SCAN_CARD';
22383
+ action_type: 'SCAN_CREDENTIAL';
22380
22384
  } | {
22381
22385
  /** The ID of the action attempt. */
22382
22386
  action_attempt_id: string;
22383
22387
  status: 'success';
22384
22388
  error: null;
22385
- action_type: 'SCAN_CARD';
22389
+ action_type: 'SCAN_CREDENTIAL';
22386
22390
  result: {
22387
- /** Snapshot of the card data read from the physical encoder. */
22391
+ /** Snapshot of credential data read from physical encoder. */
22388
22392
  acs_credential_on_encoder: {
22389
22393
  /** Date and time the credential was created. */
22390
22394
  created_at: string | null;
@@ -22537,7 +22541,7 @@ export interface Routes {
22537
22541
  action_attempt_id: string;
22538
22542
  status: 'error';
22539
22543
  result: null;
22540
- action_type: 'SCAN_CARD';
22544
+ action_type: 'SCAN_CREDENTIAL';
22541
22545
  error: {
22542
22546
  type: 'uncategorized_error';
22543
22547
  message: string;
@@ -22554,13 +22558,13 @@ export interface Routes {
22554
22558
  status: 'pending';
22555
22559
  result: null;
22556
22560
  error: null;
22557
- action_type: 'ENCODE_CARD';
22561
+ action_type: 'ENCODE_CREDENTIAL';
22558
22562
  } | {
22559
22563
  /** The ID of the action attempt. */
22560
22564
  action_attempt_id: string;
22561
22565
  status: 'success';
22562
22566
  error: null;
22563
- action_type: 'ENCODE_CARD';
22567
+ action_type: 'ENCODE_CREDENTIAL';
22564
22568
  /** Means by which a user gains access at an entrance.
22565
22569
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
22566
22570
  result: {
@@ -22683,7 +22687,7 @@ export interface Routes {
22683
22687
  action_attempt_id: string;
22684
22688
  status: 'error';
22685
22689
  result: null;
22686
- action_type: 'ENCODE_CARD';
22690
+ action_type: 'ENCODE_CREDENTIAL';
22687
22691
  error: {
22688
22692
  type: 'uncategorized_error';
22689
22693
  message: string;
@@ -23232,15 +23236,15 @@ export interface Routes {
23232
23236
  status: 'pending';
23233
23237
  result: null;
23234
23238
  error: null;
23235
- action_type: 'SCAN_CARD';
23239
+ action_type: 'SCAN_CREDENTIAL';
23236
23240
  } | {
23237
23241
  /** The ID of the action attempt. */
23238
23242
  action_attempt_id: string;
23239
23243
  status: 'success';
23240
23244
  error: null;
23241
- action_type: 'SCAN_CARD';
23245
+ action_type: 'SCAN_CREDENTIAL';
23242
23246
  result: {
23243
- /** Snapshot of the card data read from the physical encoder. */
23247
+ /** Snapshot of credential data read from physical encoder. */
23244
23248
  acs_credential_on_encoder: {
23245
23249
  /** Date and time the credential was created. */
23246
23250
  created_at: string | null;
@@ -23393,7 +23397,7 @@ export interface Routes {
23393
23397
  action_attempt_id: string;
23394
23398
  status: 'error';
23395
23399
  result: null;
23396
- action_type: 'SCAN_CARD';
23400
+ action_type: 'SCAN_CREDENTIAL';
23397
23401
  error: {
23398
23402
  type: 'uncategorized_error';
23399
23403
  message: string;
@@ -23410,13 +23414,13 @@ export interface Routes {
23410
23414
  status: 'pending';
23411
23415
  result: null;
23412
23416
  error: null;
23413
- action_type: 'ENCODE_CARD';
23417
+ action_type: 'ENCODE_CREDENTIAL';
23414
23418
  } | {
23415
23419
  /** The ID of the action attempt. */
23416
23420
  action_attempt_id: string;
23417
23421
  status: 'success';
23418
23422
  error: null;
23419
- action_type: 'ENCODE_CARD';
23423
+ action_type: 'ENCODE_CREDENTIAL';
23420
23424
  /** Means by which a user gains access at an entrance.
23421
23425
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
23422
23426
  result: {
@@ -23539,7 +23543,7 @@ export interface Routes {
23539
23543
  action_attempt_id: string;
23540
23544
  status: 'error';
23541
23545
  result: null;
23542
- action_type: 'ENCODE_CARD';
23546
+ action_type: 'ENCODE_CREDENTIAL';
23543
23547
  error: {
23544
23548
  type: 'uncategorized_error';
23545
23549
  message: string;
@@ -25504,15 +25508,15 @@ export interface Routes {
25504
25508
  status: 'pending';
25505
25509
  result: null;
25506
25510
  error: null;
25507
- action_type: 'SCAN_CARD';
25511
+ action_type: 'SCAN_CREDENTIAL';
25508
25512
  } | {
25509
25513
  /** The ID of the action attempt. */
25510
25514
  action_attempt_id: string;
25511
25515
  status: 'success';
25512
25516
  error: null;
25513
- action_type: 'SCAN_CARD';
25517
+ action_type: 'SCAN_CREDENTIAL';
25514
25518
  result: {
25515
- /** Snapshot of the card data read from the physical encoder. */
25519
+ /** Snapshot of credential data read from physical encoder. */
25516
25520
  acs_credential_on_encoder: {
25517
25521
  /** Date and time the credential was created. */
25518
25522
  created_at: string | null;
@@ -25665,7 +25669,7 @@ export interface Routes {
25665
25669
  action_attempt_id: string;
25666
25670
  status: 'error';
25667
25671
  result: null;
25668
- action_type: 'SCAN_CARD';
25672
+ action_type: 'SCAN_CREDENTIAL';
25669
25673
  error: {
25670
25674
  type: 'uncategorized_error';
25671
25675
  message: string;
@@ -25682,13 +25686,13 @@ export interface Routes {
25682
25686
  status: 'pending';
25683
25687
  result: null;
25684
25688
  error: null;
25685
- action_type: 'ENCODE_CARD';
25689
+ action_type: 'ENCODE_CREDENTIAL';
25686
25690
  } | {
25687
25691
  /** The ID of the action attempt. */
25688
25692
  action_attempt_id: string;
25689
25693
  status: 'success';
25690
25694
  error: null;
25691
- action_type: 'ENCODE_CARD';
25695
+ action_type: 'ENCODE_CREDENTIAL';
25692
25696
  /** Means by which a user gains access at an entrance.
25693
25697
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
25694
25698
  result: {
@@ -25811,7 +25815,7 @@ export interface Routes {
25811
25815
  action_attempt_id: string;
25812
25816
  status: 'error';
25813
25817
  result: null;
25814
- action_type: 'ENCODE_CARD';
25818
+ action_type: 'ENCODE_CREDENTIAL';
25815
25819
  error: {
25816
25820
  type: 'uncategorized_error';
25817
25821
  message: string;