@seamapi/types 1.331.0 → 1.332.1

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 (30) hide show
  1. package/dist/connect.cjs +865 -228
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1645 -73
  4. package/lib/seam/connect/models/devices/device.d.ts +380 -16
  5. package/lib/seam/connect/models/devices/device.js +125 -5
  6. package/lib/seam/connect/models/devices/device.js.map +1 -1
  7. package/lib/seam/connect/models/devices/phone.d.ts +235 -11
  8. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +235 -11
  9. package/lib/seam/connect/models/events/acs/{access_groups.js → access-groups.js} +1 -1
  10. package/lib/seam/connect/models/events/acs/{access_groups.js.map → access-groups.js.map} +1 -1
  11. package/lib/seam/connect/models/events/acs/index.js +1 -1
  12. package/lib/seam/connect/models/events/index.d.ts +1 -0
  13. package/lib/seam/connect/models/events/index.js +1 -0
  14. package/lib/seam/connect/models/events/index.js.map +1 -1
  15. package/lib/seam/connect/models/events/seam-event.d.ts +1 -0
  16. package/lib/seam/connect/models/events/seam-event.js +2 -0
  17. package/lib/seam/connect/models/events/seam-event.js.map +1 -1
  18. package/lib/seam/connect/openapi.d.ts +42 -27
  19. package/lib/seam/connect/openapi.js +795 -222
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/lib/seam/connect/route-types.d.ts +1027 -58
  22. package/package.json +1 -1
  23. package/src/lib/seam/connect/models/devices/device.ts +143 -6
  24. package/src/lib/seam/connect/models/events/acs/index.ts +1 -1
  25. package/src/lib/seam/connect/models/events/index.ts +1 -0
  26. package/src/lib/seam/connect/models/events/seam-event.ts +10 -0
  27. package/src/lib/seam/connect/openapi.ts +835 -205
  28. package/src/lib/seam/connect/route-types.ts +1404 -163
  29. /package/lib/seam/connect/models/events/acs/{access_groups.d.ts → access-groups.d.ts} +0 -0
  30. /package/src/lib/seam/connect/models/events/acs/{access_groups.ts → access-groups.ts} +0 -0
@@ -6310,17 +6310,157 @@ declare const device_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
6310
6310
  is_device_error: true;
6311
6311
  }>]>;
6312
6312
  type DeviceError = z.infer<typeof device_error>;
6313
- declare const device_warning: z.ZodObject<z.objectUtil.extendShape<{
6313
+ declare const device_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
6314
6314
  message: z.ZodString;
6315
6315
  }, {
6316
- warning_code: z.ZodString;
6316
+ warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
6317
6317
  }>, "strip", z.ZodTypeAny, {
6318
6318
  message: string;
6319
- warning_code: string;
6319
+ warning_code: "partial_backup_access_code_pool";
6320
6320
  }, {
6321
6321
  message: string;
6322
- warning_code: string;
6323
- }>;
6322
+ warning_code: "partial_backup_access_code_pool";
6323
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6324
+ message: z.ZodString;
6325
+ }, {
6326
+ warning_code: z.ZodLiteral<"many_active_backup_codes">;
6327
+ }>, "strip", z.ZodTypeAny, {
6328
+ message: string;
6329
+ warning_code: "many_active_backup_codes";
6330
+ }, {
6331
+ message: string;
6332
+ warning_code: "many_active_backup_codes";
6333
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6334
+ message: z.ZodString;
6335
+ }, {
6336
+ warning_code: z.ZodLiteral<"salto_unknown_device_type">;
6337
+ }>, "strip", z.ZodTypeAny, {
6338
+ message: string;
6339
+ warning_code: "salto_unknown_device_type";
6340
+ }, {
6341
+ message: string;
6342
+ warning_code: "salto_unknown_device_type";
6343
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6344
+ message: z.ZodString;
6345
+ }, {
6346
+ warning_code: z.ZodLiteral<"wyze_device_missing_gateway">;
6347
+ }>, "strip", z.ZodTypeAny, {
6348
+ message: string;
6349
+ warning_code: "wyze_device_missing_gateway";
6350
+ }, {
6351
+ message: string;
6352
+ warning_code: "wyze_device_missing_gateway";
6353
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6354
+ message: z.ZodString;
6355
+ }, {
6356
+ warning_code: z.ZodLiteral<"functional_offline_device">;
6357
+ }>, "strip", z.ZodTypeAny, {
6358
+ message: string;
6359
+ warning_code: "functional_offline_device";
6360
+ }, {
6361
+ message: string;
6362
+ warning_code: "functional_offline_device";
6363
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6364
+ message: z.ZodString;
6365
+ }, {
6366
+ warning_code: z.ZodLiteral<"third_party_integration_detected">;
6367
+ }>, "strip", z.ZodTypeAny, {
6368
+ message: string;
6369
+ warning_code: "third_party_integration_detected";
6370
+ }, {
6371
+ message: string;
6372
+ warning_code: "third_party_integration_detected";
6373
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6374
+ message: z.ZodString;
6375
+ }, {
6376
+ warning_code: z.ZodLiteral<"nest_thermostat_in_manual_eco_mode">;
6377
+ }>, "strip", z.ZodTypeAny, {
6378
+ message: string;
6379
+ warning_code: "nest_thermostat_in_manual_eco_mode";
6380
+ }, {
6381
+ message: string;
6382
+ warning_code: "nest_thermostat_in_manual_eco_mode";
6383
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6384
+ message: z.ZodString;
6385
+ }, {
6386
+ warning_code: z.ZodLiteral<"ttlock_lock_gateway_unlocking_not_enabled">;
6387
+ }>, "strip", z.ZodTypeAny, {
6388
+ message: string;
6389
+ warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
6390
+ }, {
6391
+ message: string;
6392
+ warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
6393
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6394
+ message: z.ZodString;
6395
+ }, {
6396
+ warning_code: z.ZodLiteral<"ttlock_weak_gateway_signal">;
6397
+ }>, "strip", z.ZodTypeAny, {
6398
+ message: string;
6399
+ warning_code: "ttlock_weak_gateway_signal";
6400
+ }, {
6401
+ message: string;
6402
+ warning_code: "ttlock_weak_gateway_signal";
6403
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6404
+ message: z.ZodString;
6405
+ }, {
6406
+ warning_code: z.ZodLiteral<"temperature_threshold_exceeded">;
6407
+ }>, "strip", z.ZodTypeAny, {
6408
+ message: string;
6409
+ warning_code: "temperature_threshold_exceeded";
6410
+ }, {
6411
+ message: string;
6412
+ warning_code: "temperature_threshold_exceeded";
6413
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6414
+ message: z.ZodString;
6415
+ }, {
6416
+ warning_code: z.ZodLiteral<"device_communication_degraded">;
6417
+ }>, "strip", z.ZodTypeAny, {
6418
+ message: string;
6419
+ warning_code: "device_communication_degraded";
6420
+ }, {
6421
+ message: string;
6422
+ warning_code: "device_communication_degraded";
6423
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6424
+ message: z.ZodString;
6425
+ }, {
6426
+ warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
6427
+ }>, "strip", z.ZodTypeAny, {
6428
+ message: string;
6429
+ warning_code: "scheduled_maintenance_window";
6430
+ }, {
6431
+ message: string;
6432
+ warning_code: "scheduled_maintenance_window";
6433
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6434
+ message: z.ZodString;
6435
+ }, {
6436
+ warning_code: z.ZodLiteral<"device_has_flaky_connection">;
6437
+ }>, "strip", z.ZodTypeAny, {
6438
+ message: string;
6439
+ warning_code: "device_has_flaky_connection";
6440
+ }, {
6441
+ message: string;
6442
+ warning_code: "device_has_flaky_connection";
6443
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6444
+ message: z.ZodString;
6445
+ }, {
6446
+ warning_code: z.ZodLiteral<"salto_office_mode">;
6447
+ }>, "strip", z.ZodTypeAny, {
6448
+ message: string;
6449
+ warning_code: "salto_office_mode";
6450
+ }, {
6451
+ message: string;
6452
+ warning_code: "salto_office_mode";
6453
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6454
+ message: z.ZodString;
6455
+ }, {
6456
+ warning_code: z.ZodLiteral<"salto_privacy_mode">;
6457
+ }>, "strip", z.ZodTypeAny, {
6458
+ message: string;
6459
+ warning_code: "salto_privacy_mode";
6460
+ }, {
6461
+ message: string;
6462
+ warning_code: "salto_privacy_mode";
6463
+ }>]>;
6324
6464
  type DeviceWarning = z.infer<typeof device_warning>;
