@seamapi/types 1.289.0 → 1.290.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/connect.cjs +70 -38
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +212 -164
  4. package/lib/seam/connect/models/acs/acs-system.d.ts +20 -0
  5. package/lib/seam/connect/models/acs/acs-system.js +7 -0
  6. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -18
  8. package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -4
  9. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  10. package/lib/seam/connect/models/action-attempts/{encode-card.d.ts → encode-credential.d.ts} +11 -11
  11. package/lib/seam/connect/models/action-attempts/{encode-card.js → encode-credential.js} +6 -6
  12. package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -0
  13. package/lib/seam/connect/models/action-attempts/{scan-card.d.ts → scan-credential.d.ts} +11 -11
  14. package/lib/seam/connect/models/action-attempts/{scan-card.js → scan-credential.js} +7 -7
  15. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -0
  16. package/lib/seam/connect/openapi.d.ts +17 -2
  17. package/lib/seam/connect/openapi.js +53 -25
  18. package/lib/seam/connect/openapi.js.map +1 -1
  19. package/lib/seam/connect/route-types.d.ts +164 -144
  20. package/package.json +1 -1
  21. package/src/lib/seam/connect/models/acs/acs-system.ts +8 -0
  22. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -4
  23. package/src/lib/seam/connect/models/action-attempts/{encode-card.ts → encode-credential.ts} +8 -6
  24. package/src/lib/seam/connect/models/action-attempts/{scan-card.ts → scan-credential.ts} +9 -7
  25. package/src/lib/seam/connect/openapi.ts +58 -25
  26. package/src/lib/seam/connect/route-types.ts +164 -144
  27. package/lib/seam/connect/models/action-attempts/encode-card.js.map +0 -1
  28. 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;
