@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
@@ -14456,10 +14456,83 @@ export interface Routes {
14456
14456
  }
14457
14457
  >
14458
14458
  /** 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. */
14459
- warnings: Array<{
14460
- message: string
14461
- warning_code: string
14462
- }>
14459
+ warnings: Array<
14460
+ | {
14461
+ message: string
14462
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14463
+ warning_code: 'partial_backup_access_code_pool'
14464
+ }
14465
+ | {
14466
+ message: string
14467
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14468
+ warning_code: 'many_active_backup_codes'
14469
+ }
14470
+ | {
14471
+ message: string
14472
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14473
+ warning_code: 'salto_unknown_device_type'
14474
+ }
14475
+ | {
14476
+ message: string
14477
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14478
+ warning_code: 'wyze_device_missing_gateway'
14479
+ }
14480
+ | {
14481
+ message: string
14482
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14483
+ warning_code: 'functional_offline_device'
14484
+ }
14485
+ | {
14486
+ message: string
14487
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14488
+ warning_code: 'third_party_integration_detected'
14489
+ }
14490
+ | {
14491
+ message: string
14492
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14493
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
14494
+ }
14495
+ | {
14496
+ message: string
14497
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14498
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
14499
+ }
14500
+ | {
14501
+ message: string
14502
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14503
+ warning_code: 'ttlock_weak_gateway_signal'
14504
+ }
14505
+ | {
14506
+ message: string
14507
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14508
+ warning_code: 'temperature_threshold_exceeded'
14509
+ }
14510
+ | {
14511
+ message: string
14512
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14513
+ warning_code: 'device_communication_degraded'
14514
+ }
14515
+ | {
14516
+ message: string
14517
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14518
+ warning_code: 'scheduled_maintenance_window'
14519
+ }
14520
+ | {
14521
+ message: string
14522
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14523
+ warning_code: 'device_has_flaky_connection'
14524
+ }
14525
+ | {
14526
+ message: string
14527
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14528
+ warning_code: 'salto_office_mode'
14529
+ }
14530
+ | {
14531
+ message: string
14532
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14533
+ warning_code: 'salto_privacy_mode'
14534
+ }
14535
+ >
14463
14536
  /** Date and time at which the device object was created. */
14464
14537
  created_at: string
14465
14538
  /** Indicates whether Seam manages the device. */
@@ -15420,10 +15493,83 @@ export interface Routes {
15420
15493
  }
15421
15494
  >
15422
15495
  /** 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. */
15423
- warnings: Array<{
15424
- message: string
15425
- warning_code: string
15426
- }>
15496
+ warnings: Array<
15497
+ | {
15498
+ message: string
15499
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15500
+ warning_code: 'partial_backup_access_code_pool'
15501
+ }
15502
+ | {
15503
+ message: string
15504
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15505
+ warning_code: 'many_active_backup_codes'
15506
+ }
15507
+ | {
15508
+ message: string
15509
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15510
+ warning_code: 'salto_unknown_device_type'
15511
+ }
15512
+ | {
15513
+ message: string
15514
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15515
+ warning_code: 'wyze_device_missing_gateway'
15516
+ }
15517
+ | {
15518
+ message: string
15519
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15520
+ warning_code: 'functional_offline_device'
15521
+ }
15522
+ | {
15523
+ message: string
15524
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15525
+ warning_code: 'third_party_integration_detected'
15526
+ }
15527
+ | {
15528
+ message: string
15529
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15530
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
15531
+ }
15532
+ | {
15533
+ message: string
15534
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15535
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
15536
+ }
15537
+ | {
15538
+ message: string
15539
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15540
+ warning_code: 'ttlock_weak_gateway_signal'
15541
+ }
15542
+ | {
15543
+ message: string
15544
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15545
+ warning_code: 'temperature_threshold_exceeded'
15546
+ }
15547
+ | {
15548
+ message: string
15549
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15550
+ warning_code: 'device_communication_degraded'
15551
+ }
15552
+ | {
15553
+ message: string
15554
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15555
+ warning_code: 'scheduled_maintenance_window'
15556
+ }
15557
+ | {
15558
+ message: string
15559
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15560
+ warning_code: 'device_has_flaky_connection'
15561
+ }
15562
+ | {
15563
+ message: string
15564
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15565
+ warning_code: 'salto_office_mode'
15566
+ }
15567
+ | {
15568
+ message: string
15569
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15570
+ warning_code: 'salto_privacy_mode'
15571
+ }
15572
+ >
15427
15573
  /** Date and time at which the device object was created. */
15428
15574
  created_at: string
15429
15575
  /** Indicates whether Seam manages the device. */
@@ -15727,10 +15873,83 @@ export interface Routes {
15727
15873
  }
15728
15874
  >
15729
15875
  /** 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. */
15730
- warnings: Array<{
15731
- message: string
15732
- warning_code: string
15733
- }>
15876
+ warnings: Array<
15877
+ | {
15878
+ message: string
15879
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15880
+ warning_code: 'partial_backup_access_code_pool'
15881
+ }
15882
+ | {
15883
+ message: string
15884
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15885
+ warning_code: 'many_active_backup_codes'
15886
+ }
15887
+ | {
15888
+ message: string
15889
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15890
+ warning_code: 'salto_unknown_device_type'
15891
+ }
15892
+ | {
15893
+ message: string
15894
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15895
+ warning_code: 'wyze_device_missing_gateway'
15896
+ }
15897
+ | {
15898
+ message: string
15899
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15900
+ warning_code: 'functional_offline_device'
15901
+ }
15902
+ | {
15903
+ message: string
15904
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15905
+ warning_code: 'third_party_integration_detected'
15906
+ }
15907
+ | {
15908
+ message: string
15909
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15910
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
15911
+ }
15912
+ | {
15913
+ message: string
15914
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15915
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
15916
+ }
15917
+ | {
15918
+ message: string
15919
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15920
+ warning_code: 'ttlock_weak_gateway_signal'
15921
+ }
15922
+ | {
15923
+ message: string
15924
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15925
+ warning_code: 'temperature_threshold_exceeded'
15926
+ }
15927
+ | {
15928
+ message: string
15929
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15930
+ warning_code: 'device_communication_degraded'
15931
+ }
15932
+ | {
15933
+ message: string
15934
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15935
+ warning_code: 'scheduled_maintenance_window'
15936
+ }
15937
+ | {
15938
+ message: string
15939
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15940
+ warning_code: 'device_has_flaky_connection'
15941
+ }
15942
+ | {
15943
+ message: string
15944
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15945
+ warning_code: 'salto_office_mode'
15946
+ }
15947
+ | {
15948
+ message: string
15949
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15950
+ warning_code: 'salto_privacy_mode'
15951
+ }
15952
+ >
15734
15953
  /** Date and time at which the device object was created. */