6325
6465
  declare const device: z.ZodObject<z.objectUtil.extendShape<{
6326
6466
  device_id: z.ZodString;
@@ -8348,17 +8488,157 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
8348
8488
  is_connected_account_error: true;
8349
8489
  error_code: string;
8350
8490
  }>]>, "many">;
8351
- warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8491
+ warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
8352
8492
  message: z.ZodString;
8353
8493
  }, {
8354
- warning_code: z.ZodString;
8494
+ warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
8355
8495
  }>, "strip", z.ZodTypeAny, {
8356
8496
  message: string;
8357
- warning_code: string;
8497
+ warning_code: "partial_backup_access_code_pool";
8358
8498
  }, {
8359
8499
  message: string;
8360
- warning_code: string;
8361
- }>, "many">;
8500
+ warning_code: "partial_backup_access_code_pool";
8501
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8502
+ message: z.ZodString;
8503
+ }, {
8504
+ warning_code: z.ZodLiteral<"many_active_backup_codes">;
8505
+ }>, "strip", z.ZodTypeAny, {
8506
+ message: string;
8507
+ warning_code: "many_active_backup_codes";
8508
+ }, {
8509
+ message: string;
8510
+ warning_code: "many_active_backup_codes";
8511
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8512
+ message: z.ZodString;
8513
+ }, {
8514
+ warning_code: z.ZodLiteral<"salto_unknown_device_type">;
8515
+ }>, "strip", z.ZodTypeAny, {
8516
+ message: string;
8517
+ warning_code: "salto_unknown_device_type";
8518
+ }, {
8519
+ message: string;
8520
+ warning_code: "salto_unknown_device_type";
8521
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8522
+ message: z.ZodString;
8523
+ }, {
8524
+ warning_code: z.ZodLiteral<"wyze_device_missing_gateway">;
8525
+ }>, "strip", z.ZodTypeAny, {
8526
+ message: string;
8527
+ warning_code: "wyze_device_missing_gateway";
8528
+ }, {
8529
+ message: string;
8530
+ warning_code: "wyze_device_missing_gateway";
8531
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8532
+ message: z.ZodString;
8533
+ }, {
8534
+ warning_code: z.ZodLiteral<"functional_offline_device">;
8535
+ }>, "strip", z.ZodTypeAny, {
8536
+ message: string;
8537
+ warning_code: "functional_offline_device";
8538
+ }, {
8539
+ message: string;
8540
+ warning_code: "functional_offline_device";
8541
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8542
+ message: z.ZodString;
8543
+ }, {
8544
+ warning_code: z.ZodLiteral<"third_party_integration_detected">;
8545
+ }>, "strip", z.ZodTypeAny, {
8546
+ message: string;
8547
+ warning_code: "third_party_integration_detected";
8548
+ }, {
8549
+ message: string;
8550
+ warning_code: "third_party_integration_detected";
8551
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8552
+ message: z.ZodString;
8553
+ }, {
8554
+ warning_code: z.ZodLiteral<"nest_thermostat_in_manual_eco_mode">;
8555
+ }>, "strip", z.ZodTypeAny, {
8556
+ message: string;
8557
+ warning_code: "nest_thermostat_in_manual_eco_mode";
8558
+ }, {
8559
+ message: string;
8560
+ warning_code: "nest_thermostat_in_manual_eco_mode";
8561
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8562
+ message: z.ZodString;
8563
+ }, {
8564
+ warning_code: z.ZodLiteral<"ttlock_lock_gateway_unlocking_not_enabled">;
8565
+ }>, "strip", z.ZodTypeAny, {
8566
+ message: string;
8567
+ warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
8568
+ }, {
8569
+ message: string;
8570
+ warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
8571
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8572
+ message: z.ZodString;
8573
+ }, {
8574
+ warning_code: z.ZodLiteral<"ttlock_weak_gateway_signal">;
8575
+ }>, "strip", z.ZodTypeAny, {
8576
+ message: string;
8577
+ warning_code: "ttlock_weak_gateway_signal";
8578
+ }, {
8579
+ message: string;
8580
+ warning_code: "ttlock_weak_gateway_signal";
8581
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8582
+ message: z.ZodString;
8583
+ }, {
8584
+ warning_code: z.ZodLiteral<"temperature_threshold_exceeded">;
8585
+ }>, "strip", z.ZodTypeAny, {
8586
+ message: string;
8587
+ warning_code: "temperature_threshold_exceeded";
8588
+ }, {
8589
+ message: string;
8590
+ warning_code: "temperature_threshold_exceeded";
8591
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8592
+ message: z.ZodString;
8593
+ }, {
8594
+ warning_code: z.ZodLiteral<"device_communication_degraded">;
8595
+ }>, "strip", z.ZodTypeAny, {
8596
+ message: string;
8597
+ warning_code: "device_communication_degraded";
8598
+ }, {
8599
+ message: string;
8600
+ warning_code: "device_communication_degraded";
8601
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8602
+ message: z.ZodString;
8603
+ }, {
8604
+ warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
8605
+ }>, "strip", z.ZodTypeAny, {
8606
+ message: string;
8607
+ warning_code: "scheduled_maintenance_window";
8608
+ }, {
8609
+ message: string;
8610
+ warning_code: "scheduled_maintenance_window";
8611
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8612
+ message: z.ZodString;
8613
+ }, {
8614
+ warning_code: z.ZodLiteral<"device_has_flaky_connection">;
8615
+ }>, "strip", z.ZodTypeAny, {
8616
+ message: string;
8617
+ warning_code: "device_has_flaky_connection";
8618
+ }, {
8619
+ message: string;
8620
+ warning_code: "device_has_flaky_connection";
8621
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8622
+ message: z.ZodString;
8623
+ }, {
8624
+ warning_code: z.ZodLiteral<"salto_office_mode">;
8625
+ }>, "strip", z.ZodTypeAny, {
8626
+ message: string;
8627
+ warning_code: "salto_office_mode";
8628
+ }, {
8629
+ message: string;
8630
+ warning_code: "salto_office_mode";
8631
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8632
+ message: z.ZodString;
8633
+ }, {
8634
+ warning_code: z.ZodLiteral<"salto_privacy_mode">;
8635
+ }>, "strip", z.ZodTypeAny, {
8636
+ message: string;
8637
+ warning_code: "salto_privacy_mode";
8638
+ }, {
8639
+ message: string;
8640
+ warning_code: "salto_privacy_mode";
8641
+ }>]>, "many">;
8362
8642
  created_at: z.ZodString;
8363
8643
  is_managed: z.ZodLiteral<true>;
8364
8644
  custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
@@ -8435,10 +8715,52 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
8435
8715
  error_code: "subscription_required";
8436
8716
  is_device_error: true;
8437
8717
  })[];
8438
- warnings: {
8718
+ warnings: ({
8439
8719
  message: string;
8440
- warning_code: string;
8441
- }[];
8720
+ warning_code: "partial_backup_access_code_pool";
8721
+ } | {
8722
+ message: string;
8723
+ warning_code: "many_active_backup_codes";
8724
+ } | {
8725
+ message: string;
8726
+ warning_code: "salto_unknown_device_type";
8727
+ } | {
8728
+ message: string;
8729
+ warning_code: "salto_office_mode";
8730
+ } | {
8731
+ message: string;
8732
+ warning_code: "salto_privacy_mode";
8733
+ } | {
8734
+ message: string;
8735
+ warning_code: "wyze_device_missing_gateway";
8736
+ } | {
8737
+ message: string;
8738
+ warning_code: "functional_offline_device";
8739
+ } | {
8740
+ message: string;
8741
+ warning_code: "third_party_integration_detected";
8742
+ } | {
8743
+ message: string;
8744
+ warning_code: "nest_thermostat_in_manual_eco_mode";
8745
+ } | {
8746
+ message: string;
8747
+ warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
8748
+ } | {
8749
+ message: string;
8750
+ warning_code: "ttlock_weak_gateway_signal";
8751
+ } | {
8752
+ message: string;
8753
+ warning_code: "temperature_threshold_exceeded";
8754
+ } | {
8755
+ message: string;
8756
+ warning_code: "device_communication_degraded";
8757
+ } | {
8758
+ message: string;
8759
+ warning_code: "scheduled_maintenance_window";
8760
+ } | {
8761
+ message: string;
8762
+ warning_code: "device_has_flaky_connection";
8763
+ })[];
8442
8764
  custom_metadata: Record<string, string | boolean>;
