@seamapi/http 2.25.0 → 2.26.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.
@@ -21,18 +21,7 @@ export type ActionAttempt =
21
21
  /**
22
22
  * Error associated with the action.
23
23
  */
24
- error: {
25
- /**
26
- * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
27
- */
28
- message: string
29
-
30
- /**
31
- * Type of the error.
32
- */
33
- type: string
34
- }
35
-
24
+ error: null
36
25
  /**
37
26
  * Result of the action.
38
27
  */
@@ -43,7 +32,7 @@ export type ActionAttempt =
43
32
  was_confirmed_by_device?: boolean | undefined
44
33
  }
45
34
 
46
- status: 'success' | 'pending' | 'error'
35
+ status: 'success'
47
36
  }
48
37
  | {
49
38
  /**
@@ -52,9 +41,31 @@ export type ActionAttempt =
52
41
  action_attempt_id: string
53
42
 
54
43
  /**
55
- * Action attempt to track the status of unlocking a door.
44
+ * Action attempt to track the status of locking a door.
56
45
  */
57
- action_type: 'UNLOCK_DOOR'
46
+ action_type: 'LOCK_DOOR'
47
+
48
+ /**
49
+ * Error associated with the action.
50
+ */
51
+ error: null
52
+ /**
53
+ * Result of the action.
54
+ */
55
+ result: null
56
+
57
+ status: 'pending'
58
+ }
59
+ | {
60
+ /**
61
+ * ID of the action attempt.
62
+ */
63
+ action_attempt_id: string
64
+
65
+ /**
66
+ * Action attempt to track the status of locking a door.
67
+ */
68
+ action_type: 'LOCK_DOOR'
58
69
 
59
70
  /**
60
71
  * Error associated with the action.
@@ -71,6 +82,28 @@ export type ActionAttempt =
71
82
  type: string
72
83
  }
73
84
 
85
+ /**
86
+ * Result of the action.
87
+ */
88
+ result: null
89
+
90
+ status: 'error'
91
+ }
92
+ | {
93
+ /**
94
+ * ID of the action attempt.
95
+ */
96
+ action_attempt_id: string
97
+
98
+ /**
99
+ * Action attempt to track the status of unlocking a door.
100
+ */
101
+ action_type: 'UNLOCK_DOOR'
102
+
103
+ /**
104
+ * Error associated with the action.
105
+ */
106
+ error: null
74
107
  /**
75
108
  * Result of the action.
76
109
  */
@@ -81,7 +114,7 @@ export type ActionAttempt =
81
114
  was_confirmed_by_device?: boolean | undefined
82
115
  }
83
116
 
84
- status: 'success' | 'pending' | 'error'
117
+ status: 'success'
85
118
  }
86
119
  | {
87
120
  /**
@@ -90,10 +123,35 @@ export type ActionAttempt =
90
123
  action_attempt_id: string
91
124
 
92
125
  /**
93
- * Action attempt to track the status of scanning a credential.
126
+ * Action attempt to track the status of unlocking a door.
94
127
  */
95
- action_type: 'SCAN_CREDENTIAL'
128
+ action_type: 'UNLOCK_DOOR'
129
+
130
+ /**
131
+ * Error associated with the action.
132
+ */
133
+ error: null
134
+ /**
135
+ * Result of the action.
136
+ */
137
+ result: null
138
+
139
+ status: 'pending'
140
+ }
141
+ | {
142
+ /**
143
+ * ID of the action attempt.
144
+ */
145
+ action_attempt_id: string
96
146
 
147
+ /**
148
+ * Action attempt to track the status of unlocking a door.
149
+ */
150
+ action_type: 'UNLOCK_DOOR'
151
+
152
+ /**
153
+ * Error associated with the action.
154
+ */
97
155
  error: {
98
156
  /**
99
157
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
@@ -101,17 +159,30 @@ export type ActionAttempt =
101
159
  message: string
102
160
 
103
161
  /**
104
- * Error type to indicate that the Seam Bridge is disconnected or cannot reach the access control system.
162
+ * Type of the error.
105
163
  */
106
- type:
107
- | 'uncategorized_error'
108
- | 'action_attempt_expired'
109
- | 'no_credential_on_encoder'
110
- | 'encoder_not_online'
111
- | 'encoder_communication_timeout'
112
- | 'bridge_disconnected'
164
+ type: string
113
165
  }
114
166
 
167
+ /**
168
+ * Result of the action.
169
+ */
170
+ result: null
171
+
172
+ status: 'error'
173
+ }
174
+ | {
175
+ /**
176
+ * ID of the action attempt.
177
+ */
178
+ action_attempt_id: string
179
+
180
+ /**
181
+ * Action attempt to track the status of scanning a credential.
182
+ */
183
+ action_type: 'SCAN_CREDENTIAL'
184
+
185
+ error: null
115
186
  /**
116
187
  * Result of scanning a card. If the attempt was successful, includes a snapshot of credential data read from the physical encoder, the corresponding data stored on Seam and the access system, and any associated warnings.
117
188
  */
@@ -468,7 +539,7 @@ export type ActionAttempt =
468
539
  }>
469
540
  }
470
541
 
471
- status: 'success' | 'pending' | 'error'
542
+ status: 'success'
472
543
  }
