@seamapi/http 1.17.1 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,7 +58,7 @@ export declare const resolveActionAttempt: <T extends {
58
58
  action_attempt_id: string;
59
59
  result: {
60
60
  warnings: {
61
- warning_code: "acs_credential_on_encoder_out_of_sync";
61
+ warning_code: "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found";
62
62
  warning_message: string;
63
63
  }[];
64
64
  acs_credential_on_encoder: {
@@ -81,7 +81,7 @@ export declare const resolveActionAttempt: <T extends {
81
81
  overridden?: boolean | undefined;
82
82
  card_holder?: string | undefined;
83
83
  } | undefined;
84
- };
84
+ } | null;
85
85
  acs_credential_on_seam: {
86
86
  created_at: string;
87
87
  errors: {
@@ -104,6 +104,10 @@ export declare const resolveActionAttempt: <T extends {
104
104
  message: string;
105
105
  warning_code: "being_deleted";
106
106
  created_at: string;
107
+ } | {
108
+ message: string;
109
+ warning_code: "unknown_issue_with_credential";
110
+ created_at: string;
107
111
  })[];
108
112
  display_name: string;
109
113
  workspace_id: string;
@@ -124,6 +128,7 @@ export declare const resolveActionAttempt: <T extends {
124
128
  card_id?: string | undefined;
125
129
  credential_id?: string | undefined;
126
130
  } | undefined;
131
+ is_one_time_use?: boolean | undefined;
127
132
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
128
133
  external_type_display_name?: string | undefined;
129
134
  acs_user_id?: string | undefined;
@@ -157,6 +162,10 @@ export declare const resolveActionAttempt: <T extends {
157
162
  message: string;
158
163
  warning_code: "being_deleted";
159
164
  created_at: string;
165
+ } | {
166
+ message: string;
167
+ warning_code: "unknown_issue_with_credential";
168
+ created_at: string;
160
169
  })[];
161
170
  display_name: string;
162
171
  workspace_id: string;
@@ -177,6 +186,7 @@ export declare const resolveActionAttempt: <T extends {
177
186
  card_id?: string | undefined;
178
187
  credential_id?: string | undefined;
179
188
  } | undefined;
189
+ is_one_time_use?: boolean | undefined;
180
190
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
181
191
  external_type_display_name?: string | undefined;
182
192
  acs_user_id?: string | undefined;
@@ -199,7 +209,7 @@ export declare const resolveActionAttempt: <T extends {
199
209
  type: "action_attempt_expired";
200
210
  message: string;
201
211
  } | {
202
- type: "no_card_on_encoder";
212
+ type: "no_credential_on_encoder";
203
213
  message: string;
204
214
  };
205
215
  status: "error";
@@ -238,6 +248,10 @@ export declare const resolveActionAttempt: <T extends {
238
248
  message: string;
239
249
  warning_code: "being_deleted";
240
250
  created_at: string;
251
+ } | {
252
+ message: string;
253
+ warning_code: "unknown_issue_with_credential";
254
+ created_at: string;
241
255
  })[];
242
256
  display_name: string;
243
257
  workspace_id: string;
@@ -258,6 +272,7 @@ export declare const resolveActionAttempt: <T extends {
258
272
  card_id?: string | undefined;
259
273
  credential_id?: string | undefined;
260
274
  } | undefined;
275
+ is_one_time_use?: boolean | undefined;
261
276
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
262
277
  external_type_display_name?: string | undefined;
263
278
  acs_user_id?: string | undefined;
@@ -291,6 +306,10 @@ export declare const resolveActionAttempt: <T extends {
291
306
  message: string;
292
307
  warning_code: "being_deleted";
293
308
  created_at: string;
309
+ } | {
310
+ message: string;
311
+ warning_code: "unknown_issue_with_credential";
312
+ created_at: string;
294
313
  })[];
295
314
  display_name: string;
296
315
  workspace_id: string;
@@ -311,6 +330,7 @@ export declare const resolveActionAttempt: <T extends {
311
330
  card_id?: string | undefined;
312
331
  credential_id?: string | undefined;
313
332
  } | undefined;
333
+ is_one_time_use?: boolean | undefined;
314
334
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
315
335
  external_type_display_name?: string | undefined;
316
336
  acs_user_id?: string | undefined;
