@hasna/todos 0.15.7 → 0.15.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/cli/cloud-router.d.ts +26 -1
  2. package/dist/cli/cloud-router.d.ts.map +1 -1
  3. package/dist/cli/commands/plan-template-commands.d.ts.map +1 -1
  4. package/dist/cli/commands/project-commands.d.ts.map +1 -1
  5. package/dist/cli/commands/task-commands.d.ts.map +1 -1
  6. package/dist/cli/index.js +3836 -1465
  7. package/dist/contracts.js +143 -10
  8. package/dist/db/migrations.d.ts.map +1 -1
  9. package/dist/db/plan-project-links.d.ts +8 -0
  10. package/dist/db/plan-project-links.d.ts.map +1 -0
  11. package/dist/db/plan-row-serialization.d.ts +8 -0
  12. package/dist/db/plan-row-serialization.d.ts.map +1 -0
  13. package/dist/db/plans.d.ts.map +1 -1
  14. package/dist/db/task-crud.d.ts.map +1 -1
  15. package/dist/db/task-lists.d.ts +5 -0
  16. package/dist/db/task-lists.d.ts.map +1 -1
  17. package/dist/index.d.ts +2 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +8037 -1112
  20. package/dist/lib/assignee-validation.d.ts +44 -0
  21. package/dist/lib/assignee-validation.d.ts.map +1 -1
  22. package/dist/lib/plan-project-link-contract.d.ts +17 -0
  23. package/dist/lib/plan-project-link-contract.d.ts.map +1 -0
  24. package/dist/lib/plan-project-link.d.ts +14 -0
  25. package/dist/lib/plan-project-link.d.ts.map +1 -0
  26. package/dist/lib/project-task-list-ensure.d.ts +19 -0
  27. package/dist/lib/project-task-list-ensure.d.ts.map +1 -0
  28. package/dist/mcp/index.js +2234 -31
  29. package/dist/mcp.js +7 -3
  30. package/dist/project-registration/sqlite.d.ts.map +1 -1
  31. package/dist/project-registration.js +1335 -60
  32. package/dist/registry.d.ts +1 -1
  33. package/dist/registry.d.ts.map +1 -1
  34. package/dist/registry.js +150 -10
  35. package/dist/release-provenance.json +5 -5
  36. package/dist/sdk/index.d.ts +1 -1
  37. package/dist/sdk/index.d.ts.map +1 -1
  38. package/dist/sdk/index.js +42 -0
  39. package/dist/sdk/v1.generated.d.ts +96 -0
  40. package/dist/sdk/v1.generated.d.ts.map +1 -1
  41. package/dist/server/index.js +2419 -216
  42. package/dist/server/openapi.d.ts +705 -24
  43. package/dist/server/openapi.d.ts.map +1 -1
  44. package/dist/server/v1.d.ts.map +1 -1
  45. package/dist/storage/interfaces.d.ts +37 -1
  46. package/dist/storage/interfaces.d.ts.map +1 -1
  47. package/dist/storage/local-sqlite.d.ts.map +1 -1
  48. package/dist/storage/postgres-adapter.d.ts.map +1 -1
  49. package/dist/storage/postgres-sync.d.ts.map +1 -1
  50. package/dist/storage.js +870 -20
  51. package/dist/task-manifest/authority.d.ts +19 -0
  52. package/dist/task-manifest/authority.d.ts.map +1 -0
  53. package/dist/task-manifest/backend.d.ts +27 -0
  54. package/dist/task-manifest/backend.d.ts.map +1 -0
  55. package/dist/task-manifest/canonical.d.ts +4 -0
  56. package/dist/task-manifest/canonical.d.ts.map +1 -0
  57. package/dist/task-manifest/http.d.ts +16 -0
  58. package/dist/task-manifest/http.d.ts.map +1 -0
  59. package/dist/task-manifest/index.d.ts +10 -0
  60. package/dist/task-manifest/index.d.ts.map +1 -0
  61. package/dist/task-manifest/postgres.d.ts +18 -0
  62. package/dist/task-manifest/postgres.d.ts.map +1 -0
  63. package/dist/task-manifest/reference-guard.d.ts +27 -0
  64. package/dist/task-manifest/reference-guard.d.ts.map +1 -0
  65. package/dist/task-manifest/schema-sql.d.ts +3 -0
  66. package/dist/task-manifest/schema-sql.d.ts.map +1 -0
  67. package/dist/task-manifest/schema.d.ts +15 -0
  68. package/dist/task-manifest/schema.d.ts.map +1 -0
  69. package/dist/task-manifest/sqlite.d.ts +15 -0
  70. package/dist/task-manifest/sqlite.d.ts.map +1 -0
  71. package/dist/task-manifest/types.d.ts +166 -0
  72. package/dist/task-manifest/types.d.ts.map +1 -0
  73. package/dist/task-manifest.d.ts +2 -0
  74. package/dist/task-manifest.d.ts.map +1 -0
  75. package/dist/task-manifest.js +6816 -0
  76. package/dist/types/index.d.ts +89 -2
  77. package/dist/types/index.d.ts.map +1 -1
  78. package/package.json +7 -3