473
544
  | {
474
545
  /**
@@ -477,9 +548,28 @@ export type ActionAttempt =
477
548
  action_attempt_id: string
478
549
 
479
550
  /**
480
- * Action attempt to track the status of encoding credential data from the physical encoder onto a card.
551
+ * Action attempt to track the status of scanning a credential.
481
552
  */
482
- action_type: 'ENCODE_CREDENTIAL'
553
+ action_type: 'SCAN_CREDENTIAL'
554
+
555
+ error: null
556
+ /**
557
+ * Result of scanning a card. If the attempt was successful, includes a snapshot of credential data read from the physical encoder, the corresponding data stored on Seam and the access system, and any associated warnings.
558
+ */
559
+ result: null
560
+
561
+ status: 'pending'
562
+ }
563
+ | {
564
+ /**
565
+ * ID of the action attempt.
566
+ */
567
+ action_attempt_id: string
568
+
569
+ /**
570
+ * Action attempt to track the status of scanning a credential.
571
+ */
572
+ action_type: 'SCAN_CREDENTIAL'
483
573
 
484
574
  error: {
485
575
  /**
@@ -488,21 +578,36 @@ export type ActionAttempt =
488
578
  message: string
489
579
 
490
580
  /**
491
- * Error type to indicate that the credential was deleted and can no longer be encoded.
581
+ * Error type to indicate that the Seam Bridge is disconnected or cannot reach the access control system.
492
582
  */
493
583
  type:
494
584
  | 'uncategorized_error'
495
585
  | 'action_attempt_expired'
496
586
  | 'no_credential_on_encoder'
497
- | 'incompatible_card_format'
498
- | 'credential_cannot_be_reissued'
499
587
  | 'encoder_not_online'
500
588
  | 'encoder_communication_timeout'
501
589
  | 'bridge_disconnected'
502
- | 'encoding_interrupted'
503
- | 'credential_deleted'
504
590
  }
505
591
 
592
+ /**
593
+ * Result of scanning a card. If the attempt was successful, includes a snapshot of credential data read from the physical encoder, the corresponding data stored on Seam and the access system, and any associated warnings.
594
+ */
595
+ result: null
596
+
597
+ status: 'error'
598
+ }
599
+ | {
600
+ /**
601
+ * ID of the action attempt.
602
+ */
603
+ action_attempt_id: string
604
+
605
+ /**
606
+ * Action attempt to track the status of encoding credential data from the physical encoder onto a card.
607
+ */
608
+ action_type: 'ENCODE_CREDENTIAL'
609
+
610
+ error: null
506
611
  /**
507
612
  * Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card.
508
613
  */
@@ -757,7 +862,7 @@ export type ActionAttempt =
757
862
  workspace_id: string
758
863
  }
759
864
 
760
- status: 'success' | 'pending' | 'error'
865
+ status: 'success'
761
866
  }
762
867
  | {
763
868
  /**
@@ -766,9 +871,28 @@ export type ActionAttempt =
766
871
  action_attempt_id: string
767
872
 
768
873
  /**
769
- * Action attempt to track the status of scanning a physical card and assigning the credential to an ACS user.
874
+ * Action attempt to track the status of encoding credential data from the physical encoder onto a card.
770
875
  */
771
- action_type: 'SCAN_TO_ASSIGN_CREDENTIAL'
876
+ action_type: 'ENCODE_CREDENTIAL'
877
+
878
+ error: null
879
+ /**
880
+ * Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card.
881
+ */
882
+ result: null
883
+
884
+ status: 'pending'
885
+ }
886
+ | {
887
+ /**
888
+ * ID of the action attempt.
889
+ */
890
+ action_attempt_id: string
891
+
892
+ /**
893
+ * Action attempt to track the status of encoding credential data from the physical encoder onto a card.
894
+ */
895
+ action_type: 'ENCODE_CREDENTIAL'
772
896
 
773
897
  error: {
774
898
  /**
@@ -777,14 +901,40 @@ export type ActionAttempt =
777
901
  message: string
778
902
 
779
903
  /**
780
- * Error type to indicate that there is no credential on the encoder.
904
+ * Error type to indicate that the credential was deleted and can no longer be encoded.
781
905
  */
782
906
  type:
783
907
  | 'uncategorized_error'
784
908
  | 'action_attempt_expired'
785
909
  | 'no_credential_on_encoder'
910
+ | 'incompatible_card_format'
911
+ | 'credential_cannot_be_reissued'
912
+ | 'encoder_not_online'
913
+ | 'encoder_communication_timeout'
914
+ | 'bridge_disconnected'
915
+ | 'encoding_interrupted'
916
+ | 'credential_deleted'
786
917
  }
787
918
 
919
+ /**
920
+ * Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card.
921
+ */
922
+ result: null
923
+
924
+ status: 'error'
925
+ }
926
+ | {
927
+ /**
928
+ * ID of the action attempt.
929
+ */
930
+ action_attempt_id: string
931
+
932
+ /**
933
+ * Action attempt to track the status of scanning a physical card and assigning the credential to an ACS user.
934
+ */
935
+ action_type: 'SCAN_TO_ASSIGN_CREDENTIAL'
936
+
937
+ error: null
788
938
  /**
789
939
  * Result of a scan to assign attempt. If the attempt was successful, includes the credential data that was scanned and assigned.
790
940
  */
@@ -1041,7 +1191,7 @@ export type ActionAttempt =
1041
1191
  workspace_id: string
1042
1192
  }
1043
1193
 
1044
- status: 'success' | 'pending' | 'error'
1194
+ status: 'success'
1045
1195
  }
1046
1196
  | {
1047
1197
  /**
@@ -1050,9 +1200,28 @@ export type ActionAttempt =
1050
1200
  action_attempt_id: string
1051
1201
 
1052
1202
  /**
1053
- * Action attempt to track the status of assigning a pre-registered card credential to an access method.
1203
+ * Action attempt to track the status of scanning a physical card and assigning the credential to an ACS user.
1054
1204
  */
1055
- action_type: 'ASSIGN_CREDENTIAL'
1205
+ action_type: 'SCAN_TO_ASSIGN_CREDENTIAL'
1206
+
1207
+ error: null
1208
+ /**
1209
+ * Result of a scan to assign attempt. If the attempt was successful, includes the credential data that was scanned and assigned.
1210
+ */
1211
+ result: null
1212
+
1213
+ status: 'pending'
1214
+ }
1215
+ | {
1216
+ /**
1217
+ * ID of the action attempt.
1218
+ */
1219
+ action_attempt_id: string
1220
+
1221
+ /**
1222
+ * Action attempt to track the status of scanning a physical card and assigning the credential to an ACS user.
1223
+ */
1224
+ action_type: 'SCAN_TO_ASSIGN_CREDENTIAL'
1056
1225
 
1057
1226
  error: {
1058
1227
  /**
@@ -1061,14 +1230,33 @@ export type ActionAttempt =
1061
1230
  message: string
1062
1231
 
1063
1232
  /**
1064
- * Error type to indicate that no matching credential was found.
1233
+ * Error type to indicate that there is no credential on the encoder.
1065
1234
  */
1066
1235
  type:
1067
1236
  | 'uncategorized_error'
1068
1237
  | 'action_attempt_expired'
1069
- | 'credential_not_found'
1238
+ | 'no_credential_on_encoder'
1070
1239
  }
1071
1240
 
1241
+ /**
1242
+ * Result of a scan to assign attempt. If the attempt was successful, includes the credential data that was scanned and assigned.
1243
+ */
1244
+ result: null
1245
+
1246
+ status: 'error'
1247
+ }
1248
+ | {
1249
+ /**
1250
+ * ID of the action attempt.
1251
+ */
1252
+ action_attempt_id: string
1253
+
1254
+ /**
1255
+ * Action attempt to track the status of assigning a pre-registered card credential to an access method.
1256
+ */
1257
+ action_type: 'ASSIGN_CREDENTIAL'
1258
+
1259
+ error: null
1072
1260
  /**
1073
1261
  * Result of assigning a credential. If successful, includes the updated access method with the assigned credential.
1074
1262
  */
@@ -1243,7 +1431,7 @@ export type ActionAttempt =
1243
1431
  workspace_id: string
1244
1432
  }
