@seamapi/types 1.332.1 → 1.334.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.
Files changed (33) hide show
  1. package/dist/connect.cjs +1541 -161
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +4917 -923
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +902 -35
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +238 -6
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +568 -25
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +66 -0
  9. package/lib/seam/connect/models/acs/acs-credential.js +4 -1
  10. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  11. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +20 -0
  12. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js +7 -0
  13. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js.map +1 -1
  14. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +216 -0
  15. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +94 -0
  16. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +122 -0
  17. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +85 -23
  18. package/lib/seam/connect/models/connected-accounts/connected-account.js +27 -9
  19. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  20. package/lib/seam/connect/models/devices/device.d.ts +28 -7
  21. package/lib/seam/connect/models/devices/phone.d.ts +28 -7
  22. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -7
  23. package/lib/seam/connect/openapi.d.ts +309 -164
  24. package/lib/seam/connect/openapi.js +1346 -104
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +2391 -310
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +282 -7
  29. package/src/lib/seam/connect/models/acs/acs-credential.ts +7 -1
  30. package/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +12 -0
  31. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +32 -9
  32. package/src/lib/seam/connect/openapi.ts +1518 -173
  33. package/src/lib/seam/connect/route-types.ts +3016 -297
@@ -215,6 +215,14 @@ export interface Routes {
215
215
  card_id?: string | undefined;
216
216
  credential_id?: string | undefined;
217
217
  } | undefined;
218
+ /** Vostio-specific metadata for the credential. */
219
+ assa_abloy_vostio_metadata?: {
220
+ override_guest_acs_entrance_ids?: string[] | undefined;
221
+ key_id?: string | undefined;
222
+ key_issuing_request_id?: string | undefined;
223
+ door_names?: string[] | undefined;
224
+ endpoint_id?: string | undefined;
225
+ } | undefined;
218
226
  is_managed: true;
219
227
  } | {
220
228
  /** ID of the credential. */
@@ -315,6 +323,14 @@ export interface Routes {
315
323
  card_id?: string | undefined;
316
324
  credential_id?: string | undefined;
317
325
  } | undefined;
326
+ /** Vostio-specific metadata for the credential. */
327
+ assa_abloy_vostio_metadata?: {
328
+ override_guest_acs_entrance_ids?: string[] | undefined;
329
+ key_id?: string | undefined;
330
+ key_issuing_request_id?: string | undefined;
331
+ door_names?: string[] | undefined;
332
+ endpoint_id?: string | undefined;
333
+ } | undefined;
318
334
  is_managed: false;
319
335
  }) | null;
320
336
  warnings: Array<{
@@ -452,6 +468,14 @@ export interface Routes {
452
468
  card_id?: string | undefined;
453
469
  credential_id?: string | undefined;
454
470
  } | undefined;
471
+ /** Vostio-specific metadata for the credential. */
472
+ assa_abloy_vostio_metadata?: {
473
+ override_guest_acs_entrance_ids?: string[] | undefined;
474
+ key_id?: string | undefined;
475
+ key_issuing_request_id?: string | undefined;
476
+ door_names?: string[] | undefined;
477
+ endpoint_id?: string | undefined;
478
+ } | undefined;
455
479
  is_managed: true;
456
480
  } | {
457
481
  /** ID of the credential. */
@@ -552,6 +576,14 @@ export interface Routes {
552
576
  card_id?: string | undefined;
553
577
  credential_id?: string | undefined;
554
578
  } | undefined;
579
+ /** Vostio-specific metadata for the credential. */
580
+ assa_abloy_vostio_metadata?: {
581
+ override_guest_acs_entrance_ids?: string[] | undefined;
582
+ key_id?: string | undefined;
583
+ key_issuing_request_id?: string | undefined;
584
+ door_names?: string[] | undefined;
585
+ endpoint_id?: string | undefined;
586
+ } | undefined;
555
587
  is_managed: false;
556
588
  };