@@ -332,7 +352,7 @@ export declare const resolveActionAttempt: <T extends {
332
352
  type: "action_attempt_expired";
333
353
  message: string;
334
354
  } | {
335
- type: "no_card_on_encoder";
355
+ type: "no_credential_on_encoder";
336
356
  message: string;
337
357
  } | {
338
358
  type: "incompatible_card_format";
@@ -363,69 +383,6 @@ export declare const resolveActionAttempt: <T extends {
363
383
  action_attempt_id: string;
364
384
  result: null;
365
385
  action_type: "RESET_SANDBOX_WORKSPACE";
366
- } | {
367
- error: null;
368
- status: "pending";
369
- action_attempt_id: string;
370
- result: null;
371
- action_type: "SET_COOL";
372
- } | {
373
- error: null;
374
- status: "success";
375
- action_attempt_id: string;
376
- result: {};
377
- action_type: "SET_COOL";
378
- } | {
379
- error: {
380
- type: string;
381
- message: string;
382
- };
383
- status: "error";
384
- action_attempt_id: string;
385
- result: null;
386
- action_type: "SET_COOL";
387
- } | {
388
- error: null;
389
- status: "pending";
390
- action_attempt_id: string;
391
- result: null;
392
- action_type: "SET_HEAT";
393
- } | {
394
- error: null;
395
- status: "success";
396
- action_attempt_id: string;
397
- result: {};
398
- action_type: "SET_HEAT";
399
- } | {
400
- error: {
401
- type: string;
402
- message: string;
403
- };
404
- status: "error";
405
- action_attempt_id: string;
406
- result: null;
407
- action_type: "SET_HEAT";
408
- } | {
409
- error: null;
410
- status: "pending";
411
- action_attempt_id: string;
412
- result: null;
413
- action_type: "SET_HEAT_COOL";
414
- } | {
415
- error: null;
416
- status: "success";
417
- action_attempt_id: string;
418
- result: {};
419
- action_type: "SET_HEAT_COOL";
420
- } | {
421
- error: {
422
- type: string;
423
- message: string;
424
- };
425
- status: "error";
426
- action_attempt_id: string;
427
- result: null;
428
- action_type: "SET_HEAT_COOL";
429
386
  } | {
430
387
  error: null;
431
388
  status: "pending";
@@ -452,13 +409,13 @@ export declare const resolveActionAttempt: <T extends {
452
409
  status: "pending";
453
410
  action_attempt_id: string;
454
411
  result: null;
455
- action_type: "SET_THERMOSTAT_OFF";
412
+ action_type: "SET_HVAC_MODE";
456
413
  } | {
457
414
  error: null;
458
415
  status: "success";
459
416
  action_attempt_id: string;
460
417
  result: {};
461
- action_type: "SET_THERMOSTAT_OFF";
418
+ action_type: "SET_HVAC_MODE";
462
419
  } | {
463
420
  error: {
464
421
  type: string;
@@ -467,7 +424,7 @@ export declare const resolveActionAttempt: <T extends {
467
424
  status: "error";
468
425
  action_attempt_id: string;
469
426
  result: null;
470
- action_type: "SET_THERMOSTAT_OFF";
427
+ action_type: "SET_HVAC_MODE";
471
428
  } | {
472
429
  error: null;
473
430
  status: "pending";
@@ -701,7 +658,7 @@ export declare const isSeamActionAttemptError: <T extends {
701
658
  action_attempt_id: string;
702
659
  result: {
703
660
  warnings: {
704
- warning_code: "acs_credential_on_encoder_out_of_sync";
661
+ warning_code: "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found";
705
662
  warning_message: string;
706
663
  }[];
707
664
  acs_credential_on_encoder: {
@@ -724,7 +681,7 @@ export declare const isSeamActionAttemptError: <T extends {
724
681
  overridden?: boolean | undefined;
725
682
  card_holder?: string | undefined;
726
683
  } | undefined;
727
- };
684
+ } | null;
728
685
  acs_credential_on_seam: {
729
686
  created_at: string;
730
687
  errors: {
@@ -747,6 +704,10 @@ export declare const isSeamActionAttemptError: <T extends {
747
704
  message: string;
748
705
  warning_code: "being_deleted";
749
706
  created_at: string;
707
+ } | {
708
+ message: string;
709
+ warning_code: "unknown_issue_with_credential";
710
+ created_at: string;
750
711
  })[];
751
712
  display_name: string;
752
713
  workspace_id: string;
@@ -767,6 +728,7 @@ export declare const isSeamActionAttemptError: <T extends {
767
728
  card_id?: string | undefined;
768
729
  credential_id?: string | undefined;
769
730
  } | undefined;
731
+ is_one_time_use?: boolean | undefined;
770
732
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
771
733
  external_type_display_name?: string | undefined;
772
734
  acs_user_id?: string | undefined;
@@ -800,6 +762,10 @@ export declare const isSeamActionAttemptError: <T extends {
800
762
  message: string;
801
763
  warning_code: "being_deleted";
802
764
  created_at: string;
765
+ } | {
766
+ message: string;
767
+ warning_code: "unknown_issue_with_credential";
768
+ created_at: string;
803
769
  })[];
804
770
  display_name: string;
805
771
  workspace_id: string;
@@ -820,6 +786,7 @@ export declare const isSeamActionAttemptError: <T extends {
820
786
  card_id?: string | undefined;
821
787
  credential_id?: string | undefined;
822
788
  } | undefined;
789
+ is_one_time_use?: boolean | undefined;
823
790
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
824
791
  external_type_display_name?: string | undefined;
825
792
  acs_user_id?: string | undefined;
@@ -842,7 +809,7 @@ export declare const isSeamActionAttemptError: <T extends {
842
809
  type: "action_attempt_expired";
843
810
  message: string;
844
811
  } | {
845
- type: "no_card_on_encoder";
812
+ type: "no_credential_on_encoder";
846
813
  message: string;
847
814
  };
848
815
  status: "error";
@@ -881,6 +848,10 @@ export declare const isSeamActionAttemptError: <T extends {
881
848
  message: string;
882
849
  warning_code: "being_deleted";
883
850
  created_at: string;
851
+ } | {
852
+ message: string;
853
+ warning_code: "unknown_issue_with_credential";
854
+ created_at: string;
884
855
  })[];
885
856
  display_name: string;
886
857
  workspace_id: string;
@@ -901,6 +872,7 @@ export declare const isSeamActionAttemptError: <T extends {
901
872
  card_id?: string | undefined;
902
873
  credential_id?: string | undefined;
903
874
  } | undefined;
875
+ is_one_time_use?: boolean | undefined;
904
876
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
905
877
  external_type_display_name?: string | undefined;
906
878
  acs_user_id?: string | undefined;
@@ -934,6 +906,10 @@ export declare const isSeamActionAttemptError: <T extends {
934
906
  message: string;
935
907
  warning_code: "being_deleted";
936
908
  created_at: string;
909
+ } | {
910
+ message: string;
911
+ warning_code: "unknown_issue_with_credential";
912
+ created_at: string;
937
913
  })[];
938
914
  display_name: string;
939
915
  workspace_id: string;
@@ -954,6 +930,7 @@ export declare const isSeamActionAttemptError: <T extends {
954
930
  card_id?: string | undefined;
955
931
  credential_id?: string | undefined;
956
932
  } | undefined;
933
+ is_one_time_use?: boolean | undefined;
957
934
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
958
935
  external_type_display_name?: string | undefined;
959
936
  acs_user_id?: string | undefined;
@@ -975,7 +952,7 @@ export declare const isSeamActionAttemptError: <T extends {
975
952
  type: "action_attempt_expired";
976
953
  message: string;
977
954
  } | {
978
- type: "no_card_on_encoder";
955
+ type: "no_credential_on_encoder";
979
956
  message: string;
980
957
  } | {
981
958
  type: "incompatible_card_format";
@@ -1006,69 +983,6 @@ export declare const isSeamActionAttemptError: <T extends {
1006
983
  action_attempt_id: string;
1007
984
  result: null;
1008
985
  action_type: "RESET_SANDBOX_WORKSPACE";
1009
- } | {
1010
- error: null;
1011
- status: "pending";
1012
- action_attempt_id: string;
1013
- result: null;
1014
- action_type: "SET_COOL";
1015
- } | {
1016
- error: null;
1017
- status: "success";
1018
- action_attempt_id: string;
1019
- result: {};
1020
- action_type: "SET_COOL";
1021
- } | {
1022
- error: {
1023
- type: string;
1024
- message: string;
1025
- };
1026
- status: "error";
1027
- action_attempt_id: string;
1028
- result: null;
1029
- action_type: "SET_COOL";
1030
- } | {
1031
- error: null;
1032
- status: "pending";
1033
- action_attempt_id: string;
1034
- result: null;
1035
- action_type: "SET_HEAT";
1036
- } | {
1037
- error: null;
1038
- status: "success";
1039
- action_attempt_id: string;
1040
- result: {};
1041
- action_type: "SET_HEAT";
1042
- } | {
1043
- error: {
1044
- type: string;
1045
- message: string;
1046
- };
1047
- status: "error";
1048
- action_attempt_id: string;
1049
- result: null;
1050
- action_type: "SET_HEAT";
1051
- } | {
1052
- error: null;
1053
- status: "pending";
1054
- action_attempt_id: string;
1055
- result: null;
1056
- action_type: "SET_HEAT_COOL";
1057
- } | {
1058
- error: null;
1059
- status: "success";
1060
- action_attempt_id: string;
1061
- result: {};
1062
- action_type: "SET_HEAT_COOL";
1063
- } | {
1064
- error: {
1065
- type: string;
1066
- message: string;
1067
- };
1068
- status: "error";
1069
- action_attempt_id: string;
1070
- result: null;
1071
- action_type: "SET_HEAT_COOL";
1072
986
  } | {
1073
987
  error: null;
1074
988
  status: "pending";
@@ -1095,13 +1009,13 @@ export declare const isSeamActionAttemptError: <T extends {
1095
1009
  status: "pending";
1096
1010
  action_attempt_id: string;
1097
1011
  result: null;
1098
- action_type: "SET_THERMOSTAT_OFF";
1012
+ action_type: "SET_HVAC_MODE";
1099
1013
  } | {
1100
1014
  error: null;
1101
1015
  status: "success";
1102
1016
  action_attempt_id: string;
1103
1017
  result: {};
1104
- action_type: "SET_THERMOSTAT_OFF";
1018
+ action_type: "SET_HVAC_MODE";
1105
1019
  } | {
1106
1020
  error: {
1107
1021
  type: string;
@@ -1110,7 +1024,7 @@ export declare const isSeamActionAttemptError: <T extends {
1110
1024
  status: "error";
1111
1025
  action_attempt_id: string;
1112
1026
  result: null;
1113
- action_type: "SET_THERMOSTAT_OFF";
1027
+ action_type: "SET_HVAC_MODE";
1114
1028
  } | {
1115
1029
  error: null;
1116
1030
  status: "pending";
@@ -1346,7 +1260,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1346
1260
  action_attempt_id: string;
1347
1261
  result: {
1348
1262
  warnings: {
1349
- warning_code: "acs_credential_on_encoder_out_of_sync";
1263
+ warning_code: "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found";
1350
1264
  warning_message: string;
1351
1265
  }[];
1352
1266
  acs_credential_on_encoder: {
@@ -1369,7 +1283,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1369
1283
  overridden?: boolean | undefined;
1370
1284
  card_holder?: string | undefined;
1371
1285
  } | undefined;
1372
- };
1286
+ } | null;
1373
1287
  acs_credential_on_seam: {
1374
1288
  created_at: string;
1375
1289
  errors: {
@@ -1392,6 +1306,10 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1392
1306
  message: string;
1393
1307
  warning_code: "being_deleted";
1394
1308
  created_at: string;
1309
+ } | {
1310
+ message: string;
1311
+ warning_code: "unknown_issue_with_credential";
1312
+ created_at: string;
1395
1313
  })[];
1396
1314
  display_name: string;
1397
1315
  workspace_id: string;
@@ -1412,6 +1330,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1412
1330
  card_id?: string | undefined;
1413
1331
  credential_id?: string | undefined;
1414
1332
  } | undefined;
1333
+ is_one_time_use?: boolean | undefined;
1415
1334
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1416
1335
  external_type_display_name?: string | undefined;
1417
1336
  acs_user_id?: string | undefined;
@@ -1445,6 +1364,10 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1445
1364
  message: string;
1446
1365
  warning_code: "being_deleted";
1447
1366
  created_at: string;
1367
+ } | {
1368
+ message: string;
1369
+ warning_code: "unknown_issue_with_credential";
1370
+ created_at: string;
1448
1371
  })[];
1449
1372
  display_name: string;
1450
1373
  workspace_id: string;
@@ -1465,6 +1388,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1465
1388
  card_id?: string | undefined;
1466
1389
  credential_id?: string | undefined;
1467
1390
  } | undefined;
1391
+ is_one_time_use?: boolean | undefined;
1468
1392
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1469
1393
  external_type_display_name?: string | undefined;
1470
1394
  acs_user_id?: string | undefined;
@@ -1487,7 +1411,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1487
1411
  type: "action_attempt_expired";
1488
1412
  message: string;
1489
1413
  } | {
1490
- type: "no_card_on_encoder";
1414
+ type: "no_credential_on_encoder";
1491
1415
  message: string;
1492
1416
  };
1493
1417
  status: "error";
@@ -1526,6 +1450,10 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1526
1450
  message: string;
1527
1451
  warning_code: "being_deleted";
1528
1452
  created_at: string;
1453
+ } | {
1454
+ message: string;
1455
+ warning_code: "unknown_issue_with_credential";
1456
+ created_at: string;
1529
1457
  })[];
1530
1458
  display_name: string;
1531
1459
  workspace_id: string;
@@ -1546,6 +1474,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1546
1474
  card_id?: string | undefined;
1547
1475
  credential_id?: string | undefined;
1548
1476
  } | undefined;