15735
15954
  created_at: string
15736
15955
  is_managed: false
@@ -16137,10 +16356,83 @@ export interface Routes {
16137
16356
  }
16138
16357
  >
16139
16358
  /** 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. */
16140
- warnings: Array<{
16141
- message: string
16142
- warning_code: string
16143
- }>
16359
+ warnings: Array<
16360
+ | {
16361
+ message: string
16362
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16363
+ warning_code: 'partial_backup_access_code_pool'
16364
+ }
16365
+ | {
16366
+ message: string
16367
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16368
+ warning_code: 'many_active_backup_codes'
16369
+ }
16370
+ | {
16371
+ message: string
16372
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16373
+ warning_code: 'salto_unknown_device_type'
16374
+ }
16375
+ | {
16376
+ message: string
16377
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16378
+ warning_code: 'wyze_device_missing_gateway'
16379
+ }
16380
+ | {
16381
+ message: string
16382
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16383
+ warning_code: 'functional_offline_device'
16384
+ }
16385
+ | {
16386
+ message: string
16387
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16388
+ warning_code: 'third_party_integration_detected'
16389
+ }
16390
+ | {
16391
+ message: string
16392
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16393
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
16394
+ }
16395
+ | {
16396
+ message: string
16397
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16398
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
16399
+ }
16400
+ | {
16401
+ message: string
16402
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16403
+ warning_code: 'ttlock_weak_gateway_signal'
16404
+ }
16405
+ | {
16406
+ message: string
16407
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16408
+ warning_code: 'temperature_threshold_exceeded'
16409
+ }
16410
+ | {
16411
+ message: string
16412
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16413
+ warning_code: 'device_communication_degraded'
16414
+ }
16415
+ | {
16416
+ message: string
16417
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16418
+ warning_code: 'scheduled_maintenance_window'
16419
+ }
16420
+ | {
16421
+ message: string
16422
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16423
+ warning_code: 'device_has_flaky_connection'
16424
+ }
16425
+ | {
16426
+ message: string
16427
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16428
+ warning_code: 'salto_office_mode'
16429
+ }
16430
+ | {
16431
+ message: string
16432
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16433
+ warning_code: 'salto_privacy_mode'
16434
+ }
16435
+ >
16144
16436
  /** Date and time at which the device object was created. */
16145
16437
  created_at: string
16146
16438
  is_managed: false