557
589
  } | {
@@ -867,11 +899,102 @@ export interface Routes {
867
899
  /** Date and time at which the access code was created. */
868
900
  created_at: string;
869
901
  /** 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<{
902
+ errors: Array<({
871
903
  message: string;
872
904
  is_access_code_error: true;
873
- error_code: string;
874
- } | ({
905
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
906
+ error_code: 'smartthings_failed_to_set_access_code';
907
+ } | {
908
+ message: string;
909
+ is_access_code_error: true;
910
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
911
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
912
+ } | {
913
+ message: string;
914
+ is_access_code_error: true;
915
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
916
+ error_code: 'failed_to_set_on_device';
917
+ } | {
918
+ message: string;
919
+ is_access_code_error: true;
920
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
921
+ error_code: 'failed_to_remove_from_device';
922
+ } | {
923
+ message: string;
924
+ is_access_code_error: true;
925
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
926
+ error_code: 'duplicate_code_on_device';
927
+ } | {
928
+ message: string;
929
+ is_access_code_error: true;
930
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
931
+ error_code: 'duplicate_code_attempt_prevented';
932
+ } | {
933
+ message: string;
934
+ is_access_code_error: true;
935
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
936
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
937
+ } | {
938
+ message: string;
939
+ is_access_code_error: true;
940
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
941
+ error_code: 'igloohome_bridge_offline';
942
+ } | {
943
+ message: string;
944
+ is_access_code_error: true;
945
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
946
+ error_code: 'igloohome_offline_access_code_no_variance_available';
947
+ } | {
948
+ message: string;
949
+ is_access_code_error: true;
950
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
951
+ error_code: 'kwikset_unable_to_confirm_code';
952
+ } | {
953
+ message: string;
954
+ is_access_code_error: true;
955
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
956
+ error_code: 'kwikset_unable_to_confirm_deletion';
957
+ } | {
958
+ message: string;
959
+ is_access_code_error: true;
960
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
961
+ error_code: 'code_modified_external_to_seam';
962
+ } | {
963
+ message: string;
964
+ is_access_code_error: true;
965
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
966
+ error_code: 'august_lock_invalid_code_length';
967
+ } | {
968
+ message: string;
969
+ is_access_code_error: true;
970
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
971
+ error_code: 'august_device_programming_delay';
972
+ } | {
973
+ message: string;
974
+ is_access_code_error: true;
975
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
976
+ error_code: 'august_device_slots_full';
977
+ } | {
978
+ message: string;
979
+ is_access_code_error: true;
980
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
981
+ error_code: 'august_lock_missing_keypad';
982
+ } | {
983
+ message: string;
984
+ is_access_code_error: true;
985
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
986
+ error_code: 'salto_site_user_not_subscribed';
987
+ } | {
988
+ message: string;
989
+ is_access_code_error: true;
990
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
991
+ error_code: 'hubitat_device_programming_delay';
992
+ } | {
993
+ message: string;
994
+ is_access_code_error: true;
995
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
996
+ error_code: 'hubitat_no_free_positions_available';
997
+ }) | ({
875
998
  message: string;
876
999
  is_device_error: true;
877
1000
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -936,15 +1059,58 @@ export interface Routes {
936
1059
  is_device_error: true;
937
1060
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
938
1061
  error_code: 'subscription_required';
939
- }) | {
1062
+ }) | ({
940
1063
  message: string;
941
1064
  is_connected_account_error: true;
942
- error_code: string;
943
- }>;
1065
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1066
+ error_code: 'account_disconnected';
1067
+ } | {
1068
+ message: string;
1069
+ is_connected_account_error: true;
1070
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1071
+ error_code: 'invalid_credentials';
1072
+ })>;
944
1073
  /** 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
1074
  warnings: Array<{
946
1075
  message: string;
947
- warning_code: string;
1076
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1077
+ warning_code: 'smartthings_failed_to_set_access_code';
1078
+ } | {
1079
+ message: string;
1080
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1081
+ warning_code: 'schlage_detected_duplicate';
1082
+ } | {
1083
+ message: string;
1084
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1085
+ warning_code: 'schlage_creation_outage';
1086
+ } | {
1087
+ message: string;
1088
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1089
+ warning_code: 'code_modified_external_to_seam';
1090
+ } | {
1091
+ message: string;
1092
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1093
+ warning_code: 'delay_in_setting_on_device';
1094
+ } | {
1095
+ message: string;
1096
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1097
+ warning_code: 'delay_in_removing_from_device';
1098
+ } | {
1099
+ message: string;
1100
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1101
+ warning_code: 'third_party_integration_detected';
1102
+ } | {
1103
+ message: string;
1104
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1105
+ warning_code: 'august_device_programming_delay';
1106
+ } | {
1107
+ message: string;
1108
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1109
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
1110
+ } | {
1111
+ message: string;
1112
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1113
+ warning_code: 'management_transferred';
948
1114
  }>;
949
1115
  /** Indicates whether Seam manages the access code. */
950
1116
  is_managed: true;
@@ -1016,11 +1182,102 @@ export interface Routes {
1016
1182
  /** Date and time at which the access code was created. */
1017
1183
  created_at: string;
1018
1184
  /** 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<{
1185
+ errors: Array<({
1020
1186
  message: string;
1021
1187
  is_access_code_error: true;
1022
- error_code: string;
1023
- } | ({
1188
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1189
+ error_code: 'smartthings_failed_to_set_access_code';
1190
+ } | {
1191
+ message: string;
1192
+ is_access_code_error: true;
1193
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1194
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
1195
+ } | {
1196
+ message: string;
1197
+ is_access_code_error: true;
1198
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1199
+ error_code: 'failed_to_set_on_device';
1200
+ } | {
1201
+ message: string;
1202
+ is_access_code_error: true;
1203
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1204
+ error_code: 'failed_to_remove_from_device';
1205
+ } | {
1206
+ message: string;
1207
+ is_access_code_error: true;
1208
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1209
+ error_code: 'duplicate_code_on_device';
1210
+ } | {
1211
+ message: string;
1212
+ is_access_code_error: true;
1213
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1214
+ error_code: 'duplicate_code_attempt_prevented';
1215
+ } | {
1216
+ message: string;
1217
+ is_access_code_error: true;
1218
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1219
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
1220
+ } | {
1221
+ message: string;
1222
+ is_access_code_error: true;
1223
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1224
+ error_code: 'igloohome_bridge_offline';
1225
+ } | {
1226
+ message: string;
1227
+ is_access_code_error: true;
1228
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1229
+ error_code: 'igloohome_offline_access_code_no_variance_available';
1230
+ } | {
1231
+ message: string;
1232
+ is_access_code_error: true;
1233
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1234
+ error_code: 'kwikset_unable_to_confirm_code';
1235
+ } | {
1236
+ message: string;
1237
+ is_access_code_error: true;
1238
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1239
+ error_code: 'kwikset_unable_to_confirm_deletion';
1240
+ } | {
1241
+ message: string;
1242
+ is_access_code_error: true;
1243
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1244
+ error_code: 'code_modified_external_to_seam';
1245
+ } | {
1246
+ message: string;
1247
+ is_access_code_error: true;
1248
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1249
+ error_code: 'august_lock_invalid_code_length';
1250
+ } | {
1251
+ message: string;
1252
+ is_access_code_error: true;
1253
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1254
+ error_code: 'august_device_programming_delay';
1255
+ } | {
1256
+ message: string;
1257
+ is_access_code_error: true;
1258
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1259
+ error_code: 'august_device_slots_full';
1260
+ } | {
1261
+ message: string;
1262
+ is_access_code_error: true;
1263
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1264
+ error_code: 'august_lock_missing_keypad';
1265
+ } | {
1266
+ message: string;
1267
+ is_access_code_error: true;
1268
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1269
+ error_code: 'salto_site_user_not_subscribed';
1270
+ } | {
1271
+ message: string;
1272
+ is_access_code_error: true;
1273
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1274
+ error_code: 'hubitat_device_programming_delay';
1275
+ } | {
1276
+ message: string;
1277
+ is_access_code_error: true;
1278
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1279
+ error_code: 'hubitat_no_free_positions_available';
1280
+ }) | ({
1024
1281
  message: string;
1025
1282
  is_device_error: true;
1026
1283
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -1085,15 +1342,58 @@ export interface Routes {
1085
1342
  is_device_error: true;
1086
1343
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1087
1344
  error_code: 'subscription_required';
1088
- }) | {
1345
+ }) | ({
1089
1346
  message: string;
1090
1347
  is_connected_account_error: true;
1091
- error_code: string;
1092
- }>;
1348
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1349
+ error_code: 'account_disconnected';
1350
+ } | {
1351
+ message: string;
1352
+ is_connected_account_error: true;
1353
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1354
+ error_code: 'invalid_credentials';
1355
+ })>;
1093
1356
  /** 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
1357
  warnings: Array<{
1095
1358
  message: string;
1096
- warning_code: string;
1359
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1360
+ warning_code: 'smartthings_failed_to_set_access_code';
1361
+ } | {
1362
+ message: string;
1363
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1364
+ warning_code: 'schlage_detected_duplicate';
1365
+ } | {
1366
+ message: string;
1367
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1368
+ warning_code: 'schlage_creation_outage';
1369
+ } | {
1370
+ message: string;
1371
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1372
+ warning_code: 'code_modified_external_to_seam';
1373
+ } | {
1374
+ message: string;
1375
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1376
+ warning_code: 'delay_in_setting_on_device';
1377
+ } | {
1378
+ message: string;
1379
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1380
+ warning_code: 'delay_in_removing_from_device';
1381
+ } | {
1382
+ message: string;
1383
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1384
+ warning_code: 'third_party_integration_detected';
1385
+ } | {
1386
+ message: string;
1387
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1388
+ warning_code: 'august_device_programming_delay';
1389
+ } | {
1390
+ message: string;
1391
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1392
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
1393
+ } | {
1394
+ message: string;
1395
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1396
+ warning_code: 'management_transferred';
1097
1397
  }>;
1098
1398
  /** Indicates whether Seam manages the access code. */
1099
1399
  is_managed: true;
@@ -1322,6 +1622,14 @@ export interface Routes {
1322
1622
  card_id?: string | undefined;
1323
1623
  credential_id?: string | undefined;
1324
1624
  } | undefined;
1625
+ /** Vostio-specific metadata for the credential. */
1626
+ assa_abloy_vostio_metadata?: {
1627
+ override_guest_acs_entrance_ids?: string[] | undefined;
1628
+ key_id?: string | undefined;
1629
+ key_issuing_request_id?: string | undefined;
1630
+ door_names?: string[] | undefined;
1631
+ endpoint_id?: string | undefined;
1632
+ } | undefined;
1325
1633
  is_managed: true;
1326
1634
  } | {
1327
1635
  /** ID of the credential. */
@@ -1422,6 +1730,14 @@ export interface Routes {
1422
1730
  card_id?: string | undefined;
1423
1731
  credential_id?: string | undefined;
1424
1732
  } | undefined;
1733
+ /** Vostio-specific metadata for the credential. */
1734
+ assa_abloy_vostio_metadata?: {
1735
+ override_guest_acs_entrance_ids?: string[] | undefined;
1736
+ key_id?: string | undefined;
1737
+ key_issuing_request_id?: string | undefined;
1738
+ door_names?: string[] | undefined;
1739
+ endpoint_id?: string | undefined;
1740
+ } | undefined;
1425
1741
  is_managed: false;
1426
1742
  }) | null;
1427
1743
  warnings: Array<{
@@ -1559,6 +1875,14 @@ export interface Routes {
1559
1875
  card_id?: string | undefined;
1560
1876
  credential_id?: string | undefined;
1561
1877
  } | undefined;
1878
+ /** Vostio-specific metadata for the credential. */
1879
+ assa_abloy_vostio_metadata?: {
1880
+ override_guest_acs_entrance_ids?: string[] | undefined;
1881
+ key_id?: string | undefined;
1882
+ key_issuing_request_id?: string | undefined;
1883
+ door_names?: string[] | undefined;
1884
+ endpoint_id?: string | undefined;
1885
+ } | undefined;
1562
1886
  is_managed: true;
1563
1887
  } | {
1564
1888
  /** ID of the credential. */
@@ -1659,6 +1983,14 @@ export interface Routes {
1659
1983
  card_id?: string | undefined;
1660
1984
  credential_id?: string | undefined;
1661
1985
  } | undefined;
1986
+ /** Vostio-specific metadata for the credential. */
1987
+ assa_abloy_vostio_metadata?: {
1988
+ override_guest_acs_entrance_ids?: string[] | undefined;
1989
+ key_id?: string | undefined;
1990
+ key_issuing_request_id?: string | undefined;
1991
+ door_names?: string[] | undefined;
1992
+ endpoint_id?: string | undefined;
1993
+ } | undefined;
1662
1994
  is_managed: false;
1663
1995
  };
1664
1996
  } | {
@@ -2004,11 +2336,102 @@ export interface Routes {
2004
2336
  /** Date and time at which the access code was created. */
2005
2337
  created_at: string;
2006
2338
  /** 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<{
2339
+ errors: Array<({
2008
2340
  message: string;
2009
2341
  is_access_code_error: true;
2010
- error_code: string;
2011
- } | ({
2342
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2343
+ error_code: 'smartthings_failed_to_set_access_code';
2344
+ } | {
2345
+ message: string;
2346
+ is_access_code_error: true;
2347
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2348
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
2349
+ } | {
2350
+ message: string;
2351
+ is_access_code_error: true;
2352
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2353
+ error_code: 'failed_to_set_on_device';
2354
+ } | {
2355
+ message: string;
2356
+ is_access_code_error: true;
2357
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2358
+ error_code: 'failed_to_remove_from_device';
2359
+ } | {
2360
+ message: string;
2361
+ is_access_code_error: true;
2362
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2363
+ error_code: 'duplicate_code_on_device';
2364
+ } | {
2365
+ message: string;
2366
+ is_access_code_error: true;
2367
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2368
+ error_code: 'duplicate_code_attempt_prevented';
2369
+ } | {
2370
+ message: string;
2371
+ is_access_code_error: true;
2372
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2373
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
2374
+ } | {
2375
+ message: string;
2376
+ is_access_code_error: true;
2377
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2378
+ error_code: 'igloohome_bridge_offline';
2379
+ } | {
2380
+ message: string;
2381
+ is_access_code_error: true;
2382
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2383
+ error_code: 'igloohome_offline_access_code_no_variance_available';
2384
+ } | {
2385
+ message: string;
2386
+ is_access_code_error: true;
2387
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2388
+ error_code: 'kwikset_unable_to_confirm_code';
2389
+ } | {
2390
+ message: string;
2391
+ is_access_code_error: true;
2392
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2393
+ error_code: 'kwikset_unable_to_confirm_deletion';
2394
+ } | {
2395
+ message: string;
2396
+ is_access_code_error: true;
2397
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2398
+ error_code: 'code_modified_external_to_seam';
2399
+ } | {
2400
+ message: string;
2401
+ is_access_code_error: true;
2402
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2403
+ error_code: 'august_lock_invalid_code_length';
2404
+ } | {
2405
+ message: string;
2406
+ is_access_code_error: true;
2407
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2408
+ error_code: 'august_device_programming_delay';
2409
+ } | {
2410
+ message: string;
2411
+ is_access_code_error: true;
2412
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2413
+ error_code: 'august_device_slots_full';
2414
+ } | {
2415
+ message: string;
2416
+ is_access_code_error: true;
2417
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2418
+ error_code: 'august_lock_missing_keypad';
2419
+ } | {
2420
+ message: string;
2421
+ is_access_code_error: true;
2422
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2423
+ error_code: 'salto_site_user_not_subscribed';
2424
+ } | {
2425
+ message: string;
2426
+ is_access_code_error: true;
2427
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2428
+ error_code: 'hubitat_device_programming_delay';
2429
+ } | {
2430
+ message: string;
2431
+ is_access_code_error: true;
2432
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2433
+ error_code: 'hubitat_no_free_positions_available';
2434
+ }) | ({
2012
2435
  message: string;
2013
2436
  is_device_error: true;
2014
2437
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -2073,15 +2496,58 @@ export interface Routes {
2073
2496
  is_device_error: true;
2074
2497
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2075
2498
  error_code: 'subscription_required';
2076
- }) | {
2499
+ }) | ({
2077
2500
  message: string;
2078
2501
  is_connected_account_error: true;
2079
- error_code: string;
2080
- }>;
2502
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2503
+ error_code: 'account_disconnected';
2504
+ } | {
2505
+ message: string;
2506
+ is_connected_account_error: true;
2507
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2508
+ error_code: 'invalid_credentials';
2509
+ })>;
2081
2510
  /** 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
2511
  warnings: Array<{
2083
2512
  message: string;
2084
- warning_code: string;
2513
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2514
+ warning_code: 'smartthings_failed_to_set_access_code';
2515
+ } | {
2516
+ message: string;
2517
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2518
+ warning_code: 'schlage_detected_duplicate';
2519
+ } | {
2520
+ message: string;
2521
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2522
+ warning_code: 'schlage_creation_outage';
2523
+ } | {
2524
+ message: string;
2525
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2526
+ warning_code: 'code_modified_external_to_seam';
2527
+ } | {
2528
+ message: string;
2529
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2530
+ warning_code: 'delay_in_setting_on_device';
2531
+ } | {
2532
+ message: string;
2533
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2534
+ warning_code: 'delay_in_removing_from_device';
2535
+ } | {
2536
+ message: string;
2537
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2538
+ warning_code: 'third_party_integration_detected';
2539
+ } | {
2540
+ message: string;
2541
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2542
+ warning_code: 'august_device_programming_delay';
2543
+ } | {
2544
+ message: string;
2545
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2546
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
2547
+ } | {
2548
+ message: string;
2549
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2550
+ warning_code: 'management_transferred';
2085
2551
  }>;
2086
2552
  /** Indicates whether Seam manages the access code. */
2087
2553
  is_managed: true;
@@ -2140,11 +2606,102 @@ export interface Routes {
2140
2606
  /** Date and time at which the access code was created. */
2141
2607
  created_at: string;
2142
2608
  /** 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<{
2609
+ errors: Array<({
2144
2610
  message: string;
2145
2611
  is_access_code_error: true;
2146
- error_code: string;
2147
- } | ({
2612
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2613
+ error_code: 'smartthings_failed_to_set_access_code';
2614
+ } | {
2615
+ message: string;
2616
+ is_access_code_error: true;
2617
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2618
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
2619
+ } | {
2620
+ message: string;
2621
+ is_access_code_error: true;
2622
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2623
+ error_code: 'failed_to_set_on_device';
2624
+ } | {
2625
+ message: string;
2626
+ is_access_code_error: true;
2627
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2628
+ error_code: 'failed_to_remove_from_device';
2629
+ } | {
2630
+ message: string;
2631
+ is_access_code_error: true;
2632
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2633
+ error_code: 'duplicate_code_on_device';
2634
+ } | {
2635
+ message: string;
2636
+ is_access_code_error: true;
2637
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2638
+ error_code: 'duplicate_code_attempt_prevented';
2639
+ } | {
2640
+ message: string;
2641
+ is_access_code_error: true;
2642
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2643
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
2644
+ } | {
2645
+ message: string;
2646
+ is_access_code_error: true;
2647
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2648
+ error_code: 'igloohome_bridge_offline';
2649
+ } | {
2650
+ message: string;
2651
+ is_access_code_error: true;
2652
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2653
+ error_code: 'igloohome_offline_access_code_no_variance_available';
2654
+ } | {
2655
+ message: string;
2656
+ is_access_code_error: true;
2657
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2658
+ error_code: 'kwikset_unable_to_confirm_code';
2659
+ } | {
2660
+ message: string;
2661
+ is_access_code_error: true;
2662
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2663
+ error_code: 'kwikset_unable_to_confirm_deletion';
2664
+ } | {
2665
+ message: string;
2666
+ is_access_code_error: true;
2667
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2668
+ error_code: 'code_modified_external_to_seam';
2669
+ } | {
2670
+ message: string;
2671
+ is_access_code_error: true;
2672
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2673
+ error_code: 'august_lock_invalid_code_length';
2674
+ } | {
2675
+ message: string;
2676
+ is_access_code_error: true;
2677
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2678
+ error_code: 'august_device_programming_delay';
2679
+ } | {
2680
+ message: string;
2681
+ is_access_code_error: true;
2682
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2683
+ error_code: 'august_device_slots_full';
2684
+ } | {
2685
+ message: string;
2686
+ is_access_code_error: true;
2687
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2688
+ error_code: 'august_lock_missing_keypad';
2689
+ } | {
2690
+ message: string;
2691
+ is_access_code_error: true;
2692
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2693
+ error_code: 'salto_site_user_not_subscribed';
2694
+ } | {
2695
+ message: string;
2696
+ is_access_code_error: true;
2697
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2698
+ error_code: 'hubitat_device_programming_delay';
2699
+ } | {
2700
+ message: string;
2701
+ is_access_code_error: true;
2702
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2703
+ error_code: 'hubitat_no_free_positions_available';
2704
+ }) | ({
2148
2705
  message: string;
2149
2706
  is_device_error: true;
2150
2707
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -2209,15 +2766,584 @@ export interface Routes {
2209
2766
  is_device_error: true;
2210
2767
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2211
2768
  error_code: 'subscription_required';
2212
- }) | {
2769
+ }) | ({
2213
2770
  message: string;
2214
2771
  is_connected_account_error: true;
2215
- error_code: string;
2772
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2773
+ error_code: 'account_disconnected';
2774
+ } | {
2775
+ message: string;
2776
+ is_connected_account_error: true;
2777
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2778
+ error_code: 'invalid_credentials';
2779
+ })>;
2780
+ /** 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. */
2781
+ warnings: Array<{
2782
+ message: string;
2783
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2784
+ warning_code: 'smartthings_failed_to_set_access_code';
2785
+ } | {
2786
+ message: string;
2787
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2788
+ warning_code: 'schlage_detected_duplicate';
2789
+ } | {
2790
+ message: string;
2791
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2792
+ warning_code: 'schlage_creation_outage';
2793
+ } | {
2794
+ message: string;
2795
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2796
+ warning_code: 'code_modified_external_to_seam';
2797
+ } | {
2798
+ message: string;
2799
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2800
+ warning_code: 'delay_in_setting_on_device';
2801
+ } | {
2802
+ message: string;
2803
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2804
+ warning_code: 'delay_in_removing_from_device';
2805
+ } | {
2806
+ message: string;
2807
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2808
+ warning_code: 'third_party_integration_detected';
2809
+ } | {
2810
+ message: string;
2811
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2812
+ warning_code: 'august_device_programming_delay';
2813
+ } | {
2814
+ message: string;
2815
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2816
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
2817
+ } | {
2818
+ message: string;
2819
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2820
+ warning_code: 'management_transferred';
2821
+ }>;
2822
+ /** Indicates whether Seam manages the access code. */
2823
+ is_managed: true;
2824
+ /** Date and time at which the time-bound access code becomes active. */
2825
+ starts_at?: (string | null) | undefined;
2826
+ /** Date and time after which the time-bound access code becomes inactive. */
2827
+ ends_at?: (string | null) | undefined;
2828
+ /**
2829
+ Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
2830
+ */
2831
+ status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
2832
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
2833
+ is_backup_access_code_available: boolean;
2834
+ /** Indicates whether the access code is a backup code. */
2835
+ is_backup?: boolean | undefined;
2836
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
2837
+ pulled_backup_access_code_id?: (string | null) | undefined;
2838
+ /** Indicates whether changes to the access code from external sources are permitted. */
2839
+ is_external_modification_allowed: boolean;
2840
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
2841
+ is_one_time_use: boolean;
2842
+ /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
2843
+ is_offline_access_code: boolean;
2844
+ }>;
2845
+ };
2846
+ };
2847
+ '/access_codes/pull_backup_access_code': {
2848
+ route: '/access_codes/pull_backup_access_code';
2849
+ method: 'POST';
2850
+ queryParams: {};
2851
+ jsonBody: {
2852
+ access_code_id: string;
2853
+ };
2854
+ commonParams: {};
2855
+ formData: {};
2856
+ jsonResponse: {
2857
+ /** */
2858
+ backup_access_code: {
2859
+ /** Unique identifier for a group of access codes that share the same code. */
2860
+ common_code_key: string | null;
2861
+ /** Indicates whether the code is set on the device according to a preconfigured schedule. */
2862
+ is_scheduled_on_device?: boolean | undefined;
2863
+ /** 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. */
2864
+ type: 'time_bound' | 'ongoing';
2865
+ /** Indicates whether the access code is waiting for a code assignment. */
2866
+ is_waiting_for_code_assignment?: boolean | undefined;
2867
+ /** Unique identifier for the access code. */
2868
+ access_code_id: string;
2869
+ /** Unique identifier for the device associated with the access code. */
2870
+ device_id: string;
2871
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
2872
+ name: string | null;
2873
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
2874
+ code: string | null;
2875
+ /** Date and time at which the access code was created. */
2876
+ created_at: string;
2877
+ /** 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. */
2878
+ errors: Array<({
2879
+ message: string;
2880
+ is_access_code_error: true;
2881
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2882
+ error_code: 'smartthings_failed_to_set_access_code';
2883
+ } | {
2884
+ message: string;
2885
+ is_access_code_error: true;
2886
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2887
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
2888
+ } | {
2889
+ message: string;
2890
+ is_access_code_error: true;
2891
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2892
+ error_code: 'failed_to_set_on_device';
2893
+ } | {
2894
+ message: string;
2895
+ is_access_code_error: true;
2896
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2897
+ error_code: 'failed_to_remove_from_device';
2898
+ } | {
2899
+ message: string;
2900
+ is_access_code_error: true;
2901
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2902
+ error_code: 'duplicate_code_on_device';
2903
+ } | {
2904
+ message: string;
2905
+ is_access_code_error: true;
2906
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2907
+ error_code: 'duplicate_code_attempt_prevented';
2908
+ } | {
2909
+ message: string;
2910
+ is_access_code_error: true;
2911
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2912
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
2913
+ } | {
2914
+ message: string;
2915
+ is_access_code_error: true;
2916
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2917
+ error_code: 'igloohome_bridge_offline';
2918
+ } | {
2919
+ message: string;
2920
+ is_access_code_error: true;
2921
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2922
+ error_code: 'igloohome_offline_access_code_no_variance_available';
2923
+ } | {
2924
+ message: string;
2925
+ is_access_code_error: true;
2926
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2927
+ error_code: 'kwikset_unable_to_confirm_code';
2928
+ } | {
2929
+ message: string;
2930
+ is_access_code_error: true;
2931
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2932
+ error_code: 'kwikset_unable_to_confirm_deletion';
2933
+ } | {
2934
+ message: string;
2935
+ is_access_code_error: true;
2936
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2937
+ error_code: 'code_modified_external_to_seam';
2938
+ } | {
2939
+ message: string;
2940
+ is_access_code_error: true;
2941
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2942
+ error_code: 'august_lock_invalid_code_length';
2943
+ } | {
2944
+ message: string;
2945
+ is_access_code_error: true;
2946
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2947
+ error_code: 'august_device_programming_delay';
2948
+ } | {
2949
+ message: string;
2950
+ is_access_code_error: true;
2951
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2952
+ error_code: 'august_device_slots_full';
2953
+ } | {
2954
+ message: string;
2955
+ is_access_code_error: true;
2956
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2957
+ error_code: 'august_lock_missing_keypad';
2958
+ } | {
2959
+ message: string;
2960
+ is_access_code_error: true;
2961
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2962
+ error_code: 'salto_site_user_not_subscribed';
2963
+ } | {
2964
+ message: string;
2965
+ is_access_code_error: true;
2966
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2967
+ error_code: 'hubitat_device_programming_delay';
2968
+ } | {
2969
+ message: string;
2970
+ is_access_code_error: true;
2971
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2972
+ error_code: 'hubitat_no_free_positions_available';
2973
+ }) | ({
2974
+ message: string;
2975
+ is_device_error: true;
2976
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2977
+ error_code: 'device_offline';
2978
+ } | {
2979
+ message: string;
2980
+ is_device_error: true;
2981
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2982
+ error_code: 'device_removed';
2983
+ } | {
2984
+ message: string;
2985
+ is_device_error: true;
2986
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2987
+ error_code: 'account_disconnected';
2988
+ } | {
2989
+ message: string;
2990
+ is_device_error: true;
2991
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2992
+ error_code: 'hub_disconnected';
2993
+ } | {
2994
+ message: string;
2995
+ is_device_error: true;
2996
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2997
+ error_code: 'device_disconnected';
2998
+ } | {
2999
+ message: string;
3000
+ is_device_error: true;
3001
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3002
+ error_code: 'empty_backup_access_code_pool';
3003
+ } | {
3004
+ message: string;
3005
+ is_device_error: true;
3006
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3007
+ error_code: 'august_lock_not_authorized';
3008
+ } | {
3009
+ message: string;
3010
+ is_device_error: true;
3011
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3012
+ error_code: 'august_lock_missing_bridge';
3013
+ } | {
3014
+ message: string;
3015
+ is_device_error: true;
3016
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3017
+ error_code: 'salto_site_user_limit_reached';
3018
+ } | {
3019
+ message: string;
3020
+ is_device_error: true;
3021
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3022
+ error_code: 'ttlock_lock_not_paired_to_gateway';
3023
+ } | {
3024
+ message: string;
3025
+ is_device_error: true;
3026
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3027
+ error_code: 'missing_device_credentials';
3028
+ } | {
3029
+ message: string;
3030
+ is_device_error: true;
3031
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3032
+ error_code: 'auxiliary_heat_running';
3033
+ } | {
3034
+ message: string;
3035
+ is_device_error: true;
3036
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3037
+ error_code: 'subscription_required';
3038
+ }) | ({
3039
+ message: string;
3040
+ is_connected_account_error: true;
3041
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3042
+ error_code: 'account_disconnected';
3043
+ } | {
3044
+ message: string;
3045
+ is_connected_account_error: true;
3046
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3047
+ error_code: 'invalid_credentials';
3048
+ })>;
3049
+ /** 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. */
3050
+ warnings: Array<{
3051
+ message: string;
3052
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3053
+ warning_code: 'smartthings_failed_to_set_access_code';
3054
+ } | {
3055
+ message: string;
3056
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3057
+ warning_code: 'schlage_detected_duplicate';
3058
+ } | {
3059
+ message: string;
3060
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3061
+ warning_code: 'schlage_creation_outage';
3062
+ } | {
3063
+ message: string;
3064
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3065
+ warning_code: 'code_modified_external_to_seam';
3066
+ } | {
3067
+ message: string;
3068
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3069
+ warning_code: 'delay_in_setting_on_device';
3070
+ } | {
3071
+ message: string;
3072
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3073
+ warning_code: 'delay_in_removing_from_device';
3074
+ } | {
3075
+ message: string;
3076
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3077
+ warning_code: 'third_party_integration_detected';
3078
+ } | {
3079
+ message: string;
3080
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3081
+ warning_code: 'august_device_programming_delay';
3082
+ } | {
3083
+ message: string;
3084
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3085
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
3086
+ } | {
3087
+ message: string;
3088
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3089
+ warning_code: 'management_transferred';
2216
3090
  }>;
3091
+ /** Indicates whether Seam manages the access code. */
3092
+ is_managed: true;
3093
+ /** Date and time at which the time-bound access code becomes active. */
3094
+ starts_at?: (string | null) | undefined;
3095
+ /** Date and time after which the time-bound access code becomes inactive. */
3096
+ ends_at?: (string | null) | undefined;
3097
+ /**
3098
+ Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
3099
+ */
3100
+ status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
3101
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
3102
+ is_backup_access_code_available: boolean;
3103
+ /** Indicates whether the access code is a backup code. */
3104
+ is_backup?: boolean | undefined;
3105
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
3106
+ pulled_backup_access_code_id?: (string | null) | undefined;
3107
+ /** Indicates whether changes to the access code from external sources are permitted. */
3108
+ is_external_modification_allowed: boolean;
3109
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
3110
+ is_one_time_use: boolean;
3111
+ /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
3112
+ is_offline_access_code: boolean;
3113
+ };
3114
+ /** */
3115
+ access_code: {
3116
+ /** Unique identifier for a group of access codes that share the same code. */
3117
+ common_code_key: string | null;
3118
+ /** Indicates whether the code is set on the device according to a preconfigured schedule. */
3119
+ is_scheduled_on_device?: boolean | undefined;
3120
+ /** 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. */
3121
+ type: 'time_bound' | 'ongoing';
3122
+ /** Indicates whether the access code is waiting for a code assignment. */
3123
+ is_waiting_for_code_assignment?: boolean | undefined;
3124
+ /** Unique identifier for the access code. */
3125
+ access_code_id: string;
3126
+ /** Unique identifier for the device associated with the access code. */
3127
+ device_id: string;
3128
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
3129
+ name: string | null;
3130
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
3131
+ code: string | null;
3132
+ /** Date and time at which the access code was created. */
3133
+ created_at: string;
3134
+ /** 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. */
3135
+ errors: Array<({
3136
+ message: string;
3137
+ is_access_code_error: true;
3138
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3139
+ error_code: 'smartthings_failed_to_set_access_code';
3140
+ } | {
3141
+ message: string;
3142
+ is_access_code_error: true;
3143
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3144
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
3145
+ } | {
3146
+ message: string;
3147
+ is_access_code_error: true;
3148
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3149
+ error_code: 'failed_to_set_on_device';
3150
+ } | {
3151
+ message: string;
3152
+ is_access_code_error: true;
3153
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3154
+ error_code: 'failed_to_remove_from_device';
3155
+ } | {
3156
+ message: string;
3157
+ is_access_code_error: true;
3158
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3159
+ error_code: 'duplicate_code_on_device';
3160
+ } | {
3161
+ message: string;
3162
+ is_access_code_error: true;
3163
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3164
+ error_code: 'duplicate_code_attempt_prevented';
3165
+ } | {
3166
+ message: string;
3167
+ is_access_code_error: true;
3168
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3169
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
3170
+ } | {
3171
+ message: string;
3172
+ is_access_code_error: true;
3173
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3174
+ error_code: 'igloohome_bridge_offline';
3175
+ } | {
3176
+ message: string;
3177
+ is_access_code_error: true;
3178
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3179
+ error_code: 'igloohome_offline_access_code_no_variance_available';
3180
+ } | {
3181
+ message: string;
3182
+ is_access_code_error: true;
3183
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3184
+ error_code: 'kwikset_unable_to_confirm_code';
3185
+ } | {
3186
+ message: string;
3187
+ is_access_code_error: true;
3188
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3189
+ error_code: 'kwikset_unable_to_confirm_deletion';
3190
+ } | {
3191
+ message: string;
3192
+ is_access_code_error: true;
3193
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3194
+ error_code: 'code_modified_external_to_seam';
3195
+ } | {
3196
+ message: string;
3197
+ is_access_code_error: true;
3198
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3199
+ error_code: 'august_lock_invalid_code_length';
3200
+ } | {
3201
+ message: string;
3202
+ is_access_code_error: true;
3203
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3204
+ error_code: 'august_device_programming_delay';
3205
+ } | {
3206
+ message: string;
3207
+ is_access_code_error: true;
3208
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3209
+ error_code: 'august_device_slots_full';
3210
+ } | {
3211
+ message: string;
3212
+ is_access_code_error: true;
3213
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3214
+ error_code: 'august_lock_missing_keypad';
3215
+ } | {
3216
+ message: string;
3217
+ is_access_code_error: true;
3218
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3219
+ error_code: 'salto_site_user_not_subscribed';
3220
+ } | {
3221
+ message: string;
3222
+ is_access_code_error: true;
3223
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3224
+ error_code: 'hubitat_device_programming_delay';
3225
+ } | {
3226
+ message: string;
3227
+ is_access_code_error: true;
3228
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3229
+ error_code: 'hubitat_no_free_positions_available';
3230
+ }) | ({
3231
+ message: string;
3232
+ is_device_error: true;
3233
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3234
+ error_code: 'device_offline';
3235
+ } | {
3236
+ message: string;
3237
+ is_device_error: true;
3238
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3239
+ error_code: 'device_removed';
3240
+ } | {
3241
+ message: string;
3242
+ is_device_error: true;
3243
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3244
+ error_code: 'account_disconnected';
3245
+ } | {
3246
+ message: string;
3247
+ is_device_error: true;
3248
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3249
+ error_code: 'hub_disconnected';
3250
+ } | {
3251
+ message: string;
3252
+ is_device_error: true;
3253
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3254
+ error_code: 'device_disconnected';
3255
+ } | {
3256
+ message: string;
3257
+ is_device_error: true;
3258
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3259
+ error_code: 'empty_backup_access_code_pool';
3260
+ } | {
3261
+ message: string;
3262
+ is_device_error: true;
3263
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3264
+ error_code: 'august_lock_not_authorized';
3265
+ } | {
3266
+ message: string;
3267
+ is_device_error: true;
3268
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3269
+ error_code: 'august_lock_missing_bridge';
3270
+ } | {
3271
+ message: string;
3272
+ is_device_error: true;
3273
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3274
+ error_code: 'salto_site_user_limit_reached';
3275
+ } | {
3276
+ message: string;
3277
+ is_device_error: true;
3278
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3279
+ error_code: 'ttlock_lock_not_paired_to_gateway';
3280
+ } | {
3281
+ message: string;
3282
+ is_device_error: true;
3283
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3284
+ error_code: 'missing_device_credentials';
3285
+ } | {
3286
+ message: string;
3287
+ is_device_error: true;
3288
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3289
+ error_code: 'auxiliary_heat_running';
3290
+ } | {
3291
+ message: string;
3292
+ is_device_error: true;
3293
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3294
+ error_code: 'subscription_required';
3295
+ }) | ({
3296
+ message: string;
3297
+ is_connected_account_error: true;
3298
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3299
+ error_code: 'account_disconnected';
3300
+ } | {
3301
+ message: string;
3302
+ is_connected_account_error: true;
3303
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3304
+ error_code: 'invalid_credentials';
3305
+ })>;
2217
3306
  /** 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
3307
  warnings: Array<{
2219
3308
  message: string;
2220
- warning_code: string;
3309
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3310
+ warning_code: 'smartthings_failed_to_set_access_code';
3311
+ } | {
3312
+ message: string;
3313
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3314
+ warning_code: 'schlage_detected_duplicate';
3315
+ } | {
3316
+ message: string;
3317
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3318
+ warning_code: 'schlage_creation_outage';
3319
+ } | {
3320
+ message: string;
3321
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3322
+ warning_code: 'code_modified_external_to_seam';
3323
+ } | {
3324
+ message: string;
3325
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3326
+ warning_code: 'delay_in_setting_on_device';
3327
+ } | {
3328
+ message: string;
3329
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3330
+ warning_code: 'delay_in_removing_from_device';
3331
+ } | {
3332
+ message: string;
3333
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3334
+ warning_code: 'third_party_integration_detected';
3335
+ } | {
3336
+ message: string;
3337
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3338
+ warning_code: 'august_device_programming_delay';
3339
+ } | {
3340
+ message: string;
3341
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3342
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
3343
+ } | {
3344
+ message: string;
3345
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3346
+ warning_code: 'management_transferred';
2221
3347
  }>;
2222
3348
  /** Indicates whether Seam manages the access code. */
2223
3349
  is_managed: true;
@@ -2241,29 +3367,25 @@ export interface Routes {
2241
3367
  is_one_time_use: boolean;
2242
3368
  /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
2243
3369
  is_offline_access_code: boolean;
2244
- }>;
3370
+ };
2245
3371
  };
2246
3372
  };