@@ -6858,6 +6862,10 @@ export interface Routes {
6858
6862
  /**
6859
6863
  * @deprecated Use `external_type_display_name`. */
6860
6864
  system_type_display_name?: string | undefined;
6865
+ location: {
6866
+ /** Time zone in which the `acs_system` is located. */
6867
+ time_zone: string | null;
6868
+ };
6861
6869
  /** Name of the `acs_system`. */
6862
6870
  name: string;
6863
6871
  /** Date and time at which the `acs_system` was created. */
@@ -6963,6 +6971,10 @@ export interface Routes {
6963
6971
  /**
6964
6972
  * @deprecated Use `external_type_display_name`. */
6965
6973
  system_type_display_name?: string | undefined;
6974
+ location: {
6975
+ /** Time zone in which the `acs_system` is located. */
6976
+ time_zone: string | null;
6977
+ };
6966
6978
  /** Name of the `acs_system`. */
6967
6979
  name: string;
6968
6980
  /** Date and time at which the `acs_system` was created. */
@@ -7068,6 +7080,10 @@ export interface Routes {
7068
7080
  /**
7069
7081
  * @deprecated Use `external_type_display_name`. */
7070
7082
  system_type_display_name?: string | undefined;
7083
+ location: {
7084
+ /** Time zone in which the `acs_system` is located. */
7085
+ time_zone: string | null;
7086
+ };
7071
7087
  /** Name of the `acs_system`. */
7072
7088
  name: string;
7073
7089
  /** Date and time at which the `acs_system` was created. */
@@ -7908,15 +7924,15 @@ export interface Routes {
7908
7924
  status: 'pending';
7909
7925
  result: null;
7910
7926
  error: null;
7911
- action_type: 'SCAN_CARD';
7927
+ action_type: 'SCAN_CREDENTIAL';
7912
7928
  } | {
7913
7929
  /** The ID of the action attempt. */
7914
7930
  action_attempt_id: string;
7915
7931
  status: 'success';
7916
7932
  error: null;
7917
- action_type: 'SCAN_CARD';
7933
+ action_type: 'SCAN_CREDENTIAL';
7918
7934
  result: {
7919
- /** Snapshot of the card data read from the physical encoder. */
7935
+ /** Snapshot of credential data read from physical encoder. */
7920
7936
  acs_credential_on_encoder: {
7921
7937
  /** Date and time the credential was created. */
7922
7938
  created_at: string | null;
@@ -8069,7 +8085,7 @@ export interface Routes {
8069
8085
  action_attempt_id: string;
8070
8086
  status: 'error';
8071
8087
  result: null;
8072
- action_type: 'SCAN_CARD';
8088
+ action_type: 'SCAN_CREDENTIAL';
8073
8089
  error: {
8074
8090
  type: 'uncategorized_error';
8075
8091
  message: string;
@@ -8086,13 +8102,13 @@ export interface Routes {
8086
8102
  status: 'pending';
8087
8103
  result: null;
8088
8104
  error: null;
8089
- action_type: 'ENCODE_CARD';
8105
+ action_type: 'ENCODE_CREDENTIAL';
8090
8106
  } | {
8091
8107
  /** The ID of the action attempt. */
8092
8108
  action_attempt_id: string;
8093
8109
  status: 'success';
8094
8110
  error: null;
8095
- action_type: 'ENCODE_CARD';
8111
+ action_type: 'ENCODE_CREDENTIAL';
8096
8112
  /** Means by which a user gains access at an entrance.
8097
8113
  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
8114
  result: {
@@ -8215,7 +8231,7 @@ export interface Routes {
8215
8231
  action_attempt_id: string;
8216
8232
  status: 'error';
8217
8233
  result: null;
8218
- action_type: 'ENCODE_CARD';
8234
+ action_type: 'ENCODE_CREDENTIAL';
8219
8235
  error: {
8220
8236
  type: 'uncategorized_error';
8221
8237
  message: string;
@@ -8640,15 +8656,15 @@ export interface Routes {
8640
8656
  status: 'pending';
8641
8657
  result: null;
8642
8658
  error: null;
8643
- action_type: 'SCAN_CARD';
8659
+ action_type: 'SCAN_CREDENTIAL';
8644
8660
  } | {
8645
8661
  /** The ID of the action attempt. */
8646
8662
  action_attempt_id: string;
8647
8663
  status: 'success';
8648
8664
  error: null;
8649
- action_type: 'SCAN_CARD';
8665
+ action_type: 'SCAN_CREDENTIAL';
8650
8666
  result: {
8651
- /** Snapshot of the card data read from the physical encoder. */
8667
+ /** Snapshot of credential data read from physical encoder. */
8652
8668
  acs_credential_on_encoder: {
8653
8669
  /** Date and time the credential was created. */
8654
8670
  created_at: string | null;
@@ -8801,7 +8817,7 @@ export interface Routes {
8801
8817
  action_attempt_id: string;
8802
8818
  status: 'error';
8803
8819
  result: null;
8804
- action_type: 'SCAN_CARD';
8820
+ action_type: 'SCAN_CREDENTIAL';
8805
8821
  error: {
8806
8822
  type: 'uncategorized_error';
8807
8823
  message: string;
@@ -8818,13 +8834,13 @@ export interface Routes {
8818
8834
  status: 'pending';
8819
8835
  result: null;
8820
8836
  error: null;
8821
- action_type: 'ENCODE_CARD';
8837
+ action_type: 'ENCODE_CREDENTIAL';
8822
8838
  } | {
8823
8839
  /** The ID of the action attempt. */
8824
8840
  action_attempt_id: string;
8825
8841
  status: 'success';
8826
8842
  error: null;
8827
- action_type: 'ENCODE_CARD';
8843
+ action_type: 'ENCODE_CREDENTIAL';
8828
8844
  /** Means by which a user gains access at an entrance.
8829
8845
  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
8846
  result: {
@@ -8947,7 +8963,7 @@ export interface Routes {
8947
8963
  action_attempt_id: string;
8948
8964
  status: 'error';
8949
8965
  result: null;
8950
- action_type: 'ENCODE_CARD';
8966
+ action_type: 'ENCODE_CREDENTIAL';
8951
8967
  error: {
8952
8968
  type: 'uncategorized_error';
8953
8969
  message: string;
@@ -13067,15 +13083,15 @@ export interface Routes {
13067
13083
  status: 'pending';
13068
13084
  result: null;
13069
13085
  error: null;
13070
- action_type: 'SCAN_CARD';
13086
+ action_type: 'SCAN_CREDENTIAL';
13071
13087
  } | {
13072
13088
  /** The ID of the action attempt. */
13073
13089
  action_attempt_id: string;
13074
13090
  status: 'success';
13075
13091
  error: null;
13076
- action_type: 'SCAN_CARD';
13092
+ action_type: 'SCAN_CREDENTIAL';
13077
13093
  result: {
13078
- /** Snapshot of the card data read from the physical encoder. */
13094
+ /** Snapshot of credential data read from physical encoder. */
13079
13095
  acs_credential_on_encoder: {
13080
13096
  /** Date and time the credential was created. */
13081
13097
  created_at: string | null;
@@ -13228,7 +13244,7 @@ export interface Routes {
13228
13244
  action_attempt_id: string;
13229
13245
  status: 'error';
13230
13246
  result: null;
13231
- action_type: 'SCAN_CARD';
13247
+ action_type: 'SCAN_CREDENTIAL';
13232
13248
  error: {
13233
13249
  type: 'uncategorized_error';
13234
13250
  message: string;
@@ -13245,13 +13261,13 @@ export interface Routes {
13245
13261
  status: 'pending';
13246
13262
  result: null;
13247
13263
  error: null;
13248
- action_type: 'ENCODE_CARD';
13264
+ action_type: 'ENCODE_CREDENTIAL';
13249
13265
  } | {
13250
13266
  /** The ID of the action attempt. */
13251
13267
  action_attempt_id: string;
13252
13268
  status: 'success';
13253
13269
  error: null;
13254
- action_type: 'ENCODE_CARD';
13270
+ action_type: 'ENCODE_CREDENTIAL';
13255
13271
  /** Means by which a user gains access at an entrance.
13256
13272
  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
13273
  result: {
@@ -13374,7 +13390,7 @@ export interface Routes {
13374
13390
  action_attempt_id: string;
13375
13391
  status: 'error';
13376
13392
  result: null;
13377
- action_type: 'ENCODE_CARD';
13393
+ action_type: 'ENCODE_CREDENTIAL';
13378
13394
  error: {
13379
13395
  type: 'uncategorized_error';
13380
13396
  message: string;
@@ -13800,15 +13816,15 @@ export interface Routes {
13800
13816
  status: 'pending';
13801
13817
  result: null;
13802
13818
  error: null;
13803
- action_type: 'SCAN_CARD';
13819
+ action_type: 'SCAN_CREDENTIAL';
13804
13820
  } | {
13805
13821
  /** The ID of the action attempt. */
13806
13822
  action_attempt_id: string;
13807
13823
  status: 'success';
13808
13824
  error: null;
13809
- action_type: 'SCAN_CARD';
13825
+ action_type: 'SCAN_CREDENTIAL';
13810
13826
  result: {
13811
- /** Snapshot of the card data read from the physical encoder. */
13827
+ /** Snapshot of credential data read from physical encoder. */
13812
13828
  acs_credential_on_encoder: {
13813
13829
  /** Date and time the credential was created. */
13814
13830
  created_at: string | null;
@@ -13961,7 +13977,7 @@ export interface Routes {
13961
13977
  action_attempt_id: string;
13962
13978
  status: 'error';
13963
13979
  result: null;
13964
- action_type: 'SCAN_CARD';
13980
+ action_type: 'SCAN_CREDENTIAL';
13965
13981
  error: {
13966
13982
  type: 'uncategorized_error';
13967
13983
  message: string;
@@ -13978,13 +13994,13 @@ export interface Routes {
13978
13994
  status: 'pending';
13979
13995
  result: null;
13980
13996
  error: null;
13981
- action_type: 'ENCODE_CARD';
13997
+ action_type: 'ENCODE_CREDENTIAL';
13982
13998
  } | {
13983
13999
  /** The ID of the action attempt. */
13984
14000
  action_attempt_id: string;
13985
14001
  status: 'success';
13986
14002
  error: null;
13987
- action_type: 'ENCODE_CARD';
14003
+ action_type: 'ENCODE_CREDENTIAL';
13988
14004
  /** Means by which a user gains access at an entrance.
13989
14005
  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
14006
  result: {
@@ -14107,7 +14123,7 @@ export interface Routes {
14107
14123
  action_attempt_id: string;
14108
14124
  status: 'error';
14109
14125
  result: null;
14110
- action_type: 'ENCODE_CARD';
14126
+ action_type: 'ENCODE_CREDENTIAL';
14111
14127
  error: {
14112
14128
  type: 'uncategorized_error';
14113
14129
  message: string;
@@ -15523,15 +15539,15 @@ export interface Routes {
15523
15539
  status: 'pending';
15524
15540
  result: null;
15525
15541
  error: null;
15526
- action_type: 'SCAN_CARD';
15542
+ action_type: 'SCAN_CREDENTIAL';
15527
15543
  } | {
15528
15544
  /** The ID of the action attempt. */
15529
15545
  action_attempt_id: string;
15530
15546
  status: 'success';
15531
15547
  error: null;
15532
- action_type: 'SCAN_CARD';
15548
+ action_type: 'SCAN_CREDENTIAL';
15533
15549
  result: {
15534
- /** Snapshot of the card data read from the physical encoder. */
15550
+ /** Snapshot of credential data read from physical encoder. */
15535
15551
  acs_credential_on_encoder: {
15536
15552
  /** Date and time the credential was created. */
15537
15553
  created_at: string | null;
@@ -15684,7 +15700,7 @@ export interface Routes {
15684
15700
  action_attempt_id: string;
15685
15701
  status: 'error';
15686
15702
  result: null;
15687
- action_type: 'SCAN_CARD';
15703
+ action_type: 'SCAN_CREDENTIAL';
15688
15704
  error: {
15689
15705
  type: 'uncategorized_error';
15690
15706
  message: string;
@@ -15701,13 +15717,13 @@ export interface Routes {
15701
15717
  status: 'pending';
15702
15718
  result: null;
15703
15719
  error: null;
15704
- action_type: 'ENCODE_CARD';
15720
+ action_type: 'ENCODE_CREDENTIAL';
15705
15721
  } | {
15706
15722
  /** The ID of the action attempt. */
15707
15723
  action_attempt_id: string;
15708
15724
  status: 'success';
15709
15725
  error: null;
15710
- action_type: 'ENCODE_CARD';
15726
+ action_type: 'ENCODE_CREDENTIAL';
15711
15727
  /** Means by which a user gains access at an entrance.
15712
15728
  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
15729
  result: {
@@ -15830,7 +15846,7 @@ export interface Routes {
15830
15846
  action_attempt_id: string;
15831
15847
  status: 'error';
15832
15848
  result: null;
15833
- action_type: 'ENCODE_CARD';
15849
+ action_type: 'ENCODE_CREDENTIAL';
15834
15850
  error: {
15835
15851
  type: 'uncategorized_error';
15836
15852
  message: string;
@@ -16266,15 +16282,15 @@ export interface Routes {
16266
16282
  status: 'pending';
16267
16283
  result: null;
16268
16284
  error: null;
16269
- action_type: 'SCAN_CARD';
16285
+ action_type: 'SCAN_CREDENTIAL';
16270
16286
  } | {
16271
16287
  /** The ID of the action attempt. */
16272
16288
  action_attempt_id: string;
16273
16289
  status: 'success';
16274
16290
  error: null;
16275
- action_type: 'SCAN_CARD';
16291
+ action_type: 'SCAN_CREDENTIAL';
16276
16292
  result: {
16277
- /** Snapshot of the card data read from the physical encoder. */
16293
+ /** Snapshot of credential data read from physical encoder. */
16278
16294
  acs_credential_on_encoder: {
16279
16295
  /** Date and time the credential was created. */
16280
16296
  created_at: string | null;
@@ -16427,7 +16443,7 @@ export interface Routes {
16427
16443
  action_attempt_id: string;
16428
16444
  status: 'error';
16429
16445
  result: null;
16430
- action_type: 'SCAN_CARD';
16446
+ action_type: 'SCAN_CREDENTIAL';
16431
16447
  error: {
16432
16448
  type: 'uncategorized_error';
16433
16449
  message: string;
@@ -16444,13 +16460,13 @@ export interface Routes {
16444
16460
  status: 'pending';
16445
16461
  result: null;
16446
16462
  error: null;
16447
- action_type: 'ENCODE_CARD';
16463
+ action_type: 'ENCODE_CREDENTIAL';
16448
16464
  } | {
16449
16465
  /** The ID of the action attempt. */
16450
16466
  action_attempt_id: string;
16451
16467
  status: 'success';
16452
16468
  error: null;
16453
- action_type: 'ENCODE_CARD';
16469
+ action_type: 'ENCODE_CREDENTIAL';
16454
16470
  /** Means by which a user gains access at an entrance.
16455
16471
  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
16472
  result: {
@@ -16573,7 +16589,7 @@ export interface Routes {
16573
16589
  action_attempt_id: string;
16574
16590
  status: 'error';
16575
16591
  result: null;
16576
- action_type: 'ENCODE_CARD';
16592
+ action_type: 'ENCODE_CREDENTIAL';
16577
16593
  error: {
16578
16594
  type: 'uncategorized_error';
16579
16595
  message: string;
@@ -17048,15 +17064,15 @@ export interface Routes {
17048
17064
  status: 'pending';
17049
17065
  result: null;
17050
17066
  error: null;
17051
- action_type: 'SCAN_CARD';
17067
+ action_type: 'SCAN_CREDENTIAL';
17052
17068
  } | {
17053
17069
  /** The ID of the action attempt. */
17054
17070
  action_attempt_id: string;
17055
17071
  status: 'success';
17056
17072
  error: null;
17057
- action_type: 'SCAN_CARD';
17073
+ action_type: 'SCAN_CREDENTIAL';
17058
17074
  result: {
17059
- /** Snapshot of the card data read from the physical encoder. */
17075
+ /** Snapshot of credential data read from physical encoder. */
17060
17076
  acs_credential_on_encoder: {
17061
17077
  /** Date and time the credential was created. */
17062
17078
  created_at: string | null;
@@ -17209,7 +17225,7 @@ export interface Routes {
17209
17225
  action_attempt_id: string;
17210
17226
  status: 'error';
17211
17227
  result: null;
17212
- action_type: 'SCAN_CARD';
17228
+ action_type: 'SCAN_CREDENTIAL';
17213
17229
  error: {
17214
17230
  type: 'uncategorized_error';
17215
17231
  message: string;
@@ -17226,13 +17242,13 @@ export interface Routes {
17226
17242
  status: 'pending';
17227
17243
  result: null;
17228
17244
  error: null;
17229
- action_type: 'ENCODE_CARD';
17245
+ action_type: 'ENCODE_CREDENTIAL';
17230
17246
  } | {
17231
17247
  /** The ID of the action attempt. */
17232
17248
  action_attempt_id: string;
17233
17249
  status: 'success';
17234
17250
  error: null;
17235
- action_type: 'ENCODE_CARD';
17251
+ action_type: 'ENCODE_CREDENTIAL';
17236
17252
  /** Means by which a user gains access at an entrance.
17237
17253
  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
17254
  result: {
@@ -17355,7 +17371,7 @@ export interface Routes {
17355
17371
  action_attempt_id: string;
17356
17372
  status: 'error';
17357
17373
  result: null;
17358
- action_type: 'ENCODE_CARD';
17374
+ action_type: 'ENCODE_CREDENTIAL';
17359
17375
  error: {
17360
17376
  type: 'uncategorized_error';
17361
17377
  message: string;
@@ -17963,15 +17979,15 @@ export interface Routes {
17963
17979
  status: 'pending';
17964
17980
  result: null;
17965
17981
  error: null;
17966
- action_type: 'SCAN_CARD';
17982
+ action_type: 'SCAN_CREDENTIAL';
17967
17983
  } | {
17968
17984
  /** The ID of the action attempt. */
17969
17985
  action_attempt_id: string;
17970
17986
  status: 'success';
17971
17987
  error: null;
17972
- action_type: 'SCAN_CARD';
17988
+ action_type: 'SCAN_CREDENTIAL';
17973
17989
  result: {
17974
- /** Snapshot of the card data read from the physical encoder. */
17990
+ /** Snapshot of credential data read from physical encoder. */
17975
17991
  acs_credential_on_encoder: {
17976
17992
  /** Date and time the credential was created. */
17977
17993
  created_at: string | null;
@@ -18124,7 +18140,7 @@ export interface Routes {
18124
18140
  action_attempt_id: string;
18125
18141
  status: 'error';
18126
18142
  result: null;
18127
- action_type: 'SCAN_CARD';
18143
+ action_type: 'SCAN_CREDENTIAL';
18128
18144
  error: {
18129
18145
  type: 'uncategorized_error';
18130
18146
  message: string;
@@ -18141,13 +18157,13 @@ export interface Routes {
18141
18157
  status: 'pending';
18142
18158
  result: null;
18143
18159
  error: null;
18144
- action_type: 'ENCODE_CARD';
18160
+ action_type: 'ENCODE_CREDENTIAL';
18145
18161
  } | {
18146
18162
  /** The ID of the action attempt. */
18147
18163
  action_attempt_id: string;
18148
18164
  status: 'success';
18149
18165
  error: null;
18150
- action_type: 'ENCODE_CARD';
18166
+ action_type: 'ENCODE_CREDENTIAL';
18151
18167
  /** Means by which a user gains access at an entrance.
18152
18168
  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
18169
  result: {
@@ -18270,7 +18286,7 @@ export interface Routes {
18270
18286
  action_attempt_id: string;
18271
18287
  status: 'error';
18272
18288
  result: null;
18273
- action_type: 'ENCODE_CARD';
18289
+ action_type: 'ENCODE_CREDENTIAL';
18274
18290
  error: {
18275
18291
  type: 'uncategorized_error';
18276
18292
  message: string;
@@ -18701,15 +18717,15 @@ export interface Routes {
18701
18717
  status: 'pending';
18702
18718
  result: null;
18703
18719
  error: null;
18704
- action_type: 'SCAN_CARD';
18720
+ action_type: 'SCAN_CREDENTIAL';
18705
18721
  } | {
18706
18722
  /** The ID of the action attempt. */
18707
18723
  action_attempt_id: string;
18708
18724
  status: 'success';
18709
18725
  error: null;
18710
- action_type: 'SCAN_CARD';
18726
+ action_type: 'SCAN_CREDENTIAL';
18711
18727
  result: {
18712
- /** Snapshot of the card data read from the physical encoder. */
18728
+ /** Snapshot of credential data read from physical encoder. */
18713
18729
  acs_credential_on_encoder: {
18714
18730
  /** Date and time the credential was created. */
18715
18731
  created_at: string | null;
@@ -18862,7 +18878,7 @@ export interface Routes {
18862
18878
  action_attempt_id: string;
18863
18879
  status: 'error';
18864
18880
  result: null;
18865
- action_type: 'SCAN_CARD';
18881
+ action_type: 'SCAN_CREDENTIAL';
18866
18882
  error: {
18867
18883
  type: 'uncategorized_error';
18868
18884
  message: string;
@@ -18879,13 +18895,13 @@ export interface Routes {
18879
18895
  status: 'pending';
18880
18896
  result: null;
18881
18897
  error: null;
18882
- action_type: 'ENCODE_CARD';
18898
+ action_type: 'ENCODE_CREDENTIAL';
18883
18899
  } | {
18884
18900
  /** The ID of the action attempt. */
18885
18901
  action_attempt_id: string;
18886
18902
  status: 'success';
18887
18903
  error: null;
18888
- action_type: 'ENCODE_CARD';
18904
+ action_type: 'ENCODE_CREDENTIAL';
18889
18905
  /** Means by which a user gains access at an entrance.
18890
18906
  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
18907
  result: {
@@ -19008,7 +19024,7 @@ export interface Routes {
19008
19024
  action_attempt_id: string;
19009
19025
  status: 'error';
19010
19026
  result: null;
19011
- action_type: 'ENCODE_CARD';
19027
+ action_type: 'ENCODE_CREDENTIAL';
19012
19028
  error: {
19013
19029
  type: 'uncategorized_error';
19014
19030
  message: string;
@@ -19949,15 +19965,15 @@ export interface Routes {
19949
19965
  status: 'pending';
19950
19966
  result: null;
19951
19967
  error: null;
19952
- action_type: 'SCAN_CARD';
19968
+ action_type: 'SCAN_CREDENTIAL';
19953
19969
  } | {
19954
19970
  /** The ID of the action attempt. */
19955
19971
  action_attempt_id: string;
19956
19972
  status: 'success';
19957
19973
  error: null;
19958
- action_type: 'SCAN_CARD';
19974
+ action_type: 'SCAN_CREDENTIAL';
19959
19975
  result: {
19960
- /** Snapshot of the card data read from the physical encoder. */
19976
+ /** Snapshot of credential data read from physical encoder. */
19961
19977
  acs_credential_on_encoder: {
19962
19978
  /** Date and time the credential was created. */
19963
19979
  created_at: string | null;
@@ -20110,7 +20126,7 @@ export interface Routes {
20110
20126
  action_attempt_id: string;
20111
20127
  status: 'error';
20112
20128
  result: null;
20113
- action_type: 'SCAN_CARD';
20129
+ action_type: 'SCAN_CREDENTIAL';
20114
20130
  error: {
20115
20131
  type: 'uncategorized_error';
20116
20132
  message: string;
@@ -20127,13 +20143,13 @@ export interface Routes {
20127
20143
  status: 'pending';
20128
20144
  result: null;
20129
20145
  error: null;
20130
- action_type: 'ENCODE_CARD';
20146
+ action_type: 'ENCODE_CREDENTIAL';
20131
20147
  } | {
20132
20148
  /** The ID of the action attempt. */
20133
20149
  action_attempt_id: string;
20134
20150
  status: 'success';
20135
20151
  error: null;
20136
- action_type: 'ENCODE_CARD';
20152
+ action_type: 'ENCODE_CREDENTIAL';
20137
20153
  /** Means by which a user gains access at an entrance.
20138
20154
  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
20155
  result: {
@@ -20256,7 +20272,7 @@ export interface Routes {
20256
20272
  action_attempt_id: string;
20257
20273
  status: 'error';
20258
20274
  result: null;
20259
- action_type: 'ENCODE_CARD';
20275
+ action_type: 'ENCODE_CREDENTIAL';
20260
20276
  error: {
20261
20277
  type: 'uncategorized_error';
20262
20278
  message: string;
@@ -20691,15 +20707,15 @@ export interface Routes {
20691
20707
  status: 'pending';
20692
20708
  result: null;
20693
20709
  error: null;
20694
- action_type: 'SCAN_CARD';
20710
+ action_type: 'SCAN_CREDENTIAL';
20695
20711
  } | {
20696
20712
  /** The ID of the action attempt. */
20697
20713
  action_attempt_id: string;
20698
20714
  status: 'success';
20699
20715
  error: null;
20700
- action_type: 'SCAN_CARD';
20716
+ action_type: 'SCAN_CREDENTIAL';
20701
20717
  result: {
20702
- /** Snapshot of the card data read from the physical encoder. */
20718
+ /** Snapshot of credential data read from physical encoder. */
20703
20719
  acs_credential_on_encoder: {
20704
20720
  /** Date and time the credential was created. */
20705
20721
  created_at: string | null;
@@ -20852,7 +20868,7 @@ export interface Routes {
20852
20868
  action_attempt_id: string;
20853
20869
  status: 'error';
20854
20870
  result: null;
20855
- action_type: 'SCAN_CARD';
20871
+ action_type: 'SCAN_CREDENTIAL';
20856
20872
  error: {
20857
20873
  type: 'uncategorized_error';
20858
20874
  message: string;
@@ -20869,13 +20885,13 @@ export interface Routes {
20869
20885
  status: 'pending';
20870
20886
  result: null;
20871
20887
  error: null;
20872
- action_type: 'ENCODE_CARD';
20888
+ action_type: 'ENCODE_CREDENTIAL';
20873
20889
  } | {
20874
20890
  /** The ID of the action attempt. */
20875
20891
  action_attempt_id: string;
20876
20892
  status: 'success';
20877
20893
  error: null;
20878
- action_type: 'ENCODE_CARD';
20894
+ action_type: 'ENCODE_CREDENTIAL';
20879
20895
  /** Means by which a user gains access at an entrance.
20880
20896
  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
20897
  result: {
@@ -20998,7 +21014,7 @@ export interface Routes {
20998
21014
  action_attempt_id: string;
20999
21015
  status: 'error';
21000
21016
  result: null;
21001
- action_type: 'ENCODE_CARD';
21017
+ action_type: 'ENCODE_CREDENTIAL';
21002
21018
  error: {
21003
21019
  type: 'uncategorized_error';
21004
21020
  message: string;
@@ -22376,15 +22392,15 @@ export interface Routes {
22376
22392
  status: 'pending';
22377
22393
  result: null;
22378
22394
  error: null;
22379
- action_type: 'SCAN_CARD';
22395
+ action_type: 'SCAN_CREDENTIAL';
22380
22396
  } | {
22381
22397
  /** The ID of the action attempt. */
22382
22398
  action_attempt_id: string;
22383
22399
  status: 'success';
22384
22400
  error: null;
22385
- action_type: 'SCAN_CARD';
22401
+ action_type: 'SCAN_CREDENTIAL';
22386
22402
  result: {
22387
- /** Snapshot of the card data read from the physical encoder. */
22403
+ /** Snapshot of credential data read from physical encoder. */
22388
22404
  acs_credential_on_encoder: {
22389
22405
  /** Date and time the credential was created. */
22390
22406
  created_at: string | null;
@@ -22537,7 +22553,7 @@ export interface Routes {
22537
22553
  action_attempt_id: string;
22538
22554
  status: 'error';
22539
22555
  result: null;
22540
- action_type: 'SCAN_CARD';
22556
+ action_type: 'SCAN_CREDENTIAL';
22541
22557
  error: {
22542
22558
  type: 'uncategorized_error';
22543
22559
  message: string;
@@ -22554,13 +22570,13 @@ export interface Routes {
22554
22570
  status: 'pending';
22555
22571
  result: null;
22556
22572
  error: null;
22557
- action_type: 'ENCODE_CARD';
22573
+ action_type: 'ENCODE_CREDENTIAL';
22558
22574
  } | {
22559
22575
  /** The ID of the action attempt. */
22560
22576
  action_attempt_id: string;
22561
22577
  status: 'success';
22562
22578
  error: null;
22563
- action_type: 'ENCODE_CARD';
22579
+ action_type: 'ENCODE_CREDENTIAL';
22564
22580
  /** Means by which a user gains access at an entrance.
22565
22581
  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
22582
  result: {
@@ -22683,7 +22699,7 @@ export interface Routes {
22683
22699
  action_attempt_id: string;
22684
22700
  status: 'error';
22685
22701
  result: null;
22686
- action_type: 'ENCODE_CARD';
22702
+ action_type: 'ENCODE_CREDENTIAL';
22687
22703
  error: {
22688
22704
  type: 'uncategorized_error';
22689
22705
  message: string;
@@ -23232,15 +23248,15 @@ export interface Routes {
23232
23248
  status: 'pending';
23233
23249
  result: null;
23234
23250
  error: null;
23235
- action_type: 'SCAN_CARD';
23251
+ action_type: 'SCAN_CREDENTIAL';
23236
23252
  } | {
23237
23253
  /** The ID of the action attempt. */
23238
23254
  action_attempt_id: string;
23239
23255
  status: 'success';
23240
23256
  error: null;
23241
- action_type: 'SCAN_CARD';
23257
+ action_type: 'SCAN_CREDENTIAL';
23242
23258
  result: {
23243
- /** Snapshot of the card data read from the physical encoder. */
23259
+ /** Snapshot of credential data read from physical encoder. */
23244
23260
  acs_credential_on_encoder: {
23245
23261
  /** Date and time the credential was created. */
23246
23262
  created_at: string | null;
@@ -23393,7 +23409,7 @@ export interface Routes {
23393
23409
  action_attempt_id: string;
23394
23410
  status: 'error';
23395
23411
  result: null;
23396
- action_type: 'SCAN_CARD';
23412
+ action_type: 'SCAN_CREDENTIAL';
23397
23413
  error: {
23398
23414
  type: 'uncategorized_error';
23399
23415
  message: string;
@@ -23410,13 +23426,13 @@ export interface Routes {
23410
23426
  status: 'pending';
23411
23427
  result: null;
23412
23428
  error: null;
23413
- action_type: 'ENCODE_CARD';
23429
+ action_type: 'ENCODE_CREDENTIAL';
23414
23430
  } | {
23415
23431
  /** The ID of the action attempt. */
23416
23432
  action_attempt_id: string;
23417
23433
  status: 'success';
23418
23434
  error: null;
23419
- action_type: 'ENCODE_CARD';
23435
+ action_type: 'ENCODE_CREDENTIAL';
23420
23436
  /** Means by which a user gains access at an entrance.
23421
23437
  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
23438
  result: {
@@ -23539,7 +23555,7 @@ export interface Routes {
23539
23555
  action_attempt_id: string;
23540
23556
  status: 'error';
23541
23557
  result: null;
23542
- action_type: 'ENCODE_CARD';
23558
+ action_type: 'ENCODE_CREDENTIAL';
23543
23559
  error: {
23544
23560
  type: 'uncategorized_error';
23545
23561
  message: string;
@@ -25089,6 +25105,10 @@ export interface Routes {
25089
25105
  /**
25090
25106
  * @deprecated Use `external_type_display_name`. */
25091
25107
  system_type_display_name?: string | undefined;
25108
+ location: {
25109
+ /** Time zone in which the `acs_system` is located. */
25110
+ time_zone: string | null;
25111
+ };
25092
25112
  /** Name of the `acs_system`. */
25093
25113
  name: string;
25094
25114
  /** Date and time at which the `acs_system` was created. */
@@ -25504,15 +25524,15 @@ export interface Routes {
25504
25524
  status: 'pending';
25505
25525
  result: null;
25506
25526
  error: null;
25507
- action_type: 'SCAN_CARD';
25527
+ action_type: 'SCAN_CREDENTIAL';
25508
25528
  } | {
25509
25529
  /** The ID of the action attempt. */
25510
25530
  action_attempt_id: string;
25511
25531
  status: 'success';
25512
25532
  error: null;
25513
- action_type: 'SCAN_CARD';
25533
+ action_type: 'SCAN_CREDENTIAL';
25514
25534
  result: {
25515
- /** Snapshot of the card data read from the physical encoder. */
25535
+ /** Snapshot of credential data read from physical encoder. */
25516
25536
  acs_credential_on_encoder: {
25517
25537
  /** Date and time the credential was created. */
25518
25538
  created_at: string | null;
@@ -25665,7 +25685,7 @@ export interface Routes {
25665
25685
  action_attempt_id: string;
25666
25686
  status: 'error';
25667
25687
  result: null;
25668
- action_type: 'SCAN_CARD';
25688
+ action_type: 'SCAN_CREDENTIAL';
25669
25689
  error: {
25670
25690
  type: 'uncategorized_error';
25671
25691
  message: string;
@@ -25682,13 +25702,13 @@ export interface Routes {
25682
25702
  status: 'pending';
25683
25703
  result: null;
25684
25704
  error: null;
25685
- action_type: 'ENCODE_CARD';
25705
+ action_type: 'ENCODE_CREDENTIAL';
25686
25706
  } | {
25687
25707
  /** The ID of the action attempt. */
25688
25708
  action_attempt_id: string;
25689
25709
  status: 'success';
25690
25710
  error: null;
25691
- action_type: 'ENCODE_CARD';
25711
+ action_type: 'ENCODE_CREDENTIAL';
25692
25712
  /** Means by which a user gains access at an entrance.
25693
25713
  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
25714
  result: {
@@ -25811,7 +25831,7 @@ export interface Routes {
25811
25831
  action_attempt_id: string;
25812
25832
  status: 'error';
25813
25833
  result: null;
25814
- action_type: 'ENCODE_CARD';
25834
+ action_type: 'ENCODE_CREDENTIAL';
25815
25835
  error: {
25816
25836
  type: 'uncategorized_error';
25817
25837
  message: string;