1245
1433
 
1246
- status: 'success' | 'pending' | 'error'
1434
+ status: 'success'
1247
1435
  }
1248
1436
  | {
1249
1437
  /**
@@ -1252,31 +1440,17 @@ export type ActionAttempt =
1252
1440
  action_attempt_id: string
1253
1441
 
1254
1442
  /**
1255
- * Action attempt to track the status of resetting a sandbox workspace.
1256
- */
1257
- action_type: 'RESET_SANDBOX_WORKSPACE'
1258
-
1259
- /**
1260
- * Error associated with the action.
1443
+ * Action attempt to track the status of assigning a pre-registered card credential to an access method.
1261
1444
  */
1262
- error: {
1263
- /**
1264
- * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1265
- */
1266
- message: string
1267
-
1268
- /**
1269
- * Type of the error.
1270
- */
1271
- type: string
1272
- }
1445
+ action_type: 'ASSIGN_CREDENTIAL'
1273
1446
 
1447
+ error: null
1274
1448
  /**
1275
- * Result of the action.
1449
+ * Result of assigning a credential. If successful, includes the updated access method with the assigned credential.
1276
1450
  */
1277
- result: {}
1451
+ result: null
1278
1452
 
1279
- status: 'success' | 'pending' | 'error'
1453
+ status: 'pending'
1280
1454
  }
