@seamapi/types 1.332.0 → 1.333.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/dist/connect.cjs +1578 -318
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +3297 -472
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +902 -35
- package/lib/seam/connect/models/access-codes/managed-access-code.js +238 -6
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +568 -25
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +85 -23
- package/lib/seam/connect/models/connected-accounts/connected-account.js +27 -9
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +28 -7
- package/lib/seam/connect/models/devices/phone.d.ts +28 -7
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -7
- package/lib/seam/connect/models/events/acs/{access_groups.js → access-groups.js} +1 -1
- package/lib/seam/connect/models/events/acs/{access_groups.js.map → access-groups.js.map} +1 -1
- package/lib/seam/connect/models/events/acs/index.js +1 -1
- package/lib/seam/connect/models/events/index.d.ts +1 -0
- package/lib/seam/connect/models/events/index.js +1 -0
- package/lib/seam/connect/models/events/index.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +1 -0
- package/lib/seam/connect/models/events/seam-event.js +2 -0
- package/lib/seam/connect/models/events/seam-event.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +174 -164
- package/lib/seam/connect/openapi.js +1331 -205
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1539 -210
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +282 -7
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +32 -9
- package/src/lib/seam/connect/models/events/acs/index.ts +1 -1
- package/src/lib/seam/connect/models/events/index.ts +1 -0
- package/src/lib/seam/connect/models/events/seam-event.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +1452 -229
- package/src/lib/seam/connect/route-types.ts +2349 -654
- /package/lib/seam/connect/models/events/acs/{access_groups.d.ts → access-groups.d.ts} +0 -0
- /package/src/lib/seam/connect/models/events/acs/{access_groups.ts → access-groups.ts} +0 -0
|
@@ -867,11 +867,102 @@ export interface Routes {
|
|
|
867
867
|
/** Date and time at which the access code was created. */
|
|
868
868
|
created_at: string;
|
|
869
869
|
/** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
|
|
870
|
-
errors: Array<{
|
|
870
|
+
errors: Array<({
|
|
871
871
|
message: string;
|
|
872
872
|
is_access_code_error: true;
|
|
873
|
-
|
|
874
|
-
|
|
873
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
874
|
+
error_code: 'smartthings_failed_to_set_access_code';
|
|
875
|
+
} | {
|
|
876
|
+
message: string;
|
|
877
|
+
is_access_code_error: true;
|
|
878
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
879
|
+
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
880
|
+
} | {
|
|
881
|
+
message: string;
|
|
882
|
+
is_access_code_error: true;
|
|
883
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
884
|
+
error_code: 'failed_to_set_on_device';
|
|
885
|
+
} | {
|
|
886
|
+
message: string;
|
|
887
|
+
is_access_code_error: true;
|
|
888
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
889
|
+
error_code: 'failed_to_remove_from_device';
|
|
890
|
+
} | {
|
|
891
|
+
message: string;
|
|
892
|
+
is_access_code_error: true;
|
|
893
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
894
|
+
error_code: 'duplicate_code_on_device';
|
|
895
|
+
} | {
|
|
896
|
+
message: string;
|
|
897
|
+
is_access_code_error: true;
|
|
898
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
899
|
+
error_code: 'duplicate_code_attempt_prevented';
|
|
900
|
+
} | {
|
|
901
|
+
message: string;
|
|
902
|
+
is_access_code_error: true;
|
|
903
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
904
|
+
error_code: 'igloohome_bridge_too_many_pending_jobs';
|
|
905
|
+
} | {
|
|
906
|
+
message: string;
|
|
907
|
+
is_access_code_error: true;
|
|
908
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
909
|
+
error_code: 'igloohome_bridge_offline';
|
|
910
|
+
} | {
|
|
911
|
+
message: string;
|
|
912
|
+
is_access_code_error: true;
|
|
913
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
914
|
+
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
915
|
+
} | {
|
|
916
|
+
message: string;
|
|
917
|
+
is_access_code_error: true;
|
|
918
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
919
|
+
error_code: 'kwikset_unable_to_confirm_code';
|
|
920
|
+
} | {
|
|
921
|
+
message: string;
|
|
922
|
+
is_access_code_error: true;
|
|
923
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
924
|
+
error_code: 'kwikset_unable_to_confirm_deletion';
|
|
925
|
+
} | {
|
|
926
|
+
message: string;
|
|
927
|
+
is_access_code_error: true;
|
|
928
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
929
|
+
error_code: 'code_modified_external_to_seam';
|
|
930
|
+
} | {
|
|
931
|
+
message: string;
|
|
932
|
+
is_access_code_error: true;
|
|
933
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
934
|
+
error_code: 'august_lock_invalid_code_length';
|
|
935
|
+
} | {
|
|
936
|
+
message: string;
|
|
937
|
+
is_access_code_error: true;
|
|
938
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
939
|
+
error_code: 'august_device_programming_delay';
|
|
940
|
+
} | {
|
|
941
|
+
message: string;
|
|
942
|
+
is_access_code_error: true;
|
|
943
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
944
|
+
error_code: 'august_device_slots_full';
|
|
945
|
+
} | {
|
|
946
|
+
message: string;
|
|
947
|
+
is_access_code_error: true;
|
|
948
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
949
|
+
error_code: 'august_lock_missing_keypad';
|
|
950
|
+
} | {
|
|
951
|
+
message: string;
|
|
952
|
+
is_access_code_error: true;
|
|
953
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
954
|
+
error_code: 'salto_site_user_not_subscribed';
|
|
955
|
+
} | {
|
|
956
|
+
message: string;
|
|
957
|
+
is_access_code_error: true;
|
|
958
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
959
|
+
error_code: 'hubitat_device_programming_delay';
|
|
960
|
+
} | {
|
|
961
|
+
message: string;
|
|
962
|
+
is_access_code_error: true;
|
|
963
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
964
|
+
error_code: 'hubitat_no_free_positions_available';
|
|
965
|
+
}) | ({
|
|
875
966
|
message: string;
|
|
876
967
|
is_device_error: true;
|
|
877
968
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
@@ -936,15 +1027,58 @@ export interface Routes {
|
|
|
936
1027
|
is_device_error: true;
|
|
937
1028
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
938
1029
|
error_code: 'subscription_required';
|
|
939
|
-
}) | {
|
|
1030
|
+
}) | ({
|
|
940
1031
|
message: string;
|
|
941
1032
|
is_connected_account_error: true;
|
|
942
|
-
|
|
943
|
-
|
|
1033
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1034
|
+
error_code: 'account_disconnected';
|
|
1035
|
+
} | {
|
|
1036
|
+
message: string;
|
|
1037
|
+
is_connected_account_error: true;
|
|
1038
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1039
|
+
error_code: 'invalid_credentials';
|
|
1040
|
+
})>;
|
|
944
1041
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
945
1042
|
warnings: Array<{
|
|
946
1043
|
message: string;
|
|
947
|
-
|
|
1044
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1045
|
+
warning_code: 'smartthings_failed_to_set_access_code';
|
|
1046
|
+
} | {
|
|
1047
|
+
message: string;
|
|
1048
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1049
|
+
warning_code: 'schlage_detected_duplicate';
|
|
1050
|
+
} | {
|
|
1051
|
+
message: string;
|
|
1052
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1053
|
+
warning_code: 'schlage_creation_outage';
|
|
1054
|
+
} | {
|
|
1055
|
+
message: string;
|
|
1056
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1057
|
+
warning_code: 'code_modified_external_to_seam';
|
|
1058
|
+
} | {
|
|
1059
|
+
message: string;
|
|
1060
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1061
|
+
warning_code: 'delay_in_setting_on_device';
|
|
1062
|
+
} | {
|
|
1063
|
+
message: string;
|
|
1064
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1065
|
+
warning_code: 'delay_in_removing_from_device';
|
|
1066
|
+
} | {
|
|
1067
|
+
message: string;
|
|
1068
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1069
|
+
warning_code: 'third_party_integration_detected';
|
|
1070
|
+
} | {
|
|
1071
|
+
message: string;
|
|
1072
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1073
|
+
warning_code: 'august_device_programming_delay';
|
|
1074
|
+
} | {
|
|
1075
|
+
message: string;
|
|
1076
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1077
|
+
warning_code: 'igloo_algopin_must_be_used_within_24_hours';
|
|
1078
|
+
} | {
|
|
1079
|
+
message: string;
|
|
1080
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1081
|
+
warning_code: 'management_transferred';
|
|
948
1082
|
}>;
|
|
949
1083
|
/** Indicates whether Seam manages the access code. */
|
|
950
1084
|
is_managed: true;
|
|
@@ -1016,11 +1150,102 @@ export interface Routes {
|
|
|
1016
1150
|
/** Date and time at which the access code was created. */
|
|
1017
1151
|
created_at: string;
|
|
1018
1152
|
/** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
|
|
1019
|
-
errors: Array<{
|
|
1153
|
+
errors: Array<({
|
|
1020
1154
|
message: string;
|
|
1021
1155
|
is_access_code_error: true;
|
|
1022
|
-
|
|
1023
|
-
|
|
1156
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1157
|
+
error_code: 'smartthings_failed_to_set_access_code';
|
|
1158
|
+
} | {
|
|
1159
|
+
message: string;
|
|
1160
|
+
is_access_code_error: true;
|
|
1161
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1162
|
+
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
1163
|
+
} | {
|
|
1164
|
+
message: string;
|
|
1165
|
+
is_access_code_error: true;
|
|
1166
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1167
|
+
error_code: 'failed_to_set_on_device';
|
|
1168
|
+
} | {
|
|
1169
|
+
message: string;
|
|
1170
|
+
is_access_code_error: true;
|
|
1171
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1172
|
+
error_code: 'failed_to_remove_from_device';
|
|
1173
|
+
} | {
|
|
1174
|
+
message: string;
|
|
1175
|
+
is_access_code_error: true;
|
|
1176
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1177
|
+
error_code: 'duplicate_code_on_device';
|
|
1178
|
+
} | {
|
|
1179
|
+
message: string;
|
|
1180
|
+
is_access_code_error: true;
|
|
1181
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1182
|
+
error_code: 'duplicate_code_attempt_prevented';
|
|
1183
|
+
} | {
|
|
1184
|
+
message: string;
|
|
1185
|
+
is_access_code_error: true;
|
|
1186
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1187
|
+
error_code: 'igloohome_bridge_too_many_pending_jobs';
|
|
1188
|
+
} | {
|
|
1189
|
+
message: string;
|
|
1190
|
+
is_access_code_error: true;
|
|
1191
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1192
|
+
error_code: 'igloohome_bridge_offline';
|
|
1193
|
+
} | {
|
|
1194
|
+
message: string;
|
|
1195
|
+
is_access_code_error: true;
|
|
1196
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1197
|
+
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
1198
|
+
} | {
|
|
1199
|
+
message: string;
|
|
1200
|
+
is_access_code_error: true;
|
|
1201
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1202
|
+
error_code: 'kwikset_unable_to_confirm_code';
|
|
1203
|
+
} | {
|
|
1204
|
+
message: string;
|
|
1205
|
+
is_access_code_error: true;
|
|
1206
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1207
|
+
error_code: 'kwikset_unable_to_confirm_deletion';
|
|
1208
|
+
} | {
|
|
1209
|
+
message: string;
|
|
1210
|
+
is_access_code_error: true;
|
|
1211
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1212
|
+
error_code: 'code_modified_external_to_seam';
|
|
1213
|
+
} | {
|
|
1214
|
+
message: string;
|
|
1215
|
+
is_access_code_error: true;
|
|
1216
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1217
|
+
error_code: 'august_lock_invalid_code_length';
|
|
1218
|
+
} | {
|
|
1219
|
+
message: string;
|
|
1220
|
+
is_access_code_error: true;
|
|
1221
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1222
|
+
error_code: 'august_device_programming_delay';
|
|
1223
|
+
} | {
|
|
1224
|
+
message: string;
|
|
1225
|
+
is_access_code_error: true;
|
|
1226
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1227
|
+
error_code: 'august_device_slots_full';
|
|
1228
|
+
} | {
|
|
1229
|
+
message: string;
|
|
1230
|
+
is_access_code_error: true;
|
|
1231
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1232
|
+
error_code: 'august_lock_missing_keypad';
|
|
1233
|
+
} | {
|
|
1234
|
+
message: string;
|
|
1235
|
+
is_access_code_error: true;
|
|
1236
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1237
|
+
error_code: 'salto_site_user_not_subscribed';
|
|
1238
|
+
} | {
|
|
1239
|
+
message: string;
|
|
1240
|
+
is_access_code_error: true;
|
|
1241
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1242
|
+
error_code: 'hubitat_device_programming_delay';
|
|
1243
|
+
} | {
|
|
1244
|
+
message: string;
|
|
1245
|
+
is_access_code_error: true;
|
|
1246
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1247
|
+
error_code: 'hubitat_no_free_positions_available';
|
|
1248
|
+
}) | ({
|
|
1024
1249
|
message: string;
|
|
1025
1250
|
is_device_error: true;
|
|
1026
1251
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
@@ -1085,15 +1310,58 @@ export interface Routes {
|
|
|
1085
1310
|
is_device_error: true;
|
|
1086
1311
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1087
1312
|
error_code: 'subscription_required';
|
|
1088
|
-
}) | {
|
|
1313
|
+
}) | ({
|
|
1089
1314
|
message: string;
|
|
1090
1315
|
is_connected_account_error: true;
|
|
1091
|
-
|
|
1092
|
-
|
|
1316
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1317
|
+
error_code: 'account_disconnected';
|
|
1318
|
+
} | {
|
|
1319
|
+
message: string;
|
|
1320
|
+
is_connected_account_error: true;
|
|
1321
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1322
|
+
error_code: 'invalid_credentials';
|
|
1323
|
+
})>;
|
|
1093
1324
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
1094
1325
|
warnings: Array<{
|
|
1095
1326
|
message: string;
|
|
1096
|
-
|
|
1327
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1328
|
+
warning_code: 'smartthings_failed_to_set_access_code';
|
|
1329
|
+
} | {
|
|
1330
|
+
message: string;
|
|
1331
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1332
|
+
warning_code: 'schlage_detected_duplicate';
|
|
1333
|
+
} | {
|
|
1334
|
+
message: string;
|
|
1335
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1336
|
+
warning_code: 'schlage_creation_outage';
|
|
1337
|
+
} | {
|
|
1338
|
+
message: string;
|
|
1339
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1340
|
+
warning_code: 'code_modified_external_to_seam';
|
|
1341
|
+
} | {
|
|
1342
|
+
message: string;
|
|
1343
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1344
|
+
warning_code: 'delay_in_setting_on_device';
|
|
1345
|
+
} | {
|
|
1346
|
+
message: string;
|
|
1347
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1348
|
+
warning_code: 'delay_in_removing_from_device';
|
|
1349
|
+
} | {
|
|
1350
|
+
message: string;
|
|
1351
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1352
|
+
warning_code: 'third_party_integration_detected';
|
|
1353
|
+
} | {
|
|
1354
|
+
message: string;
|
|
1355
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1356
|
+
warning_code: 'august_device_programming_delay';
|
|
1357
|
+
} | {
|
|
1358
|
+
message: string;
|
|
1359
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1360
|
+
warning_code: 'igloo_algopin_must_be_used_within_24_hours';
|
|
1361
|
+
} | {
|
|
1362
|
+
message: string;
|
|
1363
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1364
|
+
warning_code: 'management_transferred';
|
|
1097
1365
|
}>;
|
|
1098
1366
|
/** Indicates whether Seam manages the access code. */
|
|
1099
1367
|
is_managed: true;
|
|
@@ -2004,11 +2272,102 @@ export interface Routes {
|
|
|
2004
2272
|
/** Date and time at which the access code was created. */
|
|
2005
2273
|
created_at: string;
|
|
2006
2274
|
/** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
|
|
2007
|
-
errors: Array<{
|
|
2275
|
+
errors: Array<({
|
|
2008
2276
|
message: string;
|
|
2009
2277
|
is_access_code_error: true;
|
|
2010
|
-
|
|
2011
|
-
|
|
2278
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2279
|
+
error_code: 'smartthings_failed_to_set_access_code';
|
|
2280
|
+
} | {
|
|
2281
|
+
message: string;
|
|
2282
|
+
is_access_code_error: true;
|
|
2283
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2284
|
+
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
2285
|
+
} | {
|
|
2286
|
+
message: string;
|
|
2287
|
+
is_access_code_error: true;
|
|
2288
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2289
|
+
error_code: 'failed_to_set_on_device';
|
|
2290
|
+
} | {
|
|
2291
|
+
message: string;
|
|
2292
|
+
is_access_code_error: true;
|
|
2293
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2294
|
+
error_code: 'failed_to_remove_from_device';
|
|
2295
|
+
} | {
|
|
2296
|
+
message: string;
|
|
2297
|
+
is_access_code_error: true;
|
|
2298
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2299
|
+
error_code: 'duplicate_code_on_device';
|
|
2300
|
+
} | {
|
|
2301
|
+
message: string;
|
|
2302
|
+
is_access_code_error: true;
|
|
2303
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2304
|
+
error_code: 'duplicate_code_attempt_prevented';
|
|
2305
|
+
} | {
|
|
2306
|
+
message: string;
|
|
2307
|
+
is_access_code_error: true;
|
|
2308
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2309
|
+
error_code: 'igloohome_bridge_too_many_pending_jobs';
|
|
2310
|
+
} | {
|
|
2311
|
+
message: string;
|
|
2312
|
+
is_access_code_error: true;
|
|
2313
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2314
|
+
error_code: 'igloohome_bridge_offline';
|
|
2315
|
+
} | {
|
|
2316
|
+
message: string;
|
|
2317
|
+
is_access_code_error: true;
|
|
2318
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2319
|
+
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
2320
|
+
} | {
|
|
2321
|
+
message: string;
|
|
2322
|
+
is_access_code_error: true;
|
|
2323
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2324
|
+
error_code: 'kwikset_unable_to_confirm_code';
|
|
2325
|
+
} | {
|
|
2326
|
+
message: string;
|
|
2327
|
+
is_access_code_error: true;
|
|
2328
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2329
|
+
error_code: 'kwikset_unable_to_confirm_deletion';
|
|
2330
|
+
} | {
|
|
2331
|
+
message: string;
|
|
2332
|
+
is_access_code_error: true;
|
|
2333
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2334
|
+
error_code: 'code_modified_external_to_seam';
|
|
2335
|
+
} | {
|
|
2336
|
+
message: string;
|
|
2337
|
+
is_access_code_error: true;
|
|
2338
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2339
|
+
error_code: 'august_lock_invalid_code_length';
|
|
2340
|
+
} | {
|
|
2341
|
+
message: string;
|
|
2342
|
+
is_access_code_error: true;
|
|
2343
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2344
|
+
error_code: 'august_device_programming_delay';
|
|
2345
|
+
} | {
|
|
2346
|
+
message: string;
|
|
2347
|
+
is_access_code_error: true;
|
|
2348
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2349
|
+
error_code: 'august_device_slots_full';
|
|
2350
|
+
} | {
|
|
2351
|
+
message: string;
|
|
2352
|
+
is_access_code_error: true;
|
|
2353
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2354
|
+
error_code: 'august_lock_missing_keypad';
|
|
2355
|
+
} | {
|
|
2356
|
+
message: string;
|
|
2357
|
+
is_access_code_error: true;
|
|
2358
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2359
|
+
error_code: 'salto_site_user_not_subscribed';
|
|
2360
|
+
} | {
|
|
2361
|
+
message: string;
|
|
2362
|
+
is_access_code_error: true;
|
|
2363
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2364
|
+
error_code: 'hubitat_device_programming_delay';
|
|
2365
|
+
} | {
|
|
2366
|
+
message: string;
|
|
2367
|
+
is_access_code_error: true;
|
|
2368
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2369
|
+
error_code: 'hubitat_no_free_positions_available';
|
|
2370
|
+
}) | ({
|
|
2012
2371
|
message: string;
|
|
2013
2372
|
is_device_error: true;
|
|
2014
2373
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
@@ -2073,15 +2432,58 @@ export interface Routes {
|
|
|
2073
2432
|
is_device_error: true;
|
|
2074
2433
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2075
2434
|
error_code: 'subscription_required';
|
|
2076
|
-
}) | {
|
|
2435
|
+
}) | ({
|
|
2077
2436
|
message: string;
|
|
2078
2437
|
is_connected_account_error: true;
|
|
2079
|
-
|
|
2080
|
-
|
|
2438
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2439
|
+
error_code: 'account_disconnected';
|
|
2440
|
+
} | {
|
|
2441
|
+
message: string;
|
|
2442
|
+
is_connected_account_error: true;
|
|
2443
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2444
|
+
error_code: 'invalid_credentials';
|
|
2445
|
+
})>;
|
|
2081
2446
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
2082
2447
|
warnings: Array<{
|
|
2083
2448
|
message: string;
|
|
2084
|
-
|
|
2449
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2450
|
+
warning_code: 'smartthings_failed_to_set_access_code';
|
|
2451
|
+
} | {
|
|
2452
|
+
message: string;
|
|
2453
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2454
|
+
warning_code: 'schlage_detected_duplicate';
|
|
2455
|
+
} | {
|
|
2456
|
+
message: string;
|
|
2457
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2458
|
+
warning_code: 'schlage_creation_outage';
|
|
2459
|
+
} | {
|
|
2460
|
+
message: string;
|
|
2461
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2462
|
+
warning_code: 'code_modified_external_to_seam';
|
|
2463
|
+
} | {
|
|
2464
|
+
message: string;
|
|
2465
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2466
|
+
warning_code: 'delay_in_setting_on_device';
|
|
2467
|
+
} | {
|
|
2468
|
+
message: string;
|
|
2469
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2470
|
+
warning_code: 'delay_in_removing_from_device';
|
|
2471
|
+
} | {
|
|
2472
|
+
message: string;
|
|
2473
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2474
|
+
warning_code: 'third_party_integration_detected';
|
|
2475
|
+
} | {
|
|
2476
|
+
message: string;
|
|
2477
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2478
|
+
warning_code: 'august_device_programming_delay';
|
|
2479
|
+
} | {
|
|
2480
|
+
message: string;
|
|
2481
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2482
|
+
warning_code: 'igloo_algopin_must_be_used_within_24_hours';
|
|
2483
|
+
} | {
|
|
2484
|
+
message: string;
|
|
2485
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2486
|
+
warning_code: 'management_transferred';
|
|
2085
2487
|
}>;
|
|
2086
2488
|
/** Indicates whether Seam manages the access code. */
|
|
2087
2489
|
is_managed: true;
|
|
@@ -2140,11 +2542,102 @@ export interface Routes {
|
|
|
2140
2542
|
/** Date and time at which the access code was created. */
|
|
2141
2543
|
created_at: string;
|
|
2142
2544
|
/** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
|
|
2143
|
-
errors: Array<{
|
|
2545
|
+
errors: Array<({
|
|
2144
2546
|
message: string;
|
|
2145
2547
|
is_access_code_error: true;
|
|
2146
|
-
|
|
2147
|
-
|
|
2548
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2549
|
+
error_code: 'smartthings_failed_to_set_access_code';
|
|
2550
|
+
} | {
|
|
2551
|
+
message: string;
|
|
2552
|
+
is_access_code_error: true;
|
|
2553
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2554
|
+
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
2555
|
+
} | {
|
|
2556
|
+
message: string;
|
|
2557
|
+
is_access_code_error: true;
|
|
2558
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2559
|
+
error_code: 'failed_to_set_on_device';
|
|
2560
|
+
} | {
|
|
2561
|
+
message: string;
|
|
2562
|
+
is_access_code_error: true;
|
|
2563
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2564
|
+
error_code: 'failed_to_remove_from_device';
|
|
2565
|
+
} | {
|
|
2566
|
+
message: string;
|
|
2567
|
+
is_access_code_error: true;
|
|
2568
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2569
|
+
error_code: 'duplicate_code_on_device';
|
|
2570
|
+
} | {
|
|
2571
|
+
message: string;
|
|
2572
|
+
is_access_code_error: true;
|
|
2573
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2574
|
+
error_code: 'duplicate_code_attempt_prevented';
|
|
2575
|
+
} | {
|
|
2576
|
+
message: string;
|
|
2577
|
+
is_access_code_error: true;
|
|
2578
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2579
|
+
error_code: 'igloohome_bridge_too_many_pending_jobs';
|
|
2580
|
+
} | {
|
|
2581
|
+
message: string;
|
|
2582
|
+
is_access_code_error: true;
|
|
2583
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2584
|
+
error_code: 'igloohome_bridge_offline';
|
|
2585
|
+
} | {
|
|
2586
|
+
message: string;
|
|
2587
|
+
is_access_code_error: true;
|
|
2588
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2589
|
+
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
2590
|
+
} | {
|
|
2591
|
+
message: string;
|
|
2592
|
+
is_access_code_error: true;
|
|
2593
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2594
|
+
error_code: 'kwikset_unable_to_confirm_code';
|
|
2595
|
+
} | {
|
|
2596
|
+
message: string;
|
|
2597
|
+
is_access_code_error: true;
|
|
2598
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2599
|
+
error_code: 'kwikset_unable_to_confirm_deletion';
|
|
2600
|
+
} | {
|
|
2601
|
+
message: string;
|
|
2602
|
+
is_access_code_error: true;
|
|
2603
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2604
|
+
error_code: 'code_modified_external_to_seam';
|
|
2605
|
+
} | {
|
|
2606
|
+
message: string;
|
|
2607
|
+
is_access_code_error: true;
|
|
2608
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2609
|
+
error_code: 'august_lock_invalid_code_length';
|
|
2610
|
+
} | {
|
|
2611
|
+
message: string;
|
|
2612
|
+
is_access_code_error: true;
|
|
2613
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2614
|
+
error_code: 'august_device_programming_delay';
|
|
2615
|
+
} | {
|
|
2616
|
+
message: string;
|
|
2617
|
+
is_access_code_error: true;
|
|
2618
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2619
|
+
error_code: 'august_device_slots_full';
|
|
2620
|
+
} | {
|
|
2621
|
+
message: string;
|
|
2622
|
+
is_access_code_error: true;
|
|
2623
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2624
|
+
error_code: 'august_lock_missing_keypad';
|
|
2625
|
+
} | {
|
|
2626
|
+
message: string;
|
|
2627
|
+
is_access_code_error: true;
|
|
2628
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2629
|
+
error_code: 'salto_site_user_not_subscribed';
|
|
2630
|
+
} | {
|
|
2631
|
+
message: string;
|
|
2632
|
+
is_access_code_error: true;
|
|
2633
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2634
|
+
error_code: 'hubitat_device_programming_delay';
|
|
2635
|
+
} | {
|
|
2636
|
+
message: string;
|
|
2637
|
+
is_access_code_error: true;
|
|
2638
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2639
|
+
error_code: 'hubitat_no_free_positions_available';
|
|
2640
|
+
}) | ({
|
|
2148
2641
|
message: string;
|
|
2149
2642
|
is_device_error: true;
|
|
2150
2643
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
@@ -2209,15 +2702,58 @@ export interface Routes {
|
|
|
2209
2702
|
is_device_error: true;
|
|
2210
2703
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2211
2704
|
error_code: 'subscription_required';
|
|
2212
|
-
}) | {
|
|
2705
|
+
}) | ({
|
|
2213
2706
|
message: string;
|
|
2214
2707
|
is_connected_account_error: true;
|
|
2215
|
-
|
|
2216
|
-
|
|
2708
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2709
|
+
error_code: 'account_disconnected';
|
|
2710
|
+
} | {
|
|
2711
|
+
message: string;
|
|
2712
|
+
is_connected_account_error: true;
|
|
2713
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2714
|
+
error_code: 'invalid_credentials';
|
|
2715
|
+
})>;
|
|
2217
2716
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
2218
2717
|
warnings: Array<{
|
|
2219
2718
|
message: string;
|
|
2220
|
-
|
|
2719
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2720
|
+
warning_code: 'smartthings_failed_to_set_access_code';
|
|
2721
|
+
} | {
|
|
2722
|
+
message: string;
|
|
2723
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2724
|
+
warning_code: 'schlage_detected_duplicate';
|
|
2725
|
+
} | {
|
|
2726
|
+
message: string;
|
|
2727
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2728
|
+
warning_code: 'schlage_creation_outage';
|
|
2729
|
+
} | {
|
|
2730
|
+
message: string;
|
|
2731
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2732
|
+
warning_code: 'code_modified_external_to_seam';
|
|
2733
|
+
} | {
|
|
2734
|
+
message: string;
|
|
2735
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2736
|
+
warning_code: 'delay_in_setting_on_device';
|
|
2737
|
+
} | {
|
|
2738
|
+
message: string;
|
|
2739
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2740
|
+
warning_code: 'delay_in_removing_from_device';
|
|
2741
|
+
} | {
|
|
2742
|
+
message: string;
|
|
2743
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2744
|
+
warning_code: 'third_party_integration_detected';
|
|
2745
|
+
} | {
|
|
2746
|
+
message: string;
|
|
2747
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2748
|
+
warning_code: 'august_device_programming_delay';
|
|
2749
|
+
} | {
|
|
2750
|
+
message: string;
|
|
2751
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2752
|
+
warning_code: 'igloo_algopin_must_be_used_within_24_hours';
|
|
2753
|
+
} | {
|
|
2754
|
+
message: string;
|
|
2755
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2756
|
+
warning_code: 'management_transferred';
|
|
2221
2757
|
}>;
|
|
2222
2758
|
/** Indicates whether Seam manages the access code. */
|
|
2223
2759
|
is_managed: true;
|
|
@@ -2275,11 +2811,102 @@ export interface Routes {
|
|
|
2275
2811
|
/** Date and time at which the access code was created. */
|
|
2276
2812
|
created_at: string;
|
|
2277
2813
|
/** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
|
|
2278
|
-
errors: Array<{
|
|
2814
|
+
errors: Array<({
|
|
2279
2815
|
message: string;
|
|
2280
2816
|
is_access_code_error: true;
|
|
2281
|
-
|
|
2282
|
-
|
|
2817
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2818
|
+
error_code: 'smartthings_failed_to_set_access_code';
|
|
2819
|
+
} | {
|
|
2820
|
+
message: string;
|
|
2821
|
+
is_access_code_error: true;
|
|
2822
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2823
|
+
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
2824
|
+
} | {
|
|
2825
|
+
message: string;
|
|
2826
|
+
is_access_code_error: true;
|
|
2827
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2828
|
+
error_code: 'failed_to_set_on_device';
|
|
2829
|
+
} | {
|
|
2830
|
+
message: string;
|
|
2831
|
+
is_access_code_error: true;
|
|
2832
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2833
|
+
error_code: 'failed_to_remove_from_device';
|
|
2834
|
+
} | {
|
|
2835
|
+
message: string;
|
|
2836
|
+
is_access_code_error: true;
|
|
2837
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2838
|
+
error_code: 'duplicate_code_on_device';
|
|
2839
|
+
} | {
|
|
2840
|
+
message: string;
|
|
2841
|
+
is_access_code_error: true;
|
|
2842
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2843
|
+
error_code: 'duplicate_code_attempt_prevented';
|
|
2844
|
+
} | {
|
|
2845
|
+
message: string;
|
|
2846
|
+
is_access_code_error: true;
|
|
2847
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2848
|
+
error_code: 'igloohome_bridge_too_many_pending_jobs';
|
|
2849
|
+
} | {
|
|
2850
|
+
message: string;
|
|
2851
|
+
is_access_code_error: true;
|
|
2852
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2853
|
+
error_code: 'igloohome_bridge_offline';
|
|
2854
|
+
} | {
|
|
2855
|
+
message: string;
|
|
2856
|
+
is_access_code_error: true;
|
|
2857
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2858
|
+
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
2859
|
+
} | {
|
|
2860
|
+
message: string;
|
|
2861
|
+
is_access_code_error: true;
|
|
2862
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2863
|
+
error_code: 'kwikset_unable_to_confirm_code';
|
|
2864
|
+
} | {
|
|
2865
|
+
message: string;
|
|
2866
|
+
is_access_code_error: true;
|
|
2867
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2868
|
+
error_code: 'kwikset_unable_to_confirm_deletion';
|
|
2869
|
+
} | {
|
|
2870
|
+
message: string;
|
|
2871
|
+
is_access_code_error: true;
|
|
2872
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2873
|
+
error_code: 'code_modified_external_to_seam';
|
|
2874
|
+
} | {
|
|
2875
|
+
message: string;
|
|
2876
|
+
is_access_code_error: true;
|
|
2877
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2878
|
+
error_code: 'august_lock_invalid_code_length';
|
|
2879
|
+
} | {
|
|
2880
|
+
message: string;
|
|
2881
|
+
is_access_code_error: true;
|
|
2882
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2883
|
+
error_code: 'august_device_programming_delay';
|
|
2884
|
+
} | {
|
|
2885
|
+
message: string;
|
|
2886
|
+
is_access_code_error: true;
|
|
2887
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2888
|
+
error_code: 'august_device_slots_full';
|
|
2889
|
+
} | {
|
|
2890
|
+
message: string;
|
|
2891
|
+
is_access_code_error: true;
|
|
2892
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2893
|
+
error_code: 'august_lock_missing_keypad';
|
|
2894
|
+
} | {
|
|
2895
|
+
message: string;
|
|
2896
|
+
is_access_code_error: true;
|
|
2897
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2898
|
+
error_code: 'salto_site_user_not_subscribed';
|
|
2899
|
+
} | {
|
|
2900
|
+
message: string;
|
|
2901
|
+
is_access_code_error: true;
|
|
2902
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2903
|
+
error_code: 'hubitat_device_programming_delay';
|
|
2904
|
+
} | {
|
|
2905
|
+
message: string;
|
|
2906
|
+
is_access_code_error: true;
|
|
2907
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2908
|
+
error_code: 'hubitat_no_free_positions_available';
|
|
2909
|
+
}) | ({
|
|
2283
2910
|
message: string;
|
|
2284
2911
|
is_device_error: true;
|
|
2285
2912
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
@@ -2344,15 +2971,58 @@ export interface Routes {
|
|
|
2344
2971
|
is_device_error: true;
|
|
2345
2972
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2346
2973
|
error_code: 'subscription_required';
|
|
2347
|
-
}) | {
|
|
2974
|
+
}) | ({
|
|
2348
2975
|
message: string;
|
|
2349
2976
|
is_connected_account_error: true;
|
|
2350
|
-
|
|
2351
|
-
|
|
2977
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2978
|
+
error_code: 'account_disconnected';
|
|
2979
|
+
} | {
|
|
2980
|
+
message: string;
|
|
2981
|
+
is_connected_account_error: true;
|
|
2982
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2983
|
+
error_code: 'invalid_credentials';
|
|
2984
|
+
})>;
|
|
2352
2985
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
2353
2986
|
warnings: Array<{
|
|
2354
2987
|
message: string;
|
|
2355
|
-
|
|
2988
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2989
|
+
warning_code: 'smartthings_failed_to_set_access_code';
|
|
2990
|
+
} | {
|
|
2991
|
+
message: string;
|
|
2992
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2993
|
+
warning_code: 'schlage_detected_duplicate';
|
|
2994
|
+
} | {
|
|
2995
|
+
message: string;
|
|
2996
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2997
|
+
warning_code: 'schlage_creation_outage';
|
|
2998
|
+
} | {
|
|
2999
|
+
message: string;
|
|
3000
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3001
|
+
warning_code: 'code_modified_external_to_seam';
|
|
3002
|
+
} | {
|
|
3003
|
+
message: string;
|
|
3004
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3005
|
+
warning_code: 'delay_in_setting_on_device';
|
|
3006
|
+
} | {
|
|
3007
|
+
message: string;
|
|
3008
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3009
|
+
warning_code: 'delay_in_removing_from_device';
|
|
3010
|
+
} | {
|
|
3011
|
+
message: string;
|
|
3012
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3013
|
+
warning_code: 'third_party_integration_detected';
|
|
3014
|
+
} | {
|
|
3015
|
+
message: string;
|
|
3016
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3017
|
+
warning_code: 'august_device_programming_delay';
|
|
3018
|
+
} | {
|
|
3019
|
+
message: string;
|
|
3020
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3021
|
+
warning_code: 'igloo_algopin_must_be_used_within_24_hours';
|
|
3022
|
+
} | {
|
|
3023
|
+
message: string;
|
|
3024
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3025
|
+
warning_code: 'management_transferred';
|
|
2356
3026
|
}>;
|
|
2357
3027
|
/** Indicates whether Seam manages the access code. */
|
|
2358
3028
|
is_managed: true;
|
|
@@ -2398,11 +3068,102 @@ export interface Routes {
|
|
|
2398
3068
|
/** Date and time at which the access code was created. */
|
|
2399
3069
|
created_at: string;
|
|
2400
3070
|
/** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
|
|
2401
|
-
errors: Array<{
|
|
3071
|
+
errors: Array<({
|
|
2402
3072
|
message: string;
|
|
2403
3073
|
is_access_code_error: true;
|
|
2404
|
-
|
|
2405
|
-
|
|
3074
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3075
|
+
error_code: 'smartthings_failed_to_set_access_code';
|
|
3076
|
+
} | {
|
|
3077
|
+
message: string;
|
|
3078
|
+
is_access_code_error: true;
|
|
3079
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3080
|
+
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
3081
|
+
} | {
|
|
3082
|
+
message: string;
|
|
3083
|
+
is_access_code_error: true;
|
|
3084
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3085
|
+
error_code: 'failed_to_set_on_device';
|
|
3086
|
+
} | {
|
|
3087
|
+
message: string;
|
|
3088
|
+
is_access_code_error: true;
|
|
3089
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3090
|
+
error_code: 'failed_to_remove_from_device';
|
|
3091
|
+
} | {
|
|
3092
|
+
message: string;
|
|
3093
|
+
is_access_code_error: true;
|
|
3094
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3095
|
+
error_code: 'duplicate_code_on_device';
|
|
3096
|
+
} | {
|
|
3097
|
+
message: string;
|
|
3098
|
+
is_access_code_error: true;
|
|
3099
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3100
|
+
error_code: 'duplicate_code_attempt_prevented';
|
|
3101
|
+
} | {
|
|
3102
|
+
message: string;
|
|
3103
|
+
is_access_code_error: true;
|
|
3104
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3105
|
+
error_code: 'igloohome_bridge_too_many_pending_jobs';
|
|
3106
|
+
} | {
|
|
3107
|
+
message: string;
|
|
3108
|
+
is_access_code_error: true;
|
|
3109
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3110
|
+
error_code: 'igloohome_bridge_offline';
|
|
3111
|
+
} | {
|
|
3112
|
+
message: string;
|
|
3113
|
+
is_access_code_error: true;
|
|
3114
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3115
|
+
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
3116
|
+
} | {
|
|
3117
|
+
message: string;
|
|
3118
|
+
is_access_code_error: true;
|
|
3119
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3120
|
+
error_code: 'kwikset_unable_to_confirm_code';
|
|
3121
|
+
} | {
|
|
3122
|
+
message: string;
|
|
3123
|
+
is_access_code_error: true;
|
|
3124
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3125
|
+
error_code: 'kwikset_unable_to_confirm_deletion';
|
|
3126
|
+
} | {
|
|
3127
|
+
message: string;
|
|
3128
|
+
is_access_code_error: true;
|
|
3129
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3130
|
+
error_code: 'code_modified_external_to_seam';
|
|
3131
|
+
} | {
|
|
3132
|
+
message: string;
|
|
3133
|
+
is_access_code_error: true;
|
|
3134
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3135
|
+
error_code: 'august_lock_invalid_code_length';
|
|
3136
|
+
} | {
|
|
3137
|
+
message: string;
|
|
3138
|
+
is_access_code_error: true;
|
|
3139
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3140
|
+
error_code: 'august_device_programming_delay';
|
|
3141
|
+
} | {
|
|
3142
|
+
message: string;
|
|
3143
|
+
is_access_code_error: true;
|
|
3144
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3145
|
+
error_code: 'august_device_slots_full';
|
|
3146
|
+
} | {
|
|
3147
|
+
message: string;
|
|
3148
|
+
is_access_code_error: true;
|
|
3149
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3150
|
+
error_code: 'august_lock_missing_keypad';
|
|
3151
|
+
} | {
|
|
3152
|
+
message: string;
|
|
3153
|
+
is_access_code_error: true;
|
|
3154
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3155
|
+
error_code: 'salto_site_user_not_subscribed';
|
|
3156
|
+
} | {
|
|
3157
|
+
message: string;
|
|
3158
|
+
is_access_code_error: true;
|
|
3159
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3160
|
+
error_code: 'hubitat_device_programming_delay';
|
|
3161
|
+
} | {
|
|
3162
|
+
message: string;
|
|
3163
|
+
is_access_code_error: true;
|
|
3164
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3165
|
+
error_code: 'hubitat_no_free_positions_available';
|
|
3166
|
+
}) | ({
|
|
2406
3167
|
message: string;
|
|
2407
3168
|
is_device_error: true;
|
|
2408
3169
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
@@ -2467,15 +3228,58 @@ export interface Routes {
|
|
|
2467
3228
|
is_device_error: true;
|
|
2468
3229
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2469
3230
|
error_code: 'subscription_required';
|
|
2470
|
-
}) | {
|
|
3231
|
+
}) | ({
|
|
2471
3232
|
message: string;
|
|
2472
3233
|
is_connected_account_error: true;
|
|
2473
|
-
|
|
2474
|
-
|
|
3234
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3235
|
+
error_code: 'account_disconnected';
|
|
3236
|
+
} | {
|
|
3237
|
+
message: string;
|
|
3238
|
+
is_connected_account_error: true;
|
|
3239
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3240
|
+
error_code: 'invalid_credentials';
|
|
3241
|
+
})>;
|
|
2475
3242
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
2476
3243
|
warnings: Array<{
|
|
2477
3244
|
message: string;
|
|
2478
|
-
|
|
3245
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3246
|
+
warning_code: 'smartthings_failed_to_set_access_code';
|
|
3247
|
+
} | {
|
|
3248
|
+
message: string;
|
|
3249
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3250
|
+
warning_code: 'schlage_detected_duplicate';
|
|
3251
|
+
} | {
|
|
3252
|
+
message: string;
|
|
3253
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3254
|
+
warning_code: 'schlage_creation_outage';
|
|
3255
|
+
} | {
|
|
3256
|
+
message: string;
|
|
3257
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3258
|
+
warning_code: 'code_modified_external_to_seam';
|
|
3259
|
+
} | {
|
|
3260
|
+
message: string;
|
|
3261
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3262
|
+
warning_code: 'delay_in_setting_on_device';
|
|
3263
|
+
} | {
|
|
3264
|
+
message: string;
|
|
3265
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3266
|
+
warning_code: 'delay_in_removing_from_device';
|
|
3267
|
+
} | {
|
|
3268
|
+
message: string;
|
|
3269
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3270
|
+
warning_code: 'third_party_integration_detected';
|
|
3271
|
+
} | {
|
|
3272
|
+
message: string;
|
|
3273
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3274
|
+
warning_code: 'august_device_programming_delay';
|
|
3275
|
+
} | {
|
|
3276
|
+
message: string;
|
|
3277
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3278
|
+
warning_code: 'igloo_algopin_must_be_used_within_24_hours';
|
|
3279
|
+
} | {
|
|
3280
|
+
message: string;
|
|
3281
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3282
|
+
warning_code: 'management_transferred';
|
|
2479
3283
|
}>;
|
|
2480
3284
|
/** Indicates whether Seam manages the access code. */
|
|
2481
3285
|
is_managed: true;
|
|
@@ -2529,11 +3333,102 @@ export interface Routes {
|
|
|
2529
3333
|
/** Date and time at which the access code was created. */
|
|
2530
3334
|
created_at: string;
|
|
2531
3335
|
/** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
|
|
2532
|
-
errors: Array<{
|
|
3336
|
+
errors: Array<({
|
|
2533
3337
|
message: string;
|
|
2534
3338
|
is_access_code_error: true;
|
|
2535
|
-
|
|
2536
|
-
|
|
3339
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3340
|
+
error_code: 'smartthings_failed_to_set_access_code';
|
|
3341
|
+
} | {
|
|
3342
|
+
message: string;
|
|
3343
|
+
is_access_code_error: true;
|
|
3344
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3345
|
+
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
3346
|
+
} | {
|
|
3347
|
+
message: string;
|
|
3348
|
+
is_access_code_error: true;
|
|
3349
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3350
|
+
error_code: 'failed_to_set_on_device';
|
|
3351
|
+
} | {
|
|
3352
|
+
message: string;
|
|
3353
|
+
is_access_code_error: true;
|
|
3354
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3355
|
+
error_code: 'failed_to_remove_from_device';
|
|
3356
|
+
} | {
|
|
3357
|
+
message: string;
|
|
3358
|
+
is_access_code_error: true;
|
|
3359
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3360
|
+
error_code: 'duplicate_code_on_device';
|
|
3361
|
+
} | {
|
|
3362
|
+
message: string;
|
|
3363
|
+
is_access_code_error: true;
|
|
3364
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3365
|
+
error_code: 'duplicate_code_attempt_prevented';
|
|
3366
|
+
} | {
|
|
3367
|
+
message: string;
|
|
3368
|
+
is_access_code_error: true;
|
|
3369
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3370
|
+
error_code: 'igloohome_bridge_too_many_pending_jobs';
|
|
3371
|
+
} | {
|
|
3372
|
+
message: string;
|
|
3373
|
+
is_access_code_error: true;
|
|
3374
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3375
|
+
error_code: 'igloohome_bridge_offline';
|
|
3376
|
+
} | {
|
|
3377
|
+
message: string;
|
|
3378
|
+
is_access_code_error: true;
|
|
3379
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3380
|
+
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
3381
|
+
} | {
|
|
3382
|
+
message: string;
|
|
3383
|
+
is_access_code_error: true;
|
|
3384
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3385
|
+
error_code: 'kwikset_unable_to_confirm_code';
|
|
3386
|
+
} | {
|
|
3387
|
+
message: string;
|
|
3388
|
+
is_access_code_error: true;
|
|
3389
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3390
|
+
error_code: 'kwikset_unable_to_confirm_deletion';
|
|
3391
|
+
} | {
|
|
3392
|
+
message: string;
|
|
3393
|
+
is_access_code_error: true;
|
|
3394
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3395
|
+
error_code: 'code_modified_external_to_seam';
|
|
3396
|
+
} | {
|
|
3397
|
+
message: string;
|
|
3398
|
+
is_access_code_error: true;
|
|
3399
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3400
|
+
error_code: 'august_lock_invalid_code_length';
|
|
3401
|
+
} | {
|
|
3402
|
+
message: string;
|
|
3403
|
+
is_access_code_error: true;
|
|
3404
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3405
|
+
error_code: 'august_device_programming_delay';
|
|
3406
|
+
} | {
|
|
3407
|
+
message: string;
|
|
3408
|
+
is_access_code_error: true;
|
|
3409
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3410
|
+
error_code: 'august_device_slots_full';
|
|
3411
|
+
} | {
|
|
3412
|
+
message: string;
|
|
3413
|
+
is_access_code_error: true;
|
|
3414
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3415
|
+
error_code: 'august_lock_missing_keypad';
|
|
3416
|
+
} | {
|
|
3417
|
+
message: string;
|
|
3418
|
+
is_access_code_error: true;
|
|
3419
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3420
|
+
error_code: 'salto_site_user_not_subscribed';
|
|
3421
|
+
} | {
|
|
3422
|
+
message: string;
|
|
3423
|
+
is_access_code_error: true;
|
|
3424
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3425
|
+
error_code: 'hubitat_device_programming_delay';
|
|
3426
|
+
} | {
|
|
3427
|
+
message: string;
|
|
3428
|
+
is_access_code_error: true;
|
|
3429
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3430
|
+
error_code: 'hubitat_no_free_positions_available';
|
|
3431
|
+
}) | ({
|
|
2537
3432
|
message: string;
|
|
2538
3433
|
is_device_error: true;
|
|
2539
3434
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
@@ -2598,15 +3493,58 @@ export interface Routes {
|
|
|
2598
3493
|
is_device_error: true;
|
|
2599
3494
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2600
3495
|
error_code: 'subscription_required';
|
|
2601
|
-
}) | {
|
|
3496
|
+
}) | ({
|
|
2602
3497
|
message: string;
|
|
2603
3498
|
is_connected_account_error: true;
|
|
2604
|
-
|
|
2605
|
-
|
|
3499
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3500
|
+
error_code: 'account_disconnected';
|
|
3501
|
+
} | {
|
|
3502
|
+
message: string;
|
|
3503
|
+
is_connected_account_error: true;
|
|
3504
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3505
|
+
error_code: 'invalid_credentials';
|
|
3506
|
+
})>;
|
|
2606
3507
|
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
2607
3508
|
warnings: Array<{
|
|
2608
3509
|
message: string;
|
|
2609
|
-
|
|
3510
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3511
|
+
warning_code: 'smartthings_failed_to_set_access_code';
|
|
3512
|
+
} | {
|
|
3513
|
+
message: string;
|
|
3514
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3515
|
+
warning_code: 'schlage_detected_duplicate';
|
|
3516
|
+
} | {
|
|
3517
|
+
message: string;
|
|
3518
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3519
|
+
warning_code: 'schlage_creation_outage';
|
|
3520
|
+
} | {
|
|
3521
|
+
message: string;
|
|
3522
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3523
|
+
warning_code: 'code_modified_external_to_seam';
|
|
3524
|
+
} | {
|
|
3525
|
+
message: string;
|
|
3526
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3527
|
+
warning_code: 'delay_in_setting_on_device';
|
|
3528
|
+
} | {
|
|
3529
|
+
message: string;
|
|
3530
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3531
|
+
warning_code: 'delay_in_removing_from_device';
|
|
3532
|
+
} | {
|
|
3533
|
+
message: string;
|
|
3534
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3535
|
+
warning_code: 'third_party_integration_detected';
|
|
3536
|
+
} | {
|
|
3537
|
+
message: string;
|
|
3538
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3539
|
+
warning_code: 'august_device_programming_delay';
|
|
3540
|
+
} | {
|
|
3541
|
+
message: string;
|
|
3542
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3543
|
+
warning_code: 'igloo_algopin_must_be_used_within_24_hours';
|
|
3544
|
+
} | {
|
|
3545
|
+
message: string;
|
|
3546
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3547
|
+
warning_code: 'management_transferred';
|
|
2610
3548
|
}>;
|
|
2611
3549
|
is_managed: false;
|
|
2612
3550
|
/** Date and time at which the time-bound access code becomes active. */
|
|
@@ -3493,11 +4431,349 @@ export interface Routes {
|
|
|
3493
4431
|
/** Date and time at which the access code was created. */
|
|
3494
4432
|
created_at: string;
|
|
3495
4433
|
/** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
|
|
3496
|
-
errors: Array<{
|
|
4434
|
+
errors: Array<({
|
|
3497
4435
|
message: string;
|
|
3498
4436
|
is_access_code_error: true;
|
|
3499
|
-
|
|
3500
|
-
|
|
4437
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4438
|
+
error_code: 'smartthings_failed_to_set_access_code';
|
|
4439
|
+
} | {
|
|
4440
|
+
message: string;
|
|
4441
|
+
is_access_code_error: true;
|
|
4442
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4443
|
+
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
4444
|
+
} | {
|
|
4445
|
+
message: string;
|
|
4446
|
+
is_access_code_error: true;
|
|
4447
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4448
|
+
error_code: 'failed_to_set_on_device';
|
|
4449
|
+
} | {
|
|
4450
|
+
message: string;
|
|
4451
|
+
is_access_code_error: true;
|
|
4452
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4453
|
+
error_code: 'failed_to_remove_from_device';
|
|
4454
|
+
} | {
|
|
4455
|
+
message: string;
|
|
4456
|
+
is_access_code_error: true;
|
|
4457
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4458
|
+
error_code: 'duplicate_code_on_device';
|
|
4459
|
+
} | {
|
|
4460
|
+
message: string;
|
|
4461
|
+
is_access_code_error: true;
|
|
4462
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4463
|
+
error_code: 'duplicate_code_attempt_prevented';
|
|
4464
|
+
} | {
|
|
4465
|
+
message: string;
|
|
4466
|
+
is_access_code_error: true;
|
|
4467
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4468
|
+
error_code: 'igloohome_bridge_too_many_pending_jobs';
|
|
4469
|
+
} | {
|
|
4470
|
+
message: string;
|
|
4471
|
+
is_access_code_error: true;
|
|
4472
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4473
|
+
error_code: 'igloohome_bridge_offline';
|
|
4474
|
+
} | {
|
|
4475
|
+
message: string;
|
|
4476
|
+
is_access_code_error: true;
|
|
4477
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4478
|
+
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
4479
|
+
} | {
|
|
4480
|
+
message: string;
|
|
4481
|
+
is_access_code_error: true;
|
|
4482
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4483
|
+
error_code: 'kwikset_unable_to_confirm_code';
|
|
4484
|
+
} | {
|
|
4485
|
+
message: string;
|
|
4486
|
+
is_access_code_error: true;
|
|
4487
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4488
|
+
error_code: 'kwikset_unable_to_confirm_deletion';
|
|
4489
|
+
} | {
|
|
4490
|
+
message: string;
|
|
4491
|
+
is_access_code_error: true;
|
|
4492
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4493
|
+
error_code: 'code_modified_external_to_seam';
|
|
4494
|
+
} | {
|
|
4495
|
+
message: string;
|
|
4496
|
+
is_access_code_error: true;
|
|
4497
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4498
|
+
error_code: 'august_lock_invalid_code_length';
|
|
4499
|
+
} | {
|
|
4500
|
+
message: string;
|
|
4501
|
+
is_access_code_error: true;
|
|
4502
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4503
|
+
error_code: 'august_device_programming_delay';
|
|
4504
|
+
} | {
|
|
4505
|
+
message: string;
|
|
4506
|
+
is_access_code_error: true;
|
|
4507
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4508
|
+
error_code: 'august_device_slots_full';
|
|
4509
|
+
} | {
|
|
4510
|
+
message: string;
|
|
4511
|
+
is_access_code_error: true;
|
|
4512
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4513
|
+
error_code: 'august_lock_missing_keypad';
|
|
4514
|
+
} | {
|
|
4515
|
+
message: string;
|
|
4516
|
+
is_access_code_error: true;
|
|
4517
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4518
|
+
error_code: 'salto_site_user_not_subscribed';
|
|
4519
|
+
} | {
|
|
4520
|
+
message: string;
|
|
4521
|
+
is_access_code_error: true;
|
|
4522
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4523
|
+
error_code: 'hubitat_device_programming_delay';
|
|
4524
|
+
} | {
|
|
4525
|
+
message: string;
|
|
4526
|
+
is_access_code_error: true;
|
|
4527
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4528
|
+
error_code: 'hubitat_no_free_positions_available';
|
|
4529
|
+
}) | ({
|
|
4530
|
+
message: string;
|
|
4531
|
+
is_device_error: true;
|
|
4532
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4533
|
+
error_code: 'device_offline';
|
|
4534
|
+
} | {
|
|
4535
|
+
message: string;
|
|
4536
|
+
is_device_error: true;
|
|
4537
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4538
|
+
error_code: 'device_removed';
|
|
4539
|
+
} | {
|
|
4540
|
+
message: string;
|
|
4541
|
+
is_device_error: true;
|
|
4542
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4543
|
+
error_code: 'account_disconnected';
|
|
4544
|
+
} | {
|
|
4545
|
+
message: string;
|
|
4546
|
+
is_device_error: true;
|
|
4547
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4548
|
+
error_code: 'hub_disconnected';
|
|
4549
|
+
} | {
|
|
4550
|
+
message: string;
|
|
4551
|
+
is_device_error: true;
|
|
4552
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4553
|
+
error_code: 'device_disconnected';
|
|
4554
|
+
} | {
|
|
4555
|
+
message: string;
|
|
4556
|
+
is_device_error: true;
|
|
4557
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4558
|
+
error_code: 'empty_backup_access_code_pool';
|
|
4559
|
+
} | {
|
|
4560
|
+
message: string;
|
|
4561
|
+
is_device_error: true;
|
|
4562
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4563
|
+
error_code: 'august_lock_not_authorized';
|
|
4564
|
+
} | {
|
|
4565
|
+
message: string;
|
|
4566
|
+
is_device_error: true;
|
|
4567
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4568
|
+
error_code: 'august_lock_missing_bridge';
|
|
4569
|
+
} | {
|
|
4570
|
+
message: string;
|
|
4571
|
+
is_device_error: true;
|
|
4572
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4573
|
+
error_code: 'salto_site_user_limit_reached';
|
|
4574
|
+
} | {
|
|
4575
|
+
message: string;
|
|
4576
|
+
is_device_error: true;
|
|
4577
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4578
|
+
error_code: 'ttlock_lock_not_paired_to_gateway';
|
|
4579
|
+
} | {
|
|
4580
|
+
message: string;
|
|
4581
|
+
is_device_error: true;
|
|
4582
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4583
|
+
error_code: 'missing_device_credentials';
|
|
4584
|
+
} | {
|
|
4585
|
+
message: string;
|
|
4586
|
+
is_device_error: true;
|
|
4587
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4588
|
+
error_code: 'auxiliary_heat_running';
|
|
4589
|
+
} | {
|
|
4590
|
+
message: string;
|
|
4591
|
+
is_device_error: true;
|
|
4592
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4593
|
+
error_code: 'subscription_required';
|
|
4594
|
+
}) | ({
|
|
4595
|
+
message: string;
|
|
4596
|
+
is_connected_account_error: true;
|
|
4597
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4598
|
+
error_code: 'account_disconnected';
|
|
4599
|
+
} | {
|
|
4600
|
+
message: string;
|
|
4601
|
+
is_connected_account_error: true;
|
|
4602
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4603
|
+
error_code: 'invalid_credentials';
|
|
4604
|
+
})>;
|
|
4605
|
+
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
4606
|
+
warnings: Array<{
|
|
4607
|
+
message: string;
|
|
4608
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4609
|
+
warning_code: 'smartthings_failed_to_set_access_code';
|
|
4610
|
+
} | {
|
|
4611
|
+
message: string;
|
|
4612
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4613
|
+
warning_code: 'schlage_detected_duplicate';
|
|
4614
|
+
} | {
|
|
4615
|
+
message: string;
|
|
4616
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4617
|
+
warning_code: 'schlage_creation_outage';
|
|
4618
|
+
} | {
|
|
4619
|
+
message: string;
|
|
4620
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4621
|
+
warning_code: 'code_modified_external_to_seam';
|
|
4622
|
+
} | {
|
|
4623
|
+
message: string;
|
|
4624
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4625
|
+
warning_code: 'delay_in_setting_on_device';
|
|
4626
|
+
} | {
|
|
4627
|
+
message: string;
|
|
4628
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4629
|
+
warning_code: 'delay_in_removing_from_device';
|
|
4630
|
+
} | {
|
|
4631
|
+
message: string;
|
|
4632
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4633
|
+
warning_code: 'third_party_integration_detected';
|
|
4634
|
+
} | {
|
|
4635
|
+
message: string;
|
|
4636
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4637
|
+
warning_code: 'august_device_programming_delay';
|
|
4638
|
+
} | {
|
|
4639
|
+
message: string;
|
|
4640
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4641
|
+
warning_code: 'igloo_algopin_must_be_used_within_24_hours';
|
|
4642
|
+
} | {
|
|
4643
|
+
message: string;
|
|
4644
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4645
|
+
warning_code: 'management_transferred';
|
|
4646
|
+
}>;
|
|
4647
|
+
is_managed: false;
|
|
4648
|
+
/** Date and time at which the time-bound access code becomes active. */
|
|
4649
|
+
starts_at?: (string | null) | undefined;
|
|
4650
|
+
/** Date and time after which the time-bound access code becomes inactive. */
|
|
4651
|
+
ends_at?: (string | null) | undefined;
|
|
4652
|
+
status: 'set';
|
|
4653
|
+
};
|
|
4654
|
+
};
|
|
4655
|
+
};
|
|
4656
|
+
'/access_codes/unmanaged/list': {
|
|
4657
|
+
route: '/access_codes/unmanaged/list';
|
|
4658
|
+
method: 'GET' | 'POST';
|
|
4659
|
+
queryParams: {};
|
|
4660
|
+
jsonBody: {};
|
|
4661
|
+
commonParams: {
|
|
4662
|
+
device_id: string;
|
|
4663
|
+
user_identifier_key?: string | undefined;
|
|
4664
|
+
};
|
|
4665
|
+
formData: {};
|
|
4666
|
+
jsonResponse: {
|
|
4667
|
+
access_codes: Array<{
|
|
4668
|
+
/** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
|
|
4669
|
+
type: 'time_bound' | 'ongoing';
|
|
4670
|
+
/** Unique identifier for the access code. */
|
|
4671
|
+
access_code_id: string;
|
|
4672
|
+
/** Unique identifier for the device associated with the access code. */
|
|
4673
|
+
device_id: string;
|
|
4674
|
+
/** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
|
|
4675
|
+
name: string | null;
|
|
4676
|
+
/** Code used for access. Typically, a numeric or alphanumeric string. */
|
|
4677
|
+
code: string | null;
|
|
4678
|
+
/** Date and time at which the access code was created. */
|
|
4679
|
+
created_at: string;
|
|
4680
|
+
/** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
|
|
4681
|
+
errors: Array<({
|
|
4682
|
+
message: string;
|
|
4683
|
+
is_access_code_error: true;
|
|
4684
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4685
|
+
error_code: 'smartthings_failed_to_set_access_code';
|
|
4686
|
+
} | {
|
|
4687
|
+
message: string;
|
|
4688
|
+
is_access_code_error: true;
|
|
4689
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4690
|
+
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
4691
|
+
} | {
|
|
4692
|
+
message: string;
|
|
4693
|
+
is_access_code_error: true;
|
|
4694
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4695
|
+
error_code: 'failed_to_set_on_device';
|
|
4696
|
+
} | {
|
|
4697
|
+
message: string;
|
|
4698
|
+
is_access_code_error: true;
|
|
4699
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4700
|
+
error_code: 'failed_to_remove_from_device';
|
|
4701
|
+
} | {
|
|
4702
|
+
message: string;
|
|
4703
|
+
is_access_code_error: true;
|
|
4704
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4705
|
+
error_code: 'duplicate_code_on_device';
|
|
4706
|
+
} | {
|
|
4707
|
+
message: string;
|
|
4708
|
+
is_access_code_error: true;
|
|
4709
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4710
|
+
error_code: 'duplicate_code_attempt_prevented';
|
|
4711
|
+
} | {
|
|
4712
|
+
message: string;
|
|
4713
|
+
is_access_code_error: true;
|
|
4714
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4715
|
+
error_code: 'igloohome_bridge_too_many_pending_jobs';
|
|
4716
|
+
} | {
|
|
4717
|
+
message: string;
|
|
4718
|
+
is_access_code_error: true;
|
|
4719
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4720
|
+
error_code: 'igloohome_bridge_offline';
|
|
4721
|
+
} | {
|
|
4722
|
+
message: string;
|
|
4723
|
+
is_access_code_error: true;
|
|
4724
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4725
|
+
error_code: 'igloohome_offline_access_code_no_variance_available';
|
|
4726
|
+
} | {
|
|
4727
|
+
message: string;
|
|
4728
|
+
is_access_code_error: true;
|
|
4729
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4730
|
+
error_code: 'kwikset_unable_to_confirm_code';
|
|
4731
|
+
} | {
|
|
4732
|
+
message: string;
|
|
4733
|
+
is_access_code_error: true;
|
|
4734
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4735
|
+
error_code: 'kwikset_unable_to_confirm_deletion';
|
|
4736
|
+
} | {
|
|
4737
|
+
message: string;
|
|
4738
|
+
is_access_code_error: true;
|
|
4739
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4740
|
+
error_code: 'code_modified_external_to_seam';
|
|
4741
|
+
} | {
|
|
4742
|
+
message: string;
|
|
4743
|
+
is_access_code_error: true;
|
|
4744
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4745
|
+
error_code: 'august_lock_invalid_code_length';
|
|
4746
|
+
} | {
|
|
4747
|
+
message: string;
|
|
4748
|
+
is_access_code_error: true;
|
|
4749
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4750
|
+
error_code: 'august_device_programming_delay';
|
|
4751
|
+
} | {
|
|
4752
|
+
message: string;
|
|
4753
|
+
is_access_code_error: true;
|
|
4754
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4755
|
+
error_code: 'august_device_slots_full';
|
|
4756
|
+
} | {
|
|
4757
|
+
message: string;
|
|
4758
|
+
is_access_code_error: true;
|
|
4759
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4760
|
+
error_code: 'august_lock_missing_keypad';
|
|
4761
|
+
} | {
|
|
4762
|
+
message: string;
|
|
4763
|
+
is_access_code_error: true;
|
|
4764
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4765
|
+
error_code: 'salto_site_user_not_subscribed';
|
|
4766
|
+
} | {
|
|
4767
|
+
message: string;
|
|
4768
|
+
is_access_code_error: true;
|
|
4769
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4770
|
+
error_code: 'hubitat_device_programming_delay';
|
|
4771
|
+
} | {
|
|
4772
|
+
message: string;
|
|
4773
|
+
is_access_code_error: true;
|
|
4774
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4775
|
+
error_code: 'hubitat_no_free_positions_available';
|
|
4776
|
+
}) | ({
|
|
3501
4777
|
message: string;
|
|
3502
4778
|
is_device_error: true;
|
|
3503
4779
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
@@ -3562,128 +4838,58 @@ export interface Routes {
|
|
|
3562
4838
|
is_device_error: true;
|
|
3563
4839
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3564
4840
|
error_code: 'subscription_required';
|
|
3565
|
-
}) | {
|
|
4841
|
+
}) | ({
|
|
3566
4842
|
message: string;
|
|
3567
4843
|
is_connected_account_error: true;
|
|
3568
|
-
|
|
3569
|
-
}>;
|
|
3570
|
-
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
3571
|
-
warnings: Array<{
|
|
3572
|
-
message: string;
|
|
3573
|
-
warning_code: string;
|
|
3574
|
-
}>;
|
|
3575
|
-
is_managed: false;
|
|
3576
|
-
/** Date and time at which the time-bound access code becomes active. */
|
|
3577
|
-
starts_at?: (string | null) | undefined;
|
|
3578
|
-
/** Date and time after which the time-bound access code becomes inactive. */
|
|
3579
|
-
ends_at?: (string | null) | undefined;
|
|
3580
|
-
status: 'set';
|
|
3581
|
-
};
|
|
3582
|
-
};
|
|
3583
|
-
};
|
|
3584
|
-
'/access_codes/unmanaged/list': {
|
|
3585
|
-
route: '/access_codes/unmanaged/list';
|
|
3586
|
-
method: 'GET' | 'POST';
|
|
3587
|
-
queryParams: {};
|
|
3588
|
-
jsonBody: {};
|
|
3589
|
-
commonParams: {
|
|
3590
|
-
device_id: string;
|
|
3591
|
-
user_identifier_key?: string | undefined;
|
|
3592
|
-
};
|
|
3593
|
-
formData: {};
|
|
3594
|
-
jsonResponse: {
|
|
3595
|
-
access_codes: Array<{
|
|
3596
|
-
/** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
|
|
3597
|
-
type: 'time_bound' | 'ongoing';
|
|
3598
|
-
/** Unique identifier for the access code. */
|
|
3599
|
-
access_code_id: string;
|
|
3600
|
-
/** Unique identifier for the device associated with the access code. */
|
|
3601
|
-
device_id: string;
|
|
3602
|
-
/** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
|
|
3603
|
-
name: string | null;
|
|
3604
|
-
/** Code used for access. Typically, a numeric or alphanumeric string. */
|
|
3605
|
-
code: string | null;
|
|
3606
|
-
/** Date and time at which the access code was created. */
|
|
3607
|
-
created_at: string;
|
|
3608
|
-
/** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
|
|
3609
|
-
errors: Array<{
|
|
3610
|
-
message: string;
|
|
3611
|
-
is_access_code_error: true;
|
|
3612
|
-
error_code: string;
|
|
3613
|
-
} | ({
|
|
3614
|
-
message: string;
|
|
3615
|
-
is_device_error: true;
|
|
3616
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3617
|
-
error_code: 'device_offline';
|
|
3618
|
-
} | {
|
|
3619
|
-
message: string;
|
|
3620
|
-
is_device_error: true;
|
|
3621
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3622
|
-
error_code: 'device_removed';
|
|
3623
|
-
} | {
|
|
3624
|
-
message: string;
|
|
3625
|
-
is_device_error: true;
|
|
3626
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4844
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
3627
4845
|
error_code: 'account_disconnected';
|
|
3628
4846
|
} | {
|
|
3629
4847
|
message: string;
|
|
3630
|
-
|
|
3631
|
-
/** Unique identifier of the type of
|
|
3632
|
-
error_code: '
|
|
3633
|
-
}
|
|
4848
|
+
is_connected_account_error: true;
|
|
4849
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4850
|
+
error_code: 'invalid_credentials';
|
|
4851
|
+
})>;
|
|
4852
|
+
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
4853
|
+
warnings: Array<{
|
|
3634
4854
|
message: string;
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
error_code: 'device_disconnected';
|
|
4855
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4856
|
+
warning_code: 'smartthings_failed_to_set_access_code';
|
|
3638
4857
|
} | {
|
|
3639
4858
|
message: string;
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
error_code: 'empty_backup_access_code_pool';
|
|
4859
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4860
|
+
warning_code: 'schlage_detected_duplicate';
|
|
3643
4861
|
} | {
|
|
3644
4862
|
message: string;
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
error_code: 'august_lock_not_authorized';
|
|
4863
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4864
|
+
warning_code: 'schlage_creation_outage';
|
|
3648
4865
|
} | {
|
|
3649
4866
|
message: string;
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
error_code: 'august_lock_missing_bridge';
|
|
4867
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4868
|
+
warning_code: 'code_modified_external_to_seam';
|
|
3653
4869
|
} | {
|
|
3654
4870
|
message: string;
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
error_code: 'salto_site_user_limit_reached';
|
|
4871
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4872
|
+
warning_code: 'delay_in_setting_on_device';
|
|
3658
4873
|
} | {
|
|
3659
4874
|
message: string;
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
error_code: 'ttlock_lock_not_paired_to_gateway';
|
|
4875
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4876
|
+
warning_code: 'delay_in_removing_from_device';
|
|
3663
4877
|
} | {
|
|
3664
4878
|
message: string;
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
error_code: 'missing_device_credentials';
|
|
4879
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4880
|
+
warning_code: 'third_party_integration_detected';
|
|
3668
4881
|
} | {
|
|
3669
4882
|
message: string;
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
error_code: 'auxiliary_heat_running';
|
|
4883
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4884
|
+
warning_code: 'august_device_programming_delay';
|
|
3673
4885
|
} | {
|
|
3674
4886
|
message: string;
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
}) | {
|
|
3679
|
-
message: string;
|
|
3680
|
-
is_connected_account_error: true;
|
|
3681
|
-
error_code: string;
|
|
3682
|
-
}>;
|
|
3683
|
-
/** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
|
|
3684
|
-
warnings: Array<{
|
|
4887
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4888
|
+
warning_code: 'igloo_algopin_must_be_used_within_24_hours';
|
|
4889
|
+
} | {
|
|
3685
4890
|
message: string;
|
|
3686
|
-
|
|
4891
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4892
|
+
warning_code: 'management_transferred';
|
|
3687
4893
|
}>;
|
|
3688
4894
|
is_managed: false;
|
|
3689
4895
|
/** Date and time at which the time-bound access code becomes active. */
|
|
@@ -11385,11 +12591,18 @@ export interface Routes {
|
|
|
11385
12591
|
errors: Array<{
|
|
11386
12592
|
message: string;
|
|
11387
12593
|
is_connected_account_error: true;
|
|
11388
|
-
|
|
12594
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12595
|
+
error_code: 'account_disconnected';
|
|
12596
|
+
} | {
|
|
12597
|
+
message: string;
|
|
12598
|
+
is_connected_account_error: true;
|
|
12599
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12600
|
+
error_code: 'invalid_credentials';
|
|
11389
12601
|
}>;
|
|
11390
12602
|
warnings: Array<{
|
|
11391
12603
|
message: string;
|
|
11392
|
-
|
|
12604
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12605
|
+
warning_code: 'scheduled_maintenance_window';
|
|
11393
12606
|
} | {
|
|
11394
12607
|
message: string;
|
|
11395
12608
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
@@ -11428,11 +12641,18 @@ export interface Routes {
|
|
|
11428
12641
|
errors: Array<{
|
|
11429
12642
|
message: string;
|
|
11430
12643
|
is_connected_account_error: true;
|
|
11431
|
-
|
|
12644
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12645
|
+
error_code: 'account_disconnected';
|
|
12646
|
+
} | {
|
|
12647
|
+
message: string;
|
|
12648
|
+
is_connected_account_error: true;
|
|
12649
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12650
|
+
error_code: 'invalid_credentials';
|
|
11432
12651
|
}>;
|
|
11433
12652
|
warnings: Array<{
|
|
11434
12653
|
message: string;
|
|
11435
|
-
|
|
12654
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12655
|
+
warning_code: 'scheduled_maintenance_window';
|
|
11436
12656
|
} | {
|
|
11437
12657
|
message: string;
|
|
11438
12658
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
@@ -11471,11 +12691,18 @@ export interface Routes {
|
|
|
11471
12691
|
errors: Array<{
|
|
11472
12692
|
message: string;
|
|
11473
12693
|
is_connected_account_error: true;
|
|
11474
|
-
|
|
12694
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12695
|
+
error_code: 'account_disconnected';
|
|
12696
|
+
} | {
|
|
12697
|
+
message: string;
|
|
12698
|
+
is_connected_account_error: true;
|
|
12699
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12700
|
+
error_code: 'invalid_credentials';
|
|
11475
12701
|
}>;
|
|
11476
12702
|
warnings: Array<{
|
|
11477
12703
|
message: string;
|
|
11478
|
-
|
|
12704
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12705
|
+
warning_code: 'scheduled_maintenance_window';
|
|
11479
12706
|
} | {
|
|
11480
12707
|
message: string;
|
|
11481
12708
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
@@ -12063,11 +13290,17 @@ export interface Routes {
|
|
|
12063
13290
|
is_device_error: true;
|
|
12064
13291
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
12065
13292
|
error_code: 'subscription_required';
|
|
12066
|
-
}) | {
|
|
13293
|
+
}) | ({
|
|
12067
13294
|
message: string;
|
|
12068
13295
|
is_connected_account_error: true;
|
|
12069
|
-
|
|
12070
|
-
|
|
13296
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13297
|
+
error_code: 'account_disconnected';
|
|
13298
|
+
} | {
|
|
13299
|
+
message: string;
|
|
13300
|
+
is_connected_account_error: true;
|
|
13301
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13302
|
+
error_code: 'invalid_credentials';
|
|
13303
|
+
})>;
|
|
12071
13304
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
12072
13305
|
warnings: Array<{
|
|
12073
13306
|
message: string;
|
|
@@ -12738,11 +13971,17 @@ export interface Routes {
|
|
|
12738
13971
|
is_device_error: true;
|
|
12739
13972
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
12740
13973
|
error_code: 'subscription_required';
|
|
12741
|
-
}) | {
|
|
13974
|
+
}) | ({
|
|
12742
13975
|
message: string;
|
|
12743
13976
|
is_connected_account_error: true;
|
|
12744
|
-
|
|
12745
|
-
|
|
13977
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13978
|
+
error_code: 'account_disconnected';
|
|
13979
|
+
} | {
|
|
13980
|
+
message: string;
|
|
13981
|
+
is_connected_account_error: true;
|
|
13982
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13983
|
+
error_code: 'invalid_credentials';
|
|
13984
|
+
})>;
|
|
12746
13985
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
12747
13986
|
warnings: Array<{
|
|
12748
13987
|
message: string;
|
|
@@ -12982,11 +14221,17 @@ export interface Routes {
|
|
|
12982
14221
|
is_device_error: true;
|
|
12983
14222
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
12984
14223
|
error_code: 'subscription_required';
|
|
12985
|
-
}) | {
|
|
14224
|
+
}) | ({
|
|
12986
14225
|
message: string;
|
|
12987
14226
|
is_connected_account_error: true;
|
|
12988
|
-
|
|
12989
|
-
|
|
14227
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14228
|
+
error_code: 'account_disconnected';
|
|
14229
|
+
} | {
|
|
14230
|
+
message: string;
|
|
14231
|
+
is_connected_account_error: true;
|
|
14232
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14233
|
+
error_code: 'invalid_credentials';
|
|
14234
|
+
})>;
|
|
12990
14235
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
12991
14236
|
warnings: Array<{
|
|
12992
14237
|
message: string;
|
|
@@ -13235,11 +14480,17 @@ export interface Routes {
|
|
|
13235
14480
|
is_device_error: true;
|
|
13236
14481
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13237
14482
|
error_code: 'subscription_required';
|
|
13238
|
-
}) | {
|
|
14483
|
+
}) | ({
|
|
13239
14484
|
message: string;
|
|
13240
14485
|
is_connected_account_error: true;
|
|
13241
|
-
|
|
13242
|
-
|
|
14486
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14487
|
+
error_code: 'account_disconnected';
|
|
14488
|
+
} | {
|
|
14489
|
+
message: string;
|
|
14490
|
+
is_connected_account_error: true;
|
|
14491
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14492
|
+
error_code: 'invalid_credentials';
|
|
14493
|
+
})>;
|
|
13243
14494
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
13244
14495
|
warnings: Array<{
|
|
13245
14496
|
message: string;
|
|
@@ -14596,8 +15847,8 @@ export interface Routes {
|
|
|
14596
15847
|
acs_system_ids?: string[] | undefined;
|
|
14597
15848
|
access_code_id?: string | undefined;
|
|
14598
15849
|
access_code_ids?: string[] | undefined;
|
|
14599
|
-
event_type?: ('
|
|
14600
|
-
event_types?: Array<'
|
|
15850
|
+
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
|
|
15851
|
+
event_types?: Array<'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'enrollment_automation.deleted' | 'phone.deactivated'> | undefined;
|
|
14601
15852
|
connected_account_id?: string | undefined;
|
|
14602
15853
|
connect_webview_id?: string | undefined;
|
|
14603
15854
|
limit?: number;
|
|
@@ -16339,11 +17590,17 @@ export interface Routes {
|
|
|
16339
17590
|
is_device_error: true;
|
|
16340
17591
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
16341
17592
|
error_code: 'subscription_required';
|
|
16342
|
-
}) | {
|
|
17593
|
+
}) | ({
|
|
16343
17594
|
message: string;
|
|
16344
17595
|
is_connected_account_error: true;
|
|
16345
|
-
|
|
16346
|
-
|
|
17596
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
17597
|
+
error_code: 'account_disconnected';
|
|
17598
|
+
} | {
|
|
17599
|
+
message: string;
|
|
17600
|
+
is_connected_account_error: true;
|
|
17601
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
17602
|
+
error_code: 'invalid_credentials';
|
|
17603
|
+
})>;
|
|
16347
17604
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
16348
17605
|
warnings: Array<{
|
|
16349
17606
|
message: string;
|
|
@@ -16978,11 +18235,17 @@ export interface Routes {
|
|
|
16978
18235
|
is_device_error: true;
|
|
16979
18236
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
16980
18237
|
error_code: 'subscription_required';
|
|
16981
|
-
}) | {
|
|
18238
|
+
}) | ({
|
|
16982
18239
|
message: string;
|
|
16983
18240
|
is_connected_account_error: true;
|
|
16984
|
-
|
|
16985
|
-
|
|
18241
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
18242
|
+
error_code: 'account_disconnected';
|
|
18243
|
+
} | {
|
|
18244
|
+
message: string;
|
|
18245
|
+
is_connected_account_error: true;
|
|
18246
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
18247
|
+
error_code: 'invalid_credentials';
|
|
18248
|
+
})>;
|
|
16986
18249
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
16987
18250
|
warnings: Array<{
|
|
16988
18251
|
message: string;
|
|
@@ -17653,11 +18916,17 @@ export interface Routes {
|
|
|
17653
18916
|
is_device_error: true;
|
|
17654
18917
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
17655
18918
|
error_code: 'subscription_required';
|
|
17656
|
-
}) | {
|
|
18919
|
+
}) | ({
|
|
17657
18920
|
message: string;
|
|
17658
18921
|
is_connected_account_error: true;
|
|
17659
|
-
|
|
17660
|
-
|
|
18922
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
18923
|
+
error_code: 'account_disconnected';
|
|
18924
|
+
} | {
|
|
18925
|
+
message: string;
|
|
18926
|
+
is_connected_account_error: true;
|
|
18927
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
18928
|
+
error_code: 'invalid_credentials';
|
|
18929
|
+
})>;
|
|
17661
18930
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
17662
18931
|
warnings: Array<{
|
|
17663
18932
|
message: string;
|
|
@@ -18291,11 +19560,17 @@ export interface Routes {
|
|
|
18291
19560
|
is_device_error: true;
|
|
18292
19561
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
18293
19562
|
error_code: 'subscription_required';
|
|
18294
|
-
}) | {
|
|
19563
|
+
}) | ({
|
|
18295
19564
|
message: string;
|
|
18296
19565
|
is_connected_account_error: true;
|
|
18297
|
-
|
|
18298
|
-
|
|
19566
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
19567
|
+
error_code: 'account_disconnected';
|
|
19568
|
+
} | {
|
|
19569
|
+
message: string;
|
|
19570
|
+
is_connected_account_error: true;
|
|
19571
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
19572
|
+
error_code: 'invalid_credentials';
|
|
19573
|
+
})>;
|
|
18299
19574
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
18300
19575
|
warnings: Array<{
|
|
18301
19576
|
message: string;
|
|
@@ -20669,11 +21944,17 @@ export interface Routes {
|
|
|
20669
21944
|
is_device_error: true;
|
|
20670
21945
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
20671
21946
|
error_code: 'subscription_required';
|
|
20672
|
-
}) | {
|
|
21947
|
+
}) | ({
|
|
20673
21948
|
message: string;
|
|
20674
21949
|
is_connected_account_error: true;
|
|
20675
|
-
|
|
20676
|
-
|
|
21950
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
21951
|
+
error_code: 'account_disconnected';
|
|
21952
|
+
} | {
|
|
21953
|
+
message: string;
|
|
21954
|
+
is_connected_account_error: true;
|
|
21955
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
21956
|
+
error_code: 'invalid_credentials';
|
|
21957
|
+
})>;
|
|
20677
21958
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
20678
21959
|
warnings: Array<{
|
|
20679
21960
|
message: string;
|
|
@@ -21307,11 +22588,17 @@ export interface Routes {
|
|
|
21307
22588
|
is_device_error: true;
|
|
21308
22589
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
21309
22590
|
error_code: 'subscription_required';
|
|
21310
|
-
}) | {
|
|
22591
|
+
}) | ({
|
|
21311
22592
|
message: string;
|
|
21312
22593
|
is_connected_account_error: true;
|
|
21313
|
-
|
|
21314
|
-
|
|
22594
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
22595
|
+
error_code: 'account_disconnected';
|
|
22596
|
+
} | {
|
|
22597
|
+
message: string;
|
|
22598
|
+
is_connected_account_error: true;
|
|
22599
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
22600
|
+
error_code: 'invalid_credentials';
|
|
22601
|
+
})>;
|
|
21315
22602
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
21316
22603
|
warnings: Array<{
|
|
21317
22604
|
message: string;
|
|
@@ -24088,11 +25375,17 @@ export interface Routes {
|
|
|
24088
25375
|
is_device_error: true;
|
|
24089
25376
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
24090
25377
|
error_code: 'subscription_required';
|
|
24091
|
-
}) | {
|
|
25378
|
+
}) | ({
|
|
24092
25379
|
message: string;
|
|
24093
25380
|
is_connected_account_error: true;
|
|
24094
|
-
|
|
24095
|
-
|
|
25381
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
25382
|
+
error_code: 'account_disconnected';
|
|
25383
|
+
} | {
|
|
25384
|
+
message: string;
|
|
25385
|
+
is_connected_account_error: true;
|
|
25386
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
25387
|
+
error_code: 'invalid_credentials';
|
|
25388
|
+
})>;
|
|
24096
25389
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
24097
25390
|
warnings: Array<{
|
|
24098
25391
|
message: string;
|
|
@@ -24294,11 +25587,17 @@ export interface Routes {
|
|
|
24294
25587
|
is_device_error: true;
|
|
24295
25588
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
24296
25589
|
error_code: 'subscription_required';
|
|
24297
|
-
}) | {
|
|
25590
|
+
}) | ({
|
|
24298
25591
|
message: string;
|
|
24299
25592
|
is_connected_account_error: true;
|
|
24300
|
-
|
|
24301
|
-
|
|
25593
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
25594
|
+
error_code: 'account_disconnected';
|
|
25595
|
+
} | {
|
|
25596
|
+
message: string;
|
|
25597
|
+
is_connected_account_error: true;
|
|
25598
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
25599
|
+
error_code: 'invalid_credentials';
|
|
25600
|
+
})>;
|
|
24302
25601
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
24303
25602
|
warnings: Array<{
|
|
24304
25603
|
message: string;
|
|
@@ -26669,11 +27968,17 @@ export interface Routes {
|
|
|
26669
27968
|
is_device_error: true;
|
|
26670
27969
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
26671
27970
|
error_code: 'subscription_required';
|
|
26672
|
-
}) | {
|
|
27971
|
+
}) | ({
|
|
26673
27972
|
message: string;
|
|
26674
27973
|
is_connected_account_error: true;
|
|
26675
|
-
|
|
26676
|
-
|
|
27974
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
27975
|
+
error_code: 'account_disconnected';
|
|
27976
|
+
} | {
|
|
27977
|
+
message: string;
|
|
27978
|
+
is_connected_account_error: true;
|
|
27979
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
27980
|
+
error_code: 'invalid_credentials';
|
|
27981
|
+
})>;
|
|
26677
27982
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
26678
27983
|
warnings: Array<{
|
|
26679
27984
|
message: string;
|
|
@@ -29028,11 +30333,17 @@ export interface Routes {
|
|
|
29028
30333
|
is_device_error: true;
|
|
29029
30334
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
29030
30335
|
error_code: 'subscription_required';
|
|
29031
|
-
}) | {
|
|
30336
|
+
}) | ({
|
|
29032
30337
|
message: string;
|
|
29033
30338
|
is_connected_account_error: true;
|
|
29034
|
-
|
|
29035
|
-
|
|
30339
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
30340
|
+
error_code: 'account_disconnected';
|
|
30341
|
+
} | {
|
|
30342
|
+
message: string;
|
|
30343
|
+
is_connected_account_error: true;
|
|
30344
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
30345
|
+
error_code: 'invalid_credentials';
|
|
30346
|
+
})>;
|
|
29036
30347
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
29037
30348
|
warnings: Array<{
|
|
29038
30349
|
message: string;
|
|
@@ -29666,11 +30977,17 @@ export interface Routes {
|
|
|
29666
30977
|
is_device_error: true;
|
|
29667
30978
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
29668
30979
|
error_code: 'subscription_required';
|
|
29669
|
-
}) | {
|
|
30980
|
+
}) | ({
|
|
29670
30981
|
message: string;
|
|
29671
30982
|
is_connected_account_error: true;
|
|
29672
|
-
|
|
29673
|
-
|
|
30983
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
30984
|
+
error_code: 'account_disconnected';
|
|
30985
|
+
} | {
|
|
30986
|
+
message: string;
|
|
30987
|
+
is_connected_account_error: true;
|
|
30988
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
30989
|
+
error_code: 'invalid_credentials';
|
|
30990
|
+
})>;
|
|
29674
30991
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
29675
30992
|
warnings: Array<{
|
|
29676
30993
|
message: string;
|
|
@@ -33315,11 +34632,17 @@ export interface Routes {
|
|
|
33315
34632
|
is_device_error: true;
|
|
33316
34633
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
33317
34634
|
error_code: 'subscription_required';
|
|
33318
|
-
}) | {
|
|
34635
|
+
}) | ({
|
|
33319
34636
|
message: string;
|
|
33320
34637
|
is_connected_account_error: true;
|
|
33321
|
-
|
|
33322
|
-
|
|
34638
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
34639
|
+
error_code: 'account_disconnected';
|
|
34640
|
+
} | {
|
|
34641
|
+
message: string;
|
|
34642
|
+
is_connected_account_error: true;
|
|
34643
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
34644
|
+
error_code: 'invalid_credentials';
|
|
34645
|
+
})>;
|
|
33323
34646
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
33324
34647
|
warnings: Array<{
|
|
33325
34648
|
message: string;
|
|
@@ -33955,11 +35278,17 @@ export interface Routes {
|
|
|
33955
35278
|
is_device_error: true;
|
|
33956
35279
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
33957
35280
|
error_code: 'subscription_required';
|
|
33958
|
-
}) | {
|
|
35281
|
+
}) | ({
|
|
33959
35282
|
message: string;
|
|
33960
35283
|
is_connected_account_error: true;
|
|
33961
|
-
|
|
33962
|
-
|
|
35284
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35285
|
+
error_code: 'account_disconnected';
|
|
35286
|
+
} | {
|
|
35287
|
+
message: string;
|
|
35288
|
+
is_connected_account_error: true;
|
|
35289
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35290
|
+
error_code: 'invalid_credentials';
|
|
35291
|
+
})>;
|
|
33963
35292
|
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
33964
35293
|
warnings: Array<{
|
|
33965
35294
|
message: string;
|