@@ -131,6 +131,111 @@ export declare function buildV1OpenApiDocument(version?: string): {
131
131
  };
132
132
  };
133
133
  };
134
+ ProjectTaskListEnsureReceipt: {
135
+ readonly type: "object";
136
+ readonly additionalProperties: false;
137
+ 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"];
138
+ readonly properties: {
139
+ readonly schema_version: {
140
+ readonly type: "string";
141
+ readonly enum: readonly ["todos.project-task-list-ensure.v1"];
142
+ };
143
+ readonly receipt_id: {
144
+ readonly type: "string";
145
+ };
146
+ readonly idempotency_key: {
147
+ readonly type: "string";
148
+ };
149
+ readonly project_id: {
150
+ readonly type: "string";
151
+ };
152
+ readonly task_list_id: {
153
+ readonly type: "string";
154
+ };
155
+ readonly slug: {
156
+ readonly type: "string";
157
+ };
158
+ readonly created_by_operation: {
159
+ readonly type: "boolean";
160
+ };
161
+ readonly result_revision: {
162
+ readonly type: "string";
163
+ };
164
+ readonly result_digest: {
165
+ readonly type: "string";
166
+ };
167
+ readonly rollback_supported: {
168
+ readonly type: "boolean";
169
+ };
170
+ readonly created_at: {
171
+ readonly type: "string";
172
+ readonly format: "date-time";
173
+ };
174
+ };
175
+ };
176
+ ProjectTaskListEnsureResult: {
177
+ readonly type: "object";
178
+ readonly additionalProperties: false;
179
+ readonly required: readonly ["mode", "action", "project", "task_list", "receipt"];
180
+ readonly properties: {
181
+ readonly mode: {
182
+ readonly type: "string";
183
+ readonly enum: readonly ["plan", "apply"];
184
+ };
185
+ readonly action: {
186
+ readonly type: "string";
187
+ readonly enum: readonly ["would_create", "created", "already_present"];
188
+ };
189
+ readonly project: {
190
+ readonly $ref: "#/components/schemas/Project";
191
+ };
192
+ readonly task_list: {
193
+ readonly oneOf: readonly [{
194
+ readonly $ref: "#/components/schemas/TaskList";
195
+ }, {
196
+ readonly type: "null";
197
+ }];
198
+ };
199
+ readonly receipt: {
200
+ readonly oneOf: readonly [{
201
+ readonly $ref: "#/components/schemas/ProjectTaskListEnsureReceipt";
202
+ }, {
203
+ readonly type: "null";
204
+ }];
205
+ };
206
+ };
207
+ };
208
+ ProjectTaskListRollbackResult: {
209
+ readonly type: "object";
210
+ readonly additionalProperties: false;
211
+ readonly required: readonly ["schema_version", "action", "project_id", "task_list_id", "accepted_receipt_id", "rollback_receipt_id", "removed_at"];
212
+ readonly properties: {
213
+ readonly schema_version: {
214
+ readonly type: "string";
215
+ readonly enum: readonly ["todos.project-task-list-ensure.v1"];
216
+ };
217
+ readonly action: {
218
+ readonly type: "string";
219
+ readonly enum: readonly ["removed"];
220
+ };
221
+ readonly project_id: {
222
+ readonly type: "string";
223
+ };
224
+ readonly task_list_id: {
225
+ readonly type: "string";
226
+ };
227
+ readonly accepted_receipt_id: {
228
+ readonly type: "string";
229
+ };
230
+ readonly rollback_receipt_id: {
231
+ readonly type: "string";
232
+ };
233
+ readonly removed_at: {
234
+ readonly type: "string";
235
+ readonly format: "date-time";
236
+ };
237
+ };
238
+ };
134
239
  TaskComment: {
135
240
  readonly type: "object";
136
241
  readonly required: readonly ["id", "task_id", "agent_id", "session_id", "content", "type", "progress_pct", "created_at"];
@@ -210,6 +315,132 @@ export declare function buildV1OpenApiDocument(version?: string): {
210
315
  };
211
316
  };