8443
8765
  display_name: string;
8444
8766
  device_id: string;
@@ -8898,10 +9220,52 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
8898
9220
  error_code: "subscription_required";
8899
9221
  is_device_error: true;
8900
9222
  })[];
8901
- warnings: {
9223
+ warnings: ({
8902
9224
  message: string;
8903
- warning_code: string;
8904
- }[];
9225
+ warning_code: "partial_backup_access_code_pool";
9226
+ } | {
9227
+ message: string;
9228
+ warning_code: "many_active_backup_codes";
9229
+ } | {
9230
+ message: string;
9231
+ warning_code: "salto_unknown_device_type";
9232
+ } | {
9233
+ message: string;
9234
+ warning_code: "salto_office_mode";
9235
+ } | {
9236
+ message: string;
9237
+ warning_code: "salto_privacy_mode";
9238
+ } | {
9239
+ message: string;
9240
+ warning_code: "wyze_device_missing_gateway";
9241
+ } | {
9242
+ message: string;
9243
+ warning_code: "functional_offline_device";
9244
+ } | {
9245
+ message: string;
9246
+ warning_code: "third_party_integration_detected";
9247
+ } | {
9248
+ message: string;
9249
+ warning_code: "nest_thermostat_in_manual_eco_mode";
9250
+ } | {
9251
+ message: string;
9252
+ warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
9253
+ } | {
9254
+ message: string;
9255
+ warning_code: "ttlock_weak_gateway_signal";
9256
+ } | {
9257
+ message: string;
9258
+ warning_code: "temperature_threshold_exceeded";
9259
+ } | {
9260
+ message: string;
9261
+ warning_code: "device_communication_degraded";
9262
+ } | {
9263
+ message: string;
9264
+ warning_code: "scheduled_maintenance_window";
9265
+ } | {
9266
+ message: string;
9267
+ warning_code: "device_has_flaky_connection";
9268
+ })[];
8905
9269
  custom_metadata: Record<string, string | boolean>;
8906
9270
  display_name: string;
8907
9271
  device_id: string;
@@ -11431,17 +11795,157 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
11431
11795
  is_connected_account_error: true;
11432
11796
  error_code: string;
11433
11797
  }>]>, "many">;
11434
- warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11798
+ warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
11435
11799
  message: z.ZodString;
11436
11800
  }, {
11437
- warning_code: z.ZodString;
11801
+ warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
11438
11802
  }>, "strip", z.ZodTypeAny, {
11439
11803
  message: string;
11440
- warning_code: string;
11804
+ warning_code: "partial_backup_access_code_pool";
11441
11805
  }, {
11442
11806
  message: string;
11443
- warning_code: string;
11444
- }>, "many">;
11807
+ warning_code: "partial_backup_access_code_pool";
11808
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11809
+ message: z.ZodString;
11810
+ }, {
11811
+ warning_code: z.ZodLiteral<"many_active_backup_codes">;
11812
+ }>, "strip", z.ZodTypeAny, {
11813
+ message: string;
11814
+ warning_code: "many_active_backup_codes";
11815
+ }, {
11816
+ message: string;
11817
+ warning_code: "many_active_backup_codes";
11818
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11819
+ message: z.ZodString;
11820
+ }, {
11821
+ warning_code: z.ZodLiteral<"salto_unknown_device_type">;
11822
+ }>, "strip", z.ZodTypeAny, {
11823
+ message: string;
11824
+ warning_code: "salto_unknown_device_type";
11825
+ }, {
11826
+ message: string;
11827
+ warning_code: "salto_unknown_device_type";
11828
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11829
+ message: z.ZodString;
11830
+ }, {
11831
+ warning_code: z.ZodLiteral<"wyze_device_missing_gateway">;
11832
+ }>, "strip", z.ZodTypeAny, {
11833
+ message: string;
11834
+ warning_code: "wyze_device_missing_gateway";
11835
+ }, {
11836
+ message: string;
11837
+ warning_code: "wyze_device_missing_gateway";
11838
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11839
+ message: z.ZodString;
11840
+ }, {
11841
+ warning_code: z.ZodLiteral<"functional_offline_device">;
11842
+ }>, "strip", z.ZodTypeAny, {
11843
+ message: string;
11844
+ warning_code: "functional_offline_device";
11845
+ }, {
11846
+ message: string;
11847
+ warning_code: "functional_offline_device";
11848
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11849
+ message: z.ZodString;
11850
+ }, {
11851
+ warning_code: z.ZodLiteral<"third_party_integration_detected">;
11852
+ }>, "strip", z.ZodTypeAny, {
11853
+ message: string;
11854
+ warning_code: "third_party_integration_detected";
11855
+ }, {
11856
+ message: string;
11857
+ warning_code: "third_party_integration_detected";
11858
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11859
+ message: z.ZodString;
11860
+ }, {
11861
+ warning_code: z.ZodLiteral<"nest_thermostat_in_manual_eco_mode">;
11862
+ }>, "strip", z.ZodTypeAny, {
11863
+ message: string;
11864
+ warning_code: "nest_thermostat_in_manual_eco_mode";
11865
+ }, {
11866
+ message: string;
11867
+ warning_code: "nest_thermostat_in_manual_eco_mode";
11868
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11869
+ message: z.ZodString;
11870
+ }, {
11871
+ warning_code: z.ZodLiteral<"ttlock_lock_gateway_unlocking_not_enabled">;
11872
+ }>, "strip", z.ZodTypeAny, {
11873
+ message: string;
11874
+ warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
11875
+ }, {
11876
+ message: string;
11877
+ warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
11878
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11879
+ message: z.ZodString;
11880
+ }, {
11881
+ warning_code: z.ZodLiteral<"ttlock_weak_gateway_signal">;
11882
+ }>, "strip", z.ZodTypeAny, {
11883
+ message: string;
11884
+ warning_code: "ttlock_weak_gateway_signal";
11885
+ }, {
11886
+ message: string;
11887
+ warning_code: "ttlock_weak_gateway_signal";
11888
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11889
+ message: z.ZodString;
11890
+ }, {
11891
+ warning_code: z.ZodLiteral<"temperature_threshold_exceeded">;
11892
+ }>, "strip", z.ZodTypeAny, {
11893
+ message: string;
11894
+ warning_code: "temperature_threshold_exceeded";
11895
+ }, {
11896
+ message: string;
11897
+ warning_code: "temperature_threshold_exceeded";
11898
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11899
+ message: z.ZodString;
11900
+ }, {
11901
+ warning_code: z.ZodLiteral<"device_communication_degraded">;
11902
+ }>, "strip", z.ZodTypeAny, {
11903
+ message: string;
11904
+ warning_code: "device_communication_degraded";
11905
+ }, {
11906
+ message: string;
11907
+ warning_code: "device_communication_degraded";
11908
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11909
+ message: z.ZodString;
11910
+ }, {
11911
+ warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
11912
+ }>, "strip", z.ZodTypeAny, {
11913
+ message: string;
11914
+ warning_code: "scheduled_maintenance_window";
11915
+ }, {
11916
+ message: string;
11917
+ warning_code: "scheduled_maintenance_window";
11918
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11919
+ message: z.ZodString;
11920
+ }, {
11921
+ warning_code: z.ZodLiteral<"device_has_flaky_connection">;
11922
+ }>, "strip", z.ZodTypeAny, {
11923
+ message: string;
11924
+ warning_code: "device_has_flaky_connection";
11925
+ }, {
11926
+ message: string;
11927
+ warning_code: "device_has_flaky_connection";
11928
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11929
+ message: z.ZodString;
11930
+ }, {
11931
+ warning_code: z.ZodLiteral<"salto_office_mode">;
11932
+ }>, "strip", z.ZodTypeAny, {
11933
+ message: string;
11934
+ warning_code: "salto_office_mode";
11935
+ }, {
11936
+ message: string;
11937
+ warning_code: "salto_office_mode";
11938
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11939
+ message: z.ZodString;
11940
+ }, {
11941
+ warning_code: z.ZodLiteral<"salto_privacy_mode">;
11942
+ }>, "strip", z.ZodTypeAny, {
11943
+ message: string;
11944
+ warning_code: "salto_privacy_mode";
11945
+ }, {
11946
+ message: string;
11947
+ warning_code: "salto_privacy_mode";
11948
+ }>]>, "many">;
11445
11949
  created_at: z.ZodString;
