@seamapi/http 2.24.1 → 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.
- package/README.md +37 -0
- package/lib/error-interceptor.js +2 -2
- package/lib/error-interceptor.js.map +1 -1
- package/lib/resolve-action-attempt.d.ts +4 -4
- package/lib/resources/access-grant.d.ts +1 -1
- package/lib/resources/action-attempt.d.ts +871 -139
- package/lib/resources/event.d.ts +9 -4
- package/lib/routes/access-codes/access-codes.js +1 -1
- package/lib/routes/access-codes/access-codes.js.map +1 -1
- package/lib/routes/access-grants/access-grants.d.ts +25 -25
- package/lib/routes/access-methods/access-methods.d.ts +5 -5
- package/lib/routes/access-methods/access-methods.js +1 -1
- package/lib/routes/access-methods/access-methods.js.map +1 -1
- package/lib/routes/acs/encoders/simulate/simulate.d.ts +5 -5
- package/lib/routes/customers/customers.d.ts +185 -185
- package/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.js +1 -1
- package/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -1
- package/lib/routes/thermostats/simulate/simulate.d.ts +8 -8
- package/lib/routes/thermostats/thermostats.d.ts +5 -5
- package/lib/routes/user-identities/user-identities.d.ts +5 -5
- package/lib/routes/user-identities/user-identities.js +1 -1
- package/lib/routes/user-identities/user-identities.js.map +1 -1
- package/lib/routes/workspaces/workspaces.d.ts +1 -1
- package/lib/seam-http-error.d.ts +16 -3
- package/lib/seam-http-error.js +18 -6
- package/lib/seam-http-error.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/error-interceptor.ts +6 -2
- package/src/lib/resolve-action-attempt.ts +8 -6
- package/src/lib/resources/access-grant.ts +1 -1
- package/src/lib/resources/action-attempt.ts +1101 -201
- package/src/lib/resources/event.ts +10 -5
- package/src/lib/routes/access-codes/access-codes.ts +1 -1
- package/src/lib/routes/access-grants/access-grants.ts +27 -27
- package/src/lib/routes/access-methods/access-methods.ts +6 -6
- package/src/lib/routes/acs/encoders/simulate/simulate.ts +5 -6
- package/src/lib/routes/customers/customers.ts +235 -236
- package/src/lib/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +1 -1
- package/src/lib/routes/thermostats/simulate/simulate.ts +9 -10
- package/src/lib/routes/thermostats/thermostats.ts +7 -7
- package/src/lib/routes/user-identities/user-identities.ts +6 -6
- package/src/lib/routes/workspaces/workspaces.ts +1 -1
- package/src/lib/seam-http-error.ts +43 -6
- package/src/lib/version.ts +1 -1
|
@@ -13,16 +13,7 @@ export type ActionAttempt = {
|
|
|
13
13
|
/**
|
|
14
14
|
* Error associated with the action.
|
|
15
15
|
*/
|
|
16
|
-
error:
|
|
17
|
-
/**
|
|
18
|
-
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
19
|
-
*/
|
|
20
|
-
message: string;
|
|
21
|
-
/**
|
|
22
|
-
* Type of the error.
|
|
23
|
-
*/
|
|
24
|
-
type: string;
|
|
25
|
-
};
|
|
16
|
+
error: null;
|
|
26
17
|
/**
|
|
27
18
|
* Result of the action.
|
|
28
19
|
*/
|
|
@@ -32,16 +23,34 @@ export type ActionAttempt = {
|
|
|
32
23
|
*/
|
|
33
24
|
was_confirmed_by_device?: boolean | undefined;
|
|
34
25
|
};
|
|
35
|
-
status: 'success'
|
|
26
|
+
status: 'success';
|
|
36
27
|
} | {
|
|
37
28
|
/**
|
|
38
29
|
* ID of the action attempt.
|
|
39
30
|
*/
|
|
40
31
|
action_attempt_id: string;
|
|
41
32
|
/**
|
|
42
|
-
* Action attempt to track the status of
|
|
33
|
+
* Action attempt to track the status of locking a door.
|
|
43
34
|
*/
|
|
44
|
-
action_type: '
|
|
35
|
+
action_type: 'LOCK_DOOR';
|
|
36
|
+
/**
|
|
37
|
+
* Error associated with the action.
|
|
38
|
+
*/
|
|
39
|
+
error: null;
|
|
40
|
+
/**
|
|
41
|
+
* Result of the action.
|
|
42
|
+
*/
|
|
43
|
+
result: null;
|
|
44
|
+
status: 'pending';
|
|
45
|
+
} | {
|
|
46
|
+
/**
|
|
47
|
+
* ID of the action attempt.
|
|
48
|
+
*/
|
|
49
|
+
action_attempt_id: string;
|
|
50
|
+
/**
|
|
51
|
+
* Action attempt to track the status of locking a door.
|
|
52
|
+
*/
|
|
53
|
+
action_type: 'LOCK_DOOR';
|
|
45
54
|
/**
|
|
46
55
|
* Error associated with the action.
|
|
47
56
|
*/
|
|
@@ -55,6 +64,24 @@ export type ActionAttempt = {
|
|
|
55
64
|
*/
|
|
56
65
|
type: string;
|
|
57
66
|
};
|
|
67
|
+
/**
|
|
68
|
+
* Result of the action.
|
|
69
|
+
*/
|
|
70
|
+
result: null;
|
|
71
|
+
status: 'error';
|
|
72
|
+
} | {
|
|
73
|
+
/**
|
|
74
|
+
* ID of the action attempt.
|
|
75
|
+
*/
|
|
76
|
+
action_attempt_id: string;
|
|
77
|
+
/**
|
|
78
|
+
* Action attempt to track the status of unlocking a door.
|
|
79
|
+
*/
|
|
80
|
+
action_type: 'UNLOCK_DOOR';
|
|
81
|
+
/**
|
|
82
|
+
* Error associated with the action.
|
|
83
|
+
*/
|
|
84
|
+
error: null;
|
|
58
85
|
/**
|
|
59
86
|
* Result of the action.
|
|
60
87
|
*/
|
|
@@ -64,26 +91,62 @@ export type ActionAttempt = {
|
|
|
64
91
|
*/
|
|
65
92
|
was_confirmed_by_device?: boolean | undefined;
|
|
66
93
|
};
|
|
67
|
-
status: 'success'
|
|
94
|
+
status: 'success';
|
|
68
95
|
} | {
|
|
69
96
|
/**
|
|
70
97
|
* ID of the action attempt.
|
|
71
98
|
*/
|
|
72
99
|
action_attempt_id: string;
|
|
73
100
|
/**
|
|
74
|
-
* Action attempt to track the status of
|
|
101
|
+
* Action attempt to track the status of unlocking a door.
|
|
102
|
+
*/
|
|
103
|
+
action_type: 'UNLOCK_DOOR';
|
|
104
|
+
/**
|
|
105
|
+
* Error associated with the action.
|
|
106
|
+
*/
|
|
107
|
+
error: null;
|
|
108
|
+
/**
|
|
109
|
+
* Result of the action.
|
|
110
|
+
*/
|
|
111
|
+
result: null;
|
|
112
|
+
status: 'pending';
|
|
113
|
+
} | {
|
|
114
|
+
/**
|
|
115
|
+
* ID of the action attempt.
|
|
116
|
+
*/
|
|
117
|
+
action_attempt_id: string;
|
|
118
|
+
/**
|
|
119
|
+
* Action attempt to track the status of unlocking a door.
|
|
120
|
+
*/
|
|
121
|
+
action_type: 'UNLOCK_DOOR';
|
|
122
|
+
/**
|
|
123
|
+
* Error associated with the action.
|
|
75
124
|
*/
|
|
76
|
-
action_type: 'SCAN_CREDENTIAL';
|
|
77
125
|
error: {
|
|
78
126
|
/**
|
|
79
127
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
80
128
|
*/
|
|
81
129
|
message: string;
|
|
82
130
|
/**
|
|
83
|
-
*
|
|
131
|
+
* Type of the error.
|
|
84
132
|
*/
|
|
85
|
-
type:
|
|
133
|
+
type: string;
|
|
86
134
|
};
|
|
135
|
+
/**
|
|
136
|
+
* Result of the action.
|
|
137
|
+
*/
|
|
138
|
+
result: null;
|
|
139
|
+
status: 'error';
|
|
140
|
+
} | {
|
|
141
|
+
/**
|
|
142
|
+
* ID of the action attempt.
|
|
143
|
+
*/
|
|
144
|
+
action_attempt_id: string;
|
|
145
|
+
/**
|
|
146
|
+
* Action attempt to track the status of scanning a credential.
|
|
147
|
+
*/
|
|
148
|
+
action_type: 'SCAN_CREDENTIAL';
|
|
149
|
+
error: null;
|
|
87
150
|
/**
|
|
88
151
|
* 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.
|
|
89
152
|
*/
|
|
@@ -389,26 +452,56 @@ export type ActionAttempt = {
|
|
|
389
452
|
warning_message: string;
|
|
390
453
|
}>;
|
|
391
454
|
};
|
|
392
|
-
status: 'success'
|
|
455
|
+
status: 'success';
|
|
393
456
|
} | {
|
|
394
457
|
/**
|
|
395
458
|
* ID of the action attempt.
|
|
396
459
|
*/
|
|
397
460
|
action_attempt_id: string;
|
|
398
461
|
/**
|
|
399
|
-
* Action attempt to track the status of
|
|
462
|
+
* Action attempt to track the status of scanning a credential.
|
|
400
463
|
*/
|
|
401
|
-
action_type: '
|
|
464
|
+
action_type: 'SCAN_CREDENTIAL';
|
|
465
|
+
error: null;
|
|
466
|
+
/**
|
|
467
|
+
* 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.
|
|
468
|
+
*/
|
|
469
|
+
result: null;
|
|
470
|
+
status: 'pending';
|
|
471
|
+
} | {
|
|
472
|
+
/**
|
|
473
|
+
* ID of the action attempt.
|
|
474
|
+
*/
|
|
475
|
+
action_attempt_id: string;
|
|
476
|
+
/**
|
|
477
|
+
* Action attempt to track the status of scanning a credential.
|
|
478
|
+
*/
|
|
479
|
+
action_type: 'SCAN_CREDENTIAL';
|
|
402
480
|
error: {
|
|
403
481
|
/**
|
|
404
482
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
405
483
|
*/
|
|
406
484
|
message: string;
|
|
407
485
|
/**
|
|
408
|
-
* Error type to indicate that the
|
|
486
|
+
* Error type to indicate that the Seam Bridge is disconnected or cannot reach the access control system.
|
|
409
487
|
*/
|
|
410
|
-
type: 'uncategorized_error' | 'action_attempt_expired' | 'no_credential_on_encoder' | '
|
|
488
|
+
type: 'uncategorized_error' | 'action_attempt_expired' | 'no_credential_on_encoder' | 'encoder_not_online' | 'encoder_communication_timeout' | 'bridge_disconnected';
|
|
411
489
|
};
|
|
490
|
+
/**
|
|
491
|
+
* 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.
|
|
492
|
+
*/
|
|
493
|
+
result: null;
|
|
494
|
+
status: 'error';
|
|
495
|
+
} | {
|
|
496
|
+
/**
|
|
497
|
+
* ID of the action attempt.
|
|
498
|
+
*/
|
|
499
|
+
action_attempt_id: string;
|
|
500
|
+
/**
|
|
501
|
+
* Action attempt to track the status of encoding credential data from the physical encoder onto a card.
|
|
502
|
+
*/
|
|
503
|
+
action_type: 'ENCODE_CREDENTIAL';
|
|
504
|
+
error: null;
|
|
412
505
|
/**
|
|
413
506
|
* Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card.
|
|
414
507
|
*/
|
|
@@ -618,26 +711,56 @@ export type ActionAttempt = {
|
|
|
618
711
|
*/
|
|
619
712
|
workspace_id: string;
|
|
620
713
|
};
|
|
621
|
-
status: 'success'
|
|
714
|
+
status: 'success';
|
|
622
715
|
} | {
|
|
623
716
|
/**
|
|
624
717
|
* ID of the action attempt.
|
|
625
718
|
*/
|
|
626
719
|
action_attempt_id: string;
|
|
627
720
|
/**
|
|
628
|
-
* Action attempt to track the status of
|
|
721
|
+
* Action attempt to track the status of encoding credential data from the physical encoder onto a card.
|
|
629
722
|
*/
|
|
630
|
-
action_type: '
|
|
723
|
+
action_type: 'ENCODE_CREDENTIAL';
|
|
724
|
+
error: null;
|
|
725
|
+
/**
|
|
726
|
+
* Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card.
|
|
727
|
+
*/
|
|
728
|
+
result: null;
|
|
729
|
+
status: 'pending';
|
|
730
|
+
} | {
|
|
731
|
+
/**
|
|
732
|
+
* ID of the action attempt.
|
|
733
|
+
*/
|
|
734
|
+
action_attempt_id: string;
|
|
735
|
+
/**
|
|
736
|
+
* Action attempt to track the status of encoding credential data from the physical encoder onto a card.
|
|
737
|
+
*/
|
|
738
|
+
action_type: 'ENCODE_CREDENTIAL';
|
|
631
739
|
error: {
|
|
632
740
|
/**
|
|
633
741
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
634
742
|
*/
|
|
635
743
|
message: string;
|
|
636
744
|
/**
|
|
637
|
-
* Error type to indicate that
|
|
745
|
+
* Error type to indicate that the credential was deleted and can no longer be encoded.
|
|
638
746
|
*/
|
|
639
|
-
type: 'uncategorized_error' | 'action_attempt_expired' | 'no_credential_on_encoder';
|
|
747
|
+
type: 'uncategorized_error' | 'action_attempt_expired' | 'no_credential_on_encoder' | 'incompatible_card_format' | 'credential_cannot_be_reissued' | 'encoder_not_online' | 'encoder_communication_timeout' | 'bridge_disconnected' | 'encoding_interrupted' | 'credential_deleted';
|
|
640
748
|
};
|
|
749
|
+
/**
|
|
750
|
+
* Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card.
|
|
751
|
+
*/
|
|
752
|
+
result: null;
|
|
753
|
+
status: 'error';
|
|
754
|
+
} | {
|
|
755
|
+
/**
|
|
756
|
+
* ID of the action attempt.
|
|
757
|
+
*/
|
|
758
|
+
action_attempt_id: string;
|
|
759
|
+
/**
|
|
760
|
+
* Action attempt to track the status of scanning a physical card and assigning the credential to an ACS user.
|
|
761
|
+
*/
|
|
762
|
+
action_type: 'SCAN_TO_ASSIGN_CREDENTIAL';
|
|
763
|
+
error: null;
|
|
641
764
|
/**
|
|
642
765
|
* Result of a scan to assign attempt. If the attempt was successful, includes the credential data that was scanned and assigned.
|
|
643
766
|
*/
|
|
@@ -850,26 +973,56 @@ export type ActionAttempt = {
|
|
|
850
973
|
*/
|
|
851
974
|
workspace_id: string;
|
|
852
975
|
};
|
|
853
|
-
status: 'success'
|
|
976
|
+
status: 'success';
|
|
854
977
|
} | {
|
|
855
978
|
/**
|
|
856
979
|
* ID of the action attempt.
|
|
857
980
|
*/
|
|
858
981
|
action_attempt_id: string;
|
|
859
982
|
/**
|
|
860
|
-
* Action attempt to track the status of
|
|
983
|
+
* Action attempt to track the status of scanning a physical card and assigning the credential to an ACS user.
|
|
861
984
|
*/
|
|
862
|
-
action_type: '
|
|
985
|
+
action_type: 'SCAN_TO_ASSIGN_CREDENTIAL';
|
|
986
|
+
error: null;
|
|
987
|
+
/**
|
|
988
|
+
* Result of a scan to assign attempt. If the attempt was successful, includes the credential data that was scanned and assigned.
|
|
989
|
+
*/
|
|
990
|
+
result: null;
|
|
991
|
+
status: 'pending';
|
|
992
|
+
} | {
|
|
993
|
+
/**
|
|
994
|
+
* ID of the action attempt.
|
|
995
|
+
*/
|
|
996
|
+
action_attempt_id: string;
|
|
997
|
+
/**
|
|
998
|
+
* Action attempt to track the status of scanning a physical card and assigning the credential to an ACS user.
|
|
999
|
+
*/
|
|
1000
|
+
action_type: 'SCAN_TO_ASSIGN_CREDENTIAL';
|
|
863
1001
|
error: {
|
|
864
1002
|
/**
|
|
865
1003
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
866
1004
|
*/
|
|
867
1005
|
message: string;
|
|
868
1006
|
/**
|
|
869
|
-
* Error type to indicate that no
|
|
1007
|
+
* Error type to indicate that there is no credential on the encoder.
|
|
870
1008
|
*/
|
|
871
|
-
type: 'uncategorized_error' | 'action_attempt_expired' | '
|
|
1009
|
+
type: 'uncategorized_error' | 'action_attempt_expired' | 'no_credential_on_encoder';
|
|
872
1010
|
};
|
|
1011
|
+
/**
|
|
1012
|
+
* Result of a scan to assign attempt. If the attempt was successful, includes the credential data that was scanned and assigned.
|
|
1013
|
+
*/
|
|
1014
|
+
result: null;
|
|
1015
|
+
status: 'error';
|
|
1016
|
+
} | {
|
|
1017
|
+
/**
|
|
1018
|
+
* ID of the action attempt.
|
|
1019
|
+
*/
|
|
1020
|
+
action_attempt_id: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* Action attempt to track the status of assigning a pre-registered card credential to an access method.
|
|
1023
|
+
*/
|
|
1024
|
+
action_type: 'ASSIGN_CREDENTIAL';
|
|
1025
|
+
error: null;
|
|
873
1026
|
/**
|
|
874
1027
|
* Result of assigning a credential. If successful, includes the updated access method with the assigned credential.
|
|
875
1028
|
*/
|
|
@@ -1020,97 +1173,91 @@ export type ActionAttempt = {
|
|
|
1020
1173
|
*/
|
|
1021
1174
|
workspace_id: string;
|
|
1022
1175
|
};
|
|
1023
|
-
status: 'success'
|
|
1176
|
+
status: 'success';
|
|
1024
1177
|
} | {
|
|
1025
1178
|
/**
|
|
1026
1179
|
* ID of the action attempt.
|
|
1027
1180
|
*/
|
|
1028
1181
|
action_attempt_id: string;
|
|
1029
1182
|
/**
|
|
1030
|
-
* Action attempt to track the status of
|
|
1183
|
+
* Action attempt to track the status of assigning a pre-registered card credential to an access method.
|
|
1031
1184
|
*/
|
|
1032
|
-
action_type: '
|
|
1185
|
+
action_type: 'ASSIGN_CREDENTIAL';
|
|
1186
|
+
error: null;
|
|
1033
1187
|
/**
|
|
1034
|
-
*
|
|
1188
|
+
* Result of assigning a credential. If successful, includes the updated access method with the assigned credential.
|
|
1189
|
+
*/
|
|
1190
|
+
result: null;
|
|
1191
|
+
status: 'pending';
|
|
1192
|
+
} | {
|
|
1193
|
+
/**
|
|
1194
|
+
* ID of the action attempt.
|
|
1195
|
+
*/
|
|
1196
|
+
action_attempt_id: string;
|
|
1197
|
+
/**
|
|
1198
|
+
* Action attempt to track the status of assigning a pre-registered card credential to an access method.
|
|
1035
1199
|
*/
|
|
1200
|
+
action_type: 'ASSIGN_CREDENTIAL';
|
|
1036
1201
|
error: {
|
|
1037
1202
|
/**
|
|
1038
1203
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1039
1204
|
*/
|
|
1040
1205
|
message: string;
|
|
1041
1206
|
/**
|
|
1042
|
-
*
|
|
1207
|
+
* Error type to indicate that no matching credential was found.
|
|
1043
1208
|
*/
|
|
1044
|
-
type:
|
|
1209
|
+
type: 'uncategorized_error' | 'action_attempt_expired' | 'credential_not_found';
|
|
1045
1210
|
};
|
|
1046
1211
|
/**
|
|
1047
|
-
* Result of the
|
|
1212
|
+
* Result of assigning a credential. If successful, includes the updated access method with the assigned credential.
|
|
1048
1213
|
*/
|
|
1049
|
-
result:
|
|
1050
|
-
status: '
|
|
1214
|
+
result: null;
|
|
1215
|
+
status: 'error';
|
|
1051
1216
|
} | {
|
|
1052
1217
|
/**
|
|
1053
1218
|
* ID of the action attempt.
|
|
1054
1219
|
*/
|
|
1055
1220
|
action_attempt_id: string;
|
|
1056
1221
|
/**
|
|
1057
|
-
* Action attempt to track the status of
|
|
1222
|
+
* Action attempt to track the status of resetting a sandbox workspace.
|
|
1058
1223
|
*/
|
|
1059
|
-
action_type: '
|
|
1224
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
1060
1225
|
/**
|
|
1061
1226
|
* Error associated with the action.
|
|
1062
1227
|
*/
|
|
1063
|
-
error:
|
|
1064
|
-
/**
|
|
1065
|
-
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1066
|
-
*/
|
|
1067
|
-
message: string;
|
|
1068
|
-
/**
|
|
1069
|
-
* Type of the error.
|
|
1070
|
-
*/
|
|
1071
|
-
type: string;
|
|
1072
|
-
};
|
|
1228
|
+
error: null;
|
|
1073
1229
|
/**
|
|
1074
1230
|
* Result of the action.
|
|
1075
1231
|
*/
|
|
1076
1232
|
result: {};
|
|
1077
|
-
status: 'success'
|
|
1233
|
+
status: 'success';
|
|
1078
1234
|
} | {
|
|
1079
1235
|
/**
|
|
1080
1236
|
* ID of the action attempt.
|
|
1081
1237
|
*/
|
|
1082
1238
|
action_attempt_id: string;
|
|
1083
1239
|
/**
|
|
1084
|
-
* Action attempt to track the status of
|
|
1240
|
+
* Action attempt to track the status of resetting a sandbox workspace.
|
|
1085
1241
|
*/
|
|
1086
|
-
action_type: '
|
|
1242
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
1087
1243
|
/**
|
|
1088
1244
|
* Error associated with the action.
|
|
1089
1245
|
*/
|
|
1090
|
-
error:
|
|
1091
|
-
/**
|
|
1092
|
-
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1093
|
-
*/
|
|
1094
|
-
message: string;
|
|
1095
|
-
/**
|
|
1096
|
-
* Type of the error.
|
|
1097
|
-
*/
|
|
1098
|
-
type: string;
|
|
1099
|
-
};
|
|
1246
|
+
error: null;
|
|
1100
1247
|
/**
|
|
1101
1248
|
* Result of the action.
|
|
1102
1249
|
*/
|
|
1103
|
-
result:
|
|
1104
|
-
status: '
|
|
1250
|
+
result: null;
|
|
1251
|
+
status: 'pending';
|
|
1105
1252
|
} | {
|
|
1106
1253
|
/**
|
|
1107
1254
|
* ID of the action attempt.
|
|
1108
1255
|
*/
|
|
1109
1256
|
action_attempt_id: string;
|
|
1110
1257
|
/**
|
|
1111
|
-
* Action attempt to track the status of a
|
|
1258
|
+
* Action attempt to track the status of resetting a sandbox workspace.
|
|
1112
1259
|
*/
|
|
1113
|
-
action_type: '
|
|
1260
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
1114
1261
|
/**
|
|
1115
1262
|
* Error associated with the action.
|
|
1116
1263
|
*/
|
|
@@ -1127,51 +1274,249 @@ export type ActionAttempt = {
|
|
|
1127
1274
|
/**
|
|
1128
1275
|
* Result of the action.
|
|
1129
1276
|
*/
|
|
1130
|
-
result:
|
|
1131
|
-
status: '
|
|
1277
|
+
result: null;
|
|
1278
|
+
status: 'error';
|
|
1132
1279
|
} | {
|
|
1133
1280
|
/**
|
|
1134
1281
|
* ID of the action attempt.
|
|
1135
1282
|
*/
|
|
1136
1283
|
action_attempt_id: string;
|
|
1137
1284
|
/**
|
|
1138
|
-
* Action attempt to track the status of
|
|
1285
|
+
* Action attempt to track the status of setting the fan mode on a thermostat.
|
|
1139
1286
|
*/
|
|
1140
|
-
action_type: '
|
|
1287
|
+
action_type: 'SET_FAN_MODE';
|
|
1141
1288
|
/**
|
|
1142
1289
|
* Error associated with the action.
|
|
1143
1290
|
*/
|
|
1144
|
-
error:
|
|
1145
|
-
/**
|
|
1146
|
-
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1147
|
-
*/
|
|
1148
|
-
message: string;
|
|
1149
|
-
/**
|
|
1150
|
-
* Type of the error.
|
|
1151
|
-
*/
|
|
1152
|
-
type: string;
|
|
1153
|
-
};
|
|
1291
|
+
error: null;
|
|
1154
1292
|
/**
|
|
1155
1293
|
* Result of the action.
|
|
1156
1294
|
*/
|
|
1157
1295
|
result: {};
|
|
1158
|
-
status: 'success'
|
|
1296
|
+
status: 'success';
|
|
1159
1297
|
} | {
|
|
1160
1298
|
/**
|
|
1161
1299
|
* ID of the action attempt.
|
|
1162
1300
|
*/
|
|
1163
1301
|
action_attempt_id: string;
|
|
1164
1302
|
/**
|
|
1165
|
-
* Action attempt to track the status of
|
|
1303
|
+
* Action attempt to track the status of setting the fan mode on a thermostat.
|
|
1166
1304
|
*/
|
|
1167
|
-
action_type: '
|
|
1305
|
+
action_type: 'SET_FAN_MODE';
|
|
1168
1306
|
/**
|
|
1169
1307
|
* Error associated with the action.
|
|
1170
1308
|
*/
|
|
1171
|
-
error:
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1309
|
+
error: null;
|
|
1310
|
+
/**
|
|
1311
|
+
* Result of the action.
|
|
1312
|
+
*/
|
|
1313
|
+
result: null;
|
|
1314
|
+
status: 'pending';
|
|
1315
|
+
} | {
|
|
1316
|
+
/**
|
|
1317
|
+
* ID of the action attempt.
|
|
1318
|
+
*/
|
|
1319
|
+
action_attempt_id: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* Action attempt to track the status of setting the fan mode on a thermostat.
|
|
1322
|
+
*/
|
|
1323
|
+
action_type: 'SET_FAN_MODE';
|
|
1324
|
+
/**
|
|
1325
|
+
* Error associated with the action.
|
|
1326
|
+
*/
|
|
1327
|
+
error: {
|
|
1328
|
+
/**
|
|
1329
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1330
|
+
*/
|
|
1331
|
+
message: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* Type of the error.
|
|
1334
|
+
*/
|
|
1335
|
+
type: string;
|
|
1336
|
+
};
|
|
1337
|
+
/**
|
|
1338
|
+
* Result of the action.
|
|
1339
|
+
*/
|
|
1340
|
+
result: null;
|
|
1341
|
+
status: 'error';
|
|
1342
|
+
} | {
|
|
1343
|
+
/**
|
|
1344
|
+
* ID of the action attempt.
|
|
1345
|
+
*/
|
|
1346
|
+
action_attempt_id: string;
|
|
1347
|
+
/**
|
|
1348
|
+
* Action attempt to track the status of setting the HVAC mode on a thermostat.
|
|
1349
|
+
*/
|
|
1350
|
+
action_type: 'SET_HVAC_MODE';
|
|
1351
|
+
/**
|
|
1352
|
+
* Error associated with the action.
|
|
1353
|
+
*/
|
|
1354
|
+
error: null;
|
|
1355
|
+
/**
|
|
1356
|
+
* Result of the action.
|
|
1357
|
+
*/
|
|
1358
|
+
result: {};
|
|
1359
|
+
status: 'success';
|
|
1360
|
+
} | {
|
|
1361
|
+
/**
|
|
1362
|
+
* ID of the action attempt.
|
|
1363
|
+
*/
|
|
1364
|
+
action_attempt_id: string;
|
|
1365
|
+
/**
|
|
1366
|
+
* Action attempt to track the status of setting the HVAC mode on a thermostat.
|
|
1367
|
+
*/
|
|
1368
|
+
action_type: 'SET_HVAC_MODE';
|
|
1369
|
+
/**
|
|
1370
|
+
* Error associated with the action.
|
|
1371
|
+
*/
|
|
1372
|
+
error: null;
|
|
1373
|
+
/**
|
|
1374
|
+
* Result of the action.
|
|
1375
|
+
*/
|
|
1376
|
+
result: null;
|
|
1377
|
+
status: 'pending';
|
|
1378
|
+
} | {
|
|
1379
|
+
/**
|
|
1380
|
+
* ID of the action attempt.
|
|
1381
|
+
*/
|
|
1382
|
+
action_attempt_id: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* Action attempt to track the status of setting the HVAC mode on a thermostat.
|
|
1385
|
+
*/
|
|
1386
|
+
action_type: 'SET_HVAC_MODE';
|
|
1387
|
+
/**
|
|
1388
|
+
* Error associated with the action.
|
|
1389
|
+
*/
|
|
1390
|
+
error: {
|
|
1391
|
+
/**
|
|
1392
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1393
|
+
*/
|
|
1394
|
+
message: string;
|
|
1395
|
+
/**
|
|
1396
|
+
* Type of the error.
|
|
1397
|
+
*/
|
|
1398
|
+
type: string;
|
|
1399
|
+
};
|
|
1400
|
+
/**
|
|
1401
|
+
* Result of the action.
|
|
1402
|
+
*/
|
|
1403
|
+
result: null;
|
|
1404
|
+
status: 'error';
|
|
1405
|
+
} | {
|
|
1406
|
+
/**
|
|
1407
|
+
* ID of the action attempt.
|
|
1408
|
+
*/
|
|
1409
|
+
action_attempt_id: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* Action attempt to track the status of a climate preset activation.
|
|
1412
|
+
*/
|
|
1413
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
1414
|
+
/**
|
|
1415
|
+
* Error associated with the action.
|
|
1416
|
+
*/
|
|
1417
|
+
error: null;
|
|
1418
|
+
/**
|
|
1419
|
+
* Result of the action.
|
|
1420
|
+
*/
|
|
1421
|
+
result: {};
|
|
1422
|
+
status: 'success';
|
|
1423
|
+
} | {
|
|
1424
|
+
/**
|
|
1425
|
+
* ID of the action attempt.
|
|
1426
|
+
*/
|
|
1427
|
+
action_attempt_id: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* Action attempt to track the status of a climate preset activation.
|
|
1430
|
+
*/
|
|
1431
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
1432
|
+
/**
|
|
1433
|
+
* Error associated with the action.
|
|
1434
|
+
*/
|
|
1435
|
+
error: null;
|
|
1436
|
+
/**
|
|
1437
|
+
* Result of the action.
|
|
1438
|
+
*/
|
|
1439
|
+
result: null;
|
|
1440
|
+
status: 'pending';
|
|
1441
|
+
} | {
|
|
1442
|
+
/**
|
|
1443
|
+
* ID of the action attempt.
|
|
1444
|
+
*/
|
|
1445
|
+
action_attempt_id: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* Action attempt to track the status of a climate preset activation.
|
|
1448
|
+
*/
|
|
1449
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
1450
|
+
/**
|
|
1451
|
+
* Error associated with the action.
|
|
1452
|
+
*/
|
|
1453
|
+
error: {
|
|
1454
|
+
/**
|
|
1455
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1456
|
+
*/
|
|
1457
|
+
message: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* Type of the error.
|
|
1460
|
+
*/
|
|
1461
|
+
type: string;
|
|
1462
|
+
};
|
|
1463
|
+
/**
|
|
1464
|
+
* Result of the action.
|
|
1465
|
+
*/
|
|
1466
|
+
result: null;
|
|
1467
|
+
status: 'error';
|
|
1468
|
+
} | {
|
|
1469
|
+
/**
|
|
1470
|
+
* ID of the action attempt.
|
|
1471
|
+
*/
|
|
1472
|
+
action_attempt_id: string;
|
|
1473
|
+
/**
|
|
1474
|
+
* Action attempt to track the status of simulating a keypad code entry.
|
|
1475
|
+
*/
|
|
1476
|
+
action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
|
|
1477
|
+
/**
|
|
1478
|
+
* Error associated with the action.
|
|
1479
|
+
*/
|
|
1480
|
+
error: null;
|
|
1481
|
+
/**
|
|
1482
|
+
* Result of the action.
|
|
1483
|
+
*/
|
|
1484
|
+
result: {};
|
|
1485
|
+
status: 'success';
|
|
1486
|
+
} | {
|
|
1487
|
+
/**
|
|
1488
|
+
* ID of the action attempt.
|
|
1489
|
+
*/
|
|
1490
|
+
action_attempt_id: string;
|
|
1491
|
+
/**
|
|
1492
|
+
* Action attempt to track the status of simulating a keypad code entry.
|
|
1493
|
+
*/
|
|
1494
|
+
action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
|
|
1495
|
+
/**
|
|
1496
|
+
* Error associated with the action.
|
|
1497
|
+
*/
|
|
1498
|
+
error: null;
|
|
1499
|
+
/**
|
|
1500
|
+
* Result of the action.
|
|
1501
|
+
*/
|
|
1502
|
+
result: null;
|
|
1503
|
+
status: 'pending';
|
|
1504
|
+
} | {
|
|
1505
|
+
/**
|
|
1506
|
+
* ID of the action attempt.
|
|
1507
|
+
*/
|
|
1508
|
+
action_attempt_id: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* Action attempt to track the status of simulating a keypad code entry.
|
|
1511
|
+
*/
|
|
1512
|
+
action_type: 'SIMULATE_KEYPAD_CODE_ENTRY';
|
|
1513
|
+
/**
|
|
1514
|
+
* Error associated with the action.
|
|
1515
|
+
*/
|
|
1516
|
+
error: {
|
|
1517
|
+
/**
|
|
1518
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1519
|
+
*/
|
|
1175
1520
|
message: string;
|
|
1176
1521
|
/**
|
|
1177
1522
|
* Type of the error.
|
|
@@ -1181,17 +1526,179 @@ export type ActionAttempt = {
|
|
|
1181
1526
|
/**
|
|
1182
1527
|
* Result of the action.
|
|
1183
1528
|
*/
|
|
1184
|
-
result:
|
|
1185
|
-
status: '
|
|
1529
|
+
result: null;
|
|
1530
|
+
status: 'error';
|
|
1531
|
+
} | {
|
|
1532
|
+
/**
|
|
1533
|
+
* ID of the action attempt.
|
|
1534
|
+
*/
|
|
1535
|
+
action_attempt_id: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* Action attempt to track the status of simulating a manual lock action using a keypad.
|
|
1538
|
+
*/
|
|
1539
|
+
action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
|
|
1540
|
+
/**
|
|
1541
|
+
* Error associated with the action.
|
|
1542
|
+
*/
|
|
1543
|
+
error: null;
|
|
1544
|
+
/**
|
|
1545
|
+
* Result of the action.
|
|
1546
|
+
*/
|
|
1547
|
+
result: {};
|
|
1548
|
+
status: 'success';
|
|
1549
|
+
} | {
|
|
1550
|
+
/**
|
|
1551
|
+
* ID of the action attempt.
|
|
1552
|
+
*/
|
|
1553
|
+
action_attempt_id: string;
|
|
1554
|
+
/**
|
|
1555
|
+
* Action attempt to track the status of simulating a manual lock action using a keypad.
|
|
1556
|
+
*/
|
|
1557
|
+
action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
|
|
1558
|
+
/**
|
|
1559
|
+
* Error associated with the action.
|
|
1560
|
+
*/
|
|
1561
|
+
error: null;
|
|
1562
|
+
/**
|
|
1563
|
+
* Result of the action.
|
|
1564
|
+
*/
|
|
1565
|
+
result: null;
|
|
1566
|
+
status: 'pending';
|
|
1567
|
+
} | {
|
|
1568
|
+
/**
|
|
1569
|
+
* ID of the action attempt.
|
|
1570
|
+
*/
|
|
1571
|
+
action_attempt_id: string;
|
|
1572
|
+
/**
|
|
1573
|
+
* Action attempt to track the status of simulating a manual lock action using a keypad.
|
|
1574
|
+
*/
|
|
1575
|
+
action_type: 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD';
|
|
1576
|
+
/**
|
|
1577
|
+
* Error associated with the action.
|
|
1578
|
+
*/
|
|
1579
|
+
error: {
|
|
1580
|
+
/**
|
|
1581
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1582
|
+
*/
|
|
1583
|
+
message: string;
|
|
1584
|
+
/**
|
|
1585
|
+
* Type of the error.
|
|
1586
|
+
*/
|
|
1587
|
+
type: string;
|
|
1588
|
+
};
|
|
1589
|
+
/**
|
|
1590
|
+
* Result of the action.
|
|
1591
|
+
*/
|
|
1592
|
+
result: null;
|
|
1593
|
+
status: 'error';
|
|
1594
|
+
} | {
|
|
1595
|
+
/**
|
|
1596
|
+
* ID of the action attempt.
|
|
1597
|
+
*/
|
|
1598
|
+
action_attempt_id: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* Action attempt to track the status of pushing thermostat programs.
|
|
1601
|
+
*/
|
|
1602
|
+
action_type: 'PUSH_THERMOSTAT_PROGRAMS';
|
|
1603
|
+
/**
|
|
1604
|
+
* Error associated with the action.
|
|
1605
|
+
*/
|
|
1606
|
+
error: null;
|
|
1607
|
+
/**
|
|
1608
|
+
* Result of the action.
|
|
1609
|
+
*/
|
|
1610
|
+
result: {};
|
|
1611
|
+
status: 'success';
|
|
1612
|
+
} | {
|
|
1613
|
+
/**
|
|
1614
|
+
* ID of the action attempt.
|
|
1615
|
+
*/
|
|
1616
|
+
action_attempt_id: string;
|
|
1617
|
+
/**
|
|
1618
|
+
* Action attempt to track the status of pushing thermostat programs.
|
|
1619
|
+
*/
|
|
1620
|
+
action_type: 'PUSH_THERMOSTAT_PROGRAMS';
|
|
1621
|
+
/**
|
|
1622
|
+
* Error associated with the action.
|
|
1623
|
+
*/
|
|
1624
|
+
error: null;
|
|
1625
|
+
/**
|
|
1626
|
+
* Result of the action.
|
|
1627
|
+
*/
|
|
1628
|
+
result: null;
|
|
1629
|
+
status: 'pending';
|
|
1630
|
+
} | {
|
|
1631
|
+
/**
|
|
1632
|
+
* ID of the action attempt.
|
|
1633
|
+
*/
|
|
1634
|
+
action_attempt_id: string;
|
|
1635
|
+
/**
|
|
1636
|
+
* Action attempt to track the status of pushing thermostat programs.
|
|
1637
|
+
*/
|
|
1638
|
+
action_type: 'PUSH_THERMOSTAT_PROGRAMS';
|
|
1639
|
+
/**
|
|
1640
|
+
* Error associated with the action.
|
|
1641
|
+
*/
|
|
1642
|
+
error: {
|
|
1643
|
+
/**
|
|
1644
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1645
|
+
*/
|
|
1646
|
+
message: string;
|
|
1647
|
+
/**
|
|
1648
|
+
* Type of the error.
|
|
1649
|
+
*/
|
|
1650
|
+
type: string;
|
|
1651
|
+
};
|
|
1652
|
+
/**
|
|
1653
|
+
* Result of the action.
|
|
1654
|
+
*/
|
|
1655
|
+
result: null;
|
|
1656
|
+
status: 'error';
|
|
1657
|
+
} | {
|
|
1658
|
+
/**
|
|
1659
|
+
* ID of the action attempt.
|
|
1660
|
+
*/
|
|
1661
|
+
action_attempt_id: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* Action attempt to track the status of configuring the auto-lock on a lock.
|
|
1664
|
+
*/
|
|
1665
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
1666
|
+
/**
|
|
1667
|
+
* Error associated with the action.
|
|
1668
|
+
*/
|
|
1669
|
+
error: null;
|
|
1670
|
+
/**
|
|
1671
|
+
* Result of the action.
|
|
1672
|
+
*/
|
|
1673
|
+
result: {};
|
|
1674
|
+
status: 'success';
|
|
1675
|
+
} | {
|
|
1676
|
+
/**
|
|
1677
|
+
* ID of the action attempt.
|
|
1678
|
+
*/
|
|
1679
|
+
action_attempt_id: string;
|
|
1680
|
+
/**
|
|
1681
|
+
* Action attempt to track the status of configuring the auto-lock on a lock.
|
|
1682
|
+
*/
|
|
1683
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
1684
|
+
/**
|
|
1685
|
+
* Error associated with the action.
|
|
1686
|
+
*/
|
|
1687
|
+
error: null;
|
|
1688
|
+
/**
|
|
1689
|
+
* Result of the action.
|
|
1690
|
+
*/
|
|
1691
|
+
result: null;
|
|
1692
|
+
status: 'pending';
|
|
1186
1693
|
} | {
|
|
1187
1694
|
/**
|
|
1188
1695
|
* ID of the action attempt.
|
|
1189
1696
|
*/
|
|
1190
1697
|
action_attempt_id: string;
|
|
1191
1698
|
/**
|
|
1192
|
-
* Action attempt to track the status of
|
|
1699
|
+
* Action attempt to track the status of configuring the auto-lock on a lock.
|
|
1193
1700
|
*/
|
|
1194
|
-
action_type: '
|
|
1701
|
+
action_type: 'CONFIGURE_AUTO_LOCK';
|
|
1195
1702
|
/**
|
|
1196
1703
|
* Error associated with the action.
|
|
1197
1704
|
*/
|
|
@@ -1208,35 +1715,44 @@ export type ActionAttempt = {
|
|
|
1208
1715
|
/**
|
|
1209
1716
|
* Result of the action.
|
|
1210
1717
|
*/
|
|
1211
|
-
result:
|
|
1212
|
-
status: '
|
|
1718
|
+
result: null;
|
|
1719
|
+
status: 'error';
|
|
1213
1720
|
} | {
|
|
1214
1721
|
/**
|
|
1215
1722
|
* ID of the action attempt.
|
|
1216
1723
|
*/
|
|
1217
1724
|
action_attempt_id: string;
|
|
1218
1725
|
/**
|
|
1219
|
-
*
|
|
1726
|
+
* Syncing access codes is pending.
|
|
1220
1727
|
*/
|
|
1221
|
-
action_type: '
|
|
1728
|
+
action_type: 'SYNC_ACCESS_CODES';
|
|
1222
1729
|
/**
|
|
1223
1730
|
* Error associated with the action.
|
|
1224
1731
|
*/
|
|
1225
|
-
error:
|
|
1226
|
-
/**
|
|
1227
|
-
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1228
|
-
*/
|
|
1229
|
-
message: string;
|
|
1230
|
-
/**
|
|
1231
|
-
* Type of the error.
|
|
1232
|
-
*/
|
|
1233
|
-
type: string;
|
|
1234
|
-
};
|
|
1732
|
+
error: null;
|
|
1235
1733
|
/**
|
|
1236
1734
|
* Result of the action.
|
|
1237
1735
|
*/
|
|
1238
1736
|
result: {};
|
|
1239
|
-
status: 'success'
|
|
1737
|
+
status: 'success';
|
|
1738
|
+
} | {
|
|
1739
|
+
/**
|
|
1740
|
+
* ID of the action attempt.
|
|
1741
|
+
*/
|
|
1742
|
+
action_attempt_id: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* Syncing access codes is pending.
|
|
1745
|
+
*/
|
|
1746
|
+
action_type: 'SYNC_ACCESS_CODES';
|
|
1747
|
+
/**
|
|
1748
|
+
* Error associated with the action.
|
|
1749
|
+
*/
|
|
1750
|
+
error: null;
|
|
1751
|
+
/**
|
|
1752
|
+
* Result of the action.
|
|
1753
|
+
*/
|
|
1754
|
+
result: null;
|
|
1755
|
+
status: 'pending';
|
|
1240
1756
|
} | {
|
|
1241
1757
|
/**
|
|
1242
1758
|
* ID of the action attempt.
|
|
@@ -1262,8 +1778,8 @@ export type ActionAttempt = {
|
|
|
1262
1778
|
/**
|
|
1263
1779
|
* Result of the action.
|
|
1264
1780
|
*/
|
|
1265
|
-
result:
|
|
1266
|
-
status: '
|
|
1781
|
+
result: null;
|
|
1782
|
+
status: 'error';
|
|
1267
1783
|
} | {
|
|
1268
1784
|
/**
|
|
1269
1785
|
* ID of the action attempt.
|
|
@@ -1276,16 +1792,7 @@ export type ActionAttempt = {
|
|
|
1276
1792
|
/**
|
|
1277
1793
|
* Error associated with the action.
|
|
1278
1794
|
*/
|
|
1279
|
-
error:
|
|
1280
|
-
/**
|
|
1281
|
-
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
1282
|
-
*/
|
|
1283
|
-
message: string;
|
|
1284
|
-
/**
|
|
1285
|
-
* Type of the error.
|
|
1286
|
-
*/
|
|
1287
|
-
type: string;
|
|
1288
|
-
};
|
|
1795
|
+
error: null;
|
|
1289
1796
|
/**
|
|
1290
1797
|
* Result of the action.
|
|
1291
1798
|
*/
|
|
@@ -1295,16 +1802,34 @@ export type ActionAttempt = {
|
|
|
1295
1802
|
*/
|
|
1296
1803
|
access_code: Record<string, unknown>;
|
|
1297
1804
|
};
|
|
1298
|
-
status: 'success'
|
|
1805
|
+
status: 'success';
|
|
1299
1806
|
} | {
|
|
1300
1807
|
/**
|
|
1301
1808
|
* ID of the action attempt.
|
|
1302
1809
|
*/
|
|
1303
1810
|
action_attempt_id: string;
|
|
1304
1811
|
/**
|
|
1305
|
-
*
|
|
1812
|
+
* Creating an access code is pending.
|
|
1306
1813
|
*/
|
|
1307
|
-
action_type: '
|
|
1814
|
+
action_type: 'CREATE_ACCESS_CODE';
|
|
1815
|
+
/**
|
|
1816
|
+
* Error associated with the action.
|
|
1817
|
+
*/
|
|
1818
|
+
error: null;
|
|
1819
|
+
/**
|
|
1820
|
+
* Result of the action.
|
|
1821
|
+
*/
|
|
1822
|
+
result: null;
|
|
1823
|
+
status: 'pending';
|
|
1824
|
+
} | {
|
|
1825
|
+
/**
|
|
1826
|
+
* ID of the action attempt.
|
|
1827
|
+
*/
|
|
1828
|
+
action_attempt_id: string;
|
|
1829
|
+
/**
|
|
1830
|
+
* Creating an access code is pending.
|
|
1831
|
+
*/
|
|
1832
|
+
action_type: 'CREATE_ACCESS_CODE';
|
|
1308
1833
|
/**
|
|
1309
1834
|
* Error associated with the action.
|
|
1310
1835
|
*/
|
|
@@ -1318,20 +1843,56 @@ export type ActionAttempt = {
|
|
|
1318
1843
|
*/
|
|
1319
1844
|
type: string;
|
|
1320
1845
|
};
|
|
1846
|
+
/**
|
|
1847
|
+
* Result of the action.
|
|
1848
|
+
*/
|
|
1849
|
+
result: null;
|
|
1850
|
+
status: 'error';
|
|
1851
|
+
} | {
|
|
1852
|
+
/**
|
|
1853
|
+
* ID of the action attempt.
|
|
1854
|
+
*/
|
|
1855
|
+
action_attempt_id: string;
|
|
1856
|
+
/**
|
|
1857
|
+
* Deleting an access code is pending.
|
|
1858
|
+
*/
|
|
1859
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
1860
|
+
/**
|
|
1861
|
+
* Error associated with the action.
|
|
1862
|
+
*/
|
|
1863
|
+
error: null;
|
|
1321
1864
|
/**
|
|
1322
1865
|
* Result of the action.
|
|
1323
1866
|
*/
|
|
1324
1867
|
result: {};
|
|
1325
|
-
status: 'success'
|
|
1868
|
+
status: 'success';
|
|
1326
1869
|
} | {
|
|
1327
1870
|
/**
|
|
1328
1871
|
* ID of the action attempt.
|
|
1329
1872
|
*/
|
|
1330
1873
|
action_attempt_id: string;
|
|
1331
1874
|
/**
|
|
1332
|
-
*
|
|
1875
|
+
* Deleting an access code is pending.
|
|
1333
1876
|
*/
|
|
1334
|
-
action_type: '
|
|
1877
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
1878
|
+
/**
|
|
1879
|
+
* Error associated with the action.
|
|
1880
|
+
*/
|
|
1881
|
+
error: null;
|
|
1882
|
+
/**
|
|
1883
|
+
* Result of the action.
|
|
1884
|
+
*/
|
|
1885
|
+
result: null;
|
|
1886
|
+
status: 'pending';
|
|
1887
|
+
} | {
|
|
1888
|
+
/**
|
|
1889
|
+
* ID of the action attempt.
|
|
1890
|
+
*/
|
|
1891
|
+
action_attempt_id: string;
|
|
1892
|
+
/**
|
|
1893
|
+
* Deleting an access code is pending.
|
|
1894
|
+
*/
|
|
1895
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
1335
1896
|
/**
|
|
1336
1897
|
* Error associated with the action.
|
|
1337
1898
|
*/
|
|
@@ -1345,6 +1906,24 @@ export type ActionAttempt = {
|
|
|
1345
1906
|
*/
|
|
1346
1907
|
type: string;
|
|
1347
1908
|
};
|
|
1909
|
+
/**
|
|
1910
|
+
* Result of the action.
|
|
1911
|
+
*/
|
|
1912
|
+
result: null;
|
|
1913
|
+
status: 'error';
|
|
1914
|
+
} | {
|
|
1915
|
+
/**
|
|
1916
|
+
* ID of the action attempt.
|
|
1917
|
+
*/
|
|
1918
|
+
action_attempt_id: string;
|
|
1919
|
+
/**
|
|
1920
|
+
* Updating an access code is pending.
|
|
1921
|
+
*/
|
|
1922
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
1923
|
+
/**
|
|
1924
|
+
* Error associated with the action.
|
|
1925
|
+
*/
|
|
1926
|
+
error: null;
|
|
1348
1927
|
/**
|
|
1349
1928
|
* Result of the action.
|
|
1350
1929
|
*/
|
|
@@ -1354,16 +1933,34 @@ export type ActionAttempt = {
|
|
|
1354
1933
|
*/
|
|
1355
1934
|
access_code?: Record<string, unknown> | undefined;
|
|
1356
1935
|
};
|
|
1357
|
-
status: 'success'
|
|
1936
|
+
status: 'success';
|
|
1358
1937
|
} | {
|
|
1359
1938
|
/**
|
|
1360
1939
|
* ID of the action attempt.
|
|
1361
1940
|
*/
|
|
1362
1941
|
action_attempt_id: string;
|
|
1363
1942
|
/**
|
|
1364
|
-
*
|
|
1943
|
+
* Updating an access code is pending.
|
|
1365
1944
|
*/
|
|
1366
|
-
action_type: '
|
|
1945
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
1946
|
+
/**
|
|
1947
|
+
* Error associated with the action.
|
|
1948
|
+
*/
|
|
1949
|
+
error: null;
|
|
1950
|
+
/**
|
|
1951
|
+
* Result of the action.
|
|
1952
|
+
*/
|
|
1953
|
+
result: null;
|
|
1954
|
+
status: 'pending';
|
|
1955
|
+
} | {
|
|
1956
|
+
/**
|
|
1957
|
+
* ID of the action attempt.
|
|
1958
|
+
*/
|
|
1959
|
+
action_attempt_id: string;
|
|
1960
|
+
/**
|
|
1961
|
+
* Updating an access code is pending.
|
|
1962
|
+
*/
|
|
1963
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
1367
1964
|
/**
|
|
1368
1965
|
* Error associated with the action.
|
|
1369
1966
|
*/
|
|
@@ -1377,6 +1974,24 @@ export type ActionAttempt = {
|
|
|
1377
1974
|
*/
|
|
1378
1975
|
type: string;
|
|
1379
1976
|
};
|
|
1977
|
+
/**
|
|
1978
|
+
* Result of the action.
|
|
1979
|
+
*/
|
|
1980
|
+
result: null;
|
|
1981
|
+
status: 'error';
|
|
1982
|
+
} | {
|
|
1983
|
+
/**
|
|
1984
|
+
* ID of the action attempt.
|
|
1985
|
+
*/
|
|
1986
|
+
action_attempt_id: string;
|
|
1987
|
+
/**
|
|
1988
|
+
* Creating a noise threshold is pending.
|
|
1989
|
+
*/
|
|
1990
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
1991
|
+
/**
|
|
1992
|
+
* Error associated with the action.
|
|
1993
|
+
*/
|
|
1994
|
+
error: null;
|
|
1380
1995
|
/**
|
|
1381
1996
|
* Result of the action.
|
|
1382
1997
|
*/
|
|
@@ -1386,16 +2001,34 @@ export type ActionAttempt = {
|
|
|
1386
2001
|
*/
|
|
1387
2002
|
noise_threshold: Record<string, unknown>;
|
|
1388
2003
|
};
|
|
1389
|
-
status: 'success'
|
|
2004
|
+
status: 'success';
|
|
1390
2005
|
} | {
|
|
1391
2006
|
/**
|
|
1392
2007
|
* ID of the action attempt.
|
|
1393
2008
|
*/
|
|
1394
2009
|
action_attempt_id: string;
|
|
1395
2010
|
/**
|
|
1396
|
-
*
|
|
2011
|
+
* Creating a noise threshold is pending.
|
|
1397
2012
|
*/
|
|
1398
|
-
action_type: '
|
|
2013
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
2014
|
+
/**
|
|
2015
|
+
* Error associated with the action.
|
|
2016
|
+
*/
|
|
2017
|
+
error: null;
|
|
2018
|
+
/**
|
|
2019
|
+
* Result of the action.
|
|
2020
|
+
*/
|
|
2021
|
+
result: null;
|
|
2022
|
+
status: 'pending';
|
|
2023
|
+
} | {
|
|
2024
|
+
/**
|
|
2025
|
+
* ID of the action attempt.
|
|
2026
|
+
*/
|
|
2027
|
+
action_attempt_id: string;
|
|
2028
|
+
/**
|
|
2029
|
+
* Creating a noise threshold is pending.
|
|
2030
|
+
*/
|
|
2031
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
1399
2032
|
/**
|
|
1400
2033
|
* Error associated with the action.
|
|
1401
2034
|
*/
|
|
@@ -1409,20 +2042,56 @@ export type ActionAttempt = {
|
|
|
1409
2042
|
*/
|
|
1410
2043
|
type: string;
|
|
1411
2044
|
};
|
|
2045
|
+
/**
|
|
2046
|
+
* Result of the action.
|
|
2047
|
+
*/
|
|
2048
|
+
result: null;
|
|
2049
|
+
status: 'error';
|
|
2050
|
+
} | {
|
|
2051
|
+
/**
|
|
2052
|
+
* ID of the action attempt.
|
|
2053
|
+
*/
|
|
2054
|
+
action_attempt_id: string;
|
|
2055
|
+
/**
|
|
2056
|
+
* Deleting a noise threshold is pending.
|
|
2057
|
+
*/
|
|
2058
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
2059
|
+
/**
|
|
2060
|
+
* Error associated with the action.
|
|
2061
|
+
*/
|
|
2062
|
+
error: null;
|
|
1412
2063
|
/**
|
|
1413
2064
|
* Result of the action.
|
|
1414
2065
|
*/
|
|
1415
2066
|
result: {};
|
|
1416
|
-
status: 'success'
|
|
2067
|
+
status: 'success';
|
|
1417
2068
|
} | {
|
|
1418
2069
|
/**
|
|
1419
2070
|
* ID of the action attempt.
|
|
1420
2071
|
*/
|
|
1421
2072
|
action_attempt_id: string;
|
|
1422
2073
|
/**
|
|
1423
|
-
*
|
|
2074
|
+
* Deleting a noise threshold is pending.
|
|
1424
2075
|
*/
|
|
1425
|
-
action_type: '
|
|
2076
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
2077
|
+
/**
|
|
2078
|
+
* Error associated with the action.
|
|
2079
|
+
*/
|
|
2080
|
+
error: null;
|
|
2081
|
+
/**
|
|
2082
|
+
* Result of the action.
|
|
2083
|
+
*/
|
|
2084
|
+
result: null;
|
|
2085
|
+
status: 'pending';
|
|
2086
|
+
} | {
|
|
2087
|
+
/**
|
|
2088
|
+
* ID of the action attempt.
|
|
2089
|
+
*/
|
|
2090
|
+
action_attempt_id: string;
|
|
2091
|
+
/**
|
|
2092
|
+
* Deleting a noise threshold is pending.
|
|
2093
|
+
*/
|
|
2094
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
1426
2095
|
/**
|
|
1427
2096
|
* Error associated with the action.
|
|
1428
2097
|
*/
|
|
@@ -1436,6 +2105,24 @@ export type ActionAttempt = {
|
|
|
1436
2105
|
*/
|
|
1437
2106
|
type: string;
|
|
1438
2107
|
};
|
|
2108
|
+
/**
|
|
2109
|
+
* Result of the action.
|
|
2110
|
+
*/
|
|
2111
|
+
result: null;
|
|
2112
|
+
status: 'error';
|
|
2113
|
+
} | {
|
|
2114
|
+
/**
|
|
2115
|
+
* ID of the action attempt.
|
|
2116
|
+
*/
|
|
2117
|
+
action_attempt_id: string;
|
|
2118
|
+
/**
|
|
2119
|
+
* Updating a noise threshold is pending.
|
|
2120
|
+
*/
|
|
2121
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
2122
|
+
/**
|
|
2123
|
+
* Error associated with the action.
|
|
2124
|
+
*/
|
|
2125
|
+
error: null;
|
|
1439
2126
|
/**
|
|
1440
2127
|
* Result of the action.
|
|
1441
2128
|
*/
|
|
@@ -1445,5 +2132,50 @@ export type ActionAttempt = {
|
|
|
1445
2132
|
*/
|
|
1446
2133
|
noise_threshold: Record<string, unknown>;
|
|
1447
2134
|
};
|
|
1448
|
-
status: 'success'
|
|
2135
|
+
status: 'success';
|
|
2136
|
+
} | {
|
|
2137
|
+
/**
|
|
2138
|
+
* ID of the action attempt.
|
|
2139
|
+
*/
|
|
2140
|
+
action_attempt_id: string;
|
|
2141
|
+
/**
|
|
2142
|
+
* Updating a noise threshold is pending.
|
|
2143
|
+
*/
|
|
2144
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
2145
|
+
/**
|
|
2146
|
+
* Error associated with the action.
|
|
2147
|
+
*/
|
|
2148
|
+
error: null;
|
|
2149
|
+
/**
|
|
2150
|
+
* Result of the action.
|
|
2151
|
+
*/
|
|
2152
|
+
result: null;
|
|
2153
|
+
status: 'pending';
|
|
2154
|
+
} | {
|
|
2155
|
+
/**
|
|
2156
|
+
* ID of the action attempt.
|
|
2157
|
+
*/
|
|
2158
|
+
action_attempt_id: string;
|
|
2159
|
+
/**
|
|
2160
|
+
* Updating a noise threshold is pending.
|
|
2161
|
+
*/
|
|
2162
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
2163
|
+
/**
|
|
2164
|
+
* Error associated with the action.
|
|
2165
|
+
*/
|
|
2166
|
+
error: {
|
|
2167
|
+
/**
|
|
2168
|
+
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
2169
|
+
*/
|
|
2170
|
+
message: string;
|
|
2171
|
+
/**
|
|
2172
|
+
* Type of the error.
|
|
2173
|
+
*/
|
|
2174
|
+
type: string;
|
|
2175
|
+
};
|
|
2176
|
+
/**
|
|
2177
|
+
* Result of the action.
|
|
2178
|
+
*/
|
|
2179
|
+
result: null;
|
|
2180
|
+
status: 'error';
|
|
1449
2181
|
};
|