1281
1455
  | {
1282
1456
  /**
@@ -1285,9 +1459,702 @@ export type ActionAttempt =
1285
1459
  action_attempt_id: string
1286
1460
 
1287
1461
  /**
1288
- * Action attempt to track the status of setting the fan mode on a thermostat.
1462
+ * Action attempt to track the status of assigning a pre-registered card credential to an access method.
1463
+ */
1464
+ action_type: 'ASSIGN_CREDENTIAL'
1465
+
1466
+ error: {
1467
+ /**
1468
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1469
+ */
1470
+ message: string
1471
+
1472
+ /**
1473
+ * Error type to indicate that no matching credential was found.
1474
+ */
1475
+ type:
1476
+ | 'uncategorized_error'
1477
+ | 'action_attempt_expired'
1478
+ | 'credential_not_found'
1479
+ }
1480
+
1481
+ /**
1482
+ * Result of assigning a credential. If successful, includes the updated access method with the assigned credential.
1483
+ */
1484
+ result: null
1485
+
1486
+ status: 'error'
1487
+ }
1488
+ | {
1489
+ /**
1490
+ * ID of the action attempt.
1491
+ */
1492
+ action_attempt_id: string
1493
+
1494
+ /**
1495
+ * Action attempt to track the status of resetting a sandbox workspace.
1496
+ */
1497
+ action_type: 'RESET_SANDBOX_WORKSPACE'
1498
+
1499
+ /**
1500
+ * Error associated with the action.
1501
+ */
1502
+ error: null
1503
+ /**
1504
+ * Result of the action.
1505
+ */
1506
+ result: {}
1507
+
1508
+ status: 'success'
1509
+ }
1510
+ | {
1511
+ /**
1512
+ * ID of the action attempt.
1513
+ */
1514
+ action_attempt_id: string
1515
+
1516
+ /**
1517
+ * Action attempt to track the status of resetting a sandbox workspace.
1518
+ */
1519
+ action_type: 'RESET_SANDBOX_WORKSPACE'
1520
+
1521
+ /**
1522
+ * Error associated with the action.
1523
+ */
1524
+ error: null
1525
+ /**
1526
+ * Result of the action.
1527
+ */
1528
+ result: null
1529
+
1530
+ status: 'pending'
1531
+ }
1532
+ | {
1533
+ /**
1534
+ * ID of the action attempt.
1535
+ */
1536
+ action_attempt_id: string
1537
+
1538
+ /**
1539
+ * Action attempt to track the status of resetting a sandbox workspace.
1540
+ */
1541
+ action_type: 'RESET_SANDBOX_WORKSPACE'
1542
+
1543
+ /**
1544
+ * Error associated with the action.
1545
+ */
1546
+ error: {
1547
+ /**
1548
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1549
+ */
1550
+ message: string
1551
+
1552
+ /**
1553
+ * Type of the error.
1554
+ */
1555
+ type: string
1556
+ }
1557
+
1558
+ /**
1559
+ * Result of the action.
1560
+ */
1561
+ result: null
1562
+
1563
+ status: 'error'
1564
+ }
1565
+ | {
1566
+ /**
1567
+ * ID of the action attempt.
1568
+ */
1569
+ action_attempt_id: string
1570
+
1571
+ /**
1572
+ * Action attempt to track the status of setting the fan mode on a thermostat.
1573
+ */
1574
+ action_type: 'SET_FAN_MODE'
1575
+
1576
+ /**
1577
+ * Error associated with the action.
1578
+ */
1579
+ error: null
1580
+ /**
1581
+ * Result of the action.
1582
+ */
1583
+ result: {}
1584
+
1585
+ status: 'success'
1586
+ }
1587
+ | {
1588
+ /**
1589
+ * ID of the action attempt.
1590
+ */
1591
+ action_attempt_id: string
1592
+
1593
+ /**
1594
+ * Action attempt to track the status of setting the fan mode on a thermostat.
1595
+ */
1596
+ action_type: 'SET_FAN_MODE'
1597
+
1598
+ /**
1599
+ * Error associated with the action.
1600
+ */
1601
+ error: null
1602
+ /**
1603
+ * Result of the action.
1604
+ */
1605
+ result: null
1606
+
1607
+ status: 'pending'
1608
+ }
1609
+ | {
1610
+ /**
1611
+ * ID of the action attempt.
1612
+ */
1613
+ action_attempt_id: string
1614
+
1615
+ /**
1616
+ * Action attempt to track the status of setting the fan mode on a thermostat.
1617
+ */
1618
+ action_type: 'SET_FAN_MODE'
1619
+
1620
+ /**
1621
+ * Error associated with the action.
1622
+ */
1623
+ error: {
1624
+ /**
1625
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1626
+ */
1627
+ message: string
1628
+
1629
+ /**
1630
+ * Type of the error.
1631
+ */
1632
+ type: string
1633
+ }
1634
+
1635
+ /**
1636
+ * Result of the action.
1637
+ */
1638
+ result: null
1639
+
1640
+ status: 'error'
1641
+ }
1642
+ | {
1643
+ /**
1644
+ * ID of the action attempt.
1645
+ */
1646
+ action_attempt_id: string
1647
+
1648
+ /**
1649
+ * Action attempt to track the status of setting the HVAC mode on a thermostat.
1650
+ */
1651
+ action_type: 'SET_HVAC_MODE'
1652
+
1653
+ /**
1654
+ * Error associated with the action.
1655
+ */
1656
+ error: null
1657
+ /**
1658
+ * Result of the action.
1659
+ */
1660
+ result: {}
1661
+
1662
+ status: 'success'
1663
+ }
1664
+ | {
1665
+ /**
1666
+ * ID of the action attempt.
1667
+ */
1668
+ action_attempt_id: string
1669
+
1670
+ /**
1671
+ * Action attempt to track the status of setting the HVAC mode on a thermostat.
1672
+ */
1673
+ action_type: 'SET_HVAC_MODE'
1674
+
1675
+ /**
1676
+ * Error associated with the action.
1677
+ */
1678
+ error: null
1679
+ /**
1680
+ * Result of the action.
1681
+ */
1682
+ result: null
1683
+
1684
+ status: 'pending'
1685
+ }
1686
+ | {
1687
+ /**
1688
+ * ID of the action attempt.
1689
+ */
1690
+ action_attempt_id: string
1691
+
1692
+ /**
1693
+ * Action attempt to track the status of setting the HVAC mode on a thermostat.
1694
+ */
1695
+ action_type: 'SET_HVAC_MODE'
1696
+
1697
+ /**
1698
+ * Error associated with the action.
1699
+ */
1700
+ error: {
1701
+ /**
1702
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1703
+ */
1704
+ message: string
1705
+
1706
+ /**
1707
+ * Type of the error.
1708
+ */
1709
+ type: string
1710
+ }
1711
+
1712
+ /**
1713
+ * Result of the action.
1714
+ */
1715
+ result: null
1716
+
1717
+ status: 'error'
1718
+ }
1719
+ | {
1720
+ /**
1721
+ * ID of the action attempt.
1722
+ */
1723
+ action_attempt_id: string
1724
+
1725
+ /**
1726
+ * Action attempt to track the status of a climate preset activation.
1727
+ */
1728
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
1729
+
1730
+ /**
1731
+ * Error associated with the action.
1732
+ */
1733
+ error: null
1734
+ /**
1735
+ * Result of the action.
1736
+ */
1737
+ result: {}
1738
+
1739
+ status: 'success'
1740
+ }
1741
+ | {
1742
+ /**
1743
+ * ID of the action attempt.
1744
+ */
1745
+ action_attempt_id: string
1746
+
1747
+ /**
1748
+ * Action attempt to track the status of a climate preset activation.
1749
+ */
1750
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
1751
+
1752
+ /**
1753
+ * Error associated with the action.
1754
+ */
1755
+ error: null
1756
+ /**
1757
+ * Result of the action.
1758
+ */
1759
+ result: null
1760
+
1761
+ status: 'pending'
1762
+ }
1763
+ | {
1764
+ /**
1765
+ * ID of the action attempt.
1766
+ */
1767
+ action_attempt_id: string
1768
+
1769
+ /**
1770
+ * Action attempt to track the status of a climate preset activation.
1771
+ */
1772
+ action_type: 'ACTIVATE_CLIMATE_PRESET'
1773
+
1774
+ /**
1775
+ * Error associated with the action.
1776
+ */
1777
+ error: {
1778
+ /**
1779
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1780
+ */
1781
+ message: string
1782
+
1783
+ /**
1784
+ * Type of the error.
1785
+ */
1786
+ type: string
1787
+ }
1788
+
1789
+ /**
1790
+ * Result of the action.
1791
+ */
1792
+ result: null
1793
+
1794
+ status: 'error'
1795
+ }
1796
+ | {
1797
+ /**
1798
+ * ID of the action attempt.
1799
+ */
1800
+ action_attempt_id: string
1801
+
1802
+ /**
1803
+ * Action attempt to track the status of simulating a keypad code entry.
1804
+ */
1805
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
1806
+
1807
+ /**
1808
+ * Error associated with the action.
1809
+ */
1810
+ error: null
1811
+ /**
1812
+ * Result of the action.
1813
+ */
1814
+ result: {}
1815
+
1816
+ status: 'success'
1817
+ }
1818
+ | {
1819
+ /**
1820
+ * ID of the action attempt.
1821
+ */
1822
+ action_attempt_id: string
1823
+
1824
+ /**
1825
+ * Action attempt to track the status of simulating a keypad code entry.
1826
+ */
1827
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
1828
+
1829
+ /**
1830
+ * Error associated with the action.
1831
+ */
1832
+ error: null
1833
+ /**
1834
+ * Result of the action.
1835
+ */
1836
+ result: null
1837
+
1838
+ status: 'pending'
1839
+ }
1840
+ | {
1841
+ /**
1842
+ * ID of the action attempt.
1843
+ */
1844
+ action_attempt_id: string
1845
+
1846
+ /**
1847
+ * Action attempt to track the status of simulating a keypad code entry.
1848
+ */
1849
+ action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
1850
+
1851
+ /**
1852
+ * Error associated with the action.
1853
+ */
1854
+ error: {
1855
+ /**
1856
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1857
+ */
1858
+ message: string
1859
+
1860
+ /**
1861
+ * Type of the error.
1862
+ */
1863
+ type: string
1864
+ }
1865
+
1866
+ /**
1867
+ * Result of the action.
1868
+ */
1869
+ result: null
1870
+
1871
+ status: 'error'
1872
+ }
1873
+ | {
1874
+ /**
1875
+ * ID of the action attempt.
1876
+ */
1877
+ action_attempt_id: string
1878
+
1879
+ /**
1880
+ * Action attempt to track the status of simulating a manual lock action using a keypad.
1881
+ */
1882
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
1883
+
1884
+ /**
1885
+ * Error associated with the action.
1886
+ */
1887
+ error: null
1888
+ /**
1889
+ * Result of the action.
1890
+ */
1891
+ result: {}
1892
+
1893
+ status: 'success'
1894
+ }
1895
+ | {
1896
+ /**
1897
+ * ID of the action attempt.
1898
+ */
1899
+ action_attempt_id: string
1900
+
1901
+ /**
1902
+ * Action attempt to track the status of simulating a manual lock action using a keypad.
1903
+ */
1904
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
1905
+
1906
+ /**
1907
+ * Error associated with the action.
1908
+ */
1909
+ error: null
1910
+ /**
1911
+ * Result of the action.
1912
+ */
1913
+ result: null
1914
+
1915
+ status: 'pending'
1916
+ }
1917
+ | {
1918
+ /**
1919
+ * ID of the action attempt.
1920
+ */
1921
+ action_attempt_id: string
1922
+
1923
+ /**
1924
+ * Action attempt to track the status of simulating a manual lock action using a keypad.
1925
+ */
1926
+ action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
1927
+
1928
+ /**
1929
+ * Error associated with the action.
1930
+ */
1931
+ error: {
1932
+ /**
1933
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1934
+ */
1935
+ message: string
1936
+
1937
+ /**
1938
+ * Type of the error.
1939
+ */
1940
+ type: string
1941
+ }
1942
+
1943
+ /**
1944
+ * Result of the action.
1945
+ */
1946
+ result: null
1947
+
1948
+ status: 'error'
1949
+ }
1950
+ | {
1951
+ /**
1952
+ * ID of the action attempt.
1953
+ */
1954
+ action_attempt_id: string
1955
+
1956
+ /**
1957
+ * Action attempt to track the status of pushing thermostat programs.
1958
+ */
1959
+ action_type: 'PUSH_THERMOSTAT_PROGRAMS'
1960
+
1961
+ /**
1962
+ * Error associated with the action.
1963
+ */
1964
+ error: null
1965
+ /**
1966
+ * Result of the action.
1967
+ */
1968
+ result: {}
1969
+
1970
+ status: 'success'
1971
+ }
1972
+ | {
1973
+ /**
1974
+ * ID of the action attempt.
1975
+ */
1976
+ action_attempt_id: string
1977
+
1978
+ /**
1979
+ * Action attempt to track the status of pushing thermostat programs.
1980
+ */
1981
+ action_type: 'PUSH_THERMOSTAT_PROGRAMS'
1982
+
1983
+ /**
1984
+ * Error associated with the action.
1985
+ */
1986
+ error: null
1987
+ /**
1988
+ * Result of the action.
1989
+ */
1990
+ result: null
1991
+
1992
+ status: 'pending'
1993
+ }
1994
+ | {
1995
+ /**
1996
+ * ID of the action attempt.
1997
+ */
1998
+ action_attempt_id: string
1999
+
2000
+ /**
2001
+ * Action attempt to track the status of pushing thermostat programs.
2002
+ */
2003
+ action_type: 'PUSH_THERMOSTAT_PROGRAMS'
2004
+
2005
+ /**
2006
+ * Error associated with the action.
2007
+ */
2008
+ error: {
2009
+ /**
2010
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
2011
+ */
2012
+ message: string
2013
+
2014
+ /**
2015
+ * Type of the error.
2016
+ */
2017
+ type: string
2018
+ }
2019
+
2020
+ /**
2021
+ * Result of the action.
2022
+ */
2023
+ result: null
2024
+
2025
+ status: 'error'
2026
+ }
2027
+ | {
2028
+ /**
2029
+ * ID of the action attempt.
2030
+ */
2031
+ action_attempt_id: string
2032
+
2033
+ /**
2034
+ * Action attempt to track the status of configuring the auto-lock on a lock.
2035
+ */
2036
+ action_type: 'CONFIGURE_AUTO_LOCK'
2037
+
2038
+ /**
2039
+ * Error associated with the action.
2040
+ */
2041
+ error: null
2042
+ /**
2043
+ * Result of the action.
2044
+ */
2045
+ result: {}
2046
+
2047
+ status: 'success'
2048
+ }
2049
+ | {
2050
+ /**
2051
+ * ID of the action attempt.
2052
+ */
2053
+ action_attempt_id: string
2054
+
2055
+ /**
2056
+ * Action attempt to track the status of configuring the auto-lock on a lock.
2057
+ */
2058
+ action_type: 'CONFIGURE_AUTO_LOCK'
2059
+
2060
+ /**
2061
+ * Error associated with the action.
2062
+ */
2063
+ error: null
2064
+ /**
2065
+ * Result of the action.
2066
+ */
2067
+ result: null
2068
+
2069
+ status: 'pending'
2070
+ }
2071
+ | {
2072
+ /**
2073
+ * ID of the action attempt.
2074
+ */
2075
+ action_attempt_id: string
2076
+
2077
+ /**
2078
+ * Action attempt to track the status of configuring the auto-lock on a lock.
2079
+ */
2080
+ action_type: 'CONFIGURE_AUTO_LOCK'
2081
+
2082
+ /**
2083
+ * Error associated with the action.
2084
+ */
2085
+ error: {
2086
+ /**
2087
+ * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
2088
+ */
2089
+ message: string
2090
+
2091
+ /**
2092
+ * Type of the error.
2093
+ */
2094
+ type: string
2095
+ }
2096
+
2097
+ /**
2098
+ * Result of the action.
2099
+ */
2100
+ result: null
2101
+
2102
+ status: 'error'
2103
+ }
2104
+ | {
2105
+ /**
2106
+ * ID of the action attempt.
2107
+ */
2108
+ action_attempt_id: string
2109
+
2110
+ /**
2111
+ * Syncing access codes is pending.
2112
+ */
2113
+ action_type: 'SYNC_ACCESS_CODES'
2114
+
2115
+ /**
2116
+ * Error associated with the action.
2117
+ */
2118
+ error: null
2119
+ /**
2120
+ * Result of the action.
2121
+ */
2122
+ result: {}
2123
+
2124
+ status: 'success'
2125
+ }
2126
+ | {
2127
+ /**
2128
+ * ID of the action attempt.
2129
+ */
2130
+ action_attempt_id: string
2131
+
2132
+ /**
2133
+ * Syncing access codes is pending.
2134
+ */
2135
+ action_type: 'SYNC_ACCESS_CODES'
2136
+
2137
+ /**
2138
+ * Error associated with the action.
2139
+ */
2140
+ error: null
2141
+ /**
2142
+ * Result of the action.
2143
+ */
2144
+ result: null
2145
+
2146
+ status: 'pending'
2147
+ }
2148
+ | {
2149
+ /**
2150
+ * ID of the action attempt.
1289
2151
  */
1290
- action_type: 'SET_FAN_MODE'
2152
+ action_attempt_id: string
2153
+
2154
+ /**
2155
+ * Syncing access codes is pending.
2156
+ */
2157
+ action_type: 'SYNC_ACCESS_CODES'
1291
2158
 
1292
2159
  /**
1293
2160
  * Error associated with the action.
@@ -1307,9 +2174,9 @@ export type ActionAttempt =
1307
2174
  /**
1308
2175
  * Result of the action.
1309
2176
  */
1310
- result: {}
2177
+ result: null
1311
2178
 
1312
- status: 'success' | 'pending' | 'error'
2179
+ status: 'error'
1313
2180
  }
