@seamapi/types 1.360.1 → 1.361.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/connect.cjs +739 -583
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2320 -1622
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +192 -126
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -4
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +193 -127
  8. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  9. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  10. package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
  11. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
  13. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  14. package/lib/seam/connect/models/acs/acs-user.d.ts +4 -4
  15. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +26 -26
  16. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  17. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
  18. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +42 -42
  19. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
  20. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
  21. package/lib/seam/connect/models/devices/device.d.ts +1760 -389
  22. package/lib/seam/connect/models/devices/device.js +82 -4
  23. package/lib/seam/connect/models/devices/device.js.map +1 -1
  24. package/lib/seam/connect/models/devices/phone.d.ts +4 -4
  25. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +236 -58
  26. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  27. package/lib/seam/connect/models/events/devices.d.ts +152 -152
  28. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  29. package/lib/seam/connect/models/events/seam-event.d.ts +112 -112
  30. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +8 -8
  31. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  32. package/lib/seam/connect/openapi.d.ts +58 -148
  33. package/lib/seam/connect/openapi.js +563 -463
  34. package/lib/seam/connect/openapi.js.map +1 -1
  35. package/lib/seam/connect/route-types.d.ts +840 -648
  36. package/package.json +1 -1
  37. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -4
  38. package/src/lib/seam/connect/models/devices/device.ts +103 -4
  39. package/src/lib/seam/connect/openapi.ts +562 -478
  40. package/src/lib/seam/connect/route-types.ts +888 -720
@@ -309,9 +309,60 @@ export default {
309
309
  required: ['message', 'is_access_code_error', 'error_code'],
310
310
  type: 'object',
311
311
  },
