@seamapi/types 1.363.1 → 1.365.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 (51) hide show
  1. package/dist/connect.cjs +855 -45
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2125 -542
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +464 -109
  8. package/lib/seam/connect/models/access-codes/managed-access-code.js +74 -17
  9. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  10. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +156 -26
  11. package/lib/seam/connect/models/acs/acs-access-group.js +1 -2
  12. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-credential.js +1 -2
  14. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  15. package/lib/seam/connect/models/acs/acs-system.d.ts +1 -1
  16. package/lib/seam/connect/models/acs/acs-system.js +2 -2
  17. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  18. package/lib/seam/connect/models/acs/acs-user.d.ts +8 -8
  19. package/lib/seam/connect/models/acs/acs-user.js +1 -2
  20. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  21. package/lib/seam/connect/models/connected-accounts/connected-account.js +1 -2
  22. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  23. package/lib/seam/connect/models/devices/device.js +1 -2
  24. package/lib/seam/connect/models/devices/device.js.map +1 -1
  25. package/lib/seam/connect/models/index.d.ts +1 -0
  26. package/lib/seam/connect/models/index.js +1 -0
  27. package/lib/seam/connect/models/index.js.map +1 -1
  28. package/lib/seam/connect/models/locations/index.d.ts +1 -0
  29. package/lib/seam/connect/models/locations/index.js +2 -0
  30. package/lib/seam/connect/models/locations/index.js.map +1 -0
  31. package/lib/seam/connect/models/locations/location.d.ts +49 -0
  32. package/lib/seam/connect/models/locations/location.js +25 -0
  33. package/lib/seam/connect/models/locations/location.js.map +1 -0
  34. package/lib/seam/connect/openapi.d.ts +803 -0
  35. package/lib/seam/connect/openapi.js +813 -28
  36. package/lib/seam/connect/openapi.js.map +1 -1
  37. package/lib/seam/connect/route-types.d.ts +494 -54
  38. package/package.json +1 -1
  39. package/src/lib/seam/connect/internal/schemas.ts +2 -0
  40. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +80 -19
  41. package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -2
  42. package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -2
  43. package/src/lib/seam/connect/models/acs/acs-system.ts +2 -2
  44. package/src/lib/seam/connect/models/acs/acs-user.ts +1 -2
  45. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +1 -2
  46. package/src/lib/seam/connect/models/devices/device.ts +1 -2
  47. package/src/lib/seam/connect/models/index.ts +1 -0
  48. package/src/lib/seam/connect/models/locations/index.ts +1 -0
  49. package/src/lib/seam/connect/models/locations/location.ts +30 -0
  50. package/src/lib/seam/connect/openapi.ts +838 -32
  51. package/src/lib/seam/connect/route-types.ts +560 -63
@@ -36,6 +36,22 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
36
36
  message: z.ZodString;
37
37
  is_access_code_error: z.ZodLiteral<true>;
38
38
  created_at: z.ZodOptional<z.ZodString>;
39
+ }, {
40
+ error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
41
+ }>, "strip", z.ZodTypeAny, {
42
+ message: string;
43
+ error_code: "smartthings_no_free_slots_available";
44
+ is_access_code_error: true;
45
+ created_at?: string | undefined;
46
+ }, {
47
+ message: string;
48
+ error_code: "smartthings_no_free_slots_available";
49
+ is_access_code_error: true;
50
+ created_at?: string | undefined;
51
+ }>, z.ZodObject<z.objectUtil.extendShape<{
52
+ message: z.ZodString;
53
+ is_access_code_error: z.ZodLiteral<true>;
54
+ created_at: z.ZodOptional<z.ZodString>;
39
55
  }, {
40
56
  error_code: z.ZodLiteral<"failed_to_set_on_device">;
41
57
  }>, "strip", z.ZodTypeAny, {
@@ -261,15 +277,31 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
261
277
  is_access_code_error: z.ZodLiteral<true>;
262
278
  created_at: z.ZodOptional<z.ZodString>;
263
279
  }, {
264
- error_code: z.ZodLiteral<"salto_site_user_not_subscribed">;
280
+ error_code: z.ZodLiteral<"august_lock_temporarily_offline">;
281
+ }>, "strip", z.ZodTypeAny, {
282
+ message: string;
283
+ error_code: "august_lock_temporarily_offline";
284
+ is_access_code_error: true;
285
+ created_at?: string | undefined;
286
+ }, {
287
+ message: string;
288
+ error_code: "august_lock_temporarily_offline";
289
+ is_access_code_error: true;
290
+ created_at?: string | undefined;
291
+ }>, z.ZodObject<z.objectUtil.extendShape<{
292
+ message: z.ZodString;
293
+ is_access_code_error: z.ZodLiteral<true>;
294
+ created_at: z.ZodOptional<z.ZodString>;
295
+ }, {
296
+ error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
265
297
  }>, "strip", z.ZodTypeAny, {
266
298
  message: string;
267
- error_code: "salto_site_user_not_subscribed";
299
+ error_code: "salto_ks_user_not_subscribed";
268
300
  is_access_code_error: true;
269
301
  created_at?: string | undefined;
270
302
  }, {
271
303
  message: string;
272
- error_code: "salto_site_user_not_subscribed";
304
+ error_code: "salto_ks_user_not_subscribed";
273
305
  is_access_code_error: true;
274
306
  created_at?: string | undefined;
275
307
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -304,6 +336,54 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
304
336
  error_code: "hubitat_no_free_positions_available";
305
337
  is_access_code_error: true;
306
338
  created_at?: string | undefined;
339
+ }>, z.ZodObject<z.objectUtil.extendShape<{
340
+ message: z.ZodString;
341
+ is_access_code_error: z.ZodLiteral<true>;
342
+ created_at: z.ZodOptional<z.ZodString>;
343
+ }, {
344
+ error_code: z.ZodLiteral<"wyze_duplicate_code_name">;
345
+ }>, "strip", z.ZodTypeAny, {
346
+ message: string;
347
+ error_code: "wyze_duplicate_code_name";
348
+ is_access_code_error: true;
349
+ created_at?: string | undefined;
350
+ }, {
351
+ message: string;
352
+ error_code: "wyze_duplicate_code_name";
353
+ is_access_code_error: true;
354
+ created_at?: string | undefined;
355
+ }>, z.ZodObject<z.objectUtil.extendShape<{
356
+ message: z.ZodString;
357
+ is_access_code_error: z.ZodLiteral<true>;
358
+ created_at: z.ZodOptional<z.ZodString>;
359
+ }, {
360
+ error_code: z.ZodLiteral<"wyze_potential_duplicate_code">;
361
+ }>, "strip", z.ZodTypeAny, {
362
+ message: string;
363
+ error_code: "wyze_potential_duplicate_code";
364
+ is_access_code_error: true;
365
+ created_at?: string | undefined;
366
+ }, {
367
+ message: string;
368
+ error_code: "wyze_potential_duplicate_code";
369
+ is_access_code_error: true;
370
+ created_at?: string | undefined;
371
+ }>, z.ZodObject<z.objectUtil.extendShape<{
372
+ message: z.ZodString;
373
+ is_access_code_error: z.ZodLiteral<true>;
374
+ created_at: z.ZodOptional<z.ZodString>;
375
+ }, {
376
+ error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
377
+ }>, "strip", z.ZodTypeAny, {
378
+ message: string;
379
+ error_code: "dormakaba_oracode_no_valid_user_level";
380
+ is_access_code_error: true;
381
+ created_at?: string | undefined;
382
+ }, {
383
+ message: string;
384
+ error_code: "dormakaba_oracode_no_valid_user_level";
385
+ is_access_code_error: true;
386
+ created_at?: string | undefined;
307
387
  }>]>;
308
388
  type AccessCodeError = z.infer<typeof access_code_error>;
309
389
  declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