2247
- '/access_codes/pull_backup_access_code': {
2248
- route: '/access_codes/pull_backup_access_code';
3373
+ '/access_codes/simulate/create_unmanaged_access_code': {
3374
+ route: '/access_codes/simulate/create_unmanaged_access_code';
2249
3375
  method: 'POST';
2250
3376
  queryParams: {};
2251
3377
  jsonBody: {
2252
- access_code_id: string;
3378
+ device_id: string;
3379
+ name: string;
3380
+ code: string;
2253
3381
  };
2254
3382
  commonParams: {};
2255
3383
  formData: {};
2256
3384
  jsonResponse: {
2257
3385
  /** */
2258
- backup_access_code: {
2259
- /** Unique identifier for a group of access codes that share the same code. */
2260
- common_code_key: string | null;
2261
- /** Indicates whether the code is set on the device according to a preconfigured schedule. */
2262
- is_scheduled_on_device?: boolean | undefined;
3386
+ access_code: {
2263
3387
  /** 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. */
2264
3388
  type: 'time_bound' | 'ongoing';
2265
- /** Indicates whether the access code is waiting for a code assignment. */
2266
- is_waiting_for_code_assignment?: boolean | undefined;
2267
3389
  /** Unique identifier for the access code. */
2268
3390
  access_code_id: string;
2269
3391
  /** Unique identifier for the device associated with the access code. */
@@ -2275,134 +3397,102 @@ export interface Routes {
2275
3397
  /** Date and time at which the access code was created. */
2276
3398
  created_at: string;
2277
3399
  /** 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<{
3400
+ errors: Array<({
2279
3401
  message: string;
2280
3402
  is_access_code_error: true;
2281
- error_code: string;
2282
- } | ({
3403
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3404
+ error_code: 'smartthings_failed_to_set_access_code';
3405
+ } | {
2283
3406
  message: string;
2284
- is_device_error: true;
3407
+ is_access_code_error: true;
2285
3408
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2286
- error_code: 'device_offline';
3409
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
2287
3410
  } | {
2288
3411
  message: string;
2289
- is_device_error: true;
3412
+ is_access_code_error: true;
2290
3413
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2291
- error_code: 'device_removed';
3414
+ error_code: 'failed_to_set_on_device';
2292
3415
  } | {
2293
3416
  message: string;
2294
- is_device_error: true;
3417
+ is_access_code_error: true;
2295
3418
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2296
- error_code: 'account_disconnected';
3419
+ error_code: 'failed_to_remove_from_device';
2297
3420
  } | {
2298
3421
  message: string;
2299
- is_device_error: true;
3422
+ is_access_code_error: true;
2300
3423
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2301
- error_code: 'hub_disconnected';
3424
+ error_code: 'duplicate_code_on_device';
2302
3425
  } | {
2303
3426
  message: string;
2304
- is_device_error: true;
3427
+ is_access_code_error: true;
2305
3428
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2306
- error_code: 'device_disconnected';
3429
+ error_code: 'duplicate_code_attempt_prevented';
2307
3430
  } | {
2308
3431
  message: string;
2309
- is_device_error: true;
3432
+ is_access_code_error: true;
2310
3433
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2311
- error_code: 'empty_backup_access_code_pool';
3434
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
2312
3435
  } | {
2313
3436
  message: string;
2314
- is_device_error: true;
3437
+ is_access_code_error: true;
2315
3438
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2316
- error_code: 'august_lock_not_authorized';
3439
+ error_code: 'igloohome_bridge_offline';
2317
3440
  } | {
2318
3441
  message: string;
2319
- is_device_error: true;
3442
+ is_access_code_error: true;
2320
3443
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2321
- error_code: 'august_lock_missing_bridge';
3444
+ error_code: 'igloohome_offline_access_code_no_variance_available';
2322
3445
  } | {
2323
3446
  message: string;
2324
- is_device_error: true;
3447
+ is_access_code_error: true;
2325
3448
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2326
- error_code: 'salto_site_user_limit_reached';
3449
+ error_code: 'kwikset_unable_to_confirm_code';
2327
3450
  } | {
2328
3451
  message: string;
2329
- is_device_error: true;
3452
+ is_access_code_error: true;
2330
3453
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2331
- error_code: 'ttlock_lock_not_paired_to_gateway';
3454
+ error_code: 'kwikset_unable_to_confirm_deletion';
2332
3455
  } | {
2333
3456
  message: string;
2334
- is_device_error: true;
3457
+ is_access_code_error: true;
2335
3458
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2336
- error_code: 'missing_device_credentials';
3459
+ error_code: 'code_modified_external_to_seam';
2337
3460
  } | {
2338
3461
  message: string;
2339
- is_device_error: true;
3462
+ is_access_code_error: true;
2340
3463
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2341
- error_code: 'auxiliary_heat_running';
3464
+ error_code: 'august_lock_invalid_code_length';
2342
3465
  } | {
2343
3466
  message: string;
2344
- is_device_error: true;
3467
+ is_access_code_error: true;
2345
3468
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2346
- error_code: 'subscription_required';
2347
- }) | {
3469
+ error_code: 'august_device_programming_delay';
3470
+ } | {
2348
3471
  message: string;
2349
- is_connected_account_error: true;
2350
- error_code: string;
2351
- }>;
2352
- /** 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
- warnings: Array<{
3472
+ is_access_code_error: true;
3473
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3474
+ error_code: 'august_device_slots_full';
3475
+ } | {
2354
3476
  message: string;
2355
- warning_code: string;
2356
- }>;
2357
- /** Indicates whether Seam manages the access code. */
2358
- is_managed: true;
2359
- /** Date and time at which the time-bound access code becomes active. */
2360
- starts_at?: (string | null) | undefined;
2361
- /** Date and time after which the time-bound access code becomes inactive. */
2362
- ends_at?: (string | null) | undefined;
2363
- /**
2364
- Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
2365
- */
2366
- status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
2367
- /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
2368
- is_backup_access_code_available: boolean;
2369
- /** Indicates whether the access code is a backup code. */
2370
- is_backup?: boolean | undefined;
2371
- /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
2372
- pulled_backup_access_code_id?: (string | null) | undefined;
2373
- /** Indicates whether changes to the access code from external sources are permitted. */
2374
- is_external_modification_allowed: boolean;
2375
- /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
2376
- is_one_time_use: boolean;
2377
- /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
2378
- is_offline_access_code: boolean;
2379
- };
2380
- /** */
2381
- access_code: {
2382
- /** Unique identifier for a group of access codes that share the same code. */
2383
- common_code_key: string | null;
2384
- /** Indicates whether the code is set on the device according to a preconfigured schedule. */
2385
- is_scheduled_on_device?: boolean | undefined;
2386
- /** 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. */
2387
- type: 'time_bound' | 'ongoing';
2388
- /** Indicates whether the access code is waiting for a code assignment. */
2389
- is_waiting_for_code_assignment?: boolean | undefined;
2390
- /** Unique identifier for the access code. */
2391
- access_code_id: string;
2392
- /** Unique identifier for the device associated with the access code. */
2393
- device_id: string;
2394
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
2395
- name: string | null;
2396
- /** Code used for access. Typically, a numeric or alphanumeric string. */
2397
- code: string | null;
2398
- /** Date and time at which the access code was created. */
2399
- created_at: string;
2400
- /** 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<{
3477
+ is_access_code_error: true;
3478
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3479
+ error_code: 'august_lock_missing_keypad';
3480
+ } | {
2402
3481
  message: string;
2403
3482
  is_access_code_error: true;
2404
- error_code: string;
2405
- } | ({
3483
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3484
+ error_code: 'salto_site_user_not_subscribed';
3485
+ } | {
3486
+ message: string;
3487
+ is_access_code_error: true;
3488
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3489
+ error_code: 'hubitat_device_programming_delay';
3490
+ } | {
3491
+ message: string;
3492
+ is_access_code_error: true;
3493
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3494
+ error_code: 'hubitat_no_free_positions_available';
3495
+ }) | ({
2406
3496
  message: string;
2407
3497
  is_device_error: true;
2408
3498
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -2467,146 +3557,58 @@ export interface Routes {
2467
3557
  is_device_error: true;
2468
3558
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2469
3559
  error_code: 'subscription_required';
2470
- }) | {
3560
+ }) | ({
2471
3561
  message: string;
2472
3562
  is_connected_account_error: true;
2473
- error_code: string;
2474
- }>;
2475
- /** 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
- warnings: Array<{
2477
- message: string;
2478
- warning_code: string;
2479
- }>;
2480
- /** Indicates whether Seam manages the access code. */
2481
- is_managed: true;
2482
- /** Date and time at which the time-bound access code becomes active. */
2483
- starts_at?: (string | null) | undefined;
2484
- /** Date and time after which the time-bound access code becomes inactive. */
2485
- ends_at?: (string | null) | undefined;
2486
- /**
2487
- Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
2488
- */
2489
- status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
2490
- /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
2491
- is_backup_access_code_available: boolean;
2492
- /** Indicates whether the access code is a backup code. */
2493
- is_backup?: boolean | undefined;
2494
- /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
2495
- pulled_backup_access_code_id?: (string | null) | undefined;
2496
- /** Indicates whether changes to the access code from external sources are permitted. */
2497
- is_external_modification_allowed: boolean;
2498
- /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
2499
- is_one_time_use: boolean;
2500
- /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
2501
- is_offline_access_code: boolean;
2502
- };
2503
- };
2504
- };
2505
- '/access_codes/simulate/create_unmanaged_access_code': {
2506
- route: '/access_codes/simulate/create_unmanaged_access_code';
2507
- method: 'POST';
2508
- queryParams: {};
2509
- jsonBody: {
2510
- device_id: string;
2511
- name: string;
2512
- code: string;
2513
- };
2514
- commonParams: {};
2515
- formData: {};
2516
- jsonResponse: {
2517
- /** */
2518
- access_code: {
2519
- /** 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. */
2520
- type: 'time_bound' | 'ongoing';
2521
- /** Unique identifier for the access code. */
2522
- access_code_id: string;
2523
- /** Unique identifier for the device associated with the access code. */
2524
- device_id: string;
2525
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
2526
- name: string | null;
2527
- /** Code used for access. Typically, a numeric or alphanumeric string. */
2528
- code: string | null;
2529
- /** Date and time at which the access code was created. */
2530
- created_at: string;
2531
- /** 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<{
2533
- message: string;
2534
- is_access_code_error: true;
2535
- error_code: string;
2536
- } | ({
2537
- message: string;
2538
- is_device_error: true;
2539
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2540
- error_code: 'device_offline';
2541
- } | {
2542
- message: string;
2543
- is_device_error: true;
2544
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2545
- error_code: 'device_removed';
2546
- } | {
2547
- message: string;
2548
- is_device_error: true;
2549
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3563
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2550
3564
  error_code: 'account_disconnected';
2551
3565
  } | {
2552
3566
  message: string;
2553
- is_device_error: true;
2554
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2555
- error_code: 'hub_disconnected';
2556
- } | {
3567
+ is_connected_account_error: true;
3568
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3569
+ error_code: 'invalid_credentials';
3570
+ })>;
3571
+ /** 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. */
3572
+ warnings: Array<{
2557
3573
  message: string;
2558
- is_device_error: true;
2559
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2560
- error_code: 'device_disconnected';
3574
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3575
+ warning_code: 'smartthings_failed_to_set_access_code';
2561
3576
  } | {
2562
3577
  message: string;
2563
- is_device_error: true;
2564
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2565
- error_code: 'empty_backup_access_code_pool';
3578
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3579
+ warning_code: 'schlage_detected_duplicate';
2566
3580
  } | {
2567
3581
  message: string;
2568
- is_device_error: true;
2569
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2570
- error_code: 'august_lock_not_authorized';
3582
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3583
+ warning_code: 'schlage_creation_outage';
2571
3584
  } | {
2572
3585
  message: string;
2573
- is_device_error: true;
2574
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2575
- error_code: 'august_lock_missing_bridge';
3586
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3587
+ warning_code: 'code_modified_external_to_seam';
2576
3588
  } | {
2577
3589
  message: string;
2578
- is_device_error: true;
2579
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2580
- error_code: 'salto_site_user_limit_reached';
3590
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3591
+ warning_code: 'delay_in_setting_on_device';
2581
3592
  } | {
2582
3593
  message: string;
2583
- is_device_error: true;
2584
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2585
- error_code: 'ttlock_lock_not_paired_to_gateway';
3594
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3595
+ warning_code: 'delay_in_removing_from_device';
2586
3596
  } | {
2587
3597
  message: string;
2588
- is_device_error: true;
2589
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2590
- error_code: 'missing_device_credentials';
3598
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3599
+ warning_code: 'third_party_integration_detected';
2591
3600
  } | {
2592
3601
  message: string;
2593
- is_device_error: true;
2594
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2595
- error_code: 'auxiliary_heat_running';
3602
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3603
+ warning_code: 'august_device_programming_delay';
2596
3604
  } | {
2597
3605
  message: string;
2598
- is_device_error: true;
2599
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2600
- error_code: 'subscription_required';
2601
- }) | {
2602
- message: string;
2603
- is_connected_account_error: true;
2604
- error_code: string;
2605
- }>;
2606
- /** 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
- warnings: Array<{
3606
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3607
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
3608
+ } | {
2608
3609
  message: string;
2609
- warning_code: string;
3610
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3611
+ warning_code: 'management_transferred';
2610
3612
  }>;
2611
3613
  is_managed: false;
2612
3614
  /** Date and time at which the time-bound access code becomes active. */
@@ -2833,6 +3835,14 @@ export interface Routes {
2833
3835
  card_id?: string | undefined;
2834
3836
  credential_id?: string | undefined;
2835
3837
  } | undefined;
3838
+ /** Vostio-specific metadata for the credential. */
3839
+ assa_abloy_vostio_metadata?: {
3840
+ override_guest_acs_entrance_ids?: string[] | undefined;
3841
+ key_id?: string | undefined;
3842
+ key_issuing_request_id?: string | undefined;
3843
+ door_names?: string[] | undefined;
3844
+ endpoint_id?: string | undefined;
3845
+ } | undefined;
2836
3846
  is_managed: true;
2837
3847
  } | {
2838
3848
  /** ID of the credential. */
@@ -2933,6 +3943,14 @@ export interface Routes {
2933
3943
  card_id?: string | undefined;
2934
3944
  credential_id?: string | undefined;
2935
3945
  } | undefined;
3946
+ /** Vostio-specific metadata for the credential. */
3947
+ assa_abloy_vostio_metadata?: {
3948
+ override_guest_acs_entrance_ids?: string[] | undefined;
3949
+ key_id?: string | undefined;
3950
+ key_issuing_request_id?: string | undefined;
3951
+ door_names?: string[] | undefined;
3952
+ endpoint_id?: string | undefined;
3953
+ } | undefined;
2936
3954
  is_managed: false;
2937
3955
  }) | null;
2938
3956
  warnings: Array<{
@@ -3070,6 +4088,14 @@ export interface Routes {
3070
4088
  card_id?: string | undefined;
3071
4089
  credential_id?: string | undefined;
3072
4090
  } | undefined;
4091
+ /** Vostio-specific metadata for the credential. */
4092
+ assa_abloy_vostio_metadata?: {
4093
+ override_guest_acs_entrance_ids?: string[] | undefined;
4094
+ key_id?: string | undefined;
4095
+ key_issuing_request_id?: string | undefined;
4096
+ door_names?: string[] | undefined;
4097
+ endpoint_id?: string | undefined;
4098
+ } | undefined;
3073
4099
  is_managed: true;
3074
4100
  } | {
3075
4101
  /** ID of the credential. */
@@ -3170,6 +4196,14 @@ export interface Routes {
3170
4196
  card_id?: string | undefined;
3171
4197
  credential_id?: string | undefined;
3172
4198
  } | undefined;
4199
+ /** Vostio-specific metadata for the credential. */
4200
+ assa_abloy_vostio_metadata?: {
4201
+ override_guest_acs_entrance_ids?: string[] | undefined;
4202
+ key_id?: string | undefined;
4203
+ key_issuing_request_id?: string | undefined;
4204
+ door_names?: string[] | undefined;
4205
+ endpoint_id?: string | undefined;
4206
+ } | undefined;
3173
4207
  is_managed: false;
3174
4208
  };
3175
4209
  } | {
@@ -3493,11 +4527,102 @@ export interface Routes {
3493
4527
  /** Date and time at which the access code was created. */
3494
4528
  created_at: string;
3495
4529
  /** 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<{
4530
+ errors: Array<({
3497
4531
  message: string;
3498
4532
  is_access_code_error: true;
3499
- error_code: string;
3500
- } | ({
4533
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4534
+ error_code: 'smartthings_failed_to_set_access_code';
4535
+ } | {
4536
+ message: string;
4537
+ is_access_code_error: true;
4538
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4539
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
4540
+ } | {
4541
+ message: string;
4542
+ is_access_code_error: true;
4543
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4544
+ error_code: 'failed_to_set_on_device';
4545
+ } | {
4546
+ message: string;
4547
+ is_access_code_error: true;
4548
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4549
+ error_code: 'failed_to_remove_from_device';
4550
+ } | {
4551
+ message: string;
4552
+ is_access_code_error: true;
4553
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4554
+ error_code: 'duplicate_code_on_device';
4555
+ } | {
4556
+ message: string;
4557
+ is_access_code_error: true;
4558
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4559
+ error_code: 'duplicate_code_attempt_prevented';
4560
+ } | {
4561
+ message: string;
4562
+ is_access_code_error: true;
4563
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4564
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
4565
+ } | {
4566
+ message: string;
4567
+ is_access_code_error: true;
4568
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4569
+ error_code: 'igloohome_bridge_offline';
4570
+ } | {
4571
+ message: string;
4572
+ is_access_code_error: true;
4573
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4574
+ error_code: 'igloohome_offline_access_code_no_variance_available';
4575
+ } | {
4576
+ message: string;
4577
+ is_access_code_error: true;
4578
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4579
+ error_code: 'kwikset_unable_to_confirm_code';
4580
+ } | {
4581
+ message: string;
4582
+ is_access_code_error: true;
4583
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4584
+ error_code: 'kwikset_unable_to_confirm_deletion';
4585
+ } | {
4586
+ message: string;
4587
+ is_access_code_error: true;
4588
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4589
+ error_code: 'code_modified_external_to_seam';
4590
+ } | {
4591
+ message: string;
4592
+ is_access_code_error: true;
4593
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4594
+ error_code: 'august_lock_invalid_code_length';
4595
+ } | {
4596
+ message: string;
4597
+ is_access_code_error: true;
4598
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4599
+ error_code: 'august_device_programming_delay';
4600
+ } | {
4601
+ message: string;
4602
+ is_access_code_error: true;
4603
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4604
+ error_code: 'august_device_slots_full';
4605
+ } | {
4606
+ message: string;
4607
+ is_access_code_error: true;
4608
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4609
+ error_code: 'august_lock_missing_keypad';
4610
+ } | {
4611
+ message: string;
4612
+ is_access_code_error: true;
4613
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4614
+ error_code: 'salto_site_user_not_subscribed';
4615
+ } | {
4616
+ message: string;
4617
+ is_access_code_error: true;
4618
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4619
+ error_code: 'hubitat_device_programming_delay';
4620
+ } | {
4621
+ message: string;
4622
+ is_access_code_error: true;
4623
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4624
+ error_code: 'hubitat_no_free_positions_available';
4625
+ }) | ({
3501
4626
  message: string;
3502
4627
  is_device_error: true;
3503
4628
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -3562,15 +4687,58 @@ export interface Routes {
3562
4687
  is_device_error: true;
3563
4688
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3564
4689
  error_code: 'subscription_required';
3565
- }) | {
4690
+ }) | ({
3566
4691
  message: string;
3567
4692
  is_connected_account_error: true;
3568
- error_code: string;
3569
- }>;
4693
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4694
+ error_code: 'account_disconnected';
4695
+ } | {
4696
+ message: string;
4697
+ is_connected_account_error: true;
4698
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4699
+ error_code: 'invalid_credentials';
4700
+ })>;
3570
4701
  /** 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
4702
  warnings: Array<{
3572
4703
  message: string;
3573
- warning_code: string;
4704
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4705
+ warning_code: 'smartthings_failed_to_set_access_code';
4706
+ } | {
4707
+ message: string;
4708
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4709
+ warning_code: 'schlage_detected_duplicate';
4710
+ } | {
4711
+ message: string;
4712
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4713
+ warning_code: 'schlage_creation_outage';
4714
+ } | {
4715
+ message: string;
4716
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4717
+ warning_code: 'code_modified_external_to_seam';
4718
+ } | {
4719
+ message: string;
4720
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4721
+ warning_code: 'delay_in_setting_on_device';
4722
+ } | {
4723
+ message: string;
4724
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4725
+ warning_code: 'delay_in_removing_from_device';
4726
+ } | {
4727
+ message: string;
4728
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4729
+ warning_code: 'third_party_integration_detected';
4730
+ } | {
4731
+ message: string;
4732
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4733
+ warning_code: 'august_device_programming_delay';
4734
+ } | {
4735
+ message: string;
4736
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4737
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
4738
+ } | {
4739
+ message: string;
4740
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4741
+ warning_code: 'management_transferred';
3574
4742
  }>;
3575
4743
  is_managed: false;
3576
4744
  /** Date and time at which the time-bound access code becomes active. */
@@ -3606,11 +4774,102 @@ export interface Routes {
3606
4774
  /** Date and time at which the access code was created. */
3607
4775
  created_at: string;
3608
4776
  /** 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<{
4777
+ errors: Array<({
3610
4778
  message: string;
3611
4779
  is_access_code_error: true;
3612
- error_code: string;
3613
- } | ({
4780
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4781
+ error_code: 'smartthings_failed_to_set_access_code';
4782
+ } | {
4783
+ message: string;
4784
+ is_access_code_error: true;
4785
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4786
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
4787
+ } | {
4788
+ message: string;
4789
+ is_access_code_error: true;
4790
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4791
+ error_code: 'failed_to_set_on_device';
4792
+ } | {
4793
+ message: string;
4794
+ is_access_code_error: true;
4795
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4796
+ error_code: 'failed_to_remove_from_device';
4797
+ } | {
4798
+ message: string;
4799
+ is_access_code_error: true;
4800
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4801
+ error_code: 'duplicate_code_on_device';
4802
+ } | {
4803
+ message: string;
4804
+ is_access_code_error: true;
4805
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4806
+ error_code: 'duplicate_code_attempt_prevented';
4807
+ } | {
4808
+ message: string;
4809
+ is_access_code_error: true;
4810
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4811
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
4812
+ } | {
4813
+ message: string;
4814
+ is_access_code_error: true;
4815
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4816
+ error_code: 'igloohome_bridge_offline';
4817
+ } | {
4818
+ message: string;
4819
+ is_access_code_error: true;
4820
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4821
+ error_code: 'igloohome_offline_access_code_no_variance_available';
4822
+ } | {
4823
+ message: string;
4824
+ is_access_code_error: true;
4825
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4826
+ error_code: 'kwikset_unable_to_confirm_code';
4827
+ } | {
4828
+ message: string;
4829
+ is_access_code_error: true;
4830
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4831
+ error_code: 'kwikset_unable_to_confirm_deletion';
4832
+ } | {
4833
+ message: string;
4834
+ is_access_code_error: true;
4835
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4836
+ error_code: 'code_modified_external_to_seam';
4837
+ } | {
4838
+ message: string;
4839
+ is_access_code_error: true;
4840
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4841
+ error_code: 'august_lock_invalid_code_length';
4842
+ } | {
4843
+ message: string;
4844
+ is_access_code_error: true;
4845
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4846
+ error_code: 'august_device_programming_delay';
4847
+ } | {
4848
+ message: string;
4849
+ is_access_code_error: true;
4850
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4851
+ error_code: 'august_device_slots_full';
4852
+ } | {
4853
+ message: string;
4854
+ is_access_code_error: true;
4855
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4856
+ error_code: 'august_lock_missing_keypad';
4857
+ } | {
4858
+ message: string;
4859
+ is_access_code_error: true;
4860
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4861
+ error_code: 'salto_site_user_not_subscribed';
4862
+ } | {
4863
+ message: string;
4864
+ is_access_code_error: true;
4865
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4866
+ error_code: 'hubitat_device_programming_delay';
4867
+ } | {
4868
+ message: string;
4869
+ is_access_code_error: true;
4870
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4871
+ error_code: 'hubitat_no_free_positions_available';
4872
+ }) | ({
3614
4873
  message: string;
3615
4874
  is_device_error: true;
3616
4875
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -3675,15 +4934,58 @@ export interface Routes {
3675
4934
  is_device_error: true;
3676
4935
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3677
4936
  error_code: 'subscription_required';
3678
- }) | {
4937
+ }) | ({
3679
4938
  message: string;
3680
4939
  is_connected_account_error: true;
3681
- error_code: string;
3682
- }>;
4940
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4941
+ error_code: 'account_disconnected';
4942
+ } | {
4943
+ message: string;
4944
+ is_connected_account_error: true;
4945
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4946
+ error_code: 'invalid_credentials';
4947
+ })>;
3683
4948
  /** 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
4949
  warnings: Array<{
3685
4950
  message: string;
3686
- warning_code: string;
4951
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4952
+ warning_code: 'smartthings_failed_to_set_access_code';
4953
+ } | {
4954
+ message: string;
4955
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4956
+ warning_code: 'schlage_detected_duplicate';
4957
+ } | {
4958
+ message: string;
4959
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4960
+ warning_code: 'schlage_creation_outage';
4961
+ } | {
4962
+ message: string;
4963
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4964
+ warning_code: 'code_modified_external_to_seam';
4965
+ } | {
4966
+ message: string;
4967
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4968
+ warning_code: 'delay_in_setting_on_device';
4969
+ } | {
4970
+ message: string;
4971
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4972
+ warning_code: 'delay_in_removing_from_device';
4973
+ } | {
4974
+ message: string;
4975
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4976
+ warning_code: 'third_party_integration_detected';
4977
+ } | {
4978
+ message: string;
4979
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4980
+ warning_code: 'august_device_programming_delay';
4981
+ } | {
4982
+ message: string;
4983
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4984
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
4985
+ } | {
4986
+ message: string;
4987
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4988
+ warning_code: 'management_transferred';
3687
4989
  }>;
3688
4990
  is_managed: false;
3689
4991
  /** Date and time at which the time-bound access code becomes active. */
@@ -3927,6 +5229,14 @@ export interface Routes {
3927
5229
  card_id?: string | undefined;
3928
5230
  credential_id?: string | undefined;
3929
5231
  } | undefined;
5232
+ /** Vostio-specific metadata for the credential. */
5233
+ assa_abloy_vostio_metadata?: {
5234
+ override_guest_acs_entrance_ids?: string[] | undefined;
5235
+ key_id?: string | undefined;
5236
+ key_issuing_request_id?: string | undefined;
5237
+ door_names?: string[] | undefined;
5238
+ endpoint_id?: string | undefined;
5239
+ } | undefined;
3930
5240
  is_managed: true;
3931
5241
  } | {
3932
5242
  /** ID of the credential. */
@@ -4027,6 +5337,14 @@ export interface Routes {
4027
5337
  card_id?: string | undefined;
4028
5338
  credential_id?: string | undefined;
4029
5339
  } | undefined;
5340
+ /** Vostio-specific metadata for the credential. */
5341
+ assa_abloy_vostio_metadata?: {
5342
+ override_guest_acs_entrance_ids?: string[] | undefined;
5343
+ key_id?: string | undefined;
5344
+ key_issuing_request_id?: string | undefined;
5345
+ door_names?: string[] | undefined;
5346
+ endpoint_id?: string | undefined;
5347
+ } | undefined;
4030
5348
  is_managed: false;
4031
5349
  }) | null;
4032
5350
  warnings: Array<{
@@ -4164,6 +5482,14 @@ export interface Routes {
4164
5482
  card_id?: string | undefined;
4165
5483
  credential_id?: string | undefined;
4166
5484
  } | undefined;
5485
+ /** Vostio-specific metadata for the credential. */
5486
+ assa_abloy_vostio_metadata?: {
5487
+ override_guest_acs_entrance_ids?: string[] | undefined;
5488
+ key_id?: string | undefined;
5489
+ key_issuing_request_id?: string | undefined;
5490
+ door_names?: string[] | undefined;
5491
+ endpoint_id?: string | undefined;
5492
+ } | undefined;
4167
5493
  is_managed: true;
4168
5494
  } | {
4169
5495
  /** ID of the credential. */
@@ -4264,6 +5590,14 @@ export interface Routes {
4264
5590
  card_id?: string | undefined;
4265
5591
  credential_id?: string | undefined;
4266
5592
  } | undefined;
5593
+ /** Vostio-specific metadata for the credential. */
5594
+ assa_abloy_vostio_metadata?: {
5595
+ override_guest_acs_entrance_ids?: string[] | undefined;
5596
+ key_id?: string | undefined;
5597
+ key_issuing_request_id?: string | undefined;
5598
+ door_names?: string[] | undefined;
5599
+ endpoint_id?: string | undefined;
5600
+ } | undefined;
4267
5601
  is_managed: false;
4268
5602
  };
4269
5603
  } | {
@@ -5124,6 +6458,14 @@ export interface Routes {
5124
6458
  card_id?: string | undefined;
5125
6459
  credential_id?: string | undefined;
5126
6460
  } | undefined;
6461
+ /** Vostio-specific metadata for the credential. */
6462
+ assa_abloy_vostio_metadata?: {
6463
+ override_guest_acs_entrance_ids?: string[] | undefined;
6464
+ key_id?: string | undefined;
6465
+ key_issuing_request_id?: string | undefined;
6466
+ door_names?: string[] | undefined;
6467
+ endpoint_id?: string | undefined;
6468
+ } | undefined;
5127
6469
  is_managed: true;
5128
6470
  };
5129
6471
  };
@@ -5279,6 +6621,14 @@ export interface Routes {
5279
6621
  card_id?: string | undefined;
5280
6622
  credential_id?: string | undefined;
5281
6623
  } | undefined;
6624
+ /** Vostio-specific metadata for the credential. */
6625
+ assa_abloy_vostio_metadata?: {
6626
+ override_guest_acs_entrance_ids?: string[] | undefined;
6627
+ key_id?: string | undefined;
6628
+ key_issuing_request_id?: string | undefined;
6629
+ door_names?: string[] | undefined;
6630
+ endpoint_id?: string | undefined;
6631
+ } | undefined;
5282
6632
  is_managed: true;
5283
6633
  };
