@seamapi/types 1.175.0 → 1.177.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.
- package/dist/connect.cjs +1973 -161
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +4627 -403
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/acs/system.d.ts +36 -0
- package/lib/seam/connect/models/acs/system.js +8 -0
- package/lib/seam/connect/models/acs/system.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +556 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +20 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/common.d.ts +53 -0
- package/lib/seam/connect/models/action-attempts/common.js +24 -0
- package/lib/seam/connect/models/action-attempts/common.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/index.d.ts +1 -0
- package/lib/seam/connect/models/action-attempts/index.js +2 -0
- package/lib/seam/connect/models/action-attempts/index.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +72 -0
- package/lib/seam/connect/models/action-attempts/lock-door.js +25 -0
- package/lib/seam/connect/models/action-attempts/lock-door.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +71 -0
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.js +28 -0
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/set-cool.d.ts +71 -0
- package/lib/seam/connect/models/action-attempts/set-cool.js +25 -0
- package/lib/seam/connect/models/action-attempts/set-cool.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +71 -0
- package/lib/seam/connect/models/action-attempts/set-fan-mode.js +25 -0
- package/lib/seam/connect/models/action-attempts/set-fan-mode.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +71 -0
- package/lib/seam/connect/models/action-attempts/set-heat-cool.js +25 -0
- package/lib/seam/connect/models/action-attempts/set-heat-cool.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/set-heat.d.ts +71 -0
- package/lib/seam/connect/models/action-attempts/set-heat.js +25 -0
- package/lib/seam/connect/models/action-attempts/set-heat.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +71 -0
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.js +25 -0
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +72 -0
- package/lib/seam/connect/models/action-attempts/unlock-door.js +25 -0
- package/lib/seam/connect/models/action-attempts/unlock-door.js.map +1 -0
- package/lib/seam/connect/models/devices/managed-device.js +6 -2
- package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/models/events/access-codes.d.ts +1 -1
- package/lib/seam/connect/models/events/access-codes.js +1 -1
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/acs/common.d.ts +1 -1
- package/lib/seam/connect/models/events/acs/common.js +1 -1
- package/lib/seam/connect/models/events/acs/common.js.map +1 -1
- package/lib/seam/connect/models/events/acs/credentials.d.ts +1 -1
- package/lib/seam/connect/models/events/acs/credentials.js +1 -1
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/models/events/acs/users.d.ts +1 -1
- package/lib/seam/connect/models/events/acs/users.js +1 -1
- package/lib/seam/connect/models/events/acs/users.js.map +1 -1
- package/lib/seam/connect/models/events/action-attempts.d.ts +10 -10
- package/lib/seam/connect/models/events/client-sessions.d.ts +1 -1
- package/lib/seam/connect/models/events/client-sessions.js +1 -1
- package/lib/seam/connect/models/events/client-sessions.js.map +1 -1
- package/lib/seam/connect/models/events/common.d.ts +1 -1
- package/lib/seam/connect/models/events/common.js +1 -1
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +1 -1
- package/lib/seam/connect/models/events/connected-accounts.js +1 -1
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +1 -1
- package/lib/seam/connect/models/events/devices.js +1 -1
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +1 -1
- package/lib/seam/connect/models/events/enrollment-automations.js +1 -1
- package/lib/seam/connect/models/events/enrollment-automations.js.map +1 -1
- package/lib/seam/connect/models/events/phones.d.ts +1 -1
- package/lib/seam/connect/models/events/phones.js +1 -1
- package/lib/seam/connect/models/events/phones.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +1 -1
- package/lib/seam/connect/models/events/seam-event.js +1 -1
- package/lib/seam/connect/models/events/seam-event.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +1366 -105
- package/lib/seam/connect/openapi.js +1686 -28
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2764 -356
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/model-types.ts +1 -0
- package/src/lib/seam/connect/models/acs/system.ts +12 -0
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +25 -0
- package/src/lib/seam/connect/models/action-attempts/common.ts +27 -0
- package/src/lib/seam/connect/models/action-attempts/index.ts +1 -0
- package/src/lib/seam/connect/models/action-attempts/lock-door.ts +35 -0
- package/src/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.ts +39 -0
- package/src/lib/seam/connect/models/action-attempts/set-cool.ts +33 -0
- package/src/lib/seam/connect/models/action-attempts/set-fan-mode.ts +33 -0
- package/src/lib/seam/connect/models/action-attempts/set-heat-cool.ts +33 -0
- package/src/lib/seam/connect/models/action-attempts/set-heat.ts +33 -0
- package/src/lib/seam/connect/models/action-attempts/set-thermostat-off.ts +36 -0
- package/src/lib/seam/connect/models/action-attempts/unlock-door.ts +35 -0
- package/src/lib/seam/connect/models/devices/managed-device.ts +8 -2
- package/src/lib/seam/connect/models/events/access-codes.ts +1 -1
- package/src/lib/seam/connect/models/events/acs/common.ts +1 -1
- package/src/lib/seam/connect/models/events/acs/credentials.ts +1 -1
- package/src/lib/seam/connect/models/events/acs/users.ts +1 -1
- package/src/lib/seam/connect/models/events/client-sessions.ts +1 -1
- package/src/lib/seam/connect/models/events/common.ts +1 -1
- package/src/lib/seam/connect/models/events/connected-accounts.ts +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +1 -1
- package/src/lib/seam/connect/models/events/enrollment-automations.ts +1 -1
- package/src/lib/seam/connect/models/events/phones.ts +1 -1
- package/src/lib/seam/connect/models/events/seam-event.ts +1 -1
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +1710 -28
- package/src/lib/seam/connect/route-types.ts +3452 -876
- package/src/lib/seam/connect/schemas.ts +6 -1
|
@@ -396,6 +396,17 @@ export default {
|
|
|
396
396
|
can_remove_acs_users_from_acs_access_groups: { type: 'boolean' },
|
|
397
397
|
connected_account_ids: { items: { type: 'string' }, type: 'array' },
|
|
398
398
|
created_at: { format: 'date-time', type: 'string' },
|
|
399
|
+
errors: {
|
|
400
|
+
items: {
|
|
401
|
+
properties: {
|
|
402
|
+
error_code: { type: 'string' },
|
|
403
|
+
message: { type: 'string' },
|
|
404
|
+
},
|
|
405
|
+
required: ['error_code', 'message'],
|
|
406
|
+
type: 'object',
|
|
407
|
+
},
|
|
408
|
+
type: 'array',
|
|
409
|
+
},
|
|
399
410
|
external_type: {
|
|
400
411
|
enum: [
|
|
401
412
|
'pti_site',
|
|
@@ -433,6 +444,17 @@ export default {
|
|
|
433
444
|
'\n ---\n deprecated: use external_type_display_name\n ---\n ',
|
|
434
445
|
type: 'string',
|
|
435
446
|
},
|
|
447
|
+
warnings: {
|
|
448
|
+
items: {
|
|
449
|
+
properties: {
|
|
450
|
+
message: { type: 'string' },
|
|
451
|
+
warning_code: { type: 'string' },
|
|
452
|
+
},
|
|
453
|
+
required: ['warning_code', 'message'],
|
|
454
|
+
type: 'object',
|
|
455
|
+
},
|
|
456
|
+
type: 'array',
|
|
457
|
+
},
|
|
436
458
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
437
459
|
},
|
|
438
460
|
required: [
|
|
@@ -443,6 +465,8 @@ export default {
|
|
|
443
465
|
'connected_account_ids',
|
|
444
466
|
'image_url',
|
|
445
467
|
'image_alt_text',
|
|
468
|
+
'errors',
|
|
469
|
+
'warnings',
|
|
446
470
|
],
|
|
447
471
|
type: 'object',
|
|
448
472
|
},
|
|
@@ -499,40 +523,604 @@ export default {
|
|
|
499
523
|
type: 'object',
|
|
500
524
|
},
|
|
501
525
|
action_attempt: {
|
|
502
|
-
discriminator: { propertyName: 'status' },
|
|
503
526
|
oneOf: [
|
|
504
527
|
{
|
|
528
|
+
description: 'Locking door.',
|
|
529
|
+
properties: {
|
|
530
|
+
action_attempt_id: {
|
|
531
|
+
description:
|
|
532
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
533
|
+
format: 'uuid',
|
|
534
|
+
type: 'string',
|
|
535
|
+
},
|
|
536
|
+
action_type: { enum: ['LOCK_DOOR'], type: 'string' },
|
|
537
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
538
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
539
|
+
status: { enum: ['pending'], type: 'string' },
|
|
540
|
+
},
|
|
541
|
+
required: [
|
|
542
|
+
'action_attempt_id',
|
|
543
|
+
'status',
|
|
544
|
+
'result',
|
|
545
|
+
'error',
|
|
546
|
+
'action_type',
|
|
547
|
+
],
|
|
548
|
+
type: 'object',
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
description: 'Locking door succeeded.',
|
|
552
|
+
properties: {
|
|
553
|
+
action_attempt_id: {
|
|
554
|
+
description:
|
|
555
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
556
|
+
format: 'uuid',
|
|
557
|
+
type: 'string',
|
|
558
|
+
},
|
|
559
|
+
action_type: { enum: ['LOCK_DOOR'], type: 'string' },
|
|
560
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
561
|
+
result: { properties: {}, type: 'object' },
|
|
562
|
+
status: { enum: ['success'], type: 'string' },
|
|
563
|
+
},
|
|
564
|
+
required: [
|
|
565
|
+
'action_attempt_id',
|
|
566
|
+
'status',
|
|
567
|
+
'error',
|
|
568
|
+
'action_type',
|
|
569
|
+
'result',
|
|
570
|
+
],
|
|
571
|
+
type: 'object',
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
description: 'Locking door failed.',
|
|
575
|
+
properties: {
|
|
576
|
+
action_attempt_id: {
|
|
577
|
+
description:
|
|
578
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
579
|
+
format: 'uuid',
|
|
580
|
+
type: 'string',
|
|
581
|
+
},
|
|
582
|
+
action_type: { enum: ['LOCK_DOOR'], type: 'string' },
|
|
583
|
+
error: {
|
|
584
|
+
properties: {
|
|
585
|
+
message: { type: 'string' },
|
|
586
|
+
type: { type: 'string' },
|
|
587
|
+
},
|
|
588
|
+
required: ['type', 'message'],
|
|
589
|
+
type: 'object',
|
|
590
|
+
},
|
|
591
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
592
|
+
status: { enum: ['error'], type: 'string' },
|
|
593
|
+
},
|
|
594
|
+
required: [
|
|
595
|
+
'action_attempt_id',
|
|
596
|
+
'status',
|
|
597
|
+
'result',
|
|
598
|
+
'action_type',
|
|
599
|
+
'error',
|
|
600
|
+
],
|
|
601
|
+
type: 'object',
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
description: 'Unlocking door.',
|
|
605
|
+
properties: {
|
|
606
|
+
action_attempt_id: {
|
|
607
|
+
description:
|
|
608
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
609
|
+
format: 'uuid',
|
|
610
|
+
type: 'string',
|
|
611
|
+
},
|
|
612
|
+
action_type: { enum: ['UNLOCK_DOOR'], type: 'string' },
|
|
613
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
614
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
615
|
+
status: { enum: ['pending'], type: 'string' },
|
|
616
|
+
},
|
|
617
|
+
required: [
|
|
618
|
+
'action_attempt_id',
|
|
619
|
+
'status',
|
|
620
|
+
'result',
|
|
621
|
+
'error',
|
|
622
|
+
'action_type',
|
|
623
|
+
],
|
|
624
|
+
type: 'object',
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
description: 'Unlocking door succeeded.',
|
|
628
|
+
properties: {
|
|
629
|
+
action_attempt_id: {
|
|
630
|
+
description:
|
|
631
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
632
|
+
format: 'uuid',
|
|
633
|
+
type: 'string',
|
|
634
|
+
},
|
|
635
|
+
action_type: { enum: ['UNLOCK_DOOR'], type: 'string' },
|
|
636
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
637
|
+
result: { properties: {}, type: 'object' },
|
|
638
|
+
status: { enum: ['success'], type: 'string' },
|
|
639
|
+
},
|
|
640
|
+
required: [
|
|
641
|
+
'action_attempt_id',
|
|
642
|
+
'status',
|
|
643
|
+
'error',
|
|
644
|
+
'action_type',
|
|
645
|
+
'result',
|
|
646
|
+
],
|
|
647
|
+
type: 'object',
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
description: 'Unlocking door failed.',
|
|
651
|
+
properties: {
|
|
652
|
+
action_attempt_id: {
|
|
653
|
+
description:
|
|
654
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
655
|
+
format: 'uuid',
|
|
656
|
+
type: 'string',
|
|
657
|
+
},
|
|
658
|
+
action_type: { enum: ['UNLOCK_DOOR'], type: 'string' },
|
|
659
|
+
error: {
|
|
660
|
+
properties: {
|
|
661
|
+
message: { type: 'string' },
|
|
662
|
+
type: { type: 'string' },
|
|
663
|
+
},
|
|
664
|
+
required: ['type', 'message'],
|
|
665
|
+
type: 'object',
|
|
666
|
+
},
|
|
667
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
668
|
+
status: { enum: ['error'], type: 'string' },
|
|
669
|
+
},
|
|
670
|
+
required: [
|
|
671
|
+
'action_attempt_id',
|
|
672
|
+
'status',
|
|
673
|
+
'result',
|
|
674
|
+
'action_type',
|
|
675
|
+
'error',
|
|
676
|
+
],
|
|
677
|
+
type: 'object',
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
description: 'Resetting sandbox workspace.',
|
|
681
|
+
properties: {
|
|
682
|
+
action_attempt_id: {
|
|
683
|
+
description:
|
|
684
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
685
|
+
format: 'uuid',
|
|
686
|
+
type: 'string',
|
|
687
|
+
},
|
|
688
|
+
action_type: {
|
|
689
|
+
enum: ['RESET_SANDBOX_WORKSPACE'],
|
|
690
|
+
type: 'string',
|
|
691
|
+
},
|
|
692
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
693
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
694
|
+
status: { enum: ['pending'], type: 'string' },
|
|
695
|
+
},
|
|
696
|
+
required: [
|
|
697
|
+
'action_attempt_id',
|
|
698
|
+
'status',
|
|
699
|
+
'result',
|
|
700
|
+
'error',
|
|
701
|
+
'action_type',
|
|
702
|
+
],
|
|
703
|
+
type: 'object',
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
description: 'Resetting sandbox workspace succeeded.',
|
|
707
|
+
properties: {
|
|
708
|
+
action_attempt_id: {
|
|
709
|
+
description:
|
|
710
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
711
|
+
format: 'uuid',
|
|
712
|
+
type: 'string',
|
|
713
|
+
},
|
|
714
|
+
action_type: {
|
|
715
|
+
enum: ['RESET_SANDBOX_WORKSPACE'],
|
|
716
|
+
type: 'string',
|
|
717
|
+
},
|
|
718
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
719
|
+
result: { properties: {}, type: 'object' },
|
|
720
|
+
status: { enum: ['success'], type: 'string' },
|
|
721
|
+
},
|
|
722
|
+
required: [
|
|
723
|
+
'action_attempt_id',
|
|
724
|
+
'status',
|
|
725
|
+
'error',
|
|
726
|
+
'action_type',
|
|
727
|
+
'result',
|
|
728
|
+
],
|
|
729
|
+
type: 'object',
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
description: 'Resetting sandbox workspace failed.',
|
|
733
|
+
properties: {
|
|
734
|
+
action_attempt_id: {
|
|
735
|
+
description:
|
|
736
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
737
|
+
format: 'uuid',
|
|
738
|
+
type: 'string',
|
|
739
|
+
},
|
|
740
|
+
action_type: {
|
|
741
|
+
enum: ['RESET_SANDBOX_WORKSPACE'],
|
|
742
|
+
type: 'string',
|
|
743
|
+
},
|
|
744
|
+
error: {
|
|
745
|
+
properties: {
|
|
746
|
+
message: { type: 'string' },
|
|
747
|
+
type: { type: 'string' },
|
|
748
|
+
},
|
|
749
|
+
required: ['type', 'message'],
|
|
750
|
+
type: 'object',
|
|
751
|
+
},
|
|
752
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
753
|
+
status: { enum: ['error'], type: 'string' },
|
|
754
|
+
},
|
|
755
|
+
required: [
|
|
756
|
+
'action_attempt_id',
|
|
757
|
+
'status',
|
|
758
|
+
'result',
|
|
759
|
+
'action_type',
|
|
760
|
+
'error',
|
|
761
|
+
],
|
|
762
|
+
type: 'object',
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
description: 'Setting HVAC to cool.',
|
|
766
|
+
properties: {
|
|
767
|
+
action_attempt_id: {
|
|
768
|
+
description:
|
|
769
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
770
|
+
format: 'uuid',
|
|
771
|
+
type: 'string',
|
|
772
|
+
},
|
|
773
|
+
action_type: { enum: ['SET_COOL'], type: 'string' },
|
|
774
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
775
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
776
|
+
status: { enum: ['pending'], type: 'string' },
|
|
777
|
+
},
|
|
778
|
+
required: [
|
|
779
|
+
'action_attempt_id',
|
|
780
|
+
'status',
|
|
781
|
+
'result',
|
|
782
|
+
'error',
|
|
783
|
+
'action_type',
|
|
784
|
+
],
|
|
785
|
+
type: 'object',
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
description: 'Setting HVAC to cool succeeded.',
|
|
789
|
+
properties: {
|
|
790
|
+
action_attempt_id: {
|
|
791
|
+
description:
|
|
792
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
793
|
+
format: 'uuid',
|
|
794
|
+
type: 'string',
|
|
795
|
+
},
|
|
796
|
+
action_type: { enum: ['SET_COOL'], type: 'string' },
|
|
797
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
798
|
+
result: { properties: {}, type: 'object' },
|
|
799
|
+
status: { enum: ['success'], type: 'string' },
|
|
800
|
+
},
|
|
801
|
+
required: [
|
|
802
|
+
'action_attempt_id',
|
|
803
|
+
'status',
|
|
804
|
+
'error',
|
|
805
|
+
'action_type',
|
|
806
|
+
'result',
|
|
807
|
+
],
|
|
808
|
+
type: 'object',
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
description: 'Setting HVAC to cool failed.',
|
|
812
|
+
properties: {
|
|
813
|
+
action_attempt_id: {
|
|
814
|
+
description:
|
|
815
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
816
|
+
format: 'uuid',
|
|
817
|
+
type: 'string',
|
|
818
|
+
},
|
|
819
|
+
action_type: { enum: ['SET_COOL'], type: 'string' },
|
|
820
|
+
error: {
|
|
821
|
+
properties: {
|
|
822
|
+
message: { type: 'string' },
|
|
823
|
+
type: { type: 'string' },
|
|
824
|
+
},
|
|
825
|
+
required: ['type', 'message'],
|
|
826
|
+
type: 'object',
|
|
827
|
+
},
|
|
828
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
829
|
+
status: { enum: ['error'], type: 'string' },
|
|
830
|
+
},
|
|
831
|
+
required: [
|
|
832
|
+
'action_attempt_id',
|
|
833
|
+
'status',
|
|
834
|
+
'result',
|
|
835
|
+
'action_type',
|
|
836
|
+
'error',
|
|
837
|
+
],
|
|
838
|
+
type: 'object',
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
description: 'Setting HVAC to heat mode.',
|
|
842
|
+
properties: {
|
|
843
|
+
action_attempt_id: {
|
|
844
|
+
description:
|
|
845
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
846
|
+
format: 'uuid',
|
|
847
|
+
type: 'string',
|
|
848
|
+
},
|
|
849
|
+
action_type: { enum: ['SET_HEAT'], type: 'string' },
|
|
850
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
851
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
852
|
+
status: { enum: ['pending'], type: 'string' },
|
|
853
|
+
},
|
|
854
|
+
required: [
|
|
855
|
+
'action_attempt_id',
|
|
856
|
+
'status',
|
|
857
|
+
'result',
|
|
858
|
+
'error',
|
|
859
|
+
'action_type',
|
|
860
|
+
],
|
|
861
|
+
type: 'object',
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
description: 'Setting HVAC to heat mode succeeded.',
|
|
865
|
+
properties: {
|
|
866
|
+
action_attempt_id: {
|
|
867
|
+
description:
|
|
868
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
869
|
+
format: 'uuid',
|
|
870
|
+
type: 'string',
|
|
871
|
+
},
|
|
872
|
+
action_type: { enum: ['SET_HEAT'], type: 'string' },
|
|
873
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
874
|
+
result: { properties: {}, type: 'object' },
|
|
875
|
+
status: { enum: ['success'], type: 'string' },
|
|
876
|
+
},
|
|
877
|
+
required: [
|
|
878
|
+
'action_attempt_id',
|
|
879
|
+
'status',
|
|
880
|
+
'error',
|
|
881
|
+
'action_type',
|
|
882
|
+
'result',
|
|
883
|
+
],
|
|
884
|
+
type: 'object',
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
description: 'Setting HVAC to heat mode failed.',
|
|
888
|
+
properties: {
|
|
889
|
+
action_attempt_id: {
|
|
890
|
+
description:
|
|
891
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
892
|
+
format: 'uuid',
|
|
893
|
+
type: 'string',
|
|
894
|
+
},
|
|
895
|
+
action_type: { enum: ['SET_HEAT'], type: 'string' },
|
|
896
|
+
error: {
|
|
897
|
+
properties: {
|
|
898
|
+
message: { type: 'string' },
|
|
899
|
+
type: { type: 'string' },
|
|
900
|
+
},
|
|
901
|
+
required: ['type', 'message'],
|
|
902
|
+
type: 'object',
|
|
903
|
+
},
|
|
904
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
905
|
+
status: { enum: ['error'], type: 'string' },
|
|
906
|
+
},
|
|
907
|
+
required: [
|
|
908
|
+
'action_attempt_id',
|
|
909
|
+
'status',
|
|
910
|
+
'result',
|
|
911
|
+
'action_type',
|
|
912
|
+
'error',
|
|
913
|
+
],
|
|
914
|
+
type: 'object',
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
description: 'Setting HVAC to heat-cool mode.',
|
|
918
|
+
properties: {
|
|
919
|
+
action_attempt_id: {
|
|
920
|
+
description:
|
|
921
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
922
|
+
format: 'uuid',
|
|
923
|
+
type: 'string',
|
|
924
|
+
},
|
|
925
|
+
action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
|
|
926
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
927
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
928
|
+
status: { enum: ['pending'], type: 'string' },
|
|
929
|
+
},
|
|
930
|
+
required: [
|
|
931
|
+
'action_attempt_id',
|
|
932
|
+
'status',
|
|
933
|
+
'result',
|
|
934
|
+
'error',
|
|
935
|
+
'action_type',
|
|
936
|
+
],
|
|
937
|
+
type: 'object',
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
description: 'Setting HVAC to heat-cool mode succeeded.',
|
|
941
|
+
properties: {
|
|
942
|
+
action_attempt_id: {
|
|
943
|
+
description:
|
|
944
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
945
|
+
format: 'uuid',
|
|
946
|
+
type: 'string',
|
|
947
|
+
},
|
|
948
|
+
action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
|
|
949
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
950
|
+
result: { properties: {}, type: 'object' },
|
|
951
|
+
status: { enum: ['success'], type: 'string' },
|
|
952
|
+
},
|
|
953
|
+
required: [
|
|
954
|
+
'action_attempt_id',
|
|
955
|
+
'status',
|
|
956
|
+
'error',
|
|
957
|
+
'action_type',
|
|
958
|
+
'result',
|
|
959
|
+
],
|
|
960
|
+
type: 'object',
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
description: 'Setting heat-cool mode failed.',
|
|
964
|
+
properties: {
|
|
965
|
+
action_attempt_id: {
|
|
966
|
+
description:
|
|
967
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
968
|
+
format: 'uuid',
|
|
969
|
+
type: 'string',
|
|
970
|
+
},
|
|
971
|
+
action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
|
|
972
|
+
error: {
|
|
973
|
+
properties: {
|
|
974
|
+
message: { type: 'string' },
|
|
975
|
+
type: { type: 'string' },
|
|
976
|
+
},
|
|
977
|
+
required: ['type', 'message'],
|
|
978
|
+
type: 'object',
|
|
979
|
+
},
|
|
980
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
981
|
+
status: { enum: ['error'], type: 'string' },
|
|
982
|
+
},
|
|
983
|
+
required: [
|
|
984
|
+
'action_attempt_id',
|
|
985
|
+
'status',
|
|
986
|
+
'result',
|
|
987
|
+
'action_type',
|
|
988
|
+
'error',
|
|
989
|
+
],
|
|
990
|
+
type: 'object',
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
description: 'Setting fan mode.',
|
|
994
|
+
properties: {
|
|
995
|
+
action_attempt_id: {
|
|
996
|
+
description:
|
|
997
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
998
|
+
format: 'uuid',
|
|
999
|
+
type: 'string',
|
|
1000
|
+
},
|
|
1001
|
+
action_type: { enum: ['SET_FAN_MODE'], type: 'string' },
|
|
1002
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
1003
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
1004
|
+
status: { enum: ['pending'], type: 'string' },
|
|
1005
|
+
},
|
|
1006
|
+
required: [
|
|
1007
|
+
'action_attempt_id',
|
|
1008
|
+
'status',
|
|
1009
|
+
'result',
|
|
1010
|
+
'error',
|
|
1011
|
+
'action_type',
|
|
1012
|
+
],
|
|
1013
|
+
type: 'object',
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
description: 'Setting fan mode succeeded.',
|
|
505
1017
|
properties: {
|
|
506
|
-
action_attempt_id: {
|
|
507
|
-
|
|
1018
|
+
action_attempt_id: {
|
|
1019
|
+
description:
|
|
1020
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
1021
|
+
format: 'uuid',
|
|
1022
|
+
type: 'string',
|
|
1023
|
+
},
|
|
1024
|
+
action_type: { enum: ['SET_FAN_MODE'], type: 'string' },
|
|
508
1025
|
error: { format: 'null', nullable: true, type: 'string' },
|
|
509
|
-
result: {
|
|
1026
|
+
result: { properties: {}, type: 'object' },
|
|
510
1027
|
status: { enum: ['success'], type: 'string' },
|
|
511
1028
|
},
|
|
512
|
-
required: [
|
|
1029
|
+
required: [
|
|
1030
|
+
'action_attempt_id',
|
|
1031
|
+
'status',
|
|
1032
|
+
'error',
|
|
1033
|
+
'action_type',
|
|
1034
|
+
'result',
|
|
1035
|
+
],
|
|
1036
|
+
type: 'object',
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
description: 'Setting fan mode failed.',
|
|
1040
|
+
properties: {
|
|
1041
|
+
action_attempt_id: {
|
|
1042
|
+
description:
|
|
1043
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
1044
|
+
format: 'uuid',
|
|
1045
|
+
type: 'string',
|
|
1046
|
+
},
|
|
1047
|
+
action_type: { enum: ['SET_FAN_MODE'], type: 'string' },
|
|
1048
|
+
error: {
|
|
1049
|
+
properties: {
|
|
1050
|
+
message: { type: 'string' },
|
|
1051
|
+
type: { type: 'string' },
|
|
1052
|
+
},
|
|
1053
|
+
required: ['type', 'message'],
|
|
1054
|
+
type: 'object',
|
|
1055
|
+
},
|
|
1056
|
+
result: { format: 'null', nullable: true, type: 'string' },
|
|
1057
|
+
status: { enum: ['error'], type: 'string' },
|
|
1058
|
+
},
|
|
1059
|
+
required: [
|
|
1060
|
+
'action_attempt_id',
|
|
1061
|
+
'status',
|
|
1062
|
+
'result',
|
|
1063
|
+
'action_type',
|
|
1064
|
+
'error',
|
|
1065
|
+
],
|
|
513
1066
|
type: 'object',
|
|
514
1067
|
},
|
|
515
1068
|
{
|
|
1069
|
+
description: 'Turning HVAC off.',
|
|
516
1070
|
properties: {
|
|
517
|
-
action_attempt_id: {
|
|
518
|
-
|
|
1071
|
+
action_attempt_id: {
|
|
1072
|
+
description:
|
|
1073
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
1074
|
+
format: 'uuid',
|
|
1075
|
+
type: 'string',
|
|
1076
|
+
},
|
|
1077
|
+
action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
|
|
519
1078
|
error: { format: 'null', nullable: true, type: 'string' },
|
|
520
1079
|
result: { format: 'null', nullable: true, type: 'string' },
|
|
521
1080
|
status: { enum: ['pending'], type: 'string' },
|
|
522
1081
|
},
|
|
523
1082
|
required: [
|
|
1083
|
+
'action_attempt_id',
|
|
524
1084
|
'status',
|
|
1085
|
+
'result',
|
|
1086
|
+
'error',
|
|
525
1087
|
'action_type',
|
|
1088
|
+
],
|
|
1089
|
+
type: 'object',
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
description: 'Turning HVAC off succeeded.',
|
|
1093
|
+
properties: {
|
|
1094
|
+
action_attempt_id: {
|
|
1095
|
+
description:
|
|
1096
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
1097
|
+
format: 'uuid',
|
|
1098
|
+
type: 'string',
|
|
1099
|
+
},
|
|
1100
|
+
action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
|
|
1101
|
+
error: { format: 'null', nullable: true, type: 'string' },
|
|
1102
|
+
result: { properties: {}, type: 'object' },
|
|
1103
|
+
status: { enum: ['success'], type: 'string' },
|
|
1104
|
+
},
|
|
1105
|
+
required: [
|
|
526
1106
|
'action_attempt_id',
|
|
527
|
-
'
|
|
1107
|
+
'status',
|
|
528
1108
|
'error',
|
|
1109
|
+
'action_type',
|
|
1110
|
+
'result',
|
|
529
1111
|
],
|
|
530
1112
|
type: 'object',
|
|
531
1113
|
},
|
|
532
1114
|
{
|
|
1115
|
+
description: 'Turning HVAC off failed.',
|
|
533
1116
|
properties: {
|
|
534
|
-
action_attempt_id: {
|
|
535
|
-
|
|
1117
|
+
action_attempt_id: {
|
|
1118
|
+
description:
|
|
1119
|
+
'\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
|
|
1120
|
+
format: 'uuid',
|
|
1121
|
+
type: 'string',
|
|
1122
|
+
},
|
|
1123
|
+
action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
|
|
536
1124
|
error: {
|
|
537
1125
|
properties: {
|
|
538
1126
|
message: { type: 'string' },
|
|
@@ -545,10 +1133,10 @@ export default {
|
|
|
545
1133
|
status: { enum: ['error'], type: 'string' },
|
|
546
1134
|
},
|
|
547
1135
|
required: [
|
|
548
|
-
'status',
|
|
549
|
-
'action_type',
|
|
550
1136
|
'action_attempt_id',
|
|
1137
|
+
'status',
|
|
551
1138
|
'result',
|
|
1139
|
+
'action_type',
|
|
552
1140
|
'error',
|
|
553
1141
|
],
|
|
554
1142
|
type: 'object',
|
|
@@ -961,7 +1549,7 @@ export default {
|
|
|
961
1549
|
properties: {
|
|
962
1550
|
accessory_keypad_supported: {
|
|
963
1551
|
description:
|
|
964
|
-
'
|
|
1552
|
+
'\n ---\n deprecated: use device.properties.model.can_connect_accessory_keypad\n ---\n ',
|
|
965
1553
|
type: 'boolean',
|
|
966
1554
|
},
|
|
967
1555
|
can_connect_accessory_keypad: {
|
|
@@ -1032,7 +1620,7 @@ export default {
|
|
|
1032
1620
|
},
|
|
1033
1621
|
supports_accessory_keypad: {
|
|
1034
1622
|
description:
|
|
1035
|
-
'\n ---\n deprecated: use model.
|
|
1623
|
+
'\n ---\n deprecated: use device.properties.model.can_connect_accessory_keypad\n ---\n ',
|
|
1036
1624
|
type: 'boolean',
|
|
1037
1625
|
},
|
|
1038
1626
|
supports_offline_access_codes: {
|
|
@@ -2544,7 +3132,7 @@ export default {
|
|
|
2544
3132
|
properties: {
|
|
2545
3133
|
accessory_keypad_supported: {
|
|
2546
3134
|
description:
|
|
2547
|
-
'
|
|
3135
|
+
'\n ---\n deprecated: use device.properties.model.can_connect_accessory_keypad\n ---\n ',
|
|
2548
3136
|
type: 'boolean',
|
|
2549
3137
|
},
|
|
2550
3138
|
can_connect_accessory_keypad: {
|
|
@@ -2790,7 +3378,91 @@ export default {
|
|
|
2790
3378
|
properties: {
|
|
2791
3379
|
access_code: { $ref: '#/components/schemas/access_code' },
|
|
2792
3380
|
action_attempt: {
|
|
2793
|
-
|
|
3381
|
+
discriminator: { propertyName: 'status' },
|
|
3382
|
+
oneOf: [
|
|
3383
|
+
{
|
|
3384
|
+
properties: {
|
|
3385
|
+
action_attempt_id: {
|
|
3386
|
+
format: 'uuid',
|
|
3387
|
+
type: 'string',
|
|
3388
|
+
},
|
|
3389
|
+
action_type: { type: 'string' },
|
|
3390
|
+
error: {
|
|
3391
|
+
format: 'null',
|
|
3392
|
+
nullable: true,
|
|
3393
|
+
type: 'string',
|
|
3394
|
+
},
|
|
3395
|
+
result: { nullable: true },
|
|
3396
|
+
status: { enum: ['success'], type: 'string' },
|
|
3397
|
+
},
|
|
3398
|
+
required: [
|
|
3399
|
+
'status',
|
|
3400
|
+
'action_type',
|
|
3401
|
+
'action_attempt_id',
|
|
3402
|
+
'error',
|
|
3403
|
+
],
|
|
3404
|
+
type: 'object',
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
properties: {
|
|
3408
|
+
action_attempt_id: {
|
|
3409
|
+
format: 'uuid',
|
|
3410
|
+
type: 'string',
|
|
3411
|
+
},
|
|
3412
|
+
action_type: { type: 'string' },
|
|
3413
|
+
error: {
|
|
3414
|
+
format: 'null',
|
|
3415
|
+
nullable: true,
|
|
3416
|
+
type: 'string',
|
|
3417
|
+
},
|
|
3418
|
+
result: {
|
|
3419
|
+
format: 'null',
|
|
3420
|
+
nullable: true,
|
|
3421
|
+
type: 'string',
|
|
3422
|
+
},
|
|
3423
|
+
status: { enum: ['pending'], type: 'string' },
|
|
3424
|
+
},
|
|
3425
|
+
required: [
|
|
3426
|
+
'status',
|
|
3427
|
+
'action_type',
|
|
3428
|
+
'action_attempt_id',
|
|
3429
|
+
'result',
|
|
3430
|
+
'error',
|
|
3431
|
+
],
|
|
3432
|
+
type: 'object',
|
|
3433
|
+
},
|
|
3434
|
+
{
|
|
3435
|
+
properties: {
|
|
3436
|
+
action_attempt_id: {
|
|
3437
|
+
format: 'uuid',
|
|
3438
|
+
type: 'string',
|
|
3439
|
+
},
|
|
3440
|
+
action_type: { type: 'string' },
|
|
3441
|
+
error: {
|
|
3442
|
+
properties: {
|
|
3443
|
+
message: { type: 'string' },
|
|
3444
|
+
type: { type: 'string' },
|
|
3445
|
+
},
|
|
3446
|
+
required: ['type', 'message'],
|
|
3447
|
+
type: 'object',
|
|
3448
|
+
},
|
|
3449
|
+
result: {
|
|
3450
|
+
format: 'null',
|
|
3451
|
+
nullable: true,
|
|
3452
|
+
type: 'string',
|
|
3453
|
+
},
|
|
3454
|
+
status: { enum: ['error'], type: 'string' },
|
|
3455
|
+
},
|
|
3456
|
+
required: [
|
|
3457
|
+
'status',
|
|
3458
|
+
'action_type',
|
|
3459
|
+
'action_attempt_id',
|
|
3460
|
+
'result',
|
|
3461
|
+
'error',
|
|
3462
|
+
],
|
|
3463
|
+
type: 'object',
|
|
3464
|
+
},
|
|
3465
|
+
],
|
|
2794
3466
|
},
|
|
2795
3467
|
ok: { type: 'boolean' },
|
|
2796
3468
|
},
|
|
@@ -3008,7 +3680,91 @@ export default {
|
|
|
3008
3680
|
schema: {
|
|
3009
3681
|
properties: {
|
|
3010
3682
|
action_attempt: {
|
|
3011
|
-
|
|
3683
|
+
discriminator: { propertyName: 'status' },
|
|
3684
|
+
oneOf: [
|
|
3685
|
+
{
|
|
3686
|
+
properties: {
|
|
3687
|
+
action_attempt_id: {
|
|
3688
|
+
format: 'uuid',
|
|
3689
|
+
type: 'string',
|
|
3690
|
+
},
|
|
3691
|
+
action_type: { type: 'string' },
|
|
3692
|
+
error: {
|
|
3693
|
+
format: 'null',
|
|
3694
|
+
nullable: true,
|
|
3695
|
+
type: 'string',
|
|
3696
|
+
},
|
|
3697
|
+
result: { nullable: true },
|
|
3698
|
+
status: { enum: ['success'], type: 'string' },
|
|
3699
|
+
},
|
|
3700
|
+
required: [
|
|
3701
|
+
'status',
|
|
3702
|
+
'action_type',
|
|
3703
|
+
'action_attempt_id',
|
|
3704
|
+
'error',
|
|
3705
|
+
],
|
|
3706
|
+
type: 'object',
|
|
3707
|
+
},
|
|
3708
|
+
{
|
|
3709
|
+
properties: {
|
|
3710
|
+
action_attempt_id: {
|
|
3711
|
+
format: 'uuid',
|
|
3712
|
+
type: 'string',
|
|
3713
|
+
},
|
|
3714
|
+
action_type: { type: 'string' },
|
|
3715
|
+
error: {
|
|
3716
|
+
format: 'null',
|
|
3717
|
+
nullable: true,
|
|
3718
|
+
type: 'string',
|
|
3719
|
+
},
|
|
3720
|
+
result: {
|
|
3721
|
+
format: 'null',
|
|
3722
|
+
nullable: true,
|
|
3723
|
+
type: 'string',
|
|
3724
|
+
},
|
|
3725
|
+
status: { enum: ['pending'], type: 'string' },
|
|
3726
|
+
},
|
|
3727
|
+
required: [
|
|
3728
|
+
'status',
|
|
3729
|
+
'action_type',
|
|
3730
|
+
'action_attempt_id',
|
|
3731
|
+
'result',
|
|
3732
|
+
'error',
|
|
3733
|
+
],
|
|
3734
|
+
type: 'object',
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
properties: {
|
|
3738
|
+
action_attempt_id: {
|
|
3739
|
+
format: 'uuid',
|
|
3740
|
+
type: 'string',
|
|
3741
|
+
},
|
|
3742
|
+
action_type: { type: 'string' },
|
|
3743
|
+
error: {
|
|
3744
|
+
properties: {
|
|
3745
|
+
message: { type: 'string' },
|
|
3746
|
+
type: { type: 'string' },
|
|
3747
|
+
},
|
|
3748
|
+
required: ['type', 'message'],
|
|
3749
|
+
type: 'object',
|
|
3750
|
+
},
|
|
3751
|
+
result: {
|
|
3752
|
+
format: 'null',
|
|
3753
|
+
nullable: true,
|
|
3754
|
+
type: 'string',
|
|
3755
|
+
},
|
|
3756
|
+
status: { enum: ['error'], type: 'string' },
|
|
3757
|
+
},
|
|
3758
|
+
required: [
|
|
3759
|
+
'status',
|
|
3760
|
+
'action_type',
|
|
3761
|
+
'action_attempt_id',
|
|
3762
|
+
'result',
|
|
3763
|
+
'error',
|
|
3764
|
+
],
|
|
3765
|
+
type: 'object',
|
|
3766
|
+
},
|
|
3767
|
+
],
|
|
3012
3768
|
},
|
|
3013
3769
|
ok: { type: 'boolean' },
|
|
3014
3770
|
},
|
|
@@ -3410,7 +4166,91 @@ export default {
|
|
|
3410
4166
|
schema: {
|
|
3411
4167
|
properties: {
|
|
3412
4168
|
action_attempt: {
|
|
3413
|
-
|
|
4169
|
+
discriminator: { propertyName: 'status' },
|
|
4170
|
+
oneOf: [
|
|
4171
|
+
{
|
|
4172
|
+
properties: {
|
|
4173
|
+
action_attempt_id: {
|
|
4174
|
+
format: 'uuid',
|
|
4175
|
+
type: 'string',
|
|
4176
|
+
},
|
|
4177
|
+
action_type: { type: 'string' },
|
|
4178
|
+
error: {
|
|
4179
|
+
format: 'null',
|
|
4180
|
+
nullable: true,
|
|
4181
|
+
type: 'string',
|
|
4182
|
+
},
|
|
4183
|
+
result: { nullable: true },
|
|
4184
|
+
status: { enum: ['success'], type: 'string' },
|
|
4185
|
+
},
|
|
4186
|
+
required: [
|
|
4187
|
+
'status',
|
|
4188
|
+
'action_type',
|
|
4189
|
+
'action_attempt_id',
|
|
4190
|
+
'error',
|
|
4191
|
+
],
|
|
4192
|
+
type: 'object',
|
|
4193
|
+
},
|
|
4194
|
+
{
|
|
4195
|
+
properties: {
|
|
4196
|
+
action_attempt_id: {
|
|
4197
|
+
format: 'uuid',
|
|
4198
|
+
type: 'string',
|
|
4199
|
+
},
|
|
4200
|
+
action_type: { type: 'string' },
|
|
4201
|
+
error: {
|
|
4202
|
+
format: 'null',
|
|
4203
|
+
nullable: true,
|
|
4204
|
+
type: 'string',
|
|
4205
|
+
},
|
|
4206
|
+
result: {
|
|
4207
|
+
format: 'null',
|
|
4208
|
+
nullable: true,
|
|
4209
|
+
type: 'string',
|
|
4210
|
+
},
|
|
4211
|
+
status: { enum: ['pending'], type: 'string' },
|
|
4212
|
+
},
|
|
4213
|
+
required: [
|
|
4214
|
+
'status',
|
|
4215
|
+
'action_type',
|
|
4216
|
+
'action_attempt_id',
|
|
4217
|
+
'result',
|
|
4218
|
+
'error',
|
|
4219
|
+
],
|
|
4220
|
+
type: 'object',
|
|
4221
|
+
},
|
|
4222
|
+
{
|
|
4223
|
+
properties: {
|
|
4224
|
+
action_attempt_id: {
|
|
4225
|
+
format: 'uuid',
|
|
4226
|
+
type: 'string',
|
|
4227
|
+
},
|
|
4228
|
+
action_type: { type: 'string' },
|
|
4229
|
+
error: {
|
|
4230
|
+
properties: {
|
|
4231
|
+
message: { type: 'string' },
|
|
4232
|
+
type: { type: 'string' },
|
|
4233
|
+
},
|
|
4234
|
+
required: ['type', 'message'],
|
|
4235
|
+
type: 'object',
|
|
4236
|
+
},
|
|
4237
|
+
result: {
|
|
4238
|
+
format: 'null',
|
|
4239
|
+
nullable: true,
|
|
4240
|
+
type: 'string',
|
|
4241
|
+
},
|
|
4242
|
+
status: { enum: ['error'], type: 'string' },
|
|
4243
|
+
},
|
|
4244
|
+
required: [
|
|
4245
|
+
'status',
|
|
4246
|
+
'action_type',
|
|
4247
|
+
'action_attempt_id',
|
|
4248
|
+
'result',
|
|
4249
|
+
'error',
|
|
4250
|
+
],
|
|
4251
|
+
type: 'object',
|
|
4252
|
+
},
|
|
4253
|
+
],
|
|
3414
4254
|
},
|
|
3415
4255
|
ok: { type: 'boolean' },
|
|
3416
4256
|
},
|
|
@@ -3686,7 +4526,91 @@ export default {
|
|
|
3686
4526
|
schema: {
|
|
3687
4527
|
properties: {
|
|
3688
4528
|
action_attempt: {
|
|
3689
|
-
|
|
4529
|
+
discriminator: { propertyName: 'status' },
|
|
4530
|
+
oneOf: [
|
|
4531
|
+
{
|
|
4532
|
+
properties: {
|
|
4533
|
+
action_attempt_id: {
|
|
4534
|
+
format: 'uuid',
|
|
4535
|
+
type: 'string',
|
|
4536
|
+
},
|
|
4537
|
+
action_type: { type: 'string' },
|
|
4538
|
+
error: {
|
|
4539
|
+
format: 'null',
|
|
4540
|
+
nullable: true,
|
|
4541
|
+
type: 'string',
|
|
4542
|
+
},
|
|
4543
|
+
result: { nullable: true },
|
|
4544
|
+
status: { enum: ['success'], type: 'string' },
|
|
4545
|
+
},
|
|
4546
|
+
required: [
|
|
4547
|
+
'status',
|
|
4548
|
+
'action_type',
|
|
4549
|
+
'action_attempt_id',
|
|
4550
|
+
'error',
|
|
4551
|
+
],
|
|
4552
|
+
type: 'object',
|
|
4553
|
+
},
|
|
4554
|
+
{
|
|
4555
|
+
properties: {
|
|
4556
|
+
action_attempt_id: {
|
|
4557
|
+
format: 'uuid',
|
|
4558
|
+
type: 'string',
|
|
4559
|
+
},
|
|
4560
|
+
action_type: { type: 'string' },
|
|
4561
|
+
error: {
|
|
4562
|
+
format: 'null',
|
|
4563
|
+
nullable: true,
|
|
4564
|
+
type: 'string',
|
|
4565
|
+
},
|
|
4566
|
+
result: {
|
|
4567
|
+
format: 'null',
|
|
4568
|
+
nullable: true,
|
|
4569
|
+
type: 'string',
|
|
4570
|
+
},
|
|
4571
|
+
status: { enum: ['pending'], type: 'string' },
|
|
4572
|
+
},
|
|
4573
|
+
required: [
|
|
4574
|
+
'status',
|
|
4575
|
+
'action_type',
|
|
4576
|
+
'action_attempt_id',
|
|
4577
|
+
'result',
|
|
4578
|
+
'error',
|
|
4579
|
+
],
|
|
4580
|
+
type: 'object',
|
|
4581
|
+
},
|
|
4582
|
+
{
|
|
4583
|
+
properties: {
|
|
4584
|
+
action_attempt_id: {
|
|
4585
|
+
format: 'uuid',
|
|
4586
|
+
type: 'string',
|
|
4587
|
+
},
|
|
4588
|
+
action_type: { type: 'string' },
|
|
4589
|
+
error: {
|
|
4590
|
+
properties: {
|
|
4591
|
+
message: { type: 'string' },
|
|
4592
|
+
type: { type: 'string' },
|
|
4593
|
+
},
|
|
4594
|
+
required: ['type', 'message'],
|
|
4595
|
+
type: 'object',
|
|
4596
|
+
},
|
|
4597
|
+
result: {
|
|
4598
|
+
format: 'null',
|
|
4599
|
+
nullable: true,
|
|
4600
|
+
type: 'string',
|
|
4601
|
+
},
|
|
4602
|
+
status: { enum: ['error'], type: 'string' },
|
|
4603
|
+
},
|
|
4604
|
+
required: [
|
|
4605
|
+
'status',
|
|
4606
|
+
'action_type',
|
|
4607
|
+
'action_attempt_id',
|
|
4608
|
+
'result',
|
|
4609
|
+
'error',
|
|
4610
|
+
],
|
|
4611
|
+
type: 'object',
|
|
4612
|
+
},
|
|
4613
|
+
],
|
|
3690
4614
|
},
|
|
3691
4615
|
ok: { type: 'boolean' },
|
|
3692
4616
|
},
|
|
@@ -3761,7 +4685,91 @@ export default {
|
|
|
3761
4685
|
schema: {
|
|
3762
4686
|
properties: {
|
|
3763
4687
|
action_attempt: {
|
|
3764
|
-
|
|
4688
|
+
discriminator: { propertyName: 'status' },
|
|
4689
|
+
oneOf: [
|
|
4690
|
+
{
|
|
4691
|
+
properties: {
|
|
4692
|
+
action_attempt_id: {
|
|
4693
|
+
format: 'uuid',
|
|
4694
|
+
type: 'string',
|
|
4695
|
+
},
|
|
4696
|
+
action_type: { type: 'string' },
|
|
4697
|
+
error: {
|
|
4698
|
+
format: 'null',
|
|
4699
|
+
nullable: true,
|
|
4700
|
+
type: 'string',
|
|
4701
|
+
},
|
|
4702
|
+
result: { nullable: true },
|
|
4703
|
+
status: { enum: ['success'], type: 'string' },
|
|
4704
|
+
},
|
|
4705
|
+
required: [
|
|
4706
|
+
'status',
|
|
4707
|
+
'action_type',
|
|
4708
|
+
'action_attempt_id',
|
|
4709
|
+
'error',
|
|
4710
|
+
],
|
|
4711
|
+
type: 'object',
|
|
4712
|
+
},
|
|
4713
|
+
{
|
|
4714
|
+
properties: {
|
|
4715
|
+
action_attempt_id: {
|
|
4716
|
+
format: 'uuid',
|
|
4717
|
+
type: 'string',
|
|
4718
|
+
},
|
|
4719
|
+
action_type: { type: 'string' },
|
|
4720
|
+
error: {
|
|
4721
|
+
format: 'null',
|
|
4722
|
+
nullable: true,
|
|
4723
|
+
type: 'string',
|
|
4724
|
+
},
|
|
4725
|
+
result: {
|
|
4726
|
+
format: 'null',
|
|
4727
|
+
nullable: true,
|
|
4728
|
+
type: 'string',
|
|
4729
|
+
},
|
|
4730
|
+
status: { enum: ['pending'], type: 'string' },
|
|
4731
|
+
},
|
|
4732
|
+
required: [
|
|
4733
|
+
'status',
|
|
4734
|
+
'action_type',
|
|
4735
|
+
'action_attempt_id',
|
|
4736
|
+
'result',
|
|
4737
|
+
'error',
|
|
4738
|
+
],
|
|
4739
|
+
type: 'object',
|
|
4740
|
+
},
|
|
4741
|
+
{
|
|
4742
|
+
properties: {
|
|
4743
|
+
action_attempt_id: {
|
|
4744
|
+
format: 'uuid',
|
|
4745
|
+
type: 'string',
|
|
4746
|
+
},
|
|
4747
|
+
action_type: { type: 'string' },
|
|
4748
|
+
error: {
|
|
4749
|
+
properties: {
|
|
4750
|
+
message: { type: 'string' },
|
|
4751
|
+
type: { type: 'string' },
|
|
4752
|
+
},
|
|
4753
|
+
required: ['type', 'message'],
|
|
4754
|
+
type: 'object',
|
|
4755
|
+
},
|
|
4756
|
+
result: {
|
|
4757
|
+
format: 'null',
|
|
4758
|
+
nullable: true,
|
|
4759
|
+
type: 'string',
|
|
4760
|
+
},
|
|
4761
|
+
status: { enum: ['error'], type: 'string' },
|
|
4762
|
+
},
|
|
4763
|
+
required: [
|
|
4764
|
+
'status',
|
|
4765
|
+
'action_type',
|
|
4766
|
+
'action_attempt_id',
|
|
4767
|
+
'result',
|
|
4768
|
+
'error',
|
|
4769
|
+
],
|
|
4770
|
+
type: 'object',
|
|
4771
|
+
},
|
|
4772
|
+
],
|
|
3765
4773
|
},
|
|
3766
4774
|
ok: { type: 'boolean' },
|
|
3767
4775
|
},
|
|
@@ -3837,7 +4845,91 @@ export default {
|
|
|
3837
4845
|
schema: {
|
|
3838
4846
|
properties: {
|
|
3839
4847
|
action_attempt: {
|
|
3840
|
-
|
|
4848
|
+
discriminator: { propertyName: 'status' },
|
|
4849
|
+
oneOf: [
|
|
4850
|
+
{
|
|
4851
|
+
properties: {
|
|
4852
|
+
action_attempt_id: {
|
|
4853
|
+
format: 'uuid',
|
|
4854
|
+
type: 'string',
|
|
4855
|
+
},
|
|
4856
|
+
action_type: { type: 'string' },
|
|
4857
|
+
error: {
|
|
4858
|
+
format: 'null',
|
|
4859
|
+
nullable: true,
|
|
4860
|
+
type: 'string',
|
|
4861
|
+
},
|
|
4862
|
+
result: { nullable: true },
|
|
4863
|
+
status: { enum: ['success'], type: 'string' },
|
|
4864
|
+
},
|
|
4865
|
+
required: [
|
|
4866
|
+
'status',
|
|
4867
|
+
'action_type',
|
|
4868
|
+
'action_attempt_id',
|
|
4869
|
+
'error',
|
|
4870
|
+
],
|
|
4871
|
+
type: 'object',
|
|
4872
|
+
},
|
|
4873
|
+
{
|
|
4874
|
+
properties: {
|
|
4875
|
+
action_attempt_id: {
|
|
4876
|
+
format: 'uuid',
|
|
4877
|
+
type: 'string',
|
|
4878
|
+
},
|
|
4879
|
+
action_type: { type: 'string' },
|
|
4880
|
+
error: {
|
|
4881
|
+
format: 'null',
|
|
4882
|
+
nullable: true,
|
|
4883
|
+
type: 'string',
|
|
4884
|
+
},
|
|
4885
|
+
result: {
|
|
4886
|
+
format: 'null',
|
|
4887
|
+
nullable: true,
|
|
4888
|
+
type: 'string',
|
|
4889
|
+
},
|
|
4890
|
+
status: { enum: ['pending'], type: 'string' },
|
|
4891
|
+
},
|
|
4892
|
+
required: [
|
|
4893
|
+
'status',
|
|
4894
|
+
'action_type',
|
|
4895
|
+
'action_attempt_id',
|
|
4896
|
+
'result',
|
|
4897
|
+
'error',
|
|
4898
|
+
],
|
|
4899
|
+
type: 'object',
|
|
4900
|
+
},
|
|
4901
|
+
{
|
|
4902
|
+
properties: {
|
|
4903
|
+
action_attempt_id: {
|
|
4904
|
+
format: 'uuid',
|
|
4905
|
+
type: 'string',
|
|
4906
|
+
},
|
|
4907
|
+
action_type: { type: 'string' },
|
|
4908
|
+
error: {
|
|
4909
|
+
properties: {
|
|
4910
|
+
message: { type: 'string' },
|
|
4911
|
+
type: { type: 'string' },
|
|
4912
|
+
},
|
|
4913
|
+
required: ['type', 'message'],
|
|
4914
|
+
type: 'object',
|
|
4915
|
+
},
|
|
4916
|
+
result: {
|
|
4917
|
+
format: 'null',
|
|
4918
|
+
nullable: true,
|
|
4919
|
+
type: 'string',
|
|
4920
|
+
},
|
|
4921
|
+
status: { enum: ['error'], type: 'string' },
|
|
4922
|
+
},
|
|
4923
|
+
required: [
|
|
4924
|
+
'status',
|
|
4925
|
+
'action_type',
|
|
4926
|
+
'action_attempt_id',
|
|
4927
|
+
'result',
|
|
4928
|
+
'error',
|
|
4929
|
+
],
|
|
4930
|
+
type: 'object',
|
|
4931
|
+
},
|
|
4932
|
+
],
|
|
3841
4933
|
},
|
|
3842
4934
|
ok: { type: 'boolean' },
|
|
3843
4935
|
},
|
|
@@ -5871,7 +6963,91 @@ export default {
|
|
|
5871
6963
|
schema: {
|
|
5872
6964
|
properties: {
|
|
5873
6965
|
action_attempt: {
|
|
5874
|
-
|
|
6966
|
+
discriminator: { propertyName: 'status' },
|
|
6967
|
+
oneOf: [
|
|
6968
|
+
{
|
|
6969
|
+
properties: {
|
|
6970
|
+
action_attempt_id: {
|
|
6971
|
+
format: 'uuid',
|
|
6972
|
+
type: 'string',
|
|
6973
|
+
},
|
|
6974
|
+
action_type: { type: 'string' },
|
|
6975
|
+
error: {
|
|
6976
|
+
format: 'null',
|
|
6977
|
+
nullable: true,
|
|
6978
|
+
type: 'string',
|
|
6979
|
+
},
|
|
6980
|
+
result: { nullable: true },
|
|
6981
|
+
status: { enum: ['success'], type: 'string' },
|
|
6982
|
+
},
|
|
6983
|
+
required: [
|
|
6984
|
+
'status',
|
|
6985
|
+
'action_type',
|
|
6986
|
+
'action_attempt_id',
|
|
6987
|
+
'error',
|
|
6988
|
+
],
|
|
6989
|
+
type: 'object',
|
|
6990
|
+
},
|
|
6991
|
+
{
|
|
6992
|
+
properties: {
|
|
6993
|
+
action_attempt_id: {
|
|
6994
|
+
format: 'uuid',
|
|
6995
|
+
type: 'string',
|
|
6996
|
+
},
|
|
6997
|
+
action_type: { type: 'string' },
|
|
6998
|
+
error: {
|
|
6999
|
+
format: 'null',
|
|
7000
|
+
nullable: true,
|
|
7001
|
+
type: 'string',
|
|
7002
|
+
},
|
|
7003
|
+
result: {
|
|
7004
|
+
format: 'null',
|
|
7005
|
+
nullable: true,
|
|
7006
|
+
type: 'string',
|
|
7007
|
+
},
|
|
7008
|
+
status: { enum: ['pending'], type: 'string' },
|
|
7009
|
+
},
|
|
7010
|
+
required: [
|
|
7011
|
+
'status',
|
|
7012
|
+
'action_type',
|
|
7013
|
+
'action_attempt_id',
|
|
7014
|
+
'result',
|
|
7015
|
+
'error',
|
|
7016
|
+
],
|
|
7017
|
+
type: 'object',
|
|
7018
|
+
},
|
|
7019
|
+
{
|
|
7020
|
+
properties: {
|
|
7021
|
+
action_attempt_id: {
|
|
7022
|
+
format: 'uuid',
|
|
7023
|
+
type: 'string',
|
|
7024
|
+
},
|
|
7025
|
+
action_type: { type: 'string' },
|
|
7026
|
+
error: {
|
|
7027
|
+
properties: {
|
|
7028
|
+
message: { type: 'string' },
|
|
7029
|
+
type: { type: 'string' },
|
|
7030
|
+
},
|
|
7031
|
+
required: ['type', 'message'],
|
|
7032
|
+
type: 'object',
|
|
7033
|
+
},
|
|
7034
|
+
result: {
|
|
7035
|
+
format: 'null',
|
|
7036
|
+
nullable: true,
|
|
7037
|
+
type: 'string',
|
|
7038
|
+
},
|
|
7039
|
+
status: { enum: ['error'], type: 'string' },
|
|
7040
|
+
},
|
|
7041
|
+
required: [
|
|
7042
|
+
'status',
|
|
7043
|
+
'action_type',
|
|
7044
|
+
'action_attempt_id',
|
|
7045
|
+
'result',
|
|
7046
|
+
'error',
|
|
7047
|
+
],
|
|
7048
|
+
type: 'object',
|
|
7049
|
+
},
|
|
7050
|
+
],
|
|
5875
7051
|
},
|
|
5876
7052
|
ok: { type: 'boolean' },
|
|
5877
7053
|
},
|
|
@@ -5924,7 +7100,93 @@ export default {
|
|
|
5924
7100
|
schema: {
|
|
5925
7101
|
properties: {
|
|
5926
7102
|
action_attempts: {
|
|
5927
|
-
items: {
|
|
7103
|
+
items: {
|
|
7104
|
+
discriminator: { propertyName: 'status' },
|
|
7105
|
+
oneOf: [
|
|
7106
|
+
{
|
|
7107
|
+
properties: {
|
|
7108
|
+
action_attempt_id: {
|
|
7109
|
+
format: 'uuid',
|
|
7110
|
+
type: 'string',
|
|
7111
|
+
},
|
|
7112
|
+
action_type: { type: 'string' },
|
|
7113
|
+
error: {
|
|
7114
|
+
format: 'null',
|
|
7115
|
+
nullable: true,
|
|
7116
|
+
type: 'string',
|
|
7117
|
+
},
|
|
7118
|
+
result: { nullable: true },
|
|
7119
|
+
status: { enum: ['success'], type: 'string' },
|
|
7120
|
+
},
|
|
7121
|
+
required: [
|
|
7122
|
+
'status',
|
|
7123
|
+
'action_type',
|
|
7124
|
+
'action_attempt_id',
|
|
7125
|
+
'error',
|
|
7126
|
+
],
|
|
7127
|
+
type: 'object',
|
|
7128
|
+
},
|
|
7129
|
+
{
|
|
7130
|
+
properties: {
|
|
7131
|
+
action_attempt_id: {
|
|
7132
|
+
format: 'uuid',
|
|
7133
|
+
type: 'string',
|
|
7134
|
+
},
|
|
7135
|
+
action_type: { type: 'string' },
|
|
7136
|
+
error: {
|
|
7137
|
+
format: 'null',
|
|
7138
|
+
nullable: true,
|
|
7139
|
+
type: 'string',
|
|
7140
|
+
},
|
|
7141
|
+
result: {
|
|
7142
|
+
format: 'null',
|
|
7143
|
+
nullable: true,
|
|
7144
|
+
type: 'string',
|
|
7145
|
+
},
|
|
7146
|
+
status: { enum: ['pending'], type: 'string' },
|
|
7147
|
+
},
|
|
7148
|
+
required: [
|
|
7149
|
+
'status',
|
|
7150
|
+
'action_type',
|
|
7151
|
+
'action_attempt_id',
|
|
7152
|
+
'result',
|
|
7153
|
+
'error',
|
|
7154
|
+
],
|
|
7155
|
+
type: 'object',
|
|
7156
|
+
},
|
|
7157
|
+
{
|
|
7158
|
+
properties: {
|
|
7159
|
+
action_attempt_id: {
|
|
7160
|
+
format: 'uuid',
|
|
7161
|
+
type: 'string',
|
|
7162
|
+
},
|
|
7163
|
+
action_type: { type: 'string' },
|
|
7164
|
+
error: {
|
|
7165
|
+
properties: {
|
|
7166
|
+
message: { type: 'string' },
|
|
7167
|
+
type: { type: 'string' },
|
|
7168
|
+
},
|
|
7169
|
+
required: ['type', 'message'],
|
|
7170
|
+
type: 'object',
|
|
7171
|
+
},
|
|
7172
|
+
result: {
|
|
7173
|
+
format: 'null',
|
|
7174
|
+
nullable: true,
|
|
7175
|
+
type: 'string',
|
|
7176
|
+
},
|
|
7177
|
+
status: { enum: ['error'], type: 'string' },
|
|
7178
|
+
},
|
|
7179
|
+
required: [
|
|
7180
|
+
'status',
|
|
7181
|
+
'action_type',
|
|
7182
|
+
'action_attempt_id',
|
|
7183
|
+
'result',
|
|
7184
|
+
'error',
|
|
7185
|
+
],
|
|
7186
|
+
type: 'object',
|
|
7187
|
+
},
|
|
7188
|
+
],
|
|
7189
|
+
},
|
|
5928
7190
|
type: 'array',
|
|
5929
7191
|
},
|
|
5930
7192
|
ok: { type: 'boolean' },
|
|
@@ -8678,7 +9940,91 @@ export default {
|
|
|
8678
9940
|
schema: {
|
|
8679
9941
|
properties: {
|
|
8680
9942
|
action_attempt: {
|
|
8681
|
-
|
|
9943
|
+
discriminator: { propertyName: 'status' },
|
|
9944
|
+
oneOf: [
|
|
9945
|
+
{
|
|
9946
|
+
properties: {
|
|
9947
|
+
action_attempt_id: {
|
|
9948
|
+
format: 'uuid',
|
|
9949
|
+
type: 'string',
|
|
9950
|
+
},
|
|
9951
|
+
action_type: { type: 'string' },
|
|
9952
|
+
error: {
|
|
9953
|
+
format: 'null',
|
|
9954
|
+
nullable: true,
|
|
9955
|
+
type: 'string',
|
|
9956
|
+
},
|
|
9957
|
+
result: { nullable: true },
|
|
9958
|
+
status: { enum: ['success'], type: 'string' },
|
|
9959
|
+
},
|
|
9960
|
+
required: [
|
|
9961
|
+
'status',
|
|
9962
|
+
'action_type',
|
|
9963
|
+
'action_attempt_id',
|
|
9964
|
+
'error',
|
|
9965
|
+
],
|
|
9966
|
+
type: 'object',
|
|
9967
|
+
},
|
|
9968
|
+
{
|
|
9969
|
+
properties: {
|
|
9970
|
+
action_attempt_id: {
|
|
9971
|
+
format: 'uuid',
|
|
9972
|
+
type: 'string',
|
|
9973
|
+
},
|
|
9974
|
+
action_type: { type: 'string' },
|
|
9975
|
+
error: {
|
|
9976
|
+
format: 'null',
|
|
9977
|
+
nullable: true,
|
|
9978
|
+
type: 'string',
|
|
9979
|
+
},
|
|
9980
|
+
result: {
|
|
9981
|
+
format: 'null',
|
|
9982
|
+
nullable: true,
|
|
9983
|
+
type: 'string',
|
|
9984
|
+
},
|
|
9985
|
+
status: { enum: ['pending'], type: 'string' },
|
|
9986
|
+
},
|
|
9987
|
+
required: [
|
|
9988
|
+
'status',
|
|
9989
|
+
'action_type',
|
|
9990
|
+
'action_attempt_id',
|
|
9991
|
+
'result',
|
|
9992
|
+
'error',
|
|
9993
|
+
],
|
|
9994
|
+
type: 'object',
|
|
9995
|
+
},
|
|
9996
|
+
{
|
|
9997
|
+
properties: {
|
|
9998
|
+
action_attempt_id: {
|
|
9999
|
+
format: 'uuid',
|
|
10000
|
+
type: 'string',
|
|
10001
|
+
},
|
|
10002
|
+
action_type: { type: 'string' },
|
|
10003
|
+
error: {
|
|
10004
|
+
properties: {
|
|
10005
|
+
message: { type: 'string' },
|
|
10006
|
+
type: { type: 'string' },
|
|
10007
|
+
},
|
|
10008
|
+
required: ['type', 'message'],
|
|
10009
|
+
type: 'object',
|
|
10010
|
+
},
|
|
10011
|
+
result: {
|
|
10012
|
+
format: 'null',
|
|
10013
|
+
nullable: true,
|
|
10014
|
+
type: 'string',
|
|
10015
|
+
},
|
|
10016
|
+
status: { enum: ['error'], type: 'string' },
|
|
10017
|
+
},
|
|
10018
|
+
required: [
|
|
10019
|
+
'status',
|
|
10020
|
+
'action_type',
|
|
10021
|
+
'action_attempt_id',
|
|
10022
|
+
'result',
|
|
10023
|
+
'error',
|
|
10024
|
+
],
|
|
10025
|
+
type: 'object',
|
|
10026
|
+
},
|
|
10027
|
+
],
|
|
8682
10028
|
},
|
|
8683
10029
|
noise_threshold: {
|
|
8684
10030
|
$ref: '#/components/schemas/noise_threshold',
|
|
@@ -8732,7 +10078,91 @@ export default {
|
|
|
8732
10078
|
schema: {
|
|
8733
10079
|
properties: {
|
|
8734
10080
|
action_attempt: {
|
|
8735
|
-
|
|
10081
|
+
discriminator: { propertyName: 'status' },
|
|
10082
|
+
oneOf: [
|
|
10083
|
+
{
|
|
10084
|
+
properties: {
|
|
10085
|
+
action_attempt_id: {
|
|
10086
|
+
format: 'uuid',
|
|
10087
|
+
type: 'string',
|
|
10088
|
+
},
|
|
10089
|
+
action_type: { type: 'string' },
|
|
10090
|
+
error: {
|
|
10091
|
+
format: 'null',
|
|
10092
|
+
nullable: true,
|
|
10093
|
+
type: 'string',
|
|
10094
|
+
},
|
|
10095
|
+
result: { nullable: true },
|
|
10096
|
+
status: { enum: ['success'], type: 'string' },
|
|
10097
|
+
},
|
|
10098
|
+
required: [
|
|
10099
|
+
'status',
|
|
10100
|
+
'action_type',
|
|
10101
|
+
'action_attempt_id',
|
|
10102
|
+
'error',
|
|
10103
|
+
],
|
|
10104
|
+
type: 'object',
|
|
10105
|
+
},
|
|
10106
|
+
{
|
|
10107
|
+
properties: {
|
|
10108
|
+
action_attempt_id: {
|
|
10109
|
+
format: 'uuid',
|
|
10110
|
+
type: 'string',
|
|
10111
|
+
},
|
|
10112
|
+
action_type: { type: 'string' },
|
|
10113
|
+
error: {
|
|
10114
|
+
format: 'null',
|
|
10115
|
+
nullable: true,
|
|
10116
|
+
type: 'string',
|
|
10117
|
+
},
|
|
10118
|
+
result: {
|
|
10119
|
+
format: 'null',
|
|
10120
|
+
nullable: true,
|
|
10121
|
+
type: 'string',
|
|
10122
|
+
},
|
|
10123
|
+
status: { enum: ['pending'], type: 'string' },
|
|
10124
|
+
},
|
|
10125
|
+
required: [
|
|
10126
|
+
'status',
|
|
10127
|
+
'action_type',
|
|
10128
|
+
'action_attempt_id',
|
|
10129
|
+
'result',
|
|
10130
|
+
'error',
|
|
10131
|
+
],
|
|
10132
|
+
type: 'object',
|
|
10133
|
+
},
|
|
10134
|
+
{
|
|
10135
|
+
properties: {
|
|
10136
|
+
action_attempt_id: {
|
|
10137
|
+
format: 'uuid',
|
|
10138
|
+
type: 'string',
|
|
10139
|
+
},
|
|
10140
|
+
action_type: { type: 'string' },
|
|
10141
|
+
error: {
|
|
10142
|
+
properties: {
|
|
10143
|
+
message: { type: 'string' },
|
|
10144
|
+
type: { type: 'string' },
|
|
10145
|
+
},
|
|
10146
|
+
required: ['type', 'message'],
|
|
10147
|
+
type: 'object',
|
|
10148
|
+
},
|
|
10149
|
+
result: {
|
|
10150
|
+
format: 'null',
|
|
10151
|
+
nullable: true,
|
|
10152
|
+
type: 'string',
|
|
10153
|
+
},
|
|
10154
|
+
status: { enum: ['error'], type: 'string' },
|
|
10155
|
+
},
|
|
10156
|
+
required: [
|
|
10157
|
+
'status',
|
|
10158
|
+
'action_type',
|
|
10159
|
+
'action_attempt_id',
|
|
10160
|
+
'result',
|
|
10161
|
+
'error',
|
|
10162
|
+
],
|
|
10163
|
+
type: 'object',
|
|
10164
|
+
},
|
|
10165
|
+
],
|
|
8736
10166
|
},
|
|
8737
10167
|
ok: { type: 'boolean' },
|
|
8738
10168
|
},
|
|
@@ -8887,7 +10317,91 @@ export default {
|
|
|
8887
10317
|
schema: {
|
|
8888
10318
|
properties: {
|
|
8889
10319
|
action_attempt: {
|
|
8890
|
-
|
|
10320
|
+
discriminator: { propertyName: 'status' },
|
|
10321
|
+
oneOf: [
|
|
10322
|
+
{
|
|
10323
|
+
properties: {
|
|
10324
|
+
action_attempt_id: {
|
|
10325
|
+
format: 'uuid',
|
|
10326
|
+
type: 'string',
|
|
10327
|
+
},
|
|
10328
|
+
action_type: { type: 'string' },
|
|
10329
|
+
error: {
|
|
10330
|
+
format: 'null',
|
|
10331
|
+
nullable: true,
|
|
10332
|
+
type: 'string',
|
|
10333
|
+
},
|
|
10334
|
+
result: { nullable: true },
|
|
10335
|
+
status: { enum: ['success'], type: 'string' },
|
|
10336
|
+
},
|
|
10337
|
+
required: [
|
|
10338
|
+
'status',
|
|
10339
|
+
'action_type',
|
|
10340
|
+
'action_attempt_id',
|
|
10341
|
+
'error',
|
|
10342
|
+
],
|
|
10343
|
+
type: 'object',
|
|
10344
|
+
},
|
|
10345
|
+
{
|
|
10346
|
+
properties: {
|
|
10347
|
+
action_attempt_id: {
|
|
10348
|
+
format: 'uuid',
|
|
10349
|
+
type: 'string',
|
|
10350
|
+
},
|
|
10351
|
+
action_type: { type: 'string' },
|
|
10352
|
+
error: {
|
|
10353
|
+
format: 'null',
|
|
10354
|
+
nullable: true,
|
|
10355
|
+
type: 'string',
|
|
10356
|
+
},
|
|
10357
|
+
result: {
|
|
10358
|
+
format: 'null',
|
|
10359
|
+
nullable: true,
|
|
10360
|
+
type: 'string',
|
|
10361
|
+
},
|
|
10362
|
+
status: { enum: ['pending'], type: 'string' },
|
|
10363
|
+
},
|
|
10364
|
+
required: [
|
|
10365
|
+
'status',
|
|
10366
|
+
'action_type',
|
|
10367
|
+
'action_attempt_id',
|
|
10368
|
+
'result',
|
|
10369
|
+
'error',
|
|
10370
|
+
],
|
|
10371
|
+
type: 'object',
|
|
10372
|
+
},
|
|
10373
|
+
{
|
|
10374
|
+
properties: {
|
|
10375
|
+
action_attempt_id: {
|
|
10376
|
+
format: 'uuid',
|
|
10377
|
+
type: 'string',
|
|
10378
|
+
},
|
|
10379
|
+
action_type: { type: 'string' },
|
|
10380
|
+
error: {
|
|
10381
|
+
properties: {
|
|
10382
|
+
message: { type: 'string' },
|
|
10383
|
+
type: { type: 'string' },
|
|
10384
|
+
},
|
|
10385
|
+
required: ['type', 'message'],
|
|
10386
|
+
type: 'object',
|
|
10387
|
+
},
|
|
10388
|
+
result: {
|
|
10389
|
+
format: 'null',
|
|
10390
|
+
nullable: true,
|
|
10391
|
+
type: 'string',
|
|
10392
|
+
},
|
|
10393
|
+
status: { enum: ['error'], type: 'string' },
|
|
10394
|
+
},
|
|
10395
|
+
required: [
|
|
10396
|
+
'status',
|
|
10397
|
+
'action_type',
|
|
10398
|
+
'action_attempt_id',
|
|
10399
|
+
'result',
|
|
10400
|
+
'error',
|
|
10401
|
+
],
|
|
10402
|
+
type: 'object',
|
|
10403
|
+
},
|
|
10404
|
+
],
|
|
8891
10405
|
},
|
|
8892
10406
|
ok: { type: 'boolean' },
|
|
8893
10407
|
},
|
|
@@ -8939,7 +10453,91 @@ export default {
|
|
|
8939
10453
|
schema: {
|
|
8940
10454
|
properties: {
|
|
8941
10455
|
action_attempt: {
|
|
8942
|
-
|
|
10456
|
+
discriminator: { propertyName: 'status' },
|
|
10457
|
+
oneOf: [
|
|
10458
|
+
{
|
|
10459
|
+
properties: {
|
|
10460
|
+
action_attempt_id: {
|
|
10461
|
+
format: 'uuid',
|
|
10462
|
+
type: 'string',
|
|
10463
|
+
},
|
|
10464
|
+
action_type: { type: 'string' },
|
|
10465
|
+
error: {
|
|
10466
|
+
format: 'null',
|
|
10467
|
+
nullable: true,
|
|
10468
|
+
type: 'string',
|
|
10469
|
+
},
|
|
10470
|
+
result: { nullable: true },
|
|
10471
|
+
status: { enum: ['success'], type: 'string' },
|
|
10472
|
+
},
|
|
10473
|
+
required: [
|
|
10474
|
+
'status',
|
|
10475
|
+
'action_type',
|
|
10476
|
+
'action_attempt_id',
|
|
10477
|
+
'error',
|
|
10478
|
+
],
|
|
10479
|
+
type: 'object',
|
|
10480
|
+
},
|
|
10481
|
+
{
|
|
10482
|
+
properties: {
|
|
10483
|
+
action_attempt_id: {
|
|
10484
|
+
format: 'uuid',
|
|
10485
|
+
type: 'string',
|
|
10486
|
+
},
|
|
10487
|
+
action_type: { type: 'string' },
|
|
10488
|
+
error: {
|
|
10489
|
+
format: 'null',
|
|
10490
|
+
nullable: true,
|
|
10491
|
+
type: 'string',
|
|
10492
|
+
},
|
|
10493
|
+
result: {
|
|
10494
|
+
format: 'null',
|
|
10495
|
+
nullable: true,
|
|
10496
|
+
type: 'string',
|
|
10497
|
+
},
|
|
10498
|
+
status: { enum: ['pending'], type: 'string' },
|
|
10499
|
+
},
|
|
10500
|
+
required: [
|
|
10501
|
+
'status',
|
|
10502
|
+
'action_type',
|
|
10503
|
+
'action_attempt_id',
|
|
10504
|
+
'result',
|
|
10505
|
+
'error',
|
|
10506
|
+
],
|
|
10507
|
+
type: 'object',
|
|
10508
|
+
},
|
|
10509
|
+
{
|
|
10510
|
+
properties: {
|
|
10511
|
+
action_attempt_id: {
|
|
10512
|
+
format: 'uuid',
|
|
10513
|
+
type: 'string',
|
|
10514
|
+
},
|
|
10515
|
+
action_type: { type: 'string' },
|
|
10516
|
+
error: {
|
|
10517
|
+
properties: {
|
|
10518
|
+
message: { type: 'string' },
|
|
10519
|
+
type: { type: 'string' },
|
|
10520
|
+
},
|
|
10521
|
+
required: ['type', 'message'],
|
|
10522
|
+
type: 'object',
|
|
10523
|
+
},
|
|
10524
|
+
result: {
|
|
10525
|
+
format: 'null',
|
|
10526
|
+
nullable: true,
|
|
10527
|
+
type: 'string',
|
|
10528
|
+
},
|
|
10529
|
+
status: { enum: ['error'], type: 'string' },
|
|
10530
|
+
},
|
|
10531
|
+
required: [
|
|
10532
|
+
'status',
|
|
10533
|
+
'action_type',
|
|
10534
|
+
'action_attempt_id',
|
|
10535
|
+
'result',
|
|
10536
|
+
'error',
|
|
10537
|
+
],
|
|
10538
|
+
type: 'object',
|
|
10539
|
+
},
|
|
10540
|
+
],
|
|
8943
10541
|
},
|
|
8944
10542
|
ok: { type: 'boolean' },
|
|
8945
10543
|
},
|
|
@@ -8992,7 +10590,91 @@ export default {
|
|
|
8992
10590
|
schema: {
|
|
8993
10591
|
properties: {
|
|
8994
10592
|
action_attempt: {
|
|
8995
|
-
|
|
10593
|
+
discriminator: { propertyName: 'status' },
|
|
10594
|
+
oneOf: [
|
|
10595
|
+
{
|
|
10596
|
+
properties: {
|
|
10597
|
+
action_attempt_id: {
|
|
10598
|
+
format: 'uuid',
|
|
10599
|
+
type: 'string',
|
|
10600
|
+
},
|
|
10601
|
+
action_type: { type: 'string' },
|
|
10602
|
+
error: {
|
|
10603
|
+
format: 'null',
|
|
10604
|
+
nullable: true,
|
|
10605
|
+
type: 'string',
|
|
10606
|
+
},
|
|
10607
|
+
result: { nullable: true },
|
|
10608
|
+
status: { enum: ['success'], type: 'string' },
|
|
10609
|
+
},
|
|
10610
|
+
required: [
|
|
10611
|
+
'status',
|
|
10612
|
+
'action_type',
|
|
10613
|
+
'action_attempt_id',
|
|
10614
|
+
'error',
|
|
10615
|
+
],
|
|
10616
|
+
type: 'object',
|
|
10617
|
+
},
|
|
10618
|
+
{
|
|
10619
|
+
properties: {
|
|
10620
|
+
action_attempt_id: {
|
|
10621
|
+
format: 'uuid',
|
|
10622
|
+
type: 'string',
|
|
10623
|
+
},
|
|
10624
|
+
action_type: { type: 'string' },
|
|
10625
|
+
error: {
|
|
10626
|
+
format: 'null',
|
|
10627
|
+
nullable: true,
|
|
10628
|
+
type: 'string',
|
|
10629
|
+
},
|
|
10630
|
+
result: {
|
|
10631
|
+
format: 'null',
|
|
10632
|
+
nullable: true,
|
|
10633
|
+
type: 'string',
|
|
10634
|
+
},
|
|
10635
|
+
status: { enum: ['pending'], type: 'string' },
|
|
10636
|
+
},
|
|
10637
|
+
required: [
|
|
10638
|
+
'status',
|
|
10639
|
+
'action_type',
|
|
10640
|
+
'action_attempt_id',
|
|
10641
|
+
'result',
|
|
10642
|
+
'error',
|
|
10643
|
+
],
|
|
10644
|
+
type: 'object',
|
|
10645
|
+
},
|
|
10646
|
+
{
|
|
10647
|
+
properties: {
|
|
10648
|
+
action_attempt_id: {
|
|
10649
|
+
format: 'uuid',
|
|
10650
|
+
type: 'string',
|
|
10651
|
+
},
|
|
10652
|
+
action_type: { type: 'string' },
|
|
10653
|
+
error: {
|
|
10654
|
+
properties: {
|
|
10655
|
+
message: { type: 'string' },
|
|
10656
|
+
type: { type: 'string' },
|
|
10657
|
+
},
|
|
10658
|
+
required: ['type', 'message'],
|
|
10659
|
+
type: 'object',
|
|
10660
|
+
},
|
|
10661
|
+
result: {
|
|
10662
|
+
format: 'null',
|
|
10663
|
+
nullable: true,
|
|
10664
|
+
type: 'string',
|
|
10665
|
+
},
|
|
10666
|
+
status: { enum: ['error'], type: 'string' },
|
|
10667
|
+
},
|
|
10668
|
+
required: [
|
|
10669
|
+
'status',
|
|
10670
|
+
'action_type',
|
|
10671
|
+
'action_attempt_id',
|
|
10672
|
+
'result',
|
|
10673
|
+
'error',
|
|
10674
|
+
],
|
|
10675
|
+
type: 'object',
|
|
10676
|
+
},
|
|
10677
|
+
],
|
|
8996
10678
|
},
|
|
8997
10679
|
ok: { type: 'boolean' },
|
|
8998
10680
|
},
|