@@ -348,19 +428,6 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
348
428
  }>, z.ZodObject<z.objectUtil.extendShape<{
349
429
  message: z.ZodString;
350
430
  created_at: z.ZodOptional<z.ZodString>;
351
- }, {
352
- warning_code: z.ZodLiteral<"salto_office_mode">;
353
- }>, "strip", z.ZodTypeAny, {
354
- message: string;
355
- warning_code: "salto_office_mode";
356
- created_at?: string | undefined;
357
- }, {
358
- message: string;
359
- warning_code: "salto_office_mode";
360
- created_at?: string | undefined;
361
- }>, z.ZodObject<z.objectUtil.extendShape<{
362
- message: z.ZodString;
363
- created_at: z.ZodOptional<z.ZodString>;
364
431
  }, {
365
432
  warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
366
433
  }>, "strip", z.ZodTypeAny, {
@@ -426,6 +493,19 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
426
493
  }>, z.ZodObject<z.objectUtil.extendShape<{
427
494
  message: z.ZodString;
428
495
  created_at: z.ZodOptional<z.ZodString>;
496
+ }, {
497
+ warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
498
+ }>, "strip", z.ZodTypeAny, {
499
+ message: string;
500
+ warning_code: "august_lock_temporarily_offline";
501
+ created_at?: string | undefined;
502
+ }, {
503
+ message: string;
504
+ warning_code: "august_lock_temporarily_offline";
505
+ created_at?: string | undefined;
506
+ }>, z.ZodObject<z.objectUtil.extendShape<{
507
+ message: z.ZodString;
508
+ created_at: z.ZodOptional<z.ZodString>;
429
509
  }, {
430
510
  warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
431
511
  }>, "strip", z.ZodTypeAny, {
@@ -510,6 +590,22 @@ declare const access_code: z.ZodObject<{
510
590
  message: z.ZodString;
511
591
  is_access_code_error: z.ZodLiteral<true>;
512
592
  created_at: z.ZodOptional<z.ZodString>;
593
+ }, {
594
+ error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
595
+ }>, "strip", z.ZodTypeAny, {
596
+ message: string;
597
+ error_code: "smartthings_no_free_slots_available";
598
+ is_access_code_error: true;
599
+ created_at?: string | undefined;
600
+ }, {
601
+ message: string;
602
+ error_code: "smartthings_no_free_slots_available";
603
+ is_access_code_error: true;
604
+ created_at?: string | undefined;
605
+ }>, z.ZodObject<z.objectUtil.extendShape<{
606
+ message: z.ZodString;
607
+ is_access_code_error: z.ZodLiteral<true>;
608
+ created_at: z.ZodOptional<z.ZodString>;
513
609
  }, {
514
610
  error_code: z.ZodLiteral<"failed_to_set_on_device">;
515
611
  }>, "strip", z.ZodTypeAny, {
@@ -735,15 +831,31 @@ declare const access_code: z.ZodObject<{
735
831
  is_access_code_error: z.ZodLiteral<true>;
736
832
  created_at: z.ZodOptional<z.ZodString>;
737
833
  }, {
738
- error_code: z.ZodLiteral<"salto_site_user_not_subscribed">;
834
+ error_code: z.ZodLiteral<"august_lock_temporarily_offline">;
835
+ }>, "strip", z.ZodTypeAny, {
836
+ message: string;
837
+ error_code: "august_lock_temporarily_offline";
838
+ is_access_code_error: true;
839
+ created_at?: string | undefined;
840
+ }, {
841
+ message: string;
842
+ error_code: "august_lock_temporarily_offline";
843
+ is_access_code_error: true;
844
+ created_at?: string | undefined;
845
+ }>, z.ZodObject<z.objectUtil.extendShape<{
846
+ message: z.ZodString;
847
+ is_access_code_error: z.ZodLiteral<true>;
848
+ created_at: z.ZodOptional<z.ZodString>;
849
+ }, {
850
+ error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
739
851
  }>, "strip", z.ZodTypeAny, {
740
852
  message: string;
741
- error_code: "salto_site_user_not_subscribed";
853
+ error_code: "salto_ks_user_not_subscribed";
742
854
  is_access_code_error: true;
743
855
  created_at?: string | undefined;
744
856
  }, {
745
857
  message: string;
746
- error_code: "salto_site_user_not_subscribed";
858
+ error_code: "salto_ks_user_not_subscribed";
747
859
  is_access_code_error: true;
748
860
  created_at?: string | undefined;
749
861
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -778,6 +890,54 @@ declare const access_code: z.ZodObject<{
778
890
  error_code: "hubitat_no_free_positions_available";
779
891
  is_access_code_error: true;
780
892
  created_at?: string | undefined;
893
+ }>, z.ZodObject<z.objectUtil.extendShape<{
894
+ message: z.ZodString;
895
+ is_access_code_error: z.ZodLiteral<true>;
896
+ created_at: z.ZodOptional<z.ZodString>;
897
+ }, {
898
+ error_code: z.ZodLiteral<"wyze_duplicate_code_name">;
899
+ }>, "strip", z.ZodTypeAny, {
900
+ message: string;
901
+ error_code: "wyze_duplicate_code_name";
902
+ is_access_code_error: true;
903
+ created_at?: string | undefined;
904
+ }, {
905
+ message: string;
906
+ error_code: "wyze_duplicate_code_name";
907
+ is_access_code_error: true;
908
+ created_at?: string | undefined;
909
+ }>, z.ZodObject<z.objectUtil.extendShape<{
910
+ message: z.ZodString;
911
+ is_access_code_error: z.ZodLiteral<true>;
912
+ created_at: z.ZodOptional<z.ZodString>;
913
+ }, {
914
+ error_code: z.ZodLiteral<"wyze_potential_duplicate_code">;
915
+ }>, "strip", z.ZodTypeAny, {
916
+ message: string;
917
+ error_code: "wyze_potential_duplicate_code";
918
+ is_access_code_error: true;
919
+ created_at?: string | undefined;
920
+ }, {
921
+ message: string;
922
+ error_code: "wyze_potential_duplicate_code";
923
+ is_access_code_error: true;
924
+ created_at?: string | undefined;
925
+ }>, z.ZodObject<z.objectUtil.extendShape<{
926
+ message: z.ZodString;
927
+ is_access_code_error: z.ZodLiteral<true>;
928
+ created_at: z.ZodOptional<z.ZodString>;
929
+ }, {
930
+ error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
931
+ }>, "strip", z.ZodTypeAny, {
932
+ message: string;
933
+ error_code: "dormakaba_oracode_no_valid_user_level";
934
+ is_access_code_error: true;
935
+ created_at?: string | undefined;
936
+ }, {
937
+ message: string;
938
+ error_code: "dormakaba_oracode_no_valid_user_level";
939
+ is_access_code_error: true;
940
+ created_at?: string | undefined;
781
941
  }>, ...(z.ZodObject<z.objectUtil.extendShape<{
782
942
  created_at: z.ZodString;
783
943
  message: z.ZodString;
@@ -1113,19 +1273,6 @@ declare const access_code: z.ZodObject<{
1113
1273
  }>, z.ZodObject<z.objectUtil.extendShape<{
1114
1274
  message: z.ZodString;
1115
1275
  created_at: z.ZodOptional<z.ZodString>;
1116
- }, {
1117
- warning_code: z.ZodLiteral<"salto_office_mode">;
1118
- }>, "strip", z.ZodTypeAny, {
1119
- message: string;
1120
- warning_code: "salto_office_mode";
1121
- created_at?: string | undefined;
1122
- }, {
1123
- message: string;
1124
- warning_code: "salto_office_mode";
1125
- created_at?: string | undefined;
1126
- }>, z.ZodObject<z.objectUtil.extendShape<{
1127
- message: z.ZodString;
1128
- created_at: z.ZodOptional<z.ZodString>;
1129
1276
  }, {
1130
1277
  warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
1131
1278
  }>, "strip", z.ZodTypeAny, {
@@ -1191,6 +1338,19 @@ declare const access_code: z.ZodObject<{
1191
1338
  }>, z.ZodObject<z.objectUtil.extendShape<{
1192
1339
  message: z.ZodString;
1193
1340
  created_at: z.ZodOptional<z.ZodString>;
1341
+ }, {
1342
+ warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
1343
+ }>, "strip", z.ZodTypeAny, {
1344
+ message: string;
1345
+ warning_code: "august_lock_temporarily_offline";
1346
+ created_at?: string | undefined;
1347
+ }, {
1348
+ message: string;
1349
+ warning_code: "august_lock_temporarily_offline";
1350
+ created_at?: string | undefined;
1351
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1352
+ message: z.ZodString;
1353
+ created_at: z.ZodOptional<z.ZodString>;
1194
1354
  }, {
1195
1355
  warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
1196
1356
  }>, "strip", z.ZodTypeAny, {
@@ -1404,6 +1564,11 @@ declare const access_code: z.ZodObject<{
1404
1564
  error_code: "august_device_slots_full";
1405
1565
  is_access_code_error: true;
1406
1566
  created_at?: string | undefined;
1567
+ } | {
1568
+ message: string;
1569
+ error_code: "august_lock_temporarily_offline";
1570
+ is_access_code_error: true;
1571
+ created_at?: string | undefined;
1407
1572
  } | {
1408
1573
  message: string;
1409
1574
  error_code: "august_lock_missing_keypad";
@@ -1411,7 +1576,7 @@ declare const access_code: z.ZodObject<{
1411
1576
  created_at?: string | undefined;
1412
1577
  } | {
1413
1578
  message: string;
1414
- error_code: "salto_site_user_not_subscribed";
1579
+ error_code: "salto_ks_user_not_subscribed";
1415
1580
  is_access_code_error: true;
1416
1581
  created_at?: string | undefined;
1417
1582
  } | {
@@ -1424,6 +1589,26 @@ declare const access_code: z.ZodObject<{
1424
1589
  error_code: "hubitat_no_free_positions_available";
1425
1590
  is_access_code_error: true;
1426
1591
  created_at?: string | undefined;
1592
+ } | {
1593
+ message: string;
1594
+ error_code: "smartthings_no_free_slots_available";
1595
+ is_access_code_error: true;
1596
+ created_at?: string | undefined;
1597
+ } | {
1598
+ message: string;
1599
+ error_code: "wyze_duplicate_code_name";
1600
+ is_access_code_error: true;
1601
+ created_at?: string | undefined;
1602
+ } | {
1603
+ message: string;
1604
+ error_code: "wyze_potential_duplicate_code";
1605
+ is_access_code_error: true;
1606
+ created_at?: string | undefined;
1607
+ } | {
1608
+ message: string;
1609
+ error_code: "dormakaba_oracode_no_valid_user_level";
1610
+ is_access_code_error: true;
1611
+ created_at?: string | undefined;
1427
1612
  })[];
1428
1613
  warnings: ({
1429
1614
  message: string;
@@ -1435,19 +1620,19 @@ declare const access_code: z.ZodObject<{
1435
1620
  created_at?: string | undefined;
1436
1621
  } | {
1437
1622
  message: string;
1438
- warning_code: "code_modified_external_to_seam";
1623
+ warning_code: "august_lock_temporarily_offline";
1439
1624
  created_at?: string | undefined;
1440
1625
  } | {
1441
1626
  message: string;
1442
- warning_code: "schlage_detected_duplicate";
1627
+ warning_code: "code_modified_external_to_seam";
1443
1628
  created_at?: string | undefined;
1444
1629
  } | {
1445
1630
  message: string;
1446
- warning_code: "schlage_creation_outage";
1631
+ warning_code: "schlage_detected_duplicate";
1447
1632
  created_at?: string | undefined;
1448
1633
  } | {
1449
1634
  message: string;
1450
- warning_code: "salto_office_mode";
1635
+ warning_code: "schlage_creation_outage";
1451
1636
  created_at?: string | undefined;
1452
1637
  } | {
1453
1638
  message: string;
@@ -1653,6 +1838,11 @@ declare const access_code: z.ZodObject<{
1653
1838
  error_code: "august_device_slots_full";
1654
1839
  is_access_code_error: true;
1655
1840
  created_at?: string | undefined;
1841
+ } | {
1842
+ message: string;
1843
+ error_code: "august_lock_temporarily_offline";
1844
+ is_access_code_error: true;
1845
+ created_at?: string | undefined;
1656
1846
  } | {
1657
1847
  message: string;
1658
1848
  error_code: "august_lock_missing_keypad";
@@ -1660,7 +1850,7 @@ declare const access_code: z.ZodObject<{
1660
1850
  created_at?: string | undefined;
1661
1851
  } | {
1662
1852
  message: string;
1663
- error_code: "salto_site_user_not_subscribed";
1853
+ error_code: "salto_ks_user_not_subscribed";
1664
1854
  is_access_code_error: true;
1665
1855
  created_at?: string | undefined;
1666
1856
  } | {
@@ -1673,6 +1863,26 @@ declare const access_code: z.ZodObject<{
1673
1863
  error_code: "hubitat_no_free_positions_available";
1674
1864
  is_access_code_error: true;
1675
1865
  created_at?: string | undefined;
1866
+ } | {
1867
+ message: string;
1868
+ error_code: "smartthings_no_free_slots_available";
1869
+ is_access_code_error: true;
1870
+ created_at?: string | undefined;
1871
+ } | {
1872
+ message: string;
1873
+ error_code: "wyze_duplicate_code_name";
1874
+ is_access_code_error: true;
1875
+ created_at?: string | undefined;
1876
+ } | {
1877
+ message: string;
1878
+ error_code: "wyze_potential_duplicate_code";
1879
+ is_access_code_error: true;
1880
+ created_at?: string | undefined;
1881
+ } | {
1882
+ message: string;
1883
+ error_code: "dormakaba_oracode_no_valid_user_level";
1884
+ is_access_code_error: true;
1885
+ created_at?: string | undefined;
1676
1886
  })[];
1677
1887
  warnings: ({
1678
1888
  message: string;
@@ -1684,19 +1894,19 @@ declare const access_code: z.ZodObject<{
1684
1894
  created_at?: string | undefined;
1685
1895
  } | {
1686
1896
  message: string;
1687
- warning_code: "code_modified_external_to_seam";
1897
+ warning_code: "august_lock_temporarily_offline";
1688
1898
  created_at?: string | undefined;
1689
1899
  } | {
1690
1900
  message: string;
1691
- warning_code: "schlage_detected_duplicate";
1901
+ warning_code: "code_modified_external_to_seam";
1692
1902
  created_at?: string | undefined;
1693
1903
  } | {
1694
1904
  message: string;
1695
- warning_code: "schlage_creation_outage";
1905
+ warning_code: "schlage_detected_duplicate";
1696
1906
  created_at?: string | undefined;
1697
1907
  } | {
1698
1908
  message: string;
1699
- warning_code: "salto_office_mode";
1909
+ warning_code: "schlage_creation_outage";
1700
1910
  created_at?: string | undefined;
1701
1911
  } | {
1702
1912
  message: string;
@@ -1785,6 +1995,22 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1785
1995
  message: z.ZodString;
1786
1996
  is_access_code_error: z.ZodLiteral<true>;
1787
1997
  created_at: z.ZodOptional<z.ZodString>;
1998
+ }, {
1999
+ error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
2000
+ }>, "strip", z.ZodTypeAny, {
2001
+ message: string;
2002
+ error_code: "smartthings_no_free_slots_available";
2003
+ is_access_code_error: true;
2004
+ created_at?: string | undefined;
2005
+ }, {
2006
+ message: string;
2007
+ error_code: "smartthings_no_free_slots_available";
2008
+ is_access_code_error: true;
2009
+ created_at?: string | undefined;
2010
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2011
+ message: z.ZodString;
2012
+ is_access_code_error: z.ZodLiteral<true>;
2013
+ created_at: z.ZodOptional<z.ZodString>;
1788
2014
  }, {
1789
2015
  error_code: z.ZodLiteral<"failed_to_set_on_device">;
1790
2016
  }>, "strip", z.ZodTypeAny, {
@@ -2010,15 +2236,31 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2010
2236
  is_access_code_error: z.ZodLiteral<true>;
2011
2237
  created_at: z.ZodOptional<z.ZodString>;
2012
2238
  }, {
2013
- error_code: z.ZodLiteral<"salto_site_user_not_subscribed">;
2239
+ error_code: z.ZodLiteral<"august_lock_temporarily_offline">;
2240
+ }>, "strip", z.ZodTypeAny, {
2241
+ message: string;
2242
+ error_code: "august_lock_temporarily_offline";
2243
+ is_access_code_error: true;
2244
+ created_at?: string | undefined;
2245
+ }, {
2246
+ message: string;
2247
+ error_code: "august_lock_temporarily_offline";
2248
+ is_access_code_error: true;
2249
+ created_at?: string | undefined;
2250
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2251
+ message: z.ZodString;
2252
+ is_access_code_error: z.ZodLiteral<true>;
2253
+ created_at: z.ZodOptional<z.ZodString>;
2254
+ }, {
2255
+ error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
2014
2256
  }>, "strip", z.ZodTypeAny, {
2015
2257
  message: string;
2016
- error_code: "salto_site_user_not_subscribed";
2258
+ error_code: "salto_ks_user_not_subscribed";
2017
2259
  is_access_code_error: true;
2018
2260
  created_at?: string | undefined;
2019
2261
  }, {
2020
2262
  message: string;
2021
- error_code: "salto_site_user_not_subscribed";
2263
+ error_code: "salto_ks_user_not_subscribed";
2022
2264
  is_access_code_error: true;
2023
2265
  created_at?: string | undefined;
2024
2266
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -2053,6 +2295,54 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2053
2295
  error_code: "hubitat_no_free_positions_available";
2054
2296
  is_access_code_error: true;
2055
2297
  created_at?: string | undefined;
2298
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2299
+ message: z.ZodString;
2300
+ is_access_code_error: z.ZodLiteral<true>;
2301
+ created_at: z.ZodOptional<z.ZodString>;
2302
+ }, {
2303
+ error_code: z.ZodLiteral<"wyze_duplicate_code_name">;
2304
+ }>, "strip", z.ZodTypeAny, {
2305
+ message: string;
2306
+ error_code: "wyze_duplicate_code_name";
2307
+ is_access_code_error: true;
2308
+ created_at?: string | undefined;
2309
+ }, {
2310
+ message: string;
2311
+ error_code: "wyze_duplicate_code_name";
2312
+ is_access_code_error: true;
2313
+ created_at?: string | undefined;
2314
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2315
+ message: z.ZodString;
2316
+ is_access_code_error: z.ZodLiteral<true>;
2317
+ created_at: z.ZodOptional<z.ZodString>;
2318
+ }, {
2319
+ error_code: z.ZodLiteral<"wyze_potential_duplicate_code">;
2320
+ }>, "strip", z.ZodTypeAny, {
2321
+ message: string;
2322
+ error_code: "wyze_potential_duplicate_code";
2323
+ is_access_code_error: true;
2324
+ created_at?: string | undefined;
2325
+ }, {
2326
+ message: string;
2327
+ error_code: "wyze_potential_duplicate_code";
2328
+ is_access_code_error: true;
2329
+ created_at?: string | undefined;
2330
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2331
+ message: z.ZodString;
2332
+ is_access_code_error: z.ZodLiteral<true>;
2333
+ created_at: z.ZodOptional<z.ZodString>;
2334
+ }, {
2335
+ error_code: z.ZodLiteral<"dormakaba_oracode_no_valid_user_level">;
2336
+ }>, "strip", z.ZodTypeAny, {
2337
+ message: string;
2338
+ error_code: "dormakaba_oracode_no_valid_user_level";
2339
+ is_access_code_error: true;
2340
+ created_at?: string | undefined;
2341
+ }, {
2342
+ message: string;
2343
+ error_code: "dormakaba_oracode_no_valid_user_level";
2344
+ is_access_code_error: true;
2345
+ created_at?: string | undefined;
2056
2346
  }>, ...(z.ZodObject<z.objectUtil.extendShape<{
2057
2347
  created_at: z.ZodString;
2058
2348
  message: z.ZodString;
@@ -2388,19 +2678,6 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2388
2678
  }>, z.ZodObject<z.objectUtil.extendShape<{
2389
2679
  message: z.ZodString;
2390
2680
  created_at: z.ZodOptional<z.ZodString>;
2391
- }, {
2392
- warning_code: z.ZodLiteral<"salto_office_mode">;
2393
- }>, "strip", z.ZodTypeAny, {
2394
- message: string;
2395
- warning_code: "salto_office_mode";
2396
- created_at?: string | undefined;
2397
- }, {
2398
- message: string;
2399
- warning_code: "salto_office_mode";
2400
- created_at?: string | undefined;
2401
- }>, z.ZodObject<z.objectUtil.extendShape<{
2402
- message: z.ZodString;
2403
- created_at: z.ZodOptional<z.ZodString>;
2404
2681
  }, {
2405
2682
  warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
2406
2683
  }>, "strip", z.ZodTypeAny, {
@@ -2466,6 +2743,19 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2466
2743
  }>, z.ZodObject<z.objectUtil.extendShape<{
2467
2744
  message: z.ZodString;
2468
2745
  created_at: z.ZodOptional<z.ZodString>;
2746
+ }, {
2747
+ warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
2748
+ }>, "strip", z.ZodTypeAny, {
2749
+ message: string;
2750
+ warning_code: "august_lock_temporarily_offline";
2751
+ created_at?: string | undefined;
2752
+ }, {
2753
+ message: string;
2754
+ warning_code: "august_lock_temporarily_offline";
2755
+ created_at?: string | undefined;
2756
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2757
+ message: z.ZodString;
2758
+ created_at: z.ZodOptional<z.ZodString>;
2469
2759
  }, {
2470
2760
  warning_code: z.ZodLiteral<"igloo_algopin_must_be_used_within_24_hours">;
2471
2761
  }>, "strip", z.ZodTypeAny, {
@@ -2682,6 +2972,11 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2682
2972
  error_code: "august_device_slots_full";
2683
2973
  is_access_code_error: true;
2684
2974
  created_at?: string | undefined;
2975
+ } | {
2976
+ message: string;
2977
+ error_code: "august_lock_temporarily_offline";
2978
+ is_access_code_error: true;
2979
+ created_at?: string | undefined;
2685
2980
  } | {
2686
2981
  message: string;
2687
2982
  error_code: "august_lock_missing_keypad";
@@ -2689,7 +2984,7 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2689
2984
  created_at?: string | undefined;
2690
2985
  } | {
2691
2986
  message: string;
2692
- error_code: "salto_site_user_not_subscribed";
2987
+ error_code: "salto_ks_user_not_subscribed";
2693
2988
  is_access_code_error: true;
2694
2989
  created_at?: string | undefined;
2695
2990
  } | {
@@ -2702,6 +2997,26 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2702
2997
  error_code: "hubitat_no_free_positions_available";
2703
2998
  is_access_code_error: true;
2704
2999
  created_at?: string | undefined;
3000
+ } | {
3001
+ message: string;
3002
+ error_code: "smartthings_no_free_slots_available";
3003
+ is_access_code_error: true;
3004
+ created_at?: string | undefined;
3005
+ } | {
3006
+ message: string;
3007
+ error_code: "wyze_duplicate_code_name";
3008
+ is_access_code_error: true;
3009
+ created_at?: string | undefined;
3010
+ } | {
3011
+ message: string;
3012
+ error_code: "wyze_potential_duplicate_code";
3013
+ is_access_code_error: true;
3014
+ created_at?: string | undefined;
3015
+ } | {
3016
+ message: string;
3017
+ error_code: "dormakaba_oracode_no_valid_user_level";
3018
+ is_access_code_error: true;
3019
+ created_at?: string | undefined;
2705
3020
  })[];
2706
3021
  warnings: ({
2707
3022
  message: string;
@@ -2713,19 +3028,19 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2713
3028
  created_at?: string | undefined;
2714
3029
  } | {
2715
3030
  message: string;
2716
- warning_code: "code_modified_external_to_seam";
3031
+ warning_code: "august_lock_temporarily_offline";
2717
3032
  created_at?: string | undefined;
2718
3033
  } | {
2719
3034
  message: string;
2720
- warning_code: "schlage_detected_duplicate";
3035
+ warning_code: "code_modified_external_to_seam";
2721
3036
  created_at?: string | undefined;
2722
3037
  } | {
2723
3038
  message: string;
2724
- warning_code: "schlage_creation_outage";
3039
+ warning_code: "schlage_detected_duplicate";
2725
3040
  created_at?: string | undefined;
2726
3041
  } | {
2727
3042
  message: string;
2728
- warning_code: "salto_office_mode";
3043
+ warning_code: "schlage_creation_outage";
2729
3044
  created_at?: string | undefined;
2730
3045
  } | {
2731
3046
  message: string;
@@ -2922,6 +3237,11 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2922
3237
  error_code: "august_device_slots_full";
2923
3238
  is_access_code_error: true;
2924
3239
  created_at?: string | undefined;
3240
+ } | {
3241
+ message: string;
3242
+ error_code: "august_lock_temporarily_offline";
3243
+ is_access_code_error: true;
3244
+ created_at?: string | undefined;
2925
3245
  } | {
2926
3246
  message: string;
2927
3247
  error_code: "august_lock_missing_keypad";
@@ -2929,7 +3249,7 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2929
3249
  created_at?: string | undefined;
2930
3250
  } | {
2931
3251
  message: string;
2932
- error_code: "salto_site_user_not_subscribed";
3252
+ error_code: "salto_ks_user_not_subscribed";
2933
3253
  is_access_code_error: true;
2934
3254
  created_at?: string | undefined;
2935
3255
  } | {
@@ -2942,6 +3262,26 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2942
3262
  error_code: "hubitat_no_free_positions_available";
2943
3263
  is_access_code_error: true;
2944
3264
  created_at?: string | undefined;
3265
+ } | {
3266
+ message: string;
3267
+ error_code: "smartthings_no_free_slots_available";
3268
+ is_access_code_error: true;
3269
+ created_at?: string | undefined;
3270
+ } | {
3271
+ message: string;
3272
+ error_code: "wyze_duplicate_code_name";
3273
+ is_access_code_error: true;
3274
+ created_at?: string | undefined;
3275
+ } | {
3276
+ message: string;
3277
+ error_code: "wyze_potential_duplicate_code";
3278
+ is_access_code_error: true;
3279
+ created_at?: string | undefined;
3280
+ } | {
3281
+ message: string;
3282
+ error_code: "dormakaba_oracode_no_valid_user_level";
3283
+ is_access_code_error: true;
3284
+ created_at?: string | undefined;
2945
3285
  })[];
2946
3286
  warnings: ({
2947
3287
  message: string;
@@ -2953,19 +3293,19 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2953
3293
  created_at?: string | undefined;
2954
3294
  } | {
2955
3295
  message: string;
2956
- warning_code: "code_modified_external_to_seam";
3296
+ warning_code: "august_lock_temporarily_offline";
2957
3297
  created_at?: string | undefined;
2958
3298
  } | {
2959
3299
  message: string;
2960
- warning_code: "schlage_detected_duplicate";
3300
+ warning_code: "code_modified_external_to_seam";
2961
3301
  created_at?: string | undefined;
2962
3302
  } | {
2963
3303
  message: string;
2964
- warning_code: "schlage_creation_outage";
3304
+ warning_code: "schlage_detected_duplicate";
2965
3305
  created_at?: string | undefined;
2966
3306
  } | {
2967
3307
  message: string;
2968
- warning_code: "salto_office_mode";
3308
+ warning_code: "schlage_creation_outage";
2969
3309
  created_at?: string | undefined;
2970
3310
  } | {
2971
3311
  message: string;
@@ -35418,6 +35758,12 @@ declare const _default: {
35418
35758
  enum: string[];
35419
35759
  type: string;
35420
35760
  };
35761
+ unstable_location_id: {
35762
+ format: string;
35763
+ nullable: boolean;
35764
+ type: string;
35765
+ 'x-undocumented': string;
35766
+ };
35421
35767
  user_identifier_key: {
35422
35768
  description: string;
35423
35769
  type: string;
@@ -35933,6 +36279,12 @@ declare const _default: {
35933
36279
  enum: string[];
35934
36280
  type: string;
35935
36281
  };
36282
+ unstable_location_id: {
36283
+ format: string;
36284
+ nullable: boolean;
36285
+ type: string;
36286
+ 'x-undocumented': string;
36287
+ };
35936
36288
  user_identifier_key: {
35937
36289
  description: string;
35938
36290
  type: string;
@@ -36749,6 +37101,12 @@ declare const _default: {
36749
37101
  enum: string[];
36750
37102
  type: string;
36751
37103
  };
37104
+ unstable_location_id: {
37105
+ format: string;
37106
+ nullable: boolean;
37107
+ type: string;
37108
+ 'x-undocumented': string;
37109
+ };
36752
37110
  user_identifier_key: {
36753
37111
  description: string;
36754
37112
  type: string;
@@ -37217,6 +37575,12 @@ declare const _default: {
37217
37575
  enum: string[];
37218
37576
  type: string;
37219
37577
  };
37578
+ unstable_location_id: {
37579
+ format: string;
37580
+ nullable: boolean;
37581
+ type: string;
37582
+ 'x-undocumented': string;
37583
+ };
37220
37584
  user_identifier_key: {
37221
37585
  description: string;
37222
37586
  type: string;
@@ -39393,6 +39757,12 @@ declare const _default: {
39393
39757
  enum: string[];
39394
39758
  type: string;
39395
39759
  };
39760
+ unstable_location_id: {
39761
+ format: string;
39762
+ nullable: boolean;
39763
+ type: string;
39764
+ 'x-undocumented': string;
39765
+ };
39396
39766
  user_identifier_key: {
39397
39767
  description: string;
39398
39768
  type: string;
@@ -41082,7 +41452,7 @@ declare const _default: {
41082
41452
  'x-title': string;
41083
41453
  };
41084
41454
  };
41085
- '/user_identities/add_acs_user': {
41455
+ '/unstable_locations/add_devices': {
41086
41456
  post: {
41087
41457
  description: string;
41088
41458
  operationId: string;
@@ -41091,82 +41461,14 @@ declare const _default: {
41091
41461
  'application/json': {
41092
41462
  schema: {
41093
41463
  properties: {
41094
- acs_user_id: {
41095
- description: string;
41096
- format: string;
41097
- type: string;
41098
- };
41099
- user_identity_id: {
41100
- description: string;
41101
- format: string;
41102
- type: string;
41103
- };
41104
- };
41105
- required: string[];
41106
- type: string;
41107
- };
41108
- };
41109
- };
41110
- };
41111
- responses: {
41112
- 200: {
41113
- content: {
41114
- 'application/json': {
41115
- schema: {
41116
- properties: {
41117
- ok: {
41464
+ device_ids: {
41465
+ items: {
41466
+ format: string;
41118
41467
  type: string;
41119
41468
  };
41120
- };
41121
- required: string[];
41122
- type: string;
41123
- };
41124
- };
41125
- };
41126
- description: string;
41127
- };
41128
- 400: {
41129
- description: string;
41130
- };
41131
- 401: {
41132
- description: string;
41133
- };
41134
- };
41135
- security: ({
41136
- api_key: never[];
41137
- pat_with_workspace?: never;
41138
- console_session_with_workspace?: never;
41139
- } | {
41140
- pat_with_workspace: never[];
41141
- api_key?: never;
41142
- console_session_with_workspace?: never;
41143
- } | {
41144
- console_session_with_workspace: never[];
41145
- api_key?: never;
41146
- pat_with_workspace?: never;
41147
- })[];
41148
- summary: string;
41149
- tags: string[];
41150
- 'x-fern-sdk-group-name': string[];
41151
- 'x-fern-sdk-method-name': string;
41152
- 'x-response-key': null;
41153
- 'x-title': string;
41154
- };
41155
- put: {
41156
- description: string;
41157
- operationId: string;
41158
- requestBody: {
41159
- content: {
41160
- 'application/json': {
41161
- schema: {
41162
- properties: {
41163
- acs_user_id: {
41164
- description: string;
41165
- format: string;
41166
41469
  type: string;
41167
41470
  };
41168
- user_identity_id: {
41169
- description: string;
41471
+ location_id: {
41170
41472
  format: string;
41171
41473
  type: string;
41172
41474
  };
@@ -41202,26 +41504,28 @@ declare const _default: {
41202
41504
  };
41203
41505
  };
41204
41506
  security: ({
41205
- api_key: never[];
41206
- pat_with_workspace?: never;
41207
- console_session_with_workspace?: never;
41208
- } | {
41209
41507
  pat_with_workspace: never[];
41210
- api_key?: never;
41211
41508
  console_session_with_workspace?: never;
41509
+ api_key?: never;
41212
41510
  } | {
41213
41511
  console_session_with_workspace: never[];
41512
+ pat_with_workspace?: never;
41214
41513
  api_key?: never;
41514
+ } | {
41515
+ api_key: never[];
41215
41516
  pat_with_workspace?: never;
41517
+ console_session_with_workspace?: never;
41216
41518
  })[];
41217
41519
  summary: string;
41218
- tags: string[];
41219
- 'x-fern-ignore': boolean;
41520
+ tags: never[];
41521
+ 'x-fern-sdk-group-name': string[];
41522
+ 'x-fern-sdk-method-name': string;
41220
41523
  'x-response-key': null;
41221
41524
  'x-title': string;
41525
+ 'x-undocumented': string;
41222
41526
  };
41223
41527
  };
41224
- '/user_identities/create': {
41528
+ '/unstable_locations/create': {
41225
41529
  post: {
41226
41530
  description: string;
41227
41531
  operationId: string;
@@ -41230,30 +41534,28 @@ declare const _default: {
41230
41534
  'application/json': {
41231
41535
  schema: {
41232
41536
  properties: {
41233
- email_address: {
41234
- description: string;
41235
- format: string;
41236
- nullable: boolean;
41237
- type: string;
41238
- };
41239
- full_name: {
41240
- description: string;
41241
- minLength: number;
41242
- nullable: boolean;
41537
+ geolocation: {
41538
+ properties: {
41539
+ latitude: {
41540
+ format: string;
41541
+ type: string;
41542
+ };
41543
+ longitude: {
41544
+ format: string;
41545
+ type: string;
41546
+ };
41547
+ };
41548
+ required: string[];
41243
41549
  type: string;
41244
41550
  };
41245
- phone_number: {
41246
- description: string;
41247
- nullable: boolean;
41551
+ name: {
41248
41552
  type: string;
41249
41553
  };
41250
- user_identity_key: {
41251
- description: string;
41252
- minLength: number;
41253
- nullable: boolean;
41554
+ time_zone: {
41254
41555
  type: string;
41255
41556
  };
41256
41557
  };
41558
+ required: string[];
41257
41559
  type: string;
41258
41560
  };
41259
41561
  };
@@ -41265,11 +41567,52 @@ declare const _default: {
41265
41567
  'application/json': {
41266
41568
  schema: {
41267
41569
  properties: {
41268
- ok: {
41570
+ location: {
41571
+ properties: {
41572
+ created_at: {
41573
+ description: string;
41574
+ format: string;
41575
+ type: string;
41576
+ };
41577
+ display_name: {
41578
+ description: string;
41579
+ type: string;
41580
+ };
41581
+ geolocation: {
41582
+ description: string;
41583
+ properties: {
41584
+ latitude: {
41585
+ format: string;
41586
+ type: string;
41587
+ };
41588
+ longitude: {
41589
+ format: string;
41590
+ type: string;
41591
+ };
41592
+ };
41593
+ required: string[];
41594
+ type: string;
41595
+ };
41596
+ location_id: {
41597
+ description: string;
41598
+ format: string;
41599
+ type: string;
41600
+ };
41601
+ time_zone: {
41602
+ description: string;
41603
+ type: string;
41604
+ };
41605
+ workspace_id: {
41606
+ description: string;
41607
+ format: string;
41608
+ type: string;
41609
+ };
41610
+ };
41611
+ required: string[];
41269
41612
  type: string;
41270
41613
  };
41271
- user_identity: {
41272
- $ref: string;
41614
+ ok: {
41615
+ type: string;
41273
41616
  };
41274
41617
  };
41275
41618
  required: string[];
@@ -41287,28 +41630,29 @@ declare const _default: {
41287
41630
  };
41288
41631
  };
41289
41632
  security: ({
41290
- api_key: never[];
41291
- pat_with_workspace?: never;
41292
- console_session_with_workspace?: never;
41293
- } | {
41294
41633
  pat_with_workspace: never[];
41295
- api_key?: never;
41296
41634
  console_session_with_workspace?: never;
41635
+ api_key?: never;
41297
41636
  } | {
41298
41637
  console_session_with_workspace: never[];
41638
+ pat_with_workspace?: never;
41299
41639
  api_key?: never;
41640
+ } | {
41641
+ api_key: never[];
41300
41642
  pat_with_workspace?: never;
41643
+ console_session_with_workspace?: never;
41301
41644
  })[];
41302
41645
  summary: string;
41303
- tags: string[];
41646
+ tags: never[];
41304
41647
  'x-fern-sdk-group-name': string[];
41305
41648
  'x-fern-sdk-method-name': string;
41306
41649
  'x-fern-sdk-return-value': string;
41307
41650
  'x-response-key': string;
41308
41651
  'x-title': string;
41652
+ 'x-undocumented': string;
41309
41653
  };
41310
41654
  };
41311
- '/user_identities/delete': {
41655
+ '/unstable_locations/delete': {
41312
41656
  post: {
41313
41657
  description: string;
41314
41658
  operationId: string;
@@ -41317,8 +41661,807 @@ declare const _default: {
41317
41661
  'application/json': {
41318
41662
  schema: {
41319
41663
  properties: {
41320
- user_identity_id: {
41321
- description: string;
41664
+ location_id: {
41665
+ format: string;
41666
+ type: string;
41667
+ };
41668
+ };
41669
+ required: string[];
41670
+ type: string;
41671
+ };
41672
+ };
41673
+ };
41674
+ };
41675
+ responses: {
41676
+ 200: {
41677
+ content: {
41678
+ 'application/json': {
41679
+ schema: {
41680
+ properties: {
41681
+ ok: {
41682
+ type: string;
41683
+ };
41684
+ };
41685
+ required: string[];
41686
+ type: string;
41687
+ };
41688
+ };
41689
+ };
41690
+ description: string;
41691
+ };
41692
+ 400: {
41693
+ description: string;
41694
+ };
41695
+ 401: {
41696
+ description: string;
41697
+ };
41698
+ };
41699
+ security: ({
41700
+ pat_with_workspace: never[];
41701
+ console_session_with_workspace?: never;
41702
+ api_key?: never;
41703
+ } | {
41704
+ console_session_with_workspace: never[];
41705
+ pat_with_workspace?: never;
41706
+ api_key?: never;
41707
+ } | {
41708
+ api_key: never[];
41709
+ pat_with_workspace?: never;
41710
+ console_session_with_workspace?: never;
41711
+ })[];
41712
+ summary: string;
41713
+ tags: never[];
41714
+ 'x-fern-sdk-group-name': string[];
41715
+ 'x-fern-sdk-method-name': string;
41716
+ 'x-response-key': null;
41717
+ 'x-title': string;
41718
+ 'x-undocumented': string;
41719
+ };
41720
+ };
41721
+ '/unstable_locations/get': {
41722
+ post: {
41723
+ description: string;
41724
+ operationId: string;
41725
+ requestBody: {
41726
+ content: {
41727
+ 'application/json': {
41728
+ schema: {
41729
+ properties: {
41730
+ location_id: {
41731
+ format: string;
41732
+ type: string;
41733
+ };
41734
+ };
41735
+ required: string[];
41736
+ type: string;
41737
+ };
41738
+ };
41739
+ };
41740
+ };
41741
+ responses: {
41742
+ 200: {
41743
+ content: {
41744
+ 'application/json': {
41745
+ schema: {
41746
+ properties: {
41747
+ location: {
41748
+ properties: {
41749
+ created_at: {
41750
+ description: string;
41751
+ format: string;
41752
+ type: string;
41753
+ };
41754
+ display_name: {
41755
+ description: string;
41756
+ type: string;
41757
+ };
41758
+ geolocation: {
41759
+ description: string;
41760
+ properties: {
41761
+ latitude: {
41762
+ format: string;
41763
+ type: string;
41764
+ };
41765
+ longitude: {
41766
+ format: string;
41767
+ type: string;
41768
+ };
41769
+ };
41770
+ required: string[];
41771
+ type: string;
41772
+ };
41773
+ location_id: {
41774
+ description: string;
41775
+ format: string;
41776
+ type: string;
41777
+ };
41778
+ time_zone: {
41779
+ description: string;
41780
+ type: string;
41781
+ };
41782
+ workspace_id: {
41783
+ description: string;
41784
+ format: string;
41785
+ type: string;
41786
+ };
41787
+ };
41788
+ required: string[];
41789
+ type: string;
41790
+ };
41791
+ ok: {
41792
+ type: string;
41793
+ };
41794
+ };
41795
+ required: string[];
41796
+ type: string;
41797
+ };
41798
+ };
41799
+ };
41800
+ description: string;
41801
+ };
41802
+ 400: {
41803
+ description: string;
41804
+ };
41805
+ 401: {
41806
+ description: string;
41807
+ };
41808
+ };
41809
+ security: ({
41810
+ pat_with_workspace: never[];
41811
+ console_session_with_workspace?: never;
41812
+ api_key?: never;
41813
+ } | {
41814
+ console_session_with_workspace: never[];
41815
+ pat_with_workspace?: never;
41816
+ api_key?: never;
41817
+ } | {
41818
+ api_key: never[];
41819
+ pat_with_workspace?: never;
41820
+ console_session_with_workspace?: never;
41821
+ })[];
41822
+ summary: string;
41823
+ tags: never[];
41824
+ 'x-fern-sdk-group-name': string[];
41825
+ 'x-fern-sdk-method-name': string;
41826
+ 'x-fern-sdk-return-value': string;
41827
+ 'x-response-key': string;
41828
+ 'x-title': string;
41829
+ 'x-undocumented': string;
41830
+ };
41831
+ };
41832
+ '/unstable_locations/list': {
41833
+ get: {
41834
+ description: string;
41835
+ operationId: string;
41836
+ responses: {
41837
+ 200: {
41838
+ content: {
41839
+ 'application/json': {
41840
+ schema: {
41841
+ properties: {
41842
+ locations: {
41843
+ items: {
41844
+ properties: {
41845
+ created_at: {
41846
+ description: string;
41847
+ format: string;
41848
+ type: string;
41849
+ };
41850
+ display_name: {
41851
+ description: string;
41852
+ type: string;
41853
+ };
41854
+ geolocation: {
41855
+ description: string;
41856
+ properties: {
41857
+ latitude: {
41858
+ format: string;
41859
+ type: string;
41860
+ };
41861
+ longitude: {
41862
+ format: string;
41863
+ type: string;
41864
+ };
41865
+ };
41866
+ required: string[];
41867
+ type: string;
41868
+ };
41869
+ location_id: {
41870
+ description: string;
41871
+ format: string;
41872
+ type: string;
41873
+ };
41874
+ time_zone: {
41875
+ description: string;
41876
+ type: string;
41877
+ };
41878
+ workspace_id: {
41879
+ description: string;
41880
+ format: string;
41881
+ type: string;
41882
+ };
41883
+ };
41884
+ required: string[];
41885
+ type: string;
41886
+ };
41887
+ type: string;
41888
+ };
41889
+ ok: {
41890
+ type: string;
41891
+ };
41892
+ };
41893
+ required: string[];
41894
+ type: string;
41895
+ };
41896
+ };
41897
+ };
41898
+ description: string;
41899
+ };
41900
+ 400: {
41901
+ description: string;
41902
+ };
41903
+ 401: {
41904
+ description: string;
41905
+ };
41906
+ };
41907
+ security: ({
41908
+ pat_with_workspace: never[];
41909
+ console_session_with_workspace?: never;
41910
+ api_key?: never;
41911
+ } | {
41912
+ console_session_with_workspace: never[];
41913
+ pat_with_workspace?: never;
41914
+ api_key?: never;
41915
+ } | {
41916
+ api_key: never[];
41917
+ pat_with_workspace?: never;
41918
+ console_session_with_workspace?: never;
41919
+ })[];
41920
+ summary: string;
41921
+ tags: never[];
41922
+ 'x-fern-ignore': boolean;
41923
+ 'x-response-key': string;
41924
+ 'x-title': string;
41925
+ 'x-undocumented': string;
41926
+ };
41927
+ post: {
41928
+ description: string;
41929
+ operationId: string;
41930
+ responses: {
41931
+ 200: {
41932
+ content: {
41933
+ 'application/json': {
41934
+ schema: {
41935
+ properties: {
41936
+ locations: {
41937
+ items: {
41938
+ properties: {
41939
+ created_at: {
41940
+ description: string;
41941
+ format: string;
41942
+ type: string;
41943
+ };
41944
+ display_name: {
41945
+ description: string;
41946
+ type: string;
41947
+ };
41948
+ geolocation: {
41949
+ description: string;
41950
+ properties: {
41951
+ latitude: {
41952
+ format: string;
41953
+ type: string;
41954
+ };
41955
+ longitude: {
41956
+ format: string;
41957
+ type: string;
41958
+ };
41959
+ };
41960
+ required: string[];
41961
+ type: string;
41962
+ };
41963
+ location_id: {
41964
+ description: string;
41965
+ format: string;
41966
+ type: string;
41967
+ };
41968
+ time_zone: {
41969
+ description: string;
41970
+ type: string;
41971
+ };
41972
+ workspace_id: {
41973
+ description: string;
41974
+ format: string;
41975
+ type: string;
41976
+ };
41977
+ };
41978
+ required: string[];
41979
+ type: string;
41980
+ };
41981
+ type: string;
41982
+ };
41983
+ ok: {
41984
+ type: string;
41985
+ };
41986
+ };
41987
+ required: string[];
41988
+ type: string;
41989
+ };
41990
+ };
41991
+ };
41992
+ description: string;
41993
+ };
41994
+ 400: {
41995
+ description: string;
41996
+ };
41997
+ 401: {
41998
+ description: string;
41999
+ };
42000
+ };
42001
+ security: ({
42002
+ pat_with_workspace: never[];
42003
+ console_session_with_workspace?: never;
42004
+ api_key?: never;
42005
+ } | {
42006
+ console_session_with_workspace: never[];
42007
+ pat_with_workspace?: never;
42008
+ api_key?: never;
42009
+ } | {
42010
+ api_key: never[];
42011
+ pat_with_workspace?: never;
42012
+ console_session_with_workspace?: never;
42013
+ })[];
42014
+ summary: string;
42015
+ tags: never[];
42016
+ 'x-fern-sdk-group-name': string[];
42017
+ 'x-fern-sdk-method-name': string;
42018
+ 'x-fern-sdk-return-value': string;
42019
+ 'x-response-key': string;
42020
+ 'x-title': string;
42021
+ 'x-undocumented': string;
42022
+ };
42023
+ };
42024
+ '/unstable_locations/remove_devices': {
42025
+ post: {
42026
+ description: string;
42027
+ operationId: string;
42028
+ requestBody: {
42029
+ content: {
42030
+ 'application/json': {
42031
+ schema: {
42032
+ properties: {
42033
+ device_ids: {
42034
+ items: {
42035
+ format: string;
42036
+ type: string;
42037
+ };
42038
+ type: string;
42039
+ };
42040
+ location_id: {
42041
+ format: string;
42042
+ type: string;
42043
+ };
42044
+ };
42045
+ required: string[];
42046
+ type: string;
42047
+ };
42048
+ };
42049
+ };
42050
+ };
42051
+ responses: {
42052
+ 200: {
42053
+ content: {
42054
+ 'application/json': {
42055
+ schema: {
42056
+ properties: {
42057
+ ok: {
42058
+ type: string;
42059
+ };
42060
+ };
42061
+ required: string[];
42062
+ type: string;
42063
+ };
42064
+ };
42065
+ };
42066
+ description: string;
42067
+ };
42068
+ 400: {
42069
+ description: string;
42070
+ };
42071
+ 401: {
42072
+ description: string;
42073
+ };
42074
+ };
42075
+ security: ({
42076
+ pat_with_workspace: never[];
42077
+ console_session_with_workspace?: never;
42078
+ api_key?: never;
42079
+ } | {
42080
+ console_session_with_workspace: never[];
42081
+ pat_with_workspace?: never;
42082
+ api_key?: never;
42083
+ } | {
42084
+ api_key: never[];
42085
+ pat_with_workspace?: never;
42086
+ console_session_with_workspace?: never;
42087
+ })[];
42088
+ summary: string;
42089
+ tags: never[];
42090
+ 'x-fern-sdk-group-name': string[];
42091
+ 'x-fern-sdk-method-name': string;
42092
+ 'x-response-key': null;
42093
+ 'x-title': string;
42094
+ 'x-undocumented': string;
42095
+ };
42096
+ };
42097
+ '/unstable_locations/update': {
42098
+ post: {
42099
+ description: string;
42100
+ operationId: string;
42101
+ requestBody: {
42102
+ content: {
42103
+ 'application/json': {
42104
+ schema: {
42105
+ properties: {
42106
+ geolocation: {
42107
+ properties: {
42108
+ latitude: {
42109
+ format: string;
42110
+ type: string;
42111
+ };
42112
+ longitude: {
42113
+ format: string;
42114
+ type: string;
42115
+ };
42116
+ };
42117
+ required: string[];
42118
+ type: string;
42119
+ };
42120
+ location_id: {
42121
+ format: string;
42122
+ type: string;
42123
+ };
42124
+ name: {
42125
+ type: string;
42126
+ };
42127
+ time_zone: {
42128
+ type: string;
42129
+ };
42130
+ };
42131
+ required: string[];
42132
+ type: string;
42133
+ };
42134
+ };
42135
+ };
42136
+ };
42137
+ responses: {
42138
+ 200: {
42139
+ content: {
42140
+ 'application/json': {
42141
+ schema: {
42142
+ properties: {
42143
+ location: {
42144
+ properties: {
42145
+ created_at: {
42146
+ description: string;
42147
+ format: string;
42148
+ type: string;
42149
+ };
42150
+ display_name: {
42151
+ description: string;
42152
+ type: string;
42153
+ };
42154
+ geolocation: {
42155
+ description: string;
42156
+ properties: {
42157
+ latitude: {
42158
+ format: string;
42159
+ type: string;
42160
+ };
42161
+ longitude: {
42162
+ format: string;
42163
+ type: string;
42164
+ };
42165
+ };
42166
+ required: string[];
42167
+ type: string;
42168
+ };
42169
+ location_id: {
42170
+ description: string;
42171
+ format: string;
42172
+ type: string;
42173
+ };
42174
+ time_zone: {
42175
+ description: string;
42176
+ type: string;
42177
+ };
42178
+ workspace_id: {
42179
+ description: string;
42180
+ format: string;
42181
+ type: string;
42182
+ };
42183
+ };
42184
+ required: string[];
42185
+ type: string;
42186
+ };
42187
+ ok: {
42188
+ type: string;
42189
+ };
42190
+ };
42191
+ required: string[];
42192
+ type: string;
42193
+ };
42194
+ };
42195
+ };
42196
+ description: string;
42197
+ };
42198
+ 400: {
42199
+ description: string;
42200
+ };
42201
+ 401: {
42202
+ description: string;
42203
+ };
42204
+ };
42205
+ security: ({
42206
+ pat_with_workspace: never[];
42207
+ console_session_with_workspace?: never;
42208
+ api_key?: never;
42209
+ } | {
42210
+ console_session_with_workspace: never[];
42211
+ pat_with_workspace?: never;
42212
+ api_key?: never;
42213
+ } | {
42214
+ api_key: never[];
42215
+ pat_with_workspace?: never;
42216
+ console_session_with_workspace?: never;
42217
+ })[];
42218
+ summary: string;
42219
+ tags: never[];
42220
+ 'x-fern-sdk-group-name': string[];
42221
+ 'x-fern-sdk-method-name': string;
42222
+ 'x-fern-sdk-return-value': string;
42223
+ 'x-response-key': string;
42224
+ 'x-title': string;
42225
+ 'x-undocumented': string;
42226
+ };
42227
+ };
42228
+ '/user_identities/add_acs_user': {
42229
+ post: {
42230
+ description: string;
42231
+ operationId: string;
42232
+ requestBody: {
42233
+ content: {
42234
+ 'application/json': {
42235
+ schema: {
42236
+ properties: {
42237
+ acs_user_id: {
42238
+ description: string;
42239
+ format: string;
42240
+ type: string;
42241
+ };
42242
+ user_identity_id: {
42243
+ description: string;
42244
+ format: string;
42245
+ type: string;
42246
+ };
42247
+ };
42248
+ required: string[];
42249
+ type: string;
42250
+ };
42251
+ };
42252
+ };
42253
+ };
42254
+ responses: {
42255
+ 200: {
42256
+ content: {
42257
+ 'application/json': {
42258
+ schema: {
42259
+ properties: {
42260
+ ok: {
42261
+ type: string;
42262
+ };
42263
+ };
42264
+ required: string[];
42265
+ type: string;
42266
+ };
42267
+ };
42268
+ };
42269
+ description: string;
42270
+ };
42271
+ 400: {
42272
+ description: string;
42273
+ };
42274
+ 401: {
42275
+ description: string;
42276
+ };
42277
+ };
42278
+ security: ({
42279
+ api_key: never[];
42280
+ pat_with_workspace?: never;
42281
+ console_session_with_workspace?: never;
42282
+ } | {
42283
+ pat_with_workspace: never[];
42284
+ api_key?: never;
42285
+ console_session_with_workspace?: never;
42286
+ } | {
42287
+ console_session_with_workspace: never[];
42288
+ api_key?: never;
42289
+ pat_with_workspace?: never;
42290
+ })[];
42291
+ summary: string;
42292
+ tags: string[];
42293
+ 'x-fern-sdk-group-name': string[];
42294
+ 'x-fern-sdk-method-name': string;
42295
+ 'x-response-key': null;
42296
+ 'x-title': string;
42297
+ };
42298
+ put: {
42299
+ description: string;
42300
+ operationId: string;
42301
+ requestBody: {
42302
+ content: {
42303
+ 'application/json': {
42304
+ schema: {
42305
+ properties: {
42306
+ acs_user_id: {
42307
+ description: string;
42308
+ format: string;
42309
+ type: string;
42310
+ };
42311
+ user_identity_id: {
42312
+ description: string;
42313
+ format: string;
42314
+ type: string;
42315
+ };
42316
+ };
42317
+ required: string[];
42318
+ type: string;
42319
+ };
42320
+ };
42321
+ };
42322
+ };
42323
+ responses: {
42324
+ 200: {
42325
+ content: {
42326
+ 'application/json': {
42327
+ schema: {
42328
+ properties: {
42329
+ ok: {
42330
+ type: string;
42331
+ };
42332
+ };
42333
+ required: string[];
42334
+ type: string;
42335
+ };
42336
+ };
42337
+ };
42338
+ description: string;
42339
+ };
42340
+ 400: {
42341
+ description: string;
42342
+ };
42343
+ 401: {
42344
+ description: string;
42345
+ };
42346
+ };
42347
+ security: ({
42348
+ api_key: never[];
42349
+ pat_with_workspace?: never;
42350
+ console_session_with_workspace?: never;
42351
+ } | {
42352
+ pat_with_workspace: never[];
42353
+ api_key?: never;
42354
+ console_session_with_workspace?: never;
42355
+ } | {
42356
+ console_session_with_workspace: never[];
42357
+ api_key?: never;
42358
+ pat_with_workspace?: never;
42359
+ })[];
42360
+ summary: string;
42361
+ tags: string[];
42362
+ 'x-fern-ignore': boolean;
42363
+ 'x-response-key': null;
42364
+ 'x-title': string;
42365
+ };
42366
+ };
42367
+ '/user_identities/create': {
42368
+ post: {
42369
+ description: string;
42370
+ operationId: string;
42371
+ requestBody: {
42372
+ content: {
42373
+ 'application/json': {
42374
+ schema: {
42375
+ properties: {
42376
+ email_address: {
42377
+ description: string;
42378
+ format: string;
42379
+ nullable: boolean;
42380
+ type: string;
42381
+ };
42382
+ full_name: {
42383
+ description: string;
42384
+ minLength: number;
42385
+ nullable: boolean;
42386
+ type: string;
42387
+ };
42388
+ phone_number: {
42389
+ description: string;
42390
+ nullable: boolean;
42391
+ type: string;
42392
+ };
42393
+ user_identity_key: {
42394
+ description: string;
42395
+ minLength: number;
42396
+ nullable: boolean;
42397
+ type: string;
42398
+ };
42399
+ };
42400
+ type: string;
42401
+ };
42402
+ };
42403
+ };
42404
+ };
42405
+ responses: {
42406
+ 200: {
42407
+ content: {
42408
+ 'application/json': {
42409
+ schema: {
42410
+ properties: {
42411
+ ok: {
42412
+ type: string;
42413
+ };
42414
+ user_identity: {
42415
+ $ref: string;
42416
+ };
42417
+ };
42418
+ required: string[];
42419
+ type: string;
42420
+ };
42421
+ };
42422
+ };
42423
+ description: string;
42424
+ };
42425
+ 400: {
42426
+ description: string;
42427
+ };
42428
+ 401: {
42429
+ description: string;
42430
+ };
42431
+ };
42432
+ security: ({
42433
+ api_key: never[];
42434
+ pat_with_workspace?: never;
42435
+ console_session_with_workspace?: never;
42436
+ } | {
42437
+ pat_with_workspace: never[];
42438
+ api_key?: never;
42439
+ console_session_with_workspace?: never;
42440
+ } | {
42441
+ console_session_with_workspace: never[];
42442
+ api_key?: never;
42443
+ pat_with_workspace?: never;
42444
+ })[];
42445
+ summary: string;
42446
+ tags: string[];
42447
+ 'x-fern-sdk-group-name': string[];
42448
+ 'x-fern-sdk-method-name': string;
42449
+ 'x-fern-sdk-return-value': string;
42450
+ 'x-response-key': string;
42451
+ 'x-title': string;
42452
+ };
42453
+ };
42454
+ '/user_identities/delete': {
42455
+ post: {
42456
+ description: string;
42457
+ operationId: string;
42458
+ requestBody: {
42459
+ content: {
42460
+ 'application/json': {
42461
+ schema: {
42462
+ properties: {
42463
+ user_identity_id: {
42464
+ description: string;
41322
42465
  format: string;
41323
42466
  type: string;
41324
42467
  };
@@ -44370,6 +45513,376 @@ interface Routes {
44370
45513
  created_at?: string | undefined;
44371
45514
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44372
45515
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
45516
+ } | {
45517
+ message: string;
45518
+ is_access_code_error: true;
45519
+ created_at?: string | undefined;
45520
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45521
+ error_code: 'smartthings_no_free_slots_available';
45522
+ } | {
45523
+ message: string;
45524
+ is_access_code_error: true;
45525
+ created_at?: string | undefined;
45526
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45527
+ error_code: 'failed_to_set_on_device';
45528
+ } | {
45529
+ message: string;
45530
+ is_access_code_error: true;
45531
+ created_at?: string | undefined;
45532
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45533
+ error_code: 'failed_to_remove_from_device';
45534
+ } | {
45535
+ message: string;
45536
+ is_access_code_error: true;
45537
+ created_at?: string | undefined;
45538
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45539
+ error_code: 'duplicate_code_on_device';
45540
+ } | {
45541
+ message: string;
45542
+ is_access_code_error: true;
45543
+ created_at?: string | undefined;
45544
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45545
+ error_code: 'duplicate_code_attempt_prevented';
45546
+ } | {
45547
+ message: string;
45548
+ is_access_code_error: true;
45549
+ created_at?: string | undefined;
45550
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45551
+ error_code: 'igloohome_bridge_too_many_pending_jobs';
45552
+ } | {
45553
+ message: string;
45554
+ is_access_code_error: true;
45555
+ created_at?: string | undefined;
45556
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45557
+ error_code: 'igloohome_bridge_offline';
45558
+ } | {
45559
+ message: string;
45560
+ is_access_code_error: true;
45561
+ created_at?: string | undefined;
45562
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45563
+ error_code: 'igloohome_offline_access_code_no_variance_available';
45564
+ } | {
45565
+ message: string;
45566
+ is_access_code_error: true;
45567
+ created_at?: string | undefined;
45568
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45569
+ error_code: 'kwikset_unable_to_confirm_code';
45570
+ } | {
45571
+ message: string;
45572
+ is_access_code_error: true;
45573
+ created_at?: string | undefined;
45574
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45575
+ error_code: 'kwikset_unable_to_confirm_deletion';
45576
+ } | {
45577
+ message: string;
45578
+ is_access_code_error: true;
45579
+ created_at?: string | undefined;
45580
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45581
+ error_code: 'code_modified_external_to_seam';
45582
+ } | {
45583
+ message: string;
45584
+ is_access_code_error: true;
45585
+ created_at?: string | undefined;
45586
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45587
+ error_code: 'august_lock_invalid_code_length';
45588
+ } | {
45589
+ message: string;
45590
+ is_access_code_error: true;
45591
+ created_at?: string | undefined;
45592
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45593
+ error_code: 'august_device_programming_delay';
45594
+ } | {
45595
+ message: string;
45596
+ is_access_code_error: true;
45597
+ created_at?: string | undefined;
45598
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45599
+ error_code: 'august_device_slots_full';
45600
+ } | {
45601
+ message: string;
45602
+ is_access_code_error: true;
45603
+ created_at?: string | undefined;
45604
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45605
+ error_code: 'august_lock_missing_keypad';
45606
+ } | {
45607
+ message: string;
45608
+ is_access_code_error: true;
45609
+ created_at?: string | undefined;
45610
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45611
+ error_code: 'august_lock_temporarily_offline';
45612
+ } | {
45613
+ message: string;
45614
+ is_access_code_error: true;
45615
+ created_at?: string | undefined;
45616
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45617
+ error_code: 'salto_ks_user_not_subscribed';
45618
+ } | {
45619
+ message: string;
45620
+ is_access_code_error: true;
45621
+ created_at?: string | undefined;
45622
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45623
+ error_code: 'hubitat_device_programming_delay';
45624
+ } | {
45625
+ message: string;
45626
+ is_access_code_error: true;
45627
+ created_at?: string | undefined;
45628
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45629
+ error_code: 'hubitat_no_free_positions_available';
45630
+ } | {
45631
+ message: string;
45632
+ is_access_code_error: true;
45633
+ created_at?: string | undefined;
45634
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45635
+ error_code: 'wyze_duplicate_code_name';
45636
+ } | {
45637
+ message: string;
45638
+ is_access_code_error: true;
45639
+ created_at?: string | undefined;
45640
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45641
+ error_code: 'wyze_potential_duplicate_code';
45642
+ } | {
45643
+ message: string;
45644
+ is_access_code_error: true;
45645
+ created_at?: string | undefined;
45646
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45647
+ error_code: 'dormakaba_oracode_no_valid_user_level';
45648
+ } | {
45649
+ message: string;
45650
+ is_device_error: false;
45651
+ created_at: string;
45652
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45653
+ error_code: 'account_disconnected';
45654
+ is_connected_account_error: true;
45655
+ } | {
45656
+ message: string;
45657
+ is_device_error: false;
45658
+ created_at: string;
45659
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45660
+ error_code: 'salto_ks_subscription_limit_exceeded';
45661
+ is_connected_account_error: true;
45662
+ } | {
45663
+ message: string;
45664
+ is_device_error: true;
45665
+ created_at: string;
45666
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45667
+ error_code: 'device_offline';
45668
+ } | {
45669
+ message: string;
45670
+ is_device_error: true;
45671
+ created_at: string;
45672
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45673
+ error_code: 'device_removed';
45674
+ } | {
45675
+ message: string;
45676
+ is_device_error: true;
45677
+ created_at: string;
45678
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45679
+ error_code: 'hub_disconnected';
45680
+ } | {
45681
+ message: string;
45682
+ is_device_error: true;
45683
+ created_at: string;
45684
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45685
+ error_code: 'device_disconnected';
45686
+ } | {
45687
+ message: string;
45688
+ is_device_error: true;
45689
+ created_at: string;
45690
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45691
+ error_code: 'empty_backup_access_code_pool';
45692
+ } | {
45693
+ message: string;
45694
+ is_device_error: true;
45695
+ created_at: string;
45696
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45697
+ error_code: 'august_lock_not_authorized';
45698
+ } | {
45699
+ message: string;
45700
+ is_device_error: true;
45701
+ created_at: string;
45702
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45703
+ error_code: 'august_lock_missing_bridge';
45704
+ } | {
45705
+ message: string;
45706
+ is_device_error: true;
45707
+ created_at: string;
45708
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45709
+ error_code: 'ttlock_lock_not_paired_to_gateway';
45710
+ } | {
45711
+ message: string;
45712
+ is_device_error: true;
45713
+ created_at: string;
45714
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45715
+ error_code: 'missing_device_credentials';
45716
+ } | {
45717
+ message: string;
45718
+ is_device_error: true;
45719
+ created_at: string;
45720
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45721
+ error_code: 'auxiliary_heat_running';
45722
+ } | {
45723
+ message: string;
45724
+ is_device_error: true;
45725
+ created_at: string;
45726
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45727
+ error_code: 'subscription_required';
45728
+ } | {
45729
+ /** Date and time at which Seam created the error. */
45730
+ created_at: string;
45731
+ message: string;
45732
+ is_connected_account_error: true;
45733
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45734
+ error_code: 'invalid_credentials';
45735
+ }>;
45736
+ /** 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. */
45737
+ warnings: Array<{
45738
+ message: string;
45739
+ created_at?: string | undefined;
45740
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45741
+ warning_code: 'smartthings_failed_to_set_access_code';
45742
+ } | {
45743
+ message: string;
45744
+ created_at?: string | undefined;
45745
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45746
+ warning_code: 'schlage_detected_duplicate';
45747
+ } | {
45748
+ message: string;
45749
+ created_at?: string | undefined;
45750
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45751
+ warning_code: 'schlage_creation_outage';
45752
+ } | {
45753
+ message: string;
45754
+ created_at?: string | undefined;
45755
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45756
+ warning_code: 'code_modified_external_to_seam';
45757
+ } | {
45758
+ message: string;
45759
+ created_at?: string | undefined;
45760
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45761
+ warning_code: 'delay_in_setting_on_device';
45762
+ } | {
45763
+ message: string;
45764
+ created_at?: string | undefined;
45765
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45766
+ warning_code: 'delay_in_removing_from_device';
45767
+ } | {
45768
+ message: string;
45769
+ created_at?: string | undefined;
45770
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45771
+ warning_code: 'third_party_integration_detected';
45772
+ } | {
45773
+ message: string;
45774
+ created_at?: string | undefined;
45775
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45776
+ warning_code: 'august_device_programming_delay';
45777
+ } | {
45778
+ message: string;
45779
+ created_at?: string | undefined;
45780
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45781
+ warning_code: 'august_lock_temporarily_offline';
45782
+ } | {
45783
+ message: string;
45784
+ created_at?: string | undefined;
45785
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45786
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours';
45787
+ } | {
45788
+ message: string;
45789
+ created_at?: string | undefined;
45790
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45791
+ warning_code: 'management_transferred';
45792
+ } | {
45793
+ message: string;
45794
+ created_at?: string | undefined;
45795
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45796
+ warning_code: 'kwikset_unable_to_confirm_code';
45797
+ }>;
45798
+ /** Indicates whether Seam manages the access code. */
45799
+ is_managed: true;
45800
+ /** Date and time at which the time-bound access code becomes active. */
45801
+ starts_at?: (string | null) | undefined;
45802
+ /** Date and time after which the time-bound access code becomes inactive. */
45803
+ ends_at?: (string | null) | undefined;
45804
+ /**
45805
+ 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.
45806
+ */
45807
+ status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
45808
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
45809
+ is_backup_access_code_available: boolean;
45810
+ /** Indicates whether the access code is a backup code. */
45811
+ is_backup?: boolean | undefined;
45812
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
45813
+ pulled_backup_access_code_id?: (string | null) | undefined;
45814
+ /** Indicates whether changes to the access code from external sources are permitted. */
45815
+ is_external_modification_allowed: boolean;
45816
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
45817
+ is_one_time_use: boolean;
45818
+ /** 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. */
45819
+ is_offline_access_code: boolean;
45820
+ };
45821
+ };
45822
+ };
45823
+ '/access_codes/create_multiple': {
45824
+ route: '/access_codes/create_multiple';
45825
+ method: 'POST' | 'PUT';
45826
+ queryParams: {};
45827
+ jsonBody: {
45828
+ device_ids: string[];
45829
+ behavior_when_code_cannot_be_shared?: 'throw' | 'create_random_code';
45830
+ preferred_code_length?: number | undefined;
45831
+ name?: string | undefined;
45832
+ starts_at?: string | undefined;
45833
+ ends_at?: string | undefined;
45834
+ code?: string | undefined;
45835
+ attempt_for_offline_device?: boolean;
45836
+ prefer_native_scheduling?: boolean | undefined;
45837
+ use_backup_access_code_pool?: boolean | undefined;
45838
+ allow_external_modification?: boolean | undefined;
45839
+ is_external_modification_allowed?: boolean | undefined;
45840
+ use_offline_access_code?: boolean | undefined;
45841
+ is_offline_access_code?: boolean | undefined;
45842
+ is_one_time_use?: boolean | undefined;
45843
+ max_time_rounding?: '1hour' | '1day' | '1h' | '1d';
45844
+ };
45845
+ commonParams: {};
45846
+ formData: {};
45847
+ jsonResponse: {
45848
+ access_codes: Array<{
45849
+ /** Unique identifier for a group of access codes that share the same code. */
45850
+ common_code_key: string | null;
45851
+ /** Indicates whether the code is set on the device according to a preconfigured schedule. */
45852
+ is_scheduled_on_device?: boolean | undefined;
45853
+ /** 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. */
45854
+ type: 'time_bound' | 'ongoing';
45855
+ /** Indicates whether the access code is waiting for a code assignment. */
45856
+ is_waiting_for_code_assignment?: boolean | undefined;
45857
+ /** Unique identifier for the access code. */
45858
+ access_code_id: string;
45859
+ /** Unique identifier for the device associated with the access code. */
45860
+ device_id: string;
45861
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
45862
+ name: string | null;
45863
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
45864
+ code: string | null;
45865
+ /** Date and time at which the access code was created. */
45866
+ created_at: string;
45867
+ /** 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. */
45868
+ errors: Array<{
45869
+ message: string;
45870
+ is_access_code_error: true;
45871
+ created_at?: string | undefined;
45872
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45873
+ error_code: 'smartthings_failed_to_set_access_code';
45874
+ } | {
45875
+ message: string;
45876
+ is_access_code_error: true;
45877
+ created_at?: string | undefined;
45878
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45879
+ error_code: 'smartthings_failed_to_set_after_multiple_retries';
45880
+ } | {
45881
+ message: string;
45882
+ is_access_code_error: true;
45883
+ created_at?: string | undefined;
45884
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45885
+ error_code: 'smartthings_no_free_slots_available';
44373
45886
  } | {
44374
45887
  message: string;
44375
45888
  is_access_code_error: true;
@@ -44459,353 +45972,43 @@ interface Routes {
44459
45972
  is_access_code_error: true;
44460
45973
  created_at?: string | undefined;
44461
45974
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44462
- error_code: 'salto_site_user_not_subscribed';
45975
+ error_code: 'august_lock_temporarily_offline';
44463
45976
  } | {
44464
45977
  message: string;
44465
45978
  is_access_code_error: true;
44466
45979
  created_at?: string | undefined;
44467
45980
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44468
- error_code: 'hubitat_device_programming_delay';
44469
- } | {
44470
- message: string;
44471
- is_access_code_error: true;
44472
- created_at?: string | undefined;
44473
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44474
- error_code: 'hubitat_no_free_positions_available';
44475
- } | {
44476
- message: string;
44477
- is_device_error: false;
44478
- created_at: string;
44479
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44480
- error_code: 'account_disconnected';
44481
- is_connected_account_error: true;
44482
- } | {
44483
- message: string;
44484
- is_device_error: false;
44485
- created_at: string;
44486
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44487
- error_code: 'salto_ks_subscription_limit_exceeded';
44488
- is_connected_account_error: true;
44489
- } | {
44490
- message: string;
44491
- is_device_error: true;
44492
- created_at: string;
44493
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44494
- error_code: 'device_offline';
44495
- } | {
44496
- message: string;
44497
- is_device_error: true;
44498
- created_at: string;
44499
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44500
- error_code: 'device_removed';
44501
- } | {
44502
- message: string;
44503
- is_device_error: true;
44504
- created_at: string;
44505
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44506
- error_code: 'hub_disconnected';
44507
- } | {
44508
- message: string;
44509
- is_device_error: true;
44510
- created_at: string;
44511
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44512
- error_code: 'device_disconnected';
44513
- } | {
44514
- message: string;
44515
- is_device_error: true;
44516
- created_at: string;
44517
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44518
- error_code: 'empty_backup_access_code_pool';
44519
- } | {
44520
- message: string;
44521
- is_device_error: true;
44522
- created_at: string;
44523
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44524
- error_code: 'august_lock_not_authorized';
44525
- } | {
44526
- message: string;
44527
- is_device_error: true;
44528
- created_at: string;
44529
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44530
- error_code: 'august_lock_missing_bridge';
44531
- } | {
44532
- message: string;
44533
- is_device_error: true;
44534
- created_at: string;
44535
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44536
- error_code: 'ttlock_lock_not_paired_to_gateway';
44537
- } | {
44538
- message: string;
44539
- is_device_error: true;
44540
- created_at: string;
44541
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44542
- error_code: 'missing_device_credentials';
44543
- } | {
44544
- message: string;
44545
- is_device_error: true;
44546
- created_at: string;
44547
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44548
- error_code: 'auxiliary_heat_running';
44549
- } | {
44550
- message: string;
44551
- is_device_error: true;
44552
- created_at: string;
44553
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44554
- error_code: 'subscription_required';
44555
- } | {
44556
- /** Date and time at which Seam created the error. */
44557
- created_at: string;
44558
- message: string;
44559
- is_connected_account_error: true;
44560
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44561
- error_code: 'invalid_credentials';
44562
- }>;
44563
- /** 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. */
44564
- warnings: Array<{
44565
- message: string;
44566
- created_at?: string | undefined;
44567
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44568
- warning_code: 'smartthings_failed_to_set_access_code';
44569
- } | {
44570
- message: string;
44571
- created_at?: string | undefined;
44572
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44573
- warning_code: 'schlage_detected_duplicate';
44574
- } | {
44575
- message: string;
44576
- created_at?: string | undefined;
44577
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44578
- warning_code: 'schlage_creation_outage';
44579
- } | {
44580
- message: string;
44581
- created_at?: string | undefined;
44582
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44583
- warning_code: 'salto_office_mode';
44584
- } | {
44585
- message: string;
44586
- created_at?: string | undefined;
44587
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44588
- warning_code: 'code_modified_external_to_seam';
44589
- } | {
44590
- message: string;
44591
- created_at?: string | undefined;
44592
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44593
- warning_code: 'delay_in_setting_on_device';
44594
- } | {
44595
- message: string;
44596
- created_at?: string | undefined;
44597
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44598
- warning_code: 'delay_in_removing_from_device';
44599
- } | {
44600
- message: string;
44601
- created_at?: string | undefined;
44602
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44603
- warning_code: 'third_party_integration_detected';
44604
- } | {
44605
- message: string;
44606
- created_at?: string | undefined;
44607
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44608
- warning_code: 'august_device_programming_delay';
44609
- } | {
44610
- message: string;
44611
- created_at?: string | undefined;
44612
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44613
- warning_code: 'igloo_algopin_must_be_used_within_24_hours';
44614
- } | {
44615
- message: string;
44616
- created_at?: string | undefined;
44617
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44618
- warning_code: 'management_transferred';
44619
- } | {
44620
- message: string;
44621
- created_at?: string | undefined;
44622
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44623
- warning_code: 'kwikset_unable_to_confirm_code';
44624
- }>;
44625
- /** Indicates whether Seam manages the access code. */
44626
- is_managed: true;
44627
- /** Date and time at which the time-bound access code becomes active. */
44628
- starts_at?: (string | null) | undefined;
44629
- /** Date and time after which the time-bound access code becomes inactive. */
44630
- ends_at?: (string | null) | undefined;
44631
- /**
44632
- 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.
44633
- */
44634
- status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
44635
- /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
44636
- is_backup_access_code_available: boolean;
44637
- /** Indicates whether the access code is a backup code. */
44638
- is_backup?: boolean | undefined;
44639
- /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
44640
- pulled_backup_access_code_id?: (string | null) | undefined;
44641
- /** Indicates whether changes to the access code from external sources are permitted. */
44642
- is_external_modification_allowed: boolean;
44643
- /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
44644
- is_one_time_use: boolean;
44645
- /** 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. */
44646
- is_offline_access_code: boolean;
44647
- };
44648
- };
44649
- };
44650
- '/access_codes/create_multiple': {
44651
- route: '/access_codes/create_multiple';
44652
- method: 'POST' | 'PUT';
44653
- queryParams: {};
44654
- jsonBody: {
44655
- device_ids: string[];
44656
- behavior_when_code_cannot_be_shared?: 'throw' | 'create_random_code';
44657
- preferred_code_length?: number | undefined;
44658
- name?: string | undefined;
44659
- starts_at?: string | undefined;
44660
- ends_at?: string | undefined;
44661
- code?: string | undefined;
44662
- attempt_for_offline_device?: boolean;
44663
- prefer_native_scheduling?: boolean | undefined;
44664
- use_backup_access_code_pool?: boolean | undefined;
44665
- allow_external_modification?: boolean | undefined;
44666
- is_external_modification_allowed?: boolean | undefined;
44667
- use_offline_access_code?: boolean | undefined;
44668
- is_offline_access_code?: boolean | undefined;
44669
- is_one_time_use?: boolean | undefined;
44670
- max_time_rounding?: '1hour' | '1day' | '1h' | '1d';
44671
- };
44672
- commonParams: {};
44673
- formData: {};
44674
- jsonResponse: {
44675
- access_codes: Array<{
44676
- /** Unique identifier for a group of access codes that share the same code. */
44677
- common_code_key: string | null;
44678
- /** Indicates whether the code is set on the device according to a preconfigured schedule. */
44679
- is_scheduled_on_device?: boolean | undefined;
44680
- /** 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. */
44681
- type: 'time_bound' | 'ongoing';
44682
- /** Indicates whether the access code is waiting for a code assignment. */
44683
- is_waiting_for_code_assignment?: boolean | undefined;
44684
- /** Unique identifier for the access code. */
44685
- access_code_id: string;
44686
- /** Unique identifier for the device associated with the access code. */
44687
- device_id: string;
44688
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
44689
- name: string | null;
44690
- /** Code used for access. Typically, a numeric or alphanumeric string. */
44691
- code: string | null;
44692
- /** Date and time at which the access code was created. */
44693
- created_at: string;
44694
- /** 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. */
44695
- errors: Array<{
44696
- message: string;
44697
- is_access_code_error: true;
44698
- created_at?: string | undefined;
44699
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44700
- error_code: 'smartthings_failed_to_set_access_code';
44701
- } | {
44702
- message: string;
44703
- is_access_code_error: true;
44704
- created_at?: string | undefined;
44705
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44706
- error_code: 'smartthings_failed_to_set_after_multiple_retries';
45981
+ error_code: 'salto_ks_user_not_subscribed';
44707
45982
  } | {
44708
45983
  message: string;
44709
45984
  is_access_code_error: true;
44710
45985
  created_at?: string | undefined;
44711
45986
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44712
- error_code: 'failed_to_set_on_device';
44713
- } | {
44714
- message: string;
44715
- is_access_code_error: true;
44716
- created_at?: string | undefined;
44717
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44718
- error_code: 'failed_to_remove_from_device';
44719
- } | {
44720
- message: string;
44721
- is_access_code_error: true;
44722
- created_at?: string | undefined;
44723
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44724
- error_code: 'duplicate_code_on_device';
44725
- } | {
44726
- message: string;
44727
- is_access_code_error: true;
44728
- created_at?: string | undefined;
44729
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44730
- error_code: 'duplicate_code_attempt_prevented';
44731
- } | {
44732
- message: string;
44733
- is_access_code_error: true;
44734
- created_at?: string | undefined;
44735
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44736
- error_code: 'igloohome_bridge_too_many_pending_jobs';
44737
- } | {
44738
- message: string;
44739
- is_access_code_error: true;
44740
- created_at?: string | undefined;
44741
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44742
- error_code: 'igloohome_bridge_offline';
44743
- } | {
44744
- message: string;
44745
- is_access_code_error: true;
44746
- created_at?: string | undefined;
44747
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44748
- error_code: 'igloohome_offline_access_code_no_variance_available';
44749
- } | {
44750
- message: string;
44751
- is_access_code_error: true;
44752
- created_at?: string | undefined;
44753
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44754
- error_code: 'kwikset_unable_to_confirm_code';
44755
- } | {
44756
- message: string;
44757
- is_access_code_error: true;
44758
- created_at?: string | undefined;
44759
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44760
- error_code: 'kwikset_unable_to_confirm_deletion';
44761
- } | {
44762
- message: string;
44763
- is_access_code_error: true;
44764
- created_at?: string | undefined;
44765
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44766
- error_code: 'code_modified_external_to_seam';
44767
- } | {
44768
- message: string;
44769
- is_access_code_error: true;
44770
- created_at?: string | undefined;
44771
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44772
- error_code: 'august_lock_invalid_code_length';
44773
- } | {
44774
- message: string;
44775
- is_access_code_error: true;
44776
- created_at?: string | undefined;
44777
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44778
- error_code: 'august_device_programming_delay';
44779
- } | {
44780
- message: string;
44781
- is_access_code_error: true;
44782
- created_at?: string | undefined;
44783
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44784
- error_code: 'august_device_slots_full';
45987
+ error_code: 'hubitat_device_programming_delay';
44785
45988
  } | {
44786
45989
  message: string;
44787
45990
  is_access_code_error: true;
44788
45991
  created_at?: string | undefined;
44789
45992
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44790
- error_code: 'august_lock_missing_keypad';
45993
+ error_code: 'hubitat_no_free_positions_available';
44791
45994
  } | {
44792
45995
  message: string;
44793
45996
  is_access_code_error: true;
44794
45997
  created_at?: string | undefined;
44795
45998
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44796
- error_code: 'salto_site_user_not_subscribed';
45999
+ error_code: 'wyze_duplicate_code_name';
44797
46000
  } | {
44798
46001
  message: string;
44799
46002
  is_access_code_error: true;
44800
46003
  created_at?: string | undefined;
44801
46004
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44802
- error_code: 'hubitat_device_programming_delay';
46005
+ error_code: 'wyze_potential_duplicate_code';
44803
46006
  } | {
44804
46007
  message: string;
44805
46008
  is_access_code_error: true;
44806
46009
  created_at?: string | undefined;
44807
46010
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44808
- error_code: 'hubitat_no_free_positions_available';
46011
+ error_code: 'dormakaba_oracode_no_valid_user_level';
44809
46012
  } | {
44810
46013
  message: string;
44811
46014
  is_device_error: false;
@@ -44910,11 +46113,6 @@ interface Routes {
44910
46113
  created_at?: string | undefined;
44911
46114
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44912
46115
  warning_code: 'schlage_creation_outage';
44913
- } | {
44914
- message: string;
44915
- created_at?: string | undefined;
44916
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44917
- warning_code: 'salto_office_mode';
44918
46116
  } | {
44919
46117
  message: string;
44920
46118
  created_at?: string | undefined;
@@ -44940,6 +46138,11 @@ interface Routes {
44940
46138
  created_at?: string | undefined;
44941
46139
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44942
46140
  warning_code: 'august_device_programming_delay';
46141
+ } | {
46142
+ message: string;
46143
+ created_at?: string | undefined;
46144
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46145
+ warning_code: 'august_lock_temporarily_offline';
44943
46146
  } | {
44944
46147
  message: string;
44945
46148
  created_at?: string | undefined;
@@ -45935,6 +47138,12 @@ interface Routes {
45935
47138
  created_at?: string | undefined;
45936
47139
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45937
47140
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
47141
+ } | {
47142
+ message: string;
47143
+ is_access_code_error: true;
47144
+ created_at?: string | undefined;
47145
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47146
+ error_code: 'smartthings_no_free_slots_available';
45938
47147
  } | {
45939
47148
  message: string;
45940
47149
  is_access_code_error: true;
@@ -46024,7 +47233,13 @@ interface Routes {
46024
47233
  is_access_code_error: true;
46025
47234
  created_at?: string | undefined;
46026
47235
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46027
- error_code: 'salto_site_user_not_subscribed';
47236
+ error_code: 'august_lock_temporarily_offline';
47237
+ } | {
47238
+ message: string;
47239
+ is_access_code_error: true;
47240
+ created_at?: string | undefined;
47241
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47242
+ error_code: 'salto_ks_user_not_subscribed';
46028
47243
  } | {
46029
47244
  message: string;
46030
47245
  is_access_code_error: true;
@@ -46037,6 +47252,24 @@ interface Routes {
46037
47252
  created_at?: string | undefined;
46038
47253
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46039
47254
  error_code: 'hubitat_no_free_positions_available';
47255
+ } | {
47256
+ message: string;
47257
+ is_access_code_error: true;
47258
+ created_at?: string | undefined;
47259
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47260
+ error_code: 'wyze_duplicate_code_name';
47261
+ } | {
47262
+ message: string;
47263
+ is_access_code_error: true;
47264
+ created_at?: string | undefined;
47265
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47266
+ error_code: 'wyze_potential_duplicate_code';
47267
+ } | {
47268
+ message: string;
47269
+ is_access_code_error: true;
47270
+ created_at?: string | undefined;
47271
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47272
+ error_code: 'dormakaba_oracode_no_valid_user_level';
46040
47273
  } | {
46041
47274
  message: string;
46042
47275
  is_device_error: false;
@@ -46141,11 +47374,6 @@ interface Routes {
46141
47374
  created_at?: string | undefined;
46142
47375
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46143
47376
  warning_code: 'schlage_creation_outage';
46144
- } | {
46145
- message: string;
46146
- created_at?: string | undefined;
46147
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46148
- warning_code: 'salto_office_mode';
46149
47377
  } | {
46150
47378
  message: string;
46151
47379
  created_at?: string | undefined;
@@ -46171,6 +47399,11 @@ interface Routes {
46171
47399
  created_at?: string | undefined;
46172
47400
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46173
47401
  warning_code: 'august_device_programming_delay';
47402
+ } | {
47403
+ message: string;
47404
+ created_at?: string | undefined;
47405
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47406
+ warning_code: 'august_lock_temporarily_offline';
46174
47407
  } | {
46175
47408
  message: string;
46176
47409
  created_at?: string | undefined;
@@ -46256,6 +47489,12 @@ interface Routes {
46256
47489
  created_at?: string | undefined;
46257
47490
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46258
47491
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
47492
+ } | {
47493
+ message: string;
47494
+ is_access_code_error: true;
47495
+ created_at?: string | undefined;
47496
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47497
+ error_code: 'smartthings_no_free_slots_available';
46259
47498
  } | {
46260
47499
  message: string;
46261
47500
  is_access_code_error: true;
@@ -46345,7 +47584,13 @@ interface Routes {
46345
47584
  is_access_code_error: true;
46346
47585
  created_at?: string | undefined;
46347
47586
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46348
- error_code: 'salto_site_user_not_subscribed';
47587
+ error_code: 'august_lock_temporarily_offline';
47588
+ } | {
47589
+ message: string;
47590
+ is_access_code_error: true;
47591
+ created_at?: string | undefined;
47592
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47593
+ error_code: 'salto_ks_user_not_subscribed';
46349
47594
  } | {
46350
47595
  message: string;
46351
47596
  is_access_code_error: true;
@@ -46358,6 +47603,24 @@ interface Routes {
46358
47603
  created_at?: string | undefined;
46359
47604
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46360
47605
  error_code: 'hubitat_no_free_positions_available';
47606
+ } | {
47607
+ message: string;
47608
+ is_access_code_error: true;
47609
+ created_at?: string | undefined;
47610
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47611
+ error_code: 'wyze_duplicate_code_name';
47612
+ } | {
47613
+ message: string;
47614
+ is_access_code_error: true;
47615
+ created_at?: string | undefined;
47616
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47617
+ error_code: 'wyze_potential_duplicate_code';
47618
+ } | {
47619
+ message: string;
47620
+ is_access_code_error: true;
47621
+ created_at?: string | undefined;
47622
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47623
+ error_code: 'dormakaba_oracode_no_valid_user_level';
46361
47624
  } | {
46362
47625
  message: string;
46363
47626
  is_device_error: false;
@@ -46462,11 +47725,6 @@ interface Routes {
46462
47725
  created_at?: string | undefined;
46463
47726
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46464
47727
  warning_code: 'schlage_creation_outage';
46465
- } | {
46466
- message: string;
46467
- created_at?: string | undefined;
46468
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46469
- warning_code: 'salto_office_mode';
46470
47728
  } | {
46471
47729
  message: string;
46472
47730
  created_at?: string | undefined;
@@ -46492,6 +47750,11 @@ interface Routes {
46492
47750
  created_at?: string | undefined;
46493
47751
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46494
47752
  warning_code: 'august_device_programming_delay';
47753
+ } | {
47754
+ message: string;
47755
+ created_at?: string | undefined;
47756
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47757
+ warning_code: 'august_lock_temporarily_offline';
46495
47758
  } | {
46496
47759
  message: string;
46497
47760
  created_at?: string | undefined;
@@ -46576,6 +47839,12 @@ interface Routes {
46576
47839
  created_at?: string | undefined;
46577
47840
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46578
47841
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
47842
+ } | {
47843
+ message: string;
47844
+ is_access_code_error: true;
47845
+ created_at?: string | undefined;
47846
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47847
+ error_code: 'smartthings_no_free_slots_available';
46579
47848
  } | {
46580
47849
  message: string;
46581
47850
  is_access_code_error: true;
@@ -46665,7 +47934,13 @@ interface Routes {
46665
47934
  is_access_code_error: true;
46666
47935
  created_at?: string | undefined;
46667
47936
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46668
- error_code: 'salto_site_user_not_subscribed';
47937
+ error_code: 'august_lock_temporarily_offline';
47938
+ } | {
47939
+ message: string;
47940
+ is_access_code_error: true;
47941
+ created_at?: string | undefined;
47942
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47943
+ error_code: 'salto_ks_user_not_subscribed';
46669
47944
  } | {
46670
47945
  message: string;
46671
47946
  is_access_code_error: true;
@@ -46678,6 +47953,24 @@ interface Routes {
46678
47953
  created_at?: string | undefined;
46679
47954
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46680
47955
  error_code: 'hubitat_no_free_positions_available';
47956
+ } | {
47957
+ message: string;
47958
+ is_access_code_error: true;
47959
+ created_at?: string | undefined;
47960
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47961
+ error_code: 'wyze_duplicate_code_name';
47962
+ } | {
47963
+ message: string;
47964
+ is_access_code_error: true;
47965
+ created_at?: string | undefined;
47966
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47967
+ error_code: 'wyze_potential_duplicate_code';
47968
+ } | {
47969
+ message: string;
47970
+ is_access_code_error: true;
47971
+ created_at?: string | undefined;
47972
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47973
+ error_code: 'dormakaba_oracode_no_valid_user_level';
46681
47974
  } | {
46682
47975
  message: string;
46683
47976
  is_device_error: false;
@@ -46782,11 +48075,6 @@ interface Routes {
46782
48075
  created_at?: string | undefined;
46783
48076
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46784
48077
  warning_code: 'schlage_creation_outage';
46785
- } | {
46786
- message: string;
46787
- created_at?: string | undefined;
46788
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46789
- warning_code: 'salto_office_mode';
46790
48078
  } | {
46791
48079
  message: string;
46792
48080
  created_at?: string | undefined;
@@ -46812,6 +48100,11 @@ interface Routes {
46812
48100
  created_at?: string | undefined;
46813
48101
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46814
48102
  warning_code: 'august_device_programming_delay';
48103
+ } | {
48104
+ message: string;
48105
+ created_at?: string | undefined;
48106
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48107
+ warning_code: 'august_lock_temporarily_offline';
46815
48108
  } | {
46816
48109
  message: string;
46817
48110
  created_at?: string | undefined;
@@ -46884,6 +48177,12 @@ interface Routes {
46884
48177
  created_at?: string | undefined;
46885
48178
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46886
48179
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
48180
+ } | {
48181
+ message: string;
48182
+ is_access_code_error: true;
48183
+ created_at?: string | undefined;
48184
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48185
+ error_code: 'smartthings_no_free_slots_available';
46887
48186
  } | {
46888
48187
  message: string;
46889
48188
  is_access_code_error: true;
@@ -46973,7 +48272,13 @@ interface Routes {
46973
48272
  is_access_code_error: true;
46974
48273
  created_at?: string | undefined;
46975
48274
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46976
- error_code: 'salto_site_user_not_subscribed';
48275
+ error_code: 'august_lock_temporarily_offline';
48276
+ } | {
48277
+ message: string;
48278
+ is_access_code_error: true;
48279
+ created_at?: string | undefined;
48280
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48281
+ error_code: 'salto_ks_user_not_subscribed';
46977
48282
  } | {
46978
48283
  message: string;
46979
48284
  is_access_code_error: true;
@@ -46986,6 +48291,24 @@ interface Routes {
46986
48291
  created_at?: string | undefined;
46987
48292
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46988
48293
  error_code: 'hubitat_no_free_positions_available';
48294
+ } | {
48295
+ message: string;
48296
+ is_access_code_error: true;
48297
+ created_at?: string | undefined;
48298
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48299
+ error_code: 'wyze_duplicate_code_name';
48300
+ } | {
48301
+ message: string;
48302
+ is_access_code_error: true;
48303
+ created_at?: string | undefined;
48304
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48305
+ error_code: 'wyze_potential_duplicate_code';
48306
+ } | {
48307
+ message: string;
48308
+ is_access_code_error: true;
48309
+ created_at?: string | undefined;
48310
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48311
+ error_code: 'dormakaba_oracode_no_valid_user_level';
46989
48312
  } | {
46990
48313
  message: string;
46991
48314
  is_device_error: false;
@@ -47090,11 +48413,6 @@ interface Routes {
47090
48413
  created_at?: string | undefined;
47091
48414
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47092
48415
  warning_code: 'schlage_creation_outage';
47093
- } | {
47094
- message: string;
47095
- created_at?: string | undefined;
47096
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47097
- warning_code: 'salto_office_mode';
47098
48416
  } | {
47099
48417
  message: string;
47100
48418
  created_at?: string | undefined;
@@ -47120,6 +48438,11 @@ interface Routes {
47120
48438
  created_at?: string | undefined;
47121
48439
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47122
48440
  warning_code: 'august_device_programming_delay';
48441
+ } | {
48442
+ message: string;
48443
+ created_at?: string | undefined;
48444
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48445
+ warning_code: 'august_lock_temporarily_offline';
47123
48446
  } | {
47124
48447
  message: string;
47125
48448
  created_at?: string | undefined;
@@ -47200,6 +48523,12 @@ interface Routes {
47200
48523
  created_at?: string | undefined;
47201
48524
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47202
48525
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
48526
+ } | {
48527
+ message: string;
48528
+ is_access_code_error: true;
48529
+ created_at?: string | undefined;
48530
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48531
+ error_code: 'smartthings_no_free_slots_available';
47203
48532
  } | {
47204
48533
  message: string;
47205
48534
  is_access_code_error: true;
@@ -47289,7 +48618,13 @@ interface Routes {
47289
48618
  is_access_code_error: true;
47290
48619
  created_at?: string | undefined;
47291
48620
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47292
- error_code: 'salto_site_user_not_subscribed';
48621
+ error_code: 'august_lock_temporarily_offline';
48622
+ } | {
48623
+ message: string;
48624
+ is_access_code_error: true;
48625
+ created_at?: string | undefined;
48626
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48627
+ error_code: 'salto_ks_user_not_subscribed';
47293
48628
  } | {
47294
48629
  message: string;
47295
48630
  is_access_code_error: true;
@@ -47302,6 +48637,24 @@ interface Routes {
47302
48637
  created_at?: string | undefined;
47303
48638
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47304
48639
  error_code: 'hubitat_no_free_positions_available';
48640
+ } | {
48641
+ message: string;
48642
+ is_access_code_error: true;
48643
+ created_at?: string | undefined;
48644
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48645
+ error_code: 'wyze_duplicate_code_name';
48646
+ } | {
48647
+ message: string;
48648
+ is_access_code_error: true;
48649
+ created_at?: string | undefined;
48650
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48651
+ error_code: 'wyze_potential_duplicate_code';
48652
+ } | {
48653
+ message: string;
48654
+ is_access_code_error: true;
48655
+ created_at?: string | undefined;
48656
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48657
+ error_code: 'dormakaba_oracode_no_valid_user_level';
47305
48658
  } | {
47306
48659
  message: string;
47307
48660
  is_device_error: false;
@@ -47406,11 +48759,6 @@ interface Routes {
47406
48759
  created_at?: string | undefined;
47407
48760
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47408
48761
  warning_code: 'schlage_creation_outage';
47409
- } | {
47410
- message: string;
47411
- created_at?: string | undefined;
47412
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47413
- warning_code: 'salto_office_mode';
47414
48762
  } | {
47415
48763
  message: string;
47416
48764
  created_at?: string | undefined;
@@ -47436,6 +48784,11 @@ interface Routes {
47436
48784
  created_at?: string | undefined;
47437
48785
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47438
48786
  warning_code: 'august_device_programming_delay';
48787
+ } | {
48788
+ message: string;
48789
+ created_at?: string | undefined;
48790
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48791
+ warning_code: 'august_lock_temporarily_offline';
47439
48792
  } | {
47440
48793
  message: string;
47441
48794
  created_at?: string | undefined;
@@ -48407,6 +49760,12 @@ interface Routes {
48407
49760
  created_at?: string | undefined;
48408
49761
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48409
49762
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
49763
+ } | {
49764
+ message: string;
49765
+ is_access_code_error: true;
49766
+ created_at?: string | undefined;
49767
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49768
+ error_code: 'smartthings_no_free_slots_available';
48410
49769
  } | {
48411
49770
  message: string;
48412
49771
  is_access_code_error: true;
@@ -48496,7 +49855,13 @@ interface Routes {
48496
49855
  is_access_code_error: true;
48497
49856
  created_at?: string | undefined;
48498
49857
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48499
- error_code: 'salto_site_user_not_subscribed';
49858
+ error_code: 'august_lock_temporarily_offline';
49859
+ } | {
49860
+ message: string;
49861
+ is_access_code_error: true;
49862
+ created_at?: string | undefined;
49863
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49864
+ error_code: 'salto_ks_user_not_subscribed';
48500
49865
  } | {
48501
49866
  message: string;
48502
49867
  is_access_code_error: true;
@@ -48509,6 +49874,24 @@ interface Routes {
48509
49874
  created_at?: string | undefined;
48510
49875
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48511
49876
  error_code: 'hubitat_no_free_positions_available';
49877
+ } | {
49878
+ message: string;
49879
+ is_access_code_error: true;
49880
+ created_at?: string | undefined;
49881
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49882
+ error_code: 'wyze_duplicate_code_name';
49883
+ } | {
49884
+ message: string;
49885
+ is_access_code_error: true;
49886
+ created_at?: string | undefined;
49887
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49888
+ error_code: 'wyze_potential_duplicate_code';
49889
+ } | {
49890
+ message: string;
49891
+ is_access_code_error: true;
49892
+ created_at?: string | undefined;
49893
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49894
+ error_code: 'dormakaba_oracode_no_valid_user_level';
48512
49895
  } | {
48513
49896
  message: string;
48514
49897
  is_device_error: false;
@@ -48613,11 +49996,6 @@ interface Routes {
48613
49996
  created_at?: string | undefined;
48614
49997
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48615
49998
  warning_code: 'schlage_creation_outage';
48616
- } | {
48617
- message: string;
48618
- created_at?: string | undefined;
48619
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48620
- warning_code: 'salto_office_mode';
48621
49999
  } | {
48622
50000
  message: string;
48623
50001
  created_at?: string | undefined;
@@ -48643,6 +50021,11 @@ interface Routes {
48643
50021
  created_at?: string | undefined;
48644
50022
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48645
50023
  warning_code: 'august_device_programming_delay';
50024
+ } | {
50025
+ message: string;
50026
+ created_at?: string | undefined;
50027
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50028
+ warning_code: 'august_lock_temporarily_offline';
48646
50029
  } | {
48647
50030
  message: string;
48648
50031
  created_at?: string | undefined;
@@ -48705,6 +50088,12 @@ interface Routes {
48705
50088
  created_at?: string | undefined;
48706
50089
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48707
50090
  error_code: 'smartthings_failed_to_set_after_multiple_retries';
50091
+ } | {
50092
+ message: string;
50093
+ is_access_code_error: true;
50094
+ created_at?: string | undefined;
50095
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50096
+ error_code: 'smartthings_no_free_slots_available';
48708
50097
  } | {
48709
50098
  message: string;
48710
50099
  is_access_code_error: true;
@@ -48794,7 +50183,13 @@ interface Routes {
48794
50183
  is_access_code_error: true;
48795
50184
  created_at?: string | undefined;
48796
50185
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48797
- error_code: 'salto_site_user_not_subscribed';
50186
+ error_code: 'august_lock_temporarily_offline';
50187
+ } | {
50188
+ message: string;
50189
+ is_access_code_error: true;
50190
+ created_at?: string | undefined;
50191
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50192
+ error_code: 'salto_ks_user_not_subscribed';
48798
50193
  } | {
48799
50194
  message: string;
48800
50195
  is_access_code_error: true;
@@ -48807,6 +50202,24 @@ interface Routes {
48807
50202
  created_at?: string | undefined;
48808
50203
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48809
50204
  error_code: 'hubitat_no_free_positions_available';
50205
+ } | {
50206
+ message: string;
50207
+ is_access_code_error: true;
50208
+ created_at?: string | undefined;
50209
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50210
+ error_code: 'wyze_duplicate_code_name';
50211
+ } | {
50212
+ message: string;
50213
+ is_access_code_error: true;
50214
+ created_at?: string | undefined;
50215
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50216
+ error_code: 'wyze_potential_duplicate_code';
50217
+ } | {
50218
+ message: string;
50219
+ is_access_code_error: true;
50220
+ created_at?: string | undefined;
50221
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50222
+ error_code: 'dormakaba_oracode_no_valid_user_level';
48810
50223
  } | {
48811
50224
  message: string;
48812
50225
  is_device_error: false;
@@ -48911,11 +50324,6 @@ interface Routes {
48911
50324
  created_at?: string | undefined;
48912
50325
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48913
50326
  warning_code: 'schlage_creation_outage';
48914
- } | {
48915
- message: string;
48916
- created_at?: string | undefined;
48917
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48918
- warning_code: 'salto_office_mode';
48919
50327
  } | {
48920
50328
  message: string;
48921
50329
  created_at?: string | undefined;
@@ -48941,6 +50349,11 @@ interface Routes {
48941
50349
  created_at?: string | undefined;
48942
50350
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48943
50351
  warning_code: 'august_device_programming_delay';
50352
+ } | {
50353
+ message: string;
50354
+ created_at?: string | undefined;
50355
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50356
+ warning_code: 'august_lock_temporarily_offline';
48944
50357
  } | {
48945
50358
  message: string;
48946
50359
  created_at?: string | undefined;
@@ -58157,6 +59570,8 @@ interface Routes {
58157
59570
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
58158
59571
  /** */
58159
59572
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
59573
+ /** */
59574
+ unstable_location_id?: (string | null) | undefined;
58160
59575
  };
58161
59576
  formData: {};
58162
59577
  jsonResponse: {
@@ -59212,6 +60627,8 @@ interface Routes {
59212
60627
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
59213
60628
  /** */
59214
60629
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
60630
+ /** */
60631
+ unstable_location_id?: (string | null) | undefined;
59215
60632
  };
59216
60633
  formData: {};
59217
60634
  jsonResponse: {
@@ -63427,6 +64844,8 @@ interface Routes {
63427
64844
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
63428
64845
  /** */
63429
64846
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
64847
+ /** */
64848
+ unstable_location_id?: (string | null) | undefined;
63430
64849
  };
63431
64850
  formData: {};
63432
64851
  jsonResponse: {
@@ -66659,6 +68078,8 @@ interface Routes {
66659
68078
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
66660
68079
  /** */
66661
68080
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
68081
+ /** */
68082
+ unstable_location_id?: (string | null) | undefined;
66662
68083
  };
66663
68084
  formData: {};
66664
68085
  jsonResponse: {
@@ -75460,6 +76881,8 @@ interface Routes {
75460
76881
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
75461
76882
  /** */
75462
76883
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
76884
+ /** */
76885
+ unstable_location_id?: (string | null) | undefined;
75463
76886
  };
75464
76887
  formData: {};
75465
76888
  jsonResponse: {
@@ -79852,6 +81275,166 @@ interface Routes {
79852
81275
  formData: {};
79853
81276
  jsonResponse: {};
79854
81277
  };
81278
+ '/unstable_locations/add_devices': {
81279
+ route: '/unstable_locations/add_devices';
81280
+ method: 'POST';
81281
+ queryParams: {};
81282
+ jsonBody: {
81283
+ location_id: string;
81284
+ device_ids: string[];
81285
+ };
81286
+ commonParams: {};
81287
+ formData: {};
81288
+ jsonResponse: {};
81289
+ };
81290
+ '/unstable_locations/create': {
81291
+ route: '/unstable_locations/create';
81292
+ method: 'POST';
81293
+ queryParams: {};
81294
+ jsonBody: {
81295
+ name: string;
81296
+ geolocation?: {
81297
+ latitude: number;
81298
+ longitude: number;
81299
+ } | undefined;
81300
+ time_zone?: string | undefined;
81301
+ };
81302
+ commonParams: {};
81303
+ formData: {};
81304
+ jsonResponse: {
81305
+ location: {
81306
+ /** Unique identifier for the location. */
81307
+ location_id: string;
81308
+ /** Unique identifier for the Seam workspace associated with the location. */
81309
+ workspace_id: string;
81310
+ /** Display name of the location. */
81311
+ display_name: string;
81312
+ /** Geographical location of the location. */
81313
+ geolocation?: {
81314
+ latitude: number;
81315
+ longitude: number;
81316
+ } | undefined;
81317
+ /** Time zone of the location. */
81318
+ time_zone?: string | undefined;
81319
+ /** Date and time at which the location object was created. */
81320
+ created_at: string;
81321
+ };
81322
+ };
81323
+ };
81324
+ '/unstable_locations/delete': {
81325
+ route: '/unstable_locations/delete';
81326
+ method: 'DELETE' | 'POST';
81327
+ queryParams: {};
81328
+ jsonBody: {
81329
+ location_id: string;
81330
+ };
81331
+ commonParams: {};
81332
+ formData: {};
81333
+ jsonResponse: {};
81334
+ };
81335
+ '/unstable_locations/get': {
81336
+ route: '/unstable_locations/get';
81337
+ method: 'GET' | 'POST';
81338
+ queryParams: {};
81339
+ jsonBody: {};
81340
+ commonParams: {
81341
+ location_id: string;
81342
+ };
81343
+ formData: {};
81344
+ jsonResponse: {
81345
+ location: {
81346
+ /** Unique identifier for the location. */
81347
+ location_id: string;
81348
+ /** Unique identifier for the Seam workspace associated with the location. */
81349
+ workspace_id: string;
81350
+ /** Display name of the location. */
81351
+ display_name: string;
81352
+ /** Geographical location of the location. */
81353
+ geolocation?: {
81354
+ latitude: number;
81355
+ longitude: number;
81356
+ } | undefined;
81357
+ /** Time zone of the location. */
81358
+ time_zone?: string | undefined;
81359
+ /** Date and time at which the location object was created. */
81360
+ created_at: string;
81361
+ };
81362
+ };
81363
+ };
81364
+ '/unstable_locations/list': {
81365
+ route: '/unstable_locations/list';
81366
+ method: 'GET' | 'POST';
81367
+ queryParams: {};
81368
+ jsonBody: {};
81369
+ commonParams: {};
81370
+ formData: {};
81371
+ jsonResponse: {
81372
+ locations: Array<{
81373
+ /** Unique identifier for the location. */
81374
+ location_id: string;
81375
+ /** Unique identifier for the Seam workspace associated with the location. */
81376
+ workspace_id: string;
81377
+ /** Display name of the location. */
81378
+ display_name: string;
81379
+ /** Geographical location of the location. */
81380
+ geolocation?: {
81381
+ latitude: number;
81382
+ longitude: number;
81383
+ } | undefined;
81384
+ /** Time zone of the location. */
81385
+ time_zone?: string | undefined;
81386
+ /** Date and time at which the location object was created. */
81387
+ created_at: string;
81388
+ }>;
81389
+ };
81390
+ };
81391
+ '/unstable_locations/remove_devices': {
81392
+ route: '/unstable_locations/remove_devices';
81393
+ method: 'POST';
81394
+ queryParams: {};
81395
+ jsonBody: {
81396
+ location_id: string;
81397
+ device_ids: string[];
81398
+ };
81399
+ commonParams: {};
81400
+ formData: {};
81401
+ jsonResponse: {};
81402
+ };
81403
+ '/unstable_locations/update': {
81404
+ route: '/unstable_locations/update';
81405
+ method: 'POST';
81406
+ queryParams: {};
81407
+ jsonBody: {
81408
+ location_id: string;
81409
+ name?: string | undefined;
81410
+ geolocation?: {
81411
+ latitude: number;
81412
+ longitude: number;
81413
+ } | undefined;
81414
+ time_zone?: string | undefined;
81415
+ };
81416
+ commonParams: {};
81417
+ formData: {};
81418
+ jsonResponse: {
81419
+ location: {
81420
+ /** Unique identifier for the location. */
81421
+ location_id: string;
81422
+ /** Unique identifier for the Seam workspace associated with the location. */
81423
+ workspace_id: string;
81424
+ /** Display name of the location. */
81425
+ display_name: string;
81426
+ /** Geographical location of the location. */
81427
+ geolocation?: {
81428
+ latitude: number;
81429
+ longitude: number;
81430
+ } | undefined;
81431
+ /** Time zone of the location. */
81432
+ time_zone?: string | undefined;
81433
+ /** Date and time at which the location object was created. */
81434
+ created_at: string;
81435
+ };
81436
+ };
81437
+ };
79855
81438
  '/user_identities/add_acs_user': {
79856
81439
  route: '/user_identities/add_acs_user';
79857
81440
  method: 'POST' | 'PUT';