1477
+ is_one_time_use?: boolean | undefined;
1549
1478
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1550
1479
  external_type_display_name?: string | undefined;
1551
1480
  acs_user_id?: string | undefined;
@@ -1579,6 +1508,10 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1579
1508
  message: string;
1580
1509
  warning_code: "being_deleted";
1581
1510
  created_at: string;
1511
+ } | {
1512
+ message: string;
1513
+ warning_code: "unknown_issue_with_credential";
1514
+ created_at: string;
1582
1515
  })[];
1583
1516
  display_name: string;
1584
1517
  workspace_id: string;
@@ -1599,6 +1532,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1599
1532
  card_id?: string | undefined;
1600
1533
  credential_id?: string | undefined;
1601
1534
  } | undefined;
1535
+ is_one_time_use?: boolean | undefined;
1602
1536
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
1603
1537
  external_type_display_name?: string | undefined;
1604
1538
  acs_user_id?: string | undefined;
@@ -1620,7 +1554,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1620
1554
  type: "action_attempt_expired";
1621
1555
  message: string;
1622
1556
  } | {
1623
- type: "no_card_on_encoder";
1557
+ type: "no_credential_on_encoder";
1624
1558
  message: string;
1625
1559
  } | {
1626
1560
  type: "incompatible_card_format";
@@ -1651,69 +1585,6 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1651
1585
  action_attempt_id: string;
1652
1586
  result: null;
1653
1587
  action_type: "RESET_SANDBOX_WORKSPACE";
1654
- } | {
1655
- error: null;
1656
- status: "pending";
1657
- action_attempt_id: string;
1658
- result: null;
1659
- action_type: "SET_COOL";
1660
- } | {
1661
- error: null;
1662
- status: "success";
1663
- action_attempt_id: string;
1664
- result: {};
1665
- action_type: "SET_COOL";
1666
- } | {
1667
- error: {
1668
- type: string;
1669
- message: string;
1670
- };
1671
- status: "error";
1672
- action_attempt_id: string;
1673
- result: null;
1674
- action_type: "SET_COOL";
1675
- } | {
1676
- error: null;
1677
- status: "pending";
1678
- action_attempt_id: string;
1679
- result: null;
1680
- action_type: "SET_HEAT";
1681
- } | {
1682
- error: null;
1683
- status: "success";
1684
- action_attempt_id: string;
1685
- result: {};
1686
- action_type: "SET_HEAT";
1687
- } | {
1688
- error: {
1689
- type: string;
1690
- message: string;
1691
- };
1692
- status: "error";
1693
- action_attempt_id: string;
1694
- result: null;
1695
- action_type: "SET_HEAT";
1696
- } | {
1697
- error: null;
1698
- status: "pending";
1699
- action_attempt_id: string;
1700
- result: null;
1701
- action_type: "SET_HEAT_COOL";
1702
- } | {
1703
- error: null;
1704
- status: "success";
1705
- action_attempt_id: string;
1706
- result: {};
1707
- action_type: "SET_HEAT_COOL";
1708
- } | {
1709
- error: {
1710
- type: string;
1711
- message: string;
1712
- };
1713
- status: "error";
1714
- action_attempt_id: string;
1715
- result: null;
1716
- action_type: "SET_HEAT_COOL";
1717
1588
  } | {
1718
1589
  error: null;
1719
1590
  status: "pending";
@@ -1740,13 +1611,13 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1740
1611
  status: "pending";
1741
1612
  action_attempt_id: string;
1742
1613
  result: null;
1743
- action_type: "SET_THERMOSTAT_OFF";
1614
+ action_type: "SET_HVAC_MODE";
1744
1615
  } | {
1745
1616
  error: null;
1746
1617
  status: "success";
1747
1618
  action_attempt_id: string;
1748
1619
  result: {};
1749
- action_type: "SET_THERMOSTAT_OFF";
1620
+ action_type: "SET_HVAC_MODE";
1750
1621
  } | {
1751
1622
  error: {
1752
1623
  type: string;
@@ -1755,7 +1626,7 @@ export declare const isSeamActionAttemptFailedError: <T extends {
1755
1626
  status: "error";
1756
1627
  action_attempt_id: string;
1757
1628
  result: null;
1758
- action_type: "SET_THERMOSTAT_OFF";
1629
+ action_type: "SET_HVAC_MODE";
1759
1630
  } | {
1760
1631
  error: null;
1761
1632
  status: "pending";
@@ -1991,7 +1862,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
1991
1862
  action_attempt_id: string;
1992
1863
  result: {
1993
1864
  warnings: {
1994
- warning_code: "acs_credential_on_encoder_out_of_sync";
1865
+ warning_code: "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found";
1995
1866
  warning_message: string;
1996
1867
  }[];
1997
1868
  acs_credential_on_encoder: {
@@ -2014,7 +1885,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2014
1885
  overridden?: boolean | undefined;
2015
1886
  card_holder?: string | undefined;
2016
1887
  } | undefined;
2017
- };
1888
+ } | null;
2018
1889
  acs_credential_on_seam: {
2019
1890
  created_at: string;
2020
1891
  errors: {
@@ -2037,6 +1908,10 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2037
1908
  message: string;
2038
1909
  warning_code: "being_deleted";
2039
1910
  created_at: string;
1911
+ } | {
1912
+ message: string;
1913
+ warning_code: "unknown_issue_with_credential";
1914
+ created_at: string;
2040
1915
  })[];
2041
1916
  display_name: string;
2042
1917
  workspace_id: string;
@@ -2057,6 +1932,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2057
1932
  card_id?: string | undefined;
2058
1933
  credential_id?: string | undefined;
2059
1934
  } | undefined;
1935
+ is_one_time_use?: boolean | undefined;
2060
1936
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2061
1937
  external_type_display_name?: string | undefined;
2062
1938
  acs_user_id?: string | undefined;
@@ -2090,6 +1966,10 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2090
1966
  message: string;
2091
1967
  warning_code: "being_deleted";
2092
1968
  created_at: string;
1969
+ } | {
1970
+ message: string;
1971
+ warning_code: "unknown_issue_with_credential";
1972
+ created_at: string;
2093
1973
  })[];