@@ -17540,100 +17832,61 @@ export interface Routes {
17540
17832
  acs_system_ids?: string[] | undefined
17541
17833
  access_code_id?: string | undefined
17542
17834
  access_code_ids?: string[] | undefined
17543
- event_type?:
17544
- | (
17545
- | 'device.accessory_keypad_connected'
17546
- | 'device.accessory_keypad_disconnected'
17547
- | 'device.added'
17548
- | 'device.connected'
17549
- | 'device.unmanaged.connected'
17550
- | 'device.disconnected'
17551
- | 'device.unmanaged.disconnected'
17552
- | 'device.converted_to_unmanaged'
17553
- | 'device.unmanaged.converted_to_managed'
17554
- | 'device.removed'
17555
- | 'device.deleted'
17556
- | 'device.tampered'
17557
- | 'device.low_battery'
17558
- | 'device.battery_status_changed'
17559
- | 'device.third_party_integration_detected'
17560
- | 'device.third_party_integration_no_longer_detected'
17561
- | 'device.salto.privacy_mode_activated'
17562
- | 'device.salto.privacy_mode_deactivated'
17563
- | 'device.connection_became_flaky'
17564
- | 'device.connection_stabilized'
17565
- | 'device.error.subscription_required'
17566
- | 'device.error.subscription_required.resolved'
17835
+ event_type?:
17836
+ | (
17567
17837
  | 'access_code.created'
17568
17838
  | 'access_code.changed'
17569
17839
  | 'access_code.scheduled_on_device'
17570
17840
  | 'access_code.set_on_device'
17571
- | 'access_code.deleted'
17572
17841
  | 'access_code.removed_from_device'
17573
- | 'access_code.failed_to_set_on_device'
17574
17842
  | 'access_code.delay_in_setting_on_device'
17575
- | 'access_code.failed_to_remove_from_device'
17843
+ | 'access_code.failed_to_set_on_device'
17844
+ | 'access_code.deleted'
17576
17845
  | 'access_code.delay_in_removing_from_device'
17577
- | 'access_code.deleted_external_to_seam'
17846
+ | 'access_code.failed_to_remove_from_device'
17578
17847
  | 'access_code.modified_external_to_seam'
17848
+ | 'access_code.deleted_external_to_seam'
17849
+ | 'access_code.backup_access_code_pulled'
17579
17850
  | 'access_code.unmanaged.converted_to_managed'
17580
17851
  | 'access_code.unmanaged.failed_to_convert_to_managed'
17581
17852
  | 'access_code.unmanaged.created'
17582
17853
  | 'access_code.unmanaged.removed'
17583
- | 'lock.locked'
17584
- | 'lock.unlocked'
17585
- | 'lock.access_denied'
17586
- | 'phone.deactivated'
17587
- | 'connected_account.connected'
17588
- | 'connected_account.successful_login'
17589
- | 'connected_account.created'
17590
- | 'connected_account.deleted'
17591
- | 'connected_account.disconnected'
17592
- | 'connected_account.completed_first_sync'
17593
- | 'connected_account.completed_first_sync_after_reconnection'
17594
- | 'connect_webview.login_succeeded'
17595
- | 'connect_webview.login_failed'
17596
- | 'noise_sensor.noise_threshold_triggered'
17597
- | 'access_code.backup_access_code_pulled'
17598
- | 'acs_system.added'
17599
17854
  | 'acs_system.connected'
17855
+ | 'acs_system.added'
17600
17856
  | 'acs_system.disconnected'
17601
- | 'acs_access_group.deleted'
17602
- | 'acs_user.deleted'
17603
17857
  | 'acs_credential.deleted'
17604
17858
  | 'acs_credential.issued'
17605
17859
  | 'acs_credential.reissued'
17860
+ | 'acs_user.deleted'
17606
17861
  | 'acs_encoder.added'
17607
17862
  | 'acs_encoder.removed'
17608
- | 'enrollment_automation.deleted'
17863
+ | 'acs_access_group.deleted'
17609
17864
  | 'client_session.deleted'
17865
+ | 'connected_account.connected'
17866
+ | 'connected_account.created'
17867
+ | 'connected_account.successful_login'
17868
+ | 'connected_account.disconnected'
17869
+ | 'connected_account.completed_first_sync'
17870
+ | 'connected_account.deleted'
17871
+ | 'connected_account.completed_first_sync_after_reconnection'
17610
17872
  | 'action_attempt.lock_door.succeeded'
17611
17873
  | 'action_attempt.lock_door.failed'
17612
17874
  | 'action_attempt.unlock_door.succeeded'
17613
17875
  | 'action_attempt.unlock_door.failed'
17614
- | 'thermostat.climate_preset_activated'
17615
- | 'thermostat.manually_adjusted'
17616
- | 'thermostat.temperature_threshold_exceeded'
17617
- | 'thermostat.temperature_threshold_no_longer_exceeded'
17618
- | 'thermostat.temperature_reached_set_point'
17619
- )
17620
- | undefined
17621
- event_types?:
17622
- | Array<
17623
- | 'device.accessory_keypad_connected'
17624
- | 'device.accessory_keypad_disconnected'
17625
- | 'device.added'
17876
+ | 'connect_webview.login_succeeded'
17877
+ | 'connect_webview.login_failed'
17626
17878
  | 'device.connected'
17879
+ | 'device.added'
17880
+ | 'device.converted_to_unmanaged'
17881
+ | 'device.unmanaged.converted_to_managed'
17627
17882
  | 'device.unmanaged.connected'
17628
17883
  | 'device.disconnected'
17629
17884
  | 'device.unmanaged.disconnected'
17630
- | 'device.converted_to_unmanaged'
17631
- | 'device.unmanaged.converted_to_managed'
17632
- | 'device.removed'
17633
- | 'device.deleted'
17634
17885
  | 'device.tampered'
17635
17886
  | 'device.low_battery'
17636
17887
  | 'device.battery_status_changed'
17888
+ | 'device.removed'
17889
+ | 'device.deleted'
17637
17890
  | 'device.third_party_integration_detected'
17638
17891
  | 'device.third_party_integration_no_longer_detected'
17639
17892
  | 'device.salto.privacy_mode_activated'
@@ -17642,58 +17895,97 @@ export interface Routes {
17642
17895
  | 'device.connection_stabilized'
17643
17896
  | 'device.error.subscription_required'
17644
17897
  | 'device.error.subscription_required.resolved'
17898
+ | 'device.accessory_keypad_connected'
17899
+ | 'device.accessory_keypad_disconnected'
17900
+ | 'noise_sensor.noise_threshold_triggered'
17901
+ | 'lock.locked'
17902
+ | 'lock.unlocked'
17903
+ | 'lock.access_denied'
17904
+ | 'thermostat.climate_preset_activated'
17905
+ | 'thermostat.manually_adjusted'
17906
+ | 'thermostat.temperature_threshold_exceeded'
17907
+ | 'thermostat.temperature_threshold_no_longer_exceeded'
17908
+ | 'thermostat.temperature_reached_set_point'
17909
+ | 'enrollment_automation.deleted'
17910
+ | 'phone.deactivated'
17911
+ )
17912
+ | undefined
17913
+ event_types?:
17914
+ | Array<
17645
17915
  | 'access_code.created'
17646
17916
  | 'access_code.changed'
17647
17917
  | 'access_code.scheduled_on_device'
17648
17918
  | 'access_code.set_on_device'
17649
- | 'access_code.deleted'
17650
17919
  | 'access_code.removed_from_device'
17651
- | 'access_code.failed_to_set_on_device'
17652
17920
  | 'access_code.delay_in_setting_on_device'
17653
- | 'access_code.failed_to_remove_from_device'
17921
+ | 'access_code.failed_to_set_on_device'
17922
+ | 'access_code.deleted'
17654
17923
  | 'access_code.delay_in_removing_from_device'
17655
- | 'access_code.deleted_external_to_seam'
17924
+ | 'access_code.failed_to_remove_from_device'
17656
17925
  | 'access_code.modified_external_to_seam'
17926
+ | 'access_code.deleted_external_to_seam'
17927
+ | 'access_code.backup_access_code_pulled'
17657
17928
  | 'access_code.unmanaged.converted_to_managed'
17658
17929
  | 'access_code.unmanaged.failed_to_convert_to_managed'
17659
17930
  | 'access_code.unmanaged.created'
17660
17931
  | 'access_code.unmanaged.removed'
17661
- | 'lock.locked'
17662
- | 'lock.unlocked'
17663
- | 'lock.access_denied'
17664
- | 'phone.deactivated'
17665
- | 'connected_account.connected'
17666
- | 'connected_account.successful_login'
17667
- | 'connected_account.created'
17668
- | 'connected_account.deleted'
17669
- | 'connected_account.disconnected'
17670
- | 'connected_account.completed_first_sync'
17671
- | 'connected_account.completed_first_sync_after_reconnection'
17672
- | 'connect_webview.login_succeeded'
17673
- | 'connect_webview.login_failed'
17674
- | 'noise_sensor.noise_threshold_triggered'
17675
- | 'access_code.backup_access_code_pulled'
17676
- | 'acs_system.added'
17677
17932
  | 'acs_system.connected'
17933
+ | 'acs_system.added'
17678
17934
  | 'acs_system.disconnected'
17679
- | 'acs_access_group.deleted'
17680
- | 'acs_user.deleted'
17681
17935
  | 'acs_credential.deleted'
17682
17936
  | 'acs_credential.issued'
17683
17937
  | 'acs_credential.reissued'
17938
+ | 'acs_user.deleted'
17684
17939
  | 'acs_encoder.added'
17685
17940
  | 'acs_encoder.removed'
17686
- | 'enrollment_automation.deleted'
17941
+ | 'acs_access_group.deleted'
17687
17942
  | 'client_session.deleted'
17943
+ | 'connected_account.connected'
17944
+ | 'connected_account.created'
17945
+ | 'connected_account.successful_login'
17946
+ | 'connected_account.disconnected'
17947
+ | 'connected_account.completed_first_sync'
17948
+ | 'connected_account.deleted'
17949
+ | 'connected_account.completed_first_sync_after_reconnection'
17688
17950
  | 'action_attempt.lock_door.succeeded'
17689
17951
  | 'action_attempt.lock_door.failed'
17690
17952
  | 'action_attempt.unlock_door.succeeded'
17691
17953
  | 'action_attempt.unlock_door.failed'
17954
+ | 'connect_webview.login_succeeded'
17955
+ | 'connect_webview.login_failed'
17956
+ | 'device.connected'
17957
+ | 'device.added'
17958
+ | 'device.converted_to_unmanaged'
17959
+ | 'device.unmanaged.converted_to_managed'
17960
+ | 'device.unmanaged.connected'
17961
+ | 'device.disconnected'
17962
+ | 'device.unmanaged.disconnected'
17963
+ | 'device.tampered'
17964
+ | 'device.low_battery'
17965
+ | 'device.battery_status_changed'
17966
+ | 'device.removed'
17967
+ | 'device.deleted'
17968
+ | 'device.third_party_integration_detected'
17969
+ | 'device.third_party_integration_no_longer_detected'
17970
+ | 'device.salto.privacy_mode_activated'
17971
+ | 'device.salto.privacy_mode_deactivated'
17972
+ | 'device.connection_became_flaky'
17973
+ | 'device.connection_stabilized'
17974
+ | 'device.error.subscription_required'
17975
+ | 'device.error.subscription_required.resolved'
17976
+ | 'device.accessory_keypad_connected'
17977
+ | 'device.accessory_keypad_disconnected'
17978
+ | 'noise_sensor.noise_threshold_triggered'
17979
+ | 'lock.locked'
17980
+ | 'lock.unlocked'
17981
+ | 'lock.access_denied'
17692
17982
  | 'thermostat.climate_preset_activated'
17693
17983
  | 'thermostat.manually_adjusted'
17694
17984
  | 'thermostat.temperature_threshold_exceeded'
17695
17985
  | 'thermostat.temperature_threshold_no_longer_exceeded'
17696
17986
  | 'thermostat.temperature_reached_set_point'
17987
+ | 'enrollment_automation.deleted'
17988
+ | 'phone.deactivated'
17697
17989
  >
17698
17990
  | undefined
17699
17991
  connected_account_id?: string | undefined
@@ -19727,10 +20019,83 @@ export interface Routes {
19727
20019
  }
19728
20020
  >
19729
20021
  /** 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. */
19730
- warnings: Array<{
19731
- message: string
19732
- warning_code: string
19733
- }>
20022
+ warnings: Array<
20023
+ | {
20024
+ message: string
20025
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20026
+ warning_code: 'partial_backup_access_code_pool'
20027
+ }
20028
+ | {
20029
+ message: string
20030
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20031
+ warning_code: 'many_active_backup_codes'
20032
+ }
20033
+ | {
20034
+ message: string
20035
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20036
+ warning_code: 'salto_unknown_device_type'
20037
+ }
20038
+ | {
20039
+ message: string
20040
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20041
+ warning_code: 'wyze_device_missing_gateway'
20042
+ }
20043
+ | {
20044
+ message: string
20045
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20046
+ warning_code: 'functional_offline_device'
20047
+ }
20048
+ | {
20049
+ message: string
20050
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20051
+ warning_code: 'third_party_integration_detected'
20052
+ }
20053
+ | {
20054
+ message: string
20055
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20056
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
20057
+ }
20058
+ | {
20059
+ message: string
20060
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20061
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
20062
+ }
20063
+ | {
20064
+ message: string
20065
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20066
+ warning_code: 'ttlock_weak_gateway_signal'
20067
+ }
20068
+ | {
20069
+ message: string
20070
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20071
+ warning_code: 'temperature_threshold_exceeded'
20072
+ }
20073
+ | {
20074
+ message: string
20075
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20076
+ warning_code: 'device_communication_degraded'
20077
+ }
20078
+ | {
20079
+ message: string
20080
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20081
+ warning_code: 'scheduled_maintenance_window'
20082
+ }
20083
+ | {
20084
+ message: string
20085
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20086
+ warning_code: 'device_has_flaky_connection'
20087
+ }
20088
+ | {
20089
+ message: string
20090
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20091
+ warning_code: 'salto_office_mode'
20092
+ }
20093
+ | {
20094
+ message: string
20095
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20096
+ warning_code: 'salto_privacy_mode'
20097
+ }
20098
+ >
19734
20099
  /** Date and time at which the device object was created. */
19735
20100
  created_at: string
19736
20101
  /** Indicates whether Seam manages the device. */
@@ -20503,15 +20868,88 @@ export interface Routes {
20503
20868
  )
20504
20869
  | {
20505
20870
  message: string
20506
- is_connected_account_error: true
20507
- error_code: string
20871
+ is_connected_account_error: true
20872
+ error_code: string
20873
+ }
20874
+ >
20875
+ /** 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. */
20876
+ warnings: Array<
20877
+ | {
20878
+ message: string
20879
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20880
+ warning_code: 'partial_backup_access_code_pool'
20881
+ }
20882
+ | {
20883
+ message: string
20884
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20885
+ warning_code: 'many_active_backup_codes'
20886
+ }
20887
+ | {
20888
+ message: string
20889
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20890
+ warning_code: 'salto_unknown_device_type'
20891
+ }
20892
+ | {
20893
+ message: string
20894
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20895
+ warning_code: 'wyze_device_missing_gateway'
20896
+ }
20897
+ | {
20898
+ message: string
20899
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20900
+ warning_code: 'functional_offline_device'
20901
+ }
20902
+ | {
20903
+ message: string
20904
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20905
+ warning_code: 'third_party_integration_detected'
20906
+ }
20907
+ | {
20908
+ message: string
20909
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20910
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
20911
+ }
20912
+ | {
20913
+ message: string
20914
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20915
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
20916
+ }
20917
+ | {
20918
+ message: string
20919
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20920
+ warning_code: 'ttlock_weak_gateway_signal'
20921
+ }
20922
+ | {
20923
+ message: string
20924
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20925
+ warning_code: 'temperature_threshold_exceeded'
20926
+ }
20927
+ | {
20928
+ message: string
20929
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20930
+ warning_code: 'device_communication_degraded'
20931
+ }
20932
+ | {
20933
+ message: string
20934
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20935
+ warning_code: 'scheduled_maintenance_window'
20936
+ }
20937
+ | {
20938
+ message: string
20939
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20940
+ warning_code: 'device_has_flaky_connection'
20941
+ }
20942
+ | {
20943
+ message: string
20944
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20945
+ warning_code: 'salto_office_mode'
20946
+ }
20947
+ | {
20948
+ message: string
20949
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20950
+ warning_code: 'salto_privacy_mode'
20508
20951
  }
20509
20952
  >
20510
- /** 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. */
20511
- warnings: Array<{
20512
- message: string
20513
- warning_code: string
20514
- }>
20515
20953
  /** Date and time at which the device object was created. */
20516
20954
  created_at: string
20517
20955
  /** Indicates whether Seam manages the device. */
@@ -21472,10 +21910,83 @@ export interface Routes {
21472
21910
  }
21473
21911
  >
21474
21912
  /** 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. */
21475
- warnings: Array<{
21476
- message: string
21477
- warning_code: string
21478
- }>
21913
+ warnings: Array<
21914
+ | {
21915
+ message: string
21916
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21917
+ warning_code: 'partial_backup_access_code_pool'
21918
+ }
21919
+ | {
21920
+ message: string
21921
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21922
+ warning_code: 'many_active_backup_codes'
21923
+ }
21924
+ | {
21925
+ message: string
21926
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21927
+ warning_code: 'salto_unknown_device_type'
21928
+ }
21929
+ | {
21930
+ message: string
21931
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21932
+ warning_code: 'wyze_device_missing_gateway'
21933
+ }
21934
+ | {
21935
+ message: string
21936
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21937
+ warning_code: 'functional_offline_device'
21938
+ }
21939
+ | {
21940
+ message: string
21941
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21942
+ warning_code: 'third_party_integration_detected'
21943
+ }
21944
+ | {
21945
+ message: string
21946
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21947
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
21948
+ }
21949
+ | {
21950
+ message: string
21951
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21952
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
21953
+ }
21954
+ | {
21955
+ message: string
21956
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21957
+ warning_code: 'ttlock_weak_gateway_signal'
21958
+ }
21959
+ | {
21960
+ message: string
21961
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21962
+ warning_code: 'temperature_threshold_exceeded'
21963
+ }
21964
+ | {
21965
+ message: string
21966
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21967
+ warning_code: 'device_communication_degraded'
21968
+ }
21969
+ | {
21970
+ message: string
21971
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21972
+ warning_code: 'scheduled_maintenance_window'
21973
+ }
21974
+ | {
21975
+ message: string
21976
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21977
+ warning_code: 'device_has_flaky_connection'
21978
+ }
21979
+ | {
21980
+ message: string
21981
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21982
+ warning_code: 'salto_office_mode'
21983
+ }
21984
+ | {
21985
+ message: string
21986
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21987
+ warning_code: 'salto_privacy_mode'
21988
+ }
21989
+ >
21479
21990
  /** Date and time at which the device object was created. */
21480
21991
  created_at: string
21481
21992
  /** Indicates whether Seam manages the device. */
@@ -22252,10 +22763,83 @@ export interface Routes {
22252
22763
  }
22253
22764
  >
22254
22765
  /** 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. */
22255
- warnings: Array<{
22256
- message: string
22257
- warning_code: string
22258
- }>
22766
+ warnings: Array<
22767
+ | {
22768
+ message: string
22769
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22770
+ warning_code: 'partial_backup_access_code_pool'
22771
+ }
22772
+ | {
22773
+ message: string
22774
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22775
+ warning_code: 'many_active_backup_codes'
22776
+ }
22777
+ | {
22778
+ message: string
22779
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22780
+ warning_code: 'salto_unknown_device_type'
22781
+ }
22782
+ | {
22783
+ message: string
22784
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22785
+ warning_code: 'wyze_device_missing_gateway'
22786
+ }
22787
+ | {
22788
+ message: string
22789
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22790
+ warning_code: 'functional_offline_device'
22791
+ }
22792
+ | {
22793
+ message: string
22794
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22795
+ warning_code: 'third_party_integration_detected'
22796
+ }
22797
+ | {
22798
+ message: string
22799
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22800
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
22801
+ }
22802
+ | {
22803
+ message: string
22804
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22805
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
22806
+ }
22807
+ | {
22808
+ message: string
22809
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22810
+ warning_code: 'ttlock_weak_gateway_signal'
22811
+ }
22812
+ | {
22813
+ message: string
22814
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22815
+ warning_code: 'temperature_threshold_exceeded'
22816
+ }
22817
+ | {
22818
+ message: string
22819
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22820
+ warning_code: 'device_communication_degraded'
22821
+ }
22822
+ | {
22823
+ message: string
22824
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22825
+ warning_code: 'scheduled_maintenance_window'
22826
+ }
22827
+ | {
22828
+ message: string
22829
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22830
+ warning_code: 'device_has_flaky_connection'
22831
+ }
22832
+ | {
22833
+ message: string
22834
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22835
+ warning_code: 'salto_office_mode'
22836
+ }
22837
+ | {
22838
+ message: string
22839
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22840
+ warning_code: 'salto_privacy_mode'
22841
+ }
22842
+ >
22259
22843
  /** Date and time at which the device object was created. */
22260
22844
  created_at: string
22261
22845
  /** Indicates whether Seam manages the device. */
@@ -25229,10 +25813,83 @@ export interface Routes {
25229
25813
  }
25230
25814
  >
25231
25815
  /** 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. */
25232
- warnings: Array<{
25233
- message: string
25234
- warning_code: string
25235
- }>
25816
+ warnings: Array<
25817
+ | {
25818
+ message: string
25819
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25820
+ warning_code: 'partial_backup_access_code_pool'
25821
+ }
25822
+ | {
25823
+ message: string
25824
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25825
+ warning_code: 'many_active_backup_codes'
25826
+ }
25827
+ | {
25828
+ message: string
25829
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25830
+ warning_code: 'salto_unknown_device_type'
25831
+ }
25832
+ | {
25833
+ message: string
25834
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25835
+ warning_code: 'wyze_device_missing_gateway'
25836
+ }
25837
+ | {
25838
+ message: string
25839
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25840
+ warning_code: 'functional_offline_device'
25841
+ }
25842
+ | {
25843
+ message: string
25844
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25845
+ warning_code: 'third_party_integration_detected'
25846
+ }
25847
+ | {
25848
+ message: string
25849
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25850
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
25851
+ }
25852
+ | {
25853
+ message: string
25854
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25855
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
25856
+ }
25857
+ | {
25858
+ message: string
25859
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25860
+ warning_code: 'ttlock_weak_gateway_signal'
25861
+ }
25862
+ | {
25863
+ message: string
25864
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25865
+ warning_code: 'temperature_threshold_exceeded'
25866
+ }
25867
+ | {
25868
+ message: string
25869
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25870
+ warning_code: 'device_communication_degraded'
25871
+ }
25872
+ | {
25873
+ message: string
25874
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25875
+ warning_code: 'scheduled_maintenance_window'
25876
+ }
25877
+ | {
25878
+ message: string
25879
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25880
+ warning_code: 'device_has_flaky_connection'
25881
+ }
25882
+ | {
25883
+ message: string
25884
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25885
+ warning_code: 'salto_office_mode'
25886
+ }
25887
+ | {
25888
+ message: string
25889
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25890
+ warning_code: 'salto_privacy_mode'
25891
+ }
25892
+ >
25236
25893
  /** Date and time at which the device object was created. */
25237
25894
  created_at: string
25238
25895
  /** Indicates whether Seam manages the device. */
@@ -26004,15 +26661,88 @@ export interface Routes {
26004
26661
  )
26005
26662
  | {
26006
26663
  message: string
26007
- is_connected_account_error: true
26008
- error_code: string
26664
+ is_connected_account_error: true
26665
+ error_code: string
26666
+ }
26667
+ >
26668
+ /** 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. */
26669
+ warnings: Array<
26670
+ | {
26671
+ message: string
26672
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26673
+ warning_code: 'partial_backup_access_code_pool'
26674
+ }
26675
+ | {
26676
+ message: string
26677
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26678
+ warning_code: 'many_active_backup_codes'
26679
+ }
26680
+ | {
26681
+ message: string
26682
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26683
+ warning_code: 'salto_unknown_device_type'
26684
+ }
26685
+ | {
26686
+ message: string
26687
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26688
+ warning_code: 'wyze_device_missing_gateway'
26689
+ }
26690
+ | {
26691
+ message: string
26692
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26693
+ warning_code: 'functional_offline_device'
26694
+ }
26695
+ | {
26696
+ message: string
26697
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26698
+ warning_code: 'third_party_integration_detected'
26699
+ }
26700
+ | {
26701
+ message: string
26702
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26703
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
26704
+ }
26705
+ | {
26706
+ message: string
26707
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26708
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
26709
+ }
26710
+ | {
26711
+ message: string
26712
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26713
+ warning_code: 'ttlock_weak_gateway_signal'
26714
+ }
26715
+ | {
26716
+ message: string
26717
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26718
+ warning_code: 'temperature_threshold_exceeded'
26719
+ }
26720
+ | {
26721
+ message: string
26722
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26723
+ warning_code: 'device_communication_degraded'
26724
+ }
26725
+ | {
26726
+ message: string
26727
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26728
+ warning_code: 'scheduled_maintenance_window'
26729
+ }
26730
+ | {
26731
+ message: string
26732
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26733
+ warning_code: 'device_has_flaky_connection'
26734
+ }
26735
+ | {
26736
+ message: string
26737
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26738
+ warning_code: 'salto_office_mode'
26739
+ }
26740
+ | {
26741
+ message: string
26742
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
26743
+ warning_code: 'salto_privacy_mode'
26009
26744
  }
26010
26745
  >
26011
- /** 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. */
26012
- warnings: Array<{
26013
- message: string
26014
- warning_code: string
26015
- }>
26016
26746
  /** Date and time at which the device object was created. */
26017
26747
  created_at: string
26018
26748
  /** Indicates whether Seam manages the device. */
@@ -29224,10 +29954,83 @@ export interface Routes {
29224
29954
  }
29225
29955
  >
29226
29956
  /** 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. */
29227
- warnings: Array<{
29228
- message: string
29229
- warning_code: string
29230
- }>
29957
+ warnings: Array<
29958
+ | {
29959
+ message: string
29960
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29961
+ warning_code: 'partial_backup_access_code_pool'
29962
+ }
29963
+ | {
29964
+ message: string
29965
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29966
+ warning_code: 'many_active_backup_codes'
29967
+ }
29968
+ | {
29969
+ message: string
29970
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29971
+ warning_code: 'salto_unknown_device_type'
29972
+ }
29973
+ | {
29974
+ message: string
29975
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29976
+ warning_code: 'wyze_device_missing_gateway'
29977
+ }
29978
+ | {
29979
+ message: string
29980
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29981
+ warning_code: 'functional_offline_device'
29982
+ }
29983
+ | {
29984
+ message: string
29985
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29986
+ warning_code: 'third_party_integration_detected'
29987
+ }
29988
+ | {
29989
+ message: string
29990
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29991
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
29992
+ }
29993
+ | {
29994
+ message: string
29995
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29996
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
29997
+ }
29998
+ | {
29999
+ message: string
30000
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30001
+ warning_code: 'ttlock_weak_gateway_signal'
30002
+ }
30003
+ | {
30004
+ message: string
30005
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30006
+ warning_code: 'temperature_threshold_exceeded'
30007
+ }
30008
+ | {
30009
+ message: string
30010
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30011
+ warning_code: 'device_communication_degraded'
30012
+ }
30013
+ | {
30014
+ message: string
30015
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30016
+ warning_code: 'scheduled_maintenance_window'
30017
+ }
30018
+ | {
30019
+ message: string
30020
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30021
+ warning_code: 'device_has_flaky_connection'
30022
+ }
30023
+ | {
30024
+ message: string
30025
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30026
+ warning_code: 'salto_office_mode'
30027
+ }
30028
+ | {
30029
+ message: string
30030
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30031
+ warning_code: 'salto_privacy_mode'
30032
+ }
30033
+ >
29231
30034
  /** Date and time at which the device object was created. */
29232
30035
  created_at: string
29233
30036
  /** Indicates whether Seam manages the device. */
@@ -29399,10 +30202,83 @@ export interface Routes {
29399
30202
  }
29400
30203
  >
29401
30204
  /** 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. */
29402
- warnings: Array<{
29403
- message: string
29404
- warning_code: string
29405
- }>
30205
+ warnings: Array<
30206
+ | {
30207
+ message: string
30208
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30209
+ warning_code: 'partial_backup_access_code_pool'
30210
+ }
30211
+ | {
30212
+ message: string
30213
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30214
+ warning_code: 'many_active_backup_codes'
30215
+ }
30216
+ | {
30217
+ message: string
30218
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30219
+ warning_code: 'salto_unknown_device_type'
30220
+ }
30221
+ | {
30222
+ message: string
30223
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30224
+ warning_code: 'wyze_device_missing_gateway'
30225
+ }
30226
+ | {
30227
+ message: string
30228
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30229
+ warning_code: 'functional_offline_device'
30230
+ }
30231
+ | {
30232
+ message: string
30233
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30234
+ warning_code: 'third_party_integration_detected'
30235
+ }
30236
+ | {
30237
+ message: string
30238
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30239
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
30240
+ }
30241
+ | {
30242
+ message: string
30243
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30244
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
30245
+ }
30246
+ | {
30247
+ message: string
30248
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30249
+ warning_code: 'ttlock_weak_gateway_signal'
30250
+ }
30251
+ | {
30252
+ message: string
30253
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30254
+ warning_code: 'temperature_threshold_exceeded'
30255
+ }
30256
+ | {
30257
+ message: string
30258
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30259
+ warning_code: 'device_communication_degraded'
30260
+ }
30261
+ | {
30262
+ message: string
30263
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30264
+ warning_code: 'scheduled_maintenance_window'
30265
+ }
30266
+ | {
30267
+ message: string
30268
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30269
+ warning_code: 'device_has_flaky_connection'
30270
+ }
30271
+ | {
30272
+ message: string
30273
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30274
+ warning_code: 'salto_office_mode'
30275
+ }
30276
+ | {
30277
+ message: string
30278
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30279
+ warning_code: 'salto_privacy_mode'
30280
+ }
30281
+ >
29406
30282
  /** Date and time at which the device object was created. */
29407
30283
  created_at: string
29408
30284
  /** Indicates whether Seam manages the device. */
@@ -32226,10 +33102,83 @@ export interface Routes {
32226
33102
  }
32227
33103
  >
32228
33104
  /** 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. */
32229
- warnings: Array<{
32230
- message: string
32231
- warning_code: string
32232
- }>
33105
+ warnings: Array<
33106
+ | {
33107
+ message: string
33108
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33109
+ warning_code: 'partial_backup_access_code_pool'
33110
+ }
33111
+ | {
33112
+ message: string
33113
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33114
+ warning_code: 'many_active_backup_codes'
33115
+ }
33116
+ | {
33117
+ message: string
33118
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33119
+ warning_code: 'salto_unknown_device_type'
33120
+ }
33121
+ | {
33122
+ message: string
33123
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33124
+ warning_code: 'wyze_device_missing_gateway'
33125
+ }
33126
+ | {
33127
+ message: string
33128
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33129
+ warning_code: 'functional_offline_device'
33130
+ }
33131
+ | {
33132
+ message: string
33133
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33134
+ warning_code: 'third_party_integration_detected'
33135
+ }
33136
+ | {
33137
+ message: string
33138
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33139
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
33140
+ }
33141
+ | {
33142
+ message: string
33143
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33144
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
33145
+ }
33146
+ | {
33147
+ message: string
33148
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33149
+ warning_code: 'ttlock_weak_gateway_signal'
33150
+ }
33151
+ | {
33152
+ message: string
33153
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33154
+ warning_code: 'temperature_threshold_exceeded'
33155
+ }
33156
+ | {
33157
+ message: string
33158
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33159
+ warning_code: 'device_communication_degraded'
33160
+ }
33161
+ | {
33162
+ message: string
33163
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33164
+ warning_code: 'scheduled_maintenance_window'
33165
+ }
33166
+ | {
33167
+ message: string
33168
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33169
+ warning_code: 'device_has_flaky_connection'
33170
+ }
33171
+ | {
33172
+ message: string
33173
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33174
+ warning_code: 'salto_office_mode'
33175
+ }
33176
+ | {
33177
+ message: string
33178
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33179
+ warning_code: 'salto_privacy_mode'
33180
+ }
33181
+ >
32233
33182
  /** Date and time at which the device object was created. */
32234
33183
  created_at: string
32235
33184
  /** Indicates whether Seam manages the device. */
@@ -35179,15 +36128,88 @@ export interface Routes {
35179
36128
  )
35180
36129
  | {
35181
36130
  message: string
35182
- is_connected_account_error: true
35183
- error_code: string
36131
+ is_connected_account_error: true
36132
+ error_code: string
36133
+ }
36134
+ >
36135
+ /** 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. */
36136
+ warnings: Array<
36137
+ | {
36138
+ message: string
36139
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36140
+ warning_code: 'partial_backup_access_code_pool'
36141
+ }
36142
+ | {
36143
+ message: string
36144
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36145
+ warning_code: 'many_active_backup_codes'
36146
+ }
36147
+ | {
36148
+ message: string
36149
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36150
+ warning_code: 'salto_unknown_device_type'
36151
+ }
36152
+ | {
36153
+ message: string
36154
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36155
+ warning_code: 'wyze_device_missing_gateway'
36156
+ }
36157
+ | {
36158
+ message: string
36159
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36160
+ warning_code: 'functional_offline_device'
36161
+ }
36162
+ | {
36163
+ message: string
36164
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36165
+ warning_code: 'third_party_integration_detected'
36166
+ }
36167
+ | {
36168
+ message: string
36169
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36170
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
36171
+ }
36172
+ | {
36173
+ message: string
36174
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36175
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
36176
+ }
36177
+ | {
36178
+ message: string
36179
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36180
+ warning_code: 'ttlock_weak_gateway_signal'
36181
+ }
36182
+ | {
36183
+ message: string
36184
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36185
+ warning_code: 'temperature_threshold_exceeded'
36186
+ }
36187
+ | {
36188
+ message: string
36189
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36190
+ warning_code: 'device_communication_degraded'
36191
+ }
36192
+ | {
36193
+ message: string
36194
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36195
+ warning_code: 'scheduled_maintenance_window'
36196
+ }
36197
+ | {
36198
+ message: string
36199
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36200
+ warning_code: 'device_has_flaky_connection'
36201
+ }
36202
+ | {
36203
+ message: string
36204
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36205
+ warning_code: 'salto_office_mode'
36206
+ }
36207
+ | {
36208
+ message: string
36209
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36210
+ warning_code: 'salto_privacy_mode'
35184
36211
  }
35185
36212
  >
35186
- /** 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. */
35187
- warnings: Array<{
35188
- message: string
35189
- warning_code: string
35190
- }>
35191
36213
  /** Date and time at which the device object was created. */
35192
36214
  created_at: string
35193
36215
  /** Indicates whether Seam manages the device. */
@@ -35964,10 +36986,83 @@ export interface Routes {
35964
36986
  }
35965
36987
  >
35966
36988
  /** 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. */
35967
- warnings: Array<{
35968
- message: string
35969
- warning_code: string
35970
- }>
36989
+ warnings: Array<
36990
+ | {
36991
+ message: string
36992
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36993
+ warning_code: 'partial_backup_access_code_pool'
36994
+ }
36995
+ | {
36996
+ message: string
36997
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36998
+ warning_code: 'many_active_backup_codes'
36999
+ }
37000
+ | {
37001
+ message: string
37002
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37003
+ warning_code: 'salto_unknown_device_type'
37004
+ }
37005
+ | {
37006
+ message: string
37007
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37008
+ warning_code: 'wyze_device_missing_gateway'
37009
+ }
37010
+ | {
37011
+ message: string
37012
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37013
+ warning_code: 'functional_offline_device'
37014
+ }
37015
+ | {
37016
+ message: string
37017
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37018
+ warning_code: 'third_party_integration_detected'
37019
+ }
37020
+ | {
37021
+ message: string
37022
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37023
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
37024
+ }
37025
+ | {
37026
+ message: string
37027
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37028
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
37029
+ }
37030
+ | {
37031
+ message: string
37032
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37033
+ warning_code: 'ttlock_weak_gateway_signal'
37034
+ }
37035
+ | {
37036
+ message: string
37037
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37038
+ warning_code: 'temperature_threshold_exceeded'
37039
+ }
37040
+ | {
37041
+ message: string
37042
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37043
+ warning_code: 'device_communication_degraded'
37044
+ }
37045
+ | {
37046
+ message: string
37047
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37048
+ warning_code: 'scheduled_maintenance_window'
37049
+ }
37050
+ | {
37051
+ message: string
37052
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37053
+ warning_code: 'device_has_flaky_connection'
37054
+ }
37055
+ | {
37056
+ message: string
37057
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37058
+ warning_code: 'salto_office_mode'
37059
+ }
37060
+ | {
37061
+ message: string
37062
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37063
+ warning_code: 'salto_privacy_mode'
37064
+ }
37065
+ >
35971
37066
  /** Date and time at which the device object was created. */
35972
37067
  created_at: string
35973
37068
  /** Indicates whether Seam manages the device. */
@@ -40226,10 +41321,83 @@ export interface Routes {
40226
41321
  }
40227
41322
  >
40228
41323
  /** 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. */
40229
- warnings: Array<{
40230
- message: string
40231
- warning_code: string
40232
- }>
41324
+ warnings: Array<
41325
+ | {
41326
+ message: string
41327
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41328
+ warning_code: 'partial_backup_access_code_pool'
41329
+ }
41330
+ | {
41331
+ message: string
41332
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41333
+ warning_code: 'many_active_backup_codes'
41334
+ }
41335
+ | {
41336
+ message: string
41337
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41338
+ warning_code: 'salto_unknown_device_type'
41339
+ }
41340
+ | {
41341
+ message: string
41342
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41343
+ warning_code: 'wyze_device_missing_gateway'
41344
+ }
41345
+ | {
41346
+ message: string
41347
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41348
+ warning_code: 'functional_offline_device'
41349
+ }
41350
+ | {
41351
+ message: string
41352
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41353
+ warning_code: 'third_party_integration_detected'
41354
+ }
41355
+ | {
41356
+ message: string
41357
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41358
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
41359
+ }
41360
+ | {
41361
+ message: string
41362
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41363
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
41364
+ }
41365
+ | {
41366
+ message: string
41367
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41368
+ warning_code: 'ttlock_weak_gateway_signal'
41369
+ }
41370
+ | {
41371
+ message: string
41372
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41373
+ warning_code: 'temperature_threshold_exceeded'
41374
+ }
41375
+ | {
41376
+ message: string
41377
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41378
+ warning_code: 'device_communication_degraded'
41379
+ }
41380
+ | {
41381
+ message: string
41382
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41383
+ warning_code: 'scheduled_maintenance_window'
41384
+ }
41385
+ | {
41386
+ message: string
41387
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41388
+ warning_code: 'device_has_flaky_connection'
41389
+ }
41390
+ | {
41391
+ message: string
41392
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41393
+ warning_code: 'salto_office_mode'
41394
+ }
41395
+ | {
41396
+ message: string
41397
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41398
+ warning_code: 'salto_privacy_mode'
41399
+ }
41400
+ >
40233
41401
  /** Date and time at which the device object was created. */
40234
41402
  created_at: string
40235
41403
  /** Indicates whether Seam manages the device. */
@@ -41008,10 +42176,83 @@ export interface Routes {
41008
42176
  }
41009
42177
  >
41010
42178
  /** 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. */
41011
- warnings: Array<{
41012
- message: string
41013
- warning_code: string
41014
- }>
42179
+ warnings: Array<
42180
+ | {
42181
+ message: string
42182
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42183
+ warning_code: 'partial_backup_access_code_pool'
42184
+ }
42185
+ | {
42186
+ message: string
42187
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42188
+ warning_code: 'many_active_backup_codes'
42189
+ }
42190
+ | {
42191
+ message: string
42192
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42193
+ warning_code: 'salto_unknown_device_type'
42194
+ }
42195
+ | {
42196
+ message: string
42197
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42198
+ warning_code: 'wyze_device_missing_gateway'
42199
+ }
42200
+ | {
42201
+ message: string
42202
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42203
+ warning_code: 'functional_offline_device'
42204
+ }
42205
+ | {
42206
+ message: string
42207
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42208
+ warning_code: 'third_party_integration_detected'
42209
+ }
42210
+ | {
42211
+ message: string
42212
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42213
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
42214
+ }
42215
+ | {
42216
+ message: string
42217
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42218
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
42219
+ }
42220
+ | {
42221
+ message: string
42222
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42223
+ warning_code: 'ttlock_weak_gateway_signal'
42224
+ }
42225
+ | {
42226
+ message: string
42227
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42228
+ warning_code: 'temperature_threshold_exceeded'
42229
+ }
42230
+ | {
42231
+ message: string
42232
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42233
+ warning_code: 'device_communication_degraded'
42234
+ }
42235
+ | {
42236
+ message: string
42237
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42238
+ warning_code: 'scheduled_maintenance_window'
42239
+ }
42240
+ | {
42241
+ message: string
42242
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42243
+ warning_code: 'device_has_flaky_connection'
42244
+ }
42245
+ | {
42246
+ message: string
42247
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42248
+ warning_code: 'salto_office_mode'
42249
+ }
42250
+ | {
42251
+ message: string
42252
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42253
+ warning_code: 'salto_privacy_mode'
42254
+ }
42255
+ >
41015
42256
  /** Date and time at which the device object was created. */
41016
42257
  created_at: string
41017
42258
  /** Indicates whether Seam manages the device. */