11446
11950
  is_managed: z.ZodLiteral<true>;
11447
11951
  custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
@@ -11667,10 +12171,52 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
11667
12171
  error_code: "subscription_required";
11668
12172
  is_device_error: true;
11669
12173
  })[];
11670
- warnings: {
12174
+ warnings: ({
11671
12175
  message: string;
11672
- warning_code: string;
11673
- }[];
12176
+ warning_code: "partial_backup_access_code_pool";
12177
+ } | {
12178
+ message: string;
12179
+ warning_code: "many_active_backup_codes";
12180
+ } | {
12181
+ message: string;
12182
+ warning_code: "salto_unknown_device_type";
12183
+ } | {
12184
+ message: string;
12185
+ warning_code: "salto_office_mode";
12186
+ } | {
12187
+ message: string;
12188
+ warning_code: "salto_privacy_mode";
12189
+ } | {
12190
+ message: string;
12191
+ warning_code: "wyze_device_missing_gateway";
12192
+ } | {
12193
+ message: string;
12194
+ warning_code: "functional_offline_device";
12195
+ } | {
12196
+ message: string;
12197
+ warning_code: "third_party_integration_detected";
12198
+ } | {
12199
+ message: string;
12200
+ warning_code: "nest_thermostat_in_manual_eco_mode";
12201
+ } | {
12202
+ message: string;
12203
+ warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
12204
+ } | {
12205
+ message: string;
12206
+ warning_code: "ttlock_weak_gateway_signal";
12207
+ } | {
12208
+ message: string;
12209
+ warning_code: "temperature_threshold_exceeded";
12210
+ } | {
12211
+ message: string;
12212
+ warning_code: "device_communication_degraded";
12213
+ } | {
12214
+ message: string;
12215
+ warning_code: "scheduled_maintenance_window";
12216
+ } | {
12217
+ message: string;
12218
+ warning_code: "device_has_flaky_connection";
12219
+ })[];
11674
12220
  device_id: string;
11675
12221
  device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat") | ("ios_phone" | "android_phone");
11676
12222
  capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
@@ -11780,10 +12326,52 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
11780
12326
  error_code: "subscription_required";
11781
12327
  is_device_error: true;
11782
12328
  })[];
11783
- warnings: {
12329
+ warnings: ({
11784
12330
  message: string;
11785
- warning_code: string;
11786
- }[];
12331
+ warning_code: "partial_backup_access_code_pool";
12332
+ } | {
12333
+ message: string;
12334
+ warning_code: "many_active_backup_codes";
12335
+ } | {
12336
+ message: string;
12337
+ warning_code: "salto_unknown_device_type";
12338
+ } | {
12339
+ message: string;
12340
+ warning_code: "salto_office_mode";
12341
+ } | {
12342
+ message: string;
12343
+ warning_code: "salto_privacy_mode";
12344
+ } | {
12345
+ message: string;
12346
+ warning_code: "wyze_device_missing_gateway";
12347
+ } | {
12348
+ message: string;
12349
+ warning_code: "functional_offline_device";
12350
+ } | {
12351
+ message: string;
12352
+ warning_code: "third_party_integration_detected";
12353
+ } | {
12354
+ message: string;
12355
+ warning_code: "nest_thermostat_in_manual_eco_mode";
12356
+ } | {
12357
+ message: string;
12358
+ warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
12359
+ } | {
12360
+ message: string;
12361
+ warning_code: "ttlock_weak_gateway_signal";
12362
+ } | {
12363
+ message: string;
12364
+ warning_code: "temperature_threshold_exceeded";
12365
+ } | {
12366
+ message: string;
12367
+ warning_code: "device_communication_degraded";
12368
+ } | {
12369
+ message: string;
12370
+ warning_code: "scheduled_maintenance_window";
12371
+ } | {
12372
+ message: string;
12373
+ warning_code: "device_has_flaky_connection";
12374
+ })[];
11787
12375
  device_id: string;
11788
12376
  device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat") | ("ios_phone" | "android_phone");
11789
12377
  capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
