@seamapi/types 1.331.0 → 1.332.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6292,12 +6292,222 @@ export default {
6292
6292
  description:
6293
6293
  '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.',
6294
6294
  items: {
6295
- properties: {
6296
- message: { type: 'string' },
6297
- warning_code: { type: 'string' },
6298
- },
6299
- required: ['message', 'warning_code'],
6300
- type: 'object',
6295
+ oneOf: [
6296
+ {
6297
+ description: 'Backup access code unhealthy.',
6298
+ properties: {
6299
+ message: { type: 'string' },
6300
+ warning_code: {
6301
+ description:
6302
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6303
+ enum: ['partial_backup_access_code_pool'],
6304
+ type: 'string',
6305
+ },
6306
+ },
6307
+ required: ['message', 'warning_code'],
6308
+ type: 'object',
6309
+ },
6310
+ {
6311
+ description: 'Too many backup codes.',
6312
+ properties: {
6313
+ message: { type: 'string' },
6314
+ warning_code: {
6315
+ description:
6316
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6317
+ enum: ['many_active_backup_codes'],
6318
+ type: 'string',
6319
+ },
6320
+ },
6321
+ required: ['message', 'warning_code'],
6322
+ type: 'object',
6323
+ },
6324
+ {
6325
+ description:
6326
+ 'A Salto Lock displaying an unknown device type.',
6327
+ properties: {
6328
+ message: { type: 'string' },
6329
+ warning_code: {
6330
+ description:
6331
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6332
+ enum: ['salto_unknown_device_type'],
6333
+ type: 'string',
6334
+ },
6335
+ },
6336
+ required: ['message', 'warning_code'],
6337
+ type: 'object',
6338
+ },
6339
+ {
6340
+ description: 'Wyze Lock is not connected to a gateway.',
6341
+ properties: {
6342
+ message: { type: 'string' },
6343
+ warning_code: {
6344
+ description:
6345
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6346
+ enum: ['wyze_device_missing_gateway'],
6347
+ type: 'string',
6348
+ },
6349
+ },
6350
+ required: ['message', 'warning_code'],
6351
+ type: 'object',
6352
+ },
6353
+ {
6354
+ description:
6355
+ 'Device is offline, but has some functionality available.',
6356
+ properties: {
6357
+ message: { type: 'string' },
6358
+ warning_code: {
6359
+ description:
6360
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6361
+ enum: ['functional_offline_device'],
6362
+ type: 'string',
6363
+ },
6364
+ },
6365
+ required: ['message', 'warning_code'],
6366
+ type: 'object',
6367
+ },
6368
+ {
6369
+ description: 'Third-party integration detected.',
6370
+ properties: {
6371
+ message: { type: 'string' },
6372
+ warning_code: {
6373
+ description:
6374
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6375
+ enum: ['third_party_integration_detected'],
6376
+ type: 'string',
6377
+ },
6378
+ },
6379
+ required: ['message', 'warning_code'],
6380
+ type: 'object',
6381
+ },
6382
+ {
6383
+ description: 'Nest thermostat in manual eco mode.',
6384
+ properties: {
6385
+ message: { type: 'string' },
6386
+ warning_code: {
6387
+ description:
6388
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6389
+ enum: ['nest_thermostat_in_manual_eco_mode'],
6390
+ type: 'string',
6391
+ },
6392
+ },
6393
+ required: ['message', 'warning_code'],
6394
+ type: 'object',
6395
+ },
6396
+ {
6397
+ description: 'Remote Unlock feature not enabled in settings.',
6398
+ properties: {
6399
+ message: { type: 'string' },
6400
+ warning_code: {
6401
+ description:
6402
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6403
+ enum: ['ttlock_lock_gateway_unlocking_not_enabled'],
6404
+ type: 'string',
6405
+ },
6406
+ },
6407
+ required: ['message', 'warning_code'],
6408
+ type: 'object',
6409
+ },
6410
+ {
6411
+ description: 'Gateway signal is weak.',
6412
+ properties: {
6413
+ message: { type: 'string' },
6414
+ warning_code: {
6415
+ description:
6416
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6417
+ enum: ['ttlock_weak_gateway_signal'],
6418
+ type: 'string',
6419
+ },
6420
+ },
6421
+ required: ['message', 'warning_code'],
6422
+ type: 'object',
6423
+ },
6424
+ {
6425
+ description: 'Temperature threshold exceeded.',
6426
+ properties: {
6427
+ message: { type: 'string' },
6428
+ warning_code: {
6429
+ description:
6430
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6431
+ enum: ['temperature_threshold_exceeded'],
6432
+ type: 'string',
6433
+ },
6434
+ },
6435
+ required: ['message', 'warning_code'],
6436
+ type: 'object',
6437
+ },
6438
+ {
6439
+ description: 'Device appears to be unresponsive.',
6440
+ properties: {
6441
+ message: { type: 'string' },
6442
+ warning_code: {
6443
+ description:
6444
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6445
+ enum: ['device_communication_degraded'],
6446
+ type: 'string',
6447
+ },
6448
+ },
6449
+ required: ['message', 'warning_code'],
6450
+ type: 'object',
6451
+ },
6452
+ {
6453
+ description: 'Scheduled maintenance window detected.',
6454
+ properties: {
6455
+ message: { type: 'string' },
6456
+ warning_code: {
6457
+ description:
6458
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6459
+ enum: ['scheduled_maintenance_window'],
6460
+ type: 'string',
6461
+ },
6462
+ },
6463
+ required: ['message', 'warning_code'],
6464
+ type: 'object',
6465
+ },
6466
+ {
6467
+ description: 'Device has flaky connection.',
6468
+ properties: {
6469
+ message: { type: 'string' },
6470
+ warning_code: {
6471
+ description:
6472
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6473
+ enum: ['device_has_flaky_connection'],
6474
+ type: 'string',
6475
+ },
6476
+ },
6477
+ required: ['message', 'warning_code'],
6478
+ type: 'object',
6479
+ },
6480
+ {
6481
+ description:
6482
+ 'Lock is in Office Mode. Access Codes will not unlock doors.',
6483
+ properties: {
6484
+ message: { type: 'string' },
6485
+ warning_code: {
6486
+ description:
6487
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6488
+ enum: ['salto_office_mode'],
6489
+ type: 'string',
6490
+ },
6491
+ },
6492
+ required: ['message', 'warning_code'],
6493
+ type: 'object',
6494
+ },
6495
+ {
6496
+ description:
6497
+ 'Lock is in Privacy Mode. Access Codes will not unlock doors.',
6498
+ properties: {
6499
+ message: { type: 'string' },
6500
+ warning_code: {
6501
+ description:
6502
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
6503
+ enum: ['salto_privacy_mode'],
6504
+ type: 'string',
6505
+ },
6506
+ },
6507
+ required: ['message', 'warning_code'],
6508
+ type: 'object',
6509
+ },
6510
+ ],
6301
6511
  },
6302
6512
  type: 'array',
6303
6513
  },