1314
2181
  | {
1315
2182
  /**
@@ -1318,31 +2185,47 @@ export type ActionAttempt =
1318
2185
  action_attempt_id: string
1319
2186
 
1320
2187
  /**
1321
- * Action attempt to track the status of setting the HVAC mode on a thermostat.
2188
+ * Creating an access code is pending.
1322
2189
  */
1323
- action_type: 'SET_HVAC_MODE'
2190
+ action_type: 'CREATE_ACCESS_CODE'
1324
2191
 
1325
2192
  /**
1326
2193
  * Error associated with the action.
1327
2194
  */
1328
- error: {
1329
- /**
1330
- * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1331
- */
1332
- message: string
1333
-
2195
+ error: null
2196
+ /**
2197
+ * Result of the action.
2198
+ */
2199
+ result: {
1334
2200
  /**
1335
- * Type of the error.
2201
+ * Created access code.
1336
2202
  */
1337
- type: string
2203
+ access_code: Record<string, unknown>
1338
2204
  }
1339
2205
 
2206
+ status: 'success'
2207
+ }
2208
+ | {
2209
+ /**
2210
+ * ID of the action attempt.
2211
+ */
2212
+ action_attempt_id: string
2213
+
2214
+ /**
2215
+ * Creating an access code is pending.
2216
+ */
2217
+ action_type: 'CREATE_ACCESS_CODE'
2218
+
2219
+ /**
2220
+ * Error associated with the action.
2221
+ */
2222
+ error: null
1340
2223
  /**
1341
2224
  * Result of the action.
1342
2225
  */
1343
- result: {}
2226
+ result: null
1344
2227
 
1345
- status: 'success' | 'pending' | 'error'
2228
+ status: 'pending'
1346
2229
  }
1347
2230
  | {
1348
2231
  /**
@@ -1351,9 +2234,9 @@ export type ActionAttempt =
1351
2234
  action_attempt_id: string
1352
2235
 
1353
2236
  /**
1354
- * Action attempt to track the status of a climate preset activation.
2237
+ * Creating an access code is pending.
1355
2238
  */
1356
- action_type: 'ACTIVATE_CLIMATE_PRESET'
2239
+ action_type: 'CREATE_ACCESS_CODE'
1357
2240
 
1358
2241
  /**
1359
2242
  * Error associated with the action.
@@ -1373,9 +2256,9 @@ export type ActionAttempt =
1373
2256
  /**
1374
2257
  * Result of the action.
1375
2258
  */
1376
- result: {}
2259
+ result: null
1377
2260
 
1378
- status: 'success' | 'pending' | 'error'
2261
+ status: 'error'
1379
2262
  }
1380
2263
  | {
1381
2264
  /**
@@ -1384,31 +2267,42 @@ export type ActionAttempt =
1384
2267
  action_attempt_id: string
1385
2268
 
1386
2269
  /**
1387
- * Action attempt to track the status of simulating a keypad code entry.
2270
+ * Deleting an access code is pending.
1388
2271
  */
1389
- action_type: 'SIMULATE_KEYPAD_CODE_ENTRY'
2272
+ action_type: 'DELETE_ACCESS_CODE'
1390
2273
 
1391
2274
  /**
1392
2275
  * Error associated with the action.
1393
2276
  */
1394
- error: {
1395
- /**
1396
- * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1397
- */
1398
- message: string
2277
+ error: null
2278
+ /**
2279
+ * Result of the action.
2280
+ */
2281
+ result: {}
1399
2282
 
1400
- /**
1401
- * Type of the error.
1402
- */
1403
- type: string
1404
- }
2283
+ status: 'success'
2284
+ }
2285
+ | {
2286
+ /**
2287
+ * ID of the action attempt.
2288
+ */
2289
+ action_attempt_id: string
2290
+
2291
+ /**
2292
+ * Deleting an access code is pending.
2293
+ */
2294
+ action_type: 'DELETE_ACCESS_CODE'
1405
2295
 
2296
+ /**
2297
+ * Error associated with the action.
2298
+ */
2299
+ error: null
1406
2300
  /**
1407
2301
  * Result of the action.
1408
2302
  */
1409
- result: {}
2303
+ result: null
1410
2304
 
1411
- status: 'success' | 'pending' | 'error'
2305
+ status: 'pending'
1412
2306
  }
1413
2307
  | {
1414
2308
  /**
@@ -1417,9 +2311,9 @@ export type ActionAttempt =
1417
2311
  action_attempt_id: string
1418
2312
 
1419
2313
  /**
1420
- * Action attempt to track the status of simulating a manual lock action using a keypad.
2314
+ * Deleting an access code is pending.
1421
2315
  */
1422
- action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD'
2316
+ action_type: 'DELETE_ACCESS_CODE'
1423
2317
 
1424
2318
  /**
1425
2319
  * Error associated with the action.
@@ -1439,9 +2333,9 @@ export type ActionAttempt =
1439
2333
  /**
1440
2334
  * Result of the action.
1441
2335
  */
1442
- result: {}
2336
+ result: null
1443
2337
 
1444
- status: 'success' | 'pending' | 'error'
2338
+ status: 'error'
1445
2339
  }
1446
2340
  | {
1447
2341
  /**
@@ -1450,31 +2344,47 @@ export type ActionAttempt =
1450
2344
  action_attempt_id: string
1451
2345
 
1452
2346
  /**
1453
- * Action attempt to track the status of pushing thermostat programs.
2347
+ * Updating an access code is pending.
1454
2348
  */
1455
- action_type: 'PUSH_THERMOSTAT_PROGRAMS'
2349
+ action_type: 'UPDATE_ACCESS_CODE'
1456
2350
 
1457
2351
  /**
1458
2352
  * Error associated with the action.
1459
2353
  */
1460
- error: {
1461
- /**
1462
- * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1463
- */
1464
- message: string
1465
-
2354
+ error: null
2355
+ /**
2356
+ * Result of the action.
2357
+ */
2358
+ result: {
1466
2359
  /**
1467
- * Type of the error.
2360
+ * Updated access code.
1468
2361
  */
1469
- type: string
2362
+ access_code?: Record<string, unknown> | undefined
1470
2363
  }
1471
2364
 
2365
+ status: 'success'
2366
+ }
2367
+ | {
2368
+ /**
2369
+ * ID of the action attempt.
2370
+ */
2371
+ action_attempt_id: string
2372
+
2373
+ /**
2374
+ * Updating an access code is pending.
2375
+ */
2376
+ action_type: 'UPDATE_ACCESS_CODE'
2377
+
2378
+ /**
2379
+ * Error associated with the action.
2380
+ */
2381
+ error: null
1472
2382
  /**
1473
2383
  * Result of the action.
1474
2384
  */
1475
- result: {}
2385
+ result: null
1476
2386
 
1477
- status: 'success' | 'pending' | 'error'
2387
+ status: 'pending'
1478
2388
  }
1479
2389
  | {
1480
2390
  /**
@@ -1483,9 +2393,9 @@ export type ActionAttempt =
1483
2393
  action_attempt_id: string
1484
2394
 
1485
2395
  /**
1486
- * Action attempt to track the status of configuring the auto-lock on a lock.
2396
+ * Updating an access code is pending.
1487
2397
  */
1488
- action_type: 'CONFIGURE_AUTO_LOCK'
2398
+ action_type: 'UPDATE_ACCESS_CODE'
1489
2399
 
1490
2400
  /**
1491
2401
  * Error associated with the action.
@@ -1505,9 +2415,9 @@ export type ActionAttempt =
1505
2415
  /**
1506
2416
  * Result of the action.
1507
2417
  */
1508
- result: {}
2418
+ result: null
1509
2419
 
1510
- status: 'success' | 'pending' | 'error'
2420
+ status: 'error'
1511
2421
  }
1512
2422
  | {
1513
2423
  /**
@@ -1516,31 +2426,47 @@ export type ActionAttempt =
1516
2426
  action_attempt_id: string
1517
2427
 
1518
2428
  /**
1519
- * Syncing access codes is pending.
2429
+ * Creating a noise threshold is pending.
1520
2430
  */
1521
- action_type: 'SYNC_ACCESS_CODES'
2431
+ action_type: 'CREATE_NOISE_THRESHOLD'
1522
2432
 
1523
2433
  /**
1524
2434
  * Error associated with the action.
1525
2435
  */
1526
- error: {
1527
- /**
1528
- * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1529
- */
1530
- message: string
1531
-
2436
+ error: null
2437
+ /**
2438
+ * Result of the action.
2439
+ */
2440
+ result: {
1532
2441
  /**
1533
- * Type of the error.
2442
+ * Created noise threshold.
1534
2443
  */
1535
- type: string
2444
+ noise_threshold: Record<string, unknown>
1536
2445
  }
1537
2446
 
2447
+ status: 'success'
2448
+ }
2449
+ | {
2450
+ /**
2451
+ * ID of the action attempt.
2452
+ */
2453
+ action_attempt_id: string
2454
+
2455
+ /**
2456
+ * Creating a noise threshold is pending.
2457
+ */
2458
+ action_type: 'CREATE_NOISE_THRESHOLD'
2459
+
2460
+ /**
2461
+ * Error associated with the action.
2462
+ */
2463
+ error: null
1538
2464
  /**
1539
2465
  * Result of the action.
1540
2466
  */
1541
- result: {}
2467
+ result: null
1542
2468
 
1543
- status: 'success' | 'pending' | 'error'
2469
+ status: 'pending'
1544
2470
  }
1545
2471
  | {
1546
2472
  /**
@@ -1549,9 +2475,9 @@ export type ActionAttempt =
1549
2475
  action_attempt_id: string
1550
2476
 
1551
2477
  /**
1552
- * Creating an access code is pending.
2478
+ * Creating a noise threshold is pending.
1553
2479
  */
1554
- action_type: 'CREATE_ACCESS_CODE'
2480
+ action_type: 'CREATE_NOISE_THRESHOLD'
1555
2481
 
1556
2482
  /**
1557
2483
  * Error associated with the action.
@@ -1571,14 +2497,9 @@ export type ActionAttempt =
1571
2497
  /**
1572
2498
  * Result of the action.
1573
2499
  */
1574
- result: {
1575
- /**
1576
- * Created access code.
1577
- */
1578
- access_code: Record<string, unknown>
1579
- }
2500
+ result: null
1580
2501
 
1581
- status: 'success' | 'pending' | 'error'
2502
+ status: 'error'
1582
2503
  }
1583
2504
  | {
1584
2505
  /**
@@ -1587,31 +2508,42 @@ export type ActionAttempt =
1587
2508
  action_attempt_id: string
1588
2509
 
1589
2510
  /**
1590
- * Deleting an access code is pending.
2511
+ * Deleting a noise threshold is pending.
1591
2512
  */
1592
- action_type: 'DELETE_ACCESS_CODE'
2513
+ action_type: 'DELETE_NOISE_THRESHOLD'
1593
2514
 
1594
2515
  /**
1595
2516
  * Error associated with the action.
1596
2517
  */
1597
- error: {
1598
- /**
1599
- * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1600
- */
1601
- message: string
2518
+ error: null
2519
+ /**
2520
+ * Result of the action.
2521
+ */
2522
+ result: {}
1602
2523
 
1603
- /**
1604
- * Type of the error.
1605
- */
1606
- type: string
1607
- }
2524
+ status: 'success'
2525
+ }
2526
+ | {
2527
+ /**
2528
+ * ID of the action attempt.
2529
+ */
2530
+ action_attempt_id: string
2531
+
2532
+ /**
2533
+ * Deleting a noise threshold is pending.
2534
+ */
2535
+ action_type: 'DELETE_NOISE_THRESHOLD'
1608
2536
 
2537
+ /**
2538
+ * Error associated with the action.
2539
+ */
2540
+ error: null
1609
2541
  /**
1610
2542
  * Result of the action.
1611
2543
  */
1612
- result: {}
2544
+ result: null
1613
2545
 
1614
- status: 'success' | 'pending' | 'error'
2546
+ status: 'pending'
1615
2547
  }
1616
2548
  | {
1617
2549
  /**
@@ -1620,9 +2552,9 @@ export type ActionAttempt =
1620
2552
  action_attempt_id: string
1621
2553
 
1622
2554
  /**
1623
- * Updating an access code is pending.
2555
+ * Deleting a noise threshold is pending.
1624
2556
  */
1625
- action_type: 'UPDATE_ACCESS_CODE'
2557
+ action_type: 'DELETE_NOISE_THRESHOLD'
1626
2558
 
1627
2559
  /**
1628
2560
  * Error associated with the action.
@@ -1642,14 +2574,9 @@ export type ActionAttempt =
1642
2574
  /**
1643
2575
  * Result of the action.
1644
2576
  */
1645
- result: {
1646
- /**
1647
- * Updated access code.
1648
- */
1649
- access_code?: Record<string, unknown> | undefined
1650
- }
2577
+ result: null
1651
2578
 
1652
- status: 'success' | 'pending' | 'error'
2579
+ status: 'error'
1653
2580
  }
1654
2581
  | {
1655
2582
  /**
@@ -1658,36 +2585,25 @@ export type ActionAttempt =
1658
2585
  action_attempt_id: string
1659
2586
 
1660
2587
  /**
1661
- * Creating a noise threshold is pending.
2588
+ * Updating a noise threshold is pending.
1662
2589
  */
1663
- action_type: 'CREATE_NOISE_THRESHOLD'
2590
+ action_type: 'UPDATE_NOISE_THRESHOLD'
1664
2591
 
1665
2592
  /**
1666
2593
  * Error associated with the action.
1667
2594
  */
1668
- error: {
1669
- /**
1670
- * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1671
- */
1672
- message: string
1673
-
1674
- /**
1675
- * Type of the error.
1676
- */
1677
- type: string
1678
- }
1679
-
2595
+ error: null
1680
2596
  /**
1681
2597
  * Result of the action.
1682
2598
  */
1683
2599
  result: {
1684
2600
  /**
1685
- * Created noise threshold.
2601
+ * Updated noise threshold.
1686
2602
  */
1687
2603
  noise_threshold: Record<string, unknown>
1688
2604
  }
1689
2605
 
1690
- status: 'success' | 'pending' | 'error'
2606
+ status: 'success'
1691
2607
  }
1692
2608
  | {
1693
2609
  /**
@@ -1696,31 +2612,20 @@ export type ActionAttempt =
1696
2612
  action_attempt_id: string
1697
2613
 
1698
2614
  /**
1699
- * Deleting a noise threshold is pending.
2615
+ * Updating a noise threshold is pending.
1700
2616
  */
1701
- action_type: 'DELETE_NOISE_THRESHOLD'
2617
+ action_type: 'UPDATE_NOISE_THRESHOLD'
1702
2618
 
1703
2619
  /**
1704
2620
  * Error associated with the action.
1705
2621
  */
1706
- error: {
1707
- /**
1708
- * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
1709
- */
1710
- message: string
1711
-
1712
- /**
1713
- * Type of the error.
1714
- */
1715
- type: string
1716
- }
1717
-
2622
+ error: null
1718
2623
  /**
1719
2624
  * Result of the action.
1720
2625
  */
1721
- result: {}
2626
+ result: null
1722
2627
 
1723
- status: 'success' | 'pending' | 'error'
2628
+ status: 'pending'
1724
2629
  }
1725
2630
  | {
1726
2631
  /**
@@ -1751,12 +2656,7 @@ export type ActionAttempt =
1751
2656
  /**
1752
2657
  * Result of the action.
1753
2658
  */
1754
- result: {
1755
- /**
1756
- * Updated noise threshold.
1757
- */
1758
- noise_threshold: Record<string, unknown>
1759
- }
2659
+ result: null
1760
2660
 
1761
- status: 'success' | 'pending' | 'error'
2661
+ status: 'error'
1762
2662
  }