5284
6634
  };
@@ -5403,6 +6753,14 @@ export interface Routes {
5403
6753
  card_id?: string | undefined;
5404
6754
  credential_id?: string | undefined;
5405
6755
  } | undefined;
6756
+ /** Vostio-specific metadata for the credential. */
6757
+ assa_abloy_vostio_metadata?: {
6758
+ override_guest_acs_entrance_ids?: string[] | undefined;
6759
+ key_id?: string | undefined;
6760
+ key_issuing_request_id?: string | undefined;
6761
+ door_names?: string[] | undefined;
6762
+ endpoint_id?: string | undefined;
6763
+ } | undefined;
5406
6764
  is_managed: true;
5407
6765
  };
5408
6766
  };
@@ -5531,6 +6889,14 @@ export interface Routes {
5531
6889
  card_id?: string | undefined;
5532
6890
  credential_id?: string | undefined;
5533
6891
  } | undefined;
6892
+ /** Vostio-specific metadata for the credential. */
6893
+ assa_abloy_vostio_metadata?: {
6894
+ override_guest_acs_entrance_ids?: string[] | undefined;
6895
+ key_id?: string | undefined;
6896
+ key_issuing_request_id?: string | undefined;
6897
+ door_names?: string[] | undefined;
6898
+ endpoint_id?: string | undefined;
6899
+ } | undefined;
5534
6900
  is_managed: true;