@@ -18046,16 +18634,21 @@ declare const _default: {
18046
18634
  warnings: {
18047
18635
  description: string;
18048
18636
  items: {
18049
- properties: {
18050
- message: {
18051
- type: string;
18052
- };
18053
- warning_code: {
18054
- type: string;
18637
+ oneOf: {
18638
+ description: string;
18639
+ properties: {
18640
+ message: {
18641
+ type: string;
18642
+ };
18643
+ warning_code: {
18644
+ description: string;
18645
+ enum: string[];
18646
+ type: string;
18647
+ };
18055
18648
  };
18056
- };
18057
- required: string[];
18058
- type: string;
18649
+ required: string[];
18650
+ type: string;
18651
+ }[];
18059
18652
  };
18060
18653
  type: string;
18061
18654
  };
@@ -20907,16 +21500,21 @@ declare const _default: {
20907
21500
  warnings: {
20908
21501
  description: string;
20909
21502
  items: {
20910
- properties: {
20911
- message: {
20912
- type: string;
20913
- };
20914
- warning_code: {
20915
- type: string;
21503
+ oneOf: {
21504
+ description: string;
21505
+ properties: {
21506
+ message: {
21507
+ type: string;
21508
+ };
21509
+ warning_code: {
21510
+ description: string;
21511
+ enum: string[];
21512
+ type: string;
21513
+ };
20916
21514
  };
20917
- };
20918
- required: string[];
20919
- type: string;
21515
+ required: string[];
21516
+ type: string;
21517
+ }[];
20920
21518
  };
20921
21519
  type: string;
20922
21520
  };
@@ -21409,16 +22007,21 @@ declare const _default: {
21409
22007
  warnings: {
21410
22008
  description: string;
21411
22009
  items: {
21412
- properties: {
21413
- message: {
21414
- type: string;
21415
- };
21416
- warning_code: {
21417
- type: string;
22010
+ oneOf: {
22011
+ description: string;
22012
+ properties: {
22013
+ message: {
22014
+ type: string;
22015
+ };
22016
+ warning_code: {
22017
+ description: string;
22018
+ enum: string[];
22019
+ type: string;
22020
+ };
21418
22021
  };
21419
- };
21420
- required: string[];
21421
- type: string;
22022
+ required: string[];
22023
+ type: string;
22024
+ }[];
21422
22025
  };
21423
22026
  type: string;
21424
22027
  };
@@ -50075,7 +50678,64 @@ interface Routes {
50075
50678
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
50076
50679
  warnings: Array<{
50077
50680
  message: string;
50078
- warning_code: string;
50681
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50682
+ warning_code: 'partial_backup_access_code_pool';
50683
+ } | {
50684
+ message: string;
50685
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50686
+ warning_code: 'many_active_backup_codes';
50687
+ } | {
50688
+ message: string;
50689
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50690
+ warning_code: 'salto_unknown_device_type';
50691
+ } | {
50692
+ message: string;
50693
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50694
+ warning_code: 'wyze_device_missing_gateway';
50695
+ } | {
50696
+ message: string;
50697
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50698
+ warning_code: 'functional_offline_device';
50699
+ } | {
50700
+ message: string;
50701
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50702
+ warning_code: 'third_party_integration_detected';
50703
+ } | {
50704
+ message: string;
50705
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50706
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
50707
+ } | {
50708
+ message: string;
50709
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50710
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
50711
+ } | {
50712
+ message: string;
50713
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50714
+ warning_code: 'ttlock_weak_gateway_signal';
50715
+ } | {
50716
+ message: string;
50717
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50718
+ warning_code: 'temperature_threshold_exceeded';
50719
+ } | {
50720
+ message: string;
50721
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50722
+ warning_code: 'device_communication_degraded';
50723
+ } | {
50724
+ message: string;
50725
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50726
+ warning_code: 'scheduled_maintenance_window';
50727
+ } | {
50728
+ message: string;
50729
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50730
+ warning_code: 'device_has_flaky_connection';
50731
+ } | {
50732
+ message: string;
50733
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50734
+ warning_code: 'salto_office_mode';
50735
+ } | {
50736
+ message: string;
50737
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50738
+ warning_code: 'salto_privacy_mode';
50079
50739
  }>;
50080
50740
  /** Date and time at which the device object was created. */
50081
50741
  created_at: string;
@@ -50693,7 +51353,64 @@ interface Routes {
50693
51353
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
50694
51354
  warnings: Array<{
50695
51355
  message: string;
50696
- warning_code: string;
51356
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51357
+ warning_code: 'partial_backup_access_code_pool';
51358
+ } | {
51359
+ message: string;
51360
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51361
+ warning_code: 'many_active_backup_codes';
51362
+ } | {
51363
+ message: string;
51364
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51365
+ warning_code: 'salto_unknown_device_type';
51366
+ } | {
51367
+ message: string;
51368
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51369
+ warning_code: 'wyze_device_missing_gateway';
51370
+ } | {
51371
+ message: string;
51372
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51373
+ warning_code: 'functional_offline_device';
51374
+ } | {
51375
+ message: string;
51376
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51377
+ warning_code: 'third_party_integration_detected';
51378
+ } | {
51379
+ message: string;
51380
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51381
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
51382
+ } | {
51383
+ message: string;
51384
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51385
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
51386
+ } | {
51387
+ message: string;
51388
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51389
+ warning_code: 'ttlock_weak_gateway_signal';
51390
+ } | {
51391
+ message: string;
51392
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51393
+ warning_code: 'temperature_threshold_exceeded';
51394
+ } | {
51395
+ message: string;
51396
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51397
+ warning_code: 'device_communication_degraded';
51398
+ } | {
51399
+ message: string;
51400
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51401
+ warning_code: 'scheduled_maintenance_window';
51402
+ } | {
51403
+ message: string;
51404
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51405
+ warning_code: 'device_has_flaky_connection';
51406
+ } | {
51407
+ message: string;
51408
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51409
+ warning_code: 'salto_office_mode';
51410
+ } | {
51411
+ message: string;
51412
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51413
+ warning_code: 'salto_privacy_mode';
50697
51414
  }>;
50698
51415
  /** Date and time at which the device object was created. */
50699
51416
  created_at: string;
@@ -50880,7 +51597,64 @@ interface Routes {
50880
51597
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
50881
51598
  warnings: Array<{
50882
51599
  message: string;
50883
- warning_code: string;
51600
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51601
+ warning_code: 'partial_backup_access_code_pool';
51602
+ } | {
51603
+ message: string;
51604
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51605
+ warning_code: 'many_active_backup_codes';
51606
+ } | {
51607
+ message: string;
51608
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51609
+ warning_code: 'salto_unknown_device_type';
51610
+ } | {
51611
+ message: string;
51612
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51613
+ warning_code: 'wyze_device_missing_gateway';
51614
+ } | {
51615
+ message: string;
51616
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51617
+ warning_code: 'functional_offline_device';
51618
+ } | {
51619
+ message: string;
51620
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51621
+ warning_code: 'third_party_integration_detected';
51622
+ } | {
51623
+ message: string;
51624
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51625
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
51626
+ } | {
51627
+ message: string;
51628
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51629
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
51630
+ } | {
51631
+ message: string;
51632
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51633
+ warning_code: 'ttlock_weak_gateway_signal';
51634
+ } | {
51635
+ message: string;
51636
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51637
+ warning_code: 'temperature_threshold_exceeded';
51638
+ } | {
51639
+ message: string;
51640
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51641
+ warning_code: 'device_communication_degraded';
51642
+ } | {
51643
+ message: string;
51644
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51645
+ warning_code: 'scheduled_maintenance_window';
51646
+ } | {
51647
+ message: string;
51648
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51649
+ warning_code: 'device_has_flaky_connection';
51650
+ } | {
51651
+ message: string;
51652
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51653
+ warning_code: 'salto_office_mode';
51654
+ } | {
51655
+ message: string;
51656
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51657
+ warning_code: 'salto_privacy_mode';
50884
51658
  }>;
50885
51659
  /** Date and time at which the device object was created. */
50886
51660
  created_at: string;
@@ -51076,7 +51850,64 @@ interface Routes {
51076
51850
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
51077
51851
  warnings: Array<{
51078
51852
  message: string;
51079
- warning_code: string;
51853
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51854
+ warning_code: 'partial_backup_access_code_pool';
51855
+ } | {
51856
+ message: string;
51857
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51858
+ warning_code: 'many_active_backup_codes';
51859
+ } | {
51860
+ message: string;
51861
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51862
+ warning_code: 'salto_unknown_device_type';
51863
+ } | {
51864
+ message: string;
51865
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51866
+ warning_code: 'wyze_device_missing_gateway';
51867
+ } | {
51868
+ message: string;
51869
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51870
+ warning_code: 'functional_offline_device';
51871
+ } | {
51872
+ message: string;
51873
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51874
+ warning_code: 'third_party_integration_detected';
51875
+ } | {
51876
+ message: string;
51877
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51878
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
51879
+ } | {
51880
+ message: string;
51881
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51882
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
51883
+ } | {
51884
+ message: string;
51885
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51886
+ warning_code: 'ttlock_weak_gateway_signal';
51887
+ } | {
51888
+ message: string;
51889
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51890
+ warning_code: 'temperature_threshold_exceeded';
51891
+ } | {
51892
+ message: string;
51893
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51894
+ warning_code: 'device_communication_degraded';
51895
+ } | {
51896
+ message: string;
51897
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51898
+ warning_code: 'scheduled_maintenance_window';
51899
+ } | {
51900
+ message: string;
51901
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51902
+ warning_code: 'device_has_flaky_connection';
51903
+ } | {
51904
+ message: string;
51905
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51906
+ warning_code: 'salto_office_mode';
51907
+ } | {
51908
+ message: string;
51909
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51910
+ warning_code: 'salto_privacy_mode';
51080
51911
  }>;
51081
51912
  /** Date and time at which the device object was created. */
51082
51913
  created_at: string;
@@ -52372,8 +53203,8 @@ interface Routes {
52372
53203
  acs_system_ids?: string[] | undefined;
52373
53204
  access_code_id?: string | undefined;
52374
53205
  access_code_ids?: string[] | undefined;
52375
- event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_access_group.deleted' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point') | undefined;
52376
- event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_access_group.deleted' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point'> | undefined;
53206
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
53207
+ event_types?: Array<'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'enrollment_automation.deleted' | 'phone.deactivated'> | undefined;
52377
53208
  connected_account_id?: string | undefined;
52378
53209
  connect_webview_id?: string | undefined;
52379
53210
  limit?: number;
@@ -54123,7 +54954,64 @@ interface Routes {
54123
54954
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
54124
54955
  warnings: Array<{
54125
54956
  message: string;
54126
- warning_code: string;
54957
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54958
+ warning_code: 'partial_backup_access_code_pool';
54959
+ } | {
54960
+ message: string;
54961
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54962
+ warning_code: 'many_active_backup_codes';
54963
+ } | {
54964
+ message: string;
54965
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54966
+ warning_code: 'salto_unknown_device_type';
54967
+ } | {
54968
+ message: string;
54969
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54970
+ warning_code: 'wyze_device_missing_gateway';
54971
+ } | {
54972
+ message: string;
54973
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54974
+ warning_code: 'functional_offline_device';
54975
+ } | {
54976
+ message: string;
54977
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54978
+ warning_code: 'third_party_integration_detected';
54979
+ } | {
54980
+ message: string;
54981
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54982
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
54983
+ } | {
54984
+ message: string;
54985
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54986
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
54987
+ } | {
54988
+ message: string;
54989
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54990
+ warning_code: 'ttlock_weak_gateway_signal';
54991
+ } | {
54992
+ message: string;
54993
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54994
+ warning_code: 'temperature_threshold_exceeded';
54995
+ } | {
54996
+ message: string;
54997
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54998
+ warning_code: 'device_communication_degraded';
54999
+ } | {
55000
+ message: string;
55001
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55002
+ warning_code: 'scheduled_maintenance_window';
55003
+ } | {
55004
+ message: string;
55005
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55006
+ warning_code: 'device_has_flaky_connection';
55007
+ } | {
55008
+ message: string;
55009
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55010
+ warning_code: 'salto_office_mode';
55011
+ } | {
55012
+ message: string;
55013
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55014
+ warning_code: 'salto_privacy_mode';
54127
55015
  }>;
54128
55016
  /** Date and time at which the device object was created. */
54129
55017
  created_at: string;
@@ -54705,7 +55593,64 @@ interface Routes {
54705
55593
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
54706
55594
  warnings: Array<{
54707
55595
  message: string;
54708
- warning_code: string;
55596
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55597
+ warning_code: 'partial_backup_access_code_pool';
55598
+ } | {
55599
+ message: string;
55600
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55601
+ warning_code: 'many_active_backup_codes';
55602
+ } | {
55603
+ message: string;
55604
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55605
+ warning_code: 'salto_unknown_device_type';
55606
+ } | {
55607
+ message: string;
55608
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55609
+ warning_code: 'wyze_device_missing_gateway';
55610
+ } | {
55611
+ message: string;
55612
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55613
+ warning_code: 'functional_offline_device';
55614
+ } | {
55615
+ message: string;
55616
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55617
+ warning_code: 'third_party_integration_detected';
55618
+ } | {
55619
+ message: string;
55620
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55621
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
55622
+ } | {
55623
+ message: string;
55624
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55625
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
55626
+ } | {
55627
+ message: string;
55628
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55629
+ warning_code: 'ttlock_weak_gateway_signal';
55630
+ } | {
55631
+ message: string;
55632
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55633
+ warning_code: 'temperature_threshold_exceeded';
55634
+ } | {
55635
+ message: string;
55636
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55637
+ warning_code: 'device_communication_degraded';
55638
+ } | {
55639
+ message: string;
55640
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55641
+ warning_code: 'scheduled_maintenance_window';
55642
+ } | {
55643
+ message: string;
55644
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55645
+ warning_code: 'device_has_flaky_connection';
55646
+ } | {
55647
+ message: string;
55648
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55649
+ warning_code: 'salto_office_mode';
55650
+ } | {
55651
+ message: string;
55652
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55653
+ warning_code: 'salto_privacy_mode';
54709
55654
  }>;
54710
55655
  /** Date and time at which the device object was created. */
54711
55656
  created_at: string;
@@ -55323,7 +56268,64 @@ interface Routes {
55323
56268
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
55324
56269
  warnings: Array<{
55325
56270
  message: string;
55326
- warning_code: string;
56271
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56272
+ warning_code: 'partial_backup_access_code_pool';
56273
+ } | {
56274
+ message: string;
56275
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56276
+ warning_code: 'many_active_backup_codes';
56277
+ } | {
56278
+ message: string;
56279
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56280
+ warning_code: 'salto_unknown_device_type';
56281
+ } | {
56282
+ message: string;
56283
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56284
+ warning_code: 'wyze_device_missing_gateway';
56285
+ } | {
56286
+ message: string;
56287
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56288
+ warning_code: 'functional_offline_device';
56289
+ } | {
56290
+ message: string;
56291
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56292
+ warning_code: 'third_party_integration_detected';
56293
+ } | {
56294
+ message: string;
56295
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56296
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
56297
+ } | {
56298
+ message: string;
56299
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56300
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
56301
+ } | {
56302
+ message: string;
56303
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56304
+ warning_code: 'ttlock_weak_gateway_signal';
56305
+ } | {
56306
+ message: string;
56307
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56308
+ warning_code: 'temperature_threshold_exceeded';
56309
+ } | {
56310
+ message: string;
56311
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56312
+ warning_code: 'device_communication_degraded';
56313
+ } | {
56314
+ message: string;
56315
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56316
+ warning_code: 'scheduled_maintenance_window';
56317
+ } | {
56318
+ message: string;
56319
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56320
+ warning_code: 'device_has_flaky_connection';
56321
+ } | {
56322
+ message: string;
56323
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56324
+ warning_code: 'salto_office_mode';
56325
+ } | {
56326
+ message: string;
56327
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56328
+ warning_code: 'salto_privacy_mode';
55327
56329
  }>;
55328
56330
  /** Date and time at which the device object was created. */
55329
56331
  created_at: string;
@@ -55904,7 +56906,64 @@ interface Routes {
55904
56906
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
55905
56907
  warnings: Array<{
55906
56908
  message: string;
55907
- warning_code: string;
56909
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56910
+ warning_code: 'partial_backup_access_code_pool';
56911
+ } | {
56912
+ message: string;
56913
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56914
+ warning_code: 'many_active_backup_codes';
56915
+ } | {
56916
+ message: string;
56917
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56918
+ warning_code: 'salto_unknown_device_type';
56919
+ } | {
56920
+ message: string;
56921
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56922
+ warning_code: 'wyze_device_missing_gateway';
56923
+ } | {
56924
+ message: string;
56925
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56926
+ warning_code: 'functional_offline_device';
56927
+ } | {
56928
+ message: string;
56929
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56930
+ warning_code: 'third_party_integration_detected';
56931
+ } | {
56932
+ message: string;
56933
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56934
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
56935
+ } | {
56936
+ message: string;
56937
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56938
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
56939
+ } | {
56940
+ message: string;
56941
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56942
+ warning_code: 'ttlock_weak_gateway_signal';
56943
+ } | {
56944
+ message: string;
56945
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56946
+ warning_code: 'temperature_threshold_exceeded';
56947
+ } | {
56948
+ message: string;
56949
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56950
+ warning_code: 'device_communication_degraded';
56951
+ } | {
56952
+ message: string;
56953
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56954
+ warning_code: 'scheduled_maintenance_window';
56955
+ } | {
56956
+ message: string;
56957
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56958
+ warning_code: 'device_has_flaky_connection';
56959
+ } | {
56960
+ message: string;
56961
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56962
+ warning_code: 'salto_office_mode';
56963
+ } | {
56964
+ message: string;
56965
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56966
+ warning_code: 'salto_privacy_mode';
55908
56967
  }>;
55909
56968
  /** Date and time at which the device object was created. */
55910
56969
  created_at: string;
@@ -58225,7 +59284,64 @@ interface Routes {
58225
59284
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
58226
59285
  warnings: Array<{
58227
59286
  message: string;
58228
- warning_code: string;
59287
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59288
+ warning_code: 'partial_backup_access_code_pool';
59289
+ } | {
59290
+ message: string;
59291
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59292
+ warning_code: 'many_active_backup_codes';
59293
+ } | {
59294
+ message: string;
59295
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59296
+ warning_code: 'salto_unknown_device_type';
59297
+ } | {
59298
+ message: string;
59299
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59300
+ warning_code: 'wyze_device_missing_gateway';
59301
+ } | {
59302
+ message: string;
59303
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59304
+ warning_code: 'functional_offline_device';
59305
+ } | {
59306
+ message: string;
59307
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59308
+ warning_code: 'third_party_integration_detected';
59309
+ } | {
59310
+ message: string;
59311
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59312
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
59313
+ } | {
59314
+ message: string;
59315
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59316
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
59317
+ } | {
59318
+ message: string;
59319
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59320
+ warning_code: 'ttlock_weak_gateway_signal';
59321
+ } | {
59322
+ message: string;
59323
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59324
+ warning_code: 'temperature_threshold_exceeded';
59325
+ } | {
59326
+ message: string;
59327
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59328
+ warning_code: 'device_communication_degraded';
59329
+ } | {
59330
+ message: string;
59331
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59332
+ warning_code: 'scheduled_maintenance_window';
59333
+ } | {
59334
+ message: string;
59335
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59336
+ warning_code: 'device_has_flaky_connection';
59337
+ } | {
59338
+ message: string;
59339
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59340
+ warning_code: 'salto_office_mode';
59341
+ } | {
59342
+ message: string;
59343
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59344
+ warning_code: 'salto_privacy_mode';
58229
59345
  }>;
58230
59346
  /** Date and time at which the device object was created. */
58231
59347
  created_at: string;
@@ -58806,7 +59922,64 @@ interface Routes {
58806
59922
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
58807
59923
  warnings: Array<{
58808
59924
  message: string;
58809
- warning_code: string;
59925
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59926
+ warning_code: 'partial_backup_access_code_pool';
59927
+ } | {
59928
+ message: string;
59929
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59930
+ warning_code: 'many_active_backup_codes';
59931
+ } | {
59932
+ message: string;
59933
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59934
+ warning_code: 'salto_unknown_device_type';
59935
+ } | {
59936
+ message: string;
59937
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59938
+ warning_code: 'wyze_device_missing_gateway';
59939
+ } | {
59940
+ message: string;
59941
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59942
+ warning_code: 'functional_offline_device';
59943
+ } | {
59944
+ message: string;
59945
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59946
+ warning_code: 'third_party_integration_detected';
59947
+ } | {
59948
+ message: string;
59949
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59950
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
59951
+ } | {
59952
+ message: string;
59953
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59954
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
59955
+ } | {
59956
+ message: string;
59957
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59958
+ warning_code: 'ttlock_weak_gateway_signal';
59959
+ } | {
59960
+ message: string;
59961
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59962
+ warning_code: 'temperature_threshold_exceeded';
59963
+ } | {
59964
+ message: string;
59965
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59966
+ warning_code: 'device_communication_degraded';
59967
+ } | {
59968
+ message: string;
59969
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59970
+ warning_code: 'scheduled_maintenance_window';
59971
+ } | {
59972
+ message: string;
59973
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59974
+ warning_code: 'device_has_flaky_connection';
59975
+ } | {
59976
+ message: string;
59977
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59978
+ warning_code: 'salto_office_mode';
59979
+ } | {
59980
+ message: string;
59981
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59982
+ warning_code: 'salto_privacy_mode';
58810
59983
  }>;
58811
59984
  /** Date and time at which the device object was created. */
58812
59985
  created_at: string;
@@ -61530,7 +62703,64 @@ interface Routes {
61530
62703
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
61531
62704
  warnings: Array<{
61532
62705
  message: string;
61533
- warning_code: string;
62706
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62707
+ warning_code: 'partial_backup_access_code_pool';
62708
+ } | {
62709
+ message: string;
62710
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62711
+ warning_code: 'many_active_backup_codes';
62712
+ } | {
62713
+ message: string;
62714
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62715
+ warning_code: 'salto_unknown_device_type';
62716
+ } | {
62717
+ message: string;
62718
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62719
+ warning_code: 'wyze_device_missing_gateway';
62720
+ } | {
62721
+ message: string;
62722
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62723
+ warning_code: 'functional_offline_device';
62724
+ } | {
62725
+ message: string;
62726
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62727
+ warning_code: 'third_party_integration_detected';
62728
+ } | {
62729
+ message: string;
62730
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62731
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
62732
+ } | {
62733
+ message: string;
62734
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62735
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
62736
+ } | {
62737
+ message: string;
62738
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62739
+ warning_code: 'ttlock_weak_gateway_signal';
62740
+ } | {
62741
+ message: string;
62742
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62743
+ warning_code: 'temperature_threshold_exceeded';
62744
+ } | {
62745
+ message: string;
62746
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62747
+ warning_code: 'device_communication_degraded';
62748
+ } | {
62749
+ message: string;
62750
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62751
+ warning_code: 'scheduled_maintenance_window';
62752
+ } | {
62753
+ message: string;
62754
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62755
+ warning_code: 'device_has_flaky_connection';
62756
+ } | {
62757
+ message: string;
62758
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62759
+ warning_code: 'salto_office_mode';
62760
+ } | {
62761
+ message: string;
62762
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62763
+ warning_code: 'salto_privacy_mode';
61534
62764
  }>;
61535
62765
  /** Date and time at which the device object was created. */
61536
62766
  created_at: string;
@@ -61679,7 +62909,64 @@ interface Routes {
61679
62909
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
61680
62910
  warnings: Array<{
61681
62911
  message: string;
61682
- warning_code: string;
62912
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62913
+ warning_code: 'partial_backup_access_code_pool';
62914
+ } | {
62915
+ message: string;
62916
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62917
+ warning_code: 'many_active_backup_codes';
62918
+ } | {
62919
+ message: string;
62920
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62921
+ warning_code: 'salto_unknown_device_type';
62922
+ } | {
62923
+ message: string;
62924
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62925
+ warning_code: 'wyze_device_missing_gateway';
62926
+ } | {
62927
+ message: string;
62928
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62929
+ warning_code: 'functional_offline_device';
62930
+ } | {
62931
+ message: string;
62932
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62933
+ warning_code: 'third_party_integration_detected';
62934
+ } | {
62935
+ message: string;
62936
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62937
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
62938
+ } | {
62939
+ message: string;
62940
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62941
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
62942
+ } | {
62943
+ message: string;
62944
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62945
+ warning_code: 'ttlock_weak_gateway_signal';
62946
+ } | {
62947
+ message: string;
62948
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62949
+ warning_code: 'temperature_threshold_exceeded';
62950
+ } | {
62951
+ message: string;
62952
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62953
+ warning_code: 'device_communication_degraded';
62954
+ } | {
62955
+ message: string;
62956
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62957
+ warning_code: 'scheduled_maintenance_window';
62958
+ } | {
62959
+ message: string;
62960
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62961
+ warning_code: 'device_has_flaky_connection';
62962
+ } | {
62963
+ message: string;
62964
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62965
+ warning_code: 'salto_office_mode';
62966
+ } | {
62967
+ message: string;
62968
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62969
+ warning_code: 'salto_privacy_mode';
61683
62970
  }>;
61684
62971
  /** Date and time at which the device object was created. */
61685
62972
  created_at: string;
@@ -63997,7 +65284,64 @@ interface Routes {
63997
65284
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
63998
65285
  warnings: Array<{
63999
65286
  message: string;
64000
- warning_code: string;
65287
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65288
+ warning_code: 'partial_backup_access_code_pool';
65289
+ } | {
65290
+ message: string;
65291
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65292
+ warning_code: 'many_active_backup_codes';
65293
+ } | {
65294
+ message: string;
65295
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65296
+ warning_code: 'salto_unknown_device_type';
65297
+ } | {
65298
+ message: string;
65299
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65300
+ warning_code: 'wyze_device_missing_gateway';
65301
+ } | {
65302
+ message: string;
65303
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65304
+ warning_code: 'functional_offline_device';
65305
+ } | {
65306
+ message: string;
65307
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65308
+ warning_code: 'third_party_integration_detected';
65309
+ } | {
65310
+ message: string;
65311
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65312
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
65313
+ } | {
65314
+ message: string;
65315
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65316
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
65317
+ } | {
65318
+ message: string;
65319
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65320
+ warning_code: 'ttlock_weak_gateway_signal';
65321
+ } | {
65322
+ message: string;
65323
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65324
+ warning_code: 'temperature_threshold_exceeded';
65325
+ } | {
65326
+ message: string;
65327
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65328
+ warning_code: 'device_communication_degraded';
65329
+ } | {
65330
+ message: string;
65331
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65332
+ warning_code: 'scheduled_maintenance_window';
65333
+ } | {
65334
+ message: string;
65335
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65336
+ warning_code: 'device_has_flaky_connection';
65337
+ } | {
65338
+ message: string;
65339
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65340
+ warning_code: 'salto_office_mode';
65341
+ } | {
65342
+ message: string;
65343
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
65344
+ warning_code: 'salto_privacy_mode';
64001
65345
  }>;
64002
65346
  /** Date and time at which the device object was created. */
64003
65347
  created_at: string;
@@ -66299,7 +67643,64 @@ interface Routes {
66299
67643
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
66300
67644
  warnings: Array<{
66301
67645
  message: string;
66302
- warning_code: string;
67646
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67647
+ warning_code: 'partial_backup_access_code_pool';
67648
+ } | {
67649
+ message: string;
67650
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67651
+ warning_code: 'many_active_backup_codes';
67652
+ } | {
67653
+ message: string;
67654
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67655
+ warning_code: 'salto_unknown_device_type';
67656
+ } | {
67657
+ message: string;
67658
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67659
+ warning_code: 'wyze_device_missing_gateway';
67660
+ } | {
67661
+ message: string;
67662
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67663
+ warning_code: 'functional_offline_device';
67664
+ } | {
67665
+ message: string;
67666
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67667
+ warning_code: 'third_party_integration_detected';
67668
+ } | {
67669
+ message: string;
67670
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67671
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
67672
+ } | {
67673
+ message: string;
67674
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67675
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
67676
+ } | {
67677
+ message: string;
67678
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67679
+ warning_code: 'ttlock_weak_gateway_signal';
67680
+ } | {
67681
+ message: string;
67682
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67683
+ warning_code: 'temperature_threshold_exceeded';
67684
+ } | {
67685
+ message: string;
67686
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67687
+ warning_code: 'device_communication_degraded';
67688
+ } | {
67689
+ message: string;
67690
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67691
+ warning_code: 'scheduled_maintenance_window';
67692
+ } | {
67693
+ message: string;
67694
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67695
+ warning_code: 'device_has_flaky_connection';
67696
+ } | {
67697
+ message: string;
67698
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67699
+ warning_code: 'salto_office_mode';
67700
+ } | {
67701
+ message: string;
67702
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
67703
+ warning_code: 'salto_privacy_mode';
66303
67704
  }>;
66304
67705
  /** Date and time at which the device object was created. */
66305
67706
  created_at: string;
@@ -66880,7 +68281,64 @@ interface Routes {
66880
68281
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
66881
68282
  warnings: Array<{
66882
68283
  message: string;
66883
- warning_code: string;
68284
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68285
+ warning_code: 'partial_backup_access_code_pool';
68286
+ } | {
68287
+ message: string;
68288
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68289
+ warning_code: 'many_active_backup_codes';
68290
+ } | {
68291
+ message: string;
68292
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68293
+ warning_code: 'salto_unknown_device_type';
68294
+ } | {
68295
+ message: string;
68296
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68297
+ warning_code: 'wyze_device_missing_gateway';
68298
+ } | {
68299
+ message: string;
68300
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68301
+ warning_code: 'functional_offline_device';
68302
+ } | {
68303
+ message: string;
68304
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68305
+ warning_code: 'third_party_integration_detected';
68306
+ } | {
68307
+ message: string;
68308
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68309
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
68310
+ } | {
68311
+ message: string;
68312
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68313
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
68314
+ } | {
68315
+ message: string;
68316
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68317
+ warning_code: 'ttlock_weak_gateway_signal';
68318
+ } | {
68319
+ message: string;
68320
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68321
+ warning_code: 'temperature_threshold_exceeded';
68322
+ } | {
68323
+ message: string;
68324
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68325
+ warning_code: 'device_communication_degraded';
68326
+ } | {
68327
+ message: string;
68328
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68329
+ warning_code: 'scheduled_maintenance_window';
68330
+ } | {
68331
+ message: string;
68332
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68333
+ warning_code: 'device_has_flaky_connection';
68334
+ } | {
68335
+ message: string;
68336
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68337
+ warning_code: 'salto_office_mode';
68338
+ } | {
68339
+ message: string;
68340
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68341
+ warning_code: 'salto_privacy_mode';
66884
68342
  }>;
66885
68343
  /** Date and time at which the device object was created. */
66886
68344
  created_at: string;
@@ -70472,7 +71930,64 @@ interface Routes {
70472
71930
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
70473
71931
  warnings: Array<{
70474
71932
  message: string;
70475
- warning_code: string;
71933
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71934
+ warning_code: 'partial_backup_access_code_pool';
71935
+ } | {
71936
+ message: string;
71937
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71938
+ warning_code: 'many_active_backup_codes';
71939
+ } | {
71940
+ message: string;
71941
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71942
+ warning_code: 'salto_unknown_device_type';
71943
+ } | {
71944
+ message: string;
71945
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71946
+ warning_code: 'wyze_device_missing_gateway';
71947
+ } | {
71948
+ message: string;
71949
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71950
+ warning_code: 'functional_offline_device';
71951
+ } | {
71952
+ message: string;
71953
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71954
+ warning_code: 'third_party_integration_detected';
71955
+ } | {
71956
+ message: string;
71957
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71958
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
71959
+ } | {
71960
+ message: string;
71961
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71962
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
71963
+ } | {
71964
+ message: string;
71965
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71966
+ warning_code: 'ttlock_weak_gateway_signal';
71967
+ } | {
71968
+ message: string;
71969
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71970
+ warning_code: 'temperature_threshold_exceeded';
71971
+ } | {
71972
+ message: string;
71973
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71974
+ warning_code: 'device_communication_degraded';
71975
+ } | {
71976
+ message: string;
71977
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71978
+ warning_code: 'scheduled_maintenance_window';
71979
+ } | {
71980
+ message: string;
71981
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71982
+ warning_code: 'device_has_flaky_connection';
71983
+ } | {
71984
+ message: string;
71985
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71986
+ warning_code: 'salto_office_mode';
71987
+ } | {
71988
+ message: string;
71989
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71990
+ warning_code: 'salto_privacy_mode';
70476
71991
  }>;
70477
71992
  /** Date and time at which the device object was created. */
70478
71993
  created_at: string;
@@ -71055,7 +72570,64 @@ interface Routes {
71055
72570
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
71056
72571
  warnings: Array<{
71057
72572
  message: string;
71058
- warning_code: string;
72573
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72574
+ warning_code: 'partial_backup_access_code_pool';
72575
+ } | {
72576
+ message: string;
72577
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72578
+ warning_code: 'many_active_backup_codes';
72579
+ } | {
72580
+ message: string;
72581
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72582
+ warning_code: 'salto_unknown_device_type';
72583
+ } | {
72584
+ message: string;
72585
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72586
+ warning_code: 'wyze_device_missing_gateway';
72587
+ } | {
72588
+ message: string;
72589
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72590
+ warning_code: 'functional_offline_device';
72591
+ } | {
72592
+ message: string;
72593
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72594
+ warning_code: 'third_party_integration_detected';
72595
+ } | {
72596
+ message: string;
72597
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72598
+ warning_code: 'nest_thermostat_in_manual_eco_mode';
72599
+ } | {
72600
+ message: string;
72601
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72602
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
72603
+ } | {
72604
+ message: string;
72605
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72606
+ warning_code: 'ttlock_weak_gateway_signal';
72607
+ } | {
72608
+ message: string;
72609
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72610
+ warning_code: 'temperature_threshold_exceeded';
72611
+ } | {
72612
+ message: string;
72613
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72614
+ warning_code: 'device_communication_degraded';
72615
+ } | {
72616
+ message: string;
72617
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72618
+ warning_code: 'scheduled_maintenance_window';
72619
+ } | {
72620
+ message: string;
72621
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72622
+ warning_code: 'device_has_flaky_connection';
72623
+ } | {
72624
+ message: string;
72625
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72626
+ warning_code: 'salto_office_mode';
72627
+ } | {
72628
+ message: string;
72629
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72630
+ warning_code: 'salto_privacy_mode';
71059
72631
  }>;
71060
72632
  /** Date and time at which the device object was created. */
71061
72633
  created_at: string;