212
317
  };
318
+ PlanProjectLinkReceipt: {
319
+ readonly type: "object";
320
+ readonly additionalProperties: false;
321
+ 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"];
322
+ readonly properties: {
323
+ readonly schema_version: {
324
+ readonly type: "string";
325
+ readonly enum: readonly ["todos.plan-project-link.v1"];
326
+ };
327
+ readonly receipt_id: {
328
+ readonly type: "string";
329
+ };
330
+ readonly idempotency_key: {
331
+ readonly type: "string";
332
+ };
333
+ readonly plan_id: {
334
+ readonly type: "string";
335
+ };
336
+ readonly project_id: {
337
+ readonly type: "string";
338
+ };
339
+ readonly prior_plan_project_id: {
340
+ readonly type: "string";
341
+ readonly nullable: true;
342
+ };
343
+ readonly prior_task_project_ids: {
344
+ readonly type: "object";
345
+ readonly additionalProperties: {
346
+ readonly type: "string";
347
+ readonly nullable: true;
348
+ };
349
+ };
350
+ readonly task_ids: {
351
+ readonly type: "array";
352
+ readonly items: {
353
+ readonly type: "string";
354
+ };
355
+ };
356
+ readonly task_count: {
357
+ readonly type: "integer";
358
+ readonly minimum: 0;
359
+ };
360
+ readonly result_plan_revision: {
361
+ readonly type: "string";
362
+ };
363
+ readonly result_digest: {
364
+ readonly type: "string";
365
+ };
366
+ readonly rollback_supported: {
367
+ readonly type: "boolean";
368
+ readonly enum: readonly [true];
369
+ };
370
+ readonly created_at: {
371
+ readonly type: "string";
372
+ readonly format: "date-time";
373
+ };
374
+ };
375
+ };
376
+ PlanProjectLinkResult: {
377
+ readonly type: "object";
378
+ readonly additionalProperties: false;
379
+ readonly required: readonly ["mode", "action", "plan", "project", "tasks", "receipt"];
380
+ readonly properties: {
381
+ readonly mode: {
382
+ readonly type: "string";
383
+ readonly enum: readonly ["plan", "apply"];
384
+ };
385
+ readonly action: {
386
+ readonly type: "string";
387
+ readonly enum: readonly ["would_link", "linked", "already_linked"];
388
+ };
389
+ readonly plan: {
390
+ readonly $ref: "#/components/schemas/Plan";
391
+ };
392
+ readonly project: {
393
+ readonly $ref: "#/components/schemas/Project";
394
+ };
395
+ readonly tasks: {
396
+ readonly type: "array";
397
+ readonly items: {
398
+ readonly $ref: "#/components/schemas/Task";
399
+ };
400
+ };
401
+ readonly receipt: {
402
+ readonly oneOf: readonly [{
403
+ readonly $ref: "#/components/schemas/PlanProjectLinkReceipt";
404
+ }, {
405
+ readonly type: "null";
406
+ }];
407
+ };
408
+ };
409
+ };
410
+ PlanProjectLinkRollbackResult: {
411
+ readonly type: "object";
412
+ readonly additionalProperties: false;
413
+ readonly required: readonly ["schema_version", "action", "plan", "tasks", "accepted_receipt_id", "rollback_receipt_id", "restored_at"];
414
+ readonly properties: {
415
+ readonly schema_version: {
416
+ readonly type: "string";
417
+ readonly enum: readonly ["todos.plan-project-link.v1"];
418
+ };
419
+ readonly action: {
420
+ readonly type: "string";
421
+ readonly enum: readonly ["restored"];
422
+ };
423
+ readonly plan: {
424
+ readonly $ref: "#/components/schemas/Plan";
425
+ };
426
+ readonly tasks: {
427
+ readonly type: "array";
428
+ readonly items: {
429
+ readonly $ref: "#/components/schemas/Task";
430
+ };
431
+ };
432
+ readonly accepted_receipt_id: {
433
+ readonly type: "string";
434
+ };
435
+ readonly rollback_receipt_id: {
436
+ readonly type: "string";
437
+ };
438
+ readonly restored_at: {
439
+ readonly type: "string";
440
+ readonly format: "date-time";
441
+ };
442
+ };
443
+ };
213
444
  Template: {
214
445
  readonly type: "object";
215
446
  readonly required: readonly ["id", "name", "title_pattern", "priority", "tags", "variables", "version", "metadata", "created_at"];
@@ -443,6 +674,9 @@ export declare function buildV1OpenApiDocument(version?: string): {
443
674
  project_id: {
444
675
  type: string;
445
676
  };
677
+ plan_id: {
678
+ type: string;
679
+ };
446
680
  assigned_to: {
447
681
  type: string;
448
682
  };
@@ -479,6 +713,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
479
713
  type: string;
480
714
  nullable: boolean;
481
715
  };
716
+ plan_id: {
717
+ type: string;
718
+ nullable: boolean;
719
+ };
482
720
  task_list_id: {
483
721
  type: string;
484
722
  nullable: boolean;
@@ -589,6 +827,82 @@ export declare function buildV1OpenApiDocument(version?: string): {
589
827
  };
590
828
  };
591
829
  };