5535
6901
  };
5536
6902
  };
@@ -5663,6 +7029,14 @@ export interface Routes {
5663
7029
  card_id?: string | undefined;
5664
7030
  credential_id?: string | undefined;
5665
7031
  } | undefined;
7032
+ /** Vostio-specific metadata for the credential. */
7033
+ assa_abloy_vostio_metadata?: {
7034
+ override_guest_acs_entrance_ids?: string[] | undefined;
7035
+ key_id?: string | undefined;
7036
+ key_issuing_request_id?: string | undefined;
7037
+ door_names?: string[] | undefined;
7038
+ endpoint_id?: string | undefined;
7039
+ } | undefined;
5666
7040
  is_managed: true;
5667
7041
  }>;
5668
7042
  };
@@ -5847,6 +7221,14 @@ export interface Routes {
5847
7221
  card_id?: string | undefined;
5848
7222
  credential_id?: string | undefined;
5849
7223
  } | undefined;
7224
+ /** Vostio-specific metadata for the credential. */
7225
+ assa_abloy_vostio_metadata?: {
7226
+ override_guest_acs_entrance_ids?: string[] | undefined;
7227
+ key_id?: string | undefined;
7228
+ key_issuing_request_id?: string | undefined;
7229
+ door_names?: string[] | undefined;
7230
+ endpoint_id?: string | undefined;
7231
+ } | undefined;
5850
7232
  is_managed: true;
5851
7233
  };
5852
7234
  };
@@ -5963,6 +7345,14 @@ export interface Routes {
5963
7345
  card_id?: string | undefined;
5964
7346
  credential_id?: string | undefined;
5965
7347
  } | undefined;
7348
+ /** Vostio-specific metadata for the credential. */
7349
+ assa_abloy_vostio_metadata?: {
7350
+ override_guest_acs_entrance_ids?: string[] | undefined;
7351
+ key_id?: string | undefined;
7352
+ key_issuing_request_id?: string | undefined;
7353
+ door_names?: string[] | undefined;
7354
+ endpoint_id?: string | undefined;
7355
+ } | undefined;
5966
7356
  is_managed: false;
5967
7357
  };
5968
7358
  };
@@ -6088,6 +7478,14 @@ export interface Routes {
6088
7478
  card_id?: string | undefined;
6089
7479
  credential_id?: string | undefined;
6090
7480
  } | undefined;
7481
+ /** Vostio-specific metadata for the credential. */
7482
+ assa_abloy_vostio_metadata?: {
7483
+ override_guest_acs_entrance_ids?: string[] | undefined;
7484
+ key_id?: string | undefined;
7485
+ key_issuing_request_id?: string | undefined;
7486
+ door_names?: string[] | undefined;
7487
+ endpoint_id?: string | undefined;
7488
+ } | undefined;
6091
7489
  is_managed: false;
6092
7490
  }>;
6093
7491
  };
@@ -6208,6 +7606,14 @@ export interface Routes {
6208
7606
  card_id?: string | undefined;
6209
7607
  credential_id?: string | undefined;
6210
7608
  } | undefined;
7609
+ /** Vostio-specific metadata for the credential. */
7610
+ assa_abloy_vostio_metadata?: {
7611
+ override_guest_acs_entrance_ids?: string[] | undefined;
7612
+ key_id?: string | undefined;
7613
+ key_issuing_request_id?: string | undefined;
7614
+ door_names?: string[] | undefined;
7615
+ endpoint_id?: string | undefined;
7616
+ } | undefined;
6211
7617
  is_managed: true;
6212
7618
  };
6213
7619
  };
@@ -6415,6 +7821,14 @@ export interface Routes {
6415
7821
  card_id?: string | undefined;
6416
7822
  credential_id?: string | undefined;
6417
7823
  } | undefined;
7824
+ /** Vostio-specific metadata for the credential. */
7825
+ assa_abloy_vostio_metadata?: {
7826
+ override_guest_acs_entrance_ids?: string[] | undefined;
7827
+ key_id?: string | undefined;
7828
+ key_issuing_request_id?: string | undefined;
7829
+ door_names?: string[] | undefined;
7830
+ endpoint_id?: string | undefined;
7831
+ } | undefined;
6418
7832
  is_managed: true;
6419
7833
  } | {
6420
7834
  /** ID of the credential. */
@@ -6515,6 +7929,14 @@ export interface Routes {
6515
7929
  card_id?: string | undefined;
6516
7930
  credential_id?: string | undefined;
6517
7931
  } | undefined;
7932
+ /** Vostio-specific metadata for the credential. */
7933
+ assa_abloy_vostio_metadata?: {
7934
+ override_guest_acs_entrance_ids?: string[] | undefined;
7935
+ key_id?: string | undefined;
7936
+ key_issuing_request_id?: string | undefined;
7937
+ door_names?: string[] | undefined;
7938
+ endpoint_id?: string | undefined;
7939
+ } | undefined;
6518
7940
  is_managed: false;
6519
7941
  }) | null;
6520
7942
  warnings: Array<{
@@ -6652,6 +8074,14 @@ export interface Routes {
6652
8074
  card_id?: string | undefined;
6653
8075
  credential_id?: string | undefined;
6654
8076
  } | undefined;
8077
+ /** Vostio-specific metadata for the credential. */
8078
+ assa_abloy_vostio_metadata?: {
8079
+ override_guest_acs_entrance_ids?: string[] | undefined;
8080
+ key_id?: string | undefined;
8081
+ key_issuing_request_id?: string | undefined;
8082
+ door_names?: string[] | undefined;
8083
+ endpoint_id?: string | undefined;
8084
+ } | undefined;
6655
8085
  is_managed: true;
6656
8086
  } | {
6657
8087
  /** ID of the credential. */
@@ -6752,6 +8182,14 @@ export interface Routes {
6752
8182
  card_id?: string | undefined;
6753
8183
  credential_id?: string | undefined;
6754
8184
  } | undefined;
8185
+ /** Vostio-specific metadata for the credential. */
8186
+ assa_abloy_vostio_metadata?: {
8187
+ override_guest_acs_entrance_ids?: string[] | undefined;
8188
+ key_id?: string | undefined;
8189
+ key_issuing_request_id?: string | undefined;
8190
+ door_names?: string[] | undefined;
8191
+ endpoint_id?: string | undefined;
8192
+ } | undefined;
6755
8193
  is_managed: false;
6756
8194
  };
6757
8195
  } | {
@@ -7295,6 +8733,14 @@ export interface Routes {
7295
8733
  card_id?: string | undefined;
7296
8734
  credential_id?: string | undefined;
7297
8735
  } | undefined;
8736
+ /** Vostio-specific metadata for the credential. */
8737
+ assa_abloy_vostio_metadata?: {
8738
+ override_guest_acs_entrance_ids?: string[] | undefined;
8739
+ key_id?: string | undefined;
8740
+ key_issuing_request_id?: string | undefined;
8741
+ door_names?: string[] | undefined;
8742
+ endpoint_id?: string | undefined;
8743
+ } | undefined;
7298
8744
  is_managed: true;
7299
8745
  } | {
7300
8746
  /** ID of the credential. */
@@ -7395,6 +8841,14 @@ export interface Routes {
7395
8841
  card_id?: string | undefined;
7396
8842
  credential_id?: string | undefined;
7397
8843
  } | undefined;
8844
+ /** Vostio-specific metadata for the credential. */
8845
+ assa_abloy_vostio_metadata?: {
8846
+ override_guest_acs_entrance_ids?: string[] | undefined;
8847
+ key_id?: string | undefined;
8848
+ key_issuing_request_id?: string | undefined;
8849
+ door_names?: string[] | undefined;
8850
+ endpoint_id?: string | undefined;
8851
+ } | undefined;
7398
8852
  is_managed: false;
7399
8853
  }) | null;
7400
8854
  warnings: Array<{
@@ -7532,6 +8986,14 @@ export interface Routes {
7532
8986
  card_id?: string | undefined;
7533
8987
  credential_id?: string | undefined;
7534
8988
  } | undefined;
8989
+ /** Vostio-specific metadata for the credential. */
8990
+ assa_abloy_vostio_metadata?: {
8991
+ override_guest_acs_entrance_ids?: string[] | undefined;
8992
+ key_id?: string | undefined;
8993
+ key_issuing_request_id?: string | undefined;
8994
+ door_names?: string[] | undefined;
8995
+ endpoint_id?: string | undefined;
8996
+ } | undefined;
7535
8997
  is_managed: true;
7536
8998
  } | {
7537
8999
  /** ID of the credential. */
@@ -7632,6 +9094,14 @@ export interface Routes {
7632
9094
  card_id?: string | undefined;
7633
9095
  credential_id?: string | undefined;
7634
9096
  } | undefined;
9097
+ /** Vostio-specific metadata for the credential. */
9098
+ assa_abloy_vostio_metadata?: {
9099
+ override_guest_acs_entrance_ids?: string[] | undefined;
9100
+ key_id?: string | undefined;
9101
+ key_issuing_request_id?: string | undefined;
9102
+ door_names?: string[] | undefined;
9103
+ endpoint_id?: string | undefined;
9104
+ } | undefined;
7635
9105
  is_managed: false;
7636
9106
  };
7637
9107
  } | {
@@ -8261,6 +9731,14 @@ export interface Routes {
8261
9731
  card_id?: string | undefined;
8262
9732
  credential_id?: string | undefined;
8263
9733
  } | undefined;
9734
+ /** Vostio-specific metadata for the credential. */
9735
+ assa_abloy_vostio_metadata?: {
9736
+ override_guest_acs_entrance_ids?: string[] | undefined;
9737
+ key_id?: string | undefined;
9738
+ key_issuing_request_id?: string | undefined;
9739
+ door_names?: string[] | undefined;
9740
+ endpoint_id?: string | undefined;
9741
+ } | undefined;
8264
9742
  is_managed: true;
8265
9743
  }>;
8266
9744
  };
@@ -9582,6 +11060,14 @@ export interface Routes {
9582
11060
  card_id?: string | undefined;
9583
11061
  credential_id?: string | undefined;
9584
11062
  } | undefined;
11063
+ /** Vostio-specific metadata for the credential. */
11064
+ assa_abloy_vostio_metadata?: {
11065
+ override_guest_acs_entrance_ids?: string[] | undefined;
11066
+ key_id?: string | undefined;
11067
+ key_issuing_request_id?: string | undefined;
11068
+ door_names?: string[] | undefined;
11069
+ endpoint_id?: string | undefined;
11070
+ } | undefined;
9585
11071
  is_managed: true;
9586
11072
  } | {
9587
11073
  /** ID of the credential. */
@@ -9682,6 +11168,14 @@ export interface Routes {
9682
11168
  card_id?: string | undefined;
9683
11169
  credential_id?: string | undefined;
9684
11170
  } | undefined;
11171
+ /** Vostio-specific metadata for the credential. */
11172
+ assa_abloy_vostio_metadata?: {
11173
+ override_guest_acs_entrance_ids?: string[] | undefined;
11174
+ key_id?: string | undefined;
11175
+ key_issuing_request_id?: string | undefined;
11176
+ door_names?: string[] | undefined;
11177
+ endpoint_id?: string | undefined;
11178
+ } | undefined;
9685
11179
  is_managed: false;
9686
11180
  }) | null;
9687
11181
  warnings: Array<{
@@ -9819,6 +11313,14 @@ export interface Routes {
9819
11313
  card_id?: string | undefined;
9820
11314
  credential_id?: string | undefined;
9821
11315
  } | undefined;
11316
+ /** Vostio-specific metadata for the credential. */
11317
+ assa_abloy_vostio_metadata?: {
11318
+ override_guest_acs_entrance_ids?: string[] | undefined;
11319
+ key_id?: string | undefined;
11320
+ key_issuing_request_id?: string | undefined;
11321
+ door_names?: string[] | undefined;
11322
+ endpoint_id?: string | undefined;
11323
+ } | undefined;
9822
11324
  is_managed: true;
9823
11325
  } | {
9824
11326
  /** ID of the credential. */
@@ -9919,6 +11421,14 @@ export interface Routes {
9919
11421
  card_id?: string | undefined;
9920
11422
  credential_id?: string | undefined;
9921
11423
  } | undefined;
11424
+ /** Vostio-specific metadata for the credential. */
11425
+ assa_abloy_vostio_metadata?: {
11426
+ override_guest_acs_entrance_ids?: string[] | undefined;
11427
+ key_id?: string | undefined;
11428
+ key_issuing_request_id?: string | undefined;
11429
+ door_names?: string[] | undefined;
11430
+ endpoint_id?: string | undefined;
11431
+ } | undefined;
9922
11432
  is_managed: false;
9923
11433
  };