2094
1974
  display_name: string;
2095
1975
  workspace_id: string;
@@ -2110,6 +1990,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2110
1990
  card_id?: string | undefined;
2111
1991
  credential_id?: string | undefined;
2112
1992
  } | undefined;
1993
+ is_one_time_use?: boolean | undefined;
2113
1994
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2114
1995
  external_type_display_name?: string | undefined;
2115
1996
  acs_user_id?: string | undefined;
@@ -2132,7 +2013,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2132
2013
  type: "action_attempt_expired";
2133
2014
  message: string;
2134
2015
  } | {
2135
- type: "no_card_on_encoder";
2016
+ type: "no_credential_on_encoder";
2136
2017
  message: string;
2137
2018
  };
2138
2019
  status: "error";
@@ -2171,6 +2052,10 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2171
2052
  message: string;
2172
2053
  warning_code: "being_deleted";
2173
2054
  created_at: string;
2055
+ } | {
2056
+ message: string;
2057
+ warning_code: "unknown_issue_with_credential";
2058
+ created_at: string;
2174
2059
  })[];
2175
2060
  display_name: string;
2176
2061
  workspace_id: string;
@@ -2191,6 +2076,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2191
2076
  card_id?: string | undefined;
2192
2077
  credential_id?: string | undefined;
