@hasna/todos 0.15.34 → 0.15.41
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/cli/cloud-router.d.ts +53 -19
- package/dist/cli/cloud-router.d.ts.map +1 -1
- package/dist/cli/commands/agent-commands.d.ts.map +1 -1
- package/dist/cli/commands/plan-template-commands.d.ts.map +1 -1
- package/dist/cli/commands/project-commands.d.ts.map +1 -1
- package/dist/cli/commands/task-commands.d.ts.map +1 -1
- package/dist/cli/commands/task-subtree-transfer-commands.d.ts +3 -0
- package/dist/cli/commands/task-subtree-transfer-commands.d.ts.map +1 -0
- package/dist/cli/index.js +3551 -836
- package/dist/cli/stage-a.d.ts.map +1 -1
- package/dist/contracts.js +147 -57
- package/dist/db/migrations.d.ts.map +1 -1
- package/dist/db/plan-comments.d.ts +14 -0
- package/dist/db/plan-comments.d.ts.map +1 -0
- package/dist/db/projects.d.ts +23 -0
- package/dist/db/projects.d.ts.map +1 -1
- package/dist/db/schema.d.ts.map +1 -1
- package/dist/db/task-crud.d.ts.map +1 -1
- package/dist/db/task-lifecycle.d.ts.map +1 -1
- package/dist/db/task-lists.d.ts.map +1 -1
- package/dist/db/task-relations.d.ts.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1994 -346
- package/dist/json-contracts.d.ts.map +1 -1
- package/dist/lib/comment-cursor.d.ts +19 -0
- package/dist/lib/comment-cursor.d.ts.map +1 -1
- package/dist/lib/import-export-bridge.d.ts.map +1 -1
- package/dist/lib/onboarding-fixtures.d.ts.map +1 -1
- package/dist/mcp/index.js +2491 -507
- package/dist/mcp/tools/task-project-tools.d.ts.map +1 -1
- package/dist/mcp.js +11 -4
- package/dist/project-registration/authority.d.ts.map +1 -1
- package/dist/project-registration/sqlite.d.ts.map +1 -1
- package/dist/project-registration.js +362 -79
- package/dist/registry.d.ts +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +154 -57
- package/dist/release-provenance.json +5 -5
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +35 -0
- package/dist/sdk/v1.generated.d.ts +144 -0
- package/dist/sdk/v1.generated.d.ts.map +1 -1
- package/dist/server/cloud.d.ts +12 -2
- package/dist/server/cloud.d.ts.map +1 -1
- package/dist/server/index.js +5247 -8429
- package/dist/server/openapi.d.ts +2104 -1314
- package/dist/server/openapi.d.ts.map +1 -1
- package/dist/server/v1.d.ts +2 -1
- package/dist/server/v1.d.ts.map +1 -1
- package/dist/storage/config.d.ts +12 -30
- package/dist/storage/config.d.ts.map +1 -1
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/interfaces.d.ts +13 -2
- package/dist/storage/interfaces.d.ts.map +1 -1
- package/dist/storage/local-sqlite.d.ts.map +1 -1
- package/dist/storage/postgres-adapter.d.ts.map +1 -1
- package/dist/storage/timestamp-backfill.d.ts +62 -0
- package/dist/storage/timestamp-backfill.d.ts.map +1 -0
- package/dist/storage.d.ts +2 -2
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +327 -75
- package/dist/task-subtree-transfer/authority.d.ts +27 -0
- package/dist/task-subtree-transfer/authority.d.ts.map +1 -0
- package/dist/task-subtree-transfer/backend.d.ts +9 -0
- package/dist/task-subtree-transfer/backend.d.ts.map +1 -0
- package/dist/task-subtree-transfer/canonical.d.ts +14 -0
- package/dist/task-subtree-transfer/canonical.d.ts.map +1 -0
- package/dist/task-subtree-transfer/http.d.ts +16 -0
- package/dist/task-subtree-transfer/http.d.ts.map +1 -0
- package/dist/task-subtree-transfer/index.d.ts +6 -0
- package/dist/task-subtree-transfer/index.d.ts.map +1 -0
- package/dist/task-subtree-transfer/planner.d.ts +24 -0
- package/dist/task-subtree-transfer/planner.d.ts.map +1 -0
- package/dist/task-subtree-transfer/postgres.d.ts +19 -0
- package/dist/task-subtree-transfer/postgres.d.ts.map +1 -0
- package/dist/task-subtree-transfer/schema-sql.d.ts +5 -0
- package/dist/task-subtree-transfer/schema-sql.d.ts.map +1 -0
- package/dist/task-subtree-transfer/sqlite.d.ts +16 -0
- package/dist/task-subtree-transfer/sqlite.d.ts.map +1 -0
- package/dist/task-subtree-transfer/types.d.ts +148 -0
- package/dist/task-subtree-transfer/types.d.ts.map +1 -0
- package/dist/task-subtree-transfer.d.ts +2 -0
- package/dist/task-subtree-transfer.d.ts.map +1 -0
- package/dist/task-subtree-transfer.js +1869 -0
- package/dist/testing.d.ts +41 -7
- package/dist/testing.d.ts.map +1 -1
- package/dist/testing.js +44 -1
- package/dist/types/index.d.ts +29 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +11 -4
package/dist/server/openapi.d.ts
CHANGED
|
@@ -114,6 +114,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
114
114
|
readonly task_counter: {
|
|
115
115
|
readonly type: "number";
|
|
116
116
|
};
|
|
117
|
+
readonly parent_id: {
|
|
118
|
+
readonly type: "string";
|
|
119
|
+
readonly nullable: true;
|
|
120
|
+
};
|
|
117
121
|
readonly created_at: {
|
|
118
122
|
readonly type: "string";
|
|
119
123
|
};
|
|
@@ -505,323 +509,364 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
505
509
|
};
|
|
506
510
|
};
|
|
507
511
|
};
|
|
508
|
-
|
|
512
|
+
TaskSubtreeTransferExpectedTask: {
|
|
509
513
|
readonly type: "object";
|
|
510
514
|
readonly additionalProperties: false;
|
|
511
|
-
readonly required: readonly ["
|
|
515
|
+
readonly required: readonly ["task_id", "version"];
|
|
512
516
|
readonly properties: {
|
|
513
|
-
readonly
|
|
517
|
+
readonly task_id: {
|
|
514
518
|
readonly type: "string";
|
|
515
519
|
readonly format: "uuid";
|
|
516
520
|
};
|
|
517
|
-
readonly
|
|
518
|
-
readonly type: "string";
|
|
519
|
-
};
|
|
520
|
-
readonly step_id: {
|
|
521
|
-
readonly type: "string";
|
|
522
|
-
};
|
|
523
|
-
readonly idempotency_key: {
|
|
524
|
-
readonly type: "string";
|
|
525
|
-
readonly pattern: "^tmk_[0-9a-f]{48}$";
|
|
526
|
-
};
|
|
527
|
-
readonly precondition_digest: {
|
|
528
|
-
readonly type: "string";
|
|
529
|
-
readonly pattern: "^[0-9a-f]{64}$";
|
|
530
|
-
};
|
|
531
|
-
readonly if_binding_version: {
|
|
521
|
+
readonly version: {
|
|
532
522
|
readonly type: "integer";
|
|
533
523
|
readonly minimum: 1;
|
|
534
524
|
};
|
|
535
525
|
};
|
|
536
526
|
};
|
|
537
|
-
|
|
538
|
-
readonly type: "object";
|
|
539
|
-
readonly additionalProperties: false;
|
|
540
|
-
readonly required: readonly ["duplicate", "receipt", "absent", "readback"];
|
|
541
|
-
readonly properties: {
|
|
542
|
-
readonly duplicate: {
|
|
543
|
-
readonly type: "boolean";
|
|
544
|
-
};
|
|
545
|
-
readonly receipt: {
|
|
546
|
-
readonly $ref: "#/components/schemas/TaskManifestReceipt";
|
|
547
|
-
};
|
|
548
|
-
readonly absent: {
|
|
549
|
-
readonly type: "boolean";
|
|
550
|
-
readonly enum: readonly [true];
|
|
551
|
-
};
|
|
552
|
-
readonly readback: {
|
|
553
|
-
readonly type: "object";
|
|
554
|
-
readonly additionalProperties: true;
|
|
555
|
-
};
|
|
556
|
-
};
|
|
557
|
-
};
|
|
558
|
-
TaskManifestCompensateResponse: {
|
|
527
|
+
TaskSubtreeTransferSharedPlanSplit: {
|
|
559
528
|
readonly type: "object";
|
|
560
529
|
readonly additionalProperties: false;
|
|
561
|
-
readonly required: readonly ["
|
|
530
|
+
readonly required: readonly ["source_plan_id", "destination_plan_id"];
|
|
562
531
|
readonly properties: {
|
|
563
|
-
readonly
|
|
564
|
-
readonly
|
|
532
|
+
readonly source_plan_id: {
|
|
533
|
+
readonly type: "string";
|
|
534
|
+
readonly format: "uuid";
|
|
565
535
|
};
|
|
566
|
-
|
|
567
|
-
};
|
|
568
|
-
TaskManifestReadExactRequest: {
|
|
569
|
-
readonly type: "object";
|
|
570
|
-
readonly additionalProperties: false;
|
|
571
|
-
readonly required: readonly ["receipt_id"];
|
|
572
|
-
readonly properties: {
|
|
573
|
-
readonly receipt_id: {
|
|
536
|
+
readonly destination_plan_id: {
|
|
574
537
|
readonly type: "string";
|
|
575
538
|
readonly format: "uuid";
|
|
576
539
|
};
|
|
577
540
|
};
|
|
578
541
|
};
|
|
579
|
-
|
|
542
|
+
TaskSubtreeTransferInspectRequest: {
|
|
580
543
|
readonly type: "object";
|
|
581
544
|
readonly additionalProperties: false;
|
|
582
|
-
readonly required: readonly ["
|
|
545
|
+
readonly required: readonly ["source_project_id", "destination_project_id", "destination_task_list_id", "root_task_id", "destination_parent_id"];
|
|
583
546
|
readonly properties: {
|
|
584
|
-
readonly
|
|
547
|
+
readonly source_project_id: {
|
|
585
548
|
readonly type: "string";
|
|
586
|
-
readonly
|
|
549
|
+
readonly format: "uuid";
|
|
587
550
|
};
|
|
588
|
-
readonly
|
|
551
|
+
readonly destination_project_id: {
|
|
589
552
|
readonly type: "string";
|
|
590
|
-
readonly
|
|
591
|
-
};
|
|
592
|
-
readonly schema_version: {
|
|
593
|
-
readonly type: "integer";
|
|
594
|
-
readonly enum: readonly [1];
|
|
553
|
+
readonly format: "uuid";
|
|
595
554
|
};
|
|
596
|
-
readonly
|
|
555
|
+
readonly destination_task_list_id: {
|
|
597
556
|
readonly type: "string";
|
|
598
|
-
readonly
|
|
599
|
-
readonly maxLength: 200;
|
|
557
|
+
readonly format: "uuid";
|
|
600
558
|
};
|
|
601
|
-
readonly
|
|
559
|
+
readonly root_task_id: {
|
|
602
560
|
readonly type: "string";
|
|
603
561
|
readonly format: "uuid";
|
|
604
562
|
};
|
|
605
|
-
readonly
|
|
606
|
-
readonly type: "
|
|
607
|
-
readonly
|
|
563
|
+
readonly destination_parent_id: {
|
|
564
|
+
readonly type: "string";
|
|
565
|
+
readonly format: "uuid";
|
|
566
|
+
readonly nullable: true;
|
|
608
567
|
};
|
|
609
568
|
};
|
|
610
569
|
};
|
|
611
|
-
|
|
570
|
+
TaskSubtreeTransferInspection: {
|
|
612
571
|
readonly type: "object";
|
|
613
572
|
readonly additionalProperties: false;
|
|
614
|
-
readonly required: readonly ["
|
|
573
|
+
readonly required: readonly ["source_project_id", "destination_project_id", "destination_task_list_id", "root_task_id", "destination_parent_id", "expected_root_parent_id", "source_population_digest", "expected_tasks", "contained_plan_ids", "shared_plan_ids", "complete"];
|
|
615
574
|
readonly properties: {
|
|
616
|
-
readonly
|
|
575
|
+
readonly expected_root_parent_id: {
|
|
617
576
|
readonly type: "string";
|
|
618
|
-
readonly
|
|
577
|
+
readonly format: "uuid";
|
|
578
|
+
readonly nullable: true;
|
|
619
579
|
};
|
|
620
|
-
readonly
|
|
580
|
+
readonly source_population_digest: {
|
|
621
581
|
readonly type: "string";
|
|
622
|
-
readonly
|
|
582
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
623
583
|
};
|
|
624
|
-
readonly
|
|
625
|
-
readonly type: "
|
|
626
|
-
readonly
|
|
584
|
+
readonly expected_tasks: {
|
|
585
|
+
readonly type: "array";
|
|
586
|
+
readonly minItems: 1;
|
|
587
|
+
readonly items: {
|
|
588
|
+
readonly $ref: "#/components/schemas/TaskSubtreeTransferExpectedTask";
|
|
589
|
+
};
|
|
627
590
|
};
|
|
628
|
-
readonly
|
|
629
|
-
readonly type: "
|
|
591
|
+
readonly contained_plan_ids: {
|
|
592
|
+
readonly type: "array";
|
|
593
|
+
readonly items: {
|
|
594
|
+
readonly type: "string";
|
|
595
|
+
readonly format: "uuid";
|
|
596
|
+
};
|
|
630
597
|
};
|
|
631
|
-
readonly
|
|
598
|
+
readonly shared_plan_ids: {
|
|
599
|
+
readonly type: "array";
|
|
600
|
+
readonly items: {
|
|
601
|
+
readonly type: "string";
|
|
602
|
+
readonly format: "uuid";
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
readonly complete: {
|
|
606
|
+
readonly type: "boolean";
|
|
607
|
+
readonly enum: readonly [true];
|
|
608
|
+
};
|
|
609
|
+
readonly source_project_id: {
|
|
632
610
|
readonly type: "string";
|
|
633
611
|
readonly format: "uuid";
|
|
634
612
|
};
|
|
635
|
-
readonly
|
|
613
|
+
readonly destination_project_id: {
|
|
636
614
|
readonly type: "string";
|
|
637
|
-
readonly
|
|
638
|
-
readonly maxLength: 200;
|
|
615
|
+
readonly format: "uuid";
|
|
639
616
|
};
|
|
640
|
-
readonly
|
|
617
|
+
readonly destination_task_list_id: {
|
|
641
618
|
readonly type: "string";
|
|
642
|
-
readonly
|
|
643
|
-
readonly maxLength: 200;
|
|
619
|
+
readonly format: "uuid";
|
|
644
620
|
};
|
|
645
|
-
readonly
|
|
621
|
+
readonly root_task_id: {
|
|
646
622
|
readonly type: "string";
|
|
647
623
|
readonly format: "uuid";
|
|
648
624
|
};
|
|
649
|
-
readonly
|
|
650
|
-
readonly type: "integer";
|
|
651
|
-
readonly minimum: 1;
|
|
652
|
-
};
|
|
653
|
-
readonly state: {
|
|
625
|
+
readonly destination_parent_id: {
|
|
654
626
|
readonly type: "string";
|
|
655
|
-
readonly
|
|
627
|
+
readonly format: "uuid";
|
|
628
|
+
readonly nullable: true;
|
|
656
629
|
};
|
|
657
630
|
};
|
|
658
631
|
};
|
|
659
|
-
|
|
632
|
+
TaskSubtreeTransferApplyRequest: {
|
|
660
633
|
readonly type: "object";
|
|
661
634
|
readonly additionalProperties: false;
|
|
662
|
-
readonly required: readonly ["
|
|
635
|
+
readonly required: readonly ["version", "operation_id", "step_id", "idempotency_key", "precondition_digest", "source_project_id", "destination_project_id", "destination_task_list_id", "root_task_id", "destination_parent_id", "expected_root_parent_id", "source_population_digest", "expected_tasks", "shared_plan_splits"];
|
|
663
636
|
readonly properties: {
|
|
664
|
-
readonly
|
|
665
|
-
readonly
|
|
637
|
+
readonly version: {
|
|
638
|
+
readonly type: "integer";
|
|
639
|
+
readonly enum: readonly [1];
|
|
666
640
|
};
|
|
667
|
-
|
|
668
|
-
};
|
|
669
|
-
ProjectRegistrationCapability: {
|
|
670
|
-
readonly type: "object";
|
|
671
|
-
readonly additionalProperties: false;
|
|
672
|
-
readonly required: readonly ["authority", "route", "package_version", "authority_id", "tenant_id", "corpus_id", "supported_resources", "conditional_create", "immutable_receipts", "exact_terminal_lookup", "exact_readback", "bind_existing_adoption", "prior_registration_adoption_validation", "project_resource_enumeration", "project_resource_page_limit", "conditional_inverse", "ambiguous_outcome_reconciliation"];
|
|
673
|
-
readonly properties: {
|
|
674
|
-
readonly authority: {
|
|
641
|
+
readonly operation_id: {
|
|
675
642
|
readonly type: "string";
|
|
676
|
-
readonly
|
|
643
|
+
readonly minLength: 1;
|
|
644
|
+
readonly maxLength: 200;
|
|
677
645
|
};
|
|
678
|
-
readonly
|
|
646
|
+
readonly step_id: {
|
|
679
647
|
readonly type: "string";
|
|
680
|
-
readonly
|
|
648
|
+
readonly minLength: 1;
|
|
649
|
+
readonly maxLength: 200;
|
|
681
650
|
};
|
|
682
|
-
readonly
|
|
651
|
+
readonly idempotency_key: {
|
|
683
652
|
readonly type: "string";
|
|
653
|
+
readonly minLength: 1;
|
|
654
|
+
readonly maxLength: 240;
|
|
684
655
|
};
|
|
685
|
-
readonly
|
|
656
|
+
readonly precondition_digest: {
|
|
686
657
|
readonly type: "string";
|
|
658
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
687
659
|
};
|
|
688
|
-
readonly
|
|
660
|
+
readonly expected_root_parent_id: {
|
|
689
661
|
readonly type: "string";
|
|
662
|
+
readonly format: "uuid";
|
|
663
|
+
readonly nullable: true;
|
|
690
664
|
};
|
|
691
|
-
readonly
|
|
665
|
+
readonly source_population_digest: {
|
|
692
666
|
readonly type: "string";
|
|
667
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
693
668
|
};
|
|
694
|
-
readonly
|
|
669
|
+
readonly expected_tasks: {
|
|
695
670
|
readonly type: "array";
|
|
671
|
+
readonly minItems: 1;
|
|
696
672
|
readonly items: {
|
|
697
|
-
readonly
|
|
698
|
-
readonly enum: readonly ["project", "task_list"];
|
|
673
|
+
readonly $ref: "#/components/schemas/TaskSubtreeTransferExpectedTask";
|
|
699
674
|
};
|
|
700
675
|
};
|
|
701
|
-
readonly
|
|
702
|
-
readonly type: "
|
|
703
|
-
readonly
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
readonly type: "boolean";
|
|
707
|
-
readonly enum: readonly [true];
|
|
708
|
-
};
|
|
709
|
-
readonly exact_terminal_lookup: {
|
|
710
|
-
readonly type: "boolean";
|
|
711
|
-
readonly enum: readonly [true];
|
|
712
|
-
};
|
|
713
|
-
readonly exact_readback: {
|
|
714
|
-
readonly type: "boolean";
|
|
715
|
-
readonly enum: readonly [true];
|
|
716
|
-
};
|
|
717
|
-
readonly bind_existing_adoption: {
|
|
718
|
-
readonly type: "boolean";
|
|
719
|
-
readonly enum: readonly [true];
|
|
676
|
+
readonly shared_plan_splits: {
|
|
677
|
+
readonly type: "array";
|
|
678
|
+
readonly items: {
|
|
679
|
+
readonly $ref: "#/components/schemas/TaskSubtreeTransferSharedPlanSplit";
|
|
680
|
+
};
|
|
720
681
|
};
|
|
721
|
-
readonly
|
|
722
|
-
readonly type: "
|
|
723
|
-
readonly
|
|
682
|
+
readonly source_project_id: {
|
|
683
|
+
readonly type: "string";
|
|
684
|
+
readonly format: "uuid";
|
|
724
685
|
};
|
|
725
|
-
readonly
|
|
726
|
-
readonly type: "
|
|
727
|
-
readonly
|
|
686
|
+
readonly destination_project_id: {
|
|
687
|
+
readonly type: "string";
|
|
688
|
+
readonly format: "uuid";
|
|
728
689
|
};
|
|
729
|
-
readonly
|
|
730
|
-
readonly type: "
|
|
731
|
-
readonly
|
|
690
|
+
readonly destination_task_list_id: {
|
|
691
|
+
readonly type: "string";
|
|
692
|
+
readonly format: "uuid";
|
|
732
693
|
};
|
|
733
|
-
readonly
|
|
734
|
-
readonly type: "
|
|
735
|
-
readonly
|
|
694
|
+
readonly root_task_id: {
|
|
695
|
+
readonly type: "string";
|
|
696
|
+
readonly format: "uuid";
|
|
736
697
|
};
|
|
737
|
-
readonly
|
|
738
|
-
readonly type: "
|
|
739
|
-
readonly
|
|
698
|
+
readonly destination_parent_id: {
|
|
699
|
+
readonly type: "string";
|
|
700
|
+
readonly format: "uuid";
|
|
701
|
+
readonly nullable: true;
|
|
740
702
|
};
|
|
741
703
|
};
|
|
742
704
|
};
|
|
743
|
-
|
|
705
|
+
TaskSubtreeTransferTaskImage: {
|
|
744
706
|
readonly type: "object";
|
|
745
707
|
readonly additionalProperties: false;
|
|
746
|
-
readonly required: readonly ["
|
|
708
|
+
readonly required: readonly ["task_id", "project_id", "parent_id", "plan_id", "task_list_id", "version", "updated_at"];
|
|
747
709
|
readonly properties: {
|
|
748
|
-
readonly
|
|
710
|
+
readonly task_id: {
|
|
749
711
|
readonly type: "string";
|
|
712
|
+
readonly format: "uuid";
|
|
750
713
|
};
|
|
751
|
-
readonly
|
|
714
|
+
readonly project_id: {
|
|
752
715
|
readonly type: "string";
|
|
753
|
-
readonly
|
|
716
|
+
readonly format: "uuid";
|
|
717
|
+
readonly nullable: true;
|
|
754
718
|
};
|
|
755
|
-
readonly
|
|
719
|
+
readonly parent_id: {
|
|
756
720
|
readonly type: "string";
|
|
757
|
-
readonly
|
|
721
|
+
readonly format: "uuid";
|
|
722
|
+
readonly nullable: true;
|
|
758
723
|
};
|
|
759
|
-
readonly
|
|
724
|
+
readonly plan_id: {
|
|
760
725
|
readonly type: "string";
|
|
726
|
+
readonly format: "uuid";
|
|
727
|
+
readonly nullable: true;
|
|
761
728
|
};
|
|
762
|
-
readonly
|
|
729
|
+
readonly task_list_id: {
|
|
763
730
|
readonly type: "string";
|
|
731
|
+
readonly format: "uuid";
|
|
732
|
+
readonly nullable: true;
|
|
764
733
|
};
|
|
765
|
-
readonly
|
|
766
|
-
readonly type: "
|
|
734
|
+
readonly version: {
|
|
735
|
+
readonly type: "integer";
|
|
736
|
+
readonly minimum: 1;
|
|
767
737
|
};
|
|
768
|
-
readonly
|
|
738
|
+
readonly updated_at: {
|
|
769
739
|
readonly type: "string";
|
|
740
|
+
readonly format: "date-time";
|
|
770
741
|
};
|
|
771
|
-
|
|
772
|
-
|
|
742
|
+
};
|
|
743
|
+
};
|
|
744
|
+
TaskSubtreeTransferPlanImage: {
|
|
745
|
+
readonly type: "object";
|
|
746
|
+
readonly additionalProperties: false;
|
|
747
|
+
readonly required: readonly ["plan_id", "project_id", "task_list_id", "updated_at"];
|
|
748
|
+
readonly properties: {
|
|
749
|
+
readonly plan_id: {
|
|
750
|
+
readonly type: "string";
|
|
751
|
+
readonly format: "uuid";
|
|
773
752
|
};
|
|
774
|
-
readonly
|
|
753
|
+
readonly project_id: {
|
|
775
754
|
readonly type: "string";
|
|
755
|
+
readonly format: "uuid";
|
|
756
|
+
readonly nullable: true;
|
|
776
757
|
};
|
|
777
|
-
readonly
|
|
758
|
+
readonly task_list_id: {
|
|
778
759
|
readonly type: "string";
|
|
779
|
-
readonly
|
|
760
|
+
readonly format: "uuid";
|
|
761
|
+
readonly nullable: true;
|
|
780
762
|
};
|
|
781
|
-
readonly
|
|
763
|
+
readonly updated_at: {
|
|
764
|
+
readonly type: "string";
|
|
765
|
+
readonly format: "date-time";
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
TaskSubtreeTransferImage: {
|
|
770
|
+
readonly type: "object";
|
|
771
|
+
readonly additionalProperties: false;
|
|
772
|
+
readonly required: readonly ["tasks", "plans"];
|
|
773
|
+
readonly properties: {
|
|
774
|
+
readonly tasks: {
|
|
775
|
+
readonly type: "array";
|
|
776
|
+
readonly items: {
|
|
777
|
+
readonly $ref: "#/components/schemas/TaskSubtreeTransferTaskImage";
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
readonly plans: {
|
|
781
|
+
readonly type: "array";
|
|
782
|
+
readonly items: {
|
|
783
|
+
readonly $ref: "#/components/schemas/TaskSubtreeTransferPlanImage";
|
|
784
|
+
};
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
};
|
|
788
|
+
TaskSubtreeTransferReceipt: {
|
|
789
|
+
readonly type: "object";
|
|
790
|
+
readonly additionalProperties: false;
|
|
791
|
+
readonly required: readonly ["receipt_id", "authority", "route", "schema_version", "kind", "operation_id", "step_id", "idempotency_key", "request_digest", "precondition_digest", "result_digest", "apply_receipt_id", "source_project_id", "destination_project_id", "destination_task_list_id", "root_task_id", "source_population_digest", "prior_image", "post_image", "shared_plan_splits", "created_at"];
|
|
792
|
+
readonly properties: {
|
|
793
|
+
readonly receipt_id: {
|
|
794
|
+
readonly type: "string";
|
|
795
|
+
readonly format: "uuid";
|
|
796
|
+
};
|
|
797
|
+
readonly authority: {
|
|
798
|
+
readonly type: "string";
|
|
799
|
+
readonly enum: readonly ["todos"];
|
|
800
|
+
};
|
|
801
|
+
readonly route: {
|
|
802
|
+
readonly type: "string";
|
|
803
|
+
readonly enum: readonly ["todos.task-subtree-transfer.v1"];
|
|
804
|
+
};
|
|
805
|
+
readonly schema_version: {
|
|
806
|
+
readonly type: "integer";
|
|
807
|
+
readonly enum: readonly [1];
|
|
808
|
+
};
|
|
809
|
+
readonly kind: {
|
|
810
|
+
readonly type: "string";
|
|
811
|
+
readonly enum: readonly ["apply", "rollback"];
|
|
812
|
+
};
|
|
813
|
+
readonly operation_id: {
|
|
814
|
+
readonly type: "string";
|
|
815
|
+
};
|
|
816
|
+
readonly step_id: {
|
|
782
817
|
readonly type: "string";
|
|
783
|
-
readonly enum: readonly ["forward", "inverse"];
|
|
784
818
|
};
|
|
785
819
|
readonly idempotency_key: {
|
|
786
820
|
readonly type: "string";
|
|
787
821
|
};
|
|
788
822
|
readonly request_digest: {
|
|
789
823
|
readonly type: "string";
|
|
824
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
790
825
|
};
|
|
791
826
|
readonly precondition_digest: {
|
|
792
827
|
readonly type: "string";
|
|
828
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
793
829
|
};
|
|
794
|
-
readonly
|
|
830
|
+
readonly result_digest: {
|
|
795
831
|
readonly type: "string";
|
|
796
|
-
readonly
|
|
832
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
797
833
|
};
|
|
798
|
-
readonly
|
|
834
|
+
readonly apply_receipt_id: {
|
|
799
835
|
readonly type: "string";
|
|
836
|
+
readonly format: "uuid";
|
|
800
837
|
readonly nullable: true;
|
|
801
838
|
};
|
|
802
|
-
readonly
|
|
839
|
+
readonly source_project_id: {
|
|
803
840
|
readonly type: "string";
|
|
804
841
|
readonly format: "uuid";
|
|
805
|
-
readonly nullable: true;
|
|
806
842
|
};
|
|
807
|
-
readonly
|
|
843
|
+
readonly destination_project_id: {
|
|
808
844
|
readonly type: "string";
|
|
809
|
-
readonly
|
|
845
|
+
readonly format: "uuid";
|
|
810
846
|
};
|
|
811
|
-
readonly
|
|
847
|
+
readonly destination_task_list_id: {
|
|
812
848
|
readonly type: "string";
|
|
813
|
-
readonly
|
|
849
|
+
readonly format: "uuid";
|
|
814
850
|
};
|
|
815
|
-
readonly
|
|
851
|
+
readonly root_task_id: {
|
|
816
852
|
readonly type: "string";
|
|
817
|
-
readonly
|
|
853
|
+
readonly format: "uuid";
|
|
818
854
|
};
|
|
819
|
-
readonly
|
|
855
|
+
readonly source_population_digest: {
|
|
820
856
|
readonly type: "string";
|
|
821
|
-
readonly
|
|
857
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
822
858
|
};
|
|
823
|
-
readonly
|
|
824
|
-
readonly
|
|
859
|
+
readonly prior_image: {
|
|
860
|
+
readonly $ref: "#/components/schemas/TaskSubtreeTransferImage";
|
|
861
|
+
};
|
|
862
|
+
readonly post_image: {
|
|
863
|
+
readonly $ref: "#/components/schemas/TaskSubtreeTransferImage";
|
|
864
|
+
};
|
|
865
|
+
readonly shared_plan_splits: {
|
|
866
|
+
readonly type: "array";
|
|
867
|
+
readonly items: {
|
|
868
|
+
readonly $ref: "#/components/schemas/TaskSubtreeTransferSharedPlanSplit";
|
|
869
|
+
};
|
|
825
870
|
};
|
|
826
871
|
readonly created_at: {
|
|
827
872
|
readonly type: "string";
|
|
@@ -829,220 +874,311 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
829
874
|
};
|
|
830
875
|
};
|
|
831
876
|
};
|
|
832
|
-
|
|
877
|
+
TaskSubtreeTransferResult: {
|
|
833
878
|
readonly type: "object";
|
|
834
879
|
readonly additionalProperties: false;
|
|
835
|
-
readonly required: readonly ["
|
|
880
|
+
readonly required: readonly ["duplicate", "receipt", "moved_task_ids", "moved_plan_ids", "complete"];
|
|
836
881
|
readonly properties: {
|
|
837
|
-
readonly
|
|
838
|
-
readonly type: "
|
|
839
|
-
readonly minimum: 1;
|
|
840
|
-
};
|
|
841
|
-
readonly time_budget_ms: {
|
|
842
|
-
readonly type: "integer";
|
|
843
|
-
readonly minimum: 1;
|
|
882
|
+
readonly duplicate: {
|
|
883
|
+
readonly type: "boolean";
|
|
844
884
|
};
|
|
845
|
-
readonly
|
|
846
|
-
readonly
|
|
885
|
+
readonly receipt: {
|
|
886
|
+
readonly $ref: "#/components/schemas/TaskSubtreeTransferReceipt";
|
|
847
887
|
};
|
|
848
|
-
readonly
|
|
849
|
-
readonly type: "
|
|
888
|
+
readonly moved_task_ids: {
|
|
889
|
+
readonly type: "array";
|
|
890
|
+
readonly items: {
|
|
891
|
+
readonly type: "string";
|
|
892
|
+
readonly format: "uuid";
|
|
893
|
+
};
|
|
850
894
|
};
|
|
851
|
-
readonly
|
|
852
|
-
readonly type: "
|
|
853
|
-
readonly
|
|
895
|
+
readonly moved_plan_ids: {
|
|
896
|
+
readonly type: "array";
|
|
897
|
+
readonly items: {
|
|
898
|
+
readonly type: "string";
|
|
899
|
+
readonly format: "uuid";
|
|
900
|
+
};
|
|
854
901
|
};
|
|
855
|
-
readonly
|
|
856
|
-
readonly type: "
|
|
857
|
-
readonly enum: readonly [
|
|
902
|
+
readonly complete: {
|
|
903
|
+
readonly type: "boolean";
|
|
904
|
+
readonly enum: readonly [true];
|
|
858
905
|
};
|
|
859
|
-
|
|
906
|
+
};
|
|
907
|
+
};
|
|
908
|
+
TaskSubtreeTransferCapability: {
|
|
909
|
+
readonly type: "object";
|
|
910
|
+
readonly additionalProperties: false;
|
|
911
|
+
readonly required: readonly ["authority", "route", "schema_version", "tenant_id", "backend", "exact_descendant_closure", "complete_source_population_digest", "per_task_version_cas", "explicit_shared_plan_splits", "atomic_apply", "immutable_forward_inverse_receipts", "prior_image_receipts", "cas_protected_rollback", "preserves_descendant_parent_ids", "preserves_task_and_relation_identities"];
|
|
912
|
+
readonly properties: {
|
|
913
|
+
readonly authority: {
|
|
860
914
|
readonly type: "string";
|
|
915
|
+
readonly enum: readonly ["todos"];
|
|
861
916
|
};
|
|
862
|
-
readonly
|
|
917
|
+
readonly route: {
|
|
863
918
|
readonly type: "string";
|
|
919
|
+
readonly enum: readonly ["todos.task-subtree-transfer.v1"];
|
|
864
920
|
};
|
|
865
|
-
readonly
|
|
866
|
-
readonly type: "
|
|
921
|
+
readonly schema_version: {
|
|
922
|
+
readonly type: "integer";
|
|
923
|
+
readonly enum: readonly [1];
|
|
867
924
|
};
|
|
868
925
|
readonly tenant_id: {
|
|
869
926
|
readonly type: "string";
|
|
927
|
+
readonly minLength: 1;
|
|
928
|
+
readonly maxLength: 200;
|
|
870
929
|
};
|
|
871
|
-
readonly
|
|
930
|
+
readonly backend: {
|
|
872
931
|
readonly type: "string";
|
|
932
|
+
readonly enum: readonly ["sqlite", "postgresql", "http"];
|
|
873
933
|
};
|
|
874
|
-
readonly
|
|
875
|
-
readonly type: "
|
|
934
|
+
readonly exact_descendant_closure: {
|
|
935
|
+
readonly type: "boolean";
|
|
936
|
+
readonly enum: readonly [true];
|
|
876
937
|
};
|
|
877
|
-
readonly
|
|
878
|
-
readonly type: "
|
|
938
|
+
readonly complete_source_population_digest: {
|
|
939
|
+
readonly type: "boolean";
|
|
940
|
+
readonly enum: readonly [true];
|
|
879
941
|
};
|
|
880
|
-
readonly
|
|
881
|
-
readonly type: "
|
|
942
|
+
readonly per_task_version_cas: {
|
|
943
|
+
readonly type: "boolean";
|
|
944
|
+
readonly enum: readonly [true];
|
|
882
945
|
};
|
|
883
|
-
readonly
|
|
884
|
-
readonly type: "
|
|
946
|
+
readonly explicit_shared_plan_splits: {
|
|
947
|
+
readonly type: "boolean";
|
|
948
|
+
readonly enum: readonly [true];
|
|
885
949
|
};
|
|
886
|
-
readonly
|
|
887
|
-
readonly type: "
|
|
950
|
+
readonly atomic_apply: {
|
|
951
|
+
readonly type: "boolean";
|
|
952
|
+
readonly enum: readonly [true];
|
|
888
953
|
};
|
|
889
|
-
readonly
|
|
890
|
-
readonly type: "
|
|
954
|
+
readonly immutable_forward_inverse_receipts: {
|
|
955
|
+
readonly type: "boolean";
|
|
956
|
+
readonly enum: readonly [true];
|
|
891
957
|
};
|
|
892
|
-
readonly
|
|
893
|
-
readonly type: "
|
|
958
|
+
readonly prior_image_receipts: {
|
|
959
|
+
readonly type: "boolean";
|
|
960
|
+
readonly enum: readonly [true];
|
|
894
961
|
};
|
|
895
|
-
readonly
|
|
896
|
-
readonly type: "
|
|
897
|
-
readonly
|
|
962
|
+
readonly cas_protected_rollback: {
|
|
963
|
+
readonly type: "boolean";
|
|
964
|
+
readonly enum: readonly [true];
|
|
898
965
|
};
|
|
899
|
-
readonly
|
|
966
|
+
readonly preserves_descendant_parent_ids: {
|
|
900
967
|
readonly type: "boolean";
|
|
968
|
+
readonly enum: readonly [true];
|
|
901
969
|
};
|
|
902
|
-
readonly
|
|
903
|
-
readonly
|
|
970
|
+
readonly preserves_task_and_relation_identities: {
|
|
971
|
+
readonly type: "boolean";
|
|
972
|
+
readonly enum: readonly [true];
|
|
904
973
|
};
|
|
905
974
|
};
|
|
906
975
|
};
|
|
907
|
-
|
|
976
|
+
TaskSubtreeTransferRollbackRequest: {
|
|
908
977
|
readonly type: "object";
|
|
909
978
|
readonly additionalProperties: false;
|
|
910
|
-
readonly required: readonly ["
|
|
979
|
+
readonly required: readonly ["receipt_id", "operation_id", "step_id", "idempotency_key", "precondition_digest"];
|
|
911
980
|
readonly properties: {
|
|
912
|
-
readonly
|
|
913
|
-
readonly type: "
|
|
914
|
-
readonly
|
|
915
|
-
};
|
|
916
|
-
readonly time_budget_ms: {
|
|
917
|
-
readonly type: "integer";
|
|
918
|
-
readonly minimum: 1;
|
|
981
|
+
readonly receipt_id: {
|
|
982
|
+
readonly type: "string";
|
|
983
|
+
readonly format: "uuid";
|
|
919
984
|
};
|
|
920
985
|
readonly operation_id: {
|
|
921
986
|
readonly type: "string";
|
|
987
|
+
readonly minLength: 1;
|
|
988
|
+
readonly maxLength: 200;
|
|
922
989
|
};
|
|
923
990
|
readonly step_id: {
|
|
924
991
|
readonly type: "string";
|
|
992
|
+
readonly minLength: 1;
|
|
993
|
+
readonly maxLength: 200;
|
|
925
994
|
};
|
|
926
|
-
readonly
|
|
927
|
-
readonly type: "string";
|
|
928
|
-
readonly enum: readonly ["project", "task_list"];
|
|
929
|
-
};
|
|
930
|
-
readonly direction: {
|
|
931
|
-
readonly type: "string";
|
|
932
|
-
readonly enum: readonly ["forward", "inverse"];
|
|
933
|
-
};
|
|
934
|
-
readonly authority: {
|
|
935
|
-
readonly type: "string";
|
|
936
|
-
readonly enum: readonly ["todos"];
|
|
937
|
-
};
|
|
938
|
-
readonly authority_route: {
|
|
995
|
+
readonly idempotency_key: {
|
|
939
996
|
readonly type: "string";
|
|
997
|
+
readonly minLength: 1;
|
|
998
|
+
readonly maxLength: 240;
|
|
940
999
|
};
|
|
941
|
-
readonly
|
|
1000
|
+
readonly precondition_digest: {
|
|
942
1001
|
readonly type: "string";
|
|
1002
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
943
1003
|
};
|
|
944
|
-
|
|
1004
|
+
};
|
|
1005
|
+
};
|
|
1006
|
+
TaskSubtreeTransferReadExactRequest: {
|
|
1007
|
+
readonly type: "object";
|
|
1008
|
+
readonly additionalProperties: false;
|
|
1009
|
+
readonly required: readonly ["receipt_id"];
|
|
1010
|
+
readonly properties: {
|
|
1011
|
+
readonly receipt_id: {
|
|
945
1012
|
readonly type: "string";
|
|
1013
|
+
readonly format: "uuid";
|
|
946
1014
|
};
|
|
947
|
-
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
1017
|
+
TaskManifestCompensateRequest: {
|
|
1018
|
+
readonly type: "object";
|
|
1019
|
+
readonly additionalProperties: false;
|
|
1020
|
+
readonly required: readonly ["receipt_id", "operation_id", "step_id", "idempotency_key", "precondition_digest", "if_binding_version"];
|
|
1021
|
+
readonly properties: {
|
|
1022
|
+
readonly receipt_id: {
|
|
948
1023
|
readonly type: "string";
|
|
1024
|
+
readonly format: "uuid";
|
|
949
1025
|
};
|
|
950
|
-
readonly
|
|
1026
|
+
readonly operation_id: {
|
|
951
1027
|
readonly type: "string";
|
|
952
1028
|
};
|
|
953
|
-
readonly
|
|
1029
|
+
readonly step_id: {
|
|
954
1030
|
readonly type: "string";
|
|
955
1031
|
};
|
|
956
1032
|
readonly idempotency_key: {
|
|
957
1033
|
readonly type: "string";
|
|
1034
|
+
readonly pattern: "^tmk_[0-9a-f]{48}$";
|
|
958
1035
|
};
|
|
959
|
-
readonly
|
|
1036
|
+
readonly precondition_digest: {
|
|
960
1037
|
readonly type: "string";
|
|
961
|
-
readonly
|
|
1038
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
962
1039
|
};
|
|
963
|
-
readonly
|
|
1040
|
+
readonly if_binding_version: {
|
|
964
1041
|
readonly type: "integer";
|
|
965
|
-
readonly
|
|
1042
|
+
readonly minimum: 1;
|
|
966
1043
|
};
|
|
967
1044
|
};
|
|
968
1045
|
};
|
|
969
|
-
|
|
1046
|
+
TaskManifestCompensationResult: {
|
|
970
1047
|
readonly type: "object";
|
|
971
1048
|
readonly additionalProperties: false;
|
|
972
|
-
readonly required: readonly ["
|
|
1049
|
+
readonly required: readonly ["duplicate", "receipt", "absent", "readback"];
|
|
973
1050
|
readonly properties: {
|
|
974
|
-
readonly
|
|
1051
|
+
readonly duplicate: {
|
|
1052
|
+
readonly type: "boolean";
|
|
1053
|
+
};
|
|
1054
|
+
readonly receipt: {
|
|
1055
|
+
readonly $ref: "#/components/schemas/TaskManifestReceipt";
|
|
1056
|
+
};
|
|
1057
|
+
readonly absent: {
|
|
975
1058
|
readonly type: "boolean";
|
|
976
1059
|
readonly enum: readonly [true];
|
|
977
1060
|
};
|
|
978
|
-
readonly
|
|
979
|
-
readonly type: "
|
|
980
|
-
readonly
|
|
1061
|
+
readonly readback: {
|
|
1062
|
+
readonly type: "object";
|
|
1063
|
+
readonly additionalProperties: true;
|
|
981
1064
|
};
|
|
982
|
-
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
TaskManifestCompensateResponse: {
|
|
1068
|
+
readonly type: "object";
|
|
1069
|
+
readonly additionalProperties: false;
|
|
1070
|
+
readonly required: readonly ["result"];
|
|
1071
|
+
readonly properties: {
|
|
1072
|
+
readonly result: {
|
|
1073
|
+
readonly $ref: "#/components/schemas/TaskManifestCompensationResult";
|
|
1074
|
+
};
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
TaskManifestReadExactRequest: {
|
|
1078
|
+
readonly type: "object";
|
|
1079
|
+
readonly additionalProperties: false;
|
|
1080
|
+
readonly required: readonly ["receipt_id"];
|
|
1081
|
+
readonly properties: {
|
|
1082
|
+
readonly receipt_id: {
|
|
983
1083
|
readonly type: "string";
|
|
984
1084
|
readonly format: "uuid";
|
|
985
1085
|
};
|
|
986
|
-
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
TaskManifestBindingLookupRequest: {
|
|
1089
|
+
readonly type: "object";
|
|
1090
|
+
readonly additionalProperties: false;
|
|
1091
|
+
readonly required: readonly ["authority", "route", "schema_version", "tenant_id", "plan_id", "max_items"];
|
|
1092
|
+
readonly properties: {
|
|
1093
|
+
readonly authority: {
|
|
987
1094
|
readonly type: "string";
|
|
1095
|
+
readonly enum: readonly ["todos"];
|
|
988
1096
|
};
|
|
989
|
-
readonly
|
|
1097
|
+
readonly route: {
|
|
990
1098
|
readonly type: "string";
|
|
1099
|
+
readonly enum: readonly ["todos.task-manifest.v1"];
|
|
991
1100
|
};
|
|
992
|
-
readonly
|
|
993
|
-
readonly type: "
|
|
994
|
-
readonly enum: readonly [
|
|
1101
|
+
readonly schema_version: {
|
|
1102
|
+
readonly type: "integer";
|
|
1103
|
+
readonly enum: readonly [1];
|
|
995
1104
|
};
|
|
996
|
-
readonly
|
|
1105
|
+
readonly tenant_id: {
|
|
997
1106
|
readonly type: "string";
|
|
998
|
-
readonly
|
|
1107
|
+
readonly minLength: 1;
|
|
1108
|
+
readonly maxLength: 200;
|
|
999
1109
|
};
|
|
1000
|
-
readonly
|
|
1110
|
+
readonly plan_id: {
|
|
1001
1111
|
readonly type: "string";
|
|
1002
|
-
readonly format: "
|
|
1112
|
+
readonly format: "uuid";
|
|
1003
1113
|
};
|
|
1004
|
-
readonly
|
|
1005
|
-
readonly type: "
|
|
1114
|
+
readonly max_items: {
|
|
1115
|
+
readonly type: "integer";
|
|
1116
|
+
readonly enum: readonly [1];
|
|
1006
1117
|
};
|
|
1007
1118
|
};
|
|
1008
1119
|
};
|
|
1009
|
-
|
|
1120
|
+
TaskManifestBindingLookupResult: {
|
|
1010
1121
|
readonly type: "object";
|
|
1011
1122
|
readonly additionalProperties: false;
|
|
1012
|
-
readonly required: readonly ["
|
|
1123
|
+
readonly required: readonly ["authority", "route", "schema_version", "tenant_id", "plan_id", "operation_id", "step_id", "apply_receipt_id", "binding_version", "state"];
|
|
1013
1124
|
readonly properties: {
|
|
1014
|
-
readonly
|
|
1125
|
+
readonly authority: {
|
|
1015
1126
|
readonly type: "string";
|
|
1127
|
+
readonly enum: readonly ["todos"];
|
|
1016
1128
|
};
|
|
1017
|
-
readonly
|
|
1129
|
+
readonly route: {
|
|
1018
1130
|
readonly type: "string";
|
|
1019
|
-
readonly enum: readonly ["
|
|
1131
|
+
readonly enum: readonly ["todos.task-manifest.v1"];
|
|
1020
1132
|
};
|
|
1021
|
-
readonly
|
|
1133
|
+
readonly schema_version: {
|
|
1134
|
+
readonly type: "integer";
|
|
1135
|
+
readonly enum: readonly [1];
|
|
1136
|
+
};
|
|
1137
|
+
readonly tenant_id: {
|
|
1022
1138
|
readonly type: "string";
|
|
1023
|
-
readonly enum: readonly ["collection", "resource"];
|
|
1024
1139
|
};
|
|
1025
|
-
readonly
|
|
1140
|
+
readonly plan_id: {
|
|
1026
1141
|
readonly type: "string";
|
|
1027
1142
|
readonly format: "uuid";
|
|
1028
1143
|
};
|
|
1029
|
-
readonly
|
|
1144
|
+
readonly operation_id: {
|
|
1030
1145
|
readonly type: "string";
|
|
1031
|
-
readonly
|
|
1032
|
-
readonly
|
|
1146
|
+
readonly minLength: 1;
|
|
1147
|
+
readonly maxLength: 200;
|
|
1033
1148
|
};
|
|
1034
|
-
readonly
|
|
1149
|
+
readonly step_id: {
|
|
1035
1150
|
readonly type: "string";
|
|
1151
|
+
readonly minLength: 1;
|
|
1152
|
+
readonly maxLength: 200;
|
|
1036
1153
|
};
|
|
1037
|
-
readonly
|
|
1154
|
+
readonly apply_receipt_id: {
|
|
1155
|
+
readonly type: "string";
|
|
1156
|
+
readonly format: "uuid";
|
|
1157
|
+
};
|
|
1158
|
+
readonly binding_version: {
|
|
1159
|
+
readonly type: "integer";
|
|
1160
|
+
readonly minimum: 1;
|
|
1161
|
+
};
|
|
1162
|
+
readonly state: {
|
|
1038
1163
|
readonly type: "string";
|
|
1164
|
+
readonly enum: readonly ["applied", "compensated"];
|
|
1039
1165
|
};
|
|
1040
1166
|
};
|
|
1041
1167
|
};
|
|
1042
|
-
|
|
1168
|
+
TaskManifestBindingLookupResponse: {
|
|
1043
1169
|
readonly type: "object";
|
|
1044
1170
|
readonly additionalProperties: false;
|
|
1045
|
-
readonly required: readonly ["
|
|
1171
|
+
readonly required: readonly ["result"];
|
|
1172
|
+
readonly properties: {
|
|
1173
|
+
readonly result: {
|
|
1174
|
+
readonly $ref: "#/components/schemas/TaskManifestBindingLookupResult";
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
ProjectRegistrationCapability: {
|
|
1179
|
+
readonly type: "object";
|
|
1180
|
+
readonly additionalProperties: false;
|
|
1181
|
+
readonly required: readonly ["authority", "route", "package_version", "authority_id", "tenant_id", "corpus_id", "supported_resources", "conditional_create", "immutable_receipts", "exact_terminal_lookup", "exact_readback", "bind_existing_adoption", "prior_registration_adoption_validation", "project_resource_enumeration", "project_resource_page_limit", "conditional_inverse", "ambiguous_outcome_reconciliation"];
|
|
1046
1182
|
readonly properties: {
|
|
1047
1183
|
readonly authority: {
|
|
1048
1184
|
readonly type: "string";
|
|
@@ -1064,404 +1200,467 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
1064
1200
|
readonly corpus_id: {
|
|
1065
1201
|
readonly type: "string";
|
|
1066
1202
|
};
|
|
1067
|
-
readonly
|
|
1068
|
-
readonly type: "
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1203
|
+
readonly supported_resources: {
|
|
1204
|
+
readonly type: "array";
|
|
1205
|
+
readonly items: {
|
|
1206
|
+
readonly type: "string";
|
|
1207
|
+
readonly enum: readonly ["project", "task_list"];
|
|
1208
|
+
};
|
|
1073
1209
|
};
|
|
1074
|
-
readonly
|
|
1075
|
-
readonly type: "
|
|
1076
|
-
readonly
|
|
1210
|
+
readonly conditional_create: {
|
|
1211
|
+
readonly type: "boolean";
|
|
1212
|
+
readonly enum: readonly [true];
|
|
1077
1213
|
};
|
|
1078
|
-
readonly
|
|
1214
|
+
readonly immutable_receipts: {
|
|
1079
1215
|
readonly type: "boolean";
|
|
1216
|
+
readonly enum: readonly [true];
|
|
1080
1217
|
};
|
|
1081
|
-
readonly
|
|
1082
|
-
readonly type: "
|
|
1218
|
+
readonly exact_terminal_lookup: {
|
|
1219
|
+
readonly type: "boolean";
|
|
1220
|
+
readonly enum: readonly [true];
|
|
1083
1221
|
};
|
|
1084
|
-
readonly
|
|
1085
|
-
readonly type: "
|
|
1086
|
-
readonly
|
|
1087
|
-
readonly maximum: 500;
|
|
1222
|
+
readonly exact_readback: {
|
|
1223
|
+
readonly type: "boolean";
|
|
1224
|
+
readonly enum: readonly [true];
|
|
1088
1225
|
};
|
|
1089
|
-
readonly
|
|
1090
|
-
readonly type: "
|
|
1091
|
-
readonly
|
|
1226
|
+
readonly bind_existing_adoption: {
|
|
1227
|
+
readonly type: "boolean";
|
|
1228
|
+
readonly enum: readonly [true];
|
|
1092
1229
|
};
|
|
1093
|
-
readonly
|
|
1094
|
-
readonly type: "
|
|
1095
|
-
readonly
|
|
1096
|
-
readonly $ref: "#/components/schemas/ProjectResource";
|
|
1097
|
-
};
|
|
1230
|
+
readonly prior_registration_adoption_validation: {
|
|
1231
|
+
readonly type: "boolean";
|
|
1232
|
+
readonly enum: readonly [true];
|
|
1098
1233
|
};
|
|
1099
|
-
readonly
|
|
1234
|
+
readonly project_resource_enumeration: {
|
|
1100
1235
|
readonly type: "boolean";
|
|
1236
|
+
readonly enum: readonly [true];
|
|
1101
1237
|
};
|
|
1102
|
-
readonly
|
|
1103
|
-
readonly type: "
|
|
1104
|
-
readonly
|
|
1238
|
+
readonly project_resource_page_limit: {
|
|
1239
|
+
readonly type: "integer";
|
|
1240
|
+
readonly minimum: 1;
|
|
1105
1241
|
};
|
|
1106
|
-
readonly
|
|
1242
|
+
readonly conditional_inverse: {
|
|
1107
1243
|
readonly type: "boolean";
|
|
1244
|
+
readonly enum: readonly [true];
|
|
1108
1245
|
};
|
|
1109
|
-
readonly
|
|
1246
|
+
readonly ambiguous_outcome_reconciliation: {
|
|
1110
1247
|
readonly type: "boolean";
|
|
1111
|
-
readonly enum: readonly [
|
|
1248
|
+
readonly enum: readonly [true];
|
|
1112
1249
|
};
|
|
1113
1250
|
};
|
|
1114
1251
|
};
|
|
1115
|
-
|
|
1252
|
+
ProjectRegistrationReceipt: {
|
|
1116
1253
|
readonly type: "object";
|
|
1254
|
+
readonly additionalProperties: false;
|
|
1255
|
+
readonly required: readonly ["receipt_id", "authority", "route", "package_version", "authority_id", "tenant_id", "corpus_id", "operation_id", "step_id", "resource_kind", "direction", "idempotency_key", "request_digest", "precondition_digest", "outcome", "reason", "target_id", "result_revision", "result_digest", "duplicate_of_receipt_id", "accepted_receipt_id", "created_by_operation", "created_at"];
|
|
1117
1256
|
readonly properties: {
|
|
1118
|
-
readonly
|
|
1257
|
+
readonly receipt_id: {
|
|
1119
1258
|
readonly type: "string";
|
|
1120
1259
|
};
|
|
1121
|
-
readonly
|
|
1260
|
+
readonly authority: {
|
|
1122
1261
|
readonly type: "string";
|
|
1123
|
-
readonly
|
|
1262
|
+
readonly enum: readonly ["todos"];
|
|
1124
1263
|
};
|
|
1125
|
-
readonly
|
|
1264
|
+
readonly route: {
|
|
1126
1265
|
readonly type: "string";
|
|
1266
|
+
readonly enum: readonly ["todos.project-registration.v1"];
|
|
1127
1267
|
};
|
|
1128
|
-
readonly
|
|
1268
|
+
readonly package_version: {
|
|
1129
1269
|
readonly type: "string";
|
|
1130
1270
|
};
|
|
1131
|
-
readonly
|
|
1271
|
+
readonly authority_id: {
|
|
1132
1272
|
readonly type: "string";
|
|
1133
|
-
readonly nullable: true;
|
|
1134
1273
|
};
|
|
1135
|
-
readonly
|
|
1136
|
-
readonly type: "
|
|
1137
|
-
readonly additionalProperties: true;
|
|
1274
|
+
readonly tenant_id: {
|
|
1275
|
+
readonly type: "string";
|
|
1138
1276
|
};
|
|
1139
|
-
readonly
|
|
1277
|
+
readonly corpus_id: {
|
|
1140
1278
|
readonly type: "string";
|
|
1141
1279
|
};
|
|
1142
|
-
readonly
|
|
1280
|
+
readonly operation_id: {
|
|
1143
1281
|
readonly type: "string";
|
|
1144
1282
|
};
|
|
1145
|
-
|
|
1146
|
-
};
|
|
1147
|
-
ProjectTaskListEnsureReceipt: {
|
|
1148
|
-
readonly type: "object";
|
|
1149
|
-
readonly additionalProperties: false;
|
|
1150
|
-
readonly required: readonly ["schema_version", "receipt_id", "idempotency_key", "project_id", "task_list_id", "slug", "created_by_operation", "result_revision", "result_digest", "rollback_supported", "created_at"];
|
|
1151
|
-
readonly properties: {
|
|
1152
|
-
readonly schema_version: {
|
|
1283
|
+
readonly step_id: {
|
|
1153
1284
|
readonly type: "string";
|
|
1154
|
-
readonly enum: readonly ["todos.project-task-list-ensure.v1"];
|
|
1155
1285
|
};
|
|
1156
|
-
readonly
|
|
1286
|
+
readonly resource_kind: {
|
|
1287
|
+
readonly type: "string";
|
|
1288
|
+
readonly enum: readonly ["project", "task_list"];
|
|
1289
|
+
};
|
|
1290
|
+
readonly direction: {
|
|
1157
1291
|
readonly type: "string";
|
|
1292
|
+
readonly enum: readonly ["forward", "inverse"];
|
|
1158
1293
|
};
|
|
1159
1294
|
readonly idempotency_key: {
|
|
1160
1295
|
readonly type: "string";
|
|
1161
1296
|
};
|
|
1162
|
-
readonly
|
|
1297
|
+
readonly request_digest: {
|
|
1163
1298
|
readonly type: "string";
|
|
1164
1299
|
};
|
|
1165
|
-
readonly
|
|
1300
|
+
readonly precondition_digest: {
|
|
1166
1301
|
readonly type: "string";
|
|
1167
1302
|
};
|
|
1168
|
-
readonly
|
|
1303
|
+
readonly outcome: {
|
|
1169
1304
|
readonly type: "string";
|
|
1305
|
+
readonly enum: readonly ["accepted", "duplicate_of_accepted", "terminal_nonacceptance"];
|
|
1170
1306
|
};
|
|
1171
|
-
readonly
|
|
1172
|
-
readonly type: "
|
|
1307
|
+
readonly reason: {
|
|
1308
|
+
readonly type: "string";
|
|
1309
|
+
readonly nullable: true;
|
|
1310
|
+
};
|
|
1311
|
+
readonly target_id: {
|
|
1312
|
+
readonly type: "string";
|
|
1313
|
+
readonly format: "uuid";
|
|
1314
|
+
readonly nullable: true;
|
|
1173
1315
|
};
|
|
1174
1316
|
readonly result_revision: {
|
|
1175
1317
|
readonly type: "string";
|
|
1318
|
+
readonly nullable: true;
|
|
1176
1319
|
};
|
|
1177
1320
|
readonly result_digest: {
|
|
1178
1321
|
readonly type: "string";
|
|
1322
|
+
readonly nullable: true;
|
|
1179
1323
|
};
|
|
1180
|
-
readonly
|
|
1181
|
-
readonly type: "boolean";
|
|
1182
|
-
};
|
|
1183
|
-
readonly created_at: {
|
|
1324
|
+
readonly duplicate_of_receipt_id: {
|
|
1184
1325
|
readonly type: "string";
|
|
1185
|
-
readonly
|
|
1186
|
-
};
|
|
1187
|
-
};
|
|
1188
|
-
};
|
|
1189
|
-
ProjectTaskListEnsureResult: {
|
|
1190
|
-
readonly type: "object";
|
|
1191
|
-
readonly additionalProperties: false;
|
|
1192
|
-
readonly required: readonly ["mode", "action", "project", "task_list", "receipt"];
|
|
1193
|
-
readonly properties: {
|
|
1194
|
-
readonly mode: {
|
|
1195
|
-
readonly type: "string";
|
|
1196
|
-
readonly enum: readonly ["plan", "apply"];
|
|
1326
|
+
readonly nullable: true;
|
|
1197
1327
|
};
|
|
1198
|
-
readonly
|
|
1328
|
+
readonly accepted_receipt_id: {
|
|
1199
1329
|
readonly type: "string";
|
|
1200
|
-
readonly
|
|
1201
|
-
};
|
|
1202
|
-
readonly project: {
|
|
1203
|
-
readonly $ref: "#/components/schemas/Project";
|
|
1330
|
+
readonly nullable: true;
|
|
1204
1331
|
};
|
|
1205
|
-
readonly
|
|
1206
|
-
readonly
|
|
1207
|
-
readonly $ref: "#/components/schemas/TaskList";
|
|
1208
|
-
}, {
|
|
1209
|
-
readonly type: "null";
|
|
1210
|
-
}];
|
|
1332
|
+
readonly created_by_operation: {
|
|
1333
|
+
readonly type: "boolean";
|
|
1211
1334
|
};
|
|
1212
|
-
readonly
|
|
1213
|
-
readonly
|
|
1214
|
-
|
|
1215
|
-
}, {
|
|
1216
|
-
readonly type: "null";
|
|
1217
|
-
}];
|
|
1335
|
+
readonly created_at: {
|
|
1336
|
+
readonly type: "string";
|
|
1337
|
+
readonly format: "date-time";
|
|
1218
1338
|
};
|
|
1219
1339
|
};
|
|
1220
1340
|
};
|
|
1221
|
-
|
|
1341
|
+
ProjectRegistrationRequest: {
|
|
1222
1342
|
readonly type: "object";
|
|
1223
1343
|
readonly additionalProperties: false;
|
|
1224
|
-
readonly required: readonly ["
|
|
1344
|
+
readonly required: readonly ["operation_id", "step_id", "resource_kind", "direction", "authority_route", "package_version", "authority_id", "tenant_id", "corpus_id", "target_selector", "idempotency_key", "request_digest", "precondition_digest", "project_id", "project_slug", "project_name", "desired", "response_byte_limit", "time_budget_ms"];
|
|
1225
1345
|
readonly properties: {
|
|
1226
|
-
readonly
|
|
1346
|
+
readonly response_byte_limit: {
|
|
1347
|
+
readonly type: "integer";
|
|
1348
|
+
readonly minimum: 1;
|
|
1349
|
+
};
|
|
1350
|
+
readonly time_budget_ms: {
|
|
1351
|
+
readonly type: "integer";
|
|
1352
|
+
readonly minimum: 1;
|
|
1353
|
+
};
|
|
1354
|
+
readonly operation_id: {
|
|
1227
1355
|
readonly type: "string";
|
|
1228
|
-
readonly enum: readonly ["todos.project-task-list-ensure.v1"];
|
|
1229
1356
|
};
|
|
1230
|
-
readonly
|
|
1357
|
+
readonly step_id: {
|
|
1231
1358
|
readonly type: "string";
|
|
1232
|
-
readonly enum: readonly ["removed"];
|
|
1233
1359
|
};
|
|
1234
|
-
readonly
|
|
1360
|
+
readonly resource_kind: {
|
|
1235
1361
|
readonly type: "string";
|
|
1362
|
+
readonly enum: readonly ["project", "task_list"];
|
|
1236
1363
|
};
|
|
1237
|
-
readonly
|
|
1364
|
+
readonly direction: {
|
|
1238
1365
|
readonly type: "string";
|
|
1366
|
+
readonly enum: readonly ["forward", "inverse"];
|
|
1239
1367
|
};
|
|
1240
|
-
readonly
|
|
1368
|
+
readonly authority_route: {
|
|
1241
1369
|
readonly type: "string";
|
|
1242
1370
|
};
|
|
1243
|
-
readonly
|
|
1371
|
+
readonly package_version: {
|
|
1244
1372
|
readonly type: "string";
|
|
1245
1373
|
};
|
|
1246
|
-
readonly
|
|
1374
|
+
readonly authority_id: {
|
|
1247
1375
|
readonly type: "string";
|
|
1248
|
-
readonly format: "date-time";
|
|
1249
1376
|
};
|
|
1250
|
-
|
|
1251
|
-
};
|
|
1252
|
-
TaskComment: {
|
|
1253
|
-
readonly type: "object";
|
|
1254
|
-
readonly required: readonly ["id", "task_id", "agent_id", "session_id", "content", "type", "progress_pct", "created_at"];
|
|
1255
|
-
readonly properties: {
|
|
1256
|
-
readonly id: {
|
|
1377
|
+
readonly tenant_id: {
|
|
1257
1378
|
readonly type: "string";
|
|
1258
1379
|
};
|
|
1259
|
-
readonly
|
|
1380
|
+
readonly corpus_id: {
|
|
1260
1381
|
readonly type: "string";
|
|
1261
1382
|
};
|
|
1262
|
-
readonly
|
|
1383
|
+
readonly target_selector: {
|
|
1263
1384
|
readonly type: "string";
|
|
1264
|
-
readonly nullable: true;
|
|
1265
1385
|
};
|
|
1266
|
-
readonly
|
|
1386
|
+
readonly idempotency_key: {
|
|
1267
1387
|
readonly type: "string";
|
|
1268
|
-
readonly nullable: true;
|
|
1269
1388
|
};
|
|
1270
|
-
readonly
|
|
1389
|
+
readonly request_digest: {
|
|
1271
1390
|
readonly type: "string";
|
|
1272
1391
|
};
|
|
1273
|
-
readonly
|
|
1392
|
+
readonly precondition_digest: {
|
|
1274
1393
|
readonly type: "string";
|
|
1275
|
-
readonly enum: readonly ["comment", "progress", "note"];
|
|
1276
1394
|
};
|
|
1277
|
-
readonly
|
|
1278
|
-
readonly type: "
|
|
1279
|
-
readonly nullable: true;
|
|
1395
|
+
readonly project_id: {
|
|
1396
|
+
readonly type: "string";
|
|
1280
1397
|
};
|
|
1281
|
-
readonly
|
|
1398
|
+
readonly project_slug: {
|
|
1282
1399
|
readonly type: "string";
|
|
1283
|
-
|
|
1400
|
+
};
|
|
1401
|
+
readonly project_name: {
|
|
1402
|
+
readonly type: "string";
|
|
1403
|
+
};
|
|
1404
|
+
readonly desired: {
|
|
1405
|
+
readonly type: "object";
|
|
1406
|
+
readonly additionalProperties: true;
|
|
1407
|
+
};
|
|
1408
|
+
readonly bind_existing: {
|
|
1409
|
+
readonly type: "boolean";
|
|
1410
|
+
};
|
|
1411
|
+
readonly accepted_receipt: {
|
|
1412
|
+
readonly $ref: "#/components/schemas/ProjectRegistrationReceipt";
|
|
1284
1413
|
};
|
|
1285
1414
|
};
|
|
1286
1415
|
};
|
|
1287
|
-
|
|
1416
|
+
ProjectRegistrationLookupRequest: {
|
|
1288
1417
|
readonly type: "object";
|
|
1289
1418
|
readonly additionalProperties: false;
|
|
1290
|
-
readonly required: readonly ["
|
|
1419
|
+
readonly required: readonly ["operation_id", "step_id", "resource_kind", "direction", "authority", "authority_route", "package_version", "authority_id", "tenant_id", "corpus_id", "target_selector", "idempotency_key", "max_items", "response_byte_limit", "time_budget_ms"];
|
|
1291
1420
|
readonly properties: {
|
|
1292
|
-
readonly
|
|
1293
|
-
readonly type: "
|
|
1294
|
-
readonly
|
|
1295
|
-
};
|
|
1296
|
-
readonly expected_lock_version: {
|
|
1297
|
-
readonly type: "string";
|
|
1298
|
-
readonly format: "date-time";
|
|
1299
|
-
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$";
|
|
1300
|
-
readonly description: "Exact authoritative locked_at token read from the task; no default or normalization is applied.";
|
|
1421
|
+
readonly response_byte_limit: {
|
|
1422
|
+
readonly type: "integer";
|
|
1423
|
+
readonly minimum: 1;
|
|
1301
1424
|
};
|
|
1302
|
-
readonly
|
|
1425
|
+
readonly time_budget_ms: {
|
|
1303
1426
|
readonly type: "integer";
|
|
1304
1427
|
readonly minimum: 1;
|
|
1305
|
-
readonly description: "Lock age threshold supplied by the caller. The lock must be strictly older at the CAS instant.";
|
|
1306
1428
|
};
|
|
1307
|
-
readonly
|
|
1429
|
+
readonly operation_id: {
|
|
1308
1430
|
readonly type: "string";
|
|
1309
|
-
readonly minLength: 1;
|
|
1310
|
-
readonly description: "Must match the agent bound to the authenticated API key.";
|
|
1311
1431
|
};
|
|
1312
|
-
readonly
|
|
1432
|
+
readonly step_id: {
|
|
1313
1433
|
readonly type: "string";
|
|
1314
|
-
readonly minLength: 1;
|
|
1315
|
-
readonly maxLength: 4096;
|
|
1316
1434
|
};
|
|
1317
|
-
|
|
1318
|
-
};
|
|
1319
|
-
StaleLockHandoffReceipt: {
|
|
1320
|
-
readonly type: "object";
|
|
1321
|
-
readonly additionalProperties: false;
|
|
1322
|
-
readonly required: readonly ["schema_version", "receipt_id", "task_id", "actor", "previous_holder", "previous_lock_version", "new_holder", "new_lock_version", "stale_after_seconds", "stale_cutoff", "reason", "created_at"];
|
|
1323
|
-
readonly properties: {
|
|
1324
|
-
readonly schema_version: {
|
|
1435
|
+
readonly resource_kind: {
|
|
1325
1436
|
readonly type: "string";
|
|
1326
|
-
readonly enum: readonly ["
|
|
1437
|
+
readonly enum: readonly ["project", "task_list"];
|
|
1327
1438
|
};
|
|
1328
|
-
readonly
|
|
1439
|
+
readonly direction: {
|
|
1329
1440
|
readonly type: "string";
|
|
1330
|
-
readonly
|
|
1441
|
+
readonly enum: readonly ["forward", "inverse"];
|
|
1331
1442
|
};
|
|
1332
|
-
readonly
|
|
1443
|
+
readonly authority: {
|
|
1333
1444
|
readonly type: "string";
|
|
1334
|
-
readonly
|
|
1445
|
+
readonly enum: readonly ["todos"];
|
|
1335
1446
|
};
|
|
1336
|
-
readonly
|
|
1447
|
+
readonly authority_route: {
|
|
1337
1448
|
readonly type: "string";
|
|
1338
1449
|
};
|
|
1339
|
-
readonly
|
|
1450
|
+
readonly package_version: {
|
|
1340
1451
|
readonly type: "string";
|
|
1341
1452
|
};
|
|
1342
|
-
readonly
|
|
1453
|
+
readonly authority_id: {
|
|
1343
1454
|
readonly type: "string";
|
|
1344
|
-
readonly format: "date-time";
|
|
1345
1455
|
};
|
|
1346
|
-
readonly
|
|
1456
|
+
readonly tenant_id: {
|
|
1347
1457
|
readonly type: "string";
|
|
1348
1458
|
};
|
|
1349
|
-
readonly
|
|
1459
|
+
readonly corpus_id: {
|
|
1350
1460
|
readonly type: "string";
|
|
1351
|
-
readonly format: "date-time";
|
|
1352
|
-
};
|
|
1353
|
-
readonly stale_after_seconds: {
|
|
1354
|
-
readonly type: "integer";
|
|
1355
|
-
readonly minimum: 1;
|
|
1356
1461
|
};
|
|
1357
|
-
readonly
|
|
1462
|
+
readonly target_selector: {
|
|
1358
1463
|
readonly type: "string";
|
|
1359
|
-
readonly format: "date-time";
|
|
1360
1464
|
};
|
|
1361
|
-
readonly
|
|
1465
|
+
readonly idempotency_key: {
|
|
1362
1466
|
readonly type: "string";
|
|
1363
1467
|
};
|
|
1364
|
-
readonly
|
|
1468
|
+
readonly target_id: {
|
|
1365
1469
|
readonly type: "string";
|
|
1366
|
-
readonly format: "
|
|
1470
|
+
readonly format: "uuid";
|
|
1471
|
+
};
|
|
1472
|
+
readonly max_items: {
|
|
1473
|
+
readonly type: "integer";
|
|
1474
|
+
readonly enum: readonly [1];
|
|
1367
1475
|
};
|
|
1368
1476
|
};
|
|
1369
1477
|
};
|
|
1370
|
-
|
|
1478
|
+
PriorRegistrationAdoptionValidation: {
|
|
1371
1479
|
readonly type: "object";
|
|
1372
1480
|
readonly additionalProperties: false;
|
|
1373
|
-
readonly required: readonly ["
|
|
1481
|
+
readonly required: readonly ["valid", "resource_kind", "target_id", "source_receipt_id", "accepted_receipt_id", "source_outcome", "created_at", "current_revision", "accepted_result_digest"];
|
|
1374
1482
|
readonly properties: {
|
|
1375
|
-
readonly
|
|
1376
|
-
readonly type: "
|
|
1377
|
-
readonly
|
|
1483
|
+
readonly valid: {
|
|
1484
|
+
readonly type: "boolean";
|
|
1485
|
+
readonly enum: readonly [true];
|
|
1378
1486
|
};
|
|
1379
|
-
readonly
|
|
1487
|
+
readonly resource_kind: {
|
|
1380
1488
|
readonly type: "string";
|
|
1381
|
-
readonly
|
|
1489
|
+
readonly enum: readonly ["project", "task_list"];
|
|
1382
1490
|
};
|
|
1383
|
-
readonly
|
|
1491
|
+
readonly target_id: {
|
|
1384
1492
|
readonly type: "string";
|
|
1385
|
-
readonly
|
|
1493
|
+
readonly format: "uuid";
|
|
1386
1494
|
};
|
|
1387
|
-
readonly
|
|
1495
|
+
readonly source_receipt_id: {
|
|
1388
1496
|
readonly type: "string";
|
|
1389
|
-
readonly minLength: 1;
|
|
1390
1497
|
};
|
|
1391
|
-
readonly
|
|
1498
|
+
readonly accepted_receipt_id: {
|
|
1392
1499
|
readonly type: "string";
|
|
1393
|
-
readonly nullable: true;
|
|
1394
1500
|
};
|
|
1395
|
-
readonly
|
|
1501
|
+
readonly source_outcome: {
|
|
1396
1502
|
readonly type: "string";
|
|
1397
|
-
readonly
|
|
1398
|
-
};
|
|
1399
|
-
readonly metadata: {
|
|
1400
|
-
readonly type: "object";
|
|
1401
|
-
readonly additionalProperties: true;
|
|
1503
|
+
readonly enum: readonly ["accepted", "duplicate_of_accepted"];
|
|
1402
1504
|
};
|
|
1403
1505
|
readonly created_at: {
|
|
1404
1506
|
readonly type: "string";
|
|
1405
1507
|
readonly format: "date-time";
|
|
1406
1508
|
};
|
|
1407
|
-
readonly
|
|
1509
|
+
readonly current_revision: {
|
|
1408
1510
|
readonly type: "string";
|
|
1409
1511
|
readonly format: "date-time";
|
|
1410
1512
|
};
|
|
1513
|
+
readonly accepted_result_digest: {
|
|
1514
|
+
readonly type: "string";
|
|
1515
|
+
};
|
|
1411
1516
|
};
|
|
1412
1517
|
};
|
|
1413
|
-
|
|
1518
|
+
ProjectResource: {
|
|
1414
1519
|
readonly type: "object";
|
|
1415
|
-
readonly
|
|
1520
|
+
readonly additionalProperties: false;
|
|
1521
|
+
readonly required: readonly ["source_project_id", "kind", "scope", "target_id", "parent_id", "revision", "digest"];
|
|
1416
1522
|
readonly properties: {
|
|
1417
|
-
readonly
|
|
1418
|
-
readonly type: "string";
|
|
1419
|
-
};
|
|
1420
|
-
readonly slug: {
|
|
1421
|
-
readonly type: "string";
|
|
1422
|
-
readonly nullable: true;
|
|
1423
|
-
};
|
|
1424
|
-
readonly project_id: {
|
|
1523
|
+
readonly source_project_id: {
|
|
1425
1524
|
readonly type: "string";
|
|
1426
|
-
readonly nullable: true;
|
|
1427
1525
|
};
|
|
1428
|
-
readonly
|
|
1526
|
+
readonly kind: {
|
|
1429
1527
|
readonly type: "string";
|
|
1430
|
-
readonly
|
|
1528
|
+
readonly enum: readonly ["project", "task_list", "plan", "task"];
|
|
1431
1529
|
};
|
|
1432
|
-
readonly
|
|
1530
|
+
readonly scope: {
|
|
1433
1531
|
readonly type: "string";
|
|
1434
|
-
readonly
|
|
1532
|
+
readonly enum: readonly ["collection", "resource"];
|
|
1435
1533
|
};
|
|
1436
|
-
readonly
|
|
1534
|
+
readonly target_id: {
|
|
1437
1535
|
readonly type: "string";
|
|
1536
|
+
readonly format: "uuid";
|
|
1438
1537
|
};
|
|
1439
|
-
readonly
|
|
1538
|
+
readonly parent_id: {
|
|
1440
1539
|
readonly type: "string";
|
|
1540
|
+
readonly format: "uuid";
|
|
1441
1541
|
readonly nullable: true;
|
|
1442
1542
|
};
|
|
1443
|
-
readonly
|
|
1543
|
+
readonly revision: {
|
|
1444
1544
|
readonly type: "string";
|
|
1445
|
-
readonly enum: readonly ["active", "completed", "archived"];
|
|
1446
1545
|
};
|
|
1447
|
-
readonly
|
|
1546
|
+
readonly digest: {
|
|
1547
|
+
readonly type: "string";
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
ProjectResourcePage: {
|
|
1552
|
+
readonly type: "object";
|
|
1553
|
+
readonly additionalProperties: false;
|
|
1554
|
+
readonly required: readonly ["authority", "route", "package_version", "authority_id", "tenant_id", "corpus_id", "source_project_id", "todos_project_id", "task_list_id", "include_anchors", "collection_revision", "limit", "count", "resources", "has_more", "next_cursor", "complete", "truncated"];
|
|
1555
|
+
readonly properties: {
|
|
1556
|
+
readonly authority: {
|
|
1557
|
+
readonly type: "string";
|
|
1558
|
+
readonly enum: readonly ["todos"];
|
|
1559
|
+
};
|
|
1560
|
+
readonly route: {
|
|
1561
|
+
readonly type: "string";
|
|
1562
|
+
readonly enum: readonly ["todos.project-registration.v1"];
|
|
1563
|
+
};
|
|
1564
|
+
readonly package_version: {
|
|
1565
|
+
readonly type: "string";
|
|
1566
|
+
};
|
|
1567
|
+
readonly authority_id: {
|
|
1568
|
+
readonly type: "string";
|
|
1569
|
+
};
|
|
1570
|
+
readonly tenant_id: {
|
|
1571
|
+
readonly type: "string";
|
|
1572
|
+
};
|
|
1573
|
+
readonly corpus_id: {
|
|
1574
|
+
readonly type: "string";
|
|
1575
|
+
};
|
|
1576
|
+
readonly source_project_id: {
|
|
1577
|
+
readonly type: "string";
|
|
1578
|
+
};
|
|
1579
|
+
readonly todos_project_id: {
|
|
1580
|
+
readonly type: "string";
|
|
1581
|
+
readonly format: "uuid";
|
|
1582
|
+
};
|
|
1583
|
+
readonly task_list_id: {
|
|
1584
|
+
readonly type: "string";
|
|
1585
|
+
readonly format: "uuid";
|
|
1586
|
+
};
|
|
1587
|
+
readonly include_anchors: {
|
|
1588
|
+
readonly type: "boolean";
|
|
1589
|
+
};
|
|
1590
|
+
readonly collection_revision: {
|
|
1591
|
+
readonly type: "string";
|
|
1592
|
+
};
|
|
1593
|
+
readonly limit: {
|
|
1594
|
+
readonly type: "integer";
|
|
1595
|
+
readonly minimum: 1;
|
|
1596
|
+
readonly maximum: 500;
|
|
1597
|
+
};
|
|
1598
|
+
readonly count: {
|
|
1599
|
+
readonly type: "integer";
|
|
1600
|
+
readonly minimum: 0;
|
|
1601
|
+
};
|
|
1602
|
+
readonly resources: {
|
|
1603
|
+
readonly type: "array";
|
|
1604
|
+
readonly items: {
|
|
1605
|
+
readonly $ref: "#/components/schemas/ProjectResource";
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1608
|
+
readonly has_more: {
|
|
1609
|
+
readonly type: "boolean";
|
|
1610
|
+
};
|
|
1611
|
+
readonly next_cursor: {
|
|
1612
|
+
readonly type: "string";
|
|
1613
|
+
readonly nullable: true;
|
|
1614
|
+
};
|
|
1615
|
+
readonly complete: {
|
|
1616
|
+
readonly type: "boolean";
|
|
1617
|
+
};
|
|
1618
|
+
readonly truncated: {
|
|
1619
|
+
readonly type: "boolean";
|
|
1620
|
+
readonly enum: readonly [false];
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
};
|
|
1624
|
+
TaskList: {
|
|
1625
|
+
readonly type: "object";
|
|
1626
|
+
readonly properties: {
|
|
1627
|
+
readonly id: {
|
|
1628
|
+
readonly type: "string";
|
|
1629
|
+
};
|
|
1630
|
+
readonly project_id: {
|
|
1631
|
+
readonly type: "string";
|
|
1632
|
+
readonly nullable: true;
|
|
1633
|
+
};
|
|
1634
|
+
readonly slug: {
|
|
1635
|
+
readonly type: "string";
|
|
1636
|
+
};
|
|
1637
|
+
readonly name: {
|
|
1638
|
+
readonly type: "string";
|
|
1639
|
+
};
|
|
1640
|
+
readonly description: {
|
|
1641
|
+
readonly type: "string";
|
|
1642
|
+
readonly nullable: true;
|
|
1643
|
+
};
|
|
1644
|
+
readonly metadata: {
|
|
1645
|
+
readonly type: "object";
|
|
1646
|
+
readonly additionalProperties: true;
|
|
1647
|
+
};
|
|
1648
|
+
readonly created_at: {
|
|
1448
1649
|
readonly type: "string";
|
|
1449
|
-
readonly format: "date-time";
|
|
1450
1650
|
};
|
|
1451
1651
|
readonly updated_at: {
|
|
1452
1652
|
readonly type: "string";
|
|
1453
|
-
readonly format: "date-time";
|
|
1454
1653
|
};
|
|
1455
1654
|
};
|
|
1456
1655
|
};
|
|
1457
|
-
|
|
1656
|
+
ProjectTaskListEnsureReceipt: {
|
|
1458
1657
|
readonly type: "object";
|
|
1459
1658
|
readonly additionalProperties: false;
|
|
1460
|
-
readonly required: readonly ["schema_version", "receipt_id", "idempotency_key", "
|
|
1659
|
+
readonly required: readonly ["schema_version", "receipt_id", "idempotency_key", "project_id", "task_list_id", "slug", "created_by_operation", "result_revision", "result_digest", "rollback_supported", "created_at"];
|
|
1461
1660
|
readonly properties: {
|
|
1462
1661
|
readonly schema_version: {
|
|
1463
1662
|
readonly type: "string";
|
|
1464
|
-
readonly enum: readonly ["todos.
|
|
1663
|
+
readonly enum: readonly ["todos.project-task-list-ensure.v1"];
|
|
1465
1664
|
};
|
|
1466
1665
|
readonly receipt_id: {
|
|
1467
1666
|
readonly type: "string";
|
|
@@ -1469,34 +1668,19 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
1469
1668
|
readonly idempotency_key: {
|
|
1470
1669
|
readonly type: "string";
|
|
1471
1670
|
};
|
|
1472
|
-
readonly plan_id: {
|
|
1473
|
-
readonly type: "string";
|
|
1474
|
-
};
|
|
1475
1671
|
readonly project_id: {
|
|
1476
1672
|
readonly type: "string";
|
|
1477
1673
|
};
|
|
1478
|
-
readonly
|
|
1674
|
+
readonly task_list_id: {
|
|
1479
1675
|
readonly type: "string";
|
|
1480
|
-
readonly nullable: true;
|
|
1481
|
-
};
|
|
1482
|
-
readonly prior_task_project_ids: {
|
|
1483
|
-
readonly type: "object";
|
|
1484
|
-
readonly additionalProperties: {
|
|
1485
|
-
readonly type: "string";
|
|
1486
|
-
readonly nullable: true;
|
|
1487
|
-
};
|
|
1488
1676
|
};
|
|
1489
|
-
readonly
|
|
1490
|
-
readonly type: "
|
|
1491
|
-
readonly items: {
|
|
1492
|
-
readonly type: "string";
|
|
1493
|
-
};
|
|
1677
|
+
readonly slug: {
|
|
1678
|
+
readonly type: "string";
|
|
1494
1679
|
};
|
|
1495
|
-
readonly
|
|
1496
|
-
readonly type: "
|
|
1497
|
-
readonly minimum: 0;
|
|
1680
|
+
readonly created_by_operation: {
|
|
1681
|
+
readonly type: "boolean";
|
|
1498
1682
|
};
|
|
1499
|
-
readonly
|
|
1683
|
+
readonly result_revision: {
|
|
1500
1684
|
readonly type: "string";
|
|
1501
1685
|
};
|
|
1502
1686
|
readonly result_digest: {
|
|
@@ -1504,7 +1688,6 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
1504
1688
|
};
|
|
1505
1689
|
readonly rollback_supported: {
|
|
1506
1690
|
readonly type: "boolean";
|
|
1507
|
-
readonly enum: readonly [true];
|
|
1508
1691
|
};
|
|
1509
1692
|
readonly created_at: {
|
|
1510
1693
|
readonly type: "string";
|
|
@@ -1512,10 +1695,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
1512
1695
|
};
|
|
1513
1696
|
};
|
|
1514
1697
|
};
|
|
1515
|
-
|
|
1698
|
+
ProjectTaskListEnsureResult: {
|
|
1516
1699
|
readonly type: "object";
|
|
1517
1700
|
readonly additionalProperties: false;
|
|
1518
|
-
readonly required: readonly ["mode", "action", "
|
|
1701
|
+
readonly required: readonly ["mode", "action", "project", "task_list", "receipt"];
|
|
1519
1702
|
readonly properties: {
|
|
1520
1703
|
readonly mode: {
|
|
1521
1704
|
readonly type: "string";
|
|
@@ -1523,50 +1706,45 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
1523
1706
|
};
|
|
1524
1707
|
readonly action: {
|
|
1525
1708
|
readonly type: "string";
|
|
1526
|
-
readonly enum: readonly ["
|
|
1527
|
-
};
|
|
1528
|
-
readonly plan: {
|
|
1529
|
-
readonly $ref: "#/components/schemas/Plan";
|
|
1709
|
+
readonly enum: readonly ["would_create", "created", "already_present"];
|
|
1530
1710
|
};
|
|
1531
1711
|
readonly project: {
|
|
1532
1712
|
readonly $ref: "#/components/schemas/Project";
|
|
1533
1713
|
};
|
|
1534
|
-
readonly
|
|
1535
|
-
readonly
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1714
|
+
readonly task_list: {
|
|
1715
|
+
readonly oneOf: readonly [{
|
|
1716
|
+
readonly $ref: "#/components/schemas/TaskList";
|
|
1717
|
+
}, {
|
|
1718
|
+
readonly type: "null";
|
|
1719
|
+
}];
|
|
1539
1720
|
};
|
|
1540
1721
|
readonly receipt: {
|
|
1541
1722
|
readonly oneOf: readonly [{
|
|
1542
|
-
readonly $ref: "#/components/schemas/
|
|
1723
|
+
readonly $ref: "#/components/schemas/ProjectTaskListEnsureReceipt";
|
|
1543
1724
|
}, {
|
|
1544
1725
|
readonly type: "null";
|
|
1545
1726
|
}];
|
|
1546
1727
|
};
|
|
1547
1728
|
};
|
|
1548
1729
|
};
|
|
1549
|
-
|
|
1730
|
+
ProjectTaskListRollbackResult: {
|
|
1550
1731
|
readonly type: "object";
|
|
1551
1732
|
readonly additionalProperties: false;
|
|
1552
|
-
readonly required: readonly ["schema_version", "action", "
|
|
1733
|
+
readonly required: readonly ["schema_version", "action", "project_id", "task_list_id", "accepted_receipt_id", "rollback_receipt_id", "removed_at"];
|
|
1553
1734
|
readonly properties: {
|
|
1554
1735
|
readonly schema_version: {
|
|
1555
1736
|
readonly type: "string";
|
|
1556
|
-
readonly enum: readonly ["todos.
|
|
1737
|
+
readonly enum: readonly ["todos.project-task-list-ensure.v1"];
|
|
1557
1738
|
};
|
|
1558
1739
|
readonly action: {
|
|
1559
1740
|
readonly type: "string";
|
|
1560
|
-
readonly enum: readonly ["
|
|
1741
|
+
readonly enum: readonly ["removed"];
|
|
1561
1742
|
};
|
|
1562
|
-
readonly
|
|
1563
|
-
readonly
|
|
1743
|
+
readonly project_id: {
|
|
1744
|
+
readonly type: "string";
|
|
1564
1745
|
};
|
|
1565
|
-
readonly
|
|
1566
|
-
readonly type: "
|
|
1567
|
-
readonly items: {
|
|
1568
|
-
readonly $ref: "#/components/schemas/Task";
|
|
1569
|
-
};
|
|
1746
|
+
readonly task_list_id: {
|
|
1747
|
+
readonly type: "string";
|
|
1570
1748
|
};
|
|
1571
1749
|
readonly accepted_receipt_id: {
|
|
1572
1750
|
readonly type: "string";
|
|
@@ -1574,652 +1752,722 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
1574
1752
|
readonly rollback_receipt_id: {
|
|
1575
1753
|
readonly type: "string";
|
|
1576
1754
|
};
|
|
1577
|
-
readonly
|
|
1755
|
+
readonly removed_at: {
|
|
1578
1756
|
readonly type: "string";
|
|
1579
1757
|
readonly format: "date-time";
|
|
1580
1758
|
};
|
|
1581
1759
|
};
|
|
1582
1760
|
};
|
|
1583
|
-
|
|
1761
|
+
TaskComment: {
|
|
1584
1762
|
readonly type: "object";
|
|
1585
|
-
readonly required: readonly ["id", "
|
|
1763
|
+
readonly required: readonly ["id", "task_id", "agent_id", "session_id", "content", "type", "progress_pct", "created_at"];
|
|
1586
1764
|
readonly properties: {
|
|
1587
1765
|
readonly id: {
|
|
1588
1766
|
readonly type: "string";
|
|
1589
1767
|
};
|
|
1590
|
-
readonly
|
|
1768
|
+
readonly task_id: {
|
|
1591
1769
|
readonly type: "string";
|
|
1592
1770
|
};
|
|
1593
|
-
readonly
|
|
1771
|
+
readonly agent_id: {
|
|
1594
1772
|
readonly type: "string";
|
|
1773
|
+
readonly nullable: true;
|
|
1595
1774
|
};
|
|
1596
|
-
readonly
|
|
1775
|
+
readonly session_id: {
|
|
1597
1776
|
readonly type: "string";
|
|
1598
1777
|
readonly nullable: true;
|
|
1599
1778
|
};
|
|
1600
|
-
readonly
|
|
1779
|
+
readonly content: {
|
|
1601
1780
|
readonly type: "string";
|
|
1602
|
-
readonly enum: readonly ["low", "medium", "high", "critical"];
|
|
1603
|
-
};
|
|
1604
|
-
readonly tags: {
|
|
1605
|
-
readonly type: "array";
|
|
1606
|
-
readonly items: {
|
|
1607
|
-
readonly type: "string";
|
|
1608
|
-
};
|
|
1609
|
-
};
|
|
1610
|
-
readonly variables: {
|
|
1611
|
-
readonly type: "array";
|
|
1612
|
-
readonly items: {
|
|
1613
|
-
readonly type: "object";
|
|
1614
|
-
readonly properties: {
|
|
1615
|
-
readonly name: {
|
|
1616
|
-
readonly type: "string";
|
|
1617
|
-
};
|
|
1618
|
-
readonly required: {
|
|
1619
|
-
readonly type: "boolean";
|
|
1620
|
-
};
|
|
1621
|
-
readonly default: {
|
|
1622
|
-
readonly type: "string";
|
|
1623
|
-
};
|
|
1624
|
-
readonly description: {
|
|
1625
|
-
readonly type: "string";
|
|
1626
|
-
};
|
|
1627
|
-
};
|
|
1628
|
-
};
|
|
1629
|
-
};
|
|
1630
|
-
readonly version: {
|
|
1631
|
-
readonly type: "integer";
|
|
1632
|
-
readonly minimum: 1;
|
|
1633
1781
|
};
|
|
1634
|
-
readonly
|
|
1782
|
+
readonly type: {
|
|
1635
1783
|
readonly type: "string";
|
|
1636
|
-
readonly
|
|
1784
|
+
readonly enum: readonly ["comment", "progress", "note"];
|
|
1637
1785
|
};
|
|
1638
|
-
readonly
|
|
1639
|
-
readonly type: "
|
|
1786
|
+
readonly progress_pct: {
|
|
1787
|
+
readonly type: "number";
|
|
1640
1788
|
readonly nullable: true;
|
|
1641
1789
|
};
|
|
1642
|
-
readonly metadata: {
|
|
1643
|
-
readonly type: "object";
|
|
1644
|
-
readonly additionalProperties: true;
|
|
1645
|
-
};
|
|
1646
1790
|
readonly created_at: {
|
|
1647
1791
|
readonly type: "string";
|
|
1648
1792
|
readonly format: "date-time";
|
|
1649
1793
|
};
|
|
1650
|
-
readonly tasks: {
|
|
1651
|
-
readonly type: "array";
|
|
1652
|
-
readonly items: {
|
|
1653
|
-
readonly $ref: "#/components/schemas/TemplateTask";
|
|
1654
|
-
};
|
|
1655
|
-
};
|
|
1656
1794
|
};
|
|
1657
1795
|
};
|
|
1658
|
-
|
|
1796
|
+
StaleLockHandoffInput: {
|
|
1659
1797
|
readonly type: "object";
|
|
1660
|
-
readonly
|
|
1798
|
+
readonly additionalProperties: false;
|
|
1799
|
+
readonly required: readonly ["expected_holder", "expected_lock_version", "stale_after_seconds", "new_holder", "reason"];
|
|
1661
1800
|
readonly properties: {
|
|
1662
|
-
readonly
|
|
1801
|
+
readonly expected_holder: {
|
|
1663
1802
|
readonly type: "string";
|
|
1803
|
+
readonly minLength: 1;
|
|
1664
1804
|
};
|
|
1665
|
-
readonly
|
|
1805
|
+
readonly expected_lock_version: {
|
|
1666
1806
|
readonly type: "string";
|
|
1807
|
+
readonly format: "date-time";
|
|
1808
|
+
readonly pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$";
|
|
1809
|
+
readonly description: "Exact authoritative locked_at token read from the task; no default or normalization is applied.";
|
|
1667
1810
|
};
|
|
1668
|
-
readonly
|
|
1811
|
+
readonly stale_after_seconds: {
|
|
1669
1812
|
readonly type: "integer";
|
|
1670
|
-
readonly minimum:
|
|
1813
|
+
readonly minimum: 1;
|
|
1814
|
+
readonly description: "Lock age threshold supplied by the caller. The lock must be strictly older at the CAS instant.";
|
|
1671
1815
|
};
|
|
1672
|
-
readonly
|
|
1816
|
+
readonly new_holder: {
|
|
1673
1817
|
readonly type: "string";
|
|
1818
|
+
readonly minLength: 1;
|
|
1819
|
+
readonly description: "Must match the agent bound to the authenticated API key.";
|
|
1674
1820
|
};
|
|
1675
|
-
readonly
|
|
1821
|
+
readonly reason: {
|
|
1676
1822
|
readonly type: "string";
|
|
1677
|
-
readonly
|
|
1823
|
+
readonly minLength: 1;
|
|
1824
|
+
readonly maxLength: 4096;
|
|
1678
1825
|
};
|
|
1679
|
-
|
|
1826
|
+
};
|
|
1827
|
+
};
|
|
1828
|
+
StaleLockHandoffReceipt: {
|
|
1829
|
+
readonly type: "object";
|
|
1830
|
+
readonly additionalProperties: false;
|
|
1831
|
+
readonly required: readonly ["schema_version", "receipt_id", "task_id", "actor", "previous_holder", "previous_lock_version", "new_holder", "new_lock_version", "stale_after_seconds", "stale_cutoff", "reason", "created_at"];
|
|
1832
|
+
readonly properties: {
|
|
1833
|
+
readonly schema_version: {
|
|
1680
1834
|
readonly type: "string";
|
|
1681
|
-
readonly enum: readonly ["
|
|
1835
|
+
readonly enum: readonly ["todos.stale-lock-handoff.v1"];
|
|
1682
1836
|
};
|
|
1683
|
-
readonly
|
|
1684
|
-
readonly type: "
|
|
1685
|
-
readonly
|
|
1686
|
-
readonly type: "string";
|
|
1687
|
-
};
|
|
1837
|
+
readonly receipt_id: {
|
|
1838
|
+
readonly type: "string";
|
|
1839
|
+
readonly format: "uuid";
|
|
1688
1840
|
};
|
|
1689
|
-
readonly
|
|
1841
|
+
readonly task_id: {
|
|
1690
1842
|
readonly type: "string";
|
|
1691
|
-
readonly
|
|
1843
|
+
readonly format: "uuid";
|
|
1692
1844
|
};
|
|
1693
|
-
readonly
|
|
1845
|
+
readonly actor: {
|
|
1694
1846
|
readonly type: "string";
|
|
1695
|
-
readonly nullable: true;
|
|
1696
1847
|
};
|
|
1697
|
-
readonly
|
|
1848
|
+
readonly previous_holder: {
|
|
1698
1849
|
readonly type: "string";
|
|
1699
|
-
readonly nullable: true;
|
|
1700
1850
|
};
|
|
1701
|
-
readonly
|
|
1702
|
-
readonly type: "
|
|
1703
|
-
readonly
|
|
1704
|
-
readonly type: "integer";
|
|
1705
|
-
readonly minimum: 0;
|
|
1706
|
-
};
|
|
1851
|
+
readonly previous_lock_version: {
|
|
1852
|
+
readonly type: "string";
|
|
1853
|
+
readonly format: "date-time";
|
|
1707
1854
|
};
|
|
1708
|
-
readonly
|
|
1709
|
-
readonly type: "
|
|
1710
|
-
readonly additionalProperties: true;
|
|
1855
|
+
readonly new_holder: {
|
|
1856
|
+
readonly type: "string";
|
|
1711
1857
|
};
|
|
1712
|
-
readonly
|
|
1858
|
+
readonly new_lock_version: {
|
|
1713
1859
|
readonly type: "string";
|
|
1714
1860
|
readonly format: "date-time";
|
|
1715
1861
|
};
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
readonly type: "object";
|
|
1720
|
-
readonly required: readonly ["name", "required"];
|
|
1721
|
-
readonly properties: {
|
|
1722
|
-
readonly name: {
|
|
1723
|
-
readonly type: "string";
|
|
1862
|
+
readonly stale_after_seconds: {
|
|
1863
|
+
readonly type: "integer";
|
|
1864
|
+
readonly minimum: 1;
|
|
1724
1865
|
};
|
|
1725
|
-
readonly
|
|
1726
|
-
readonly type: "
|
|
1866
|
+
readonly stale_cutoff: {
|
|
1867
|
+
readonly type: "string";
|
|
1868
|
+
readonly format: "date-time";
|
|
1727
1869
|
};
|
|
1728
|
-
readonly
|
|
1870
|
+
readonly reason: {
|
|
1729
1871
|
readonly type: "string";
|
|
1730
1872
|
};
|
|
1731
|
-
readonly
|
|
1873
|
+
readonly created_at: {
|
|
1732
1874
|
readonly type: "string";
|
|
1875
|
+
readonly format: "date-time";
|
|
1733
1876
|
};
|
|
1734
1877
|
};
|
|
1735
1878
|
};
|
|
1736
|
-
|
|
1879
|
+
TaskGitRef: {
|
|
1737
1880
|
readonly type: "object";
|
|
1738
1881
|
readonly additionalProperties: false;
|
|
1739
|
-
readonly required: readonly ["
|
|
1882
|
+
readonly required: readonly ["id", "task_id", "ref_type", "name", "url", "provider", "metadata", "created_at", "updated_at"];
|
|
1740
1883
|
readonly properties: {
|
|
1741
|
-
readonly
|
|
1742
|
-
readonly type: "integer";
|
|
1743
|
-
readonly minimum: 0;
|
|
1744
|
-
};
|
|
1745
|
-
readonly title_pattern: {
|
|
1884
|
+
readonly id: {
|
|
1746
1885
|
readonly type: "string";
|
|
1747
1886
|
readonly minLength: 1;
|
|
1748
1887
|
};
|
|
1749
|
-
readonly
|
|
1888
|
+
readonly task_id: {
|
|
1750
1889
|
readonly type: "string";
|
|
1751
|
-
readonly
|
|
1890
|
+
readonly minLength: 1;
|
|
1752
1891
|
};
|
|
1753
|
-
readonly
|
|
1892
|
+
readonly ref_type: {
|
|
1754
1893
|
readonly type: "string";
|
|
1755
|
-
readonly enum: readonly ["
|
|
1756
|
-
};
|
|
1757
|
-
readonly tags: {
|
|
1758
|
-
readonly type: "array";
|
|
1759
|
-
readonly items: {
|
|
1760
|
-
readonly type: "string";
|
|
1761
|
-
readonly minLength: 1;
|
|
1762
|
-
};
|
|
1894
|
+
readonly enum: readonly ["branch", "pull_request"];
|
|
1763
1895
|
};
|
|
1764
|
-
readonly
|
|
1896
|
+
readonly name: {
|
|
1765
1897
|
readonly type: "string";
|
|
1766
|
-
readonly
|
|
1898
|
+
readonly minLength: 1;
|
|
1767
1899
|
};
|
|
1768
|
-
readonly
|
|
1900
|
+
readonly url: {
|
|
1769
1901
|
readonly type: "string";
|
|
1770
1902
|
readonly nullable: true;
|
|
1771
1903
|
};
|
|
1772
|
-
readonly
|
|
1904
|
+
readonly provider: {
|
|
1773
1905
|
readonly type: "string";
|
|
1774
1906
|
readonly nullable: true;
|
|
1775
1907
|
};
|
|
1776
|
-
readonly depends_on: {
|
|
1777
|
-
readonly type: "array";
|
|
1778
|
-
readonly items: {
|
|
1779
|
-
readonly type: "integer";
|
|
1780
|
-
readonly minimum: 0;
|
|
1781
|
-
};
|
|
1782
|
-
};
|
|
1783
|
-
readonly depends_on_positions: {
|
|
1784
|
-
readonly type: "array";
|
|
1785
|
-
readonly items: {
|
|
1786
|
-
readonly type: "integer";
|
|
1787
|
-
readonly minimum: 0;
|
|
1788
|
-
};
|
|
1789
|
-
};
|
|
1790
1908
|
readonly metadata: {
|
|
1791
1909
|
readonly type: "object";
|
|
1792
1910
|
readonly additionalProperties: true;
|
|
1793
1911
|
};
|
|
1912
|
+
readonly created_at: {
|
|
1913
|
+
readonly type: "string";
|
|
1914
|
+
readonly format: "date-time";
|
|
1915
|
+
};
|
|
1916
|
+
readonly updated_at: {
|
|
1917
|
+
readonly type: "string";
|
|
1918
|
+
readonly format: "date-time";
|
|
1919
|
+
};
|
|
1794
1920
|
};
|
|
1795
1921
|
};
|
|
1796
|
-
|
|
1797
|
-
type:
|
|
1798
|
-
required:
|
|
1799
|
-
properties: {
|
|
1800
|
-
|
|
1801
|
-
type: string;
|
|
1802
|
-
};
|
|
1803
|
-
description: {
|
|
1804
|
-
type: string;
|
|
1805
|
-
nullable: boolean;
|
|
1922
|
+
Plan: {
|
|
1923
|
+
readonly type: "object";
|
|
1924
|
+
readonly required: readonly ["id", "slug", "name", "status", "created_at", "updated_at"];
|
|
1925
|
+
readonly properties: {
|
|
1926
|
+
readonly id: {
|
|
1927
|
+
readonly type: "string";
|
|
1806
1928
|
};
|
|
1807
|
-
|
|
1808
|
-
type: string;
|
|
1809
|
-
|
|
1929
|
+
readonly slug: {
|
|
1930
|
+
readonly type: "string";
|
|
1931
|
+
readonly nullable: true;
|
|
1810
1932
|
};
|
|
1811
|
-
|
|
1812
|
-
type: string;
|
|
1813
|
-
|
|
1933
|
+
readonly project_id: {
|
|
1934
|
+
readonly type: "string";
|
|
1935
|
+
readonly nullable: true;
|
|
1814
1936
|
};
|
|
1815
|
-
|
|
1816
|
-
type: string;
|
|
1937
|
+
readonly task_list_id: {
|
|
1938
|
+
readonly type: "string";
|
|
1939
|
+
readonly nullable: true;
|
|
1817
1940
|
};
|
|
1818
|
-
|
|
1819
|
-
type: string;
|
|
1941
|
+
readonly agent_id: {
|
|
1942
|
+
readonly type: "string";
|
|
1943
|
+
readonly nullable: true;
|
|
1820
1944
|
};
|
|
1821
|
-
|
|
1822
|
-
type: string;
|
|
1945
|
+
readonly name: {
|
|
1946
|
+
readonly type: "string";
|
|
1823
1947
|
};
|
|
1824
|
-
|
|
1825
|
-
type: string;
|
|
1948
|
+
readonly description: {
|
|
1949
|
+
readonly type: "string";
|
|
1950
|
+
readonly nullable: true;
|
|
1826
1951
|
};
|
|
1827
|
-
|
|
1828
|
-
type: string;
|
|
1952
|
+
readonly status: {
|
|
1953
|
+
readonly type: "string";
|
|
1954
|
+
readonly enum: readonly ["active", "completed", "archived"];
|
|
1829
1955
|
};
|
|
1830
|
-
|
|
1831
|
-
type: string;
|
|
1956
|
+
readonly created_at: {
|
|
1957
|
+
readonly type: "string";
|
|
1958
|
+
readonly format: "date-time";
|
|
1832
1959
|
};
|
|
1833
|
-
|
|
1834
|
-
type: string;
|
|
1835
|
-
|
|
1836
|
-
type: string;
|
|
1837
|
-
};
|
|
1960
|
+
readonly updated_at: {
|
|
1961
|
+
readonly type: "string";
|
|
1962
|
+
readonly format: "date-time";
|
|
1838
1963
|
};
|
|
1839
1964
|
};
|
|
1840
1965
|
};
|
|
1841
|
-
|
|
1842
|
-
type:
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1966
|
+
PlanProjectLinkReceipt: {
|
|
1967
|
+
readonly type: "object";
|
|
1968
|
+
readonly additionalProperties: false;
|
|
1969
|
+
readonly required: readonly ["schema_version", "receipt_id", "idempotency_key", "plan_id", "project_id", "prior_plan_project_id", "prior_task_project_ids", "task_ids", "task_count", "result_plan_revision", "result_digest", "rollback_supported", "created_at"];
|
|
1970
|
+
readonly properties: {
|
|
1971
|
+
readonly schema_version: {
|
|
1972
|
+
readonly type: "string";
|
|
1973
|
+
readonly enum: readonly ["todos.plan-project-link.v1"];
|
|
1846
1974
|
};
|
|
1847
|
-
|
|
1848
|
-
type: string;
|
|
1975
|
+
readonly receipt_id: {
|
|
1976
|
+
readonly type: "string";
|
|
1849
1977
|
};
|
|
1850
|
-
|
|
1851
|
-
type: string;
|
|
1852
|
-
enum: ("pending" | "in_progress" | "completed" | "failed" | "cancelled")[];
|
|
1978
|
+
readonly idempotency_key: {
|
|
1979
|
+
readonly type: "string";
|
|
1853
1980
|
};
|
|
1854
|
-
|
|
1855
|
-
type: string;
|
|
1856
|
-
enum: ("low" | "medium" | "high" | "critical")[];
|
|
1981
|
+
readonly plan_id: {
|
|
1982
|
+
readonly type: "string";
|
|
1857
1983
|
};
|
|
1858
|
-
|
|
1859
|
-
type: string;
|
|
1984
|
+
readonly project_id: {
|
|
1985
|
+
readonly type: "string";
|
|
1860
1986
|
};
|
|
1861
|
-
|
|
1862
|
-
type: string;
|
|
1863
|
-
nullable:
|
|
1987
|
+
readonly prior_plan_project_id: {
|
|
1988
|
+
readonly type: "string";
|
|
1989
|
+
readonly nullable: true;
|
|
1864
1990
|
};
|
|
1865
|
-
|
|
1866
|
-
type:
|
|
1867
|
-
|
|
1991
|
+
readonly prior_task_project_ids: {
|
|
1992
|
+
readonly type: "object";
|
|
1993
|
+
readonly additionalProperties: {
|
|
1994
|
+
readonly type: "string";
|
|
1995
|
+
readonly nullable: true;
|
|
1996
|
+
};
|
|
1868
1997
|
};
|
|
1869
|
-
|
|
1870
|
-
type:
|
|
1871
|
-
|
|
1998
|
+
readonly task_ids: {
|
|
1999
|
+
readonly type: "array";
|
|
2000
|
+
readonly items: {
|
|
2001
|
+
readonly type: "string";
|
|
2002
|
+
};
|
|
1872
2003
|
};
|
|
1873
|
-
|
|
1874
|
-
type:
|
|
1875
|
-
|
|
2004
|
+
readonly task_count: {
|
|
2005
|
+
readonly type: "integer";
|
|
2006
|
+
readonly minimum: 0;
|
|
1876
2007
|
};
|
|
1877
|
-
|
|
1878
|
-
type: string;
|
|
2008
|
+
readonly result_plan_revision: {
|
|
2009
|
+
readonly type: "string";
|
|
2010
|
+
};
|
|
2011
|
+
readonly result_digest: {
|
|
2012
|
+
readonly type: "string";
|
|
2013
|
+
};
|
|
2014
|
+
readonly rollback_supported: {
|
|
2015
|
+
readonly type: "boolean";
|
|
2016
|
+
readonly enum: readonly [true];
|
|
2017
|
+
};
|
|
2018
|
+
readonly created_at: {
|
|
2019
|
+
readonly type: "string";
|
|
2020
|
+
readonly format: "date-time";
|
|
1879
2021
|
};
|
|
1880
2022
|
};
|
|
1881
2023
|
};
|
|
1882
|
-
|
|
1883
|
-
type:
|
|
1884
|
-
additionalProperties:
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
attachment_ids: {
|
|
1891
|
-
type: string;
|
|
1892
|
-
items: {
|
|
1893
|
-
type: string;
|
|
1894
|
-
minLength: number;
|
|
1895
|
-
};
|
|
2024
|
+
PlanProjectLinkResult: {
|
|
2025
|
+
readonly type: "object";
|
|
2026
|
+
readonly additionalProperties: false;
|
|
2027
|
+
readonly required: readonly ["mode", "action", "plan", "project", "tasks", "receipt"];
|
|
2028
|
+
readonly properties: {
|
|
2029
|
+
readonly mode: {
|
|
2030
|
+
readonly type: "string";
|
|
2031
|
+
readonly enum: readonly ["plan", "apply"];
|
|
1896
2032
|
};
|
|
1897
|
-
|
|
1898
|
-
type: string;
|
|
1899
|
-
|
|
1900
|
-
type: string;
|
|
1901
|
-
minLength: number;
|
|
1902
|
-
};
|
|
2033
|
+
readonly action: {
|
|
2034
|
+
readonly type: "string";
|
|
2035
|
+
readonly enum: readonly ["would_link", "linked", "already_linked"];
|
|
1903
2036
|
};
|
|
1904
|
-
|
|
1905
|
-
|
|
2037
|
+
readonly plan: {
|
|
2038
|
+
readonly $ref: "#/components/schemas/Plan";
|
|
1906
2039
|
};
|
|
1907
|
-
|
|
1908
|
-
|
|
2040
|
+
readonly project: {
|
|
2041
|
+
readonly $ref: "#/components/schemas/Project";
|
|
1909
2042
|
};
|
|
1910
|
-
|
|
1911
|
-
type:
|
|
2043
|
+
readonly tasks: {
|
|
2044
|
+
readonly type: "array";
|
|
2045
|
+
readonly items: {
|
|
2046
|
+
readonly $ref: "#/components/schemas/Task";
|
|
2047
|
+
};
|
|
1912
2048
|
};
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
2049
|
+
readonly receipt: {
|
|
2050
|
+
readonly oneOf: readonly [{
|
|
2051
|
+
readonly $ref: "#/components/schemas/PlanProjectLinkReceipt";
|
|
2052
|
+
}, {
|
|
2053
|
+
readonly type: "null";
|
|
2054
|
+
}];
|
|
1917
2055
|
};
|
|
1918
2056
|
};
|
|
1919
2057
|
};
|
|
1920
|
-
|
|
1921
|
-
type:
|
|
1922
|
-
additionalProperties:
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
2058
|
+
PlanProjectLinkRollbackResult: {
|
|
2059
|
+
readonly type: "object";
|
|
2060
|
+
readonly additionalProperties: false;
|
|
2061
|
+
readonly required: readonly ["schema_version", "action", "plan", "tasks", "accepted_receipt_id", "rollback_receipt_id", "restored_at"];
|
|
2062
|
+
readonly properties: {
|
|
2063
|
+
readonly schema_version: {
|
|
2064
|
+
readonly type: "string";
|
|
2065
|
+
readonly enum: readonly ["todos.plan-project-link.v1"];
|
|
1927
2066
|
};
|
|
1928
|
-
|
|
1929
|
-
type: string;
|
|
2067
|
+
readonly action: {
|
|
2068
|
+
readonly type: "string";
|
|
2069
|
+
readonly enum: readonly ["restored"];
|
|
1930
2070
|
};
|
|
1931
|
-
|
|
1932
|
-
|
|
2071
|
+
readonly plan: {
|
|
2072
|
+
readonly $ref: "#/components/schemas/Plan";
|
|
1933
2073
|
};
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
required: string[];
|
|
1940
|
-
properties: {
|
|
1941
|
-
task: {
|
|
1942
|
-
$ref: string;
|
|
2074
|
+
readonly tasks: {
|
|
2075
|
+
readonly type: "array";
|
|
2076
|
+
readonly items: {
|
|
2077
|
+
readonly $ref: "#/components/schemas/Task";
|
|
2078
|
+
};
|
|
1943
2079
|
};
|
|
1944
|
-
|
|
1945
|
-
|
|
2080
|
+
readonly accepted_receipt_id: {
|
|
2081
|
+
readonly type: "string";
|
|
2082
|
+
};
|
|
2083
|
+
readonly rollback_receipt_id: {
|
|
2084
|
+
readonly type: "string";
|
|
2085
|
+
};
|
|
2086
|
+
readonly restored_at: {
|
|
2087
|
+
readonly type: "string";
|
|
2088
|
+
readonly format: "date-time";
|
|
1946
2089
|
};
|
|
1947
2090
|
};
|
|
1948
2091
|
};
|
|
1949
|
-
|
|
1950
|
-
type:
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
type: string;
|
|
1956
|
-
minLength: number;
|
|
1957
|
-
pattern: string;
|
|
2092
|
+
Template: {
|
|
2093
|
+
readonly type: "object";
|
|
2094
|
+
readonly required: readonly ["id", "name", "title_pattern", "priority", "tags", "variables", "version", "metadata", "created_at"];
|
|
2095
|
+
readonly properties: {
|
|
2096
|
+
readonly id: {
|
|
2097
|
+
readonly type: "string";
|
|
1958
2098
|
};
|
|
1959
|
-
|
|
1960
|
-
type: string;
|
|
1961
|
-
minLength: number;
|
|
2099
|
+
readonly name: {
|
|
2100
|
+
readonly type: "string";
|
|
1962
2101
|
};
|
|
1963
|
-
|
|
1964
|
-
type: string;
|
|
2102
|
+
readonly title_pattern: {
|
|
2103
|
+
readonly type: "string";
|
|
1965
2104
|
};
|
|
1966
|
-
|
|
1967
|
-
type: string;
|
|
1968
|
-
|
|
1969
|
-
pattern: string;
|
|
2105
|
+
readonly description: {
|
|
2106
|
+
readonly type: "string";
|
|
2107
|
+
readonly nullable: true;
|
|
1970
2108
|
};
|
|
1971
|
-
|
|
1972
|
-
type: string;
|
|
1973
|
-
|
|
2109
|
+
readonly priority: {
|
|
2110
|
+
readonly type: "string";
|
|
2111
|
+
readonly enum: readonly ["low", "medium", "high", "critical"];
|
|
1974
2112
|
};
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
minProperties: number;
|
|
1981
|
-
properties: {
|
|
1982
|
-
name: {
|
|
1983
|
-
type: string;
|
|
1984
|
-
minLength: number;
|
|
2113
|
+
readonly tags: {
|
|
2114
|
+
readonly type: "array";
|
|
2115
|
+
readonly items: {
|
|
2116
|
+
readonly type: "string";
|
|
2117
|
+
};
|
|
1985
2118
|
};
|
|
1986
|
-
|
|
1987
|
-
type:
|
|
1988
|
-
|
|
2119
|
+
readonly variables: {
|
|
2120
|
+
readonly type: "array";
|
|
2121
|
+
readonly items: {
|
|
2122
|
+
readonly type: "object";
|
|
2123
|
+
readonly properties: {
|
|
2124
|
+
readonly name: {
|
|
2125
|
+
readonly type: "string";
|
|
2126
|
+
};
|
|
2127
|
+
readonly required: {
|
|
2128
|
+
readonly type: "boolean";
|
|
2129
|
+
};
|
|
2130
|
+
readonly default: {
|
|
2131
|
+
readonly type: "string";
|
|
2132
|
+
};
|
|
2133
|
+
readonly description: {
|
|
2134
|
+
readonly type: "string";
|
|
2135
|
+
};
|
|
2136
|
+
};
|
|
2137
|
+
};
|
|
1989
2138
|
};
|
|
1990
|
-
|
|
1991
|
-
type:
|
|
1992
|
-
|
|
2139
|
+
readonly version: {
|
|
2140
|
+
readonly type: "integer";
|
|
2141
|
+
readonly minimum: 1;
|
|
1993
2142
|
};
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
type: string;
|
|
1998
|
-
additionalProperties: boolean;
|
|
1999
|
-
required: string[];
|
|
2000
|
-
properties: {
|
|
2001
|
-
new_slug: {
|
|
2002
|
-
type: string;
|
|
2003
|
-
minLength: number;
|
|
2004
|
-
pattern: string;
|
|
2143
|
+
readonly project_id: {
|
|
2144
|
+
readonly type: "string";
|
|
2145
|
+
readonly nullable: true;
|
|
2005
2146
|
};
|
|
2006
|
-
|
|
2007
|
-
type: string;
|
|
2008
|
-
|
|
2147
|
+
readonly plan_id: {
|
|
2148
|
+
readonly type: "string";
|
|
2149
|
+
readonly nullable: true;
|
|
2009
2150
|
};
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
type: string;
|
|
2014
|
-
additionalProperties: boolean;
|
|
2015
|
-
required: string[];
|
|
2016
|
-
properties: {
|
|
2017
|
-
expected_project_revision: {
|
|
2018
|
-
type: string;
|
|
2019
|
-
minLength: number;
|
|
2151
|
+
readonly metadata: {
|
|
2152
|
+
readonly type: "object";
|
|
2153
|
+
readonly additionalProperties: true;
|
|
2020
2154
|
};
|
|
2021
|
-
|
|
2022
|
-
type: string;
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2155
|
+
readonly created_at: {
|
|
2156
|
+
readonly type: "string";
|
|
2157
|
+
readonly format: "date-time";
|
|
2158
|
+
};
|
|
2159
|
+
readonly tasks: {
|
|
2160
|
+
readonly type: "array";
|
|
2161
|
+
readonly items: {
|
|
2162
|
+
readonly $ref: "#/components/schemas/TemplateTask";
|
|
2163
|
+
};
|
|
2026
2164
|
};
|
|
2027
2165
|
};
|
|
2028
2166
|
};
|
|
2029
|
-
|
|
2030
|
-
type:
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
type: string;
|
|
2036
|
-
minLength: number;
|
|
2167
|
+
TemplateTask: {
|
|
2168
|
+
readonly type: "object";
|
|
2169
|
+
readonly required: readonly ["id", "template_id", "position", "title_pattern", "priority", "tags", "depends_on_positions", "metadata", "created_at"];
|
|
2170
|
+
readonly properties: {
|
|
2171
|
+
readonly id: {
|
|
2172
|
+
readonly type: "string";
|
|
2037
2173
|
};
|
|
2038
|
-
|
|
2039
|
-
type: string;
|
|
2040
|
-
|
|
2174
|
+
readonly template_id: {
|
|
2175
|
+
readonly type: "string";
|
|
2176
|
+
};
|
|
2177
|
+
readonly position: {
|
|
2178
|
+
readonly type: "integer";
|
|
2179
|
+
readonly minimum: 0;
|
|
2180
|
+
};
|
|
2181
|
+
readonly title_pattern: {
|
|
2182
|
+
readonly type: "string";
|
|
2183
|
+
};
|
|
2184
|
+
readonly description: {
|
|
2185
|
+
readonly type: "string";
|
|
2186
|
+
readonly nullable: true;
|
|
2187
|
+
};
|
|
2188
|
+
readonly priority: {
|
|
2189
|
+
readonly type: "string";
|
|
2190
|
+
readonly enum: readonly ["low", "medium", "high", "critical"];
|
|
2191
|
+
};
|
|
2192
|
+
readonly tags: {
|
|
2193
|
+
readonly type: "array";
|
|
2194
|
+
readonly items: {
|
|
2195
|
+
readonly type: "string";
|
|
2196
|
+
};
|
|
2197
|
+
};
|
|
2198
|
+
readonly task_type: {
|
|
2199
|
+
readonly type: "string";
|
|
2200
|
+
readonly nullable: true;
|
|
2201
|
+
};
|
|
2202
|
+
readonly condition: {
|
|
2203
|
+
readonly type: "string";
|
|
2204
|
+
readonly nullable: true;
|
|
2205
|
+
};
|
|
2206
|
+
readonly include_template_id: {
|
|
2207
|
+
readonly type: "string";
|
|
2208
|
+
readonly nullable: true;
|
|
2209
|
+
};
|
|
2210
|
+
readonly depends_on_positions: {
|
|
2211
|
+
readonly type: "array";
|
|
2212
|
+
readonly items: {
|
|
2213
|
+
readonly type: "integer";
|
|
2214
|
+
readonly minimum: 0;
|
|
2215
|
+
};
|
|
2216
|
+
};
|
|
2217
|
+
readonly metadata: {
|
|
2218
|
+
readonly type: "object";
|
|
2219
|
+
readonly additionalProperties: true;
|
|
2220
|
+
};
|
|
2221
|
+
readonly created_at: {
|
|
2222
|
+
readonly type: "string";
|
|
2223
|
+
readonly format: "date-time";
|
|
2041
2224
|
};
|
|
2042
2225
|
};
|
|
2043
2226
|
};
|
|
2044
|
-
|
|
2045
|
-
type:
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
type: string;
|
|
2051
|
-
minLength: number;
|
|
2227
|
+
TemplateVariable: {
|
|
2228
|
+
readonly type: "object";
|
|
2229
|
+
readonly required: readonly ["name", "required"];
|
|
2230
|
+
readonly properties: {
|
|
2231
|
+
readonly name: {
|
|
2232
|
+
readonly type: "string";
|
|
2052
2233
|
};
|
|
2053
|
-
|
|
2054
|
-
type:
|
|
2055
|
-
minLength: number;
|
|
2234
|
+
readonly required: {
|
|
2235
|
+
readonly type: "boolean";
|
|
2056
2236
|
};
|
|
2057
|
-
|
|
2058
|
-
type: string;
|
|
2059
|
-
minLength: number;
|
|
2237
|
+
readonly default: {
|
|
2238
|
+
readonly type: "string";
|
|
2060
2239
|
};
|
|
2061
|
-
|
|
2062
|
-
type: string;
|
|
2063
|
-
minLength: number;
|
|
2064
|
-
maxLength: number;
|
|
2065
|
-
pattern: string;
|
|
2240
|
+
readonly description: {
|
|
2241
|
+
readonly type: "string";
|
|
2066
2242
|
};
|
|
2067
2243
|
};
|
|
2068
2244
|
};
|
|
2069
|
-
|
|
2245
|
+
CreateTemplateTaskInput: {
|
|
2246
|
+
readonly type: "object";
|
|
2247
|
+
readonly additionalProperties: false;
|
|
2248
|
+
readonly required: readonly ["title_pattern"];
|
|
2249
|
+
readonly properties: {
|
|
2250
|
+
readonly position: {
|
|
2251
|
+
readonly type: "integer";
|
|
2252
|
+
readonly minimum: 0;
|
|
2253
|
+
};
|
|
2254
|
+
readonly title_pattern: {
|
|
2255
|
+
readonly type: "string";
|
|
2256
|
+
readonly minLength: 1;
|
|
2257
|
+
};
|
|
2258
|
+
readonly description: {
|
|
2259
|
+
readonly type: "string";
|
|
2260
|
+
readonly nullable: true;
|
|
2261
|
+
};
|
|
2262
|
+
readonly priority: {
|
|
2263
|
+
readonly type: "string";
|
|
2264
|
+
readonly enum: readonly ["low", "medium", "high", "critical"];
|
|
2265
|
+
};
|
|
2266
|
+
readonly tags: {
|
|
2267
|
+
readonly type: "array";
|
|
2268
|
+
readonly items: {
|
|
2269
|
+
readonly type: "string";
|
|
2270
|
+
readonly minLength: 1;
|
|
2271
|
+
};
|
|
2272
|
+
};
|
|
2273
|
+
readonly task_type: {
|
|
2274
|
+
readonly type: "string";
|
|
2275
|
+
readonly nullable: true;
|
|
2276
|
+
};
|
|
2277
|
+
readonly condition: {
|
|
2278
|
+
readonly type: "string";
|
|
2279
|
+
readonly nullable: true;
|
|
2280
|
+
};
|
|
2281
|
+
readonly include_template_id: {
|
|
2282
|
+
readonly type: "string";
|
|
2283
|
+
readonly nullable: true;
|
|
2284
|
+
};
|
|
2285
|
+
readonly depends_on: {
|
|
2286
|
+
readonly type: "array";
|
|
2287
|
+
readonly items: {
|
|
2288
|
+
readonly type: "integer";
|
|
2289
|
+
readonly minimum: 0;
|
|
2290
|
+
};
|
|
2291
|
+
};
|
|
2292
|
+
readonly depends_on_positions: {
|
|
2293
|
+
readonly type: "array";
|
|
2294
|
+
readonly items: {
|
|
2295
|
+
readonly type: "integer";
|
|
2296
|
+
readonly minimum: 0;
|
|
2297
|
+
};
|
|
2298
|
+
};
|
|
2299
|
+
readonly metadata: {
|
|
2300
|
+
readonly type: "object";
|
|
2301
|
+
readonly additionalProperties: true;
|
|
2302
|
+
};
|
|
2303
|
+
};
|
|
2304
|
+
};
|
|
2305
|
+
CreateTaskInput: {
|
|
2070
2306
|
type: string;
|
|
2071
|
-
additionalProperties: boolean;
|
|
2072
2307
|
required: string[];
|
|
2073
2308
|
properties: {
|
|
2074
|
-
|
|
2309
|
+
title: {
|
|
2075
2310
|
type: string;
|
|
2076
|
-
minLength: number;
|
|
2077
2311
|
};
|
|
2078
|
-
|
|
2312
|
+
description: {
|
|
2079
2313
|
type: string;
|
|
2080
|
-
|
|
2314
|
+
nullable: boolean;
|
|
2081
2315
|
};
|
|
2082
|
-
|
|
2316
|
+
status: {
|
|
2083
2317
|
type: string;
|
|
2084
|
-
|
|
2318
|
+
enum: ("pending" | "in_progress" | "completed" | "failed" | "cancelled")[];
|
|
2085
2319
|
};
|
|
2086
|
-
|
|
2087
|
-
};
|
|
2088
|
-
ErrorResponse: {
|
|
2089
|
-
type: string;
|
|
2090
|
-
required: string[];
|
|
2091
|
-
properties: {
|
|
2092
|
-
error: {
|
|
2320
|
+
priority: {
|
|
2093
2321
|
type: string;
|
|
2322
|
+
enum: ("low" | "medium" | "high" | "critical")[];
|
|
2094
2323
|
};
|
|
2095
|
-
|
|
2324
|
+
project_id: {
|
|
2096
2325
|
type: string;
|
|
2097
2326
|
};
|
|
2098
|
-
|
|
2327
|
+
parent_id: {
|
|
2099
2328
|
type: string;
|
|
2100
2329
|
};
|
|
2101
|
-
|
|
2102
|
-
};
|
|
2103
|
-
CreateTaskListInput: {
|
|
2104
|
-
type: string;
|
|
2105
|
-
additionalProperties: boolean;
|
|
2106
|
-
required: string[];
|
|
2107
|
-
properties: {
|
|
2108
|
-
name: {
|
|
2330
|
+
plan_id: {
|
|
2109
2331
|
type: string;
|
|
2110
|
-
minLength: number;
|
|
2111
|
-
pattern: string;
|
|
2112
2332
|
};
|
|
2113
|
-
|
|
2333
|
+
assigned_to: {
|
|
2114
2334
|
type: string;
|
|
2115
|
-
minLength: number;
|
|
2116
|
-
pattern: string;
|
|
2117
2335
|
};
|
|
2118
|
-
|
|
2336
|
+
agent_id: {
|
|
2119
2337
|
type: string;
|
|
2120
2338
|
};
|
|
2121
|
-
|
|
2339
|
+
created_by: {
|
|
2122
2340
|
type: string;
|
|
2123
2341
|
};
|
|
2124
|
-
|
|
2342
|
+
tags: {
|
|
2125
2343
|
type: string;
|
|
2126
|
-
|
|
2344
|
+
items: {
|
|
2345
|
+
type: string;
|
|
2346
|
+
};
|
|
2127
2347
|
};
|
|
2128
2348
|
};
|
|
2129
2349
|
};
|
|
2130
|
-
|
|
2350
|
+
UpdateTaskInput: {
|
|
2131
2351
|
type: string;
|
|
2132
|
-
additionalProperties: boolean;
|
|
2133
|
-
minProperties: number;
|
|
2134
2352
|
properties: {
|
|
2135
|
-
|
|
2353
|
+
title: {
|
|
2136
2354
|
type: string;
|
|
2137
|
-
minLength: number;
|
|
2138
|
-
pattern: string;
|
|
2139
2355
|
};
|
|
2140
|
-
|
|
2356
|
+
description: {
|
|
2141
2357
|
type: string;
|
|
2142
2358
|
};
|
|
2143
|
-
|
|
2359
|
+
status: {
|
|
2144
2360
|
type: string;
|
|
2361
|
+
enum: ("pending" | "in_progress" | "completed" | "failed" | "cancelled")[];
|
|
2145
2362
|
};
|
|
2146
|
-
|
|
2363
|
+
priority: {
|
|
2147
2364
|
type: string;
|
|
2148
|
-
|
|
2365
|
+
enum: ("low" | "medium" | "high" | "critical")[];
|
|
2149
2366
|
};
|
|
2150
|
-
|
|
2151
|
-
};
|
|
2152
|
-
CreateTaskCommentInput: {
|
|
2153
|
-
type: string;
|
|
2154
|
-
required: string[];
|
|
2155
|
-
properties: {
|
|
2156
|
-
content: {
|
|
2367
|
+
assigned_to: {
|
|
2157
2368
|
type: string;
|
|
2158
|
-
minLength: number;
|
|
2159
2369
|
};
|
|
2160
|
-
|
|
2370
|
+
project_id: {
|
|
2161
2371
|
type: string;
|
|
2372
|
+
nullable: boolean;
|
|
2162
2373
|
};
|
|
2163
|
-
|
|
2374
|
+
parent_id: {
|
|
2164
2375
|
type: string;
|
|
2376
|
+
nullable: boolean;
|
|
2165
2377
|
};
|
|
2166
|
-
|
|
2378
|
+
plan_id: {
|
|
2167
2379
|
type: string;
|
|
2168
|
-
|
|
2380
|
+
nullable: boolean;
|
|
2169
2381
|
};
|
|
2170
|
-
|
|
2382
|
+
task_list_id: {
|
|
2383
|
+
type: string;
|
|
2384
|
+
nullable: boolean;
|
|
2385
|
+
};
|
|
2386
|
+
version: {
|
|
2171
2387
|
type: string;
|
|
2172
2388
|
};
|
|
2173
2389
|
};
|
|
2174
2390
|
};
|
|
2175
|
-
|
|
2391
|
+
CompleteTaskInput: {
|
|
2176
2392
|
type: string;
|
|
2177
2393
|
additionalProperties: boolean;
|
|
2178
|
-
required: string[];
|
|
2179
2394
|
properties: {
|
|
2180
|
-
|
|
2395
|
+
agent_id: {
|
|
2181
2396
|
type: string;
|
|
2182
2397
|
minLength: number;
|
|
2183
2398
|
};
|
|
2184
|
-
|
|
2399
|
+
attachment_ids: {
|
|
2185
2400
|
type: string;
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2401
|
+
items: {
|
|
2402
|
+
type: string;
|
|
2403
|
+
minLength: number;
|
|
2404
|
+
};
|
|
2405
|
+
};
|
|
2406
|
+
files_changed: {
|
|
2190
2407
|
type: string;
|
|
2408
|
+
items: {
|
|
2409
|
+
type: string;
|
|
2410
|
+
minLength: number;
|
|
2411
|
+
};
|
|
2191
2412
|
};
|
|
2192
|
-
|
|
2413
|
+
test_results: {
|
|
2193
2414
|
type: string;
|
|
2194
|
-
minLength: number;
|
|
2195
2415
|
};
|
|
2196
|
-
|
|
2416
|
+
commit_hash: {
|
|
2197
2417
|
type: string;
|
|
2198
|
-
minLength: number;
|
|
2199
2418
|
};
|
|
2419
|
+
notes: {
|
|
2420
|
+
type: string;
|
|
2421
|
+
};
|
|
2422
|
+
confidence: {
|
|
2423
|
+
type: string;
|
|
2424
|
+
minimum: number;
|
|
2425
|
+
maximum: number;
|
|
2426
|
+
};
|
|
2427
|
+
};
|
|
2428
|
+
};
|
|
2429
|
+
FailTaskInput: {
|
|
2430
|
+
type: string;
|
|
2431
|
+
additionalProperties: boolean;
|
|
2432
|
+
properties: {
|
|
2200
2433
|
agent_id: {
|
|
2201
2434
|
type: string;
|
|
2202
2435
|
minLength: number;
|
|
2203
2436
|
};
|
|
2204
|
-
|
|
2437
|
+
reason: {
|
|
2438
|
+
type: string;
|
|
2439
|
+
};
|
|
2440
|
+
retry: {
|
|
2205
2441
|
type: string;
|
|
2206
|
-
enum: string[];
|
|
2207
2442
|
};
|
|
2208
2443
|
};
|
|
2209
2444
|
};
|
|
2210
|
-
|
|
2445
|
+
TaskFailureResult: {
|
|
2211
2446
|
type: string;
|
|
2212
2447
|
additionalProperties: boolean;
|
|
2213
|
-
|
|
2448
|
+
required: string[];
|
|
2449
|
+
properties: {
|
|
2450
|
+
task: {
|
|
2451
|
+
$ref: string;
|
|
2452
|
+
};
|
|
2453
|
+
retryTask: {
|
|
2454
|
+
$ref: string;
|
|
2455
|
+
};
|
|
2456
|
+
};
|
|
2457
|
+
};
|
|
2458
|
+
CreateProjectInput: {
|
|
2459
|
+
type: string;
|
|
2460
|
+
additionalProperties: boolean;
|
|
2461
|
+
required: string[];
|
|
2214
2462
|
properties: {
|
|
2215
2463
|
name: {
|
|
2216
2464
|
type: string;
|
|
2217
2465
|
minLength: number;
|
|
2466
|
+
pattern: string;
|
|
2218
2467
|
};
|
|
2219
|
-
|
|
2468
|
+
path: {
|
|
2220
2469
|
type: string;
|
|
2221
2470
|
minLength: number;
|
|
2222
|
-
pattern: string;
|
|
2223
2471
|
};
|
|
2224
2472
|
description: {
|
|
2225
2473
|
type: string;
|
|
@@ -2227,27 +2475,28 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
2227
2475
|
task_list_id: {
|
|
2228
2476
|
type: string;
|
|
2229
2477
|
minLength: number;
|
|
2478
|
+
pattern: string;
|
|
2230
2479
|
};
|
|
2231
|
-
|
|
2480
|
+
task_prefix: {
|
|
2232
2481
|
type: string;
|
|
2233
2482
|
minLength: number;
|
|
2234
2483
|
};
|
|
2235
|
-
|
|
2484
|
+
parent_id: {
|
|
2236
2485
|
type: string;
|
|
2237
|
-
|
|
2486
|
+
minLength: number;
|
|
2238
2487
|
};
|
|
2239
2488
|
};
|
|
2240
2489
|
};
|
|
2241
|
-
|
|
2490
|
+
UpdateProjectInput: {
|
|
2242
2491
|
type: string;
|
|
2243
2492
|
additionalProperties: boolean;
|
|
2244
|
-
|
|
2493
|
+
minProperties: number;
|
|
2245
2494
|
properties: {
|
|
2246
2495
|
name: {
|
|
2247
2496
|
type: string;
|
|
2248
2497
|
minLength: number;
|
|
2249
2498
|
};
|
|
2250
|
-
|
|
2499
|
+
path: {
|
|
2251
2500
|
type: string;
|
|
2252
2501
|
minLength: number;
|
|
2253
2502
|
};
|
|
@@ -2255,357 +2504,445 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
2255
2504
|
type: string;
|
|
2256
2505
|
nullable: boolean;
|
|
2257
2506
|
};
|
|
2258
|
-
|
|
2259
|
-
type: string;
|
|
2260
|
-
enum: string[];
|
|
2261
|
-
};
|
|
2262
|
-
tags: {
|
|
2263
|
-
type: string;
|
|
2264
|
-
items: {
|
|
2265
|
-
type: string;
|
|
2266
|
-
minLength: number;
|
|
2267
|
-
};
|
|
2268
|
-
};
|
|
2269
|
-
variables: {
|
|
2270
|
-
type: string;
|
|
2271
|
-
items: {
|
|
2272
|
-
$ref: string;
|
|
2273
|
-
};
|
|
2274
|
-
};
|
|
2275
|
-
project_id: {
|
|
2507
|
+
parent_id: {
|
|
2276
2508
|
type: string;
|
|
2277
2509
|
minLength: number;
|
|
2278
2510
|
nullable: boolean;
|
|
2279
2511
|
};
|
|
2280
|
-
|
|
2512
|
+
};
|
|
2513
|
+
};
|
|
2514
|
+
RenameProjectInput: {
|
|
2515
|
+
type: string;
|
|
2516
|
+
additionalProperties: boolean;
|
|
2517
|
+
required: string[];
|
|
2518
|
+
properties: {
|
|
2519
|
+
new_slug: {
|
|
2281
2520
|
type: string;
|
|
2282
2521
|
minLength: number;
|
|
2283
|
-
|
|
2284
|
-
};
|
|
2285
|
-
metadata: {
|
|
2286
|
-
type: string;
|
|
2287
|
-
additionalProperties: boolean;
|
|
2522
|
+
pattern: string;
|
|
2288
2523
|
};
|
|
2289
|
-
|
|
2524
|
+
name: {
|
|
2290
2525
|
type: string;
|
|
2291
|
-
|
|
2292
|
-
$ref: string;
|
|
2293
|
-
};
|
|
2526
|
+
minLength: number;
|
|
2294
2527
|
};
|
|
2295
2528
|
};
|
|
2296
2529
|
};
|
|
2297
|
-
|
|
2530
|
+
ProjectTaskListEnsureApplyInput: {
|
|
2298
2531
|
type: string;
|
|
2299
2532
|
additionalProperties: boolean;
|
|
2300
|
-
|
|
2533
|
+
required: string[];
|
|
2301
2534
|
properties: {
|
|
2302
|
-
|
|
2535
|
+
expected_project_revision: {
|
|
2303
2536
|
type: string;
|
|
2304
2537
|
minLength: number;
|
|
2305
2538
|
};
|
|
2306
|
-
|
|
2539
|
+
idempotency_key: {
|
|
2307
2540
|
type: string;
|
|
2308
2541
|
minLength: number;
|
|
2542
|
+
maxLength: number;
|
|
2543
|
+
pattern: string;
|
|
2309
2544
|
};
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2547
|
+
ProjectTaskListRollbackInput: {
|
|
2548
|
+
type: string;
|
|
2549
|
+
additionalProperties: boolean;
|
|
2550
|
+
required: string[];
|
|
2551
|
+
properties: {
|
|
2552
|
+
receipt_id: {
|
|
2315
2553
|
type: string;
|
|
2316
|
-
|
|
2554
|
+
minLength: number;
|
|
2317
2555
|
};
|
|
2318
|
-
|
|
2556
|
+
expected_task_list_revision: {
|
|
2319
2557
|
type: string;
|
|
2320
|
-
|
|
2321
|
-
type: string;
|
|
2322
|
-
minLength: number;
|
|
2323
|
-
};
|
|
2558
|
+
minLength: number;
|
|
2324
2559
|
};
|
|
2325
|
-
|
|
2560
|
+
};
|
|
2561
|
+
};
|
|
2562
|
+
PlanProjectLinkApplyInput: {
|
|
2563
|
+
type: string;
|
|
2564
|
+
additionalProperties: boolean;
|
|
2565
|
+
required: string[];
|
|
2566
|
+
properties: {
|
|
2567
|
+
project_id: {
|
|
2326
2568
|
type: string;
|
|
2327
|
-
|
|
2328
|
-
type: string;
|
|
2329
|
-
};
|
|
2569
|
+
minLength: number;
|
|
2330
2570
|
};
|
|
2331
|
-
|
|
2571
|
+
expected_plan_revision: {
|
|
2332
2572
|
type: string;
|
|
2333
|
-
|
|
2573
|
+
minLength: number;
|
|
2334
2574
|
};
|
|
2335
|
-
|
|
2575
|
+
expected_project_revision: {
|
|
2336
2576
|
type: string;
|
|
2337
|
-
|
|
2577
|
+
minLength: number;
|
|
2338
2578
|
};
|
|
2339
|
-
|
|
2579
|
+
idempotency_key: {
|
|
2340
2580
|
type: string;
|
|
2341
|
-
|
|
2581
|
+
minLength: number;
|
|
2582
|
+
maxLength: number;
|
|
2583
|
+
pattern: string;
|
|
2342
2584
|
};
|
|
2343
2585
|
};
|
|
2344
2586
|
};
|
|
2345
|
-
|
|
2587
|
+
PlanProjectLinkRollbackInput: {
|
|
2346
2588
|
type: string;
|
|
2347
2589
|
additionalProperties: boolean;
|
|
2348
2590
|
required: string[];
|
|
2349
2591
|
properties: {
|
|
2350
|
-
|
|
2592
|
+
project_id: {
|
|
2351
2593
|
type: string;
|
|
2352
2594
|
minLength: number;
|
|
2353
2595
|
};
|
|
2354
|
-
|
|
2596
|
+
receipt_id: {
|
|
2355
2597
|
type: string;
|
|
2356
2598
|
minLength: number;
|
|
2357
2599
|
};
|
|
2358
|
-
|
|
2359
|
-
type: string;
|
|
2360
|
-
enum: string[];
|
|
2361
|
-
};
|
|
2362
|
-
repository: {
|
|
2600
|
+
expected_plan_revision: {
|
|
2363
2601
|
type: string;
|
|
2364
2602
|
minLength: number;
|
|
2365
2603
|
};
|
|
2366
|
-
|
|
2604
|
+
};
|
|
2605
|
+
};
|
|
2606
|
+
ErrorResponse: {
|
|
2607
|
+
type: string;
|
|
2608
|
+
required: string[];
|
|
2609
|
+
properties: {
|
|
2610
|
+
error: {
|
|
2367
2611
|
type: string;
|
|
2368
|
-
minimum: number;
|
|
2369
2612
|
};
|
|
2370
|
-
|
|
2613
|
+
code: {
|
|
2371
2614
|
type: string;
|
|
2372
|
-
pattern: string;
|
|
2373
2615
|
};
|
|
2374
|
-
|
|
2616
|
+
conflict: {
|
|
2375
2617
|
type: string;
|
|
2376
|
-
pattern: string;
|
|
2377
2618
|
};
|
|
2378
2619
|
};
|
|
2379
2620
|
};
|
|
2380
|
-
|
|
2621
|
+
CreateTaskListInput: {
|
|
2381
2622
|
type: string;
|
|
2382
2623
|
additionalProperties: boolean;
|
|
2383
2624
|
required: string[];
|
|
2384
2625
|
properties: {
|
|
2385
|
-
|
|
2626
|
+
name: {
|
|
2386
2627
|
type: string;
|
|
2387
|
-
|
|
2628
|
+
minLength: number;
|
|
2629
|
+
pattern: string;
|
|
2388
2630
|
};
|
|
2389
|
-
|
|
2631
|
+
slug: {
|
|
2390
2632
|
type: string;
|
|
2391
|
-
|
|
2633
|
+
minLength: number;
|
|
2634
|
+
pattern: string;
|
|
2392
2635
|
};
|
|
2393
|
-
|
|
2636
|
+
project_id: {
|
|
2394
2637
|
type: string;
|
|
2395
|
-
pattern: string;
|
|
2396
2638
|
};
|
|
2397
|
-
|
|
2639
|
+
description: {
|
|
2398
2640
|
type: string;
|
|
2399
|
-
const: boolean;
|
|
2400
2641
|
};
|
|
2401
|
-
|
|
2642
|
+
metadata: {
|
|
2402
2643
|
type: string;
|
|
2403
|
-
|
|
2644
|
+
additionalProperties: boolean;
|
|
2404
2645
|
};
|
|
2405
|
-
|
|
2646
|
+
};
|
|
2647
|
+
};
|
|
2648
|
+
UpdateTaskListInput: {
|
|
2649
|
+
type: string;
|
|
2650
|
+
additionalProperties: boolean;
|
|
2651
|
+
minProperties: number;
|
|
2652
|
+
properties: {
|
|
2653
|
+
slug: {
|
|
2406
2654
|
type: string;
|
|
2407
|
-
|
|
2655
|
+
minLength: number;
|
|
2656
|
+
pattern: string;
|
|
2408
2657
|
};
|
|
2409
|
-
|
|
2658
|
+
name: {
|
|
2410
2659
|
type: string;
|
|
2411
|
-
nullable: boolean;
|
|
2412
2660
|
};
|
|
2413
|
-
|
|
2661
|
+
description: {
|
|
2414
2662
|
type: string;
|
|
2415
|
-
nullable: boolean;
|
|
2416
2663
|
};
|
|
2417
|
-
|
|
2664
|
+
metadata: {
|
|
2665
|
+
type: string;
|
|
2666
|
+
additionalProperties: boolean;
|
|
2667
|
+
};
|
|
2668
|
+
project_id: {
|
|
2418
2669
|
type: string;
|
|
2419
2670
|
nullable: boolean;
|
|
2420
2671
|
};
|
|
2421
2672
|
};
|
|
2422
2673
|
};
|
|
2423
|
-
|
|
2674
|
+
CreateTaskCommentInput: {
|
|
2424
2675
|
type: string;
|
|
2425
|
-
additionalProperties: boolean;
|
|
2426
2676
|
required: string[];
|
|
2427
2677
|
properties: {
|
|
2428
|
-
|
|
2678
|
+
content: {
|
|
2429
2679
|
type: string;
|
|
2430
|
-
|
|
2680
|
+
minLength: number;
|
|
2431
2681
|
};
|
|
2432
|
-
|
|
2682
|
+
agent_id: {
|
|
2433
2683
|
type: string;
|
|
2434
2684
|
};
|
|
2435
|
-
|
|
2685
|
+
session_id: {
|
|
2436
2686
|
type: string;
|
|
2437
2687
|
};
|
|
2438
|
-
|
|
2688
|
+
type: {
|
|
2439
2689
|
type: string;
|
|
2690
|
+
enum: string[];
|
|
2440
2691
|
};
|
|
2441
|
-
|
|
2692
|
+
progress_pct: {
|
|
2442
2693
|
type: string;
|
|
2443
2694
|
};
|
|
2444
|
-
|
|
2695
|
+
};
|
|
2696
|
+
};
|
|
2697
|
+
CreatePlanInput: {
|
|
2698
|
+
type: string;
|
|
2699
|
+
additionalProperties: boolean;
|
|
2700
|
+
required: string[];
|
|
2701
|
+
properties: {
|
|
2702
|
+
name: {
|
|
2445
2703
|
type: string;
|
|
2704
|
+
minLength: number;
|
|
2446
2705
|
};
|
|
2447
|
-
|
|
2706
|
+
slug: {
|
|
2707
|
+
type: string;
|
|
2708
|
+
minLength: number;
|
|
2709
|
+
pattern: string;
|
|
2710
|
+
};
|
|
2711
|
+
description: {
|
|
2448
2712
|
type: string;
|
|
2449
2713
|
};
|
|
2450
|
-
|
|
2714
|
+
project_id: {
|
|
2451
2715
|
type: string;
|
|
2452
|
-
|
|
2716
|
+
minLength: number;
|
|
2453
2717
|
};
|
|
2454
|
-
|
|
2718
|
+
task_list_id: {
|
|
2455
2719
|
type: string;
|
|
2456
|
-
|
|
2720
|
+
minLength: number;
|
|
2457
2721
|
};
|
|
2458
|
-
|
|
2722
|
+
agent_id: {
|
|
2723
|
+
type: string;
|
|
2724
|
+
minLength: number;
|
|
2725
|
+
};
|
|
2726
|
+
status: {
|
|
2459
2727
|
type: string;
|
|
2460
2728
|
enum: string[];
|
|
2461
2729
|
};
|
|
2462
|
-
|
|
2730
|
+
};
|
|
2731
|
+
};
|
|
2732
|
+
UpdatePlanInput: {
|
|
2733
|
+
type: string;
|
|
2734
|
+
additionalProperties: boolean;
|
|
2735
|
+
minProperties: number;
|
|
2736
|
+
properties: {
|
|
2737
|
+
name: {
|
|
2463
2738
|
type: string;
|
|
2464
|
-
|
|
2739
|
+
minLength: number;
|
|
2465
2740
|
};
|
|
2466
|
-
|
|
2741
|
+
slug: {
|
|
2467
2742
|
type: string;
|
|
2468
|
-
|
|
2743
|
+
minLength: number;
|
|
2744
|
+
pattern: string;
|
|
2469
2745
|
};
|
|
2470
|
-
|
|
2746
|
+
description: {
|
|
2471
2747
|
type: string;
|
|
2472
|
-
minimum: number;
|
|
2473
|
-
maximum: number;
|
|
2474
2748
|
};
|
|
2475
|
-
|
|
2749
|
+
task_list_id: {
|
|
2476
2750
|
type: string;
|
|
2477
|
-
|
|
2751
|
+
minLength: number;
|
|
2478
2752
|
};
|
|
2479
|
-
|
|
2753
|
+
agent_id: {
|
|
2480
2754
|
type: string;
|
|
2481
|
-
|
|
2755
|
+
minLength: number;
|
|
2482
2756
|
};
|
|
2483
|
-
|
|
2757
|
+
status: {
|
|
2484
2758
|
type: string;
|
|
2485
|
-
|
|
2759
|
+
enum: string[];
|
|
2486
2760
|
};
|
|
2487
|
-
|
|
2761
|
+
};
|
|
2762
|
+
};
|
|
2763
|
+
CreateTemplateInput: {
|
|
2764
|
+
type: string;
|
|
2765
|
+
additionalProperties: boolean;
|
|
2766
|
+
required: string[];
|
|
2767
|
+
properties: {
|
|
2768
|
+
name: {
|
|
2488
2769
|
type: string;
|
|
2489
|
-
|
|
2490
|
-
enum: (string | null)[];
|
|
2770
|
+
minLength: number;
|
|
2491
2771
|
};
|
|
2492
|
-
|
|
2772
|
+
title_pattern: {
|
|
2493
2773
|
type: string;
|
|
2494
|
-
|
|
2774
|
+
minLength: number;
|
|
2495
2775
|
};
|
|
2496
|
-
|
|
2776
|
+
description: {
|
|
2497
2777
|
type: string;
|
|
2498
2778
|
nullable: boolean;
|
|
2499
2779
|
};
|
|
2500
|
-
|
|
2780
|
+
priority: {
|
|
2781
|
+
type: string;
|
|
2782
|
+
enum: string[];
|
|
2783
|
+
};
|
|
2784
|
+
tags: {
|
|
2785
|
+
type: string;
|
|
2786
|
+
items: {
|
|
2787
|
+
type: string;
|
|
2788
|
+
minLength: number;
|
|
2789
|
+
};
|
|
2790
|
+
};
|
|
2791
|
+
variables: {
|
|
2792
|
+
type: string;
|
|
2793
|
+
items: {
|
|
2794
|
+
$ref: string;
|
|
2795
|
+
};
|
|
2796
|
+
};
|
|
2797
|
+
project_id: {
|
|
2501
2798
|
type: string;
|
|
2799
|
+
minLength: number;
|
|
2502
2800
|
nullable: boolean;
|
|
2503
2801
|
};
|
|
2504
|
-
|
|
2802
|
+
plan_id: {
|
|
2505
2803
|
type: string;
|
|
2506
|
-
|
|
2804
|
+
minLength: number;
|
|
2805
|
+
nullable: boolean;
|
|
2507
2806
|
};
|
|
2508
|
-
|
|
2807
|
+
metadata: {
|
|
2509
2808
|
type: string;
|
|
2809
|
+
additionalProperties: boolean;
|
|
2510
2810
|
};
|
|
2511
|
-
|
|
2811
|
+
tasks: {
|
|
2512
2812
|
type: string;
|
|
2813
|
+
items: {
|
|
2814
|
+
$ref: string;
|
|
2815
|
+
};
|
|
2513
2816
|
};
|
|
2514
2817
|
};
|
|
2515
2818
|
};
|
|
2516
|
-
|
|
2819
|
+
UpdateTemplateInput: {
|
|
2517
2820
|
type: string;
|
|
2518
2821
|
additionalProperties: boolean;
|
|
2519
|
-
|
|
2822
|
+
minProperties: number;
|
|
2520
2823
|
properties: {
|
|
2521
|
-
|
|
2824
|
+
name: {
|
|
2522
2825
|
type: string;
|
|
2523
|
-
|
|
2826
|
+
minLength: number;
|
|
2524
2827
|
};
|
|
2525
|
-
|
|
2828
|
+
title_pattern: {
|
|
2829
|
+
type: string;
|
|
2830
|
+
minLength: number;
|
|
2831
|
+
};
|
|
2832
|
+
description: {
|
|
2526
2833
|
type: string;
|
|
2834
|
+
nullable: boolean;
|
|
2527
2835
|
};
|
|
2528
|
-
|
|
2836
|
+
priority: {
|
|
2529
2837
|
type: string;
|
|
2838
|
+
enum: string[];
|
|
2530
2839
|
};
|
|
2531
|
-
|
|
2840
|
+
tags: {
|
|
2532
2841
|
type: string;
|
|
2842
|
+
items: {
|
|
2843
|
+
type: string;
|
|
2844
|
+
minLength: number;
|
|
2845
|
+
};
|
|
2533
2846
|
};
|
|
2534
|
-
|
|
2847
|
+
variables: {
|
|
2535
2848
|
type: string;
|
|
2849
|
+
items: {
|
|
2850
|
+
type: string;
|
|
2851
|
+
};
|
|
2536
2852
|
};
|
|
2537
|
-
|
|
2853
|
+
project_id: {
|
|
2538
2854
|
type: string;
|
|
2855
|
+
nullable: boolean;
|
|
2539
2856
|
};
|
|
2540
|
-
|
|
2857
|
+
plan_id: {
|
|
2541
2858
|
type: string;
|
|
2542
2859
|
nullable: boolean;
|
|
2543
2860
|
};
|
|
2544
|
-
|
|
2861
|
+
metadata: {
|
|
2545
2862
|
type: string;
|
|
2863
|
+
additionalProperties: boolean;
|
|
2546
2864
|
};
|
|
2547
|
-
|
|
2865
|
+
};
|
|
2866
|
+
};
|
|
2867
|
+
PrGroupCiProof: {
|
|
2868
|
+
type: string;
|
|
2869
|
+
additionalProperties: boolean;
|
|
2870
|
+
required: string[];
|
|
2871
|
+
properties: {
|
|
2872
|
+
provider: {
|
|
2873
|
+
type: string;
|
|
2874
|
+
minLength: number;
|
|
2875
|
+
};
|
|
2876
|
+
provider_run_id: {
|
|
2877
|
+
type: string;
|
|
2878
|
+
minLength: number;
|
|
2879
|
+
};
|
|
2880
|
+
status: {
|
|
2548
2881
|
type: string;
|
|
2882
|
+
enum: string[];
|
|
2549
2883
|
};
|
|
2550
2884
|
repository: {
|
|
2551
2885
|
type: string;
|
|
2886
|
+
minLength: number;
|
|
2552
2887
|
};
|
|
2553
2888
|
pr_number: {
|
|
2554
2889
|
type: string;
|
|
2555
|
-
|
|
2890
|
+
minimum: number;
|
|
2556
2891
|
};
|
|
2557
2892
|
base_sha: {
|
|
2558
2893
|
type: string;
|
|
2559
|
-
|
|
2894
|
+
pattern: string;
|
|
2560
2895
|
};
|
|
2561
|
-
|
|
2896
|
+
head_sha: {
|
|
2562
2897
|
type: string;
|
|
2563
|
-
|
|
2898
|
+
pattern: string;
|
|
2564
2899
|
};
|
|
2565
|
-
|
|
2900
|
+
};
|
|
2901
|
+
};
|
|
2902
|
+
PrGroupCleanupProof: {
|
|
2903
|
+
type: string;
|
|
2904
|
+
additionalProperties: boolean;
|
|
2905
|
+
required: string[];
|
|
2906
|
+
properties: {
|
|
2907
|
+
worktree_clean: {
|
|
2566
2908
|
type: string;
|
|
2567
|
-
|
|
2909
|
+
const: boolean;
|
|
2568
2910
|
};
|
|
2569
|
-
|
|
2911
|
+
provider_reachable: {
|
|
2570
2912
|
type: string;
|
|
2571
|
-
|
|
2913
|
+
const: boolean;
|
|
2572
2914
|
};
|
|
2573
|
-
|
|
2915
|
+
provider_head_sha: {
|
|
2574
2916
|
type: string;
|
|
2575
|
-
|
|
2917
|
+
pattern: string;
|
|
2576
2918
|
};
|
|
2577
|
-
|
|
2919
|
+
pr_policy_satisfied: {
|
|
2578
2920
|
type: string;
|
|
2921
|
+
const: boolean;
|
|
2579
2922
|
};
|
|
2580
|
-
|
|
2923
|
+
terminal_disposition: {
|
|
2581
2924
|
type: string;
|
|
2582
|
-
|
|
2925
|
+
enum: string[];
|
|
2583
2926
|
};
|
|
2584
|
-
|
|
2927
|
+
writer_retired: {
|
|
2585
2928
|
type: string;
|
|
2586
|
-
|
|
2929
|
+
const: boolean;
|
|
2587
2930
|
};
|
|
2588
|
-
|
|
2931
|
+
review_receipt_key: {
|
|
2589
2932
|
type: string;
|
|
2590
2933
|
nullable: boolean;
|
|
2591
2934
|
};
|
|
2592
|
-
|
|
2935
|
+
conditional_merge_receipt_key: {
|
|
2593
2936
|
type: string;
|
|
2594
2937
|
nullable: boolean;
|
|
2595
2938
|
};
|
|
2596
|
-
|
|
2939
|
+
merge_receipt_key: {
|
|
2597
2940
|
type: string;
|
|
2598
2941
|
nullable: boolean;
|
|
2599
2942
|
};
|
|
2600
|
-
created_at: {
|
|
2601
|
-
type: string;
|
|
2602
|
-
};
|
|
2603
|
-
updated_at: {
|
|
2604
|
-
type: string;
|
|
2605
|
-
};
|
|
2606
2943
|
};
|
|
2607
2944
|
};
|
|
2608
|
-
|
|
2945
|
+
PrGroupRecord: {
|
|
2609
2946
|
type: string;
|
|
2610
2947
|
additionalProperties: boolean;
|
|
2611
2948
|
required: string[];
|
|
@@ -2617,45 +2954,230 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
2617
2954
|
id: {
|
|
2618
2955
|
type: string;
|
|
2619
2956
|
};
|
|
2620
|
-
|
|
2957
|
+
identity_key: {
|
|
2621
2958
|
type: string;
|
|
2622
2959
|
};
|
|
2623
|
-
|
|
2960
|
+
root_request_id: {
|
|
2624
2961
|
type: string;
|
|
2625
2962
|
};
|
|
2626
|
-
|
|
2963
|
+
repository: {
|
|
2627
2964
|
type: string;
|
|
2628
2965
|
};
|
|
2629
|
-
|
|
2966
|
+
leaf_task_id: {
|
|
2630
2967
|
type: string;
|
|
2631
|
-
minimum: number;
|
|
2632
2968
|
};
|
|
2633
|
-
|
|
2969
|
+
branch: {
|
|
2634
2970
|
type: string;
|
|
2635
2971
|
};
|
|
2636
|
-
|
|
2972
|
+
pr_number: {
|
|
2637
2973
|
type: string;
|
|
2638
|
-
|
|
2974
|
+
nullable: boolean;
|
|
2975
|
+
};
|
|
2976
|
+
base_sha: {
|
|
2977
|
+
type: string;
|
|
2978
|
+
nullable: boolean;
|
|
2639
2979
|
};
|
|
2640
2980
|
state: {
|
|
2641
2981
|
type: string;
|
|
2642
2982
|
enum: string[];
|
|
2643
2983
|
};
|
|
2644
|
-
|
|
2984
|
+
active_attempt_id: {
|
|
2645
2985
|
type: string;
|
|
2646
2986
|
nullable: boolean;
|
|
2647
2987
|
};
|
|
2648
|
-
|
|
2988
|
+
active_generation: {
|
|
2649
2989
|
type: string;
|
|
2650
2990
|
nullable: boolean;
|
|
2651
2991
|
};
|
|
2652
|
-
|
|
2992
|
+
repair_cycle_count: {
|
|
2653
2993
|
type: string;
|
|
2654
|
-
|
|
2994
|
+
minimum: number;
|
|
2995
|
+
maximum: number;
|
|
2655
2996
|
};
|
|
2656
|
-
|
|
2997
|
+
repair_cycle_limit: {
|
|
2998
|
+
type: string;
|
|
2999
|
+
const: number;
|
|
3000
|
+
};
|
|
3001
|
+
terminal_attempt_id: {
|
|
3002
|
+
type: string;
|
|
3003
|
+
nullable: boolean;
|
|
3004
|
+
};
|
|
3005
|
+
terminal_generation: {
|
|
3006
|
+
type: string;
|
|
3007
|
+
nullable: boolean;
|
|
3008
|
+
};
|
|
3009
|
+
terminal_outcome: {
|
|
3010
|
+
type: string;
|
|
3011
|
+
nullable: boolean;
|
|
3012
|
+
enum: (string | null)[];
|
|
3013
|
+
};
|
|
3014
|
+
terminal_head_sha: {
|
|
3015
|
+
type: string;
|
|
3016
|
+
nullable: boolean;
|
|
3017
|
+
};
|
|
3018
|
+
terminal_at: {
|
|
3019
|
+
type: string;
|
|
3020
|
+
nullable: boolean;
|
|
3021
|
+
};
|
|
3022
|
+
cleanup_eligible_at: {
|
|
3023
|
+
type: string;
|
|
3024
|
+
nullable: boolean;
|
|
3025
|
+
};
|
|
3026
|
+
revision: {
|
|
3027
|
+
type: string;
|
|
3028
|
+
minimum: number;
|
|
3029
|
+
};
|
|
3030
|
+
created_at: {
|
|
3031
|
+
type: string;
|
|
3032
|
+
};
|
|
3033
|
+
updated_at: {
|
|
3034
|
+
type: string;
|
|
3035
|
+
};
|
|
3036
|
+
};
|
|
3037
|
+
};
|
|
3038
|
+
PrGroupAttemptRecord: {
|
|
3039
|
+
type: string;
|
|
3040
|
+
additionalProperties: boolean;
|
|
3041
|
+
required: string[];
|
|
3042
|
+
properties: {
|
|
3043
|
+
schema_version: {
|
|
3044
|
+
type: string;
|
|
3045
|
+
const: number;
|
|
3046
|
+
};
|
|
3047
|
+
id: {
|
|
3048
|
+
type: string;
|
|
3049
|
+
};
|
|
3050
|
+
group_id: {
|
|
3051
|
+
type: string;
|
|
3052
|
+
};
|
|
3053
|
+
leaf_task_id: {
|
|
3054
|
+
type: string;
|
|
3055
|
+
};
|
|
3056
|
+
dispatch_attempt: {
|
|
3057
|
+
type: string;
|
|
3058
|
+
};
|
|
3059
|
+
writer_generation: {
|
|
3060
|
+
type: string;
|
|
3061
|
+
};
|
|
3062
|
+
previous_attempt_id: {
|
|
3063
|
+
type: string;
|
|
3064
|
+
nullable: boolean;
|
|
3065
|
+
};
|
|
3066
|
+
worktree: {
|
|
3067
|
+
type: string;
|
|
3068
|
+
};
|
|
3069
|
+
branch: {
|
|
3070
|
+
type: string;
|
|
3071
|
+
};
|
|
3072
|
+
repository: {
|
|
3073
|
+
type: string;
|
|
3074
|
+
};
|
|
3075
|
+
pr_number: {
|
|
3076
|
+
type: string;
|
|
3077
|
+
nullable: boolean;
|
|
3078
|
+
};
|
|
3079
|
+
base_sha: {
|
|
3080
|
+
type: string;
|
|
3081
|
+
nullable: boolean;
|
|
3082
|
+
};
|
|
3083
|
+
provider: {
|
|
3084
|
+
type: string;
|
|
3085
|
+
nullable: boolean;
|
|
3086
|
+
};
|
|
3087
|
+
provider_run_id: {
|
|
3088
|
+
type: string;
|
|
3089
|
+
nullable: boolean;
|
|
3090
|
+
};
|
|
3091
|
+
profile_alias: {
|
|
3092
|
+
type: string;
|
|
3093
|
+
nullable: boolean;
|
|
3094
|
+
};
|
|
3095
|
+
status: {
|
|
3096
|
+
type: string;
|
|
3097
|
+
enum: string[];
|
|
3098
|
+
};
|
|
3099
|
+
admitted_at: {
|
|
3100
|
+
type: string;
|
|
3101
|
+
};
|
|
3102
|
+
started_at: {
|
|
3103
|
+
type: string;
|
|
3104
|
+
nullable: boolean;
|
|
3105
|
+
};
|
|
3106
|
+
last_heartbeat_at: {
|
|
3107
|
+
type: string;
|
|
3108
|
+
nullable: boolean;
|
|
3109
|
+
};
|
|
3110
|
+
handed_off_at: {
|
|
3111
|
+
type: string;
|
|
3112
|
+
nullable: boolean;
|
|
3113
|
+
};
|
|
3114
|
+
fenced_at: {
|
|
3115
|
+
type: string;
|
|
3116
|
+
nullable: boolean;
|
|
3117
|
+
};
|
|
3118
|
+
terminal_at: {
|
|
3119
|
+
type: string;
|
|
3120
|
+
nullable: boolean;
|
|
3121
|
+
};
|
|
3122
|
+
created_at: {
|
|
3123
|
+
type: string;
|
|
3124
|
+
};
|
|
3125
|
+
updated_at: {
|
|
2657
3126
|
type: string;
|
|
2658
|
-
|
|
3127
|
+
};
|
|
3128
|
+
};
|
|
3129
|
+
};
|
|
3130
|
+
PrGroupEventRecord: {
|
|
3131
|
+
type: string;
|
|
3132
|
+
additionalProperties: boolean;
|
|
3133
|
+
required: string[];
|
|
3134
|
+
properties: {
|
|
3135
|
+
schema_version: {
|
|
3136
|
+
type: string;
|
|
3137
|
+
const: number;
|
|
3138
|
+
};
|
|
3139
|
+
id: {
|
|
3140
|
+
type: string;
|
|
3141
|
+
};
|
|
3142
|
+
group_id: {
|
|
3143
|
+
type: string;
|
|
3144
|
+
};
|
|
3145
|
+
attempt_id: {
|
|
3146
|
+
type: string;
|
|
3147
|
+
};
|
|
3148
|
+
writer_generation: {
|
|
3149
|
+
type: string;
|
|
3150
|
+
};
|
|
3151
|
+
sequence: {
|
|
3152
|
+
type: string;
|
|
3153
|
+
minimum: number;
|
|
3154
|
+
};
|
|
3155
|
+
idempotency_key: {
|
|
3156
|
+
type: string;
|
|
3157
|
+
};
|
|
3158
|
+
event_type: {
|
|
3159
|
+
type: string;
|
|
3160
|
+
enum: string[];
|
|
3161
|
+
};
|
|
3162
|
+
state: {
|
|
3163
|
+
type: string;
|
|
3164
|
+
enum: string[];
|
|
3165
|
+
};
|
|
3166
|
+
message: {
|
|
3167
|
+
type: string;
|
|
3168
|
+
nullable: boolean;
|
|
3169
|
+
};
|
|
3170
|
+
head_sha: {
|
|
3171
|
+
type: string;
|
|
3172
|
+
nullable: boolean;
|
|
3173
|
+
};
|
|
3174
|
+
receipt_key: {
|
|
3175
|
+
type: string;
|
|
3176
|
+
nullable: boolean;
|
|
3177
|
+
};
|
|
3178
|
+
review_receipt_key: {
|
|
3179
|
+
type: string;
|
|
3180
|
+
nullable: boolean;
|
|
2659
3181
|
};
|
|
2660
3182
|
conditional_merge_receipt_key: {
|
|
2661
3183
|
type: string;
|
|
@@ -3407,60 +3929,357 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3407
3929
|
properties: {
|
|
3408
3930
|
capability: {
|
|
3409
3931
|
$ref: string;
|
|
3410
|
-
};
|
|
3932
|
+
};
|
|
3933
|
+
};
|
|
3934
|
+
};
|
|
3935
|
+
};
|
|
3936
|
+
};
|
|
3937
|
+
};
|
|
3938
|
+
};
|
|
3939
|
+
};
|
|
3940
|
+
};
|
|
3941
|
+
"/v1/project-registration/resources": {
|
|
3942
|
+
get: {
|
|
3943
|
+
operationId: string;
|
|
3944
|
+
summary: string;
|
|
3945
|
+
parameters: ({
|
|
3946
|
+
name: string;
|
|
3947
|
+
in: string;
|
|
3948
|
+
required: boolean;
|
|
3949
|
+
schema: {
|
|
3950
|
+
type: string;
|
|
3951
|
+
default?: undefined;
|
|
3952
|
+
minimum?: undefined;
|
|
3953
|
+
maximum?: undefined;
|
|
3954
|
+
};
|
|
3955
|
+
} | {
|
|
3956
|
+
name: string;
|
|
3957
|
+
in: string;
|
|
3958
|
+
schema: {
|
|
3959
|
+
type: string;
|
|
3960
|
+
default: boolean;
|
|
3961
|
+
minimum?: undefined;
|
|
3962
|
+
maximum?: undefined;
|
|
3963
|
+
};
|
|
3964
|
+
required?: undefined;
|
|
3965
|
+
} | {
|
|
3966
|
+
name: string;
|
|
3967
|
+
in: string;
|
|
3968
|
+
schema: {
|
|
3969
|
+
type: string;
|
|
3970
|
+
minimum: number;
|
|
3971
|
+
maximum: number;
|
|
3972
|
+
default: number;
|
|
3973
|
+
};
|
|
3974
|
+
required?: undefined;
|
|
3975
|
+
} | {
|
|
3976
|
+
name: string;
|
|
3977
|
+
in: string;
|
|
3978
|
+
schema: {
|
|
3979
|
+
type: string;
|
|
3980
|
+
default?: undefined;
|
|
3981
|
+
minimum?: undefined;
|
|
3982
|
+
maximum?: undefined;
|
|
3983
|
+
};
|
|
3984
|
+
required?: undefined;
|
|
3985
|
+
})[];
|
|
3986
|
+
responses: {
|
|
3987
|
+
"200": {
|
|
3988
|
+
content: {
|
|
3989
|
+
"application/json": {
|
|
3990
|
+
schema: {
|
|
3991
|
+
type: string;
|
|
3992
|
+
additionalProperties: boolean;
|
|
3993
|
+
required: string[];
|
|
3994
|
+
properties: {
|
|
3995
|
+
page: {
|
|
3996
|
+
$ref: string;
|
|
3997
|
+
};
|
|
3998
|
+
};
|
|
3999
|
+
};
|
|
4000
|
+
};
|
|
4001
|
+
};
|
|
4002
|
+
};
|
|
4003
|
+
"400": {
|
|
4004
|
+
content: {
|
|
4005
|
+
"application/json": {
|
|
4006
|
+
schema: {
|
|
4007
|
+
$ref: string;
|
|
4008
|
+
};
|
|
4009
|
+
};
|
|
4010
|
+
};
|
|
4011
|
+
};
|
|
4012
|
+
"404": {
|
|
4013
|
+
content: {
|
|
4014
|
+
"application/json": {
|
|
4015
|
+
schema: {
|
|
4016
|
+
$ref: string;
|
|
4017
|
+
};
|
|
4018
|
+
};
|
|
4019
|
+
};
|
|
4020
|
+
};
|
|
4021
|
+
"409": {
|
|
4022
|
+
content: {
|
|
4023
|
+
"application/json": {
|
|
4024
|
+
schema: {
|
|
4025
|
+
$ref: string;
|
|
4026
|
+
};
|
|
4027
|
+
};
|
|
4028
|
+
};
|
|
4029
|
+
};
|
|
4030
|
+
};
|
|
4031
|
+
};
|
|
4032
|
+
};
|
|
4033
|
+
"/v1/project-registration/create": {
|
|
4034
|
+
post: {
|
|
4035
|
+
operationId: string;
|
|
4036
|
+
summary: string;
|
|
4037
|
+
requestBody: {
|
|
4038
|
+
required: boolean;
|
|
4039
|
+
content: {
|
|
4040
|
+
"application/json": {
|
|
4041
|
+
schema: {
|
|
4042
|
+
$ref: string;
|
|
4043
|
+
};
|
|
4044
|
+
};
|
|
4045
|
+
};
|
|
4046
|
+
};
|
|
4047
|
+
responses: {
|
|
4048
|
+
"201": {
|
|
4049
|
+
content: {
|
|
4050
|
+
"application/json": {
|
|
4051
|
+
schema: {
|
|
4052
|
+
type: string;
|
|
4053
|
+
additionalProperties: boolean;
|
|
4054
|
+
required: string[];
|
|
4055
|
+
properties: {
|
|
4056
|
+
receipt: {
|
|
4057
|
+
$ref: string;
|
|
4058
|
+
};
|
|
4059
|
+
};
|
|
4060
|
+
};
|
|
4061
|
+
};
|
|
4062
|
+
};
|
|
4063
|
+
};
|
|
4064
|
+
"400": {
|
|
4065
|
+
content: {
|
|
4066
|
+
"application/json": {
|
|
4067
|
+
schema: {
|
|
4068
|
+
$ref: string;
|
|
4069
|
+
};
|
|
4070
|
+
};
|
|
4071
|
+
};
|
|
4072
|
+
};
|
|
4073
|
+
"409": {
|
|
4074
|
+
content: {
|
|
4075
|
+
"application/json": {
|
|
4076
|
+
schema: {
|
|
4077
|
+
$ref: string;
|
|
4078
|
+
};
|
|
4079
|
+
};
|
|
4080
|
+
};
|
|
4081
|
+
};
|
|
4082
|
+
};
|
|
4083
|
+
};
|
|
4084
|
+
};
|
|
4085
|
+
"/v1/project-registration/read-exact": {
|
|
4086
|
+
post: {
|
|
4087
|
+
operationId: string;
|
|
4088
|
+
summary: string;
|
|
4089
|
+
requestBody: {
|
|
4090
|
+
required: boolean;
|
|
4091
|
+
content: {
|
|
4092
|
+
"application/json": {
|
|
4093
|
+
schema: {
|
|
4094
|
+
type: string;
|
|
4095
|
+
additionalProperties: boolean;
|
|
4096
|
+
required: string[];
|
|
4097
|
+
properties: {
|
|
4098
|
+
response_byte_limit: {
|
|
4099
|
+
readonly type: "integer";
|
|
4100
|
+
readonly minimum: 1;
|
|
4101
|
+
};
|
|
4102
|
+
time_budget_ms: {
|
|
4103
|
+
readonly type: "integer";
|
|
4104
|
+
readonly minimum: 1;
|
|
4105
|
+
};
|
|
4106
|
+
resource_kind: {
|
|
4107
|
+
type: string;
|
|
4108
|
+
enum: string[];
|
|
4109
|
+
};
|
|
4110
|
+
target_id: {
|
|
4111
|
+
type: string;
|
|
4112
|
+
format: string;
|
|
4113
|
+
};
|
|
4114
|
+
};
|
|
4115
|
+
};
|
|
4116
|
+
};
|
|
4117
|
+
};
|
|
4118
|
+
};
|
|
4119
|
+
responses: {
|
|
4120
|
+
"200": {
|
|
4121
|
+
content: {
|
|
4122
|
+
"application/json": {
|
|
4123
|
+
schema: {
|
|
4124
|
+
type: string;
|
|
4125
|
+
additionalProperties: boolean;
|
|
4126
|
+
required: string[];
|
|
4127
|
+
properties: {
|
|
4128
|
+
record: {
|
|
4129
|
+
type: string;
|
|
4130
|
+
additionalProperties: boolean;
|
|
4131
|
+
required: string[];
|
|
4132
|
+
properties: {
|
|
4133
|
+
target_id: {
|
|
4134
|
+
type: string;
|
|
4135
|
+
format: string;
|
|
4136
|
+
};
|
|
4137
|
+
revision: {
|
|
4138
|
+
type: string;
|
|
4139
|
+
};
|
|
4140
|
+
digest: {
|
|
4141
|
+
type: string;
|
|
4142
|
+
};
|
|
4143
|
+
};
|
|
4144
|
+
};
|
|
4145
|
+
};
|
|
4146
|
+
};
|
|
4147
|
+
};
|
|
4148
|
+
};
|
|
4149
|
+
};
|
|
4150
|
+
"400": {
|
|
4151
|
+
content: {
|
|
4152
|
+
"application/json": {
|
|
4153
|
+
schema: {
|
|
4154
|
+
$ref: string;
|
|
4155
|
+
};
|
|
4156
|
+
};
|
|
4157
|
+
};
|
|
4158
|
+
};
|
|
4159
|
+
"404": {
|
|
4160
|
+
content: {
|
|
4161
|
+
"application/json": {
|
|
4162
|
+
schema: {
|
|
4163
|
+
$ref: string;
|
|
4164
|
+
};
|
|
4165
|
+
};
|
|
4166
|
+
};
|
|
4167
|
+
};
|
|
4168
|
+
};
|
|
4169
|
+
};
|
|
4170
|
+
};
|
|
4171
|
+
"/v1/project-registration/receipts/lookup": {
|
|
4172
|
+
post: {
|
|
4173
|
+
operationId: string;
|
|
4174
|
+
summary: string;
|
|
4175
|
+
requestBody: {
|
|
4176
|
+
required: boolean;
|
|
4177
|
+
content: {
|
|
4178
|
+
"application/json": {
|
|
4179
|
+
schema: {
|
|
4180
|
+
$ref: string;
|
|
4181
|
+
};
|
|
4182
|
+
};
|
|
4183
|
+
};
|
|
4184
|
+
};
|
|
4185
|
+
responses: {
|
|
4186
|
+
"200": {
|
|
4187
|
+
content: {
|
|
4188
|
+
"application/json": {
|
|
4189
|
+
schema: {
|
|
4190
|
+
type: string;
|
|
4191
|
+
additionalProperties: boolean;
|
|
4192
|
+
required: string[];
|
|
4193
|
+
properties: {
|
|
4194
|
+
receipt: {
|
|
4195
|
+
$ref: string;
|
|
4196
|
+
};
|
|
4197
|
+
response_control: {
|
|
4198
|
+
type: string;
|
|
4199
|
+
additionalProperties: boolean;
|
|
4200
|
+
required: string[];
|
|
4201
|
+
properties: {
|
|
4202
|
+
response_bytes: {
|
|
4203
|
+
type: string;
|
|
4204
|
+
minimum: number;
|
|
4205
|
+
};
|
|
4206
|
+
elapsed_ms: {
|
|
4207
|
+
type: string;
|
|
4208
|
+
minimum: number;
|
|
4209
|
+
};
|
|
4210
|
+
complete: {
|
|
4211
|
+
type: string;
|
|
4212
|
+
enum: boolean[];
|
|
4213
|
+
};
|
|
4214
|
+
truncated: {
|
|
4215
|
+
type: string;
|
|
4216
|
+
enum: boolean[];
|
|
4217
|
+
};
|
|
4218
|
+
response_byte_limit: {
|
|
4219
|
+
readonly type: "integer";
|
|
4220
|
+
readonly minimum: 1;
|
|
4221
|
+
};
|
|
4222
|
+
time_budget_ms: {
|
|
4223
|
+
readonly type: "integer";
|
|
4224
|
+
readonly minimum: 1;
|
|
4225
|
+
};
|
|
4226
|
+
};
|
|
4227
|
+
};
|
|
4228
|
+
};
|
|
4229
|
+
};
|
|
4230
|
+
};
|
|
4231
|
+
};
|
|
4232
|
+
};
|
|
4233
|
+
"400": {
|
|
4234
|
+
content: {
|
|
4235
|
+
"application/json": {
|
|
4236
|
+
schema: {
|
|
4237
|
+
$ref: string;
|
|
4238
|
+
};
|
|
4239
|
+
};
|
|
4240
|
+
};
|
|
4241
|
+
};
|
|
4242
|
+
"404": {
|
|
4243
|
+
content: {
|
|
4244
|
+
"application/json": {
|
|
4245
|
+
schema: {
|
|
4246
|
+
$ref: string;
|
|
4247
|
+
};
|
|
4248
|
+
};
|
|
4249
|
+
};
|
|
4250
|
+
};
|
|
4251
|
+
};
|
|
4252
|
+
};
|
|
4253
|
+
};
|
|
4254
|
+
"/v1/project-registration/validate-prior-adoption": {
|
|
4255
|
+
post: {
|
|
4256
|
+
operationId: string;
|
|
4257
|
+
summary: string;
|
|
4258
|
+
requestBody: {
|
|
4259
|
+
required: boolean;
|
|
4260
|
+
content: {
|
|
4261
|
+
"application/json": {
|
|
4262
|
+
schema: {
|
|
4263
|
+
type: string;
|
|
4264
|
+
additionalProperties: boolean;
|
|
4265
|
+
required: string[];
|
|
4266
|
+
properties: {
|
|
4267
|
+
source_request: {
|
|
4268
|
+
$ref: string;
|
|
4269
|
+
};
|
|
4270
|
+
source_receipt: {
|
|
4271
|
+
$ref: string;
|
|
4272
|
+
};
|
|
4273
|
+
current_record: {
|
|
4274
|
+
oneOf: {
|
|
4275
|
+
$ref: string;
|
|
4276
|
+
}[];
|
|
3411
4277
|
};
|
|
3412
4278
|
};
|
|
3413
4279
|
};
|
|
3414
4280
|
};
|
|
3415
4281
|
};
|
|
3416
4282
|
};
|
|
3417
|
-
};
|
|
3418
|
-
};
|
|
3419
|
-
"/v1/project-registration/resources": {
|
|
3420
|
-
get: {
|
|
3421
|
-
operationId: string;
|
|
3422
|
-
summary: string;
|
|
3423
|
-
parameters: ({
|
|
3424
|
-
name: string;
|
|
3425
|
-
in: string;
|
|
3426
|
-
required: boolean;
|
|
3427
|
-
schema: {
|
|
3428
|
-
type: string;
|
|
3429
|
-
default?: undefined;
|
|
3430
|
-
minimum?: undefined;
|
|
3431
|
-
maximum?: undefined;
|
|
3432
|
-
};
|
|
3433
|
-
} | {
|
|
3434
|
-
name: string;
|
|
3435
|
-
in: string;
|
|
3436
|
-
schema: {
|
|
3437
|
-
type: string;
|
|
3438
|
-
default: boolean;
|
|
3439
|
-
minimum?: undefined;
|
|
3440
|
-
maximum?: undefined;
|
|
3441
|
-
};
|
|
3442
|
-
required?: undefined;
|
|
3443
|
-
} | {
|
|
3444
|
-
name: string;
|
|
3445
|
-
in: string;
|
|
3446
|
-
schema: {
|
|
3447
|
-
type: string;
|
|
3448
|
-
minimum: number;
|
|
3449
|
-
maximum: number;
|
|
3450
|
-
default: number;
|
|
3451
|
-
};
|
|
3452
|
-
required?: undefined;
|
|
3453
|
-
} | {
|
|
3454
|
-
name: string;
|
|
3455
|
-
in: string;
|
|
3456
|
-
schema: {
|
|
3457
|
-
type: string;
|
|
3458
|
-
default?: undefined;
|
|
3459
|
-
minimum?: undefined;
|
|
3460
|
-
maximum?: undefined;
|
|
3461
|
-
};
|
|
3462
|
-
required?: undefined;
|
|
3463
|
-
})[];
|
|
3464
4283
|
responses: {
|
|
3465
4284
|
"200": {
|
|
3466
4285
|
content: {
|
|
@@ -3470,7 +4289,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3470
4289
|
additionalProperties: boolean;
|
|
3471
4290
|
required: string[];
|
|
3472
4291
|
properties: {
|
|
3473
|
-
|
|
4292
|
+
validation: {
|
|
3474
4293
|
$ref: string;
|
|
3475
4294
|
};
|
|
3476
4295
|
};
|
|
@@ -3508,7 +4327,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3508
4327
|
};
|
|
3509
4328
|
};
|
|
3510
4329
|
};
|
|
3511
|
-
"/v1/project-registration/
|
|
4330
|
+
"/v1/project-registration/compensate": {
|
|
3512
4331
|
post: {
|
|
3513
4332
|
operationId: string;
|
|
3514
4333
|
summary: string;
|
|
@@ -3548,6 +4367,15 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3548
4367
|
};
|
|
3549
4368
|
};
|
|
3550
4369
|
};
|
|
4370
|
+
"404": {
|
|
4371
|
+
content: {
|
|
4372
|
+
"application/json": {
|
|
4373
|
+
schema: {
|
|
4374
|
+
$ref: string;
|
|
4375
|
+
};
|
|
4376
|
+
};
|
|
4377
|
+
};
|
|
4378
|
+
};
|
|
3551
4379
|
"409": {
|
|
3552
4380
|
content: {
|
|
3553
4381
|
"application/json": {
|
|
@@ -3560,7 +4388,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3560
4388
|
};
|
|
3561
4389
|
};
|
|
3562
4390
|
};
|
|
3563
|
-
"/v1/project-registration/
|
|
4391
|
+
"/v1/project-registration/verify-inverse": {
|
|
3564
4392
|
post: {
|
|
3565
4393
|
operationId: string;
|
|
3566
4394
|
summary: string;
|
|
@@ -3569,27 +4397,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3569
4397
|
content: {
|
|
3570
4398
|
"application/json": {
|
|
3571
4399
|
schema: {
|
|
3572
|
-
|
|
3573
|
-
additionalProperties: boolean;
|
|
3574
|
-
required: string[];
|
|
3575
|
-
properties: {
|
|
3576
|
-
response_byte_limit: {
|
|
3577
|
-
readonly type: "integer";
|
|
3578
|
-
readonly minimum: 1;
|
|
3579
|
-
};
|
|
3580
|
-
time_budget_ms: {
|
|
3581
|
-
readonly type: "integer";
|
|
3582
|
-
readonly minimum: 1;
|
|
3583
|
-
};
|
|
3584
|
-
resource_kind: {
|
|
3585
|
-
type: string;
|
|
3586
|
-
enum: string[];
|
|
3587
|
-
};
|
|
3588
|
-
target_id: {
|
|
3589
|
-
type: string;
|
|
3590
|
-
format: string;
|
|
3591
|
-
};
|
|
3592
|
-
};
|
|
4400
|
+
$ref: string;
|
|
3593
4401
|
};
|
|
3594
4402
|
};
|
|
3595
4403
|
};
|
|
@@ -3603,7 +4411,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3603
4411
|
additionalProperties: boolean;
|
|
3604
4412
|
required: string[];
|
|
3605
4413
|
properties: {
|
|
3606
|
-
|
|
4414
|
+
verification: {
|
|
3607
4415
|
type: string;
|
|
3608
4416
|
additionalProperties: boolean;
|
|
3609
4417
|
required: string[];
|
|
@@ -3612,8 +4420,12 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3612
4420
|
type: string;
|
|
3613
4421
|
format: string;
|
|
3614
4422
|
};
|
|
3615
|
-
|
|
4423
|
+
accepted_receipt_id: {
|
|
4424
|
+
type: string;
|
|
4425
|
+
};
|
|
4426
|
+
absent: {
|
|
3616
4427
|
type: string;
|
|
4428
|
+
enum: boolean[];
|
|
3617
4429
|
};
|
|
3618
4430
|
digest: {
|
|
3619
4431
|
type: string;
|
|
@@ -3643,23 +4455,22 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3643
4455
|
};
|
|
3644
4456
|
};
|
|
3645
4457
|
};
|
|
4458
|
+
"409": {
|
|
4459
|
+
content: {
|
|
4460
|
+
"application/json": {
|
|
4461
|
+
schema: {
|
|
4462
|
+
$ref: string;
|
|
4463
|
+
};
|
|
4464
|
+
};
|
|
4465
|
+
};
|
|
4466
|
+
};
|
|
3646
4467
|
};
|
|
3647
4468
|
};
|
|
3648
4469
|
};
|
|
3649
|
-
"/v1/
|
|
3650
|
-
|
|
4470
|
+
"/v1/task-subtree-transfer/capability": {
|
|
4471
|
+
get: {
|
|
3651
4472
|
operationId: string;
|
|
3652
4473
|
summary: string;
|
|
3653
|
-
requestBody: {
|
|
3654
|
-
required: boolean;
|
|
3655
|
-
content: {
|
|
3656
|
-
"application/json": {
|
|
3657
|
-
schema: {
|
|
3658
|
-
$ref: string;
|
|
3659
|
-
};
|
|
3660
|
-
};
|
|
3661
|
-
};
|
|
3662
|
-
};
|
|
3663
4474
|
responses: {
|
|
3664
4475
|
"200": {
|
|
3665
4476
|
content: {
|
|
@@ -3669,46 +4480,15 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3669
4480
|
additionalProperties: boolean;
|
|
3670
4481
|
required: string[];
|
|
3671
4482
|
properties: {
|
|
3672
|
-
|
|
4483
|
+
capability: {
|
|
3673
4484
|
$ref: string;
|
|
3674
4485
|
};
|
|
3675
|
-
response_control: {
|
|
3676
|
-
type: string;
|
|
3677
|
-
additionalProperties: boolean;
|
|
3678
|
-
required: string[];
|
|
3679
|
-
properties: {
|
|
3680
|
-
response_bytes: {
|
|
3681
|
-
type: string;
|
|
3682
|
-
minimum: number;
|
|
3683
|
-
};
|
|
3684
|
-
elapsed_ms: {
|
|
3685
|
-
type: string;
|
|
3686
|
-
minimum: number;
|
|
3687
|
-
};
|
|
3688
|
-
complete: {
|
|
3689
|
-
type: string;
|
|
3690
|
-
enum: boolean[];
|
|
3691
|
-
};
|
|
3692
|
-
truncated: {
|
|
3693
|
-
type: string;
|
|
3694
|
-
enum: boolean[];
|
|
3695
|
-
};
|
|
3696
|
-
response_byte_limit: {
|
|
3697
|
-
readonly type: "integer";
|
|
3698
|
-
readonly minimum: 1;
|
|
3699
|
-
};
|
|
3700
|
-
time_budget_ms: {
|
|
3701
|
-
readonly type: "integer";
|
|
3702
|
-
readonly minimum: 1;
|
|
3703
|
-
};
|
|
3704
|
-
};
|
|
3705
|
-
};
|
|
3706
4486
|
};
|
|
3707
4487
|
};
|
|
3708
4488
|
};
|
|
3709
4489
|
};
|
|
3710
4490
|
};
|
|
3711
|
-
"
|
|
4491
|
+
"401": {
|
|
3712
4492
|
content: {
|
|
3713
4493
|
"application/json": {
|
|
3714
4494
|
schema: {
|
|
@@ -3717,7 +4497,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3717
4497
|
};
|
|
3718
4498
|
};
|
|
3719
4499
|
};
|
|
3720
|
-
"
|
|
4500
|
+
"503": {
|
|
3721
4501
|
content: {
|
|
3722
4502
|
"application/json": {
|
|
3723
4503
|
schema: {
|
|
@@ -3729,7 +4509,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3729
4509
|
};
|
|
3730
4510
|
};
|
|
3731
4511
|
};
|
|
3732
|
-
"/v1/
|
|
4512
|
+
"/v1/task-subtree-transfer/inspect": {
|
|
3733
4513
|
post: {
|
|
3734
4514
|
operationId: string;
|
|
3735
4515
|
summary: string;
|
|
@@ -3738,22 +4518,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3738
4518
|
content: {
|
|
3739
4519
|
"application/json": {
|
|
3740
4520
|
schema: {
|
|
3741
|
-
|
|
3742
|
-
additionalProperties: boolean;
|
|
3743
|
-
required: string[];
|
|
3744
|
-
properties: {
|
|
3745
|
-
source_request: {
|
|
3746
|
-
$ref: string;
|
|
3747
|
-
};
|
|
3748
|
-
source_receipt: {
|
|
3749
|
-
$ref: string;
|
|
3750
|
-
};
|
|
3751
|
-
current_record: {
|
|
3752
|
-
oneOf: {
|
|
3753
|
-
$ref: string;
|
|
3754
|
-
}[];
|
|
3755
|
-
};
|
|
3756
|
-
};
|
|
4521
|
+
$ref: string;
|
|
3757
4522
|
};
|
|
3758
4523
|
};
|
|
3759
4524
|
};
|
|
@@ -3767,7 +4532,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3767
4532
|
additionalProperties: boolean;
|
|
3768
4533
|
required: string[];
|
|
3769
4534
|
properties: {
|
|
3770
|
-
|
|
4535
|
+
inspection: {
|
|
3771
4536
|
$ref: string;
|
|
3772
4537
|
};
|
|
3773
4538
|
};
|
|
@@ -3805,7 +4570,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3805
4570
|
};
|
|
3806
4571
|
};
|
|
3807
4572
|
};
|
|
3808
|
-
"/v1/
|
|
4573
|
+
"/v1/task-subtree-transfer/apply": {
|
|
3809
4574
|
post: {
|
|
3810
4575
|
operationId: string;
|
|
3811
4576
|
summary: string;
|
|
@@ -3828,7 +4593,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3828
4593
|
additionalProperties: boolean;
|
|
3829
4594
|
required: string[];
|
|
3830
4595
|
properties: {
|
|
3831
|
-
|
|
4596
|
+
result: {
|
|
3832
4597
|
$ref: string;
|
|
3833
4598
|
};
|
|
3834
4599
|
};
|
|
@@ -3845,7 +4610,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3845
4610
|
};
|
|
3846
4611
|
};
|
|
3847
4612
|
};
|
|
3848
|
-
"
|
|
4613
|
+
"409": {
|
|
3849
4614
|
content: {
|
|
3850
4615
|
"application/json": {
|
|
3851
4616
|
schema: {
|
|
@@ -3854,7 +4619,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3854
4619
|
};
|
|
3855
4620
|
};
|
|
3856
4621
|
};
|
|
3857
|
-
"
|
|
4622
|
+
"503": {
|
|
3858
4623
|
content: {
|
|
3859
4624
|
"application/json": {
|
|
3860
4625
|
schema: {
|
|
@@ -3866,7 +4631,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3866
4631
|
};
|
|
3867
4632
|
};
|
|
3868
4633
|
};
|
|
3869
|
-
"/v1/
|
|
4634
|
+
"/v1/task-subtree-transfer/read-exact": {
|
|
3870
4635
|
post: {
|
|
3871
4636
|
operationId: string;
|
|
3872
4637
|
summary: string;
|
|
@@ -3889,26 +4654,51 @@ export declare function buildV1OpenApiDocument(version?: string): {
|
|
|
3889
4654
|
additionalProperties: boolean;
|
|
3890
4655
|
required: string[];
|
|
3891
4656
|
properties: {
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
4657
|
+
result: {
|
|
4658
|
+
$ref: string;
|
|
4659
|
+
};
|
|
4660
|
+
};
|
|
4661
|
+
};
|
|
4662
|
+
};
|
|
4663
|
+
};
|
|
4664
|
+
};
|
|
4665
|
+
"404": {
|
|
4666
|
+
content: {
|
|
4667
|
+
"application/json": {
|
|
4668
|
+
schema: {
|
|
4669
|
+
$ref: string;
|
|
4670
|
+
};
|
|
4671
|
+
};
|
|
4672
|
+
};
|
|
4673
|
+
};
|
|
4674
|
+
};
|
|
4675
|
+
};
|
|
4676
|
+
};
|
|
4677
|
+
"/v1/task-subtree-transfer/rollback": {
|
|
4678
|
+
post: {
|
|
4679
|
+
operationId: string;
|
|
4680
|
+
summary: string;
|
|
4681
|
+
requestBody: {
|
|
4682
|
+
required: boolean;
|
|
4683
|
+
content: {
|
|
4684
|
+
"application/json": {
|
|
4685
|
+
schema: {
|
|
4686
|
+
$ref: string;
|
|
4687
|
+
};
|
|
4688
|
+
};
|
|
4689
|
+
};
|
|
4690
|
+
};
|
|
4691
|
+
responses: {
|
|
4692
|
+
"201": {
|
|
4693
|
+
content: {
|
|
4694
|
+
"application/json": {
|
|
4695
|
+
schema: {
|
|
4696
|
+
type: string;
|
|
4697
|
+
additionalProperties: boolean;
|
|
4698
|
+
required: string[];
|
|
4699
|
+
properties: {
|
|
4700
|
+
result: {
|
|
4701
|
+
$ref: string;
|
|
3912
4702
|
};
|
|
3913
4703
|
};
|
|
3914
4704
|
};
|