9924
11434
  } | {
@@ -10414,6 +11924,14 @@ export interface Routes {
10414
11924
  card_id?: string | undefined;
10415
11925
  credential_id?: string | undefined;
10416
11926
  } | undefined;
11927
+ /** Vostio-specific metadata for the credential. */
11928
+ assa_abloy_vostio_metadata?: {
11929
+ override_guest_acs_entrance_ids?: string[] | undefined;
11930
+ key_id?: string | undefined;
11931
+ key_issuing_request_id?: string | undefined;
11932
+ door_names?: string[] | undefined;
11933
+ endpoint_id?: string | undefined;
11934
+ } | undefined;
10417
11935
  is_managed: true;
10418
11936
  } | {
10419
11937
  /** ID of the credential. */
@@ -10514,6 +12032,14 @@ export interface Routes {
10514
12032
  card_id?: string | undefined;
10515
12033
  credential_id?: string | undefined;
10516
12034
  } | undefined;
12035
+ /** Vostio-specific metadata for the credential. */
12036
+ assa_abloy_vostio_metadata?: {
12037
+ override_guest_acs_entrance_ids?: string[] | undefined;
12038
+ key_id?: string | undefined;
12039
+ key_issuing_request_id?: string | undefined;
12040
+ door_names?: string[] | undefined;
12041
+ endpoint_id?: string | undefined;
12042
+ } | undefined;
10517
12043
  is_managed: false;
10518
12044
  }) | null;
10519
12045
  warnings: Array<{
@@ -10651,6 +12177,14 @@ export interface Routes {
10651
12177
  card_id?: string | undefined;
10652
12178
  credential_id?: string | undefined;
10653
12179
  } | undefined;
12180
+ /** Vostio-specific metadata for the credential. */
12181
+ assa_abloy_vostio_metadata?: {
12182
+ override_guest_acs_entrance_ids?: string[] | undefined;
12183
+ key_id?: string | undefined;
12184
+ key_issuing_request_id?: string | undefined;
12185
+ door_names?: string[] | undefined;
12186
+ endpoint_id?: string | undefined;
12187
+ } | undefined;
10654
12188
  is_managed: true;
10655
12189
  } | {
10656
12190
  /** ID of the credential. */
@@ -10751,6 +12285,14 @@ export interface Routes {
10751
12285
  card_id?: string | undefined;
10752
12286
  credential_id?: string | undefined;
10753
12287
  } | undefined;
12288
+ /** Vostio-specific metadata for the credential. */
12289
+ assa_abloy_vostio_metadata?: {
12290
+ override_guest_acs_entrance_ids?: string[] | undefined;
12291
+ key_id?: string | undefined;
12292
+ key_issuing_request_id?: string | undefined;
12293
+ door_names?: string[] | undefined;
12294
+ endpoint_id?: string | undefined;
12295
+ } | undefined;
10754
12296
  is_managed: false;
10755
12297
  };
10756
12298
  } | {
@@ -11385,11 +12927,18 @@ export interface Routes {
11385
12927
  errors: Array<{
11386
12928
  message: string;
11387
12929
  is_connected_account_error: true;
11388
- error_code: string;
12930
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12931
+ error_code: 'account_disconnected';
12932
+ } | {
12933
+ message: string;
12934
+ is_connected_account_error: true;
12935
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12936
+ error_code: 'invalid_credentials';
11389
12937
  }>;
11390
12938
  warnings: Array<{
11391
12939
  message: string;
11392
- warning_code: string;
12940
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12941
+ warning_code: 'scheduled_maintenance_window';
11393
12942
  } | {
11394
12943
  message: string;
11395
12944
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -11428,11 +12977,18 @@ export interface Routes {
11428
12977
  errors: Array<{
11429
12978
  message: string;
11430
12979
  is_connected_account_error: true;
11431
- error_code: string;
12980
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12981
+ error_code: 'account_disconnected';
12982
+ } | {
12983
+ message: string;
12984
+ is_connected_account_error: true;
12985
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12986
+ error_code: 'invalid_credentials';
11432
12987
  }>;
11433
12988
  warnings: Array<{
11434
12989
  message: string;
11435
- warning_code: string;
12990
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
12991
+ warning_code: 'scheduled_maintenance_window';
11436
12992
  } | {
11437
12993
  message: string;
11438
12994
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -11471,11 +13027,18 @@ export interface Routes {
11471
13027
  errors: Array<{
11472
13028
  message: string;
11473
13029
  is_connected_account_error: true;
11474
- error_code: string;
13030
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13031
+ error_code: 'account_disconnected';
13032
+ } | {
13033
+ message: string;
13034
+ is_connected_account_error: true;
13035
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13036
+ error_code: 'invalid_credentials';
11475
13037
  }>;
11476
13038
  warnings: Array<{
11477
13039
  message: string;
11478
- warning_code: string;
13040
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13041
+ warning_code: 'scheduled_maintenance_window';
11479
13042
  } | {
11480
13043
  message: string;
11481
13044
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -12063,11 +13626,17 @@ export interface Routes {
12063
13626
  is_device_error: true;
12064
13627
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12065
13628
  error_code: 'subscription_required';
12066
- }) | {
13629
+ }) | ({
12067
13630
  message: string;
12068
13631
  is_connected_account_error: true;
12069
- error_code: string;
12070
- }>;
13632
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13633
+ error_code: 'account_disconnected';
13634
+ } | {
13635
+ message: string;
13636
+ is_connected_account_error: true;
13637
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13638
+ error_code: 'invalid_credentials';
13639
+ })>;
12071
13640
  /** 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
13641
  warnings: Array<{
12073
13642
  message: string;
@@ -12738,11 +14307,17 @@ export interface Routes {
12738
14307
  is_device_error: true;
12739
14308
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12740
14309
  error_code: 'subscription_required';
12741
- }) | {
14310
+ }) | ({
12742
14311
  message: string;
12743
14312
  is_connected_account_error: true;
12744
- error_code: string;
12745
- }>;
14313
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14314
+ error_code: 'account_disconnected';
14315
+ } | {
14316
+ message: string;
14317
+ is_connected_account_error: true;
14318
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14319
+ error_code: 'invalid_credentials';
14320
+ })>;
12746
14321
  /** 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
14322
  warnings: Array<{
12748
14323
  message: string;
@@ -12982,11 +14557,17 @@ export interface Routes {
12982
14557
  is_device_error: true;
12983
14558
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12984
14559
  error_code: 'subscription_required';
12985
- }) | {
14560
+ }) | ({
12986
14561
  message: string;
12987
14562
  is_connected_account_error: true;
12988
- error_code: string;
12989
- }>;
14563
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14564
+ error_code: 'account_disconnected';
14565
+ } | {
14566
+ message: string;
14567
+ is_connected_account_error: true;
14568
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14569
+ error_code: 'invalid_credentials';
14570
+ })>;
12990
14571
  /** 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
14572
  warnings: Array<{
12992
14573
  message: string;
@@ -13235,11 +14816,17 @@ export interface Routes {
13235
14816
  is_device_error: true;
13236
14817
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13237
14818
  error_code: 'subscription_required';
13238
- }) | {
14819
+ }) | ({
13239
14820
  message: string;
13240
14821
  is_connected_account_error: true;
13241
- error_code: string;
13242
- }>;
14822
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14823
+ error_code: 'account_disconnected';
14824
+ } | {
14825
+ message: string;
14826
+ is_connected_account_error: true;
14827
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14828
+ error_code: 'invalid_credentials';
14829
+ })>;
13243
14830
  /** 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
14831
  warnings: Array<{
13245
14832
  message: string;
@@ -16339,11 +17926,17 @@ export interface Routes {
16339
17926
  is_device_error: true;
16340
17927
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16341
17928
  error_code: 'subscription_required';
16342
- }) | {
17929
+ }) | ({
16343
17930
  message: string;
16344
17931
  is_connected_account_error: true;
16345
- error_code: string;
16346
- }>;
17932
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17933
+ error_code: 'account_disconnected';
17934
+ } | {
17935
+ message: string;
17936
+ is_connected_account_error: true;
17937
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17938
+ error_code: 'invalid_credentials';
17939
+ })>;
16347
17940
  /** 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
17941
  warnings: Array<{
16349
17942
  message: string;
@@ -16978,11 +18571,17 @@ export interface Routes {
16978
18571
  is_device_error: true;
16979
18572
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16980
18573
  error_code: 'subscription_required';
16981
- }) | {
18574
+ }) | ({
16982
18575
  message: string;
16983
18576
  is_connected_account_error: true;
16984
- error_code: string;
16985
- }>;
18577
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18578
+ error_code: 'account_disconnected';
18579
+ } | {
18580
+ message: string;
18581
+ is_connected_account_error: true;
18582
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18583
+ error_code: 'invalid_credentials';
18584
+ })>;
16986
18585
  /** 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
18586
  warnings: Array<{
16988
18587
  message: string;
@@ -17653,11 +19252,17 @@ export interface Routes {
17653
19252
  is_device_error: true;
17654
19253
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17655
19254
  error_code: 'subscription_required';
17656
- }) | {
19255
+ }) | ({
17657
19256
  message: string;
17658
19257
  is_connected_account_error: true;
17659
- error_code: string;
17660
- }>;
19258
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19259
+ error_code: 'account_disconnected';
19260
+ } | {
19261
+ message: string;
19262
+ is_connected_account_error: true;
19263
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19264
+ error_code: 'invalid_credentials';
19265
+ })>;
17661
19266
  /** 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
19267
  warnings: Array<{
17663
19268
  message: string;
@@ -18291,11 +19896,17 @@ export interface Routes {
18291
19896
  is_device_error: true;
18292
19897
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18293
19898
  error_code: 'subscription_required';
18294
- }) | {
19899
+ }) | ({
18295
19900
  message: string;
18296
19901
  is_connected_account_error: true;
18297
- error_code: string;
18298
- }>;
19902
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19903
+ error_code: 'account_disconnected';
19904
+ } | {
19905
+ message: string;
19906
+ is_connected_account_error: true;
19907
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19908
+ error_code: 'invalid_credentials';
19909
+ })>;
18299
19910
  /** 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
19911
  warnings: Array<{
18301
19912
  message: string;
@@ -18578,6 +20189,14 @@ export interface Routes {
18578
20189
  card_id?: string | undefined;
18579
20190
  credential_id?: string | undefined;
18580
20191
  } | undefined;
20192
+ /** Vostio-specific metadata for the credential. */
20193
+ assa_abloy_vostio_metadata?: {
20194
+ override_guest_acs_entrance_ids?: string[] | undefined;
20195
+ key_id?: string | undefined;
20196
+ key_issuing_request_id?: string | undefined;
20197
+ door_names?: string[] | undefined;
20198
+ endpoint_id?: string | undefined;
20199
+ } | undefined;
18581
20200
  is_managed: true;
18582
20201
  } | {
18583
20202
  /** ID of the credential. */
@@ -18678,6 +20297,14 @@ export interface Routes {
18678
20297
  card_id?: string | undefined;
18679
20298
  credential_id?: string | undefined;
18680
20299
  } | undefined;
20300
+ /** Vostio-specific metadata for the credential. */
20301
+ assa_abloy_vostio_metadata?: {
20302
+ override_guest_acs_entrance_ids?: string[] | undefined;
20303
+ key_id?: string | undefined;
20304
+ key_issuing_request_id?: string | undefined;
20305
+ door_names?: string[] | undefined;
20306
+ endpoint_id?: string | undefined;
20307
+ } | undefined;
18681
20308
  is_managed: false;
18682
20309
  }) | null;
18683
20310
  warnings: Array<{
@@ -18815,6 +20442,14 @@ export interface Routes {
18815
20442
  card_id?: string | undefined;
18816
20443
  credential_id?: string | undefined;
18817
20444
  } | undefined;
20445
+ /** Vostio-specific metadata for the credential. */
20446
+ assa_abloy_vostio_metadata?: {
20447
+ override_guest_acs_entrance_ids?: string[] | undefined;
20448
+ key_id?: string | undefined;
20449
+ key_issuing_request_id?: string | undefined;
20450
+ door_names?: string[] | undefined;
20451
+ endpoint_id?: string | undefined;
20452
+ } | undefined;
18818
20453
  is_managed: true;
18819
20454
  } | {
18820
20455
  /** ID of the credential. */
@@ -18915,6 +20550,14 @@ export interface Routes {
18915
20550
  card_id?: string | undefined;
18916
20551
  credential_id?: string | undefined;
18917
20552
  } | undefined;
20553
+ /** Vostio-specific metadata for the credential. */
20554
+ assa_abloy_vostio_metadata?: {
20555
+ override_guest_acs_entrance_ids?: string[] | undefined;
20556
+ key_id?: string | undefined;
20557
+ key_issuing_request_id?: string | undefined;
20558
+ door_names?: string[] | undefined;
20559
+ endpoint_id?: string | undefined;
20560
+ } | undefined;
18918
20561
  is_managed: false;
18919
20562
  };
18920
20563
  } | {
@@ -19412,6 +21055,14 @@ export interface Routes {
19412
21055
  card_id?: string | undefined;
19413
21056
  credential_id?: string | undefined;
19414
21057
  } | undefined;
21058
+ /** Vostio-specific metadata for the credential. */
21059
+ assa_abloy_vostio_metadata?: {
21060
+ override_guest_acs_entrance_ids?: string[] | undefined;
21061
+ key_id?: string | undefined;
21062
+ key_issuing_request_id?: string | undefined;
21063
+ door_names?: string[] | undefined;
21064
+ endpoint_id?: string | undefined;
21065
+ } | undefined;
19415
21066
  is_managed: true;
19416
21067
  } | {
19417
21068
  /** ID of the credential. */
@@ -19512,6 +21163,14 @@ export interface Routes {
19512
21163
  card_id?: string | undefined;
19513
21164
  credential_id?: string | undefined;
19514
21165
  } | undefined;
21166
+ /** Vostio-specific metadata for the credential. */
21167
+ assa_abloy_vostio_metadata?: {
21168
+ override_guest_acs_entrance_ids?: string[] | undefined;
21169
+ key_id?: string | undefined;
21170
+ key_issuing_request_id?: string | undefined;
21171
+ door_names?: string[] | undefined;
21172
+ endpoint_id?: string | undefined;
21173
+ } | undefined;
19515
21174
  is_managed: false;
19516
21175
  }) | null;
19517
21176
  warnings: Array<{
@@ -19649,6 +21308,14 @@ export interface Routes {
19649
21308
  card_id?: string | undefined;
19650
21309
  credential_id?: string | undefined;
19651
21310
  } | undefined;
21311
+ /** Vostio-specific metadata for the credential. */
21312
+ assa_abloy_vostio_metadata?: {
21313
+ override_guest_acs_entrance_ids?: string[] | undefined;
21314
+ key_id?: string | undefined;
21315
+ key_issuing_request_id?: string | undefined;
21316
+ door_names?: string[] | undefined;
21317
+ endpoint_id?: string | undefined;
21318
+ } | undefined;
19652
21319
  is_managed: true;
19653
21320
  } | {
19654
21321
  /** ID of the credential. */
@@ -19749,6 +21416,14 @@ export interface Routes {
19749
21416
  card_id?: string | undefined;
19750
21417
  credential_id?: string | undefined;
19751
21418
  } | undefined;
21419
+ /** Vostio-specific metadata for the credential. */
21420
+ assa_abloy_vostio_metadata?: {
21421
+ override_guest_acs_entrance_ids?: string[] | undefined;
21422
+ key_id?: string | undefined;
21423
+ key_issuing_request_id?: string | undefined;
21424
+ door_names?: string[] | undefined;
21425
+ endpoint_id?: string | undefined;
21426
+ } | undefined;
19752
21427
  is_managed: false;
19753
21428
  };
19754
21429
  } | {
@@ -20669,11 +22344,17 @@ export interface Routes {
20669
22344
  is_device_error: true;
20670
22345
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20671
22346
  error_code: 'subscription_required';
20672
- }) | {
22347
+ }) | ({
20673
22348
  message: string;
20674
22349
  is_connected_account_error: true;
20675
- error_code: string;
20676
- }>;
22350
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22351
+ error_code: 'account_disconnected';
22352
+ } | {
22353
+ message: string;
22354
+ is_connected_account_error: true;
22355
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22356
+ error_code: 'invalid_credentials';
22357
+ })>;
20677
22358
  /** 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
22359
  warnings: Array<{
20679
22360
  message: string;
@@ -21307,11 +22988,17 @@ export interface Routes {
21307
22988
  is_device_error: true;
21308
22989
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21309
22990
  error_code: 'subscription_required';
21310
- }) | {
22991
+ }) | ({
21311
22992
  message: string;
21312
22993
  is_connected_account_error: true;
21313
- error_code: string;
21314
- }>;
22994
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22995
+ error_code: 'account_disconnected';
22996
+ } | {
22997
+ message: string;
22998
+ is_connected_account_error: true;
22999
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23000
+ error_code: 'invalid_credentials';
23001
+ })>;
21315
23002
  /** 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
23003
  warnings: Array<{
21317
23004
  message: string;
@@ -21599,6 +23286,14 @@ export interface Routes {
21599
23286
  card_id?: string | undefined;
21600
23287
  credential_id?: string | undefined;
21601
23288
  } | undefined;
23289
+ /** Vostio-specific metadata for the credential. */
23290
+ assa_abloy_vostio_metadata?: {
23291
+ override_guest_acs_entrance_ids?: string[] | undefined;
23292
+ key_id?: string | undefined;
23293
+ key_issuing_request_id?: string | undefined;
23294
+ door_names?: string[] | undefined;
23295
+ endpoint_id?: string | undefined;
23296
+ } | undefined;
21602
23297
  is_managed: true;