830
+ ProjectTaskListEnsureApplyInput: {
831
+ type: string;
832
+ additionalProperties: boolean;
833
+ required: string[];
834
+ properties: {
835
+ expected_project_revision: {
836
+ type: string;
837
+ minLength: number;
838
+ };
839
+ idempotency_key: {
840
+ type: string;
841
+ minLength: number;
842
+ maxLength: number;
843
+ pattern: string;
844
+ };
845
+ };
846
+ };
847
+ ProjectTaskListRollbackInput: {
848
+ type: string;
849
+ additionalProperties: boolean;
850
+ required: string[];
851
+ properties: {
852
+ receipt_id: {
853
+ type: string;
854
+ minLength: number;
855
+ };
856
+ expected_task_list_revision: {
857
+ type: string;
858
+ minLength: number;
859
+ };
860
+ };
861
+ };
862
+ PlanProjectLinkApplyInput: {
863
+ type: string;
864
+ additionalProperties: boolean;
865
+ required: string[];
866
+ properties: {
867
+ project_id: {
868
+ type: string;
869
+ minLength: number;
870
+ };
871
+ expected_plan_revision: {
872
+ type: string;
873
+ minLength: number;
874
+ };
875
+ expected_project_revision: {
876
+ type: string;
877
+ minLength: number;
878
+ };
879
+ idempotency_key: {
880
+ type: string;
881
+ minLength: number;
882
+ maxLength: number;
883
+ pattern: string;
884
+ };
885
+ };
886
+ };
887
+ PlanProjectLinkRollbackInput: {
888
+ type: string;
889
+ additionalProperties: boolean;
890
+ required: string[];
891
+ properties: {
892
+ project_id: {
893
+ type: string;
894
+ minLength: number;
895
+ };
896
+ receipt_id: {
897
+ type: string;
898
+ minLength: number;
899
+ };
900
+ expected_plan_revision: {
901
+ type: string;
902
+ minLength: number;
903
+ };
904
+ };
905
+ };
592
906
  ErrorResponse: {
593
907
  type: string;
594
908
  required: string[];
@@ -1921,6 +2235,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
1921
2235
  })[];
1922
2236
  type?: undefined;
1923
2237
  nullable?: undefined;
2238
+ format?: undefined;
1924
2239
  minimum?: undefined;
1925
2240
  };
