@seamapi/types 1.288.2 → 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 +119 -53
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +219 -165
  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 +36 -2
  14. package/lib/seam/connect/openapi.js +99 -33
  15. package/lib/seam/connect/openapi.js.map +1 -1
  16. package/lib/seam/connect/route-types.d.ts +165 -145
  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 +119 -33
  22. package/src/lib/seam/connect/route-types.ts +165 -145
  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;
@@ -18636,8 +18640,11 @@ export interface Routes {
18636
18640
  method: 'POST';
18637
18641
  queryParams: {};
18638
18642
  jsonBody: {
18643
+ /** ID of the thermostat device. */
18639
18644
  device_id: string;
18645
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
18640
18646
  cooling_set_point_celsius?: number | undefined;
18647
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °F). You must set one of the `cooling_set_point` parameters. */
18641
18648
  cooling_set_point_fahrenheit?: number | undefined;
18642
18649
  sync?: boolean;
18643
18650
  };
@@ -18698,15 +18705,15 @@ export interface Routes {
18698
18705
  status: 'pending';
18699
18706
  result: null;
18700
18707
  error: null;
18701
- action_type: 'SCAN_CARD';
18708
+ action_type: 'SCAN_CREDENTIAL';
18702
18709
  } | {
18703
18710
  /** The ID of the action attempt. */
18704
18711
  action_attempt_id: string;
18705
18712
  status: 'success';
18706
18713
  error: null;
18707
- action_type: 'SCAN_CARD';
18714
+ action_type: 'SCAN_CREDENTIAL';
18708
18715
  result: {
18709
- /** Snapshot of the card data read from the physical encoder. */
18716
+ /** Snapshot of credential data read from physical encoder. */
18710
18717
  acs_credential_on_encoder: {
18711
18718
  /** Date and time the credential was created. */
18712
18719
  created_at: string | null;
@@ -18859,7 +18866,7 @@ export interface Routes {
18859
18866
  action_attempt_id: string;
18860
18867
  status: 'error';
18861
18868
  result: null;
18862
- action_type: 'SCAN_CARD';
18869
+ action_type: 'SCAN_CREDENTIAL';
18863
18870
  error: {
18864
18871
  type: 'uncategorized_error';
18865
18872
  message: string;
@@ -18876,13 +18883,13 @@ export interface Routes {
18876
18883
  status: 'pending';
18877
18884
  result: null;
18878
18885
  error: null;
18879
- action_type: 'ENCODE_CARD';
18886
+ action_type: 'ENCODE_CREDENTIAL';
18880
18887
  } | {
18881
18888
  /** The ID of the action attempt. */
18882
18889
  action_attempt_id: string;
18883
18890
  status: 'success';
18884
18891
  error: null;
18885
- action_type: 'ENCODE_CARD';
18892
+ action_type: 'ENCODE_CREDENTIAL';
18886
18893
  /** Means by which a user gains access at an entrance.
18887
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. */
18888
18895
  result: {
@@ -19005,7 +19012,7 @@ export interface Routes {
19005
19012
  action_attempt_id: string;
19006
19013
  status: 'error';
19007
19014
  result: null;
19008
- action_type: 'ENCODE_CARD';
19015
+ action_type: 'ENCODE_CREDENTIAL';
19009
19016
  error: {
19010
19017
  type: 'uncategorized_error';
19011
19018
  message: string;
@@ -19404,7 +19411,9 @@ export interface Routes {
19404
19411
  queryParams: {};
19405
19412
  jsonBody: {};
19406
19413
  commonParams: {
19414
+ /** ID of the thermostat device. */
19407
19415
  device_id?: string | undefined;
19416
+ /** Name of the thermostat. */
19408
19417
  name?: string | undefined;
19409
19418
  };
19410
19419
  formData: {};
@@ -19879,8 +19888,11 @@ export interface Routes {
19879
19888
  method: 'POST';
19880
19889
  queryParams: {};
19881
19890
  jsonBody: {
19891
+ /** ID of the thermostat device. */
19882
19892
  device_id: string;
19893
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
19883
19894
  heating_set_point_celsius?: number | undefined;
19895
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °F). You must set one of the `heating_set_point` parameters. */
19884
19896
  heating_set_point_fahrenheit?: number | undefined;
19885
19897
  sync?: boolean;
19886
19898
  };
@@ -19941,15 +19953,15 @@ export interface Routes {
19941
19953
  status: 'pending';
19942
19954
  result: null;
19943
19955
  error: null;
19944
- action_type: 'SCAN_CARD';
19956
+ action_type: 'SCAN_CREDENTIAL';
19945
19957
  } | {
19946
19958
  /** The ID of the action attempt. */
19947
19959
  action_attempt_id: string;
19948
19960
  status: 'success';
19949
19961
  error: null;
19950
- action_type: 'SCAN_CARD';
19962
+ action_type: 'SCAN_CREDENTIAL';
19951
19963
  result: {
19952
- /** Snapshot of the card data read from the physical encoder. */
19964
+ /** Snapshot of credential data read from physical encoder. */
19953
19965
  acs_credential_on_encoder: {
19954
19966
  /** Date and time the credential was created. */
19955
19967
  created_at: string | null;
@@ -20102,7 +20114,7 @@ export interface Routes {
20102
20114
  action_attempt_id: string;
20103
20115
  status: 'error';
20104
20116
  result: null;
20105
- action_type: 'SCAN_CARD';
20117
+ action_type: 'SCAN_CREDENTIAL';
20106
20118
  error: {
20107
20119
  type: 'uncategorized_error';
20108
20120
  message: string;
@@ -20119,13 +20131,13 @@ export interface Routes {
20119
20131
  status: 'pending';
20120
20132
  result: null;
20121
20133
  error: null;
20122
- action_type: 'ENCODE_CARD';
20134
+ action_type: 'ENCODE_CREDENTIAL';
20123
20135
  } | {
20124
20136
  /** The ID of the action attempt. */
20125
20137
  action_attempt_id: string;
20126
20138
  status: 'success';
20127
20139
  error: null;
20128
- action_type: 'ENCODE_CARD';
20140
+ action_type: 'ENCODE_CREDENTIAL';
20129
20141
  /** Means by which a user gains access at an entrance.
20130
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. */
20131
20143
  result: {
@@ -20248,7 +20260,7 @@ export interface Routes {
20248
20260
  action_attempt_id: string;
20249
20261
  status: 'error';
20250
20262
  result: null;
20251
- action_type: 'ENCODE_CARD';
20263
+ action_type: 'ENCODE_CREDENTIAL';
20252
20264
  error: {
20253
20265
  type: 'uncategorized_error';
20254
20266
  message: string;
@@ -20614,10 +20626,15 @@ export interface Routes {
20614
20626
  method: 'POST';
20615
20627
  queryParams: {};
20616
20628
  jsonBody: {
20629
+ /** ID of the thermostat device. */
20617
20630
  device_id: string;
20631
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
20618
20632
  heating_set_point_celsius?: number | undefined;
20633
+ /** Temperature the thermostat should heat to (in °F). You must set one of the heating_set_point parameters. */
20619
20634
  heating_set_point_fahrenheit?: number | undefined;
20635
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
20620
20636
  cooling_set_point_celsius?: number | undefined;
20637
+ /** Temperature the thermostat should cool to (in °F). You must set one of the cooling_set_point parameters. */
20621
20638
  cooling_set_point_fahrenheit?: number | undefined;
20622
20639
  sync?: boolean;
20623
20640
  };
@@ -20678,15 +20695,15 @@ export interface Routes {
20678
20695
  status: 'pending';
20679
20696
  result: null;
20680
20697
  error: null;
20681
- action_type: 'SCAN_CARD';
20698
+ action_type: 'SCAN_CREDENTIAL';
20682
20699
  } | {
20683
20700
  /** The ID of the action attempt. */
20684
20701
  action_attempt_id: string;
20685
20702
  status: 'success';
20686
20703
  error: null;
20687
- action_type: 'SCAN_CARD';
20704
+ action_type: 'SCAN_CREDENTIAL';
20688
20705
  result: {
20689
- /** Snapshot of the card data read from the physical encoder. */
20706
+ /** Snapshot of credential data read from physical encoder. */
20690
20707
  acs_credential_on_encoder: {
20691
20708
  /** Date and time the credential was created. */
20692
20709
  created_at: string | null;
@@ -20839,7 +20856,7 @@ export interface Routes {
20839
20856
  action_attempt_id: string;
20840
20857
  status: 'error';
20841
20858
  result: null;
20842
- action_type: 'SCAN_CARD';
20859
+ action_type: 'SCAN_CREDENTIAL';
20843
20860
  error: {
20844
20861
  type: 'uncategorized_error';
20845
20862
  message: string;
@@ -20856,13 +20873,13 @@ export interface Routes {
20856
20873
  status: 'pending';
20857
20874
  result: null;
20858
20875
  error: null;
20859
- action_type: 'ENCODE_CARD';
20876
+ action_type: 'ENCODE_CREDENTIAL';
20860
20877
  } | {
20861
20878
  /** The ID of the action attempt. */
20862
20879
  action_attempt_id: string;
20863
20880
  status: 'success';
20864
20881
  error: null;
20865
- action_type: 'ENCODE_CARD';
20882
+ action_type: 'ENCODE_CREDENTIAL';
20866
20883
  /** Means by which a user gains access at an entrance.
20867
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. */
20868
20885
  result: {
@@ -20985,7 +21002,7 @@ export interface Routes {
20985
21002
  action_attempt_id: string;
20986
21003
  status: 'error';
20987
21004
  result: null;
20988
- action_type: 'ENCODE_CARD';
21005
+ action_type: 'ENCODE_CREDENTIAL';
20989
21006
  error: {
20990
21007
  type: 'uncategorized_error';
20991
21008
  message: string;
@@ -22302,6 +22319,7 @@ export interface Routes {
22302
22319
  method: 'POST';
22303
22320
  queryParams: {};
22304
22321
  jsonBody: {
22322
+ /** ID of the thermostat device. */
22305
22323
  device_id: string;
22306
22324
  sync?: boolean;
22307
22325
  };
@@ -22362,15 +22380,15 @@ export interface Routes {
22362
22380
  status: 'pending';
22363
22381
  result: null;
22364
22382
  error: null;
22365
- action_type: 'SCAN_CARD';
22383
+ action_type: 'SCAN_CREDENTIAL';
22366
22384
  } | {
22367
22385
  /** The ID of the action attempt. */
22368
22386
  action_attempt_id: string;
22369
22387
  status: 'success';
22370
22388
  error: null;
22371
- action_type: 'SCAN_CARD';
22389
+ action_type: 'SCAN_CREDENTIAL';
22372
22390
  result: {
22373
- /** Snapshot of the card data read from the physical encoder. */
22391
+ /** Snapshot of credential data read from physical encoder. */
22374
22392
  acs_credential_on_encoder: {
22375
22393
  /** Date and time the credential was created. */
22376
22394
  created_at: string | null;
@@ -22523,7 +22541,7 @@ export interface Routes {
22523
22541
  action_attempt_id: string;
22524
22542
  status: 'error';
22525
22543
  result: null;
22526
- action_type: 'SCAN_CARD';
22544
+ action_type: 'SCAN_CREDENTIAL';
22527
22545
  error: {
22528
22546
  type: 'uncategorized_error';
22529
22547
  message: string;
@@ -22540,13 +22558,13 @@ export interface Routes {
22540
22558
  status: 'pending';
22541
22559
  result: null;
22542
22560
  error: null;
22543
- action_type: 'ENCODE_CARD';
22561
+ action_type: 'ENCODE_CREDENTIAL';
22544
22562
  } | {
22545
22563
  /** The ID of the action attempt. */
22546
22564
  action_attempt_id: string;
22547
22565
  status: 'success';
22548
22566
  error: null;
22549
- action_type: 'ENCODE_CARD';
22567
+ action_type: 'ENCODE_CREDENTIAL';
22550
22568
  /** Means by which a user gains access at an entrance.
22551
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. */
22552
22570
  result: {
@@ -22669,7 +22687,7 @@ export interface Routes {
22669
22687
  action_attempt_id: string;
22670
22688
  status: 'error';
22671
22689
  result: null;
22672
- action_type: 'ENCODE_CARD';
22690
+ action_type: 'ENCODE_CREDENTIAL';
22673
22691
  error: {
22674
22692
  type: 'uncategorized_error';
22675
22693
  message: string;
@@ -23152,10 +23170,12 @@ export interface Routes {
23152
23170
  method: 'POST';
23153
23171
  queryParams: {};
23154
23172
  jsonBody: {
23173
+ /** ID of the thermostat device. */
23155
23174
  device_id: string;
23156
23175
  /**
23157
- * @deprecated use fan_mode_setting instead. */
23176
+ * @deprecated Use `fan_mode_setting` instead. */
23158
23177
  fan_mode?: ('auto' | 'on' | 'circulate') | undefined;
23178
+ /** Fan mode setting of the thermostat. See also [Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings). */
23159
23179
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
23160
23180
  sync?: boolean;
23161
23181
  };
@@ -23216,15 +23236,15 @@ export interface Routes {
23216
23236
  status: 'pending';
23217
23237
  result: null;
23218
23238
  error: null;
23219
- action_type: 'SCAN_CARD';
23239
+ action_type: 'SCAN_CREDENTIAL';
23220
23240
  } | {
23221
23241
  /** The ID of the action attempt. */
23222
23242
  action_attempt_id: string;
23223
23243
  status: 'success';
23224
23244
  error: null;
23225
- action_type: 'SCAN_CARD';
23245
+ action_type: 'SCAN_CREDENTIAL';
23226
23246
  result: {
23227
- /** Snapshot of the card data read from the physical encoder. */
23247
+ /** Snapshot of credential data read from physical encoder. */
23228
23248
  acs_credential_on_encoder: {
23229
23249
  /** Date and time the credential was created. */
23230
23250
  created_at: string | null;
@@ -23377,7 +23397,7 @@ export interface Routes {
23377
23397
  action_attempt_id: string;
23378
23398
  status: 'error';
23379
23399
  result: null;
23380
- action_type: 'SCAN_CARD';
23400
+ action_type: 'SCAN_CREDENTIAL';
23381
23401
  error: {
23382
23402
  type: 'uncategorized_error';
23383
23403
  message: string;
@@ -23394,13 +23414,13 @@ export interface Routes {
23394
23414
  status: 'pending';
23395
23415
  result: null;
23396
23416
  error: null;
23397
- action_type: 'ENCODE_CARD';
23417
+ action_type: 'ENCODE_CREDENTIAL';
23398
23418
  } | {
23399
23419
  /** The ID of the action attempt. */
23400
23420
  action_attempt_id: string;
23401
23421
  status: 'success';
23402
23422
  error: null;
23403
- action_type: 'ENCODE_CARD';
23423
+ action_type: 'ENCODE_CREDENTIAL';
23404
23424
  /** Means by which a user gains access at an entrance.
23405
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. */
23406
23426
  result: {
@@ -23523,7 +23543,7 @@ export interface Routes {
23523
23543
  action_attempt_id: string;
23524
23544
  status: 'error';
23525
23545
  result: null;
23526
- action_type: 'ENCODE_CARD';
23546
+ action_type: 'ENCODE_CREDENTIAL';
23527
23547
  error: {
23528
23548
  type: 'uncategorized_error';
23529
23549
  message: string;
@@ -25488,15 +25508,15 @@ export interface Routes {
25488
25508
  status: 'pending';
25489
25509
  result: null;
25490
25510
  error: null;
25491
- action_type: 'SCAN_CARD';
25511
+ action_type: 'SCAN_CREDENTIAL';
25492
25512
  } | {
25493
25513
  /** The ID of the action attempt. */
25494
25514
  action_attempt_id: string;
25495
25515
  status: 'success';
25496
25516
  error: null;
25497
- action_type: 'SCAN_CARD';
25517
+ action_type: 'SCAN_CREDENTIAL';
25498
25518
  result: {
25499
- /** Snapshot of the card data read from the physical encoder. */
25519
+ /** Snapshot of credential data read from physical encoder. */
25500
25520
  acs_credential_on_encoder: {
25501
25521
  /** Date and time the credential was created. */
25502
25522
  created_at: string | null;
@@ -25649,7 +25669,7 @@ export interface Routes {
25649
25669
  action_attempt_id: string;
25650
25670
  status: 'error';
25651
25671
  result: null;
25652
- action_type: 'SCAN_CARD';
25672
+ action_type: 'SCAN_CREDENTIAL';
25653
25673
  error: {
25654
25674
  type: 'uncategorized_error';
25655
25675
  message: string;
@@ -25666,13 +25686,13 @@ export interface Routes {
25666
25686
  status: 'pending';
25667
25687
  result: null;
25668
25688
  error: null;
25669
- action_type: 'ENCODE_CARD';
25689
+ action_type: 'ENCODE_CREDENTIAL';
25670
25690
  } | {
25671
25691
  /** The ID of the action attempt. */
25672
25692
  action_attempt_id: string;
25673
25693
  status: 'success';
25674
25694
  error: null;
25675
- action_type: 'ENCODE_CARD';
25695
+ action_type: 'ENCODE_CREDENTIAL';
25676
25696
  /** Means by which a user gains access at an entrance.
25677
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. */
25678
25698
  result: {
@@ -25795,7 +25815,7 @@ export interface Routes {
25795
25815
  action_attempt_id: string;
25796
25816
  status: 'error';
25797
25817
  result: null;
25798
- action_type: 'ENCODE_CARD';
25818
+ action_type: 'ENCODE_CREDENTIAL';
25799
25819
  error: {
25800
25820
  type: 'uncategorized_error';
25801
25821
  message: string;