@seamapi/types 1.304.0 → 1.305.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.
@@ -3488,6 +3488,82 @@ export default {
3488
3488
  ],
3489
3489
  type: 'object',
3490
3490
  },
3491
+ {
3492
+ description: 'Setting HVAC mode.',
3493
+ properties: {
3494
+ action_attempt_id: {
3495
+ description: 'The ID of the action attempt.',
3496
+ format: 'uuid',
3497
+ type: 'string',
3498
+ 'x-title': 'Action Attempt ID',
3499
+ },
3500
+ action_type: { enum: ['SET_HVAC_MODE'], type: 'string' },
3501
+ error: { nullable: true },
3502
+ result: { nullable: true },
3503
+ status: { enum: ['pending'], type: 'string' },
3504
+ },
3505
+ required: [
3506
+ 'action_attempt_id',
3507
+ 'status',
3508
+ 'result',
3509
+ 'error',
3510
+ 'action_type',
3511
+ ],
3512
+ type: 'object',
3513
+ },
3514
+ {
3515
+ description: 'Setting HVAC mode succeeded.',
3516
+ properties: {
3517
+ action_attempt_id: {
3518
+ description: 'The ID of the action attempt.',
3519
+ format: 'uuid',
3520
+ type: 'string',
3521
+ 'x-title': 'Action Attempt ID',
3522
+ },
3523
+ action_type: { enum: ['SET_HVAC_MODE'], type: 'string' },
3524
+ error: { nullable: true },
3525
+ result: { properties: {}, type: 'object' },
3526
+ status: { enum: ['success'], type: 'string' },
3527
+ },
3528
+ required: [
3529
+ 'action_attempt_id',
3530
+ 'status',
3531
+ 'error',
3532
+ 'action_type',
3533
+ 'result',
3534
+ ],
3535
+ type: 'object',
3536
+ },
3537
+ {
3538
+ description: 'Setting HVAC mode failed.',
3539
+ properties: {
3540
+ action_attempt_id: {
3541
+ description: 'The ID of the action attempt.',
3542
+ format: 'uuid',
3543
+ type: 'string',
3544
+ 'x-title': 'Action Attempt ID',
3545
+ },
3546
+ action_type: { enum: ['SET_HVAC_MODE'], type: 'string' },
3547
+ error: {
3548
+ properties: {
3549
+ message: { type: 'string' },
3550
+ type: { type: 'string' },
3551
+ },
3552
+ required: ['type', 'message'],
3553
+ type: 'object',
3554
+ },
3555
+ result: { nullable: true },
3556
+ status: { enum: ['error'], type: 'string' },
3557
+ },
3558
+ required: [
3559
+ 'action_attempt_id',
3560
+ 'status',
3561
+ 'result',
3562
+ 'action_type',
3563
+ 'error',
3564
+ ],
3565
+ type: 'object',
3566
+ },
3491
3567
  {
3492
3568
  description: 'Activating climate preset.',
3493
3569
  properties: {