1926
2241
  } | {
@@ -1944,6 +2259,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
1944
2259
  })[];
1945
2260
  type?: undefined;
1946
2261
  nullable?: undefined;
2262
+ format?: undefined;
1947
2263
  minimum?: undefined;
1948
2264
  };
1949
2265
  } | {
@@ -1953,6 +2269,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
1953
2269
  type: string;
1954
2270
  oneOf?: undefined;
1955
2271
  nullable?: undefined;
2272
+ format?: undefined;
1956
2273
  minimum?: undefined;
1957
2274
  };
1958
2275
  description?: undefined;
@@ -1965,6 +2282,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
1965
2282
  type: string;
1966
2283
  nullable: boolean;
1967
2284
  oneOf?: undefined;
2285
+ format?: undefined;
1968
2286
  minimum?: undefined;
1969
2287
  };
1970
2288
  description?: undefined;
@@ -1977,6 +2295,20 @@ export declare function buildV1OpenApiDocument(version?: string): {
1977
2295
  type: string;
1978
2296
  oneOf?: undefined;
1979
2297
  nullable?: undefined;
2298
+ format?: undefined;
2299
+ minimum?: undefined;
2300
+ };
2301
+ description: string;
2302
+ style?: undefined;
2303
+ explode?: undefined;
2304
+ } | {
2305
+ name: string;
2306
+ in: string;
2307
+ schema: {
2308
+ type: string;
2309
+ format: string;
2310
+ oneOf?: undefined;
2311
+ nullable?: undefined;
1980
2312
  minimum?: undefined;
1981
2313
  };
1982
2314
  description: string;
@@ -1990,6 +2322,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
1990
2322
  minimum: number;
1991
2323
  oneOf?: undefined;
1992
2324
  nullable?: undefined;
2325
+ format?: undefined;
1993
2326
  };
1994
2327
  description?: undefined;
1995
2328
  style?: undefined;
@@ -2503,8 +2836,8 @@ export declare function buildV1OpenApiDocument(version?: string): {
2503
2836
  };
2504
2837
  };
2505
2838
  };
