@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
@@ -86,16 +86,16 @@ export interface Routes {
86
86
  status: 'pending'
87
87
  result: null
88
88
  error: null
89
- action_type: 'SCAN_CARD'
89
+ action_type: 'SCAN_CREDENTIAL'
90
90
  }
91
91
  | {
92
92
  /** The ID of the action attempt. */
93
93
  action_attempt_id: string
94
94
  status: 'success'
95
95
  error: null
96
- action_type: 'SCAN_CARD'
96
+ action_type: 'SCAN_CREDENTIAL'
97
97
  result: {
98
- /** Snapshot of the card data read from the physical encoder. */
98
+ /** Snapshot of credential data read from physical encoder. */
99
99
  acs_credential_on_encoder: {
100
100
  /** Date and time the credential was created. */
101
101
  created_at: string | null
@@ -284,7 +284,7 @@ export interface Routes {
284
284
  action_attempt_id: string
285
285
  status: 'error'
286
286
  result: null
287
- action_type: 'SCAN_CARD'
287
+ action_type: 'SCAN_CREDENTIAL'
288
288
  error:
289
289
  | {
290
290
  type: 'uncategorized_error'
@@ -305,14 +305,14 @@ export interface Routes {
305
305
  status: 'pending'
306
306
  result: null
307
307
  error: null
308
- action_type: 'ENCODE_CARD'
308
+ action_type: 'ENCODE_CREDENTIAL'
309
309
  }
310
310
  | {
311
311
  /** The ID of the action attempt. */
312
312
  action_attempt_id: string
313
313
  status: 'success'
314
314
  error: null
315
- action_type: 'ENCODE_CARD'
315
+ action_type: 'ENCODE_CREDENTIAL'
316
316
  /** Means by which a user gains access at an entrance.
317
317
  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. */
318
318
  result:
@@ -466,7 +466,7 @@ export interface Routes {
466
466
  action_attempt_id: string
467
467
  status: 'error'
468
468
  result: null
469
- action_type: 'ENCODE_CARD'
469
+ action_type: 'ENCODE_CREDENTIAL'
470
470
  error:
471
471
  | {
472
472
  type: 'uncategorized_error'
@@ -1103,16 +1103,16 @@ export interface Routes {
1103
1103
  status: 'pending'
1104
1104
  result: null
1105
1105
  error: null
1106
- action_type: 'SCAN_CARD'
1106
+ action_type: 'SCAN_CREDENTIAL'
1107
1107
  }
1108
1108
  | {
1109
1109
  /** The ID of the action attempt. */
1110
1110
  action_attempt_id: string
1111
1111
  status: 'success'
1112
1112
  error: null
1113
- action_type: 'SCAN_CARD'
1113
+ action_type: 'SCAN_CREDENTIAL'
1114
1114
  result: {
1115
- /** Snapshot of the card data read from the physical encoder. */
1115
+ /** Snapshot of credential data read from physical encoder. */
1116
1116
  acs_credential_on_encoder: {
1117
1117
  /** Date and time the credential was created. */
1118
1118
  created_at: string | null
@@ -1301,7 +1301,7 @@ export interface Routes {
1301
1301
  action_attempt_id: string
1302
1302
  status: 'error'
1303
1303
  result: null
1304
- action_type: 'SCAN_CARD'
1304
+ action_type: 'SCAN_CREDENTIAL'
1305
1305
  error:
1306
1306
  | {
1307
1307
  type: 'uncategorized_error'
@@ -1322,14 +1322,14 @@ export interface Routes {
1322
1322
  status: 'pending'
1323
1323
  result: null
1324
1324
  error: null
1325
- action_type: 'ENCODE_CARD'
1325
+ action_type: 'ENCODE_CREDENTIAL'
1326
1326
  }
1327
1327
  | {
1328
1328
  /** The ID of the action attempt. */
1329
1329
  action_attempt_id: string
1330
1330
  status: 'success'
1331
1331
  error: null
1332
- action_type: 'ENCODE_CARD'
1332
+ action_type: 'ENCODE_CREDENTIAL'
1333
1333
  /** Means by which a user gains access at an entrance.
1334
1334
  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. */
1335
1335
  result:
@@ -1483,7 +1483,7 @@ export interface Routes {
1483
1483
  action_attempt_id: string
1484
1484
  status: 'error'
1485
1485
  result: null
1486
- action_type: 'ENCODE_CARD'
1486
+ action_type: 'ENCODE_CREDENTIAL'
1487
1487
  error:
1488
1488
  | {
1489
1489
  type: 'uncategorized_error'
@@ -2285,16 +2285,16 @@ export interface Routes {
2285
2285
  status: 'pending'
2286
2286
  result: null
2287
2287
  error: null
2288
- action_type: 'SCAN_CARD'
2288
+ action_type: 'SCAN_CREDENTIAL'
2289
2289
  }
2290
2290
  | {
2291
2291
  /** The ID of the action attempt. */
2292
2292
  action_attempt_id: string
2293
2293
  status: 'success'
2294
2294
  error: null
2295
- action_type: 'SCAN_CARD'
2295
+ action_type: 'SCAN_CREDENTIAL'
2296
2296
  result: {
2297
- /** Snapshot of the card data read from the physical encoder. */
2297
+ /** Snapshot of credential data read from physical encoder. */
2298
2298
  acs_credential_on_encoder: {
2299
2299
  /** Date and time the credential was created. */
2300
2300
  created_at: string | null
@@ -2483,7 +2483,7 @@ export interface Routes {
2483
2483
  action_attempt_id: string
2484
2484
  status: 'error'
2485
2485
  result: null
2486
- action_type: 'SCAN_CARD'
2486
+ action_type: 'SCAN_CREDENTIAL'
2487
2487
  error:
2488
2488
  | {
2489
2489
  type: 'uncategorized_error'
@@ -2504,14 +2504,14 @@ export interface Routes {
2504
2504
  status: 'pending'
2505
2505
  result: null
2506
2506
  error: null
2507
- action_type: 'ENCODE_CARD'
2507
+ action_type: 'ENCODE_CREDENTIAL'
2508
2508
  }
2509
2509
  | {
2510
2510
  /** The ID of the action attempt. */
2511
2511
  action_attempt_id: string
2512
2512
  status: 'success'
2513
2513
  error: null
2514
- action_type: 'ENCODE_CARD'
2514
+ action_type: 'ENCODE_CREDENTIAL'
2515
2515
  /** Means by which a user gains access at an entrance.
2516
2516
  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. */
2517
2517
  result:
@@ -2665,7 +2665,7 @@ export interface Routes {
2665
2665
  action_attempt_id: string
2666
2666
  status: 'error'
2667
2667
  result: null
2668
- action_type: 'ENCODE_CARD'
2668
+ action_type: 'ENCODE_CREDENTIAL'
2669
2669
  error:
2670
2670
  | {
2671
2671
  type: 'uncategorized_error'
@@ -3289,16 +3289,16 @@ export interface Routes {
3289
3289
  status: 'pending'
3290
3290
  result: null
3291
3291
  error: null
3292
- action_type: 'SCAN_CARD'
3292
+ action_type: 'SCAN_CREDENTIAL'
3293
3293
  }
3294
3294
  | {
3295
3295
  /** The ID of the action attempt. */
3296
3296
  action_attempt_id: string
3297
3297
  status: 'success'
3298
3298
  error: null
3299
- action_type: 'SCAN_CARD'
3299
+ action_type: 'SCAN_CREDENTIAL'
3300
3300
  result: {
3301
- /** Snapshot of the card data read from the physical encoder. */
3301
+ /** Snapshot of credential data read from physical encoder. */
3302
3302
  acs_credential_on_encoder: {
3303
3303
  /** Date and time the credential was created. */
3304
3304
  created_at: string | null
@@ -3487,7 +3487,7 @@ export interface Routes {
3487
3487
  action_attempt_id: string
3488
3488
  status: 'error'
3489
3489
  result: null
3490
- action_type: 'SCAN_CARD'
3490
+ action_type: 'SCAN_CREDENTIAL'
3491
3491
  error:
3492
3492
  | {
3493
3493
  type: 'uncategorized_error'
@@ -3508,14 +3508,14 @@ export interface Routes {
3508
3508
  status: 'pending'
3509
3509
  result: null
3510
3510
  error: null
3511
- action_type: 'ENCODE_CARD'
3511
+ action_type: 'ENCODE_CREDENTIAL'
3512
3512
  }
3513
3513
  | {
3514
3514
  /** The ID of the action attempt. */
3515
3515
  action_attempt_id: string
3516
3516
  status: 'success'
3517
3517
  error: null
3518
- action_type: 'ENCODE_CARD'
3518
+ action_type: 'ENCODE_CREDENTIAL'
3519
3519
  /** Means by which a user gains access at an entrance.
3520
3520
  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. */
3521
3521
  result:
@@ -3669,7 +3669,7 @@ export interface Routes {
3669
3669
  action_attempt_id: string
3670
3670
  status: 'error'
3671
3671
  result: null
3672
- action_type: 'ENCODE_CARD'
3672
+ action_type: 'ENCODE_CREDENTIAL'
3673
3673
  error:
3674
3674
  | {
3675
3675
  type: 'uncategorized_error'
@@ -5392,13 +5392,15 @@ export interface Routes {
5392
5392
  }
5393
5393
  }
5394
5394
  }
5395
- '/acs/encoders/encode_card': {
5396
- route: '/acs/encoders/encode_card'
5395
+ '/acs/encoders/encode_credential': {
5396
+ route: '/acs/encoders/encode_credential'
5397
5397
  method: 'POST'
5398
5398
  queryParams: {}
5399
5399
  jsonBody: {}
5400
5400
  commonParams: {
5401
+ /** ID of the encoder to use for the encoding. */
5401
5402
  device_id: string
5403
+ /** ID of the acs_credential to encode on a physical card. */
5402
5404
  acs_credential_id: string
5403
5405
  }
5404
5406
  formData: {}
@@ -5464,16 +5466,16 @@ export interface Routes {
5464
5466
  status: 'pending'
5465
5467
  result: null
5466
5468
  error: null
5467
- action_type: 'SCAN_CARD'
5469
+ action_type: 'SCAN_CREDENTIAL'
5468
5470
  }
5469
5471
  | {
5470
5472
  /** The ID of the action attempt. */
5471
5473
  action_attempt_id: string
5472
5474
  status: 'success'
5473
5475
  error: null
5474
- action_type: 'SCAN_CARD'
5476
+ action_type: 'SCAN_CREDENTIAL'
5475
5477
  result: {
5476
- /** Snapshot of the card data read from the physical encoder. */
5478
+ /** Snapshot of credential data read from physical encoder. */
5477
5479
  acs_credential_on_encoder: {
5478
5480
  /** Date and time the credential was created. */
5479
5481
  created_at: string | null
@@ -5662,7 +5664,7 @@ export interface Routes {
5662
5664
  action_attempt_id: string
5663
5665
  status: 'error'
5664
5666
  result: null
5665
- action_type: 'SCAN_CARD'
5667
+ action_type: 'SCAN_CREDENTIAL'
5666
5668
  error:
5667
5669
  | {
5668
5670
  type: 'uncategorized_error'
@@ -5683,14 +5685,14 @@ export interface Routes {
5683
5685
  status: 'pending'
5684
5686
  result: null
5685
5687
  error: null
5686
- action_type: 'ENCODE_CARD'
5688
+ action_type: 'ENCODE_CREDENTIAL'
5687
5689
  }
5688
5690
  | {
5689
5691
  /** The ID of the action attempt. */
5690
5692
  action_attempt_id: string
5691
5693
  status: 'success'
5692
5694
  error: null
5693
- action_type: 'ENCODE_CARD'
5695
+ action_type: 'ENCODE_CREDENTIAL'
5694
5696
  /** Means by which a user gains access at an entrance.
5695
5697
  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. */
5696
5698
  result:
@@ -5844,7 +5846,7 @@ export interface Routes {
5844
5846
  action_attempt_id: string
5845
5847
  status: 'error'
5846
5848
  result: null
5847
- action_type: 'ENCODE_CARD'
5849
+ action_type: 'ENCODE_CREDENTIAL'
5848
5850
  error:
5849
5851
  | {
5850
5852
  type: 'uncategorized_error'
@@ -6920,13 +6922,15 @@ export interface Routes {
6920
6922
  }>
6921
6923
  }
6922
6924
  }
6923
- '/acs/encoders/scan_card': {
6924
- route: '/acs/encoders/scan_card'
6925
+ '/acs/encoders/scan_credential': {
6926
+ route: '/acs/encoders/scan_credential'
6925
6927
  method: 'POST'
6926
6928
  queryParams: {}
6927
6929
  jsonBody: {}
6928
6930
  commonParams: {
6931
+ /** ID of the acs_system the encoder belongs to. */
6929
6932
  acs_system_id: string
6933
+ /** ID of the encoder to use for the scan. */
6930
6934
  device_id: string
6931
6935
  }
6932
6936
  formData: {}
@@ -6992,16 +6996,16 @@ export interface Routes {
6992
6996
  status: 'pending'
6993
6997
  result: null
6994
6998
  error: null
6995
- action_type: 'SCAN_CARD'
6999
+ action_type: 'SCAN_CREDENTIAL'
6996
7000
  }
6997
7001
  | {
6998
7002
  /** The ID of the action attempt. */
6999
7003
  action_attempt_id: string
7000
7004
  status: 'success'
7001
7005
  error: null
7002
- action_type: 'SCAN_CARD'
7006
+ action_type: 'SCAN_CREDENTIAL'
7003
7007
  result: {
7004
- /** Snapshot of the card data read from the physical encoder. */
7008
+ /** Snapshot of credential data read from physical encoder. */
7005
7009
  acs_credential_on_encoder: {
7006
7010
  /** Date and time the credential was created. */
7007
7011
  created_at: string | null
@@ -7190,7 +7194,7 @@ export interface Routes {
7190
7194
  action_attempt_id: string
7191
7195
  status: 'error'
7192
7196
  result: null
7193
- action_type: 'SCAN_CARD'
7197
+ action_type: 'SCAN_CREDENTIAL'
7194
7198
  error:
7195
7199
  | {
7196
7200
  type: 'uncategorized_error'
@@ -7211,14 +7215,14 @@ export interface Routes {
7211
7215
  status: 'pending'
7212
7216
  result: null
7213
7217
  error: null
7214
- action_type: 'ENCODE_CARD'
7218
+ action_type: 'ENCODE_CREDENTIAL'
7215
7219
  }
7216
7220
  | {
7217
7221
  /** The ID of the action attempt. */
7218
7222
  action_attempt_id: string
7219
7223
  status: 'success'
7220
7224
  error: null
7221
- action_type: 'ENCODE_CARD'
7225
+ action_type: 'ENCODE_CREDENTIAL'
7222
7226
  /** Means by which a user gains access at an entrance.
7223
7227
  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. */
7224
7228
  result:
@@ -7372,7 +7376,7 @@ export interface Routes {
7372
7376
  action_attempt_id: string
7373
7377
  status: 'error'
7374
7378
  result: null
7375
- action_type: 'ENCODE_CARD'
7379
+ action_type: 'ENCODE_CREDENTIAL'
7376
7380
  error:
7377
7381
  | {
7378
7382
  type: 'uncategorized_error'
@@ -9369,16 +9373,16 @@ export interface Routes {
9369
9373
  status: 'pending'
9370
9374
  result: null
9371
9375
  error: null
9372
- action_type: 'SCAN_CARD'
9376
+ action_type: 'SCAN_CREDENTIAL'
9373
9377
  }
9374
9378
  | {
9375
9379
  /** The ID of the action attempt. */
9376
9380
  action_attempt_id: string
9377
9381
  status: 'success'
9378
9382
  error: null
9379
- action_type: 'SCAN_CARD'
9383
+ action_type: 'SCAN_CREDENTIAL'
9380
9384
  result: {
9381
- /** Snapshot of the card data read from the physical encoder. */
9385
+ /** Snapshot of credential data read from physical encoder. */
9382
9386
  acs_credential_on_encoder: {
9383
9387
  /** Date and time the credential was created. */
9384
9388
  created_at: string | null
@@ -9567,7 +9571,7 @@ export interface Routes {
9567
9571
  action_attempt_id: string
9568
9572
  status: 'error'
9569
9573
  result: null
9570
- action_type: 'SCAN_CARD'
9574
+ action_type: 'SCAN_CREDENTIAL'
9571
9575
  error:
9572
9576
  | {
9573
9577
  type: 'uncategorized_error'
@@ -9588,14 +9592,14 @@ export interface Routes {
9588
9592
  status: 'pending'
9589
9593
  result: null
9590
9594
  error: null
9591
- action_type: 'ENCODE_CARD'
9595
+ action_type: 'ENCODE_CREDENTIAL'
9592
9596
  }
9593
9597
  | {
9594
9598
  /** The ID of the action attempt. */
9595
9599
  action_attempt_id: string
9596
9600
  status: 'success'
9597
9601
  error: null
9598
- action_type: 'ENCODE_CARD'
9602
+ action_type: 'ENCODE_CREDENTIAL'
9599
9603
  /** Means by which a user gains access at an entrance.
9600
9604
  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. */
9601
9605
  result:
@@ -9749,7 +9753,7 @@ export interface Routes {
9749
9753
  action_attempt_id: string
9750
9754
  status: 'error'
9751
9755
  result: null
9752
- action_type: 'ENCODE_CARD'
9756
+ action_type: 'ENCODE_CREDENTIAL'
9753
9757
  error:
9754
9758
  | {
9755
9759
  type: 'uncategorized_error'
@@ -10227,16 +10231,16 @@ export interface Routes {
10227
10231
  status: 'pending'
10228
10232
  result: null
10229
10233
  error: null
10230
- action_type: 'SCAN_CARD'
10234
+ action_type: 'SCAN_CREDENTIAL'
10231
10235
  }
10232
10236
  | {
10233
10237
  /** The ID of the action attempt. */
10234
10238
  action_attempt_id: string
10235
10239
  status: 'success'
10236
10240
  error: null
10237
- action_type: 'SCAN_CARD'
10241
+ action_type: 'SCAN_CREDENTIAL'
10238
10242
  result: {
10239
- /** Snapshot of the card data read from the physical encoder. */
10243
+ /** Snapshot of credential data read from physical encoder. */
10240
10244
  acs_credential_on_encoder: {
10241
10245
  /** Date and time the credential was created. */
10242
10246
  created_at: string | null
@@ -10425,7 +10429,7 @@ export interface Routes {
10425
10429
  action_attempt_id: string
10426
10430
  status: 'error'
10427
10431
  result: null
10428
- action_type: 'SCAN_CARD'
10432
+ action_type: 'SCAN_CREDENTIAL'
10429
10433
  error:
10430
10434
  | {
10431
10435
  type: 'uncategorized_error'
@@ -10446,14 +10450,14 @@ export interface Routes {
10446
10450
  status: 'pending'
10447
10451
  result: null
10448
10452
  error: null
10449
- action_type: 'ENCODE_CARD'
10453
+ action_type: 'ENCODE_CREDENTIAL'
10450
10454
  }
10451
10455
  | {
10452
10456
  /** The ID of the action attempt. */
10453
10457
  action_attempt_id: string
10454
10458
  status: 'success'
10455
10459
  error: null
10456
- action_type: 'ENCODE_CARD'
10460
+ action_type: 'ENCODE_CREDENTIAL'
10457
10461
  /** Means by which a user gains access at an entrance.
10458
10462
  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. */
10459
10463
  result:
@@ -10607,7 +10611,7 @@ export interface Routes {
10607
10611
  action_attempt_id: string
10608
10612
  status: 'error'
10609
10613
  result: null
10610
- action_type: 'ENCODE_CARD'
10614
+ action_type: 'ENCODE_CREDENTIAL'
10611
10615
  error:
10612
10616
  | {
10613
10617
  type: 'uncategorized_error'
@@ -16690,16 +16694,16 @@ export interface Routes {
16690
16694
  status: 'pending'
16691
16695
  result: null
16692
16696
  error: null
16693
- action_type: 'SCAN_CARD'
16697
+ action_type: 'SCAN_CREDENTIAL'
16694
16698
  }
16695
16699
  | {
16696
16700
  /** The ID of the action attempt. */
16697
16701
  action_attempt_id: string
16698
16702
  status: 'success'
16699
16703
  error: null
16700
- action_type: 'SCAN_CARD'
16704
+ action_type: 'SCAN_CREDENTIAL'
16701
16705
  result: {
16702
- /** Snapshot of the card data read from the physical encoder. */
16706
+ /** Snapshot of credential data read from physical encoder. */
16703
16707
  acs_credential_on_encoder: {
16704
16708
  /** Date and time the credential was created. */
16705
16709
  created_at: string | null
@@ -16888,7 +16892,7 @@ export interface Routes {
16888
16892
  action_attempt_id: string
16889
16893
  status: 'error'
16890
16894
  result: null
16891
- action_type: 'SCAN_CARD'
16895
+ action_type: 'SCAN_CREDENTIAL'
16892
16896
  error:
16893
16897
  | {
16894
16898
  type: 'uncategorized_error'
@@ -16909,14 +16913,14 @@ export interface Routes {
16909
16913
  status: 'pending'
16910
16914
  result: null
16911
16915
  error: null
16912
- action_type: 'ENCODE_CARD'
16916
+ action_type: 'ENCODE_CREDENTIAL'
16913
16917
  }
16914
16918
  | {
16915
16919
  /** The ID of the action attempt. */
16916
16920
  action_attempt_id: string
16917
16921
  status: 'success'
16918
16922
  error: null
16919
- action_type: 'ENCODE_CARD'
16923
+ action_type: 'ENCODE_CREDENTIAL'
16920
16924
  /** Means by which a user gains access at an entrance.
16921
16925
  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. */
16922
16926
  result:
@@ -17070,7 +17074,7 @@ export interface Routes {
17070
17074
  action_attempt_id: string
17071
17075
  status: 'error'
17072
17076
  result: null
17073
- action_type: 'ENCODE_CARD'
17077
+ action_type: 'ENCODE_CREDENTIAL'
17074
17078
  error:
17075
17079
  | {
17076
17080
  type: 'uncategorized_error'
@@ -17549,16 +17553,16 @@ export interface Routes {
17549
17553
  status: 'pending'
17550
17554
  result: null
17551
17555
  error: null
17552
- action_type: 'SCAN_CARD'
17556
+ action_type: 'SCAN_CREDENTIAL'
17553
17557
  }
17554
17558
  | {
17555
17559
  /** The ID of the action attempt. */
17556
17560
  action_attempt_id: string
17557
17561
  status: 'success'
17558
17562
  error: null
17559
- action_type: 'SCAN_CARD'
17563
+ action_type: 'SCAN_CREDENTIAL'
17560
17564
  result: {
17561
- /** Snapshot of the card data read from the physical encoder. */
17565
+ /** Snapshot of credential data read from physical encoder. */
17562
17566
  acs_credential_on_encoder: {
17563
17567
  /** Date and time the credential was created. */
17564
17568
  created_at: string | null
@@ -17747,7 +17751,7 @@ export interface Routes {
17747
17751
  action_attempt_id: string
17748
17752
  status: 'error'
17749
17753
  result: null
17750
- action_type: 'SCAN_CARD'
17754
+ action_type: 'SCAN_CREDENTIAL'
17751
17755
  error:
17752
17756
  | {
17753
17757
  type: 'uncategorized_error'
@@ -17768,14 +17772,14 @@ export interface Routes {
17768
17772
  status: 'pending'
17769
17773
  result: null
17770
17774
  error: null
17771
- action_type: 'ENCODE_CARD'
17775
+ action_type: 'ENCODE_CREDENTIAL'
17772
17776
  }
17773
17777
  | {
17774
17778
  /** The ID of the action attempt. */
17775
17779
  action_attempt_id: string
17776
17780
  status: 'success'
17777
17781
  error: null
17778
- action_type: 'ENCODE_CARD'
17782
+ action_type: 'ENCODE_CREDENTIAL'
17779
17783
  /** Means by which a user gains access at an entrance.
17780
17784
  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. */
17781
17785
  result:
@@ -17929,7 +17933,7 @@ export interface Routes {
17929
17933
  action_attempt_id: string
17930
17934
  status: 'error'
17931
17935
  result: null
17932
- action_type: 'ENCODE_CARD'
17936
+ action_type: 'ENCODE_CREDENTIAL'
17933
17937
  error:
17934
17938
  | {
17935
17939
  type: 'uncategorized_error'
@@ -19910,16 +19914,16 @@ export interface Routes {
19910
19914
  status: 'pending'
19911
19915
  result: null
19912
19916
  error: null
19913
- action_type: 'SCAN_CARD'
19917
+ action_type: 'SCAN_CREDENTIAL'
19914
19918
  }
19915
19919
  | {
19916
19920
  /** The ID of the action attempt. */
19917
19921
  action_attempt_id: string
19918
19922
  status: 'success'
19919
19923
  error: null
19920
- action_type: 'SCAN_CARD'
19924
+ action_type: 'SCAN_CREDENTIAL'
19921
19925
  result: {
19922
- /** Snapshot of the card data read from the physical encoder. */
19926
+ /** Snapshot of credential data read from physical encoder. */
19923
19927
  acs_credential_on_encoder: {
19924
19928
  /** Date and time the credential was created. */
19925
19929
  created_at: string | null
@@ -20108,7 +20112,7 @@ export interface Routes {
20108
20112
  action_attempt_id: string
20109
20113
  status: 'error'
20110
20114
  result: null
20111
- action_type: 'SCAN_CARD'
20115
+ action_type: 'SCAN_CREDENTIAL'
20112
20116
  error:
20113
20117
  | {
20114
20118
  type: 'uncategorized_error'
@@ -20129,14 +20133,14 @@ export interface Routes {
20129
20133
  status: 'pending'
20130
20134
  result: null
20131
20135
  error: null
20132
- action_type: 'ENCODE_CARD'
20136
+ action_type: 'ENCODE_CREDENTIAL'
20133
20137
  }
20134
20138
  | {
20135
20139
  /** The ID of the action attempt. */
20136
20140
  action_attempt_id: string
20137
20141
  status: 'success'
20138
20142
  error: null
20139
- action_type: 'ENCODE_CARD'
20143
+ action_type: 'ENCODE_CREDENTIAL'
20140
20144
  /** Means by which a user gains access at an entrance.
20141
20145
  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. */
20142
20146
  result:
@@ -20290,7 +20294,7 @@ export interface Routes {
20290
20294
  action_attempt_id: string
20291
20295
  status: 'error'
20292
20296
  result: null
20293
- action_type: 'ENCODE_CARD'
20297
+ action_type: 'ENCODE_CREDENTIAL'
20294
20298
  error:
20295
20299
  | {
20296
20300
  type: 'uncategorized_error'
@@ -20779,16 +20783,16 @@ export interface Routes {
20779
20783
  status: 'pending'
20780
20784
  result: null
20781
20785
  error: null
20782
- action_type: 'SCAN_CARD'
20786
+ action_type: 'SCAN_CREDENTIAL'
20783
20787
  }
20784
20788
  | {
20785
20789
  /** The ID of the action attempt. */
20786
20790
  action_attempt_id: string
20787
20791
  status: 'success'
20788
20792
  error: null
20789
- action_type: 'SCAN_CARD'
20793
+ action_type: 'SCAN_CREDENTIAL'
20790
20794
  result: {
20791
- /** Snapshot of the card data read from the physical encoder. */
20795
+ /** Snapshot of credential data read from physical encoder. */
20792
20796
  acs_credential_on_encoder: {
20793
20797
  /** Date and time the credential was created. */
20794
20798
  created_at: string | null
@@ -20977,7 +20981,7 @@ export interface Routes {
20977
20981
  action_attempt_id: string
20978
20982
  status: 'error'
20979
20983
  result: null
20980
- action_type: 'SCAN_CARD'
20984
+ action_type: 'SCAN_CREDENTIAL'
20981
20985
  error:
20982
20986
  | {
20983
20987
  type: 'uncategorized_error'
@@ -20998,14 +21002,14 @@ export interface Routes {
20998
21002
  status: 'pending'
20999
21003
  result: null
21000
21004
  error: null
21001
- action_type: 'ENCODE_CARD'
21005
+ action_type: 'ENCODE_CREDENTIAL'
21002
21006
  }
21003
21007
  | {
21004
21008
  /** The ID of the action attempt. */
21005
21009
  action_attempt_id: string
21006
21010
  status: 'success'
21007
21011
  error: null
21008
- action_type: 'ENCODE_CARD'
21012
+ action_type: 'ENCODE_CREDENTIAL'
21009
21013
  /** Means by which a user gains access at an entrance.
21010
21014
  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. */
21011
21015
  result:
@@ -21159,7 +21163,7 @@ export interface Routes {
21159
21163
  action_attempt_id: string
21160
21164
  status: 'error'
21161
21165
  result: null
21162
- action_type: 'ENCODE_CARD'
21166
+ action_type: 'ENCODE_CREDENTIAL'
21163
21167
  error:
21164
21168
  | {
21165
21169
  type: 'uncategorized_error'
@@ -21687,16 +21691,16 @@ export interface Routes {
21687
21691
  status: 'pending'
21688
21692
  result: null
21689
21693
  error: null
21690
- action_type: 'SCAN_CARD'
21694
+ action_type: 'SCAN_CREDENTIAL'
21691
21695
  }
21692
21696
  | {
21693
21697
  /** The ID of the action attempt. */
21694
21698
  action_attempt_id: string
21695
21699
  status: 'success'
21696
21700
  error: null
21697
- action_type: 'SCAN_CARD'
21701
+ action_type: 'SCAN_CREDENTIAL'
21698
21702
  result: {
21699
- /** Snapshot of the card data read from the physical encoder. */
21703
+ /** Snapshot of credential data read from physical encoder. */
21700
21704
  acs_credential_on_encoder: {
21701
21705
  /** Date and time the credential was created. */
21702
21706
  created_at: string | null
@@ -21885,7 +21889,7 @@ export interface Routes {
21885
21889
  action_attempt_id: string
21886
21890
  status: 'error'
21887
21891
  result: null
21888
- action_type: 'SCAN_CARD'
21892
+ action_type: 'SCAN_CREDENTIAL'
21889
21893
  error:
21890
21894
  | {
21891
21895
  type: 'uncategorized_error'
@@ -21906,14 +21910,14 @@ export interface Routes {
21906
21910
  status: 'pending'
21907
21911
  result: null
21908
21912
  error: null
21909
- action_type: 'ENCODE_CARD'
21913
+ action_type: 'ENCODE_CREDENTIAL'
21910
21914
  }
21911
21915
  | {
21912
21916
  /** The ID of the action attempt. */
21913
21917
  action_attempt_id: string
21914
21918
  status: 'success'
21915
21919
  error: null
21916
- action_type: 'ENCODE_CARD'
21920
+ action_type: 'ENCODE_CREDENTIAL'
21917
21921
  /** Means by which a user gains access at an entrance.
21918
21922
  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. */
21919
21923
  result:
@@ -22067,7 +22071,7 @@ export interface Routes {
22067
22071
  action_attempt_id: string
22068
22072
  status: 'error'
22069
22073
  result: null
22070
- action_type: 'ENCODE_CARD'
22074
+ action_type: 'ENCODE_CREDENTIAL'
22071
22075
  error:
22072
22076
  | {
22073
22077
  type: 'uncategorized_error'
@@ -22752,16 +22756,16 @@ export interface Routes {
22752
22756
  status: 'pending'
22753
22757
  result: null
22754
22758
  error: null
22755
- action_type: 'SCAN_CARD'
22759
+ action_type: 'SCAN_CREDENTIAL'
22756
22760
  }
22757
22761
  | {
22758
22762
  /** The ID of the action attempt. */
22759
22763
  action_attempt_id: string
22760
22764
  status: 'success'
22761
22765
  error: null
22762
- action_type: 'SCAN_CARD'
22766
+ action_type: 'SCAN_CREDENTIAL'
22763
22767
  result: {
22764
- /** Snapshot of the card data read from the physical encoder. */
22768
+ /** Snapshot of credential data read from physical encoder. */
22765
22769
  acs_credential_on_encoder: {
22766
22770
  /** Date and time the credential was created. */
22767
22771
  created_at: string | null
@@ -22950,7 +22954,7 @@ export interface Routes {
22950
22954
  action_attempt_id: string
22951
22955
  status: 'error'
22952
22956
  result: null
22953
- action_type: 'SCAN_CARD'
22957
+ action_type: 'SCAN_CREDENTIAL'
22954
22958
  error:
22955
22959
  | {
22956
22960
  type: 'uncategorized_error'
@@ -22971,14 +22975,14 @@ export interface Routes {
22971
22975
  status: 'pending'
22972
22976
  result: null
22973
22977
  error: null
22974
- action_type: 'ENCODE_CARD'
22978
+ action_type: 'ENCODE_CREDENTIAL'
22975
22979
  }
22976
22980
  | {
22977
22981
  /** The ID of the action attempt. */
22978
22982
  action_attempt_id: string
22979
22983
  status: 'success'
22980
22984
  error: null
22981
- action_type: 'ENCODE_CARD'
22985
+ action_type: 'ENCODE_CREDENTIAL'
22982
22986
  /** Means by which a user gains access at an entrance.
22983
22987
  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. */
22984
22988
  result:
@@ -23132,7 +23136,7 @@ export interface Routes {
23132
23136
  action_attempt_id: string
23133
23137
  status: 'error'
23134
23138
  result: null
23135
- action_type: 'ENCODE_CARD'
23139
+ action_type: 'ENCODE_CREDENTIAL'
23136
23140
  error:
23137
23141
  | {
23138
23142
  type: 'uncategorized_error'
@@ -23544,8 +23548,11 @@ export interface Routes {
23544
23548
  method: 'POST'
23545
23549
  queryParams: {}
23546
23550
  jsonBody: {
23551
+ /** ID of the thermostat device. */
23547
23552
  device_id: string
23553
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
23548
23554
  cooling_set_point_celsius?: number | undefined
23555
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °F). You must set one of the `cooling_set_point` parameters. */
23549
23556
  cooling_set_point_fahrenheit?: number | undefined
23550
23557
  sync?: boolean
23551
23558
  }
@@ -23613,16 +23620,16 @@ export interface Routes {
23613
23620
  status: 'pending'
23614
23621
  result: null
23615
23622
  error: null
23616
- action_type: 'SCAN_CARD'
23623
+ action_type: 'SCAN_CREDENTIAL'
23617
23624
  }
23618
23625
  | {
23619
23626
  /** The ID of the action attempt. */
23620
23627
  action_attempt_id: string
23621
23628
  status: 'success'
23622
23629
  error: null
23623
- action_type: 'SCAN_CARD'
23630
+ action_type: 'SCAN_CREDENTIAL'
23624
23631
  result: {
23625
- /** Snapshot of the card data read from the physical encoder. */
23632
+ /** Snapshot of credential data read from physical encoder. */
23626
23633
  acs_credential_on_encoder: {
23627
23634
  /** Date and time the credential was created. */
23628
23635
  created_at: string | null
@@ -23811,7 +23818,7 @@ export interface Routes {
23811
23818
  action_attempt_id: string
23812
23819
  status: 'error'
23813
23820
  result: null
23814
- action_type: 'SCAN_CARD'
23821
+ action_type: 'SCAN_CREDENTIAL'
23815
23822
  error:
23816
23823
  | {
23817
23824
  type: 'uncategorized_error'
@@ -23832,14 +23839,14 @@ export interface Routes {
23832
23839
  status: 'pending'
23833
23840
  result: null
23834
23841
  error: null
23835
- action_type: 'ENCODE_CARD'
23842
+ action_type: 'ENCODE_CREDENTIAL'
23836
23843
  }
23837
23844
  | {
23838
23845
  /** The ID of the action attempt. */
23839
23846
  action_attempt_id: string
23840
23847
  status: 'success'
23841
23848
  error: null
23842
- action_type: 'ENCODE_CARD'
23849
+ action_type: 'ENCODE_CREDENTIAL'
23843
23850
  /** Means by which a user gains access at an entrance.
23844
23851
  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. */
23845
23852
  result:
@@ -23993,7 +24000,7 @@ export interface Routes {
23993
24000
  action_attempt_id: string
23994
24001
  status: 'error'
23995
24002
  result: null
23996
- action_type: 'ENCODE_CARD'
24003
+ action_type: 'ENCODE_CREDENTIAL'
23997
24004
  error:
23998
24005
  | {
23999
24006
  type: 'uncategorized_error'
@@ -24438,7 +24445,9 @@ export interface Routes {
24438
24445
  queryParams: {}
24439
24446
  jsonBody: {}
24440
24447
  commonParams: {
24448
+ /** ID of the thermostat device. */
24441
24449
  device_id?: string | undefined
24450
+ /** Name of the thermostat. */
24442
24451
  name?: string | undefined
24443
24452
  }
24444
24453
  formData: {}
@@ -25096,8 +25105,11 @@ export interface Routes {
25096
25105
  method: 'POST'
25097
25106
  queryParams: {}
25098
25107
  jsonBody: {
25108
+ /** ID of the thermostat device. */
25099
25109
  device_id: string
25110
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
25100
25111
  heating_set_point_celsius?: number | undefined
25112
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °F). You must set one of the `heating_set_point` parameters. */
25101
25113
  heating_set_point_fahrenheit?: number | undefined
25102
25114
  sync?: boolean
25103
25115
  }
@@ -25165,16 +25177,16 @@ export interface Routes {
25165
25177
  status: 'pending'
25166
25178
  result: null
25167
25179
  error: null
25168
- action_type: 'SCAN_CARD'
25180
+ action_type: 'SCAN_CREDENTIAL'
25169
25181
  }
25170
25182
  | {
25171
25183
  /** The ID of the action attempt. */
25172
25184
  action_attempt_id: string
25173
25185
  status: 'success'
25174
25186
  error: null
25175
- action_type: 'SCAN_CARD'
25187
+ action_type: 'SCAN_CREDENTIAL'
25176
25188
  result: {
25177
- /** Snapshot of the card data read from the physical encoder. */
25189
+ /** Snapshot of credential data read from physical encoder. */
25178
25190
  acs_credential_on_encoder: {
25179
25191
  /** Date and time the credential was created. */
25180
25192
  created_at: string | null
@@ -25363,7 +25375,7 @@ export interface Routes {
25363
25375
  action_attempt_id: string
25364
25376
  status: 'error'
25365
25377
  result: null
25366
- action_type: 'SCAN_CARD'
25378
+ action_type: 'SCAN_CREDENTIAL'
25367
25379
  error:
25368
25380
  | {
25369
25381
  type: 'uncategorized_error'
@@ -25384,14 +25396,14 @@ export interface Routes {
25384
25396
  status: 'pending'
25385
25397
  result: null
25386
25398
  error: null
25387
- action_type: 'ENCODE_CARD'
25399
+ action_type: 'ENCODE_CREDENTIAL'
25388
25400
  }
25389
25401
  | {
25390
25402
  /** The ID of the action attempt. */
25391
25403
  action_attempt_id: string
25392
25404
  status: 'success'
25393
25405
  error: null
25394
- action_type: 'ENCODE_CARD'
25406
+ action_type: 'ENCODE_CREDENTIAL'
25395
25407
  /** Means by which a user gains access at an entrance.
25396
25408
  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. */
25397
25409
  result:
@@ -25545,7 +25557,7 @@ export interface Routes {
25545
25557
  action_attempt_id: string
25546
25558
  status: 'error'
25547
25559
  result: null
25548
- action_type: 'ENCODE_CARD'
25560
+ action_type: 'ENCODE_CREDENTIAL'
25549
25561
  error:
25550
25562
  | {
25551
25563
  type: 'uncategorized_error'
@@ -25957,10 +25969,15 @@ export interface Routes {
25957
25969
  method: 'POST'
25958
25970
  queryParams: {}
25959
25971
  jsonBody: {
25972
+ /** ID of the thermostat device. */
25960
25973
  device_id: string
25974
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
25961
25975
  heating_set_point_celsius?: number | undefined
25976
+ /** Temperature the thermostat should heat to (in °F). You must set one of the heating_set_point parameters. */
25962
25977
  heating_set_point_fahrenheit?: number | undefined
25978
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
25963
25979
  cooling_set_point_celsius?: number | undefined
25980
+ /** Temperature the thermostat should cool to (in °F). You must set one of the cooling_set_point parameters. */
25964
25981
  cooling_set_point_fahrenheit?: number | undefined
25965
25982
  sync?: boolean
25966
25983
  }
@@ -26028,16 +26045,16 @@ export interface Routes {
26028
26045
  status: 'pending'
26029
26046
  result: null
26030
26047
  error: null
26031
- action_type: 'SCAN_CARD'
26048
+ action_type: 'SCAN_CREDENTIAL'
26032
26049
  }
26033
26050
  | {
26034
26051
  /** The ID of the action attempt. */
26035
26052
  action_attempt_id: string
26036
26053
  status: 'success'
26037
26054
  error: null
26038
- action_type: 'SCAN_CARD'
26055
+ action_type: 'SCAN_CREDENTIAL'
26039
26056
  result: {
26040
- /** Snapshot of the card data read from the physical encoder. */
26057
+ /** Snapshot of credential data read from physical encoder. */
26041
26058
  acs_credential_on_encoder: {
26042
26059
  /** Date and time the credential was created. */
26043
26060
  created_at: string | null
@@ -26226,7 +26243,7 @@ export interface Routes {
26226
26243
  action_attempt_id: string
26227
26244
  status: 'error'
26228
26245
  result: null
26229
- action_type: 'SCAN_CARD'
26246
+ action_type: 'SCAN_CREDENTIAL'
26230
26247
  error:
26231
26248
  | {
26232
26249
  type: 'uncategorized_error'
@@ -26247,14 +26264,14 @@ export interface Routes {
26247
26264
  status: 'pending'
26248
26265
  result: null
26249
26266
  error: null
26250
- action_type: 'ENCODE_CARD'
26267
+ action_type: 'ENCODE_CREDENTIAL'
26251
26268
  }
26252
26269
  | {
26253
26270
  /** The ID of the action attempt. */
26254
26271
  action_attempt_id: string
26255
26272
  status: 'success'
26256
26273
  error: null
26257
- action_type: 'ENCODE_CARD'
26274
+ action_type: 'ENCODE_CREDENTIAL'
26258
26275
  /** Means by which a user gains access at an entrance.
26259
26276
  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. */
26260
26277
  result:
@@ -26408,7 +26425,7 @@ export interface Routes {
26408
26425
  action_attempt_id: string
26409
26426
  status: 'error'
26410
26427
  result: null
26411
- action_type: 'ENCODE_CARD'
26428
+ action_type: 'ENCODE_CREDENTIAL'
26412
26429
  error:
26413
26430
  | {
26414
26431
  type: 'uncategorized_error'
@@ -28283,6 +28300,7 @@ export interface Routes {
28283
28300
  method: 'POST'
28284
28301
  queryParams: {}
28285
28302
  jsonBody: {
28303
+ /** ID of the thermostat device. */
28286
28304
  device_id: string
28287
28305
  sync?: boolean
28288
28306
  }
@@ -28350,16 +28368,16 @@ export interface Routes {
28350
28368
  status: 'pending'
28351
28369
  result: null
28352
28370
  error: null
28353
- action_type: 'SCAN_CARD'
28371
+ action_type: 'SCAN_CREDENTIAL'
28354
28372
  }
28355
28373
  | {
28356
28374
  /** The ID of the action attempt. */
28357
28375
  action_attempt_id: string
28358
28376
  status: 'success'
28359
28377
  error: null
28360
- action_type: 'SCAN_CARD'
28378
+ action_type: 'SCAN_CREDENTIAL'
28361
28379
  result: {
28362
- /** Snapshot of the card data read from the physical encoder. */
28380
+ /** Snapshot of credential data read from physical encoder. */
28363
28381
  acs_credential_on_encoder: {
28364
28382
  /** Date and time the credential was created. */
28365
28383
  created_at: string | null
@@ -28548,7 +28566,7 @@ export interface Routes {
28548
28566
  action_attempt_id: string
28549
28567
  status: 'error'
28550
28568
  result: null
28551
- action_type: 'SCAN_CARD'
28569
+ action_type: 'SCAN_CREDENTIAL'
28552
28570
  error:
28553
28571
  | {
28554
28572
  type: 'uncategorized_error'
@@ -28569,14 +28587,14 @@ export interface Routes {
28569
28587
  status: 'pending'
28570
28588
  result: null
28571
28589
  error: null
28572
- action_type: 'ENCODE_CARD'
28590
+ action_type: 'ENCODE_CREDENTIAL'
28573
28591
  }
28574
28592
  | {
28575
28593
  /** The ID of the action attempt. */
28576
28594
  action_attempt_id: string
28577
28595
  status: 'success'
28578
28596
  error: null
28579
- action_type: 'ENCODE_CARD'
28597
+ action_type: 'ENCODE_CREDENTIAL'
28580
28598
  /** Means by which a user gains access at an entrance.
28581
28599
  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. */
28582
28600
  result:
@@ -28730,7 +28748,7 @@ export interface Routes {
28730
28748
  action_attempt_id: string
28731
28749
  status: 'error'
28732
28750
  result: null
28733
- action_type: 'ENCODE_CARD'
28751
+ action_type: 'ENCODE_CREDENTIAL'
28734
28752
  error:
28735
28753
  | {
28736
28754
  type: 'uncategorized_error'
@@ -29259,10 +29277,12 @@ export interface Routes {
29259
29277
  method: 'POST'
29260
29278
  queryParams: {}
29261
29279
  jsonBody: {
29280
+ /** ID of the thermostat device. */
29262
29281
  device_id: string
29263
29282
  /**
29264
- * @deprecated use fan_mode_setting instead. */
29283
+ * @deprecated Use `fan_mode_setting` instead. */
29265
29284
  fan_mode?: ('auto' | 'on' | 'circulate') | undefined
29285
+ /** 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). */
29266
29286
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined
29267
29287
  sync?: boolean
29268
29288
  }
@@ -29330,16 +29350,16 @@ export interface Routes {
29330
29350
  status: 'pending'
29331
29351
  result: null
29332
29352
  error: null
29333
- action_type: 'SCAN_CARD'
29353
+ action_type: 'SCAN_CREDENTIAL'
29334
29354
  }
29335
29355
  | {
29336
29356
  /** The ID of the action attempt. */
29337
29357
  action_attempt_id: string
29338
29358
  status: 'success'
29339
29359
  error: null
29340
- action_type: 'SCAN_CARD'
29360
+ action_type: 'SCAN_CREDENTIAL'
29341
29361
  result: {
29342
- /** Snapshot of the card data read from the physical encoder. */
29362
+ /** Snapshot of credential data read from physical encoder. */
29343
29363
  acs_credential_on_encoder: {
29344
29364
  /** Date and time the credential was created. */
29345
29365
  created_at: string | null
@@ -29528,7 +29548,7 @@ export interface Routes {
29528
29548
  action_attempt_id: string
29529
29549
  status: 'error'
29530
29550
  result: null
29531
- action_type: 'SCAN_CARD'
29551
+ action_type: 'SCAN_CREDENTIAL'
29532
29552
  error:
29533
29553
  | {
29534
29554
  type: 'uncategorized_error'
@@ -29549,14 +29569,14 @@ export interface Routes {
29549
29569
  status: 'pending'
29550
29570
  result: null
29551
29571
  error: null
29552
- action_type: 'ENCODE_CARD'
29572
+ action_type: 'ENCODE_CREDENTIAL'
29553
29573
  }
29554
29574
  | {
29555
29575
  /** The ID of the action attempt. */
29556
29576
  action_attempt_id: string
29557
29577
  status: 'success'
29558
29578
  error: null
29559
- action_type: 'ENCODE_CARD'
29579
+ action_type: 'ENCODE_CREDENTIAL'
29560
29580
  /** Means by which a user gains access at an entrance.
29561
29581
  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. */
29562
29582
  result:
@@ -29710,7 +29730,7 @@ export interface Routes {
29710
29730
  action_attempt_id: string
29711
29731
  status: 'error'
29712
29732
  result: null
29713
- action_type: 'ENCODE_CARD'
29733
+ action_type: 'ENCODE_CREDENTIAL'
29714
29734
  error:
29715
29735
  | {
29716
29736
  type: 'uncategorized_error'
@@ -32154,16 +32174,16 @@ export interface Routes {
32154
32174
  status: 'pending'
32155
32175
  result: null
32156
32176
  error: null
32157
- action_type: 'SCAN_CARD'
32177
+ action_type: 'SCAN_CREDENTIAL'
32158
32178
  }
32159
32179
  | {
32160
32180
  /** The ID of the action attempt. */
32161
32181
  action_attempt_id: string
32162
32182
  status: 'success'
32163
32183
  error: null
32164
- action_type: 'SCAN_CARD'
32184
+ action_type: 'SCAN_CREDENTIAL'
32165
32185
  result: {
32166
- /** Snapshot of the card data read from the physical encoder. */
32186
+ /** Snapshot of credential data read from physical encoder. */
32167
32187
  acs_credential_on_encoder: {
32168
32188
  /** Date and time the credential was created. */
32169
32189
  created_at: string | null
@@ -32352,7 +32372,7 @@ export interface Routes {
32352
32372
  action_attempt_id: string
32353
32373
  status: 'error'
32354
32374
  result: null
32355
- action_type: 'SCAN_CARD'
32375
+ action_type: 'SCAN_CREDENTIAL'
32356
32376
  error:
32357
32377
  | {
32358
32378
  type: 'uncategorized_error'
@@ -32373,14 +32393,14 @@ export interface Routes {
32373
32393
  status: 'pending'
32374
32394
  result: null
32375
32395
  error: null
32376
- action_type: 'ENCODE_CARD'
32396
+ action_type: 'ENCODE_CREDENTIAL'
32377
32397
  }
32378
32398
  | {
32379
32399
  /** The ID of the action attempt. */
32380
32400
  action_attempt_id: string
32381
32401
  status: 'success'
32382
32402
  error: null
32383
- action_type: 'ENCODE_CARD'
32403
+ action_type: 'ENCODE_CREDENTIAL'
32384
32404
  /** Means by which a user gains access at an entrance.
32385
32405
  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. */
32386
32406
  result:
@@ -32534,7 +32554,7 @@ export interface Routes {
32534
32554
  action_attempt_id: string
32535
32555
  status: 'error'
32536
32556
  result: null
32537
- action_type: 'ENCODE_CARD'
32557
+ action_type: 'ENCODE_CREDENTIAL'
32538
32558
  error:
32539
32559
  | {
32540
32560
  type: 'uncategorized_error'