21603
23298
  } | {
21604
23299
  /** ID of the credential. */
@@ -21699,6 +23394,14 @@ export interface Routes {
21699
23394
  card_id?: string | undefined;
21700
23395
  credential_id?: string | undefined;
21701
23396
  } | undefined;
23397
+ /** Vostio-specific metadata for the credential. */
23398
+ assa_abloy_vostio_metadata?: {
23399
+ override_guest_acs_entrance_ids?: string[] | undefined;
23400
+ key_id?: string | undefined;
23401
+ key_issuing_request_id?: string | undefined;
23402
+ door_names?: string[] | undefined;
23403
+ endpoint_id?: string | undefined;
23404
+ } | undefined;
21702
23405
  is_managed: false;
21703
23406
  }) | null;
21704
23407
  warnings: Array<{
@@ -21836,6 +23539,14 @@ export interface Routes {
21836
23539
  card_id?: string | undefined;
21837
23540
  credential_id?: string | undefined;
21838
23541
  } | undefined;
23542
+ /** Vostio-specific metadata for the credential. */
23543
+ assa_abloy_vostio_metadata?: {
23544
+ override_guest_acs_entrance_ids?: string[] | undefined;
23545
+ key_id?: string | undefined;
23546
+ key_issuing_request_id?: string | undefined;
23547
+ door_names?: string[] | undefined;
23548
+ endpoint_id?: string | undefined;
23549
+ } | undefined;
21839
23550
  is_managed: true;
21840
23551
  } | {
21841
23552
  /** ID of the credential. */
@@ -21936,6 +23647,14 @@ export interface Routes {
21936
23647
  card_id?: string | undefined;
21937
23648
  credential_id?: string | undefined;
21938
23649
  } | undefined;
23650
+ /** Vostio-specific metadata for the credential. */
23651
+ assa_abloy_vostio_metadata?: {
23652
+ override_guest_acs_entrance_ids?: string[] | undefined;
23653
+ key_id?: string | undefined;
23654
+ key_issuing_request_id?: string | undefined;
23655
+ door_names?: string[] | undefined;
23656
+ endpoint_id?: string | undefined;
23657
+ } | undefined;
21939
23658
  is_managed: false;
21940
23659
  };
21941
23660
  } | {
@@ -22444,6 +24163,14 @@ export interface Routes {
22444
24163
  card_id?: string | undefined;
22445
24164
  credential_id?: string | undefined;
22446
24165
  } | undefined;
24166
+ /** Vostio-specific metadata for the credential. */
24167
+ assa_abloy_vostio_metadata?: {
24168
+ override_guest_acs_entrance_ids?: string[] | undefined;
24169
+ key_id?: string | undefined;
24170
+ key_issuing_request_id?: string | undefined;
24171
+ door_names?: string[] | undefined;
24172
+ endpoint_id?: string | undefined;
24173
+ } | undefined;
22447
24174
  is_managed: true;
22448
24175
  } | {
22449
24176
  /** ID of the credential. */
@@ -22544,6 +24271,14 @@ export interface Routes {
22544
24271
  card_id?: string | undefined;
22545
24272
  credential_id?: string | undefined;
22546
24273
  } | undefined;
24274
+ /** Vostio-specific metadata for the credential. */
24275
+ assa_abloy_vostio_metadata?: {
24276
+ override_guest_acs_entrance_ids?: string[] | undefined;
24277
+ key_id?: string | undefined;
24278
+ key_issuing_request_id?: string | undefined;
24279
+ door_names?: string[] | undefined;
24280
+ endpoint_id?: string | undefined;
24281
+ } | undefined;
22547
24282
  is_managed: false;
22548
24283
  }) | null;
22549
24284
  warnings: Array<{
@@ -22681,6 +24416,14 @@ export interface Routes {
22681
24416
  card_id?: string | undefined;
22682
24417
  credential_id?: string | undefined;
22683
24418
  } | undefined;
24419
+ /** Vostio-specific metadata for the credential. */
24420
+ assa_abloy_vostio_metadata?: {
24421
+ override_guest_acs_entrance_ids?: string[] | undefined;
24422
+ key_id?: string | undefined;
24423
+ key_issuing_request_id?: string | undefined;
24424
+ door_names?: string[] | undefined;
24425
+ endpoint_id?: string | undefined;
24426
+ } | undefined;
22684
24427
  is_managed: true;
22685
24428
  } | {
22686
24429
  /** ID of the credential. */
@@ -22781,6 +24524,14 @@ export interface Routes {
22781
24524
  card_id?: string | undefined;
22782
24525
  credential_id?: string | undefined;
22783
24526
  } | undefined;
24527
+ /** Vostio-specific metadata for the credential. */
24528
+ assa_abloy_vostio_metadata?: {
24529
+ override_guest_acs_entrance_ids?: string[] | undefined;
24530
+ key_id?: string | undefined;
24531
+ key_issuing_request_id?: string | undefined;
24532
+ door_names?: string[] | undefined;
24533
+ endpoint_id?: string | undefined;
24534
+ } | undefined;
22784
24535
  is_managed: false;
22785
24536
  };
22786
24537
  } | {
@@ -23328,6 +25079,14 @@ export interface Routes {
23328
25079
  card_id?: string | undefined;
23329
25080
  credential_id?: string | undefined;
23330
25081
  } | undefined;
25082
+ /** Vostio-specific metadata for the credential. */
25083
+ assa_abloy_vostio_metadata?: {
25084
+ override_guest_acs_entrance_ids?: string[] | undefined;
25085
+ key_id?: string | undefined;
25086
+ key_issuing_request_id?: string | undefined;
25087
+ door_names?: string[] | undefined;
25088
+ endpoint_id?: string | undefined;
25089
+ } | undefined;
23331
25090
  is_managed: true;
23332
25091
  } | {
23333
25092
  /** ID of the credential. */
@@ -23428,6 +25187,14 @@ export interface Routes {
23428
25187
  card_id?: string | undefined;
23429
25188
  credential_id?: string | undefined;
23430
25189
  } | undefined;
25190
+ /** Vostio-specific metadata for the credential. */
25191
+ assa_abloy_vostio_metadata?: {
25192
+ override_guest_acs_entrance_ids?: string[] | undefined;
25193
+ key_id?: string | undefined;
25194
+ key_issuing_request_id?: string | undefined;
25195
+ door_names?: string[] | undefined;
25196
+ endpoint_id?: string | undefined;
25197
+ } | undefined;
23431
25198
  is_managed: false;
23432
25199
  }) | null;
23433
25200
  warnings: Array<{
@@ -23565,6 +25332,14 @@ export interface Routes {
23565
25332
  card_id?: string | undefined;
23566
25333
  credential_id?: string | undefined;
23567
25334
  } | undefined;
25335
+ /** Vostio-specific metadata for the credential. */
25336
+ assa_abloy_vostio_metadata?: {
25337
+ override_guest_acs_entrance_ids?: string[] | undefined;
25338
+ key_id?: string | undefined;
25339
+ key_issuing_request_id?: string | undefined;
25340
+ door_names?: string[] | undefined;
25341
+ endpoint_id?: string | undefined;
25342
+ } | undefined;
23568
25343
  is_managed: true;
23569
25344
  } | {
23570
25345
  /** ID of the credential. */
@@ -23665,6 +25440,14 @@ export interface Routes {
23665
25440
  card_id?: string | undefined;
23666
25441
  credential_id?: string | undefined;
23667
25442
  } | undefined;
25443
+ /** Vostio-specific metadata for the credential. */
25444
+ assa_abloy_vostio_metadata?: {
25445
+ override_guest_acs_entrance_ids?: string[] | undefined;
25446
+ key_id?: string | undefined;
25447
+ key_issuing_request_id?: string | undefined;
25448
+ door_names?: string[] | undefined;
25449
+ endpoint_id?: string | undefined;
25450
+ } | undefined;
23668
25451
  is_managed: false;
23669
25452
  };
23670
25453
  } | {
@@ -24088,11 +25871,17 @@ export interface Routes {
24088
25871
  is_device_error: true;
24089
25872
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24090
25873
  error_code: 'subscription_required';
24091
- }) | {
25874
+ }) | ({
24092
25875
  message: string;
24093
25876
  is_connected_account_error: true;
24094
- error_code: string;
24095
- }>;
25877
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25878
+ error_code: 'account_disconnected';
25879
+ } | {
25880
+ message: string;
25881
+ is_connected_account_error: true;
25882
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25883
+ error_code: 'invalid_credentials';
25884
+ })>;
24096
25885
  /** 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
25886
  warnings: Array<{
24098
25887
  message: string;
@@ -24294,11 +26083,17 @@ export interface Routes {
24294
26083
  is_device_error: true;
24295
26084
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24296
26085
  error_code: 'subscription_required';
24297
- }) | {
26086
+ }) | ({
24298
26087
  message: string;
24299
26088
  is_connected_account_error: true;
24300
- error_code: string;
24301
- }>;
26089
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26090
+ error_code: 'account_disconnected';
26091
+ } | {
26092
+ message: string;
26093
+ is_connected_account_error: true;
26094
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26095
+ error_code: 'invalid_credentials';
26096
+ })>;
24302
26097
  /** 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
26098
  warnings: Array<{
24304
26099
  message: string;
@@ -24583,6 +26378,14 @@ export interface Routes {
24583
26378
  card_id?: string | undefined;
24584
26379
  credential_id?: string | undefined;
24585
26380
  } | undefined;
26381
+ /** Vostio-specific metadata for the credential. */
26382
+ assa_abloy_vostio_metadata?: {
26383
+ override_guest_acs_entrance_ids?: string[] | undefined;
26384
+ key_id?: string | undefined;
26385
+ key_issuing_request_id?: string | undefined;
26386
+ door_names?: string[] | undefined;
26387
+ endpoint_id?: string | undefined;
26388
+ } | undefined;
24586
26389
  is_managed: true;
24587
26390
  } | {
24588
26391
  /** ID of the credential. */
@@ -24683,6 +26486,14 @@ export interface Routes {
24683
26486
  card_id?: string | undefined;
24684
26487
  credential_id?: string | undefined;
24685
26488
  } | undefined;
26489
+ /** Vostio-specific metadata for the credential. */
26490
+ assa_abloy_vostio_metadata?: {
26491
+ override_guest_acs_entrance_ids?: string[] | undefined;
26492
+ key_id?: string | undefined;
26493
+ key_issuing_request_id?: string | undefined;
26494
+ door_names?: string[] | undefined;
26495
+ endpoint_id?: string | undefined;
26496
+ } | undefined;
24686
26497
  is_managed: false;
24687
26498
  }) | null;
24688
26499
  warnings: Array<{
@@ -24820,6 +26631,14 @@ export interface Routes {
24820
26631
  card_id?: string | undefined;
24821
26632
  credential_id?: string | undefined;
24822
26633
  } | undefined;
26634
+ /** Vostio-specific metadata for the credential. */
26635
+ assa_abloy_vostio_metadata?: {
26636
+ override_guest_acs_entrance_ids?: string[] | undefined;
26637
+ key_id?: string | undefined;
26638
+ key_issuing_request_id?: string | undefined;
26639
+ door_names?: string[] | undefined;
26640
+ endpoint_id?: string | undefined;
26641
+ } | undefined;
24823
26642
  is_managed: true;
24824
26643
  } | {
24825
26644
  /** ID of the credential. */
@@ -24920,6 +26739,14 @@ export interface Routes {
24920
26739
  card_id?: string | undefined;
24921
26740
  credential_id?: string | undefined;
24922
26741
  } | undefined;
26742
+ /** Vostio-specific metadata for the credential. */
26743
+ assa_abloy_vostio_metadata?: {
26744
+ override_guest_acs_entrance_ids?: string[] | undefined;
26745
+ key_id?: string | undefined;
26746
+ key_issuing_request_id?: string | undefined;
26747
+ door_names?: string[] | undefined;
26748
+ endpoint_id?: string | undefined;
26749
+ } | undefined;
24923
26750
  is_managed: false;
24924
26751
  };
24925
26752
  } | {
@@ -25423,6 +27250,14 @@ export interface Routes {
25423
27250
  card_id?: string | undefined;
25424
27251
  credential_id?: string | undefined;
25425
27252
  } | undefined;
27253
+ /** Vostio-specific metadata for the credential. */
27254
+ assa_abloy_vostio_metadata?: {
27255
+ override_guest_acs_entrance_ids?: string[] | undefined;
27256
+ key_id?: string | undefined;
27257
+ key_issuing_request_id?: string | undefined;
27258
+ door_names?: string[] | undefined;
27259
+ endpoint_id?: string | undefined;
27260
+ } | undefined;
25426
27261
  is_managed: true;
25427
27262
  } | {
25428
27263
  /** ID of the credential. */
@@ -25523,6 +27358,14 @@ export interface Routes {
25523
27358
  card_id?: string | undefined;
25524
27359
  credential_id?: string | undefined;
25525
27360
  } | undefined;
27361
+ /** Vostio-specific metadata for the credential. */
27362
+ assa_abloy_vostio_metadata?: {
27363
+ override_guest_acs_entrance_ids?: string[] | undefined;
27364
+ key_id?: string | undefined;
27365
+ key_issuing_request_id?: string | undefined;
27366
+ door_names?: string[] | undefined;
27367
+ endpoint_id?: string | undefined;
27368
+ } | undefined;
25526
27369
  is_managed: false;
25527
27370
  }) | null;
25528
27371
  warnings: Array<{
@@ -25660,6 +27503,14 @@ export interface Routes {
25660
27503
  card_id?: string | undefined;
25661
27504
  credential_id?: string | undefined;
25662
27505
  } | undefined;
27506
+ /** Vostio-specific metadata for the credential. */
27507
+ assa_abloy_vostio_metadata?: {
27508
+ override_guest_acs_entrance_ids?: string[] | undefined;
27509
+ key_id?: string | undefined;
27510
+ key_issuing_request_id?: string | undefined;
27511
+ door_names?: string[] | undefined;
27512
+ endpoint_id?: string | undefined;
27513
+ } | undefined;
25663
27514
  is_managed: true;
25664
27515
  } | {
25665
27516
  /** ID of the credential. */
@@ -25760,6 +27611,14 @@ export interface Routes {
25760
27611
  card_id?: string | undefined;
25761
27612
  credential_id?: string | undefined;
25762
27613
  } | undefined;
27614
+ /** Vostio-specific metadata for the credential. */
27615
+ assa_abloy_vostio_metadata?: {
27616
+ override_guest_acs_entrance_ids?: string[] | undefined;
27617
+ key_id?: string | undefined;
27618
+ key_issuing_request_id?: string | undefined;
27619
+ door_names?: string[] | undefined;
27620
+ endpoint_id?: string | undefined;
27621
+ } | undefined;
25763
27622
  is_managed: false;
25764
27623
  };
25765
27624
  } | {
@@ -26669,11 +28528,17 @@ export interface Routes {
26669
28528
  is_device_error: true;
26670
28529
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26671
28530
  error_code: 'subscription_required';
26672
- }) | {
28531
+ }) | ({
26673
28532
  message: string;
26674
28533
  is_connected_account_error: true;
26675
- error_code: string;
26676
- }>;
28534
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28535
+ error_code: 'account_disconnected';
28536
+ } | {
28537
+ message: string;
28538
+ is_connected_account_error: true;
28539
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28540
+ error_code: 'invalid_credentials';
28541
+ })>;
26677
28542
  /** 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
28543
  warnings: Array<{
26679
28544
  message: string;
@@ -26962,6 +28827,14 @@ export interface Routes {
26962
28827
  card_id?: string | undefined;
26963
28828
  credential_id?: string | undefined;
26964
28829
  } | undefined;
28830
+ /** Vostio-specific metadata for the credential. */
28831
+ assa_abloy_vostio_metadata?: {
28832
+ override_guest_acs_entrance_ids?: string[] | undefined;
28833
+ key_id?: string | undefined;
28834
+ key_issuing_request_id?: string | undefined;
28835
+ door_names?: string[] | undefined;
28836
+ endpoint_id?: string | undefined;
28837
+ } | undefined;
26965
28838
  is_managed: true;
26966
28839
  } | {
26967
28840
  /** ID of the credential. */
@@ -27062,6 +28935,14 @@ export interface Routes {
27062
28935
  card_id?: string | undefined;
27063
28936
  credential_id?: string | undefined;
27064
28937
  } | undefined;
28938
+ /** Vostio-specific metadata for the credential. */
28939
+ assa_abloy_vostio_metadata?: {
28940
+ override_guest_acs_entrance_ids?: string[] | undefined;
28941
+ key_id?: string | undefined;
28942
+ key_issuing_request_id?: string | undefined;
28943
+ door_names?: string[] | undefined;
28944
+ endpoint_id?: string | undefined;
28945
+ } | undefined;
27065
28946
  is_managed: false;
27066
28947
  }) | null;