2193
2078
  } | undefined;
2079
+ is_one_time_use?: boolean | undefined;
2194
2080
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2195
2081
  external_type_display_name?: string | undefined;
2196
2082
  acs_user_id?: string | undefined;
@@ -2224,6 +2110,10 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2224
2110
  message: string;
2225
2111
  warning_code: "being_deleted";
2226
2112
  created_at: string;
2113
+ } | {
2114
+ message: string;
2115
+ warning_code: "unknown_issue_with_credential";
2116
+ created_at: string;
2227
2117
  })[];
2228
2118
  display_name: string;
2229
2119
  workspace_id: string;
@@ -2244,6 +2134,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2244
2134
  card_id?: string | undefined;
2245
2135
  credential_id?: string | undefined;
2246
2136
  } | undefined;
2137
+ is_one_time_use?: boolean | undefined;
2247
2138
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | undefined;
2248
2139
  external_type_display_name?: string | undefined;
2249
2140
  acs_user_id?: string | undefined;
@@ -2265,7 +2156,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2265
2156
  type: "action_attempt_expired";
2266
2157
  message: string;
2267
2158
  } | {
2268
- type: "no_card_on_encoder";
2159
+ type: "no_credential_on_encoder";
2269
2160
  message: string;
2270
2161
  } | {
2271
2162
  type: "incompatible_card_format";
@@ -2296,69 +2187,6 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2296
2187
  action_attempt_id: string;
2297
2188
  result: null;
2298
2189
  action_type: "RESET_SANDBOX_WORKSPACE";
2299
- } | {
2300
- error: null;
2301
- status: "pending";
2302
- action_attempt_id: string;
2303
- result: null;
2304
- action_type: "SET_COOL";
2305
- } | {
2306
- error: null;
2307
- status: "success";
2308
- action_attempt_id: string;
2309
- result: {};
2310
- action_type: "SET_COOL";
2311
- } | {
2312
- error: {
2313
- type: string;
2314
- message: string;
2315
- };
2316
- status: "error";
2317
- action_attempt_id: string;
2318
- result: null;
2319
- action_type: "SET_COOL";
2320
- } | {
2321
- error: null;
2322
- status: "pending";
2323
- action_attempt_id: string;
2324
- result: null;
2325
- action_type: "SET_HEAT";
2326
- } | {
2327
- error: null;
2328
- status: "success";
2329
- action_attempt_id: string;
2330
- result: {};
2331
- action_type: "SET_HEAT";
2332
- } | {
2333
- error: {
2334
- type: string;
2335
- message: string;
2336
- };
2337
- status: "error";
2338
- action_attempt_id: string;
2339
- result: null;
2340
- action_type: "SET_HEAT";
2341
- } | {
2342
- error: null;
2343
- status: "pending";
2344
- action_attempt_id: string;
2345
- result: null;
2346
- action_type: "SET_HEAT_COOL";
2347
- } | {
2348
- error: null;
2349
- status: "success";
2350
- action_attempt_id: string;
2351
- result: {};
2352
- action_type: "SET_HEAT_COOL";
2353
- } | {
2354
- error: {
2355
- type: string;
2356
- message: string;
2357
- };
2358
- status: "error";
2359
- action_attempt_id: string;
2360
- result: null;
2361
- action_type: "SET_HEAT_COOL";
2362
2190
  } | {
2363
2191
  error: null;
2364
2192
  status: "pending";
@@ -2385,13 +2213,13 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2385
2213
  status: "pending";
2386
2214
  action_attempt_id: string;
2387
2215
  result: null;
2388
- action_type: "SET_THERMOSTAT_OFF";
2216
+ action_type: "SET_HVAC_MODE";
2389
2217
  } | {
2390
2218
  error: null;
2391
2219
  status: "success";
2392
2220
  action_attempt_id: string;
2393
2221
  result: {};
2394
- action_type: "SET_THERMOSTAT_OFF";
2222
+ action_type: "SET_HVAC_MODE";
2395
2223
  } | {
2396
2224
  error: {
2397
2225
  type: string;
@@ -2400,7 +2228,7 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
2400
2228
  status: "error";
2401
2229
  action_attempt_id: string;
2402
2230
  result: null;
2403
- action_type: "SET_THERMOSTAT_OFF";
2231
+ action_type: "SET_HVAC_MODE";
2404
2232
  } | {
2405
2233
  error: null;
2406
2234
  status: "pending";