@@ -11110,70 +11320,280 @@ export default {
11110
11320
  description:
11111
11321
  '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.',
11112
11322
  items: {
11113
- properties: {
11114
- message: { type: 'string' },
11115
- warning_code: { type: 'string' },
11116
- },
11117
- required: ['message', 'warning_code'],
11118
- type: 'object',
11119
- },
11120
- type: 'array',
11121
- },
11122
- workspace_id: {
11123
- description:
11124
- 'Unique identifier for the Seam workspace associated with the device.',
11125
- format: 'uuid',
11126
- type: 'string',
11127
- },
11128
- },
11129
- required: [
11130
- 'device_id',
11131
- 'device_type',
11132
- 'display_name',
11133
- 'capabilities_supported',
11134
- 'properties',
11135
- 'location',
11136
- 'workspace_id',
11137
- 'errors',
11138
- 'warnings',
11139
- 'created_at',
11140
- 'is_managed',
11141
- 'custom_metadata',
11142
- ],
11143
- type: 'object',
11144
- 'x-route-path': '/phones',
11145
- },
11146
- service_health: {
11147
- properties: {
11148
- description: { type: 'string' },
11149
- service: { type: 'string' },
11150
- status: { enum: ['healthy', 'degraded', 'down'], type: 'string' },
11151
- },
11152
- required: ['service', 'status', 'description'],
11153
- type: 'object',
11154
- 'x-route-path': '/health',
11155
- },
11156
- thermostat_schedule: {
11157
- description:
11158
- 'Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.',
11159
- properties: {
11160
- climate_preset_key: {
11161
- description:
11162
- 'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.',
11163
- type: 'string',
11164
- },
11165
- created_at: {
11166
- description:
11167
- 'Date and time at which the thermostat schedule was created.',
11168
- format: 'date-time',
11169
- type: 'string',
11170
- },
11171
- device_id: {
11172
- description: 'ID of the desired thermostat device.',
11173
- format: 'uuid',
11174
- type: 'string',
11175
- },
11176
- ends_at: {
11323
+ oneOf: [
11324
+ {
11325
+ description: 'Backup access code unhealthy.',
11326
+ properties: {
11327
+ message: { type: 'string' },
11328
+ warning_code: {
11329
+ description:
11330
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11331
+ enum: ['partial_backup_access_code_pool'],
11332
+ type: 'string',
11333
+ },
11334
+ },
11335
+ required: ['message', 'warning_code'],
11336
+ type: 'object',
11337
+ },
11338
+ {
11339
+ description: 'Too many backup codes.',
11340
+ properties: {
11341
+ message: { type: 'string' },
11342
+ warning_code: {
11343
+ description:
11344
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11345
+ enum: ['many_active_backup_codes'],
11346
+ type: 'string',
11347
+ },
11348
+ },
11349
+ required: ['message', 'warning_code'],
11350
+ type: 'object',
11351
+ },
11352
+ {
11353
+ description:
11354
+ 'A Salto Lock displaying an unknown device type.',
11355
+ properties: {
11356
+ message: { type: 'string' },
11357
+ warning_code: {
11358
+ description:
11359
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11360
+ enum: ['salto_unknown_device_type'],
11361
+ type: 'string',
11362
+ },
11363
+ },
11364
+ required: ['message', 'warning_code'],
11365
+ type: 'object',
11366
+ },
11367
+ {
11368
+ description: 'Wyze Lock is not connected to a gateway.',
11369
+ properties: {
11370
+ message: { type: 'string' },
11371
+ warning_code: {
11372
+ description:
11373
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11374
+ enum: ['wyze_device_missing_gateway'],
11375
+ type: 'string',
11376
+ },
11377
+ },
11378
+ required: ['message', 'warning_code'],
11379
+ type: 'object',
11380
+ },
11381
+ {
11382
+ description:
11383
+ 'Device is offline, but has some functionality available.',
11384
+ properties: {
11385
+ message: { type: 'string' },
11386
+ warning_code: {
11387
+ description:
11388
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11389
+ enum: ['functional_offline_device'],
11390
+ type: 'string',
11391
+ },
11392
+ },
11393
+ required: ['message', 'warning_code'],
11394
+ type: 'object',
11395
+ },
11396
+ {
11397
+ description: 'Third-party integration detected.',
11398
+ properties: {
11399
+ message: { type: 'string' },
11400
+ warning_code: {
11401
+ description:
11402
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11403
+ enum: ['third_party_integration_detected'],
11404
+ type: 'string',
11405
+ },
11406
+ },
11407
+ required: ['message', 'warning_code'],
11408
+ type: 'object',
11409
+ },
11410
+ {
11411
+ description: 'Nest thermostat in manual eco mode.',
11412
+ properties: {
11413
+ message: { type: 'string' },
11414
+ warning_code: {
11415
+ description:
11416
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11417
+ enum: ['nest_thermostat_in_manual_eco_mode'],
11418
+ type: 'string',
11419
+ },
11420
+ },
11421
+ required: ['message', 'warning_code'],
11422
+ type: 'object',
11423
+ },
11424
+ {
11425
+ description: 'Remote Unlock feature not enabled in settings.',
11426
+ properties: {
11427
+ message: { type: 'string' },
11428
+ warning_code: {
11429
+ description:
11430
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11431
+ enum: ['ttlock_lock_gateway_unlocking_not_enabled'],
11432
+ type: 'string',
11433
+ },
11434
+ },
11435
+ required: ['message', 'warning_code'],
11436
+ type: 'object',
11437
+ },
11438
+ {
11439
+ description: 'Gateway signal is weak.',
11440
+ properties: {
11441
+ message: { type: 'string' },
11442
+ warning_code: {
11443
+ description:
11444
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11445
+ enum: ['ttlock_weak_gateway_signal'],
11446
+ type: 'string',
11447
+ },
11448
+ },
11449
+ required: ['message', 'warning_code'],
11450
+ type: 'object',
11451
+ },
11452
+ {
11453
+ description: 'Temperature threshold exceeded.',
11454
+ properties: {
11455
+ message: { type: 'string' },
11456
+ warning_code: {
11457
+ description:
11458
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11459
+ enum: ['temperature_threshold_exceeded'],
11460
+ type: 'string',
11461
+ },
11462
+ },
11463
+ required: ['message', 'warning_code'],
11464
+ type: 'object',
11465
+ },
11466
+ {
11467
+ description: 'Device appears to be unresponsive.',
11468
+ properties: {
11469
+ message: { type: 'string' },
11470
+ warning_code: {
11471
+ description:
11472
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11473
+ enum: ['device_communication_degraded'],
11474
+ type: 'string',
11475
+ },
11476
+ },
11477
+ required: ['message', 'warning_code'],
11478
+ type: 'object',
11479
+ },
11480
+ {
11481
+ description: 'Scheduled maintenance window detected.',
11482
+ properties: {
11483
+ message: { type: 'string' },
11484
+ warning_code: {
11485
+ description:
11486
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11487
+ enum: ['scheduled_maintenance_window'],
11488
+ type: 'string',
11489
+ },
11490
+ },
11491
+ required: ['message', 'warning_code'],
11492
+ type: 'object',
11493
+ },
11494
+ {
11495
+ description: 'Device has flaky connection.',
11496
+ properties: {
11497
+ message: { type: 'string' },
11498
+ warning_code: {
11499
+ description:
11500
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11501
+ enum: ['device_has_flaky_connection'],
11502
+ type: 'string',
11503
+ },
11504
+ },
11505
+ required: ['message', 'warning_code'],
11506
+ type: 'object',
11507
+ },
11508
+ {
11509
+ description:
11510
+ 'Lock is in Office Mode. Access Codes will not unlock doors.',
11511
+ properties: {
11512
+ message: { type: 'string' },
11513
+ warning_code: {
11514
+ description:
11515
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11516
+ enum: ['salto_office_mode'],
11517
+ type: 'string',
11518
+ },
11519
+ },
11520
+ required: ['message', 'warning_code'],
11521
+ type: 'object',
11522
+ },
11523
+ {
11524
+ description:
11525
+ 'Lock is in Privacy Mode. Access Codes will not unlock doors.',
11526
+ properties: {
11527
+ message: { type: 'string' },
11528
+ warning_code: {
11529
+ description:
11530
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11531
+ enum: ['salto_privacy_mode'],
11532
+ type: 'string',
11533
+ },
11534
+ },
11535
+ required: ['message', 'warning_code'],
11536
+ type: 'object',
11537
+ },
11538
+ ],
11539
+ },
11540
+ type: 'array',
11541
+ },
11542
+ workspace_id: {
11543
+ description:
11544
+ 'Unique identifier for the Seam workspace associated with the device.',
11545
+ format: 'uuid',
11546
+ type: 'string',
11547
+ },
11548
+ },
11549
+ required: [
11550
+ 'device_id',
11551
+ 'device_type',
11552
+ 'display_name',
11553
+ 'capabilities_supported',
11554
+ 'properties',
11555
+ 'location',
11556
+ 'workspace_id',
11557
+ 'errors',
11558
+ 'warnings',
11559
+ 'created_at',
11560
+ 'is_managed',
11561
+ 'custom_metadata',
11562
+ ],
11563
+ type: 'object',
11564
+ 'x-route-path': '/phones',
11565
+ },
11566
+ service_health: {
11567
+ properties: {
11568
+ description: { type: 'string' },
11569
+ service: { type: 'string' },
11570
+ status: { enum: ['healthy', 'degraded', 'down'], type: 'string' },
11571
+ },
11572
+ required: ['service', 'status', 'description'],
11573
+ type: 'object',
11574
+ 'x-route-path': '/health',
11575
+ },
11576
+ thermostat_schedule: {
11577
+ description:
11578
+ 'Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.',
11579
+ properties: {
11580
+ climate_preset_key: {
11581
+ description:
11582
+ 'Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.',
11583
+ type: 'string',
11584
+ },
11585
+ created_at: {
11586
+ description:
11587
+ 'Date and time at which the thermostat schedule was created.',
11588
+ format: 'date-time',
11589
+ type: 'string',
11590
+ },
11591
+ device_id: {
11592
+ description: 'ID of the desired thermostat device.',
11593
+ format: 'uuid',
11594
+ type: 'string',
11595
+ },
11596
+ ends_at: {
11177
11597
  description:
11178
11598
  'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
11179
11599
  format: 'date-time',
@@ -12024,12 +12444,222 @@ export default {
12024
12444
  description:
12025
12445
  '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.',
12026
12446
  items: {
12027
- properties: {
12028
- message: { type: 'string' },
12029
- warning_code: { type: 'string' },
12030
- },
12031
- required: ['message', 'warning_code'],
12032
- type: 'object',
12447
+ oneOf: [
12448
+ {
12449
+ description: 'Backup access code unhealthy.',
12450
+ properties: {
12451
+ message: { type: 'string' },
12452
+ warning_code: {
12453
+ description:
12454
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12455
+ enum: ['partial_backup_access_code_pool'],
12456
+ type: 'string',
12457
+ },
12458
+ },
12459
+ required: ['message', 'warning_code'],
12460
+ type: 'object',
12461
+ },
12462
+ {
12463
+ description: 'Too many backup codes.',
12464
+ properties: {
12465
+ message: { type: 'string' },
12466
+ warning_code: {
12467
+ description:
12468
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12469
+ enum: ['many_active_backup_codes'],
12470
+ type: 'string',
12471
+ },
12472
+ },
12473
+ required: ['message', 'warning_code'],
12474
+ type: 'object',
12475
+ },
12476
+ {
12477
+ description:
12478
+ 'A Salto Lock displaying an unknown device type.',
12479
+ properties: {
12480
+ message: { type: 'string' },
12481
+ warning_code: {
12482
+ description:
12483
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12484
+ enum: ['salto_unknown_device_type'],
12485
+ type: 'string',
12486
+ },
12487
+ },
12488
+ required: ['message', 'warning_code'],
12489
+ type: 'object',
12490
+ },
12491
+ {
12492
+ description: 'Wyze Lock is not connected to a gateway.',
12493
+ properties: {
12494
+ message: { type: 'string' },
12495
+ warning_code: {
12496
+ description:
12497
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12498
+ enum: ['wyze_device_missing_gateway'],
12499
+ type: 'string',
12500
+ },
12501
+ },
12502
+ required: ['message', 'warning_code'],
12503
+ type: 'object',
12504
+ },
12505
+ {
12506
+ description:
12507
+ 'Device is offline, but has some functionality available.',
12508
+ properties: {
12509
+ message: { type: 'string' },
12510
+ warning_code: {
12511
+ description:
12512
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12513
+ enum: ['functional_offline_device'],
12514
+ type: 'string',
12515
+ },
12516
+ },
12517
+ required: ['message', 'warning_code'],
12518
+ type: 'object',
12519
+ },
12520
+ {
12521
+ description: 'Third-party integration detected.',
12522
+ properties: {
12523
+ message: { type: 'string' },
12524
+ warning_code: {
12525
+ description:
12526
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12527
+ enum: ['third_party_integration_detected'],
12528
+ type: 'string',
12529
+ },
12530
+ },
12531
+ required: ['message', 'warning_code'],
12532
+ type: 'object',
12533
+ },
12534
+ {
12535
+ description: 'Nest thermostat in manual eco mode.',
12536
+ properties: {
12537
+ message: { type: 'string' },
12538
+ warning_code: {
12539
+ description:
12540
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12541
+ enum: ['nest_thermostat_in_manual_eco_mode'],
12542
+ type: 'string',
12543
+ },
12544
+ },
12545
+ required: ['message', 'warning_code'],
12546
+ type: 'object',
12547
+ },
12548
+ {
12549
+ description: 'Remote Unlock feature not enabled in settings.',
12550
+ properties: {
12551
+ message: { type: 'string' },
12552
+ warning_code: {
12553
+ description:
12554
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12555
+ enum: ['ttlock_lock_gateway_unlocking_not_enabled'],
12556
+ type: 'string',
12557
+ },
12558
+ },
12559
+ required: ['message', 'warning_code'],
12560
+ type: 'object',
12561
+ },
12562
+ {
12563
+ description: 'Gateway signal is weak.',
12564
+ properties: {
12565
+ message: { type: 'string' },
12566
+ warning_code: {
12567
+ description:
12568
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12569
+ enum: ['ttlock_weak_gateway_signal'],
12570
+ type: 'string',
12571
+ },
12572
+ },
12573
+ required: ['message', 'warning_code'],
12574
+ type: 'object',
12575
+ },
12576
+ {
12577
+ description: 'Temperature threshold exceeded.',
12578
+ properties: {
12579
+ message: { type: 'string' },
12580
+ warning_code: {
12581
+ description:
12582
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12583
+ enum: ['temperature_threshold_exceeded'],
12584
+ type: 'string',
12585
+ },
12586
+ },
12587
+ required: ['message', 'warning_code'],
12588
+ type: 'object',
12589
+ },
12590
+ {
12591
+ description: 'Device appears to be unresponsive.',
12592
+ properties: {
12593
+ message: { type: 'string' },
12594
+ warning_code: {
12595
+ description:
12596
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12597
+ enum: ['device_communication_degraded'],
12598
+ type: 'string',
12599
+ },
12600
+ },
12601
+ required: ['message', 'warning_code'],
12602
+ type: 'object',
12603
+ },
12604
+ {
12605
+ description: 'Scheduled maintenance window detected.',
12606
+ properties: {
12607
+ message: { type: 'string' },
12608
+ warning_code: {
12609
+ description:
12610
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12611
+ enum: ['scheduled_maintenance_window'],
12612
+ type: 'string',
12613
+ },
12614
+ },
12615
+ required: ['message', 'warning_code'],
12616
+ type: 'object',
12617
+ },
12618
+ {
12619
+ description: 'Device has flaky connection.',
12620
+ properties: {
12621
+ message: { type: 'string' },
12622
+ warning_code: {
12623
+ description:
12624
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12625
+ enum: ['device_has_flaky_connection'],
12626
+ type: 'string',
12627
+ },
12628
+ },
12629
+ required: ['message', 'warning_code'],
12630
+ type: 'object',
12631
+ },
12632
+ {
12633
+ description:
12634
+ 'Lock is in Office Mode. Access Codes will not unlock doors.',
12635
+ properties: {
12636
+ message: { type: 'string' },
12637
+ warning_code: {
12638
+ description:
12639
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12640
+ enum: ['salto_office_mode'],
12641
+ type: 'string',
12642
+ },
12643
+ },
12644
+ required: ['message', 'warning_code'],
12645
+ type: 'object',
12646
+ },
12647
+ {
12648
+ description:
12649
+ 'Lock is in Privacy Mode. Access Codes will not unlock doors.',
12650
+ properties: {
12651
+ message: { type: 'string' },
12652
+ warning_code: {
12653
+ description:
12654
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12655
+ enum: ['salto_privacy_mode'],
12656
+ type: 'string',
12657
+ },
12658
+ },
12659
+ required: ['message', 'warning_code'],
12660
+ type: 'object',
12661
+ },
12662
+ ],
12033
12663
  },
12034
12664
  type: 'array',
12035
12665
  },