27067
28948
  warnings: Array<{
@@ -27199,6 +29080,14 @@ export interface Routes {
27199
29080
  card_id?: string | undefined;
27200
29081
  credential_id?: string | undefined;
27201
29082
  } | undefined;
29083
+ /** Vostio-specific metadata for the credential. */
29084
+ assa_abloy_vostio_metadata?: {
29085
+ override_guest_acs_entrance_ids?: string[] | undefined;
29086
+ key_id?: string | undefined;
29087
+ key_issuing_request_id?: string | undefined;
29088
+ door_names?: string[] | undefined;
29089
+ endpoint_id?: string | undefined;
29090
+ } | undefined;
27202
29091
  is_managed: true;
27203
29092
  } | {
27204
29093
  /** ID of the credential. */
@@ -27299,6 +29188,14 @@ export interface Routes {
27299
29188
  card_id?: string | undefined;
27300
29189
  credential_id?: string | undefined;
27301
29190
  } | undefined;
29191
+ /** Vostio-specific metadata for the credential. */
29192
+ assa_abloy_vostio_metadata?: {
29193
+ override_guest_acs_entrance_ids?: string[] | undefined;
29194
+ key_id?: string | undefined;
29195
+ key_issuing_request_id?: string | undefined;
29196
+ door_names?: string[] | undefined;
29197
+ endpoint_id?: string | undefined;
29198
+ } | undefined;
27302
29199
  is_managed: false;
27303
29200
  };
27304
29201
  } | {
@@ -27806,6 +29703,14 @@ export interface Routes {
27806
29703
  card_id?: string | undefined;
27807
29704
  credential_id?: string | undefined;
27808
29705
  } | undefined;
29706
+ /** Vostio-specific metadata for the credential. */
29707
+ assa_abloy_vostio_metadata?: {
29708
+ override_guest_acs_entrance_ids?: string[] | undefined;
29709
+ key_id?: string | undefined;
29710
+ key_issuing_request_id?: string | undefined;
29711
+ door_names?: string[] | undefined;
29712
+ endpoint_id?: string | undefined;
29713
+ } | undefined;
27809
29714
  is_managed: true;
27810
29715
  } | {
27811
29716
  /** ID of the credential. */
@@ -27906,6 +29811,14 @@ export interface Routes {
27906
29811
  card_id?: string | undefined;
27907
29812
  credential_id?: string | undefined;
27908
29813
  } | undefined;
29814
+ /** Vostio-specific metadata for the credential. */
29815
+ assa_abloy_vostio_metadata?: {
29816
+ override_guest_acs_entrance_ids?: string[] | undefined;
29817
+ key_id?: string | undefined;
29818
+ key_issuing_request_id?: string | undefined;
29819
+ door_names?: string[] | undefined;
29820
+ endpoint_id?: string | undefined;
29821
+ } | undefined;
27909
29822
  is_managed: false;
27910
29823
  }) | null;
27911
29824
  warnings: Array<{
@@ -28043,6 +29956,14 @@ export interface Routes {
28043
29956
  card_id?: string | undefined;
28044
29957
  credential_id?: string | undefined;
28045
29958
  } | undefined;
29959
+ /** Vostio-specific metadata for the credential. */
29960
+ assa_abloy_vostio_metadata?: {
29961
+ override_guest_acs_entrance_ids?: string[] | undefined;
29962
+ key_id?: string | undefined;
29963
+ key_issuing_request_id?: string | undefined;
29964
+ door_names?: string[] | undefined;
29965
+ endpoint_id?: string | undefined;
29966
+ } | undefined;
28046
29967
  is_managed: true;
28047
29968
  } | {
28048
29969
  /** ID of the credential. */
@@ -28143,6 +30064,14 @@ export interface Routes {
28143
30064
  card_id?: string | undefined;
28144
30065
  credential_id?: string | undefined;
28145
30066
  } | undefined;
30067
+ /** Vostio-specific metadata for the credential. */
30068
+ assa_abloy_vostio_metadata?: {
30069
+ override_guest_acs_entrance_ids?: string[] | undefined;
30070
+ key_id?: string | undefined;
30071
+ key_issuing_request_id?: string | undefined;
30072
+ door_names?: string[] | undefined;
30073
+ endpoint_id?: string | undefined;
30074
+ } | undefined;
28146
30075
  is_managed: false;
28147
30076
  };
28148
30077
  } | {
@@ -29028,11 +30957,17 @@ export interface Routes {
29028
30957
  is_device_error: true;
29029
30958
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29030
30959
  error_code: 'subscription_required';
29031
- }) | {
30960
+ }) | ({
29032
30961
  message: string;
29033
30962
  is_connected_account_error: true;
29034
- error_code: string;
29035
- }>;
30963
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30964
+ error_code: 'account_disconnected';
30965
+ } | {
30966
+ message: string;
30967
+ is_connected_account_error: true;
30968
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30969
+ error_code: 'invalid_credentials';
30970
+ })>;
29036
30971
  /** 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
30972
  warnings: Array<{
29038
30973
  message: string;
@@ -29666,11 +31601,17 @@ export interface Routes {
29666
31601
  is_device_error: true;
29667
31602
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29668
31603
  error_code: 'subscription_required';
29669
- }) | {
31604
+ }) | ({
29670
31605
  message: string;
29671
31606
  is_connected_account_error: true;
29672
- error_code: string;
29673
- }>;
31607
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31608
+ error_code: 'account_disconnected';
31609
+ } | {
31610
+ message: string;
31611
+ is_connected_account_error: true;
31612
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31613
+ error_code: 'invalid_credentials';
31614
+ })>;
29674
31615
  /** 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
31616
  warnings: Array<{
29676
31617
  message: string;
@@ -29955,6 +31896,14 @@ export interface Routes {
29955
31896
  card_id?: string | undefined;
29956
31897
  credential_id?: string | undefined;
29957
31898
  } | undefined;
31899
+ /** Vostio-specific metadata for the credential. */
31900
+ assa_abloy_vostio_metadata?: {
31901
+ override_guest_acs_entrance_ids?: string[] | undefined;
31902
+ key_id?: string | undefined;
31903
+ key_issuing_request_id?: string | undefined;
31904
+ door_names?: string[] | undefined;
31905
+ endpoint_id?: string | undefined;
31906
+ } | undefined;
29958
31907
  is_managed: true;
29959
31908
  } | {
29960
31909
  /** ID of the credential. */
@@ -30055,6 +32004,14 @@ export interface Routes {
30055
32004
  card_id?: string | undefined;
30056
32005
  credential_id?: string | undefined;
30057
32006
  } | undefined;
32007
+ /** Vostio-specific metadata for the credential. */
32008
+ assa_abloy_vostio_metadata?: {
32009
+ override_guest_acs_entrance_ids?: string[] | undefined;
32010
+ key_id?: string | undefined;
32011
+ key_issuing_request_id?: string | undefined;
32012
+ door_names?: string[] | undefined;
32013
+ endpoint_id?: string | undefined;
32014
+ } | undefined;
30058
32015
  is_managed: false;
30059
32016
  }) | null;
30060
32017
  warnings: Array<{
@@ -30192,6 +32149,14 @@ export interface Routes {
30192
32149
  card_id?: string | undefined;
30193
32150
  credential_id?: string | undefined;
30194
32151
  } | undefined;
32152
+ /** Vostio-specific metadata for the credential. */
32153
+ assa_abloy_vostio_metadata?: {
32154
+ override_guest_acs_entrance_ids?: string[] | undefined;
32155
+ key_id?: string | undefined;
32156
+ key_issuing_request_id?: string | undefined;
32157
+ door_names?: string[] | undefined;
32158
+ endpoint_id?: string | undefined;
32159
+ } | undefined;
30195
32160
  is_managed: true;
30196
32161
  } | {
30197
32162
  /** ID of the credential. */
@@ -30292,6 +32257,14 @@ export interface Routes {
30292
32257
  card_id?: string | undefined;
30293
32258
  credential_id?: string | undefined;
30294
32259
  } | undefined;
32260
+ /** Vostio-specific metadata for the credential. */
32261
+ assa_abloy_vostio_metadata?: {
32262
+ override_guest_acs_entrance_ids?: string[] | undefined;
32263
+ key_id?: string | undefined;
32264
+ key_issuing_request_id?: string | undefined;
32265
+ door_names?: string[] | undefined;
32266
+ endpoint_id?: string | undefined;
32267
+ } | undefined;
30295
32268
  is_managed: false;
30296
32269
  };
30297
32270
  } | {
@@ -30975,6 +32948,14 @@ export interface Routes {
30975
32948
  card_id?: string | undefined;
30976
32949
  credential_id?: string | undefined;
30977
32950
  } | undefined;
32951
+ /** Vostio-specific metadata for the credential. */
32952
+ assa_abloy_vostio_metadata?: {
32953
+ override_guest_acs_entrance_ids?: string[] | undefined;
32954
+ key_id?: string | undefined;
32955
+ key_issuing_request_id?: string | undefined;
32956
+ door_names?: string[] | undefined;
32957
+ endpoint_id?: string | undefined;
32958
+ } | undefined;
30978
32959
  is_managed: true;
30979
32960
  } | {
30980
32961
  /** ID of the credential. */
@@ -31075,6 +33056,14 @@ export interface Routes {
31075
33056
  card_id?: string | undefined;
31076
33057
  credential_id?: string | undefined;
31077
33058
  } | undefined;
33059
+ /** Vostio-specific metadata for the credential. */
33060
+ assa_abloy_vostio_metadata?: {
33061
+ override_guest_acs_entrance_ids?: string[] | undefined;
33062
+ key_id?: string | undefined;
33063
+ key_issuing_request_id?: string | undefined;
33064
+ door_names?: string[] | undefined;
33065
+ endpoint_id?: string | undefined;
33066
+ } | undefined;
31078
33067
  is_managed: false;
31079
33068
  }) | null;
31080
33069
  warnings: Array<{
@@ -31212,6 +33201,14 @@ export interface Routes {
31212
33201
  card_id?: string | undefined;
31213
33202
  credential_id?: string | undefined;
31214
33203
  } | undefined;
33204
+ /** Vostio-specific metadata for the credential. */
33205
+ assa_abloy_vostio_metadata?: {
33206
+ override_guest_acs_entrance_ids?: string[] | undefined;
33207
+ key_id?: string | undefined;
33208
+ key_issuing_request_id?: string | undefined;
33209
+ door_names?: string[] | undefined;
33210
+ endpoint_id?: string | undefined;
33211
+ } | undefined;
31215
33212
  is_managed: true;
31216
33213
  } | {
31217
33214
  /** ID of the credential. */
@@ -31312,6 +33309,14 @@ export interface Routes {
31312
33309
  card_id?: string | undefined;
31313
33310
  credential_id?: string | undefined;
31314
33311
  } | undefined;
33312
+ /** Vostio-specific metadata for the credential. */
33313
+ assa_abloy_vostio_metadata?: {
33314
+ override_guest_acs_entrance_ids?: string[] | undefined;
33315
+ key_id?: string | undefined;
33316
+ key_issuing_request_id?: string | undefined;
33317
+ door_names?: string[] | undefined;
33318
+ endpoint_id?: string | undefined;
33319
+ } | undefined;
31315
33320
  is_managed: false;
31316
33321
  };
31317
33322
  } | {
@@ -31838,6 +33843,14 @@ export interface Routes {
31838
33843
  card_id?: string | undefined;
31839
33844
  credential_id?: string | undefined;
31840
33845
  } | undefined;
33846
+ /** Vostio-specific metadata for the credential. */
33847
+ assa_abloy_vostio_metadata?: {
33848
+ override_guest_acs_entrance_ids?: string[] | undefined;
33849
+ key_id?: string | undefined;
33850
+ key_issuing_request_id?: string | undefined;
33851
+ door_names?: string[] | undefined;
33852
+ endpoint_id?: string | undefined;
33853
+ } | undefined;
31841
33854
  is_managed: true;
31842
33855
  } | {
31843
33856
  /** ID of the credential. */
@@ -31938,6 +33951,14 @@ export interface Routes {
31938
33951
  card_id?: string | undefined;
31939
33952
  credential_id?: string | undefined;
31940
33953
  } | undefined;
33954
+ /** Vostio-specific metadata for the credential. */
33955
+ assa_abloy_vostio_metadata?: {
33956
+ override_guest_acs_entrance_ids?: string[] | undefined;
33957
+ key_id?: string | undefined;
33958
+ key_issuing_request_id?: string | undefined;
33959
+ door_names?: string[] | undefined;
33960
+ endpoint_id?: string | undefined;
33961
+ } | undefined;
31941
33962
  is_managed: false;
31942
33963
  }) | null;
31943
33964
  warnings: Array<{
@@ -32075,6 +34096,14 @@ export interface Routes {
32075
34096
  card_id?: string | undefined;
32076
34097
  credential_id?: string | undefined;
32077
34098
  } | undefined;
34099
+ /** Vostio-specific metadata for the credential. */
34100
+ assa_abloy_vostio_metadata?: {
34101
+ override_guest_acs_entrance_ids?: string[] | undefined;
34102
+ key_id?: string | undefined;
34103
+ key_issuing_request_id?: string | undefined;
34104
+ door_names?: string[] | undefined;
34105
+ endpoint_id?: string | undefined;
34106
+ } | undefined;
32078
34107
  is_managed: true;
32079
34108
  } | {
32080
34109
  /** ID of the credential. */
@@ -32175,6 +34204,14 @@ export interface Routes {
32175
34204
  card_id?: string | undefined;
32176
34205
  credential_id?: string | undefined;
32177
34206
  } | undefined;
34207
+ /** Vostio-specific metadata for the credential. */
34208
+ assa_abloy_vostio_metadata?: {
34209
+ override_guest_acs_entrance_ids?: string[] | undefined;
34210
+ key_id?: string | undefined;
34211
+ key_issuing_request_id?: string | undefined;
34212
+ door_names?: string[] | undefined;
34213
+ endpoint_id?: string | undefined;
34214
+ } | undefined;
32178
34215
  is_managed: false;
32179
34216
  };
32180
34217
  } | {
@@ -33315,11 +35352,17 @@ export interface Routes {
33315
35352
  is_device_error: true;
33316
35353
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
33317
35354
  error_code: 'subscription_required';
33318
- }) | {
35355
+ }) | ({
33319
35356
  message: string;
33320
35357
  is_connected_account_error: true;
33321
- error_code: string;
33322
- }>;
35358
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35359
+ error_code: 'account_disconnected';
35360
+ } | {
35361
+ message: string;
35362
+ is_connected_account_error: true;
35363
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
35364
+ error_code: 'invalid_credentials';
35365
+ })>;
33323
35366
  /** 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
35367
  warnings: Array<{
33325
35368
  message: string;
@@ -33955,11 +35998,17 @@ export interface Routes {
33955
35998
  is_device_error: true;
33956
35999
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
33957
36000
  error_code: 'subscription_required';
33958
- }) | {
36001
+ }) | ({
33959
36002
  message: string;
33960
36003
  is_connected_account_error: true;
33961
- error_code: string;
33962
- }>;
36004
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36005
+ error_code: 'account_disconnected';
36006
+ } | {
36007
+ message: string;
36008
+ is_connected_account_error: true;
36009
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36010
+ error_code: 'invalid_credentials';
36011
+ })>;
33963
36012
  /** 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
36013
  warnings: Array<{
33965
36014
  message: string;
@@ -34667,6 +36716,14 @@ export interface Routes {
34667
36716
  card_id?: string | undefined;
34668
36717
  credential_id?: string | undefined;
34669
36718
  } | undefined;
36719
+ /** Vostio-specific metadata for the credential. */
36720
+ assa_abloy_vostio_metadata?: {
36721
+ override_guest_acs_entrance_ids?: string[] | undefined;
36722
+ key_id?: string | undefined;
36723
+ key_issuing_request_id?: string | undefined;
36724
+ door_names?: string[] | undefined;
36725
+ endpoint_id?: string | undefined;
36726
+ } | undefined;
34670
36727
  is_managed: true;
34671
36728
  } | {
34672
36729
  /** ID of the credential. */
@@ -34767,6 +36824,14 @@ export interface Routes {
34767
36824
  card_id?: string | undefined;
34768
36825
  credential_id?: string | undefined;
34769
36826
  } | undefined;
36827
+ /** Vostio-specific metadata for the credential. */
36828
+ assa_abloy_vostio_metadata?: {
36829
+ override_guest_acs_entrance_ids?: string[] | undefined;
36830
+ key_id?: string | undefined;
36831
+ key_issuing_request_id?: string | undefined;
36832
+ door_names?: string[] | undefined;
36833
+ endpoint_id?: string | undefined;
36834
+ } | undefined;
34770
36835
  is_managed: false;
34771
36836
  }) | null;
34772
36837
  warnings: Array<{
@@ -34904,6 +36969,14 @@ export interface Routes {
34904
36969
  card_id?: string | undefined;
34905
36970
  credential_id?: string | undefined;
34906
36971
  } | undefined;
36972
+ /** Vostio-specific metadata for the credential. */
36973
+ assa_abloy_vostio_metadata?: {
36974
+ override_guest_acs_entrance_ids?: string[] | undefined;
36975
+ key_id?: string | undefined;
36976
+ key_issuing_request_id?: string | undefined;
36977
+ door_names?: string[] | undefined;
36978
+ endpoint_id?: string | undefined;
36979
+ } | undefined;
34907
36980
  is_managed: true;
34908
36981
  } | {
34909
36982
  /** ID of the credential. */
@@ -35004,6 +37077,14 @@ export interface Routes {
35004
37077
  card_id?: string | undefined;
35005
37078
  credential_id?: string | undefined;
35006
37079
  } | undefined;
37080
+ /** Vostio-specific metadata for the credential. */
37081
+ assa_abloy_vostio_metadata?: {
37082
+ override_guest_acs_entrance_ids?: string[] | undefined;
37083
+ key_id?: string | undefined;
37084
+ key_issuing_request_id?: string | undefined;
37085
+ door_names?: string[] | undefined;
37086
+ endpoint_id?: string | undefined;
37087
+ } | undefined;
35007
37088
  is_managed: false;
35008
37089
  };
35009
37090
  } | {