2506
- "/v1/projects/{id}/rename": {
2507
- post: {
2839
+ "/v1/projects/{id}/task-list/ensure": {
2840
+ get: {
2508
2841
  operationId: string;
2509
2842
  summary: string;
2510
2843
  parameters: {
@@ -2515,35 +2848,17 @@ export declare function buildV1OpenApiDocument(version?: string): {
2515
2848
  type: string;
2516
2849
  };
2517
2850
  }[];
2518
- requestBody: {
2519
- required: boolean;
2520
- content: {
2521
- "application/json": {
2522
- schema: {
2523
- $ref: string;
2524
- };
2525
- };
2526
- };
2527
- };
2528
2851
  responses: {
2529
2852
  "200": {
2530
2853
  content: {
2531
2854
  "application/json": {
2532
2855
  schema: {
2533
- type: string;
2534
- properties: {
2535
- project: {
2536
- $ref: string;
2537
- };
2538
- task_lists_updated: {
2539
- type: string;
2540
- };
2541
- };
2856
+ $ref: string;
2542
2857
  };
2543
2858
  };
2544
2859
  };
2545
2860
  };
2546
- "409": {
2861
+ "404": {
2547
2862
  content: {
2548
2863
  "application/json": {
2549
2864
  schema: {
@@ -2552,8 +2867,200 @@ export declare function buildV1OpenApiDocument(version?: string): {
2552
2867
  };
2553
2868
  };
2554
2869
  };
2555
- };
2556
- };
2870
+ "409": {
2871
+ content: {
2872
+ "application/json": {
2873
+ schema: {
2874
+ $ref: string;
2875
+ };
2876
+ };
2877
+ };
2878
+ };
2879
+ };
2880
+ };
2881
+ post: {
2882
+ operationId: string;
2883
+ summary: string;
2884
+ parameters: {
2885
+ name: string;
2886
+ in: string;
2887
+ required: boolean;
2888
+ schema: {
2889
+ type: string;
2890
+ };
2891
+ }[];
2892
+ requestBody: {
2893
+ required: boolean;
2894
+ content: {
2895
+ "application/json": {
2896
+ schema: {
2897
+ $ref: string;
2898
+ };
2899
+ };
2900
+ };
2901
+ };
2902
+ responses: {
2903
+ "200": {
2904
+ content: {
2905
+ "application/json": {
2906
+ schema: {
2907
+ $ref: string;
2908
+ };
2909
+ };
2910
+ };
2911
+ };
2912
+ "201": {
2913
+ content: {
2914
+ "application/json": {
2915
+ schema: {
2916
+ $ref: string;
2917
+ };
2918
+ };
2919
+ };
2920
+ };
2921
+ "400": {
2922
+ content: {
2923
+ "application/json": {
2924
+ schema: {
2925
+ $ref: string;
2926
+ };
2927
+ };
2928
+ };
2929
+ };
2930
+ "404": {
2931
+ content: {
2932
+ "application/json": {
2933
+ schema: {
2934
+ $ref: string;
2935
+ };
2936
+ };
2937
+ };
2938
+ };
2939
+ "409": {
2940
+ content: {
2941
+ "application/json": {
2942
+ schema: {
2943
+ $ref: string;
2944
+ };
2945
+ };
2946
+ };
2947
+ };
2948
+ };
2949
+ };
2950
+ };
2951
+ "/v1/projects/{id}/task-list/rollback": {
2952
+ post: {
2953
+ operationId: string;
2954
+ summary: string;
2955
+ parameters: {
2956
+ name: string;
2957
+ in: string;
2958
+ required: boolean;
2959
+ schema: {
2960
+ type: string;
2961
+ };
2962
+ }[];
2963
+ requestBody: {
2964
+ required: boolean;
2965
+ content: {
2966
+ "application/json": {
2967
+ schema: {
2968
+ $ref: string;
2969
+ };
2970
+ };
2971
+ };
2972
+ };
2973
+ responses: {
2974
+ "200": {
2975
+ content: {
2976
+ "application/json": {
2977
+ schema: {
2978
+ $ref: string;
2979
+ };
2980
+ };
2981
+ };
2982
+ };
2983
+ "400": {
2984
+ content: {
2985
+ "application/json": {
2986
+ schema: {
2987
+ $ref: string;
2988
+ };
2989
+ };
2990
+ };
2991
+ };
2992
+ "404": {
2993
+ content: {
2994
+ "application/json": {
2995
+ schema: {
2996
+ $ref: string;
2997
+ };
2998
+ };
2999
+ };
3000
+ };
3001
+ "409": {
3002
+ content: {
3003
+ "application/json": {
3004
+ schema: {
3005
+ $ref: string;
3006
+ };
3007
+ };
3008
+ };
3009
+ };
3010
+ };
3011
+ };
3012
+ };
3013
+ "/v1/projects/{id}/rename": {
3014
+ post: {
3015
+ operationId: string;
3016
+ summary: string;
3017
+ parameters: {
3018
+ name: string;
3019
+ in: string;
3020
+ required: boolean;
3021
+ schema: {
3022
+ type: string;
3023
+ };
3024
+ }[];
3025
+ requestBody: {
3026
+ required: boolean;
3027
+ content: {
3028
+ "application/json": {
3029
+ schema: {
3030
+ $ref: string;
3031
+ };
3032
+ };
3033
+ };
3034
+ };
3035
+ responses: {
3036
+ "200": {
3037
+ content: {
3038
+ "application/json": {
3039
+ schema: {
3040
+ type: string;
3041
+ properties: {
3042
+ project: {
3043
+ $ref: string;
3044
+ };
3045
+ task_lists_updated: {
3046
+ type: string;
3047
+ };
3048
+ };
3049
+ };
3050
+ };
3051
+ };
3052
+ };
3053
+ "409": {
3054
+ content: {
3055
+ "application/json": {
3056
+ schema: {
3057
+ $ref: string;
3058
+ };
3059
+ };
3060
+ };
3061
+ };
3062
+ };
3063
+ };
2557
3064
  };
2558
3065
  "/v1/plans": {
2559
3066
  get: {
@@ -2737,6 +3244,180 @@ export declare function buildV1OpenApiDocument(version?: string): {
2737
3244
  };
2738
3245
  };
2739
3246
  };
3247
+ "/v1/plans/{id}/project-link": {
3248
+ get: {
3249
+ operationId: string;
3250
+ summary: string;
3251
+ parameters: {
3252
+ name: string;
3253
+ in: string;
3254
+ required: boolean;
3255
+ schema: {
3256
+ type: string;
3257
+ };
3258
+ }[];
3259
+ responses: {
3260
+ "200": {
3261
+ content: {
3262
+ "application/json": {
3263
+ schema: {
3264
+ $ref: string;
3265
+ };
3266
+ };
3267
+ };
3268
+ };
3269
+ "404": {
3270
+ content: {
3271
+ "application/json": {
3272
+ schema: {
3273
+ $ref: string;
3274
+ };
3275
+ };
3276
+ };
3277
+ };
3278
+ "409": {
3279
+ content: {
3280
+ "application/json": {
3281
+ schema: {
3282
+ $ref: string;
3283
+ };
3284
+ };
3285
+ };
3286
+ };
3287
+ };
3288
+ };
3289
+ post: {
3290
+ operationId: string;
3291
+ summary: string;
3292
+ parameters: {
3293
+ name: string;
3294
+ in: string;
3295
+ required: boolean;
3296
+ schema: {
3297
+ type: string;
3298
+ };
3299
+ }[];
3300
+ requestBody: {
3301
+ required: boolean;
3302
+ content: {
3303
+ "application/json": {
3304
+ schema: {
3305
+ $ref: string;
3306
+ };
3307
+ };
3308
+ };
3309
+ };
3310
+ responses: {
3311
+ "200": {
3312
+ content: {
3313
+ "application/json": {
3314
+ schema: {
3315
+ $ref: string;
3316
+ };
3317
+ };
3318
+ };
3319
+ };
3320
+ "201": {
3321
+ content: {
3322
+ "application/json": {
3323
+ schema: {
3324
+ $ref: string;
3325
+ };
3326
+ };
3327
+ };
3328
+ };
3329
+ "400": {
3330
+ content: {
3331
+ "application/json": {
3332
+ schema: {
3333
+ $ref: string;
3334
+ };
3335
+ };
3336
+ };
3337
+ };
3338
+ "404": {
3339
+ content: {
3340
+ "application/json": {
3341
+ schema: {
3342
+ $ref: string;
3343
+ };
3344
+ };
3345
+ };
3346
+ };
3347
+ "409": {
3348
+ content: {
3349
+ "application/json": {
3350
+ schema: {
3351
+ $ref: string;
3352
+ };
3353
+ };
3354
+ };
3355
+ };
3356
+ };
3357
+ };
3358
+ };
3359
+ "/v1/plans/{id}/project-link/rollback": {
3360
+ post: {
3361
+ operationId: string;
3362
+ summary: string;
3363
+ parameters: {
3364
+ name: string;
3365
+ in: string;
3366
+ required: boolean;
3367
+ schema: {
3368
+ type: string;
3369
+ };
3370
+ }[];
3371
+ requestBody: {
3372
+ required: boolean;
3373
+ content: {
3374
+ "application/json": {
3375
+ schema: {
3376
+ $ref: string;
3377
+ };
3378
+ };
3379
+ };
3380
+ };
3381
+ responses: {
3382
+ "200": {
3383
+ content: {
3384
+ "application/json": {
3385
+ schema: {
3386
+ $ref: string;
3387
+ };
3388
+ };
3389
+ };
3390
+ };
3391
+ "400": {
3392
+ content: {
3393
+ "application/json": {
3394
+ schema: {
3395
+ $ref: string;
3396
+ };
3397
+ };
3398
+ };
3399
+ };
3400
+ "404": {
3401
+ content: {
3402
+ "application/json": {
3403
+ schema: {
3404
+ $ref: string;
3405
+ };
3406
+ };
3407
+ };
3408
+ };
3409
+ "409": {
3410
+ content: {
3411
+ "application/json": {
3412
+ schema: {
3413
+ $ref: string;
3414
+ };
3415
+ };
3416
+ };
3417
+ };
3418
+ };
3419
+ };
3420
+ };
2740
3421
  "/v1/templates": {
2741
3422
  get: {
2742
3423
  operationId: string;