312
+ {
313
+ description: 'Account is disconnected',
314
+ properties: {
315
+ created_at: { format: 'date-time', type: 'string' },
316
+ error_code: {
317
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
318
+ enum: ['account_disconnected'],
319
+ type: 'string',
320
+ },
321
+ is_connected_account_error: {
322
+ enum: [true],
323
+ type: 'boolean',
324
+ },
325
+ is_device_error: { enum: [false], type: 'boolean' },
326
+ message: { type: 'string' },
327
+ },
328
+ required: [
329
+ 'message',
330
+ 'is_device_error',
331
+ 'created_at',
332
+ 'error_code',
333
+ 'is_connected_account_error',
334
+ ],
335
+ type: 'object',
336
+ },
337
+ {
338
+ description: 'Salto site user limit reached.',
339
+ properties: {
340
+ created_at: { format: 'date-time', type: 'string' },
341
+ error_code: {
342
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
343
+ enum: ['salto_ks_subscription_limit_exceeded'],
344
+ type: 'string',
345
+ },
346
+ is_connected_account_error: {
347
+ enum: [true],
348
+ type: 'boolean',
349
+ },
350
+ is_device_error: { enum: [false], type: 'boolean' },
351
+ message: { type: 'string' },
352
+ },
353
+ required: [
354
+ 'message',
355
+ 'is_device_error',
356
+ 'created_at',
357
+ 'error_code',
358
+ 'is_connected_account_error',
359
+ ],
360
+ type: 'object',
361
+ },
312
362
  {
313
363
  description: 'Device is offline',
314
364
  properties: {
365
+ created_at: { format: 'date-time', type: 'string' },
315
366
  error_code: {
316
367
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
317
368
  enum: ['device_offline'],
@@ -320,12 +371,18 @@ export default {
320
371
  is_device_error: { enum: [true], type: 'boolean' },
321
372
  message: { type: 'string' },
322
373
  },
323
- required: ['message', 'is_device_error', 'error_code'],
374
+ required: [
375
+ 'message',
376
+ 'is_device_error',
377
+ 'created_at',
378
+ 'error_code',
379
+ ],
324
380
  type: 'object',
325
381
  },
326
382
  {
327
383
  description: 'Device has been removed',
328
384
  properties: {
385
+ created_at: { format: 'date-time', type: 'string' },
329
386
  error_code: {
330
387
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
331
388
  enum: ['device_removed'],
@@ -334,12 +391,18 @@ export default {
334
391
  is_device_error: { enum: [true], type: 'boolean' },
335
392
  message: { type: 'string' },
336
393
  },
337
- required: ['message', 'is_device_error', 'error_code'],
394
+ required: [
395
+ 'message',
396
+ 'is_device_error',
397
+ 'created_at',
398
+ 'error_code',
399
+ ],
338
400
  type: 'object',
339
401
  },
340
402
  {
341
403
  description: 'Hub is disconnected',
342
404
  properties: {
405
+ created_at: { format: 'date-time', type: 'string' },
343
406
  error_code: {
344
407
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
345
408
  enum: ['hub_disconnected'],
@@ -348,12 +411,18 @@ export default {
348
411
  is_device_error: { enum: [true], type: 'boolean' },
349
412
  message: { type: 'string' },
350
413
  },
351
- required: ['message', 'is_device_error', 'error_code'],
414
+ required: [
415
+ 'message',
416
+ 'is_device_error',
417
+ 'created_at',
418
+ 'error_code',
419
+ ],
352
420
  type: 'object',
353
421
  },
354
422
  {
355
423
  description: 'Device is disconnected',
356
424
  properties: {
425
+ created_at: { format: 'date-time', type: 'string' },
357
426
  error_code: {
358
427
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
359
428
  enum: ['device_disconnected'],
@@ -362,12 +431,18 @@ export default {
362
431
  is_device_error: { enum: [true], type: 'boolean' },
363
432
  message: { type: 'string' },
364
433
  },
365
- required: ['message', 'is_device_error', 'error_code'],
434
+ required: [
435
+ 'message',
436
+ 'is_device_error',
437
+ 'created_at',
438
+ 'error_code',
439
+ ],
366
440
  type: 'object',
367
441
  },
368
442
  {
369
443
  description: 'The backup access code pool is empty.',
370
444
  properties: {
445
+ created_at: { format: 'date-time', type: 'string' },
371
446
  error_code: {
372
447
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
373
448
  enum: ['empty_backup_access_code_pool'],
@@ -376,12 +451,18 @@ export default {
376
451
  is_device_error: { enum: [true], type: 'boolean' },
377
452
  message: { type: 'string' },
378
453
  },
379
- required: ['message', 'is_device_error', 'error_code'],
454
+ required: [
455
+ 'message',
456
+ 'is_device_error',
457
+ 'created_at',
458
+ 'error_code',
459
+ ],
380
460
  type: 'object',
381
461
  },
382
462
  {
383
463
  description: 'User is not authorized to use the August Lock.',
384
464
  properties: {
465
+ created_at: { format: 'date-time', type: 'string' },
385
466
  error_code: {
386
467
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
387
468
  enum: ['august_lock_not_authorized'],
@@ -390,12 +471,18 @@ export default {
390
471
  is_device_error: { enum: [true], type: 'boolean' },
391
472
  message: { type: 'string' },
392
473
  },
393
- required: ['message', 'is_device_error', 'error_code'],
474
+ required: [
475
+ 'message',
476
+ 'is_device_error',
477
+ 'created_at',
478
+ 'error_code',
479
+ ],
394
480
  type: 'object',
395
481
  },
396
482
  {
397
483
  description: 'Lock is not connected to the Seam Bridge.',
398
484
  properties: {
485
+ created_at: { format: 'date-time', type: 'string' },
399
486
  error_code: {
400
487
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
401
488
  enum: ['august_lock_missing_bridge'],
@@ -404,26 +491,18 @@ export default {
404
491
  is_device_error: { enum: [true], type: 'boolean' },
405
492
  message: { type: 'string' },
406
493
  },
407
- required: ['message', 'is_device_error', 'error_code'],
408
- type: 'object',
409
- },
410
- {
411
- description: 'Salto site user limit reached.',
412
- properties: {
413
- error_code: {
414
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
415
- enum: ['salto_site_user_limit_reached'],
416
- type: 'string',
417
- },
418
- is_device_error: { enum: [true], type: 'boolean' },
419
- message: { type: 'string' },
420
- },
421
- required: ['message', 'is_device_error', 'error_code'],
494
+ required: [
495
+ 'message',
496
+ 'is_device_error',
497
+ 'created_at',
498
+ 'error_code',
499
+ ],
422
500
  type: 'object',
423
501
  },
424
502
  {
425
503
  description: 'Lock is not paired with a Gateway.',
426
504
  properties: {
505
+ created_at: { format: 'date-time', type: 'string' },
427
506
  error_code: {
428
507
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
429
508
  enum: ['ttlock_lock_not_paired_to_gateway'],
@@ -432,12 +511,18 @@ export default {
432
511
  is_device_error: { enum: [true], type: 'boolean' },
433
512
  message: { type: 'string' },
434
513
  },
435
- required: ['message', 'is_device_error', 'error_code'],
514
+ required: [
515
+ 'message',
516
+ 'is_device_error',
517
+ 'created_at',
518
+ 'error_code',
519
+ ],
436
520
  type: 'object',
437
521
  },
438
522
  {
439
523
  description: 'Missing device credentials.',
440
524
  properties: {
525
+ created_at: { format: 'date-time', type: 'string' },
441
526
  error_code: {
442
527
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
443
528
  enum: ['missing_device_credentials'],
@@ -446,12 +531,18 @@ export default {
446
531
  is_device_error: { enum: [true], type: 'boolean' },
447
532
  message: { type: 'string' },
448
533
  },
449
- required: ['message', 'is_device_error', 'error_code'],
534
+ required: [
535
+ 'message',
536
+ 'is_device_error',
537
+ 'created_at',
538
+ 'error_code',
539
+ ],
450
540
  type: 'object',
451
541
  },
452
542
  {
453
543
  description: 'The auxiliary heat is running.',
454
544
  properties: {
545
+ created_at: { format: 'date-time', type: 'string' },
455
546
  error_code: {
456
547
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
457
548
  enum: ['auxiliary_heat_running'],
@@ -460,12 +551,18 @@ export default {
460
551
  is_device_error: { enum: [true], type: 'boolean' },
461
552
  message: { type: 'string' },
462
553
  },
463
- required: ['message', 'is_device_error', 'error_code'],
554
+ required: [
555
+ 'message',
556
+ 'is_device_error',
557
+ 'created_at',
558
+ 'error_code',
559
+ ],
464
560
  type: 'object',
465
561
  },
466
562
  {
467
563
  description: 'Subscription required to connect.',
468
564
  properties: {
565
+ created_at: { format: 'date-time', type: 'string' },
469
566
  error_code: {
470
567
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
471
568
  enum: ['subscription_required'],
@@ -474,32 +571,10 @@ export default {
474
571
  is_device_error: { enum: [true], type: 'boolean' },
475
572
  message: { type: 'string' },
476
573
  },
477
- required: ['message', 'is_device_error', 'error_code'],
478
- type: 'object',
479
- },
480
- {
481
- description: 'Account is disconnected.',
482
- properties: {
483
- created_at: {
484
- description: 'Date and time at which Seam created the error.',
485
- format: 'date-time',
486
- type: 'string',
487
- },
488
- error_code: {
489
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
490
- enum: ['account_disconnected'],
491
- type: 'string',
492
- },
493
- is_connected_account_error: {
494
- enum: [true],
495
- type: 'boolean',
496
- },
497
- message: { type: 'string' },
498
- },
499
574
  required: [
500
- 'created_at',
501
575
  'message',
502
- 'is_connected_account_error',
576
+ 'is_device_error',
577
+ 'created_at',
503
578
  'error_code',
504
579
  ],
505
580
  type: 'object',
@@ -531,64 +606,6 @@ export default {
531
606
  ],
532
607
  type: 'object',
533
608
  },
534
- {
535
- description: 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
536
- properties: {
537
- created_at: {
538
- description: 'Date and time at which Seam created the error.',
539
- format: 'date-time',
540
- type: 'string',
541
- },
542
- error_code: {
543
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
544
- enum: ['salto_ks_subscription_limit_exceeded'],
545
- type: 'string',
546
- },
547
- is_connected_account_error: {
548
- enum: [true],
549
- type: 'boolean',
550
- },
551
- message: { type: 'string' },
552
- salto_ks_metadata: {
553
- properties: {
554
- sites: {
555
- items: {
556
- properties: {
557
- site_id: { type: 'string' },
558
- site_name: { type: 'string' },
559
- site_user_subscription_limit: {
560
- minimum: 0,
561
- type: 'integer',
562
- },
563
- subscribed_site_user_count: {
564
- minimum: 0,
565
- type: 'integer',
566
- },
567
- },
568
- required: [
569
- 'site_id',
570
- 'site_name',
571
- 'subscribed_site_user_count',
572
- 'site_user_subscription_limit',
573
- ],
574
- type: 'object',
575
- },
576
- type: 'array',
577
- },
578
- },
579
- required: ['sites'],
580
- type: 'object',
581
- },
582
- },
583
- required: [
584
- 'created_at',
585
- 'message',
586
- 'is_connected_account_error',
587
- 'error_code',
588
- 'salto_ks_metadata',
589
- ],
590
- type: 'object',
591
- },
592
609
  ],
593
610
  },
594
611
  type: 'array',
@@ -5392,9 +5409,60 @@ export default {
5392
5409
  items: {
5393
5410
  discriminator: { propertyName: 'error_code' },
5394
5411
  oneOf: [
5412
+ {
5413
+ description: 'Account is disconnected',
5414
+ properties: {
5415
+ created_at: { format: 'date-time', type: 'string' },
5416
+ error_code: {
5417
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5418
+ enum: ['account_disconnected'],
5419
+ type: 'string',
5420
+ },
5421
+ is_connected_account_error: {
5422
+ enum: [true],
5423
+ type: 'boolean',
5424
+ },
5425
+ is_device_error: { enum: [false], type: 'boolean' },
5426
+ message: { type: 'string' },
5427
+ },
5428
+ required: [
5429
+ 'message',
5430
+ 'is_device_error',
5431
+ 'created_at',
5432
+ 'error_code',
5433
+ 'is_connected_account_error',
5434
+ ],
5435
+ type: 'object',
5436
+ },
5437
+ {
5438
+ description: 'Salto site user limit reached.',
5439
+ properties: {
5440
+ created_at: { format: 'date-time', type: 'string' },
5441
+ error_code: {
5442
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5443
+ enum: ['salto_ks_subscription_limit_exceeded'],
5444
+ type: 'string',
5445
+ },
5446
+ is_connected_account_error: {
5447
+ enum: [true],
5448
+ type: 'boolean',
5449
+ },
5450
+ is_device_error: { enum: [false], type: 'boolean' },
5451
+ message: { type: 'string' },
5452
+ },
5453
+ required: [
5454
+ 'message',
5455
+ 'is_device_error',
5456
+ 'created_at',
5457
+ 'error_code',
5458
+ 'is_connected_account_error',
5459
+ ],
5460
+ type: 'object',
5461
+ },
5395
5462
  {
5396
5463
  description: 'Device is offline',
5397
5464
  properties: {
5465
+ created_at: { format: 'date-time', type: 'string' },
5398
5466
  error_code: {
5399
5467
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5400
5468
  enum: ['device_offline'],
@@ -5403,12 +5471,18 @@ export default {
5403
5471
  is_device_error: { enum: [true], type: 'boolean' },
5404
5472
  message: { type: 'string' },
5405
5473
  },
5406
- required: ['message', 'is_device_error', 'error_code'],
5474
+ required: [
5475
+ 'message',
5476
+ 'is_device_error',
5477
+ 'created_at',
5478
+ 'error_code',
5479
+ ],
5407
5480
  type: 'object',
5408
5481
  },
5409
5482
  {
5410
5483
  description: 'Device has been removed',
5411
5484
  properties: {
5485
+ created_at: { format: 'date-time', type: 'string' },
5412
5486
  error_code: {
5413
5487
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5414
5488
  enum: ['device_removed'],
@@ -5417,12 +5491,18 @@ export default {
5417
5491
  is_device_error: { enum: [true], type: 'boolean' },
5418
5492
  message: { type: 'string' },
5419
5493
  },
5420
- required: ['message', 'is_device_error', 'error_code'],
5494
+ required: [
5495
+ 'message',
5496
+ 'is_device_error',
5497
+ 'created_at',
5498
+ 'error_code',
5499
+ ],
5421
5500
  type: 'object',
5422
5501
  },
5423
5502
  {
5424
5503
  description: 'Hub is disconnected',
5425
5504
  properties: {
5505
+ created_at: { format: 'date-time', type: 'string' },
5426
5506
  error_code: {
5427
5507
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5428
5508
  enum: ['hub_disconnected'],
@@ -5431,12 +5511,18 @@ export default {
5431
5511
  is_device_error: { enum: [true], type: 'boolean' },
5432
5512
  message: { type: 'string' },
5433
5513
  },
5434
- required: ['message', 'is_device_error', 'error_code'],
5514
+ required: [
5515
+ 'message',
5516
+ 'is_device_error',
5517
+ 'created_at',
5518
+ 'error_code',
5519
+ ],
5435
5520
  type: 'object',
5436
5521
  },
5437
5522
  {
5438
5523
  description: 'Device is disconnected',
5439
5524
  properties: {
5525
+ created_at: { format: 'date-time', type: 'string' },
5440
5526
  error_code: {
5441
5527
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5442
5528
  enum: ['device_disconnected'],
@@ -5445,12 +5531,18 @@ export default {
5445
5531
  is_device_error: { enum: [true], type: 'boolean' },
5446
5532
  message: { type: 'string' },
5447
5533
  },
5448
- required: ['message', 'is_device_error', 'error_code'],
5534
+ required: [
5535
+ 'message',
5536
+ 'is_device_error',
5537
+ 'created_at',
5538
+ 'error_code',
5539
+ ],
5449
5540
  type: 'object',
5450
5541
  },
5451
5542
  {
5452
5543
  description: 'The backup access code pool is empty.',
5453
5544
  properties: {
5545
+ created_at: { format: 'date-time', type: 'string' },
5454
5546
  error_code: {
5455
5547
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5456
5548
  enum: ['empty_backup_access_code_pool'],
@@ -5459,12 +5551,18 @@ export default {
5459
5551
  is_device_error: { enum: [true], type: 'boolean' },
5460
5552
  message: { type: 'string' },
5461
5553
  },
5462
- required: ['message', 'is_device_error', 'error_code'],
5554
+ required: [
5555
+ 'message',
5556
+ 'is_device_error',
5557
+ 'created_at',
5558
+ 'error_code',
5559
+ ],
5463
5560
  type: 'object',
5464
5561
  },
5465
5562
  {
5466
5563
  description: 'User is not authorized to use the August Lock.',
5467
5564
  properties: {
5565
+ created_at: { format: 'date-time', type: 'string' },
5468
5566
  error_code: {
5469
5567
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5470
5568
  enum: ['august_lock_not_authorized'],
@@ -5473,12 +5571,18 @@ export default {
5473
5571
  is_device_error: { enum: [true], type: 'boolean' },
5474
5572
  message: { type: 'string' },
5475
5573
  },
5476
- required: ['message', 'is_device_error', 'error_code'],
5477
- type: 'object',
5574
+ required: [
5575
+ 'message',
5576
+ 'is_device_error',
5577
+ 'created_at',
5578
+ 'error_code',
5579
+ ],
5580
+ type: 'object',
5478
5581
  },
5479
5582
  {
5480
5583
  description: 'Lock is not connected to the Seam Bridge.',
5481
5584
  properties: {
5585
+ created_at: { format: 'date-time', type: 'string' },
5482
5586
  error_code: {
5483
5587
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5484
5588
  enum: ['august_lock_missing_bridge'],
@@ -5487,26 +5591,18 @@ export default {
5487
5591
  is_device_error: { enum: [true], type: 'boolean' },
5488
5592
  message: { type: 'string' },
5489
5593
  },
5490
- required: ['message', 'is_device_error', 'error_code'],
5491
- type: 'object',
5492
- },
5493
- {
5494
- description: 'Salto site user limit reached.',
5495
- properties: {
5496
- error_code: {
5497
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5498
- enum: ['salto_site_user_limit_reached'],
5499
- type: 'string',
5500
- },
5501
- is_device_error: { enum: [true], type: 'boolean' },
5502
- message: { type: 'string' },
5503
- },
5504
- required: ['message', 'is_device_error', 'error_code'],
5594
+ required: [
5595
+ 'message',
5596
+ 'is_device_error',
5597
+ 'created_at',
5598
+ 'error_code',
5599
+ ],
5505
5600
  type: 'object',
5506
5601
  },
5507
5602
  {
5508
5603
  description: 'Lock is not paired with a Gateway.',
5509
5604
  properties: {
5605
+ created_at: { format: 'date-time', type: 'string' },
5510
5606
  error_code: {
5511
5607
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5512
5608
  enum: ['ttlock_lock_not_paired_to_gateway'],
@@ -5515,12 +5611,18 @@ export default {
5515
5611
  is_device_error: { enum: [true], type: 'boolean' },
5516
5612
  message: { type: 'string' },
5517
5613
  },
5518
- required: ['message', 'is_device_error', 'error_code'],
5614
+ required: [
5615
+ 'message',
5616
+ 'is_device_error',
5617
+ 'created_at',
5618
+ 'error_code',
5619
+ ],
5519
5620
  type: 'object',
5520
5621
  },
5521
5622
  {
5522
5623
  description: 'Missing device credentials.',
5523
5624
  properties: {
5625
+ created_at: { format: 'date-time', type: 'string' },
5524
5626
  error_code: {
5525
5627
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5526
5628
  enum: ['missing_device_credentials'],
@@ -5529,12 +5631,18 @@ export default {
5529
5631
  is_device_error: { enum: [true], type: 'boolean' },
5530
5632
  message: { type: 'string' },
5531
5633
  },
5532
- required: ['message', 'is_device_error', 'error_code'],
5634
+ required: [
5635
+ 'message',
5636
+ 'is_device_error',
5637
+ 'created_at',
5638
+ 'error_code',
5639
+ ],
5533
5640
  type: 'object',
5534
5641
  },
5535
5642
  {
5536
5643
  description: 'The auxiliary heat is running.',
5537
5644
  properties: {
5645
+ created_at: { format: 'date-time', type: 'string' },
5538
5646
  error_code: {
5539
5647
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5540
5648
  enum: ['auxiliary_heat_running'],
@@ -5543,12 +5651,18 @@ export default {
5543
5651
  is_device_error: { enum: [true], type: 'boolean' },
5544
5652
  message: { type: 'string' },
5545
5653
  },
5546
- required: ['message', 'is_device_error', 'error_code'],
5654
+ required: [
5655
+ 'message',
5656
+ 'is_device_error',
5657
+ 'created_at',
5658
+ 'error_code',
5659
+ ],
5547
5660
  type: 'object',
5548
5661
  },
5549
5662
  {
5550
5663
  description: 'Subscription required to connect.',
5551
5664
  properties: {
5665
+ created_at: { format: 'date-time', type: 'string' },
5552
5666
  error_code: {
5553
5667
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5554
5668
  enum: ['subscription_required'],
@@ -5557,32 +5671,10 @@ export default {
5557
5671
  is_device_error: { enum: [true], type: 'boolean' },
5558
5672
  message: { type: 'string' },
5559
5673
  },
5560
- required: ['message', 'is_device_error', 'error_code'],
5561
- type: 'object',
5562
- },
5563
- {
5564
- description: 'Account is disconnected.',
5565
- properties: {
5566
- created_at: {
5567
- description: 'Date and time at which Seam created the error.',
5568
- format: 'date-time',
5569
- type: 'string',
5570
- },
5571
- error_code: {
5572
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5573
- enum: ['account_disconnected'],
5574
- type: 'string',
5575
- },
5576
- is_connected_account_error: {
5577
- enum: [true],
5578
- type: 'boolean',
5579
- },
5580
- message: { type: 'string' },
5581
- },
5582
5674
  required: [
5583
- 'created_at',
5584
5675
  'message',
5585
- 'is_connected_account_error',
5676
+ 'is_device_error',
5677
+ 'created_at',
5586
5678
  'error_code',
5587
5679
  ],
5588
5680
  type: 'object',
@@ -5614,64 +5706,6 @@ export default {
5614
5706
  ],
5615
5707
  type: 'object',
5616
5708
  },
5617
- {
5618
- description: 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
5619
- properties: {
5620
- created_at: {
5621
- description: 'Date and time at which Seam created the error.',
5622
- format: 'date-time',
5623
- type: 'string',
5624
- },
5625
- error_code: {
5626
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5627
- enum: ['salto_ks_subscription_limit_exceeded'],
5628
- type: 'string',
5629
- },
5630
- is_connected_account_error: {
5631
- enum: [true],
5632
- type: 'boolean',
5633
- },
5634
- message: { type: 'string' },
5635
- salto_ks_metadata: {
5636
- properties: {
5637
- sites: {
5638
- items: {
5639
- properties: {
5640
- site_id: { type: 'string' },
5641
- site_name: { type: 'string' },
5642
- site_user_subscription_limit: {
5643
- minimum: 0,
5644
- type: 'integer',
5645
- },
5646
- subscribed_site_user_count: {
5647
- minimum: 0,
5648
- type: 'integer',
5649
- },
5650
- },
5651
- required: [
5652
- 'site_id',
5653
- 'site_name',
5654
- 'subscribed_site_user_count',
5655
- 'site_user_subscription_limit',
5656
- ],
5657
- type: 'object',
5658
- },
5659
- type: 'array',
5660
- },
5661
- },
5662
- required: ['sites'],
5663
- type: 'object',
5664
- },
5665
- },
5666
- required: [
5667
- 'created_at',
5668
- 'message',
5669
- 'is_connected_account_error',
5670
- 'error_code',
5671
- 'salto_ks_metadata',
5672
- ],
5673
- type: 'object',
5674
- },
5675
5709
  ],
5676
5710
  },
5677
5711
  type: 'array',
@@ -6931,6 +6965,7 @@ export default {
6931
6965
  {
6932
6966
  description: 'Backup access code unhealthy.',
6933
6967
  properties: {
6968
+ created_at: { format: 'date-time', type: 'string' },
6934
6969
  message: { type: 'string' },
6935
6970
  warning_code: {
6936
6971
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -6938,12 +6973,13 @@ export default {
6938
6973
  type: 'string',
6939
6974
  },
6940
6975
  },
6941
- required: ['message', 'warning_code'],
6976
+ required: ['message', 'created_at', 'warning_code'],
6942
6977
  type: 'object',
6943
6978
  },
6944
6979
  {
6945
6980
  description: 'Too many backup codes.',
6946
6981
  properties: {
6982
+ created_at: { format: 'date-time', type: 'string' },
6947
6983
  message: { type: 'string' },
6948
6984
  warning_code: {
6949
6985
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -6951,12 +6987,13 @@ export default {
6951
6987
  type: 'string',
6952
6988
  },
6953
6989
  },
6954
- required: ['message', 'warning_code'],
6990
+ required: ['message', 'created_at', 'warning_code'],
6955
6991
  type: 'object',
6956
6992
  },
6957
6993
  {
6958
6994
  description: 'A Salto Lock displaying an unknown device type.',
6959
6995
  properties: {
6996
+ created_at: { format: 'date-time', type: 'string' },
6960
6997
  message: { type: 'string' },
6961
6998
  warning_code: {
6962
6999
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -6964,12 +7001,13 @@ export default {
6964
7001
  type: 'string',
6965
7002
  },
6966
7003
  },
6967
- required: ['message', 'warning_code'],
7004
+ required: ['message', 'created_at', 'warning_code'],
6968
7005
  type: 'object',
6969
7006
  },
6970
7007
  {
6971
7008
  description: 'Wyze Lock is not connected to a gateway.',
6972
7009
  properties: {
7010
+ created_at: { format: 'date-time', type: 'string' },
6973
7011
  message: { type: 'string' },
6974
7012
  warning_code: {
6975
7013
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -6977,12 +7015,13 @@ export default {
6977
7015
  type: 'string',
6978
7016
  },
6979
7017
  },
6980
- required: ['message', 'warning_code'],
7018
+ required: ['message', 'created_at', 'warning_code'],
6981
7019
  type: 'object',
6982
7020
  },
6983
7021
  {
6984
7022
  description: 'Device is offline, but has some functionality available.',
6985
7023
  properties: {
7024
+ created_at: { format: 'date-time', type: 'string' },
6986
7025
  message: { type: 'string' },
6987
7026
  warning_code: {
6988
7027
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -6990,12 +7029,13 @@ export default {
6990
7029
  type: 'string',
6991
7030
  },
6992
7031
  },
6993
- required: ['message', 'warning_code'],
7032
+ required: ['message', 'created_at', 'warning_code'],
6994
7033
  type: 'object',
6995
7034
  },
6996
7035
  {
6997
7036
  description: 'Third-party integration detected.',
6998
7037
  properties: {
7038
+ created_at: { format: 'date-time', type: 'string' },
6999
7039
  message: { type: 'string' },
7000
7040
  warning_code: {
7001
7041
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -7003,12 +7043,13 @@ export default {
7003
7043
  type: 'string',
7004
7044
  },
7005
7045
  },
7006
- required: ['message', 'warning_code'],
7046
+ required: ['message', 'created_at', 'warning_code'],
7007
7047
  type: 'object',
7008
7048
  },
7009
7049
  {
7010
7050
  description: 'Nest thermostat in manual eco mode.',
7011
7051
  properties: {
7052
+ created_at: { format: 'date-time', type: 'string' },
7012
7053
  message: { type: 'string' },
7013
7054
  warning_code: {
7014
7055
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -7016,12 +7057,13 @@ export default {
7016
7057
  type: 'string',
7017
7058
  },
7018
7059
  },
7019
- required: ['message', 'warning_code'],
7060
+ required: ['message', 'created_at', 'warning_code'],
7020
7061
  type: 'object',
7021
7062
  },
7022
7063
  {
7023
7064
  description: 'Remote Unlock feature not enabled in settings.',
7024
7065
  properties: {
7066
+ created_at: { format: 'date-time', type: 'string' },
7025
7067
  message: { type: 'string' },
7026
7068
  warning_code: {
7027
7069
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -7029,12 +7071,13 @@ export default {
7029
7071
  type: 'string',
7030
7072
  },
7031
7073
  },
7032
- required: ['message', 'warning_code'],
7074
+ required: ['message', 'created_at', 'warning_code'],
7033
7075
  type: 'object',
7034
7076
  },
7035
7077
  {
7036
7078
  description: 'Gateway signal is weak.',
7037
7079
  properties: {
7080
+ created_at: { format: 'date-time', type: 'string' },
7038
7081
  message: { type: 'string' },
7039
7082
  warning_code: {
7040
7083
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -7042,12 +7085,13 @@ export default {
7042
7085
  type: 'string',
7043
7086
  },
7044
7087
  },
7045
- required: ['message', 'warning_code'],
7088
+ required: ['message', 'created_at', 'warning_code'],
7046
7089
  type: 'object',
7047
7090
  },
7048
7091
  {
7049
7092
  description: 'Temperature threshold exceeded.',
7050
7093
  properties: {
7094
+ created_at: { format: 'date-time', type: 'string' },
7051
7095
  message: { type: 'string' },
7052
7096
  warning_code: {
7053
7097
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -7055,12 +7099,13 @@ export default {
7055
7099
  type: 'string',
7056
7100
  },
7057
7101
  },
7058
- required: ['message', 'warning_code'],
7102
+ required: ['message', 'created_at', 'warning_code'],
7059
7103
  type: 'object',
7060
7104
  },
7061
7105
  {
7062
7106
  description: 'Device appears to be unresponsive.',
7063
7107
  properties: {
7108
+ created_at: { format: 'date-time', type: 'string' },
7064
7109
  message: { type: 'string' },
7065
7110
  warning_code: {
7066
7111
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -7068,12 +7113,13 @@ export default {
7068
7113
  type: 'string',
7069
7114
  },
7070
7115
  },
7071
- required: ['message', 'warning_code'],
7116
+ required: ['message', 'created_at', 'warning_code'],
7072
7117
  type: 'object',
7073
7118
  },
7074
7119
  {
7075
7120
  description: 'Scheduled maintenance window detected.',
7076
7121
  properties: {
7122
+ created_at: { format: 'date-time', type: 'string' },
7077
7123
  message: { type: 'string' },
7078
7124
  warning_code: {
7079
7125
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -7081,12 +7127,13 @@ export default {
7081
7127
  type: 'string',
7082
7128
  },
7083
7129
  },
7084
- required: ['message', 'warning_code'],
7130
+ required: ['message', 'created_at', 'warning_code'],
7085
7131
  type: 'object',
7086
7132
  },
7087
7133
  {
7088
7134
  description: 'Device has flaky connection.',
7089
7135
  properties: {
7136
+ created_at: { format: 'date-time', type: 'string' },
7090
7137
  message: { type: 'string' },
7091
7138
  warning_code: {
7092
7139
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -7094,12 +7141,13 @@ export default {
7094
7141
  type: 'string',
7095
7142
  },
7096
7143
  },
7097
- required: ['message', 'warning_code'],
7144
+ required: ['message', 'created_at', 'warning_code'],
7098
7145
  type: 'object',
7099
7146
  },
7100
7147
  {
7101
7148
  description: 'Lock is in Office Mode. Access Codes will not unlock doors.',
7102
7149
  properties: {
7150
+ created_at: { format: 'date-time', type: 'string' },
7103
7151
  message: { type: 'string' },
7104
7152
  warning_code: {
7105
7153
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -7107,12 +7155,13 @@ export default {
7107
7155
  type: 'string',
7108
7156
  },
7109
7157
  },
7110
- required: ['message', 'warning_code'],
7158
+ required: ['message', 'created_at', 'warning_code'],
7111
7159
  type: 'object',
7112
7160
  },
7113
7161
  {
7114
7162
  description: 'Lock is in Privacy Mode. Access Codes will not unlock doors.',
7115
7163
  properties: {
7164
+ created_at: { format: 'date-time', type: 'string' },
7116
7165
  message: { type: 'string' },
7117
7166
  warning_code: {
7118
7167
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -7120,12 +7169,13 @@ export default {
7120
7169
  type: 'string',
7121
7170
  },
7122
7171
  },
7123
- required: ['message', 'warning_code'],
7172
+ required: ['message', 'created_at', 'warning_code'],
7124
7173
  type: 'object',
7125
7174
  },
7126
7175
  {
7127
7176
  description: 'An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.',
7128
7177
  properties: {
7178
+ created_at: { format: 'date-time', type: 'string' },
7129
7179
  message: { type: 'string' },
7130
7180
  warning_code: {
7131
7181
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -7133,7 +7183,7 @@ export default {
7133
7183
  type: 'string',
7134
7184
  },
7135
7185
  },
7136
- required: ['message', 'warning_code'],
7186
+ required: ['message', 'created_at', 'warning_code'],
7137
7187
  type: 'object',
7138
7188
  },
7139
7189
  ],
@@ -11940,9 +11990,60 @@ export default {
11940
11990
  required: ['message', 'is_access_code_error', 'error_code'],
11941
11991
  type: 'object',
11942
11992
  },
11993
+ {
11994
+ description: 'Account is disconnected',
11995
+ properties: {
11996
+ created_at: { format: 'date-time', type: 'string' },
11997
+ error_code: {
11998
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11999
+ enum: ['account_disconnected'],
12000
+ type: 'string',
12001
+ },
12002
+ is_connected_account_error: {
12003
+ enum: [true],
12004
+ type: 'boolean',
12005
+ },
12006
+ is_device_error: { enum: [false], type: 'boolean' },
12007
+ message: { type: 'string' },
12008
+ },
12009
+ required: [
12010
+ 'message',
12011
+ 'is_device_error',
12012
+ 'created_at',
12013
+ 'error_code',
12014
+ 'is_connected_account_error',
12015
+ ],
12016
+ type: 'object',
12017
+ },
12018
+ {
12019
+ description: 'Salto site user limit reached.',
12020
+ properties: {
12021
+ created_at: { format: 'date-time', type: 'string' },
12022
+ error_code: {
12023
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12024
+ enum: ['salto_ks_subscription_limit_exceeded'],
12025
+ type: 'string',
12026
+ },
12027
+ is_connected_account_error: {
12028
+ enum: [true],
12029
+ type: 'boolean',
12030
+ },
12031
+ is_device_error: { enum: [false], type: 'boolean' },
12032
+ message: { type: 'string' },
12033
+ },
12034
+ required: [
12035
+ 'message',
12036
+ 'is_device_error',
12037
+ 'created_at',
12038
+ 'error_code',
12039
+ 'is_connected_account_error',
12040
+ ],
12041
+ type: 'object',
12042
+ },
11943
12043
  {
11944
12044
  description: 'Device is offline',
11945
12045
  properties: {
12046
+ created_at: { format: 'date-time', type: 'string' },
11946
12047
  error_code: {
11947
12048
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11948
12049
  enum: ['device_offline'],
@@ -11951,12 +12052,18 @@ export default {
11951
12052
  is_device_error: { enum: [true], type: 'boolean' },
11952
12053
  message: { type: 'string' },
11953
12054
  },
11954
- required: ['message', 'is_device_error', 'error_code'],
12055
+ required: [
12056
+ 'message',
12057
+ 'is_device_error',
12058
+ 'created_at',
12059
+ 'error_code',
12060
+ ],
11955
12061
  type: 'object',
11956
12062
  },
11957
12063
  {
11958
12064
  description: 'Device has been removed',
11959
12065
  properties: {
12066
+ created_at: { format: 'date-time', type: 'string' },
11960
12067
  error_code: {
11961
12068
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11962
12069
  enum: ['device_removed'],
@@ -11965,12 +12072,18 @@ export default {
11965
12072
  is_device_error: { enum: [true], type: 'boolean' },
11966
12073
  message: { type: 'string' },
11967
12074
  },
11968
- required: ['message', 'is_device_error', 'error_code'],
12075
+ required: [
12076
+ 'message',
12077
+ 'is_device_error',
12078
+ 'created_at',
12079
+ 'error_code',
12080
+ ],
11969
12081
  type: 'object',
11970
12082
  },
11971
12083
  {
11972
12084
  description: 'Hub is disconnected',
11973
12085
  properties: {
12086
+ created_at: { format: 'date-time', type: 'string' },
11974
12087
  error_code: {
11975
12088
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11976
12089
  enum: ['hub_disconnected'],
@@ -11979,12 +12092,18 @@ export default {
11979
12092
  is_device_error: { enum: [true], type: 'boolean' },
11980
12093
  message: { type: 'string' },
11981
12094
  },
11982
- required: ['message', 'is_device_error', 'error_code'],
12095
+ required: [
12096
+ 'message',
12097
+ 'is_device_error',
12098
+ 'created_at',
12099
+ 'error_code',
12100
+ ],
11983
12101
  type: 'object',
11984
12102
  },
11985
12103
  {
11986
12104
  description: 'Device is disconnected',
11987
12105
  properties: {
12106
+ created_at: { format: 'date-time', type: 'string' },
11988
12107
  error_code: {
11989
12108
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11990
12109
  enum: ['device_disconnected'],
@@ -11993,12 +12112,18 @@ export default {
11993
12112
  is_device_error: { enum: [true], type: 'boolean' },
11994
12113
  message: { type: 'string' },
11995
12114
  },
11996
- required: ['message', 'is_device_error', 'error_code'],
12115
+ required: [
12116
+ 'message',
12117
+ 'is_device_error',
12118
+ 'created_at',
12119
+ 'error_code',
12120
+ ],
11997
12121
  type: 'object',
11998
12122
  },
11999
12123
  {
12000
12124
  description: 'The backup access code pool is empty.',
12001
12125
  properties: {
12126
+ created_at: { format: 'date-time', type: 'string' },
12002
12127
  error_code: {
12003
12128
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12004
12129
  enum: ['empty_backup_access_code_pool'],
@@ -12007,12 +12132,18 @@ export default {
12007
12132
  is_device_error: { enum: [true], type: 'boolean' },
12008
12133
  message: { type: 'string' },
12009
12134
  },
12010
- required: ['message', 'is_device_error', 'error_code'],
12135
+ required: [
12136
+ 'message',
12137
+ 'is_device_error',
12138
+ 'created_at',
12139
+ 'error_code',
12140
+ ],
12011
12141
  type: 'object',
12012
12142
  },
12013
12143
  {
12014
12144
  description: 'User is not authorized to use the August Lock.',
12015
12145
  properties: {
12146
+ created_at: { format: 'date-time', type: 'string' },
12016
12147
  error_code: {
12017
12148
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12018
12149
  enum: ['august_lock_not_authorized'],
@@ -12021,12 +12152,18 @@ export default {
12021
12152
  is_device_error: { enum: [true], type: 'boolean' },
12022
12153
  message: { type: 'string' },
12023
12154
  },
12024
- required: ['message', 'is_device_error', 'error_code'],
12155
+ required: [
12156
+ 'message',
12157
+ 'is_device_error',
12158
+ 'created_at',
12159
+ 'error_code',
12160
+ ],
12025
12161
  type: 'object',
12026
12162
  },
12027
12163
  {
12028
12164
  description: 'Lock is not connected to the Seam Bridge.',
12029
12165
  properties: {
12166
+ created_at: { format: 'date-time', type: 'string' },
12030
12167
  error_code: {
12031
12168
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12032
12169
  enum: ['august_lock_missing_bridge'],
@@ -12035,26 +12172,18 @@ export default {
12035
12172
  is_device_error: { enum: [true], type: 'boolean' },
12036
12173
  message: { type: 'string' },
12037
12174
  },
12038
- required: ['message', 'is_device_error', 'error_code'],
12039
- type: 'object',
12040
- },
12041
- {
12042
- description: 'Salto site user limit reached.',
12043
- properties: {
12044
- error_code: {
12045
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12046
- enum: ['salto_site_user_limit_reached'],
12047
- type: 'string',
12048
- },
12049
- is_device_error: { enum: [true], type: 'boolean' },
12050
- message: { type: 'string' },
12051
- },
12052
- required: ['message', 'is_device_error', 'error_code'],
12175
+ required: [
12176
+ 'message',
12177
+ 'is_device_error',
12178
+ 'created_at',
12179
+ 'error_code',
12180
+ ],
12053
12181
  type: 'object',
12054
12182
  },
12055
12183
  {
12056
12184
  description: 'Lock is not paired with a Gateway.',
12057
12185
  properties: {
12186
+ created_at: { format: 'date-time', type: 'string' },
12058
12187
  error_code: {
12059
12188
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12060
12189
  enum: ['ttlock_lock_not_paired_to_gateway'],
@@ -12063,12 +12192,18 @@ export default {
12063
12192
  is_device_error: { enum: [true], type: 'boolean' },
12064
12193
  message: { type: 'string' },
12065
12194
  },
12066
- required: ['message', 'is_device_error', 'error_code'],
12195
+ required: [
12196
+ 'message',
12197
+ 'is_device_error',
12198
+ 'created_at',
12199
+ 'error_code',
12200
+ ],
12067
12201
  type: 'object',
12068
12202
  },
12069
12203
  {
12070
12204
  description: 'Missing device credentials.',
12071
12205
  properties: {
12206
+ created_at: { format: 'date-time', type: 'string' },
12072
12207
  error_code: {
12073
12208
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12074
12209
  enum: ['missing_device_credentials'],
@@ -12077,12 +12212,18 @@ export default {
12077
12212
  is_device_error: { enum: [true], type: 'boolean' },
12078
12213
  message: { type: 'string' },
12079
12214
  },
12080
- required: ['message', 'is_device_error', 'error_code'],
12215
+ required: [
12216
+ 'message',
12217
+ 'is_device_error',
12218
+ 'created_at',
12219
+ 'error_code',
12220
+ ],
12081
12221
  type: 'object',
12082
12222
  },
12083
12223
  {
12084
12224
  description: 'The auxiliary heat is running.',
12085
12225
  properties: {
12226
+ created_at: { format: 'date-time', type: 'string' },
12086
12227
  error_code: {
12087
12228
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12088
12229
  enum: ['auxiliary_heat_running'],
@@ -12091,12 +12232,18 @@ export default {
12091
12232
  is_device_error: { enum: [true], type: 'boolean' },
12092
12233
  message: { type: 'string' },
12093
12234
  },
12094
- required: ['message', 'is_device_error', 'error_code'],
12235
+ required: [
12236
+ 'message',
12237
+ 'is_device_error',
12238
+ 'created_at',
12239
+ 'error_code',
12240
+ ],
12095
12241
  type: 'object',
12096
12242
  },
12097
12243
  {
12098
12244
  description: 'Subscription required to connect.',
12099
12245
  properties: {
12246
+ created_at: { format: 'date-time', type: 'string' },
12100
12247
  error_code: {
12101
12248
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12102
12249
  enum: ['subscription_required'],
@@ -12105,11 +12252,16 @@ export default {
12105
12252
  is_device_error: { enum: [true], type: 'boolean' },
12106
12253
  message: { type: 'string' },
12107
12254
  },
12108
- required: ['message', 'is_device_error', 'error_code'],
12255
+ required: [
12256
+ 'message',
12257
+ 'is_device_error',
12258
+ 'created_at',
12259
+ 'error_code',
12260
+ ],
12109
12261
  type: 'object',
12110
12262
  },
12111
12263
  {
12112
- description: 'Account is disconnected.',
12264
+ description: 'Credentials provided were invalid.',
12113
12265
  properties: {
12114
12266
  created_at: {
12115
12267
  description: 'Date and time at which Seam created the error.',
@@ -12118,7 +12270,7 @@ export default {
12118
12270
  },
12119
12271
  error_code: {
12120
12272
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12121
- enum: ['account_disconnected'],
12273
+ enum: ['invalid_credentials'],
12122
12274
  type: 'string',
12123
12275
  },
12124
12276
  is_connected_account_error: {
@@ -12135,91 +12287,6 @@ export default {
12135
12287
  ],
12136
12288
  type: 'object',
12137
12289
  },
12138
- {
12139
- description: 'Credentials provided were invalid.',
12140
- properties: {
12141
- created_at: {
12142
- description: 'Date and time at which Seam created the error.',
12143
- format: 'date-time',
12144
- type: 'string',
12145
- },
12146
- error_code: {
12147
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12148
- enum: ['invalid_credentials'],
12149
- type: 'string',
12150
- },
12151
- is_connected_account_error: {
12152
- enum: [true],
12153
- type: 'boolean',
12154
- },
12155
- message: { type: 'string' },
12156
- },
12157
- required: [
12158
- 'created_at',
12159
- 'message',
12160
- 'is_connected_account_error',
12161
- 'error_code',
12162
- ],
12163
- type: 'object',
12164
- },
12165
- {
12166
- description: 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
12167
- properties: {
12168
- created_at: {
12169
- description: 'Date and time at which Seam created the error.',
12170
- format: 'date-time',
12171
- type: 'string',
12172
- },
12173
- error_code: {
12174
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12175
- enum: ['salto_ks_subscription_limit_exceeded'],
12176
- type: 'string',
12177
- },
12178
- is_connected_account_error: {
12179
- enum: [true],
12180
- type: 'boolean',
12181
- },
12182
- message: { type: 'string' },
12183
- salto_ks_metadata: {
12184
- properties: {
12185
- sites: {
12186
- items: {
12187
- properties: {
12188
- site_id: { type: 'string' },
12189
- site_name: { type: 'string' },
12190
- site_user_subscription_limit: {
12191
- minimum: 0,
12192
- type: 'integer',
12193
- },
12194
- subscribed_site_user_count: {
12195
- minimum: 0,
12196
- type: 'integer',
12197
- },
12198
- },
12199
- required: [
12200
- 'site_id',
12201
- 'site_name',
12202
- 'subscribed_site_user_count',
12203
- 'site_user_subscription_limit',
12204
- ],
12205
- type: 'object',
12206
- },
12207
- type: 'array',
12208
- },
12209
- },
12210
- required: ['sites'],
12211
- type: 'object',
12212
- },
12213
- },
12214
- required: [
12215
- 'created_at',
12216
- 'message',
12217
- 'is_connected_account_error',
12218
- 'error_code',
12219
- 'salto_ks_metadata',
12220
- ],
12221
- type: 'object',
12222
- },
12223
12290
  ],
12224
12291
  },
12225
12292
  type: 'array',
@@ -13246,9 +13313,60 @@ export default {
13246
13313
  items: {
13247
13314
  discriminator: { propertyName: 'error_code' },
13248
13315
  oneOf: [
13316
+ {
13317
+ description: 'Account is disconnected',
13318
+ properties: {
13319
+ created_at: { format: 'date-time', type: 'string' },
13320
+ error_code: {
13321
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13322
+ enum: ['account_disconnected'],
13323
+ type: 'string',
13324
+ },
13325
+ is_connected_account_error: {
13326
+ enum: [true],
13327
+ type: 'boolean',
13328
+ },
13329
+ is_device_error: { enum: [false], type: 'boolean' },
13330
+ message: { type: 'string' },
13331
+ },
13332
+ required: [
13333
+ 'message',
13334
+ 'is_device_error',
13335
+ 'created_at',
13336
+ 'error_code',
13337
+ 'is_connected_account_error',
13338
+ ],
13339
+ type: 'object',
13340
+ },
13341
+ {
13342
+ description: 'Salto site user limit reached.',
13343
+ properties: {
13344
+ created_at: { format: 'date-time', type: 'string' },
13345
+ error_code: {
13346
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13347
+ enum: ['salto_ks_subscription_limit_exceeded'],
13348
+ type: 'string',
13349
+ },
13350
+ is_connected_account_error: {
13351
+ enum: [true],
13352
+ type: 'boolean',
13353
+ },
13354
+ is_device_error: { enum: [false], type: 'boolean' },
13355
+ message: { type: 'string' },
13356
+ },
13357
+ required: [
13358
+ 'message',
13359
+ 'is_device_error',
13360
+ 'created_at',
13361
+ 'error_code',
13362
+ 'is_connected_account_error',
13363
+ ],
13364
+ type: 'object',
13365
+ },
13249
13366
  {
13250
13367
  description: 'Device is offline',
13251
13368
  properties: {
13369
+ created_at: { format: 'date-time', type: 'string' },
13252
13370
  error_code: {
13253
13371
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13254
13372
  enum: ['device_offline'],
@@ -13257,12 +13375,18 @@ export default {
13257
13375
  is_device_error: { enum: [true], type: 'boolean' },
13258
13376
  message: { type: 'string' },
13259
13377
  },
13260
- required: ['message', 'is_device_error', 'error_code'],
13378
+ required: [
13379
+ 'message',
13380
+ 'is_device_error',
13381
+ 'created_at',
13382
+ 'error_code',
13383
+ ],
13261
13384
  type: 'object',
13262
13385
  },
13263
13386
  {
13264
13387
  description: 'Device has been removed',
13265
13388
  properties: {
13389
+ created_at: { format: 'date-time', type: 'string' },
13266
13390
  error_code: {
13267
13391
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13268
13392
  enum: ['device_removed'],
@@ -13271,12 +13395,18 @@ export default {
13271
13395
  is_device_error: { enum: [true], type: 'boolean' },
13272
13396
  message: { type: 'string' },
13273
13397
  },
13274
- required: ['message', 'is_device_error', 'error_code'],
13398
+ required: [
13399
+ 'message',
13400
+ 'is_device_error',
13401
+ 'created_at',
13402
+ 'error_code',
13403
+ ],
13275
13404
  type: 'object',
13276
13405
  },
13277
13406
  {
13278
13407
  description: 'Hub is disconnected',
13279
13408
  properties: {
13409
+ created_at: { format: 'date-time', type: 'string' },
13280
13410
  error_code: {
13281
13411
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13282
13412
  enum: ['hub_disconnected'],
@@ -13285,12 +13415,18 @@ export default {
13285
13415
  is_device_error: { enum: [true], type: 'boolean' },
13286
13416
  message: { type: 'string' },
13287
13417
  },
13288
- required: ['message', 'is_device_error', 'error_code'],
13418
+ required: [
13419
+ 'message',
13420
+ 'is_device_error',
13421
+ 'created_at',
13422
+ 'error_code',
13423
+ ],
13289
13424
  type: 'object',
13290
13425
  },
13291
13426
  {
13292
13427
  description: 'Device is disconnected',
13293
13428
  properties: {
13429
+ created_at: { format: 'date-time', type: 'string' },
13294
13430
  error_code: {
13295
13431
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13296
13432
  enum: ['device_disconnected'],
@@ -13299,12 +13435,18 @@ export default {
13299
13435
  is_device_error: { enum: [true], type: 'boolean' },
13300
13436
  message: { type: 'string' },
13301
13437
  },
13302
- required: ['message', 'is_device_error', 'error_code'],
13438
+ required: [
13439
+ 'message',
13440
+ 'is_device_error',
13441
+ 'created_at',
13442
+ 'error_code',
13443
+ ],
13303
13444
  type: 'object',
13304
13445
  },
13305
13446
  {
13306
13447
  description: 'The backup access code pool is empty.',
13307
13448
  properties: {
13449
+ created_at: { format: 'date-time', type: 'string' },
13308
13450
  error_code: {
13309
13451
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13310
13452
  enum: ['empty_backup_access_code_pool'],
@@ -13313,12 +13455,18 @@ export default {
13313
13455
  is_device_error: { enum: [true], type: 'boolean' },
13314
13456
  message: { type: 'string' },
13315
13457
  },
13316
- required: ['message', 'is_device_error', 'error_code'],
13458
+ required: [
13459
+ 'message',
13460
+ 'is_device_error',
13461
+ 'created_at',
13462
+ 'error_code',
13463
+ ],
13317
13464
  type: 'object',
13318
13465
  },
13319
13466
  {
13320
13467
  description: 'User is not authorized to use the August Lock.',
13321
13468
  properties: {
13469
+ created_at: { format: 'date-time', type: 'string' },
13322
13470
  error_code: {
13323
13471
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13324
13472
  enum: ['august_lock_not_authorized'],
@@ -13327,12 +13475,18 @@ export default {
13327
13475
  is_device_error: { enum: [true], type: 'boolean' },
13328
13476
  message: { type: 'string' },
13329
13477
  },
13330
- required: ['message', 'is_device_error', 'error_code'],
13478
+ required: [
13479
+ 'message',
13480
+ 'is_device_error',
13481
+ 'created_at',
13482
+ 'error_code',
13483
+ ],
13331
13484
  type: 'object',
13332
13485
  },
13333
13486
  {
13334
13487
  description: 'Lock is not connected to the Seam Bridge.',
13335
13488
  properties: {
13489
+ created_at: { format: 'date-time', type: 'string' },
13336
13490
  error_code: {
13337
13491
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13338
13492
  enum: ['august_lock_missing_bridge'],
@@ -13341,26 +13495,18 @@ export default {
13341
13495
  is_device_error: { enum: [true], type: 'boolean' },
13342
13496
  message: { type: 'string' },
13343
13497
  },
13344
- required: ['message', 'is_device_error', 'error_code'],
13345
- type: 'object',
13346
- },
13347
- {
13348
- description: 'Salto site user limit reached.',
13349
- properties: {
13350
- error_code: {
13351
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13352
- enum: ['salto_site_user_limit_reached'],
13353
- type: 'string',
13354
- },
13355
- is_device_error: { enum: [true], type: 'boolean' },
13356
- message: { type: 'string' },
13357
- },
13358
- required: ['message', 'is_device_error', 'error_code'],
13498
+ required: [
13499
+ 'message',
13500
+ 'is_device_error',
13501
+ 'created_at',
13502
+ 'error_code',
13503
+ ],
13359
13504
  type: 'object',
13360
13505
  },
13361
13506
  {
13362
13507
  description: 'Lock is not paired with a Gateway.',
13363
13508
  properties: {
13509
+ created_at: { format: 'date-time', type: 'string' },
13364
13510
  error_code: {
13365
13511
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13366
13512
  enum: ['ttlock_lock_not_paired_to_gateway'],
@@ -13369,12 +13515,18 @@ export default {
13369
13515
  is_device_error: { enum: [true], type: 'boolean' },
13370
13516
  message: { type: 'string' },
13371
13517
  },
13372
- required: ['message', 'is_device_error', 'error_code'],
13518
+ required: [
13519
+ 'message',
13520
+ 'is_device_error',
13521
+ 'created_at',
13522
+ 'error_code',
13523
+ ],
13373
13524
  type: 'object',
13374
13525
  },
13375
13526
  {
13376
13527
  description: 'Missing device credentials.',
13377
13528
  properties: {
13529
+ created_at: { format: 'date-time', type: 'string' },
13378
13530
  error_code: {
13379
13531
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13380
13532
  enum: ['missing_device_credentials'],
@@ -13383,12 +13535,18 @@ export default {
13383
13535
  is_device_error: { enum: [true], type: 'boolean' },
13384
13536
  message: { type: 'string' },
13385
13537
  },
13386
- required: ['message', 'is_device_error', 'error_code'],
13538
+ required: [
13539
+ 'message',
13540
+ 'is_device_error',
13541
+ 'created_at',
13542
+ 'error_code',
13543
+ ],
13387
13544
  type: 'object',
13388
13545
  },
13389
13546
  {
13390
13547
  description: 'The auxiliary heat is running.',
13391
13548
  properties: {
13549
+ created_at: { format: 'date-time', type: 'string' },
13392
13550
  error_code: {
13393
13551
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13394
13552
  enum: ['auxiliary_heat_running'],
@@ -13397,12 +13555,18 @@ export default {
13397
13555
  is_device_error: { enum: [true], type: 'boolean' },
13398
13556
  message: { type: 'string' },
13399
13557
  },
13400
- required: ['message', 'is_device_error', 'error_code'],
13558
+ required: [
13559
+ 'message',
13560
+ 'is_device_error',
13561
+ 'created_at',
13562
+ 'error_code',
13563
+ ],
13401
13564
  type: 'object',
13402
13565
  },
13403
13566
  {
13404
13567
  description: 'Subscription required to connect.',
13405
13568
  properties: {
13569
+ created_at: { format: 'date-time', type: 'string' },
13406
13570
  error_code: {
13407
13571
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13408
13572
  enum: ['subscription_required'],
@@ -13411,32 +13575,10 @@ export default {
13411
13575
  is_device_error: { enum: [true], type: 'boolean' },
13412
13576
  message: { type: 'string' },
13413
13577
  },
13414
- required: ['message', 'is_device_error', 'error_code'],
13415
- type: 'object',
13416
- },
13417
- {
13418
- description: 'Account is disconnected.',
13419
- properties: {
13420
- created_at: {
13421
- description: 'Date and time at which Seam created the error.',
13422
- format: 'date-time',
13423
- type: 'string',
13424
- },
13425
- error_code: {
13426
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13427
- enum: ['account_disconnected'],
13428
- type: 'string',
13429
- },
13430
- is_connected_account_error: {
13431
- enum: [true],
13432
- type: 'boolean',
13433
- },
13434
- message: { type: 'string' },
13435
- },
13436
13578
  required: [
13437
- 'created_at',
13438
13579
  'message',
13439
- 'is_connected_account_error',
13580
+ 'is_device_error',
13581
+ 'created_at',
13440
13582
  'error_code',
13441
13583
  ],
13442
13584
  type: 'object',
@@ -13468,64 +13610,6 @@ export default {
13468
13610
  ],
13469
13611
  type: 'object',
13470
13612
  },
13471
- {
13472
- description: 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
13473
- properties: {
13474
- created_at: {
13475
- description: 'Date and time at which Seam created the error.',
13476
- format: 'date-time',
13477
- type: 'string',
13478
- },
13479
- error_code: {
13480
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13481
- enum: ['salto_ks_subscription_limit_exceeded'],
13482
- type: 'string',
13483
- },
13484
- is_connected_account_error: {
13485
- enum: [true],
13486
- type: 'boolean',
13487
- },
13488
- message: { type: 'string' },
13489
- salto_ks_metadata: {
13490
- properties: {
13491
- sites: {
13492
- items: {
13493
- properties: {
13494
- site_id: { type: 'string' },
13495
- site_name: { type: 'string' },
13496
- site_user_subscription_limit: {
13497
- minimum: 0,
13498
- type: 'integer',
13499
- },
13500
- subscribed_site_user_count: {
13501
- minimum: 0,
13502
- type: 'integer',
13503
- },
13504
- },
13505
- required: [
13506
- 'site_id',
13507
- 'site_name',
13508
- 'subscribed_site_user_count',
13509
- 'site_user_subscription_limit',
13510
- ],
13511
- type: 'object',
13512
- },
13513
- type: 'array',
13514
- },
13515
- },
13516
- required: ['sites'],
13517
- type: 'object',
13518
- },
13519
- },
13520
- required: [
13521
- 'created_at',
13522
- 'message',
13523
- 'is_connected_account_error',
13524
- 'error_code',
13525
- 'salto_ks_metadata',
13526
- ],
13527
- type: 'object',
13528
- },
13529
13613
  ],
13530
13614
  },
13531
13615
  type: 'array',
@@ -13674,6 +13758,7 @@ export default {
13674
13758
  {
13675
13759
  description: 'Backup access code unhealthy.',
13676
13760
  properties: {
13761
+ created_at: { format: 'date-time', type: 'string' },
13677
13762
  message: { type: 'string' },
13678
13763
  warning_code: {
13679
13764
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13681,12 +13766,13 @@ export default {
13681
13766
  type: 'string',
13682
13767
  },
13683
13768
  },
13684
- required: ['message', 'warning_code'],
13769
+ required: ['message', 'created_at', 'warning_code'],
13685
13770
  type: 'object',
13686
13771
  },
13687
13772
  {
13688
13773
  description: 'Too many backup codes.',
13689
13774
  properties: {
13775
+ created_at: { format: 'date-time', type: 'string' },
13690
13776
  message: { type: 'string' },
13691
13777
  warning_code: {
13692
13778
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13694,12 +13780,13 @@ export default {
13694
13780
  type: 'string',
13695
13781
  },
13696
13782
  },
13697
- required: ['message', 'warning_code'],
13783
+ required: ['message', 'created_at', 'warning_code'],
13698
13784
  type: 'object',
13699
13785
  },
13700
13786
  {
13701
13787
  description: 'A Salto Lock displaying an unknown device type.',
13702
13788
  properties: {
13789
+ created_at: { format: 'date-time', type: 'string' },
13703
13790
  message: { type: 'string' },
13704
13791
  warning_code: {
13705
13792
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13707,12 +13794,13 @@ export default {
13707
13794
  type: 'string',
13708
13795
  },
13709
13796
  },
13710
- required: ['message', 'warning_code'],
13797
+ required: ['message', 'created_at', 'warning_code'],
13711
13798
  type: 'object',
13712
13799
  },
13713
13800
  {
13714
13801
  description: 'Wyze Lock is not connected to a gateway.',
13715
13802
  properties: {
13803
+ created_at: { format: 'date-time', type: 'string' },
13716
13804
  message: { type: 'string' },
13717
13805
  warning_code: {
13718
13806
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13720,12 +13808,13 @@ export default {
13720
13808
  type: 'string',
13721
13809
  },
13722
13810
  },
13723
- required: ['message', 'warning_code'],
13811
+ required: ['message', 'created_at', 'warning_code'],
13724
13812
  type: 'object',
13725
13813
  },
13726
13814
  {
13727
13815
  description: 'Device is offline, but has some functionality available.',
13728
13816
  properties: {
13817
+ created_at: { format: 'date-time', type: 'string' },
13729
13818
  message: { type: 'string' },
13730
13819
  warning_code: {
13731
13820
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13733,12 +13822,13 @@ export default {
13733
13822
  type: 'string',
13734
13823
  },
13735
13824
  },
13736
- required: ['message', 'warning_code'],
13825
+ required: ['message', 'created_at', 'warning_code'],
13737
13826
  type: 'object',
13738
13827
  },
13739
13828
  {
13740
13829
  description: 'Third-party integration detected.',
13741
13830
  properties: {
13831
+ created_at: { format: 'date-time', type: 'string' },
13742
13832
  message: { type: 'string' },
13743
13833
  warning_code: {
13744
13834
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13746,12 +13836,13 @@ export default {
13746
13836
  type: 'string',
13747
13837
  },
13748
13838
  },
13749
- required: ['message', 'warning_code'],
13839
+ required: ['message', 'created_at', 'warning_code'],
13750
13840
  type: 'object',
13751
13841
  },
13752
13842
  {
13753
13843
  description: 'Nest thermostat in manual eco mode.',
13754
13844
  properties: {
13845
+ created_at: { format: 'date-time', type: 'string' },
13755
13846
  message: { type: 'string' },
13756
13847
  warning_code: {
13757
13848
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13759,12 +13850,13 @@ export default {
13759
13850
  type: 'string',
13760
13851
  },
13761
13852
  },
13762
- required: ['message', 'warning_code'],
13853
+ required: ['message', 'created_at', 'warning_code'],
13763
13854
  type: 'object',
13764
13855
  },
13765
13856
  {
13766
13857
  description: 'Remote Unlock feature not enabled in settings.',
13767
13858
  properties: {
13859
+ created_at: { format: 'date-time', type: 'string' },
13768
13860
  message: { type: 'string' },
13769
13861
  warning_code: {
13770
13862
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13772,12 +13864,13 @@ export default {
13772
13864
  type: 'string',
13773
13865
  },
13774
13866
  },
13775
- required: ['message', 'warning_code'],
13867
+ required: ['message', 'created_at', 'warning_code'],
13776
13868
  type: 'object',
13777
13869
  },
13778
13870
  {
13779
13871
  description: 'Gateway signal is weak.',
13780
13872
  properties: {
13873
+ created_at: { format: 'date-time', type: 'string' },
13781
13874
  message: { type: 'string' },
13782
13875
  warning_code: {
13783
13876
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13785,12 +13878,13 @@ export default {
13785
13878
  type: 'string',
13786
13879
  },
13787
13880
  },
13788
- required: ['message', 'warning_code'],
13881
+ required: ['message', 'created_at', 'warning_code'],
13789
13882
  type: 'object',
13790
13883
  },
13791
13884
  {
13792
13885
  description: 'Temperature threshold exceeded.',
13793
13886
  properties: {
13887
+ created_at: { format: 'date-time', type: 'string' },
13794
13888
  message: { type: 'string' },
13795
13889
  warning_code: {
13796
13890
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13798,12 +13892,13 @@ export default {
13798
13892
  type: 'string',
13799
13893
  },
13800
13894
  },
13801
- required: ['message', 'warning_code'],
13895
+ required: ['message', 'created_at', 'warning_code'],
13802
13896
  type: 'object',
13803
13897
  },
13804
13898
  {
13805
13899
  description: 'Device appears to be unresponsive.',
13806
13900
  properties: {
13901
+ created_at: { format: 'date-time', type: 'string' },
13807
13902
  message: { type: 'string' },
13808
13903
  warning_code: {
13809
13904
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13811,12 +13906,13 @@ export default {
13811
13906
  type: 'string',
13812
13907
  },
13813
13908
  },
13814
- required: ['message', 'warning_code'],
13909
+ required: ['message', 'created_at', 'warning_code'],
13815
13910
  type: 'object',
13816
13911
  },
13817
13912
  {
13818
13913
  description: 'Scheduled maintenance window detected.',
13819
13914
  properties: {
13915
+ created_at: { format: 'date-time', type: 'string' },
13820
13916
  message: { type: 'string' },
13821
13917
  warning_code: {
13822
13918
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13824,12 +13920,13 @@ export default {
13824
13920
  type: 'string',
13825
13921
  },
13826
13922
  },
13827
- required: ['message', 'warning_code'],
13923
+ required: ['message', 'created_at', 'warning_code'],
13828
13924
  type: 'object',
13829
13925
  },
13830
13926
  {
13831
13927
  description: 'Device has flaky connection.',
13832
13928
  properties: {
13929
+ created_at: { format: 'date-time', type: 'string' },
13833
13930
  message: { type: 'string' },
13834
13931
  warning_code: {
13835
13932
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13837,12 +13934,13 @@ export default {
13837
13934
  type: 'string',
13838
13935
  },
13839
13936
  },
13840
- required: ['message', 'warning_code'],
13937
+ required: ['message', 'created_at', 'warning_code'],
13841
13938
  type: 'object',
13842
13939
  },
13843
13940
  {
13844
13941
  description: 'Lock is in Office Mode. Access Codes will not unlock doors.',
13845
13942
  properties: {
13943
+ created_at: { format: 'date-time', type: 'string' },
13846
13944
  message: { type: 'string' },
13847
13945
  warning_code: {
13848
13946
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13850,12 +13948,13 @@ export default {
13850
13948
  type: 'string',
13851
13949
  },
13852
13950
  },
13853
- required: ['message', 'warning_code'],
13951
+ required: ['message', 'created_at', 'warning_code'],
13854
13952
  type: 'object',
13855
13953
  },
13856
13954
  {
13857
13955
  description: 'Lock is in Privacy Mode. Access Codes will not unlock doors.',
13858
13956
  properties: {
13957
+ created_at: { format: 'date-time', type: 'string' },
13859
13958
  message: { type: 'string' },
13860
13959
  warning_code: {
13861
13960
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13863,12 +13962,13 @@ export default {
13863
13962
  type: 'string',
13864
13963
  },
13865
13964
  },
13866
- required: ['message', 'warning_code'],
13965
+ required: ['message', 'created_at', 'warning_code'],
13867
13966
  type: 'object',
13868
13967
  },
13869
13968
  {
13870
13969
  description: 'An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.',
13871
13970
  properties: {
13971
+ created_at: { format: 'date-time', type: 'string' },
13872
13972
  message: { type: 'string' },
13873
13973
  warning_code: {
13874
13974
  description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
@@ -13876,7 +13976,7 @@ export default {
13876
13976
  type: 'string',
13877
13977
  },
13878
13978
  },
13879
- required: ['message', 'warning_code'],
13979
+ required: ['message', 'created_at', 'warning_code'],
13880
13980
  type: 'object',
13881
13981
  },
13882
13982
  ],