@hasna/todos 0.15.52 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/CHANGELOG.md +1993 -0
  2. package/README.md +356 -42
  3. package/dist/ai-tools.d.ts.map +1 -1
  4. package/dist/ai.d.ts.map +1 -1
  5. package/dist/cli/cloud-router.d.ts +162 -72
  6. package/dist/cli/cloud-router.d.ts.map +1 -1
  7. package/dist/cli/commands/agent-commands.d.ts.map +1 -1
  8. package/dist/cli/commands/config-serve-commands.d.ts.map +1 -1
  9. package/dist/cli/commands/delegate.d.ts.map +1 -1
  10. package/dist/cli/commands/environment-snapshots.d.ts.map +1 -1
  11. package/dist/cli/commands/machines-api.d.ts +4 -0
  12. package/dist/cli/commands/machines-api.d.ts.map +1 -0
  13. package/dist/cli/commands/machines.d.ts.map +1 -1
  14. package/dist/cli/commands/mcp-hooks-commands.d.ts.map +1 -1
  15. package/dist/cli/commands/plan-commands.d.ts +3 -0
  16. package/dist/cli/commands/plan-commands.d.ts.map +1 -0
  17. package/dist/cli/commands/plan-template-commands.d.ts.map +1 -1
  18. package/dist/cli/commands/pr-group-commands.d.ts.map +1 -1
  19. package/dist/cli/commands/project-commands.d.ts.map +1 -1
  20. package/dist/cli/commands/query-commands.d.ts.map +1 -1
  21. package/dist/cli/commands/storage-commands.d.ts.map +1 -1
  22. package/dist/cli/commands/task-list-commands.d.ts +3 -0
  23. package/dist/cli/commands/task-list-commands.d.ts.map +1 -0
  24. package/dist/cli/commands/template-commands.d.ts +3 -0
  25. package/dist/cli/commands/template-commands.d.ts.map +1 -0
  26. package/dist/cli/helpers.d.ts.map +1 -1
  27. package/dist/cli/index.js +22072 -15949
  28. package/dist/cli/machine-api.d.ts +7 -0
  29. package/dist/cli/machine-api.d.ts.map +1 -0
  30. package/dist/cli/plan-read-api.d.ts +6 -0
  31. package/dist/cli/plan-read-api.d.ts.map +1 -0
  32. package/dist/cli/project-api.d.ts +119 -0
  33. package/dist/cli/project-api.d.ts.map +1 -0
  34. package/dist/cli/stage-a.d.ts +25 -5
  35. package/dist/cli/stage-a.d.ts.map +1 -1
  36. package/dist/cli/task-query-api.d.ts +21 -0
  37. package/dist/cli/task-query-api.d.ts.map +1 -0
  38. package/dist/cli/template-api.d.ts +7 -0
  39. package/dist/cli/template-api.d.ts.map +1 -0
  40. package/dist/cli/template-remote.d.ts +90 -0
  41. package/dist/cli/template-remote.d.ts.map +1 -0
  42. package/dist/cli-mcp-parity.d.ts.map +1 -1
  43. package/dist/contracts.js +908 -291
  44. package/dist/db/agents.d.ts +8 -0
  45. package/dist/db/agents.d.ts.map +1 -1
  46. package/dist/db/builtin-templates.d.ts +2 -33
  47. package/dist/db/builtin-templates.d.ts.map +1 -1
  48. package/dist/db/database.d.ts +6 -0
  49. package/dist/db/database.d.ts.map +1 -1
  50. package/dist/db/handoffs.d.ts.map +1 -1
  51. package/dist/db/identity-mapping.d.ts +25 -0
  52. package/dist/db/identity-mapping.d.ts.map +1 -1
  53. package/dist/db/machines.d.ts.map +1 -1
  54. package/dist/db/migrations.d.ts.map +1 -1
  55. package/dist/db/plans.d.ts.map +1 -1
  56. package/dist/db/retrospectives.d.ts.map +1 -1
  57. package/dist/db/schema.d.ts.map +1 -1
  58. package/dist/db/task-crud.d.ts.map +1 -1
  59. package/dist/db/task-lists.d.ts.map +1 -1
  60. package/dist/db/task-runs.d.ts +2 -0
  61. package/dist/db/task-runs.d.ts.map +1 -1
  62. package/dist/index.d.ts +2 -2
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +4341 -1756
  65. package/dist/lib/assignee-validation.d.ts.map +1 -1
  66. package/dist/lib/builtin-template-library.d.ts +32 -0
  67. package/dist/lib/builtin-template-library.d.ts.map +1 -0
  68. package/dist/lib/cli-reference.d.ts.map +1 -1
  69. package/dist/lib/config.d.ts +10 -13
  70. package/dist/lib/config.d.ts.map +1 -1
  71. package/dist/lib/db-backup.d.ts +1 -1
  72. package/dist/lib/db-backup.d.ts.map +1 -1
  73. package/dist/lib/env.d.ts +18 -0
  74. package/dist/lib/env.d.ts.map +1 -0
  75. package/dist/lib/environment-snapshots.d.ts.map +1 -1
  76. package/dist/lib/feature-manifest.d.ts.map +1 -1
  77. package/dist/lib/gatherer.d.ts.map +1 -1
  78. package/dist/lib/headless-boundaries.d.ts +4 -3
  79. package/dist/lib/headless-boundaries.d.ts.map +1 -1
  80. package/dist/lib/local-encryption.d.ts +12 -0
  81. package/dist/lib/local-encryption.d.ts.map +1 -1
  82. package/dist/lib/local-opt-in.d.ts +104 -0
  83. package/dist/lib/local-opt-in.d.ts.map +1 -0
  84. package/dist/lib/paths.d.ts +20 -1
  85. package/dist/lib/paths.d.ts.map +1 -1
  86. package/dist/lib/plan-artifacts.d.ts +1 -0
  87. package/dist/lib/plan-artifacts.d.ts.map +1 -1
  88. package/dist/lib/plan-client-boundary.d.ts +2 -0
  89. package/dist/lib/plan-client-boundary.d.ts.map +1 -0
  90. package/dist/lib/plan-schedule.d.ts +6 -0
  91. package/dist/lib/plan-schedule.d.ts.map +1 -0
  92. package/dist/lib/project-panel.d.ts +6 -0
  93. package/dist/lib/project-panel.d.ts.map +1 -1
  94. package/dist/lib/project-receipt.d.ts +3 -0
  95. package/dist/lib/project-receipt.d.ts.map +1 -0
  96. package/dist/lib/sandbox-profiles.d.ts.map +1 -1
  97. package/dist/lib/shared-plan-artifacts.d.ts +14 -0
  98. package/dist/lib/shared-plan-artifacts.d.ts.map +1 -0
  99. package/dist/lib/sync.d.ts.map +1 -1
  100. package/dist/lib/task-list-client-boundary.d.ts +3 -0
  101. package/dist/lib/task-list-client-boundary.d.ts.map +1 -0
  102. package/dist/lib/task-routing.d.ts.map +1 -1
  103. package/dist/lib/template-client-boundary.d.ts +2 -0
  104. package/dist/lib/template-client-boundary.d.ts.map +1 -0
  105. package/dist/mcp/index.d.ts +53 -0
  106. package/dist/mcp/index.d.ts.map +1 -1
  107. package/dist/mcp/index.js +50124 -60838
  108. package/dist/mcp/plan-api.d.ts +6 -0
  109. package/dist/mcp/plan-api.d.ts.map +1 -0
  110. package/dist/mcp/remote-authority.d.ts +49 -0
  111. package/dist/mcp/remote-authority.d.ts.map +1 -0
  112. package/dist/mcp/task-coordination-api.d.ts +15 -0
  113. package/dist/mcp/task-coordination-api.d.ts.map +1 -0
  114. package/dist/mcp/task-list-api.d.ts +8 -0
  115. package/dist/mcp/task-list-api.d.ts.map +1 -0
  116. package/dist/mcp/token-utils.d.ts.map +1 -1
  117. package/dist/mcp/tools/agents.d.ts.map +1 -1
  118. package/dist/mcp/tools/environment-snapshots.d.ts.map +1 -1
  119. package/dist/mcp/tools/machines.d.ts.map +1 -1
  120. package/dist/mcp/tools/task-adv-tools.d.ts.map +1 -1
  121. package/dist/mcp/tools/task-auto-tools.d.ts.map +1 -1
  122. package/dist/mcp/tools/task-crud.d.ts.map +1 -1
  123. package/dist/mcp/tools/task-meta-tools.d.ts.map +1 -1
  124. package/dist/mcp/tools/task-project-tools.d.ts.map +1 -1
  125. package/dist/mcp/tools/task-resources.d.ts.map +1 -1
  126. package/dist/mcp/tools/templates.d.ts.map +1 -1
  127. package/dist/mcp.d.ts +2 -2
  128. package/dist/mcp.d.ts.map +1 -1
  129. package/dist/mcp.js +45 -19
  130. package/dist/project-registration.js +3349 -645
  131. package/dist/registry.js +909 -292
  132. package/dist/release-provenance.json +6 -6
  133. package/dist/sdk/client.d.ts +53 -4
  134. package/dist/sdk/client.d.ts.map +1 -1
  135. package/dist/sdk/index.d.ts +2 -0
  136. package/dist/sdk/index.d.ts.map +1 -1
  137. package/dist/sdk/index.js +1253 -1088
  138. package/dist/sdk/resolve.d.ts +101 -0
  139. package/dist/sdk/resolve.d.ts.map +1 -0
  140. package/dist/sdk/types.d.ts +17 -2
  141. package/dist/sdk/types.d.ts.map +1 -1
  142. package/dist/sdk/v1.generated.d.ts +334 -3
  143. package/dist/sdk/v1.generated.d.ts.map +1 -1
  144. package/dist/server/auth-posture.d.ts +66 -7
  145. package/dist/server/auth-posture.d.ts.map +1 -1
  146. package/dist/server/client-ip.d.ts +39 -0
  147. package/dist/server/client-ip.d.ts.map +1 -0
  148. package/dist/server/cloud.d.ts +2 -1
  149. package/dist/server/cloud.d.ts.map +1 -1
  150. package/dist/server/index.d.ts +1 -1
  151. package/dist/server/index.js +24758 -16687
  152. package/dist/server/openapi.d.ts +2514 -469
  153. package/dist/server/openapi.d.ts.map +1 -1
  154. package/dist/server/port.d.ts +2 -2
  155. package/dist/server/port.d.ts.map +1 -1
  156. package/dist/server/rate-limit-config.d.ts +6 -0
  157. package/dist/server/rate-limit-config.d.ts.map +1 -0
  158. package/dist/server/routes.d.ts +3 -6
  159. package/dist/server/routes.d.ts.map +1 -1
  160. package/dist/server/serve.d.ts +2 -6
  161. package/dist/server/serve.d.ts.map +1 -1
  162. package/dist/server/v1.d.ts +3 -1
  163. package/dist/server/v1.d.ts.map +1 -1
  164. package/dist/storage/atomic-project-migration.d.ts +53 -0
  165. package/dist/storage/atomic-project-migration.d.ts.map +1 -0
  166. package/dist/storage/index.d.ts +4 -2
  167. package/dist/storage/index.d.ts.map +1 -1
  168. package/dist/storage/interfaces.d.ts +135 -3
  169. package/dist/storage/interfaces.d.ts.map +1 -1
  170. package/dist/storage/local-sqlite.d.ts.map +1 -1
  171. package/dist/storage/machine-registry.d.ts +36 -0
  172. package/dist/storage/machine-registry.d.ts.map +1 -0
  173. package/dist/storage/postgres-adapter.d.ts.map +1 -1
  174. package/dist/storage/postgres-sync.d.ts +2 -2
  175. package/dist/storage/postgres-sync.d.ts.map +1 -1
  176. package/dist/storage/run-artifact-creation-upload.d.ts +50 -0
  177. package/dist/storage/run-artifact-creation-upload.d.ts.map +1 -0
  178. package/dist/storage/s3-artifact-sync.d.ts +18 -0
  179. package/dist/storage/s3-artifact-sync.d.ts.map +1 -1
  180. package/dist/storage/sqlite-snapshot.d.ts +2 -0
  181. package/dist/storage/sqlite-snapshot.d.ts.map +1 -1
  182. package/dist/storage.d.ts +2 -2
  183. package/dist/storage.d.ts.map +1 -1
  184. package/dist/storage.js +3154 -350
  185. package/dist/task-manifest/postgres.d.ts +1 -1
  186. package/dist/task-manifest/sqlite.d.ts +1 -1
  187. package/dist/task-manifest.js +250 -73
  188. package/dist/task-subtree-transfer.js +198 -4
  189. package/dist/testing.d.ts +90 -29
  190. package/dist/testing.d.ts.map +1 -1
  191. package/dist/testing.js +34 -10
  192. package/dist/types/index.d.ts +43 -4
  193. package/dist/types/index.d.ts.map +1 -1
  194. package/docs/PLAN_API.md +93 -0
  195. package/docs/TASK_LIST_API.md +58 -0
  196. package/docs/TASK_QUERY_API.md +14 -0
  197. package/docs/TEMPLATE_API.md +18 -0
  198. package/docs/native-storage.md +405 -0
  199. package/package.json +18 -15
  200. package/postinstall.js +52 -1
  201. package/dashboard/dist/assets/index-BNQ4gJua.js +0 -342
  202. package/dashboard/dist/assets/index-DjzvHUWt.css +0 -1
  203. package/dashboard/dist/index.html +0 -13
  204. package/dashboard/dist/logo.jpg +0 -0
  205. package/dist/mcp/tools/code-tools.d.ts +0 -15
  206. package/dist/mcp/tools/code-tools.d.ts.map +0 -1
@@ -17,6 +17,61 @@ export declare function buildV1OpenApiDocument(version?: string): {
17
17
  };
18
18
  };
19
19
  schemas: {
20
+ MachineAuthority: {
21
+ type: string;
22
+ additionalProperties: boolean;
23
+ required: string[];
24
+ properties: {
25
+ tenant_id: {
26
+ type: string;
27
+ minLength: number;
28
+ };
29
+ kid: {
30
+ type: string;
31
+ minLength: number;
32
+ };
33
+ };
34
+ };
35
+ Machine: {
36
+ type: string;
37
+ additionalProperties: boolean;
38
+ required: string[];
39
+ properties: {
40
+ id: {
41
+ type: string;
42
+ };
43
+ name: {
44
+ type: string;
45
+ };
46
+ hostname: {
47
+ type: string[];
48
+ };
49
+ platform: {
50
+ type: string[];
51
+ };
52
+ last_seen_at: {
53
+ type: string;
54
+ format: string;
55
+ };
56
+ metadata: {
57
+ type: string;
58
+ additionalProperties: boolean;
59
+ };
60
+ created_at: {
61
+ type: string;
62
+ format: string;
63
+ };
64
+ ssh_address: {
65
+ type: string[];
66
+ };
67
+ is_primary: {
68
+ type: string;
69
+ };
70
+ archived_at: {
71
+ type: string[];
72
+ };
73
+ };
74
+ };
20
75
  Task: {
21
76
  readonly type: "object";
22
77
  readonly properties: {
@@ -87,9 +142,257 @@ export declare function buildV1OpenApiDocument(version?: string): {
87
142
  };
88
143
  };
89
144
  };
145
+ TaskDependency: {
146
+ readonly type: "object";
147
+ readonly additionalProperties: false;
148
+ readonly required: readonly ["task_id", "depends_on"];
149
+ readonly properties: {
150
+ readonly task_id: {
151
+ readonly type: "string";
152
+ readonly minLength: 1;
153
+ };
154
+ readonly depends_on: {
155
+ readonly type: "string";
156
+ readonly minLength: 1;
157
+ };
158
+ readonly external_project_id: {
159
+ readonly type: "string";
160
+ readonly nullable: true;
161
+ };
162
+ readonly external_task_id: {
163
+ readonly type: "string";
164
+ readonly nullable: true;
165
+ };
166
+ };
167
+ };
168
+ DependencyPage: {
169
+ readonly type: "object";
170
+ readonly additionalProperties: false;
171
+ readonly required: readonly ["dependencies", "count", "total", "limit", "offset", "has_more", "next_offset"];
172
+ readonly properties: {
173
+ readonly dependencies: {
174
+ readonly type: "array";
175
+ readonly items: {
176
+ readonly $ref: "#/components/schemas/TaskDependency";
177
+ };
178
+ };
179
+ readonly count: {
180
+ readonly type: "integer";
181
+ readonly minimum: 0;
182
+ };
183
+ readonly total: {
184
+ readonly type: "integer";
185
+ readonly minimum: 0;
186
+ };
187
+ readonly limit: {
188
+ readonly type: "integer";
189
+ readonly minimum: 0;
190
+ };
191
+ readonly offset: {
192
+ readonly type: "integer";
193
+ readonly minimum: 0;
194
+ };
195
+ readonly has_more: {
196
+ readonly type: "boolean";
197
+ };
198
+ readonly next_offset: {
199
+ readonly type: "integer";
200
+ readonly minimum: 0;
201
+ readonly nullable: true;
202
+ };
203
+ };
204
+ };
205
+ BulkCreateTaskInput: {
206
+ readonly type: "object";
207
+ readonly additionalProperties: false;
208
+ readonly required: readonly ["title"];
209
+ readonly properties: {
210
+ readonly temp_id: {
211
+ readonly type: "string";
212
+ readonly minLength: 1;
213
+ readonly maxLength: 100;
214
+ };
215
+ readonly depends_on: {
216
+ readonly type: "array";
217
+ readonly maxItems: 100;
218
+ readonly items: {
219
+ readonly type: "string";
220
+ readonly minLength: 1;
221
+ readonly maxLength: 200;
222
+ };
223
+ };
224
+ readonly title: {
225
+ readonly type: "string";
226
+ readonly minLength: 1;
227
+ readonly maxLength: 20000;
228
+ };
229
+ readonly description: {
230
+ readonly type: "string";
231
+ readonly nullable: true;
232
+ readonly maxLength: 100000;
233
+ };
234
+ readonly status: {
235
+ readonly type: "string";
236
+ readonly enum: readonly ["pending", "in_progress", "completed", "failed", "cancelled"];
237
+ };
238
+ readonly priority: {
239
+ readonly type: "string";
240
+ readonly enum: readonly ["low", "medium", "high", "critical"];
241
+ };
242
+ readonly project_id: {
243
+ readonly type: "string";
244
+ readonly minLength: 1;
245
+ readonly maxLength: 200;
246
+ };
247
+ readonly parent_id: {
248
+ readonly type: "string";
249
+ };
250
+ readonly plan_id: {
251
+ readonly type: "string";
252
+ };
253
+ readonly task_list_id: {
254
+ readonly type: "string";
255
+ readonly minLength: 1;
256
+ readonly maxLength: 200;
257
+ };
258
+ readonly assigned_to: {
259
+ readonly type: "string";
260
+ readonly minLength: 1;
261
+ readonly maxLength: 200;
262
+ };
263
+ readonly agent_id: {
264
+ readonly type: "string";
265
+ };
266
+ readonly created_by: {
267
+ readonly type: "string";
268
+ };
269
+ readonly tags: {
270
+ readonly type: "array";
271
+ readonly maxItems: 100;
272
+ readonly items: {
273
+ readonly type: "string";
274
+ readonly minLength: 1;
275
+ readonly maxLength: 100;
276
+ };
277
+ };
278
+ readonly estimated_minutes: {
279
+ readonly type: "number";
280
+ readonly minimum: 0;
281
+ };
282
+ };
283
+ };
284
+ BulkCreateReceipt: {
285
+ readonly type: "object";
286
+ readonly additionalProperties: false;
287
+ readonly required: readonly ["schema_version", "atomic", "created", "dependencies"];
288
+ readonly properties: {
289
+ readonly schema_version: {
290
+ readonly type: "integer";
291
+ readonly enum: readonly [1];
292
+ };
293
+ readonly atomic: {
294
+ readonly type: "boolean";
295
+ readonly enum: readonly [true];
296
+ };
297
+ readonly created: {
298
+ readonly type: "array";
299
+ readonly maxItems: 100;
300
+ readonly items: {
301
+ readonly type: "object";
302
+ readonly additionalProperties: false;
303
+ readonly required: readonly ["temp_id", "id", "short_id", "title"];
304
+ readonly properties: {
305
+ readonly temp_id: {
306
+ readonly type: "string";
307
+ readonly nullable: true;
308
+ };
309
+ readonly id: {
310
+ readonly type: "string";
311
+ };
312
+ readonly short_id: {
313
+ readonly type: "string";
314
+ readonly nullable: true;
315
+ };
316
+ readonly title: {
317
+ readonly type: "string";
318
+ };
319
+ };
320
+ };
321
+ };
322
+ readonly dependencies: {
323
+ readonly type: "array";
324
+ readonly maxItems: 100;
325
+ readonly items: {
326
+ readonly $ref: "#/components/schemas/TaskDependency";
327
+ };
328
+ };
329
+ };
330
+ };
331
+ BulkDeleteReceipt: {
332
+ readonly type: "object";
333
+ readonly additionalProperties: false;
334
+ readonly required: readonly ["schema_version", "atomic", "force", "results"];
335
+ readonly properties: {
336
+ readonly schema_version: {
337
+ readonly type: "integer";
338
+ readonly enum: readonly [1];
339
+ };
340
+ readonly atomic: {
341
+ readonly type: "boolean";
342
+ readonly enum: readonly [true];
343
+ };
344
+ readonly force: {
345
+ readonly type: "boolean";
346
+ };
347
+ readonly results: {
348
+ readonly type: "array";
349
+ readonly maxItems: 100;
350
+ readonly items: {
351
+ readonly type: "object";
352
+ readonly additionalProperties: false;
353
+ readonly required: readonly ["requested_id", "task_id", "outcome", "reason"];
354
+ readonly properties: {
355
+ readonly requested_id: {
356
+ readonly type: "string";
357
+ };
358
+ readonly task_id: {
359
+ readonly type: "string";
360
+ readonly nullable: true;
361
+ };
362
+ readonly outcome: {
363
+ readonly type: "string";
364
+ readonly enum: readonly ["deleted", "skipped", "missing"];
365
+ };
366
+ readonly reason: {
367
+ readonly oneOf: readonly [{
368
+ readonly type: "string";
369
+ readonly enum: readonly ["has_children", "not_found"];
370
+ }, {
371
+ readonly type: "null";
372
+ }];
373
+ };
374
+ };
375
+ };
376
+ };
377
+ };
378
+ };
90
379
  Project: {
91
380
  readonly type: "object";
92
381
  readonly properties: {
382
+ readonly status: {
383
+ readonly type: "string";
384
+ readonly enum: readonly ["active", "completed", "on_hold", "archived"];
385
+ };
386
+ readonly short_id: {
387
+ readonly type: "string";
388
+ readonly nullable: true;
389
+ readonly maxLength: 64;
390
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$";
391
+ };
392
+ readonly metadata: {
393
+ readonly type: "object";
394
+ readonly additionalProperties: true;
395
+ };
93
396
  readonly id: {
94
397
  readonly type: "string";
95
398
  };
@@ -1624,6 +1927,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
1624
1927
  TaskList: {
1625
1928
  readonly type: "object";
1626
1929
  readonly properties: {
1930
+ readonly status: {
1931
+ readonly type: "string";
1932
+ readonly enum: readonly ["active", "completed", "archived"];
1933
+ };
1627
1934
  readonly id: {
1628
1935
  readonly type: "string";
1629
1936
  };
@@ -1949,9 +2256,19 @@ export declare function buildV1OpenApiDocument(version?: string): {
1949
2256
  readonly type: "string";
1950
2257
  readonly nullable: true;
1951
2258
  };
2259
+ readonly start_date: {
2260
+ readonly type: "string";
2261
+ readonly format: "date";
2262
+ readonly nullable: true;
2263
+ };
2264
+ readonly end_date: {
2265
+ readonly type: "string";
2266
+ readonly format: "date";
2267
+ readonly nullable: true;
2268
+ };
1952
2269
  readonly status: {
1953
2270
  readonly type: "string";
1954
- readonly enum: readonly ["active", "completed", "archived"];
2271
+ readonly enum: readonly ["active", "completed", "archived", "planning", "cancelled"];
1955
2272
  };
1956
2273
  readonly created_at: {
1957
2274
  readonly type: "string";
@@ -2383,6 +2700,11 @@ export declare function buildV1OpenApiDocument(version?: string): {
2383
2700
  type: string;
2384
2701
  nullable: boolean;
2385
2702
  };
2703
+ archived_at: {
2704
+ type: string;
2705
+ format: string;
2706
+ nullable: boolean;
2707
+ };
2386
2708
  version: {
2387
2709
  type: string;
2388
2710
  };
@@ -2460,15 +2782,29 @@ export declare function buildV1OpenApiDocument(version?: string): {
2460
2782
  additionalProperties: boolean;
2461
2783
  required: string[];
2462
2784
  properties: {
2463
- name: {
2785
+ status: {
2464
2786
  type: string;
2465
- minLength: number;
2466
- pattern: string;
2787
+ enum: string[];
2467
2788
  };
2468
- path: {
2789
+ short_id: {
2469
2790
  type: string;
2470
- minLength: number;
2471
- };
2791
+ nullable: boolean;
2792
+ maxLength: number;
2793
+ pattern: string;
2794
+ };
2795
+ metadata: {
2796
+ type: string;
2797
+ additionalProperties: boolean;
2798
+ };
2799
+ name: {
2800
+ type: string;
2801
+ minLength: number;
2802
+ pattern: string;
2803
+ };
2804
+ path: {
2805
+ type: string;
2806
+ minLength: number;
2807
+ };
2472
2808
  description: {
2473
2809
  type: string;
2474
2810
  };
@@ -2492,6 +2828,20 @@ export declare function buildV1OpenApiDocument(version?: string): {
2492
2828
  additionalProperties: boolean;
2493
2829
  minProperties: number;
2494
2830
  properties: {
2831
+ status: {
2832
+ type: string;
2833
+ enum: string[];
2834
+ };
2835
+ short_id: {
2836
+ type: string;
2837
+ nullable: boolean;
2838
+ maxLength: number;
2839
+ pattern: string;
2840
+ };
2841
+ metadata: {
2842
+ type: string;
2843
+ additionalProperties: boolean;
2844
+ };
2495
2845
  name: {
2496
2846
  type: string;
2497
2847
  minLength: number;
@@ -2603,6 +2953,33 @@ export declare function buildV1OpenApiDocument(version?: string): {
2603
2953
  };
2604
2954
  };
2605
2955
  };
2956
+ PlanProjectLinkConflictResponse: {
2957
+ type: string;
2958
+ required: string[];
2959
+ properties: {
2960
+ error: {
2961
+ type: string;
2962
+ };
2963
+ code: {
2964
+ type: string;
2965
+ };
2966
+ conflict: {
2967
+ type: string;
2968
+ };
2969
+ operation_committed: {
2970
+ type: string;
2971
+ enum: boolean[];
2972
+ description: string;
2973
+ };
2974
+ current_state_matches_receipt: {
2975
+ type: string;
2976
+ enum: boolean[];
2977
+ };
2978
+ receipt: {
2979
+ $ref: string;
2980
+ };
2981
+ };
2982
+ };
2606
2983
  ErrorResponse: {
2607
2984
  type: string;
2608
2985
  required: string[];
@@ -2623,6 +3000,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
2623
3000
  additionalProperties: boolean;
2624
3001
  required: string[];
2625
3002
  properties: {
3003
+ status: {
3004
+ type: string;
3005
+ enum: string[];
3006
+ };
2626
3007
  name: {
2627
3008
  type: string;
2628
3009
  minLength: number;
@@ -2650,6 +3031,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
2650
3031
  additionalProperties: boolean;
2651
3032
  minProperties: number;
2652
3033
  properties: {
3034
+ status: {
3035
+ type: string;
3036
+ enum: string[];
3037
+ };
2653
3038
  slug: {
2654
3039
  type: string;
2655
3040
  minLength: number;
@@ -2723,6 +3108,16 @@ export declare function buildV1OpenApiDocument(version?: string): {
2723
3108
  type: string;
2724
3109
  minLength: number;
2725
3110
  };
3111
+ start_date: {
3112
+ type: string;
3113
+ format: string;
3114
+ nullable: boolean;
3115
+ };
3116
+ end_date: {
3117
+ type: string;
3118
+ format: string;
3119
+ nullable: boolean;
3120
+ };
2726
3121
  status: {
2727
3122
  type: string;
2728
3123
  enum: string[];
@@ -2754,6 +3149,16 @@ export declare function buildV1OpenApiDocument(version?: string): {
2754
3149
  type: string;
2755
3150
  minLength: number;
2756
3151
  };
3152
+ start_date: {
3153
+ type: string;
3154
+ format: string;
3155
+ nullable: boolean;
3156
+ };
3157
+ end_date: {
3158
+ type: string;
3159
+ format: string;
3160
+ nullable: boolean;
3161
+ };
2757
3162
  status: {
2758
3163
  type: string;
2759
3164
  enum: string[];
@@ -2821,6 +3226,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
2821
3226
  additionalProperties: boolean;
2822
3227
  minProperties: number;
2823
3228
  properties: {
3229
+ expected_version: {
3230
+ type: string;
3231
+ minimum: number;
3232
+ };
2824
3233
  name: {
2825
3234
  type: string;
2826
3235
  minLength: number;
@@ -3914,6 +4323,120 @@ export declare function buildV1OpenApiDocument(version?: string): {
3914
4323
  apiKey: never[];
3915
4324
  }[];
3916
4325
  paths: {
4326
+ "/v1/machines": {
4327
+ get: {
4328
+ operationId: string;
4329
+ summary: string;
4330
+ responses: {
4331
+ "200": {
4332
+ description: string;
4333
+ content: {
4334
+ "application/json": {
4335
+ schema: {
4336
+ type: string;
4337
+ required: string[];
4338
+ properties: {
4339
+ authority: {
4340
+ $ref: string;
4341
+ };
4342
+ schema_version: {
4343
+ type: string;
4344
+ enum: number[];
4345
+ };
4346
+ machines: {
4347
+ type: string;
4348
+ items: {
4349
+ $ref: string;
4350
+ };
4351
+ };
4352
+ };
4353
+ };
4354
+ };
4355
+ };
4356
+ };
4357
+ };
4358
+ };
4359
+ post: {
4360
+ operationId: string;
4361
+ summary: string;
4362
+ requestBody: {
4363
+ required: boolean;
4364
+ content: {
4365
+ "application/json": {
4366
+ schema: {
4367
+ type: string;
4368
+ required: string[];
4369
+ properties: {
4370
+ expected_authority: {
4371
+ $ref: string;
4372
+ };
4373
+ action: {
4374
+ type: string;
4375
+ enum: string[];
4376
+ };
4377
+ name: {
4378
+ type: string;
4379
+ };
4380
+ id: {
4381
+ type: string;
4382
+ };
4383
+ options: {
4384
+ type: string;
4385
+ };
4386
+ machines: {
4387
+ type: string;
4388
+ maxItems: number;
4389
+ items: {
4390
+ $ref: string;
4391
+ };
4392
+ };
4393
+ };
4394
+ };
4395
+ };
4396
+ };
4397
+ };
4398
+ responses: {
4399
+ "200": {
4400
+ description: string;
4401
+ content: {
4402
+ "application/json": {
4403
+ schema: {
4404
+ type: string;
4405
+ required: string[];
4406
+ properties: {
4407
+ authority: {
4408
+ $ref: string;
4409
+ };
4410
+ schema_version: {
4411
+ type: string;
4412
+ enum: number[];
4413
+ };
4414
+ machines: {
4415
+ type: string;
4416
+ items: {
4417
+ $ref: string;
4418
+ };
4419
+ };
4420
+ machine: {
4421
+ $ref: string;
4422
+ };
4423
+ inserted: {
4424
+ type: string;
4425
+ };
4426
+ skipped: {
4427
+ type: string;
4428
+ };
4429
+ deleted: {
4430
+ type: string;
4431
+ };
4432
+ };
4433
+ };
4434
+ };
4435
+ };
4436
+ };
4437
+ };
4438
+ };
4439
+ };
3917
4440
  "/v1/project-registration/capability": {
3918
4441
  get: {
3919
4442
  operationId: string;
@@ -4993,6 +5516,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
4993
5516
  })[];
4994
5517
  type?: undefined;
4995
5518
  nullable?: undefined;
5519
+ enum?: undefined;
4996
5520
  format?: undefined;
4997
5521
  minimum?: undefined;
4998
5522
  };
@@ -5017,6 +5541,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5017
5541
  })[];
5018
5542
  type?: undefined;
5019
5543
  nullable?: undefined;
5544
+ enum?: undefined;
5020
5545
  format?: undefined;
5021
5546
  minimum?: undefined;
5022
5547
  };
@@ -5027,6 +5552,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5027
5552
  type: string;
5028
5553
  oneOf?: undefined;
5029
5554
  nullable?: undefined;
5555
+ enum?: undefined;
5030
5556
  format?: undefined;
5031
5557
  minimum?: undefined;
5032
5558
  };
@@ -5040,6 +5566,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5040
5566
  type: string;
5041
5567
  nullable: boolean;
5042
5568
  oneOf?: undefined;
5569
+ enum?: undefined;
5043
5570
  format?: undefined;
5044
5571
  minimum?: undefined;
5045
5572
  };
@@ -5053,6 +5580,21 @@ export declare function buildV1OpenApiDocument(version?: string): {
5053
5580
  type: string;
5054
5581
  oneOf?: undefined;
5055
5582
  nullable?: undefined;
5583
+ enum?: undefined;
5584
+ format?: undefined;
5585
+ minimum?: undefined;
5586
+ };
5587
+ description: string;
5588
+ style?: undefined;
5589
+ explode?: undefined;
5590
+ } | {
5591
+ name: string;
5592
+ in: string;
5593
+ schema: {
5594
+ type: string;
5595
+ enum: string[];
5596
+ oneOf?: undefined;
5597
+ nullable?: undefined;
5056
5598
  format?: undefined;
5057
5599
  minimum?: undefined;
5058
5600
  };
@@ -5067,6 +5609,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5067
5609
  format: string;
5068
5610
  oneOf?: undefined;
5069
5611
  nullable?: undefined;
5612
+ enum?: undefined;
5070
5613
  minimum?: undefined;
5071
5614
  };
5072
5615
  description: string;
@@ -5080,6 +5623,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5080
5623
  minimum: number;
5081
5624
  oneOf?: undefined;
5082
5625
  nullable?: undefined;
5626
+ enum?: undefined;
5083
5627
  format?: undefined;
5084
5628
  };
5085
5629
  description?: undefined;
@@ -5108,6 +5652,26 @@ export declare function buildV1OpenApiDocument(version?: string): {
5108
5652
  type: string;
5109
5653
  minimum: number;
5110
5654
  };
5655
+ selection: {
5656
+ type: string;
5657
+ required: string[];
5658
+ properties: {
5659
+ schema_version: {
5660
+ type: string;
5661
+ enum: number[];
5662
+ };
5663
+ plan_id: {
5664
+ type: string;
5665
+ };
5666
+ include_subtasks: {
5667
+ type: string;
5668
+ enum: boolean[];
5669
+ };
5670
+ include_archived: {
5671
+ type: string;
5672
+ };
5673
+ };
5674
+ };
5111
5675
  };
5112
5676
  };
5113
5677
  };
@@ -5146,26 +5710,45 @@ export declare function buildV1OpenApiDocument(version?: string): {
5146
5710
  };
5147
5711
  };
5148
5712
  };
5149
- "/v1/tasks/{id}": {
5150
- get: {
5713
+ "/v1/tasks/bulk-create": {
5714
+ post: {
5151
5715
  operationId: string;
5152
5716
  summary: string;
5153
- parameters: {
5154
- name: string;
5155
- in: string;
5717
+ requestBody: {
5156
5718
  required: boolean;
5157
- schema: {
5158
- type: string;
5719
+ content: {
5720
+ "application/json": {
5721
+ schema: {
5722
+ type: string;
5723
+ additionalProperties: boolean;
5724
+ required: string[];
5725
+ properties: {
5726
+ schema_version: {
5727
+ type: string;
5728
+ enum: number[];
5729
+ };
5730
+ tasks: {
5731
+ type: string;
5732
+ minItems: number;
5733
+ maxItems: number;
5734
+ items: {
5735
+ $ref: string;
5736
+ };
5737
+ };
5738
+ };
5739
+ };
5740
+ };
5159
5741
  };
5160
- }[];
5742
+ };
5161
5743
  responses: {
5162
- "200": {
5744
+ "201": {
5163
5745
  content: {
5164
5746
  "application/json": {
5165
5747
  schema: {
5166
5748
  type: string;
5749
+ required: string[];
5167
5750
  properties: {
5168
- task: {
5751
+ receipt: {
5169
5752
  $ref: string;
5170
5753
  };
5171
5754
  };
@@ -5173,23 +5756,891 @@ export declare function buildV1OpenApiDocument(version?: string): {
5173
5756
  };
5174
5757
  };
5175
5758
  };
5176
- };
5177
- };
5178
- patch: {
5179
- operationId: string;
5180
- summary: string;
5181
- parameters: {
5182
- name: string;
5183
- in: string;
5184
- required: boolean;
5185
- schema: {
5186
- type: string;
5187
- };
5188
- }[];
5189
- requestBody: {
5190
- required: boolean;
5191
- content: {
5192
- "application/json": {
5759
+ "400": {
5760
+ content: {
5761
+ "application/json": {
5762
+ schema: {
5763
+ $ref: string;
5764
+ };
5765
+ };
5766
+ };
5767
+ };
5768
+ "404": {
5769
+ content: {
5770
+ "application/json": {
5771
+ schema: {
5772
+ $ref: string;
5773
+ };
5774
+ };
5775
+ };
5776
+ };
5777
+ "409": {
5778
+ content: {
5779
+ "application/json": {
5780
+ schema: {
5781
+ $ref: string;
5782
+ };
5783
+ };
5784
+ };
5785
+ };
5786
+ "413": {
5787
+ content: {
5788
+ "application/json": {
5789
+ schema: {
5790
+ $ref: string;
5791
+ };
5792
+ };
5793
+ };
5794
+ };
5795
+ "501": {
5796
+ content: {
5797
+ "application/json": {
5798
+ schema: {
5799
+ $ref: string;
5800
+ };
5801
+ };
5802
+ };
5803
+ };
5804
+ };
5805
+ };
5806
+ };
5807
+ "/v1/tasks/bulk-delete": {
5808
+ post: {
5809
+ operationId: string;
5810
+ summary: string;
5811
+ requestBody: {
5812
+ required: boolean;
5813
+ content: {
5814
+ "application/json": {
5815
+ schema: {
5816
+ type: string;
5817
+ additionalProperties: boolean;
5818
+ required: string[];
5819
+ properties: {
5820
+ schema_version: {
5821
+ type: string;
5822
+ enum: number[];
5823
+ };
5824
+ task_ids: {
5825
+ type: string;
5826
+ minItems: number;
5827
+ maxItems: number;
5828
+ uniqueItems: boolean;
5829
+ items: {
5830
+ type: string;
5831
+ minLength: number;
5832
+ maxLength: number;
5833
+ };
5834
+ };
5835
+ force: {
5836
+ type: string;
5837
+ default: boolean;
5838
+ description: string;
5839
+ };
5840
+ };
5841
+ };
5842
+ };
5843
+ };
5844
+ };
5845
+ responses: {
5846
+ "200": {
5847
+ content: {
5848
+ "application/json": {
5849
+ schema: {
5850
+ type: string;
5851
+ required: string[];
5852
+ properties: {
5853
+ receipt: {
5854
+ $ref: string;
5855
+ };
5856
+ };
5857
+ };
5858
+ };
5859
+ };
5860
+ };
5861
+ "400": {
5862
+ content: {
5863
+ "application/json": {
5864
+ schema: {
5865
+ $ref: string;
5866
+ };
5867
+ };
5868
+ };
5869
+ };
5870
+ "403": {
5871
+ content: {
5872
+ "application/json": {
5873
+ schema: {
5874
+ $ref: string;
5875
+ };
5876
+ };
5877
+ };
5878
+ };
5879
+ "409": {
5880
+ content: {
5881
+ "application/json": {
5882
+ schema: {
5883
+ $ref: string;
5884
+ };
5885
+ };
5886
+ };
5887
+ };
5888
+ "501": {
5889
+ content: {
5890
+ "application/json": {
5891
+ schema: {
5892
+ $ref: string;
5893
+ };
5894
+ };
5895
+ };
5896
+ };
5897
+ };
5898
+ };
5899
+ };
5900
+ "/v1/tasks/{id}": {
5901
+ get: {
5902
+ operationId: string;
5903
+ summary: string;
5904
+ parameters: {
5905
+ name: string;
5906
+ in: string;
5907
+ required: boolean;
5908
+ schema: {
5909
+ type: string;
5910
+ };
5911
+ }[];
5912
+ responses: {
5913
+ "200": {
5914
+ content: {
5915
+ "application/json": {
5916
+ schema: {
5917
+ type: string;
5918
+ properties: {
5919
+ task: {
5920
+ $ref: string;
5921
+ };
5922
+ };
5923
+ };
5924
+ };
5925
+ };
5926
+ };
5927
+ };
5928
+ };
5929
+ patch: {
5930
+ operationId: string;
5931
+ summary: string;
5932
+ parameters: {
5933
+ name: string;
5934
+ in: string;
5935
+ required: boolean;
5936
+ schema: {
5937
+ type: string;
5938
+ };
5939
+ }[];
5940
+ requestBody: {
5941
+ required: boolean;
5942
+ content: {
5943
+ "application/json": {
5944
+ schema: {
5945
+ $ref: string;
5946
+ };
5947
+ };
5948
+ };
5949
+ };
5950
+ responses: {
5951
+ "200": {
5952
+ content: {
5953
+ "application/json": {
5954
+ schema: {
5955
+ type: string;
5956
+ properties: {
5957
+ task: {
5958
+ $ref: string;
5959
+ };
5960
+ };
5961
+ };
5962
+ };
5963
+ };
5964
+ };
5965
+ };
5966
+ };
5967
+ delete: {
5968
+ operationId: string;
5969
+ summary: string;
5970
+ parameters: {
5971
+ name: string;
5972
+ in: string;
5973
+ required: boolean;
5974
+ schema: {
5975
+ type: string;
5976
+ };
5977
+ }[];
5978
+ responses: {
5979
+ "200": {
5980
+ content: {
5981
+ "application/json": {
5982
+ schema: {
5983
+ type: string;
5984
+ properties: {
5985
+ deleted: {
5986
+ type: string;
5987
+ };
5988
+ id: {
5989
+ type: string;
5990
+ };
5991
+ };
5992
+ };
5993
+ };
5994
+ };
5995
+ };
5996
+ };
5997
+ };
5998
+ };
5999
+ "/v1/tasks/{id}/history": {
6000
+ get: {
6001
+ operationId: string;
6002
+ summary: string;
6003
+ description: string;
6004
+ parameters: ({
6005
+ name: string;
6006
+ in: string;
6007
+ required: boolean;
6008
+ schema: {
6009
+ type: string;
6010
+ minimum?: undefined;
6011
+ maximum?: undefined;
6012
+ default?: undefined;
6013
+ format?: undefined;
6014
+ enum?: undefined;
6015
+ };
6016
+ } | {
6017
+ name: string;
6018
+ in: string;
6019
+ required: boolean;
6020
+ schema: {
6021
+ type: string;
6022
+ minimum: number;
6023
+ maximum: number;
6024
+ default: number;
6025
+ format?: undefined;
6026
+ enum?: undefined;
6027
+ };
6028
+ } | {
6029
+ name: string;
6030
+ in: string;
6031
+ required: boolean;
6032
+ schema: {
6033
+ type: string;
6034
+ minimum: number;
6035
+ default: number;
6036
+ maximum?: undefined;
6037
+ format?: undefined;
6038
+ enum?: undefined;
6039
+ };
6040
+ } | {
6041
+ name: string;
6042
+ in: string;
6043
+ schema: {
6044
+ type: string;
6045
+ format: string;
6046
+ minimum?: undefined;
6047
+ maximum?: undefined;
6048
+ default?: undefined;
6049
+ enum?: undefined;
6050
+ };
6051
+ required?: undefined;
6052
+ } | {
6053
+ name: string;
6054
+ in: string;
6055
+ schema: {
6056
+ type: string;
6057
+ enum: string[];
6058
+ default: string;
6059
+ minimum?: undefined;
6060
+ maximum?: undefined;
6061
+ format?: undefined;
6062
+ };
6063
+ required?: undefined;
6064
+ })[];
6065
+ responses: {
6066
+ "200": {
6067
+ content: {
6068
+ "application/json": {
6069
+ schema: {
6070
+ type: string;
6071
+ additionalProperties: boolean;
6072
+ required: string[];
6073
+ properties: {
6074
+ history: {
6075
+ type: string;
6076
+ maxItems: number;
6077
+ items: {
6078
+ type: string;
6079
+ additionalProperties: boolean;
6080
+ };
6081
+ };
6082
+ count: {
6083
+ type: string;
6084
+ minimum: number;
6085
+ maximum: number;
6086
+ };
6087
+ total: {
6088
+ type: string;
6089
+ minimum: number;
6090
+ };
6091
+ limit: {
6092
+ type: string;
6093
+ minimum: number;
6094
+ maximum: number;
6095
+ };
6096
+ offset: {
6097
+ type: string;
6098
+ minimum: number;
6099
+ };
6100
+ order: {
6101
+ type: string;
6102
+ enum: string[];
6103
+ };
6104
+ has_more: {
6105
+ type: string;
6106
+ };
6107
+ next_offset: {
6108
+ type: string;
6109
+ minimum: number;
6110
+ nullable: boolean;
6111
+ };
6112
+ };
6113
+ };
6114
+ };
6115
+ };
6116
+ };
6117
+ "400": {
6118
+ content: {
6119
+ "application/json": {
6120
+ schema: {
6121
+ $ref: string;
6122
+ };
6123
+ };
6124
+ };
6125
+ };
6126
+ "404": {
6127
+ content: {
6128
+ "application/json": {
6129
+ schema: {
6130
+ $ref: string;
6131
+ };
6132
+ };
6133
+ };
6134
+ };
6135
+ "426": {
6136
+ content: {
6137
+ "application/json": {
6138
+ schema: {
6139
+ $ref: string;
6140
+ };
6141
+ };
6142
+ };
6143
+ };
6144
+ "501": {
6145
+ content: {
6146
+ "application/json": {
6147
+ schema: {
6148
+ $ref: string;
6149
+ };
6150
+ };
6151
+ };
6152
+ };
6153
+ };
6154
+ };
6155
+ };
6156
+ "/v1/tasks/{id}/comments": {
6157
+ get: {
6158
+ operationId: string;
6159
+ summary: string;
6160
+ description: string;
6161
+ parameters: ({
6162
+ name: string;
6163
+ in: string;
6164
+ required: boolean;
6165
+ schema: {
6166
+ type: string;
6167
+ minimum?: undefined;
6168
+ maximum?: undefined;
6169
+ default?: undefined;
6170
+ };
6171
+ } | {
6172
+ name: string;
6173
+ in: string;
6174
+ required: boolean;
6175
+ schema: {
6176
+ type: string;
6177
+ minimum: number;
6178
+ maximum: number;
6179
+ default: number;
6180
+ };
6181
+ } | {
6182
+ name: string;
6183
+ in: string;
6184
+ schema: {
6185
+ type: string;
6186
+ minimum?: undefined;
6187
+ maximum?: undefined;
6188
+ default?: undefined;
6189
+ };
6190
+ required?: undefined;
6191
+ })[];
6192
+ responses: {
6193
+ "200": {
6194
+ content: {
6195
+ "application/json": {
6196
+ schema: {
6197
+ type: string;
6198
+ required: string[];
6199
+ properties: {
6200
+ comments: {
6201
+ type: string;
6202
+ maxItems: number;
6203
+ items: {
6204
+ $ref: string;
6205
+ };
6206
+ };
6207
+ count: {
6208
+ type: string;
6209
+ minimum: number;
6210
+ maximum: number;
6211
+ };
6212
+ has_more: {
6213
+ type: string;
6214
+ };
6215
+ next_cursor: {
6216
+ type: string;
6217
+ nullable: boolean;
6218
+ };
6219
+ };
6220
+ };
6221
+ };
6222
+ };
6223
+ };
6224
+ "426": {
6225
+ description: string;
6226
+ };
6227
+ };
6228
+ };
6229
+ post: {
6230
+ operationId: string;
6231
+ summary: string;
6232
+ parameters: {
6233
+ name: string;
6234
+ in: string;
6235
+ required: boolean;
6236
+ schema: {
6237
+ type: string;
6238
+ };
6239
+ }[];
6240
+ requestBody: {
6241
+ required: boolean;
6242
+ content: {
6243
+ "application/json": {
6244
+ schema: {
6245
+ $ref: string;
6246
+ };
6247
+ };
6248
+ };
6249
+ };
6250
+ responses: {
6251
+ "201": {
6252
+ content: {
6253
+ "application/json": {
6254
+ schema: {
6255
+ type: string;
6256
+ required: string[];
6257
+ properties: {
6258
+ comment: {
6259
+ $ref: string;
6260
+ };
6261
+ };
6262
+ };
6263
+ };
6264
+ };
6265
+ };
6266
+ };
6267
+ };
6268
+ };
6269
+ "/v1/tasks/{id}/stale-lock-handoff": {
6270
+ post: {
6271
+ operationId: string;
6272
+ summary: string;
6273
+ description: string;
6274
+ parameters: {
6275
+ name: string;
6276
+ in: string;
6277
+ required: boolean;
6278
+ schema: {
6279
+ type: string;
6280
+ format: string;
6281
+ };
6282
+ description: string;
6283
+ }[];
6284
+ requestBody: {
6285
+ required: boolean;
6286
+ content: {
6287
+ "application/json": {
6288
+ schema: {
6289
+ $ref: string;
6290
+ };
6291
+ };
6292
+ };
6293
+ };
6294
+ responses: {
6295
+ "200": {
6296
+ content: {
6297
+ "application/json": {
6298
+ schema: {
6299
+ type: string;
6300
+ additionalProperties: boolean;
6301
+ required: string[];
6302
+ properties: {
6303
+ receipt: {
6304
+ $ref: string;
6305
+ };
6306
+ };
6307
+ };
6308
+ };
6309
+ };
6310
+ };
6311
+ "400": {
6312
+ content: {
6313
+ "application/json": {
6314
+ schema: {
6315
+ $ref: string;
6316
+ };
6317
+ };
6318
+ };
6319
+ };
6320
+ "403": {
6321
+ content: {
6322
+ "application/json": {
6323
+ schema: {
6324
+ $ref: string;
6325
+ };
6326
+ };
6327
+ };
6328
+ };
6329
+ "404": {
6330
+ content: {
6331
+ "application/json": {
6332
+ schema: {
6333
+ $ref: string;
6334
+ };
6335
+ };
6336
+ };
6337
+ };
6338
+ "409": {
6339
+ content: {
6340
+ "application/json": {
6341
+ schema: {
6342
+ $ref: string;
6343
+ };
6344
+ };
6345
+ };
6346
+ };
6347
+ "501": {
6348
+ content: {
6349
+ "application/json": {
6350
+ schema: {
6351
+ $ref: string;
6352
+ };
6353
+ };
6354
+ };
6355
+ };
6356
+ };
6357
+ };
6358
+ };
6359
+ "/v1/tasks/{id}/refs": {
6360
+ get: {
6361
+ operationId: string;
6362
+ summary: string;
6363
+ parameters: {
6364
+ name: string;
6365
+ in: string;
6366
+ required: boolean;
6367
+ schema: {
6368
+ type: string;
6369
+ };
6370
+ }[];
6371
+ responses: {
6372
+ "200": {
6373
+ content: {
6374
+ "application/json": {
6375
+ schema: {
6376
+ type: string;
6377
+ additionalProperties: boolean;
6378
+ required: string[];
6379
+ properties: {
6380
+ refs: {
6381
+ type: string;
6382
+ items: {
6383
+ $ref: string;
6384
+ };
6385
+ };
6386
+ count: {
6387
+ type: string;
6388
+ minimum: number;
6389
+ };
6390
+ };
6391
+ };
6392
+ };
6393
+ };
6394
+ };
6395
+ };
6396
+ };
6397
+ post: {
6398
+ operationId: string;
6399
+ summary: string;
6400
+ parameters: {
6401
+ name: string;
6402
+ in: string;
6403
+ required: boolean;
6404
+ schema: {
6405
+ type: string;
6406
+ };
6407
+ }[];
6408
+ requestBody: {
6409
+ required: boolean;
6410
+ content: {
6411
+ "application/json": {
6412
+ schema: {
6413
+ type: string;
6414
+ additionalProperties: boolean;
6415
+ required: string[];
6416
+ properties: {
6417
+ ref_type: {
6418
+ type: string;
6419
+ enum: string[];
6420
+ };
6421
+ name: {
6422
+ type: string;
6423
+ minLength: number;
6424
+ };
6425
+ url: {
6426
+ type: string;
6427
+ };
6428
+ provider: {
6429
+ type: string;
6430
+ };
6431
+ metadata: {
6432
+ type: string;
6433
+ additionalProperties: boolean;
6434
+ };
6435
+ };
6436
+ };
6437
+ };
6438
+ };
6439
+ };
6440
+ responses: {
6441
+ "201": {
6442
+ content: {
6443
+ "application/json": {
6444
+ schema: {
6445
+ type: string;
6446
+ additionalProperties: boolean;
6447
+ required: string[];
6448
+ properties: {
6449
+ ref: {
6450
+ $ref: string;
6451
+ };
6452
+ };
6453
+ };
6454
+ };
6455
+ };
6456
+ };
6457
+ };
6458
+ };
6459
+ };
6460
+ "/v1/refs/{ref}": {
6461
+ get: {
6462
+ operationId: string;
6463
+ summary: string;
6464
+ parameters: {
6465
+ name: string;
6466
+ in: string;
6467
+ required: boolean;
6468
+ schema: {
6469
+ type: string;
6470
+ };
6471
+ }[];
6472
+ responses: {
6473
+ "200": {
6474
+ content: {
6475
+ "application/json": {
6476
+ schema: {
6477
+ type: string;
6478
+ additionalProperties: boolean;
6479
+ required: string[];
6480
+ properties: {
6481
+ refs: {
6482
+ type: string;
6483
+ items: {
6484
+ $ref: string;
6485
+ };
6486
+ };
6487
+ count: {
6488
+ type: string;
6489
+ minimum: number;
6490
+ };
6491
+ };
6492
+ };
6493
+ };
6494
+ };
6495
+ };
6496
+ };
6497
+ };
6498
+ };
6499
+ "/v1/tasks/{id}/start": {
6500
+ post: {
6501
+ operationId: string;
6502
+ summary: string;
6503
+ parameters: {
6504
+ name: string;
6505
+ in: string;
6506
+ required: boolean;
6507
+ schema: {
6508
+ type: string;
6509
+ };
6510
+ }[];
6511
+ responses: {
6512
+ "200": {
6513
+ content: {
6514
+ "application/json": {
6515
+ schema: {
6516
+ type: string;
6517
+ properties: {
6518
+ task: {
6519
+ $ref: string;
6520
+ };
6521
+ };
6522
+ };
6523
+ };
6524
+ };
6525
+ };
6526
+ };
6527
+ };
6528
+ };
6529
+ "/v1/tasks/{id}/complete": {
6530
+ post: {
6531
+ operationId: string;
6532
+ summary: string;
6533
+ parameters: {
6534
+ name: string;
6535
+ in: string;
6536
+ required: boolean;
6537
+ schema: {
6538
+ type: string;
6539
+ };
6540
+ }[];
6541
+ requestBody: {
6542
+ required: boolean;
6543
+ content: {
6544
+ "application/json": {
6545
+ schema: {
6546
+ $ref: string;
6547
+ };
6548
+ };
6549
+ };
6550
+ };
6551
+ responses: {
6552
+ "200": {
6553
+ content: {
6554
+ "application/json": {
6555
+ schema: {
6556
+ type: string;
6557
+ properties: {
6558
+ task: {
6559
+ $ref: string;
6560
+ };
6561
+ };
6562
+ };
6563
+ };
6564
+ };
6565
+ };
6566
+ };
6567
+ };
6568
+ };
6569
+ "/v1/tasks/{id}/fail": {
6570
+ post: {
6571
+ operationId: string;
6572
+ summary: string;
6573
+ parameters: {
6574
+ name: string;
6575
+ in: string;
6576
+ required: boolean;
6577
+ schema: {
6578
+ type: string;
6579
+ };
6580
+ }[];
6581
+ requestBody: {
6582
+ required: boolean;
6583
+ content: {
6584
+ "application/json": {
6585
+ schema: {
6586
+ $ref: string;
6587
+ };
6588
+ };
6589
+ };
6590
+ };
6591
+ responses: {
6592
+ "200": {
6593
+ content: {
6594
+ "application/json": {
6595
+ schema: {
6596
+ type: string;
6597
+ required: string[];
6598
+ properties: {
6599
+ result: {
6600
+ $ref: string;
6601
+ };
6602
+ };
6603
+ };
6604
+ };
6605
+ };
6606
+ };
6607
+ };
6608
+ };
6609
+ };
6610
+ "/v1/projects": {
6611
+ get: {
6612
+ operationId: string;
6613
+ summary: string;
6614
+ responses: {
6615
+ "200": {
6616
+ content: {
6617
+ "application/json": {
6618
+ schema: {
6619
+ type: string;
6620
+ properties: {
6621
+ projects: {
6622
+ type: string;
6623
+ items: {
6624
+ $ref: string;
6625
+ };
6626
+ };
6627
+ count: {
6628
+ type: string;
6629
+ };
6630
+ };
6631
+ };
6632
+ };
6633
+ };
6634
+ };
6635
+ };
6636
+ };
6637
+ post: {
6638
+ operationId: string;
6639
+ summary: string;
6640
+ requestBody: {
6641
+ required: boolean;
6642
+ content: {
6643
+ "application/json": {
5193
6644
  schema: {
5194
6645
  $ref: string;
5195
6646
  };
@@ -5197,13 +6648,13 @@ export declare function buildV1OpenApiDocument(version?: string): {
5197
6648
  };
5198
6649
  };
5199
6650
  responses: {
5200
- "200": {
6651
+ "201": {
5201
6652
  content: {
5202
6653
  "application/json": {
5203
6654
  schema: {
5204
6655
  type: string;
5205
6656
  properties: {
5206
- task: {
6657
+ project: {
5207
6658
  $ref: string;
5208
6659
  };
5209
6660
  };
@@ -5211,9 +6662,20 @@ export declare function buildV1OpenApiDocument(version?: string): {
5211
6662
  };
5212
6663
  };
5213
6664
  };
6665
+ "409": {
6666
+ content: {
6667
+ "application/json": {
6668
+ schema: {
6669
+ $ref: string;
6670
+ };
6671
+ };
6672
+ };
6673
+ };
5214
6674
  };
5215
6675
  };
5216
- delete: {
6676
+ };
6677
+ "/v1/projects/{id}": {
6678
+ get: {
5217
6679
  operationId: string;
5218
6680
  summary: string;
5219
6681
  parameters: {
@@ -5231,11 +6693,8 @@ export declare function buildV1OpenApiDocument(version?: string): {
5231
6693
  schema: {
5232
6694
  type: string;
5233
6695
  properties: {
5234
- deleted: {
5235
- type: string;
5236
- };
5237
- id: {
5238
- type: string;
6696
+ project: {
6697
+ $ref: string;
5239
6698
  };
5240
6699
  };
5241
6700
  };
@@ -5244,81 +6703,45 @@ export declare function buildV1OpenApiDocument(version?: string): {
5244
6703
  };
5245
6704
  };
5246
6705
  };
5247
- };
5248
- "/v1/tasks/{id}/comments": {
5249
- get: {
6706
+ patch: {
5250
6707
  operationId: string;
5251
6708
  summary: string;
5252
- description: string;
5253
- parameters: ({
6709
+ parameters: {
5254
6710
  name: string;
5255
6711
  in: string;
5256
6712
  required: boolean;
5257
6713
  schema: {
5258
6714
  type: string;
5259
- minimum?: undefined;
5260
- maximum?: undefined;
5261
- default?: undefined;
5262
6715
  };
5263
- } | {
5264
- name: string;
5265
- in: string;
6716
+ }[];
6717
+ requestBody: {
5266
6718
  required: boolean;
5267
- schema: {
5268
- type: string;
5269
- minimum: number;
5270
- maximum: number;
5271
- default: number;
5272
- };
5273
- } | {
5274
- name: string;
5275
- in: string;
5276
- schema: {
5277
- type: string;
5278
- minimum?: undefined;
5279
- maximum?: undefined;
5280
- default?: undefined;
6719
+ content: {
6720
+ "application/json": {
6721
+ schema: {
6722
+ $ref: string;
6723
+ };
6724
+ };
5281
6725
  };
5282
- required?: undefined;
5283
- })[];
6726
+ };
5284
6727
  responses: {
5285
6728
  "200": {
5286
6729
  content: {
5287
6730
  "application/json": {
5288
6731
  schema: {
5289
6732
  type: string;
5290
- required: string[];
5291
6733
  properties: {
5292
- comments: {
5293
- type: string;
5294
- maxItems: number;
5295
- items: {
5296
- $ref: string;
5297
- };
5298
- };
5299
- count: {
5300
- type: string;
5301
- minimum: number;
5302
- maximum: number;
5303
- };
5304
- has_more: {
5305
- type: string;
5306
- };
5307
- next_cursor: {
5308
- type: string;
5309
- nullable: boolean;
6734
+ project: {
6735
+ $ref: string;
5310
6736
  };
5311
6737
  };
5312
6738
  };
5313
6739
  };
5314
6740
  };
5315
6741
  };
5316
- "426": {
5317
- description: string;
5318
- };
5319
6742
  };
5320
6743
  };
5321
- post: {
6744
+ delete: {
5322
6745
  operationId: string;
5323
6746
  summary: string;
5324
6747
  parameters: {
@@ -5329,26 +6752,18 @@ export declare function buildV1OpenApiDocument(version?: string): {
5329
6752
  type: string;
5330
6753
  };
5331
6754
  }[];
5332
- requestBody: {
5333
- required: boolean;
5334
- content: {
5335
- "application/json": {
5336
- schema: {
5337
- $ref: string;
5338
- };
5339
- };
5340
- };
5341
- };
5342
6755
  responses: {
5343
- "201": {
6756
+ "200": {
5344
6757
  content: {
5345
6758
  "application/json": {
5346
6759
  schema: {
5347
6760
  type: string;
5348
- required: string[];
5349
6761
  properties: {
5350
- comment: {
5351
- $ref: string;
6762
+ deleted: {
6763
+ type: string;
6764
+ };
6765
+ id: {
6766
+ type: string;
5352
6767
  };
5353
6768
  };
5354
6769
  };
@@ -5358,27 +6773,33 @@ export declare function buildV1OpenApiDocument(version?: string): {
5358
6773
  };
5359
6774
  };
5360
6775
  };
5361
- "/v1/tasks/{id}/stale-lock-handoff": {
6776
+ "/v1/projects/{id}/delete-preserving": {
5362
6777
  post: {
5363
6778
  operationId: string;
5364
6779
  summary: string;
5365
- description: string;
5366
6780
  parameters: {
5367
6781
  name: string;
5368
6782
  in: string;
5369
6783
  required: boolean;
5370
6784
  schema: {
5371
6785
  type: string;
5372
- format: string;
5373
6786
  };
5374
- description: string;
5375
6787
  }[];
5376
6788
  requestBody: {
5377
6789
  required: boolean;
5378
6790
  content: {
5379
6791
  "application/json": {
5380
6792
  schema: {
5381
- $ref: string;
6793
+ type: string;
6794
+ additionalProperties: boolean;
6795
+ properties: {
6796
+ force: {
6797
+ type: string;
6798
+ };
6799
+ require_completed_tasks: {
6800
+ type: string;
6801
+ };
6802
+ };
5382
6803
  };
5383
6804
  };
5384
6805
  };
@@ -5389,11 +6810,33 @@ export declare function buildV1OpenApiDocument(version?: string): {
5389
6810
  "application/json": {
5390
6811
  schema: {
5391
6812
  type: string;
5392
- additionalProperties: boolean;
5393
6813
  required: string[];
5394
6814
  properties: {
5395
- receipt: {
5396
- $ref: string;
6815
+ schema_version: {
6816
+ type: string;
6817
+ enum: number[];
6818
+ };
6819
+ project_id: {
6820
+ type: string;
6821
+ };
6822
+ deleted: {
6823
+ type: string;
6824
+ };
6825
+ preserved_tasks: {
6826
+ type: string;
6827
+ minimum: number;
6828
+ };
6829
+ preserved_plans: {
6830
+ type: string;
6831
+ minimum: number;
6832
+ };
6833
+ detached_task_lists: {
6834
+ type: string;
6835
+ minimum: number;
6836
+ };
6837
+ detached_child_projects: {
6838
+ type: string;
6839
+ minimum: number;
5397
6840
  };
5398
6841
  };
5399
6842
  };
@@ -5409,6 +6852,15 @@ export declare function buildV1OpenApiDocument(version?: string): {
5409
6852
  };
5410
6853
  };
5411
6854
  };
6855
+ "401": {
6856
+ content: {
6857
+ "application/json": {
6858
+ schema: {
6859
+ $ref: string;
6860
+ };
6861
+ };
6862
+ };
6863
+ };
5412
6864
  "403": {
5413
6865
  content: {
5414
6866
  "application/json": {
@@ -5427,6 +6879,15 @@ export declare function buildV1OpenApiDocument(version?: string): {
5427
6879
  };
5428
6880
  };
5429
6881
  };
6882
+ "405": {
6883
+ content: {
6884
+ "application/json": {
6885
+ schema: {
6886
+ $ref: string;
6887
+ };
6888
+ };
6889
+ };
6890
+ };
5430
6891
  "409": {
5431
6892
  content: {
5432
6893
  "application/json": {
@@ -5448,7 +6909,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5448
6909
  };
5449
6910
  };
5450
6911
  };
5451
- "/v1/tasks/{id}/refs": {
6912
+ "/v1/projects/{id}/task-list/ensure": {
5452
6913
  get: {
5453
6914
  operationId: string;
5454
6915
  summary: string;
@@ -5465,21 +6926,25 @@ export declare function buildV1OpenApiDocument(version?: string): {
5465
6926
  content: {
5466
6927
  "application/json": {
5467
6928
  schema: {
5468
- type: string;
5469
- additionalProperties: boolean;
5470
- required: string[];
5471
- properties: {
5472
- refs: {
5473
- type: string;
5474
- items: {
5475
- $ref: string;
5476
- };
5477
- };
5478
- count: {
5479
- type: string;
5480
- minimum: number;
5481
- };
5482
- };
6929
+ $ref: string;
6930
+ };
6931
+ };
6932
+ };
6933
+ };
6934
+ "404": {
6935
+ content: {
6936
+ "application/json": {
6937
+ schema: {
6938
+ $ref: string;
6939
+ };
6940
+ };
6941
+ };
6942
+ };
6943
+ "409": {
6944
+ content: {
6945
+ "application/json": {
6946
+ schema: {
6947
+ $ref: string;
5483
6948
  };
5484
6949
  };
5485
6950
  };
@@ -5502,115 +6967,53 @@ export declare function buildV1OpenApiDocument(version?: string): {
5502
6967
  content: {
5503
6968
  "application/json": {
5504
6969
  schema: {
5505
- type: string;
5506
- additionalProperties: boolean;
5507
- required: string[];
5508
- properties: {
5509
- ref_type: {
5510
- type: string;
5511
- enum: string[];
5512
- };
5513
- name: {
5514
- type: string;
5515
- minLength: number;
5516
- };
5517
- url: {
5518
- type: string;
5519
- };
5520
- provider: {
5521
- type: string;
5522
- };
5523
- metadata: {
5524
- type: string;
5525
- additionalProperties: boolean;
5526
- };
5527
- };
6970
+ $ref: string;
5528
6971
  };
5529
6972
  };
5530
6973
  };
5531
6974
  };
5532
6975
  responses: {
5533
- "201": {
6976
+ "200": {
5534
6977
  content: {
5535
6978
  "application/json": {
5536
6979
  schema: {
5537
- type: string;
5538
- additionalProperties: boolean;
5539
- required: string[];
5540
- properties: {
5541
- ref: {
5542
- $ref: string;
5543
- };
5544
- };
6980
+ $ref: string;
5545
6981
  };
5546
6982
  };
5547
6983
  };
5548
6984
  };
5549
- };
5550
- };
5551
- };
5552
- "/v1/refs/{ref}": {
5553
- get: {
5554
- operationId: string;
5555
- summary: string;
5556
- parameters: {
5557
- name: string;
5558
- in: string;
5559
- required: boolean;
5560
- schema: {
5561
- type: string;
6985
+ "201": {
6986
+ content: {
6987
+ "application/json": {
6988
+ schema: {
6989
+ $ref: string;
6990
+ };
6991
+ };
6992
+ };
5562
6993
  };
5563
- }[];
5564
- responses: {
5565
- "200": {
6994
+ "400": {
5566
6995
  content: {
5567
6996
  "application/json": {
5568
6997
  schema: {
5569
- type: string;
5570
- additionalProperties: boolean;
5571
- required: string[];
5572
- properties: {
5573
- refs: {
5574
- type: string;
5575
- items: {
5576
- $ref: string;
5577
- };
5578
- };
5579
- count: {
5580
- type: string;
5581
- minimum: number;
5582
- };
5583
- };
6998
+ $ref: string;
5584
6999
  };
5585
7000
  };
5586
7001
  };
5587
7002
  };
5588
- };
5589
- };
5590
- };
5591
- "/v1/tasks/{id}/start": {
5592
- post: {
5593
- operationId: string;
5594
- summary: string;
5595
- parameters: {
5596
- name: string;
5597
- in: string;
5598
- required: boolean;
5599
- schema: {
5600
- type: string;
7003
+ "404": {
7004
+ content: {
7005
+ "application/json": {
7006
+ schema: {
7007
+ $ref: string;
7008
+ };
7009
+ };
7010
+ };
5601
7011
  };
5602
- }[];
5603
- responses: {
5604
- "200": {
7012
+ "409": {
5605
7013
  content: {
5606
7014
  "application/json": {
5607
7015
  schema: {
5608
- type: string;
5609
- properties: {
5610
- task: {
5611
- $ref: string;
5612
- };
5613
- };
7016
+ $ref: string;
5614
7017
  };
5615
7018
  };
5616
7019
  };
@@ -5618,7 +7021,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5618
7021
  };
5619
7022
  };
5620
7023
  };
5621
- "/v1/tasks/{id}/complete": {
7024
+ "/v1/projects/{id}/task-list/rollback": {
5622
7025
  post: {
5623
7026
  operationId: string;
5624
7027
  summary: string;
@@ -5645,12 +7048,34 @@ export declare function buildV1OpenApiDocument(version?: string): {
5645
7048
  content: {
5646
7049
  "application/json": {
5647
7050
  schema: {
5648
- type: string;
5649
- properties: {
5650
- task: {
5651
- $ref: string;
5652
- };
5653
- };
7051
+ $ref: string;
7052
+ };
7053
+ };
7054
+ };
7055
+ };
7056
+ "400": {
7057
+ content: {
7058
+ "application/json": {
7059
+ schema: {
7060
+ $ref: string;
7061
+ };
7062
+ };
7063
+ };
7064
+ };
7065
+ "404": {
7066
+ content: {
7067
+ "application/json": {
7068
+ schema: {
7069
+ $ref: string;
7070
+ };
7071
+ };
7072
+ };
7073
+ };
7074
+ "409": {
7075
+ content: {
7076
+ "application/json": {
7077
+ schema: {
7078
+ $ref: string;
5654
7079
  };
5655
7080
  };
5656
7081
  };
@@ -5658,7 +7083,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5658
7083
  };
5659
7084
  };
5660
7085
  };
5661
- "/v1/tasks/{id}/fail": {
7086
+ "/v1/projects/{id}/rename": {
5662
7087
  post: {
5663
7088
  operationId: string;
5664
7089
  summary: string;
@@ -5686,23 +7111,41 @@ export declare function buildV1OpenApiDocument(version?: string): {
5686
7111
  "application/json": {
5687
7112
  schema: {
5688
7113
  type: string;
5689
- required: string[];
5690
7114
  properties: {
5691
- result: {
7115
+ project: {
5692
7116
  $ref: string;
5693
7117
  };
7118
+ task_lists_updated: {
7119
+ type: string;
7120
+ };
5694
7121
  };
5695
7122
  };
5696
7123
  };
5697
7124
  };
5698
7125
  };
7126
+ "409": {
7127
+ content: {
7128
+ "application/json": {
7129
+ schema: {
7130
+ $ref: string;
7131
+ };
7132
+ };
7133
+ };
7134
+ };
5699
7135
  };
5700
7136
  };
5701
7137
  };
5702
- "/v1/projects": {
7138
+ "/v1/plans": {
5703
7139
  get: {
5704
7140
  operationId: string;
5705
7141
  summary: string;
7142
+ parameters: {
7143
+ name: string;
7144
+ in: string;
7145
+ schema: {
7146
+ type: string;
7147
+ };
7148
+ }[];
5706
7149
  responses: {
5707
7150
  "200": {
5708
7151
  content: {
@@ -5710,7 +7153,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5710
7153
  schema: {
5711
7154
  type: string;
5712
7155
  properties: {
5713
- projects: {
7156
+ plans: {
5714
7157
  type: string;
5715
7158
  items: {
5716
7159
  $ref: string;
@@ -5746,7 +7189,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5746
7189
  schema: {
5747
7190
  type: string;
5748
7191
  properties: {
5749
- project: {
7192
+ plan: {
5750
7193
  $ref: string;
5751
7194
  };
5752
7195
  };
@@ -5766,7 +7209,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5766
7209
  };
5767
7210
  };
5768
7211
  };
5769
- "/v1/projects/{id}": {
7212
+ "/v1/plans/{id}": {
5770
7213
  get: {
5771
7214
  operationId: string;
5772
7215
  summary: string;
@@ -5785,7 +7228,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5785
7228
  schema: {
5786
7229
  type: string;
5787
7230
  properties: {
5788
- project: {
7231
+ plan: {
5789
7232
  $ref: string;
5790
7233
  };
5791
7234
  };
@@ -5823,7 +7266,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5823
7266
  schema: {
5824
7267
  type: string;
5825
7268
  properties: {
5826
- project: {
7269
+ plan: {
5827
7270
  $ref: string;
5828
7271
  };
5829
7272
  };
@@ -5831,6 +7274,15 @@ export declare function buildV1OpenApiDocument(version?: string): {
5831
7274
  };
5832
7275
  };
5833
7276
  };
7277
+ "409": {
7278
+ content: {
7279
+ "application/json": {
7280
+ schema: {
7281
+ $ref: string;
7282
+ };
7283
+ };
7284
+ };
7285
+ };
5834
7286
  };
5835
7287
  };
5836
7288
  delete: {
@@ -5843,29 +7295,208 @@ export declare function buildV1OpenApiDocument(version?: string): {
5843
7295
  schema: {
5844
7296
  type: string;
5845
7297
  };
5846
- }[];
7298
+ }[];
7299
+ responses: {
7300
+ "200": {
7301
+ content: {
7302
+ "application/json": {
7303
+ schema: {
7304
+ type: string;
7305
+ properties: {
7306
+ deleted: {
7307
+ type: string;
7308
+ };
7309
+ id: {
7310
+ type: string;
7311
+ };
7312
+ };
7313
+ };
7314
+ };
7315
+ };
7316
+ };
7317
+ };
7318
+ };
7319
+ };
7320
+ "/v1/plans/{id}/comments": {
7321
+ get: {
7322
+ operationId: string;
7323
+ summary: string;
7324
+ parameters: ({
7325
+ name: string;
7326
+ in: string;
7327
+ required: boolean;
7328
+ schema: {
7329
+ type: string;
7330
+ enum?: undefined;
7331
+ };
7332
+ description?: undefined;
7333
+ } | {
7334
+ name: string;
7335
+ in: string;
7336
+ schema: {
7337
+ type: string;
7338
+ enum: string[];
7339
+ };
7340
+ description: string;
7341
+ required?: undefined;
7342
+ })[];
7343
+ responses: {
7344
+ "200": {
7345
+ content: {
7346
+ "application/json": {
7347
+ schema: {
7348
+ type: string;
7349
+ required: string[];
7350
+ properties: {
7351
+ count: {
7352
+ type: string;
7353
+ minimum: number;
7354
+ };
7355
+ comments: {
7356
+ type: string;
7357
+ items: {
7358
+ type: string;
7359
+ required: string[];
7360
+ properties: {
7361
+ id: {
7362
+ type: string;
7363
+ };
7364
+ plan_id: {
7365
+ type: string;
7366
+ };
7367
+ content: {
7368
+ type: string;
7369
+ };
7370
+ created_at: {
7371
+ type: string;
7372
+ };
7373
+ agent_id: {
7374
+ type: string;
7375
+ nullable: boolean;
7376
+ };
7377
+ session_id: {
7378
+ type: string;
7379
+ nullable: boolean;
7380
+ };
7381
+ type: {
7382
+ type: string;
7383
+ enum: string[];
7384
+ };
7385
+ progress_pct: {
7386
+ type: string;
7387
+ nullable: boolean;
7388
+ minimum: number;
7389
+ maximum: number;
7390
+ };
7391
+ };
7392
+ };
7393
+ };
7394
+ history_selection: {
7395
+ type: string;
7396
+ required: string[];
7397
+ properties: {
7398
+ schema_version: {
7399
+ type: string;
7400
+ enum: number[];
7401
+ };
7402
+ plan_id: {
7403
+ type: string;
7404
+ };
7405
+ complete: {
7406
+ type: string;
7407
+ enum: boolean[];
7408
+ };
7409
+ };
7410
+ };
7411
+ };
7412
+ };
7413
+ };
7414
+ };
7415
+ };
7416
+ };
7417
+ };
7418
+ };
7419
+ "/v1/plans/{id}/delete-preserving": {
7420
+ post: {
7421
+ operationId: string;
7422
+ summary: string;
7423
+ parameters: {
7424
+ name: string;
7425
+ in: string;
7426
+ required: boolean;
7427
+ schema: {
7428
+ type: string;
7429
+ };
7430
+ }[];
7431
+ requestBody: {
7432
+ required: boolean;
7433
+ content: {
7434
+ "application/json": {
7435
+ schema: {
7436
+ type: string;
7437
+ additionalProperties: boolean;
7438
+ properties: {
7439
+ force: {
7440
+ type: string;
7441
+ };
7442
+ };
7443
+ };
7444
+ };
7445
+ };
7446
+ };
5847
7447
  responses: {
5848
7448
  "200": {
5849
7449
  content: {
5850
7450
  "application/json": {
5851
7451
  schema: {
5852
7452
  type: string;
7453
+ required: string[];
5853
7454
  properties: {
7455
+ schema_version: {
7456
+ type: string;
7457
+ enum: number[];
7458
+ };
7459
+ plan_id: {
7460
+ type: string;
7461
+ };
5854
7462
  deleted: {
5855
7463
  type: string;
5856
7464
  };
5857
- id: {
7465
+ detached_task_ids: {
7466
+ type: string;
7467
+ items: {
7468
+ type: string;
7469
+ };
7470
+ };
7471
+ detached_task_list_ids: {
7472
+ type: string;
7473
+ items: {
7474
+ type: string;
7475
+ };
7476
+ };
7477
+ detached_tasks: {
7478
+ type: string;
7479
+ minimum: number;
7480
+ };
7481
+ detached_task_lists: {
5858
7482
  type: string;
7483
+ minimum: number;
5859
7484
  };
5860
7485
  };
5861
7486
  };
5862
7487
  };
5863
7488
  };
5864
7489
  };
7490
+ "409": {
7491
+ description: string;
7492
+ };
7493
+ "501": {
7494
+ description: string;
7495
+ };
5865
7496
  };
5866
7497
  };
5867
7498
  };
5868
- "/v1/projects/{id}/task-list/ensure": {
7499
+ "/v1/plans/{id}/project-link": {
5869
7500
  get: {
5870
7501
  operationId: string;
5871
7502
  summary: string;
@@ -5977,7 +7608,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
5977
7608
  };
5978
7609
  };
5979
7610
  };
5980
- "/v1/projects/{id}/task-list/rollback": {
7611
+ "/v1/plans/{id}/project-link/rollback": {
5981
7612
  post: {
5982
7613
  operationId: string;
5983
7614
  summary: string;
@@ -6039,8 +7670,155 @@ export declare function buildV1OpenApiDocument(version?: string): {
6039
7670
  };
6040
7671
  };
6041
7672
  };
6042
- "/v1/projects/{id}/rename": {
7673
+ "/v1/templates/initialize": {
6043
7674
  post: {
7675
+ operationId: string;
7676
+ summary: string;
7677
+ requestBody: {
7678
+ required: boolean;
7679
+ content: {
7680
+ "application/json": {
7681
+ schema: {
7682
+ type: string;
7683
+ additionalProperties: boolean;
7684
+ };
7685
+ };
7686
+ };
7687
+ };
7688
+ responses: {
7689
+ "200": {
7690
+ content: {
7691
+ "application/json": {
7692
+ schema: {
7693
+ type: string;
7694
+ required: string[];
7695
+ properties: {
7696
+ schema_version: {
7697
+ type: string;
7698
+ enum: number[];
7699
+ };
7700
+ created: {
7701
+ type: string;
7702
+ minimum: number;
7703
+ };
7704
+ skipped: {
7705
+ type: string;
7706
+ minimum: number;
7707
+ };
7708
+ names: {
7709
+ type: string;
7710
+ items: {
7711
+ type: string;
7712
+ };
7713
+ };
7714
+ records: {
7715
+ type: string;
7716
+ items: {
7717
+ type: string;
7718
+ required: string[];
7719
+ properties: {
7720
+ definition_index: {
7721
+ type: string;
7722
+ minimum: number;
7723
+ };
7724
+ ids: {
7725
+ type: string;
7726
+ items: {
7727
+ type: string;
7728
+ };
7729
+ };
7730
+ name: {
7731
+ type: string;
7732
+ };
7733
+ status: {
7734
+ type: string;
7735
+ enum: string[];
7736
+ };
7737
+ };
7738
+ };
7739
+ };
7740
+ };
7741
+ };
7742
+ };
7743
+ };
7744
+ };
7745
+ "400": {
7746
+ content: {
7747
+ "application/json": {
7748
+ schema: {
7749
+ $ref: string;
7750
+ };
7751
+ };
7752
+ };
7753
+ };
7754
+ "401": {
7755
+ content: {
7756
+ "application/json": {
7757
+ schema: {
7758
+ $ref: string;
7759
+ };
7760
+ };
7761
+ };
7762
+ };
7763
+ "403": {
7764
+ content: {
7765
+ "application/json": {
7766
+ schema: {
7767
+ $ref: string;
7768
+ };
7769
+ };
7770
+ };
7771
+ };
7772
+ "404": {
7773
+ content: {
7774
+ "application/json": {
7775
+ schema: {
7776
+ $ref: string;
7777
+ };
7778
+ };
7779
+ };
7780
+ };
7781
+ "405": {
7782
+ content: {
7783
+ "application/json": {
7784
+ schema: {
7785
+ $ref: string;
7786
+ };
7787
+ };
7788
+ };
7789
+ };
7790
+ "409": {
7791
+ content: {
7792
+ "application/json": {
7793
+ schema: {
7794
+ $ref: string;
7795
+ };
7796
+ };
7797
+ };
7798
+ };
7799
+ "500": {
7800
+ content: {
7801
+ "application/json": {
7802
+ schema: {
7803
+ $ref: string;
7804
+ };
7805
+ };
7806
+ };
7807
+ };
7808
+ "501": {
7809
+ content: {
7810
+ "application/json": {
7811
+ schema: {
7812
+ $ref: string;
7813
+ };
7814
+ };
7815
+ };
7816
+ };
7817
+ };
7818
+ };
7819
+ };
7820
+ "/v1/templates/{id}/history": {
7821
+ get: {
6044
7822
  operationId: string;
6045
7823
  summary: string;
6046
7824
  parameters: {
@@ -6051,30 +7829,112 @@ export declare function buildV1OpenApiDocument(version?: string): {
6051
7829
  type: string;
6052
7830
  };
6053
7831
  }[];
6054
- requestBody: {
6055
- required: boolean;
6056
- content: {
6057
- "application/json": {
6058
- schema: {
6059
- $ref: string;
7832
+ responses: {
7833
+ "200": {
7834
+ content: {
7835
+ "application/json": {
7836
+ schema: {
7837
+ type: string;
7838
+ required: string[];
7839
+ properties: {
7840
+ current_version: {
7841
+ type: string;
7842
+ minimum: number;
7843
+ };
7844
+ versions: {
7845
+ type: string;
7846
+ items: {
7847
+ type: string;
7848
+ required: string[];
7849
+ properties: {
7850
+ id: {
7851
+ type: string;
7852
+ };
7853
+ template_id: {
7854
+ type: string;
7855
+ };
7856
+ version: {
7857
+ type: string;
7858
+ minimum: number;
7859
+ };
7860
+ snapshot: {
7861
+ type: string;
7862
+ };
7863
+ created_at: {
7864
+ type: string;
7865
+ };
7866
+ };
7867
+ };
7868
+ };
7869
+ selection: {
7870
+ type: string;
7871
+ required: string[];
7872
+ properties: {
7873
+ schema_version: {
7874
+ type: string;
7875
+ enum: number[];
7876
+ };
7877
+ template_id: {
7878
+ type: string;
7879
+ };
7880
+ complete: {
7881
+ type: string;
7882
+ };
7883
+ missing_versions: {
7884
+ type: string;
7885
+ items: {
7886
+ type: string;
7887
+ minimum: number;
7888
+ };
7889
+ };
7890
+ };
7891
+ };
7892
+ };
7893
+ };
7894
+ };
7895
+ };
7896
+ };
7897
+ "400": {
7898
+ content: {
7899
+ "application/json": {
7900
+ schema: {
7901
+ $ref: string;
7902
+ };
7903
+ };
7904
+ };
7905
+ };
7906
+ "401": {
7907
+ content: {
7908
+ "application/json": {
7909
+ schema: {
7910
+ $ref: string;
7911
+ };
7912
+ };
7913
+ };
7914
+ };
7915
+ "403": {
7916
+ content: {
7917
+ "application/json": {
7918
+ schema: {
7919
+ $ref: string;
7920
+ };
7921
+ };
7922
+ };
7923
+ };
7924
+ "404": {
7925
+ content: {
7926
+ "application/json": {
7927
+ schema: {
7928
+ $ref: string;
7929
+ };
6060
7930
  };
6061
7931
  };
6062
7932
  };
6063
- };
6064
- responses: {
6065
- "200": {
7933
+ "405": {
6066
7934
  content: {
6067
7935
  "application/json": {
6068
7936
  schema: {
6069
- type: string;
6070
- properties: {
6071
- project: {
6072
- $ref: string;
6073
- };
6074
- task_lists_updated: {
6075
- type: string;
6076
- };
6077
- };
7937
+ $ref: string;
6078
7938
  };
6079
7939
  };
6080
7940
  };
@@ -6088,10 +7948,28 @@ export declare function buildV1OpenApiDocument(version?: string): {
6088
7948
  };
6089
7949
  };
6090
7950
  };
7951
+ "500": {
7952
+ content: {
7953
+ "application/json": {
7954
+ schema: {
7955
+ $ref: string;
7956
+ };
7957
+ };
7958
+ };
7959
+ };
7960
+ "501": {
7961
+ content: {
7962
+ "application/json": {
7963
+ schema: {
7964
+ $ref: string;
7965
+ };
7966
+ };
7967
+ };
7968
+ };
6091
7969
  };
6092
7970
  };
6093
7971
  };
6094
- "/v1/plans": {
7972
+ "/v1/templates": {
6095
7973
  get: {
6096
7974
  operationId: string;
6097
7975
  summary: string;
@@ -6109,7 +7987,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6109
7987
  schema: {
6110
7988
  type: string;
6111
7989
  properties: {
6112
- plans: {
7990
+ templates: {
6113
7991
  type: string;
6114
7992
  items: {
6115
7993
  $ref: string;
@@ -6145,7 +8023,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6145
8023
  schema: {
6146
8024
  type: string;
6147
8025
  properties: {
6148
- plan: {
8026
+ template: {
6149
8027
  $ref: string;
6150
8028
  };
6151
8029
  };
@@ -6153,19 +8031,10 @@ export declare function buildV1OpenApiDocument(version?: string): {
6153
8031
  };
6154
8032
  };
6155
8033
  };
6156
- "409": {
6157
- content: {
6158
- "application/json": {
6159
- schema: {
6160
- $ref: string;
6161
- };
6162
- };
6163
- };
6164
- };
6165
8034
  };
6166
8035
  };
6167
8036
  };
6168
- "/v1/plans/{id}": {
8037
+ "/v1/templates/{id}": {
6169
8038
  get: {
6170
8039
  operationId: string;
6171
8040
  summary: string;
@@ -6184,7 +8053,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6184
8053
  schema: {
6185
8054
  type: string;
6186
8055
  properties: {
6187
- plan: {
8056
+ template: {
6188
8057
  $ref: string;
6189
8058
  };
6190
8059
  };
@@ -6222,23 +8091,39 @@ export declare function buildV1OpenApiDocument(version?: string): {
6222
8091
  schema: {
6223
8092
  type: string;
6224
8093
  properties: {
6225
- plan: {
8094
+ template: {
6226
8095
  $ref: string;
6227
8096
  };
8097
+ history_write: {
8098
+ type: string;
8099
+ required: string[];
8100
+ properties: {
8101
+ schema_version: {
8102
+ type: string;
8103
+ enum: number[];
8104
+ };
8105
+ template_id: {
8106
+ type: string;
8107
+ };
8108
+ previous_version: {
8109
+ type: string;
8110
+ minimum: number;
8111
+ };
8112
+ version: {
8113
+ type: string;
8114
+ minimum: number;
8115
+ };
8116
+ recorded: {
8117
+ type: string;
8118
+ enum: boolean[];
8119
+ };
8120
+ };
8121
+ };
6228
8122
  };
6229
8123
  };
6230
8124
  };
6231
8125
  };
6232
8126
  };
6233
- "409": {
6234
- content: {
6235
- "application/json": {
6236
- schema: {
6237
- $ref: string;
6238
- };
6239
- };
6240
- };
6241
- };
6242
8127
  };
6243
8128
  };
6244
8129
  delete: {
@@ -6273,49 +8158,98 @@ export declare function buildV1OpenApiDocument(version?: string): {
6273
8158
  };
6274
8159
  };
6275
8160
  };
6276
- "/v1/plans/{id}/project-link": {
8161
+ "/v1/agents": {
6277
8162
  get: {
6278
8163
  operationId: string;
6279
8164
  summary: string;
6280
- parameters: {
8165
+ description: string;
8166
+ parameters: ({
6281
8167
  name: string;
6282
8168
  in: string;
6283
8169
  required: boolean;
6284
8170
  schema: {
6285
8171
  type: string;
8172
+ minimum: number;
8173
+ maximum: number;
8174
+ default: number;
6286
8175
  };
6287
- }[];
8176
+ } | {
8177
+ name: string;
8178
+ in: string;
8179
+ required: boolean;
8180
+ schema: {
8181
+ type: string;
8182
+ minimum: number;
8183
+ default: number;
8184
+ maximum?: undefined;
8185
+ };
8186
+ } | {
8187
+ name: string;
8188
+ in: string;
8189
+ required: boolean;
8190
+ schema: {
8191
+ type: string;
8192
+ default: boolean;
8193
+ minimum?: undefined;
8194
+ maximum?: undefined;
8195
+ };
8196
+ })[];
6288
8197
  responses: {
6289
8198
  "200": {
6290
8199
  content: {
6291
8200
  "application/json": {
6292
8201
  schema: {
6293
- $ref: string;
6294
- };
6295
- };
6296
- };
6297
- };
6298
- "404": {
6299
- content: {
6300
- "application/json": {
6301
- schema: {
6302
- $ref: string;
8202
+ type: string;
8203
+ required: string[];
8204
+ properties: {
8205
+ agents: {
8206
+ type: string;
8207
+ items: {
8208
+ type: string;
8209
+ };
8210
+ };
8211
+ count: {
8212
+ type: string;
8213
+ minimum: number;
8214
+ };
8215
+ total: {
8216
+ type: string;
8217
+ minimum: number;
8218
+ };
8219
+ limit: {
8220
+ type: string;
8221
+ minimum: number;
8222
+ maximum: number;
8223
+ };
8224
+ offset: {
8225
+ type: string;
8226
+ minimum: number;
8227
+ };
8228
+ has_more: {
8229
+ type: string;
8230
+ };
8231
+ next_offset: {
8232
+ anyOf: ({
8233
+ type: string;
8234
+ minimum: number;
8235
+ } | {
8236
+ type: string;
8237
+ minimum?: undefined;
8238
+ })[];
8239
+ };
8240
+ };
6303
8241
  };
6304
8242
  };
6305
8243
  };
6306
8244
  };
6307
- "409": {
6308
- content: {
6309
- "application/json": {
6310
- schema: {
6311
- $ref: string;
6312
- };
6313
- };
6314
- };
8245
+ "426": {
8246
+ description: string;
6315
8247
  };
6316
8248
  };
6317
8249
  };
6318
- post: {
8250
+ };
8251
+ "/v1/activity": {
8252
+ get: {
6319
8253
  operationId: string;
6320
8254
  summary: string;
6321
8255
  parameters: {
@@ -6324,60 +8258,35 @@ export declare function buildV1OpenApiDocument(version?: string): {
6324
8258
  required: boolean;
6325
8259
  schema: {
6326
8260
  type: string;
8261
+ minimum: number;
8262
+ maximum: number;
8263
+ default: number;
6327
8264
  };
6328
8265
  }[];
6329
- requestBody: {
6330
- required: boolean;
6331
- content: {
6332
- "application/json": {
6333
- schema: {
6334
- $ref: string;
6335
- };
6336
- };
6337
- };
6338
- };
6339
8266
  responses: {
6340
8267
  "200": {
6341
8268
  content: {
6342
8269
  "application/json": {
6343
8270
  schema: {
6344
- $ref: string;
6345
- };
6346
- };
6347
- };
6348
- };
6349
- "201": {
6350
- content: {
6351
- "application/json": {
6352
- schema: {
6353
- $ref: string;
6354
- };
6355
- };
6356
- };
6357
- };
6358
- "400": {
6359
- content: {
6360
- "application/json": {
6361
- schema: {
6362
- $ref: string;
6363
- };
6364
- };
6365
- };
6366
- };
6367
- "404": {
6368
- content: {
6369
- "application/json": {
6370
- schema: {
6371
- $ref: string;
6372
- };
6373
- };
6374
- };
6375
- };
6376
- "409": {
6377
- content: {
6378
- "application/json": {
6379
- schema: {
6380
- $ref: string;
8271
+ type: string;
8272
+ required: string[];
8273
+ properties: {
8274
+ activity: {
8275
+ type: string;
8276
+ items: {
8277
+ type: string;
8278
+ };
8279
+ };
8280
+ count: {
8281
+ type: string;
8282
+ minimum: number;
8283
+ };
8284
+ limit: {
8285
+ type: string;
8286
+ minimum: number;
8287
+ maximum: number;
8288
+ };
8289
+ };
6381
8290
  };
6382
8291
  };
6383
8292
  };
@@ -6385,28 +8294,34 @@ export declare function buildV1OpenApiDocument(version?: string): {
6385
8294
  };
6386
8295
  };
6387
8296
  };
6388
- "/v1/plans/{id}/project-link/rollback": {
6389
- post: {
8297
+ "/v1/dependencies": {
8298
+ get: {
6390
8299
  operationId: string;
6391
8300
  summary: string;
6392
- parameters: {
8301
+ description: string;
8302
+ parameters: ({
6393
8303
  name: string;
6394
8304
  in: string;
6395
8305
  required: boolean;
8306
+ description: string;
6396
8307
  schema: {
6397
8308
  type: string;
8309
+ minimum: number;
8310
+ maximum: number;
8311
+ default: number;
6398
8312
  };
6399
- }[];
6400
- requestBody: {
8313
+ } | {
8314
+ name: string;
8315
+ in: string;
6401
8316
  required: boolean;
6402
- content: {
6403
- "application/json": {
6404
- schema: {
6405
- $ref: string;
6406
- };
6407
- };
8317
+ description: string;
8318
+ schema: {
8319
+ type: string;
8320
+ minimum: number;
8321
+ default: number;
8322
+ maximum?: undefined;
6408
8323
  };
6409
- };
8324
+ })[];
6410
8325
  responses: {
6411
8326
  "200": {
6412
8327
  content: {
@@ -6426,7 +8341,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6426
8341
  };
6427
8342
  };
6428
8343
  };
6429
- "404": {
8344
+ "426": {
6430
8345
  content: {
6431
8346
  "application/json": {
6432
8347
  schema: {
@@ -6435,7 +8350,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6435
8350
  };
6436
8351
  };
6437
8352
  };
6438
- "409": {
8353
+ "501": {
6439
8354
  content: {
6440
8355
  "application/json": {
6441
8356
  schema: {
@@ -6447,7 +8362,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6447
8362
  };
6448
8363
  };
6449
8364
  };
6450
- "/v1/templates": {
8365
+ "/v1/task-lists": {
6451
8366
  get: {
6452
8367
  operationId: string;
6453
8368
  summary: string;
@@ -6465,7 +8380,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6465
8380
  schema: {
6466
8381
  type: string;
6467
8382
  properties: {
6468
- templates: {
8383
+ task_lists: {
6469
8384
  type: string;
6470
8385
  items: {
6471
8386
  $ref: string;
@@ -6501,7 +8416,7 @@ export declare function buildV1OpenApiDocument(version?: string): {
6501
8416
  schema: {
6502
8417
  type: string;
6503
8418
  properties: {
6504
- template: {
8419
+ task_list: {
6505
8420
  $ref: string;
6506
8421
  };
6507
8422
  };
@@ -6509,39 +8424,20 @@ export declare function buildV1OpenApiDocument(version?: string): {
6509
8424
  };
6510
8425
  };
6511
8426
  };
6512
- };
6513
- };
6514
- };
6515
- "/v1/templates/{id}": {
6516
- get: {
6517
- operationId: string;
6518
- summary: string;
6519
- parameters: {
6520
- name: string;
6521
- in: string;
6522
- required: boolean;
6523
- schema: {
6524
- type: string;
6525
- };
6526
- }[];
6527
- responses: {
6528
- "200": {
8427
+ "409": {
6529
8428
  content: {
6530
8429
  "application/json": {
6531
8430
  schema: {
6532
- type: string;
6533
- properties: {
6534
- template: {
6535
- $ref: string;
6536
- };
6537
- };
8431
+ $ref: string;
6538
8432
  };
6539
8433
  };
6540
8434
  };
6541
8435
  };
6542
8436
  };
6543
8437
  };
6544
- patch: {
8438
+ };
8439
+ "/v1/task-lists/{id}/delete-preserving": {
8440
+ post: {
6545
8441
  operationId: string;
6546
8442
  summary: string;
6547
8443
  parameters: {
@@ -6557,123 +8453,72 @@ export declare function buildV1OpenApiDocument(version?: string): {
6557
8453
  content: {
6558
8454
  "application/json": {
6559
8455
  schema: {
6560
- $ref: string;
6561
- };
6562
- };
6563
- };
6564
- };
6565
- responses: {
6566
- "200": {
6567
- content: {
6568
- "application/json": {
6569
- schema: {
6570
- type: string;
6571
- properties: {
6572
- template: {
6573
- $ref: string;
6574
- };
8456
+ type: string;
8457
+ additionalProperties: boolean;
8458
+ properties: {
8459
+ force: {
8460
+ type: string;
8461
+ default: boolean;
6575
8462
  };
6576
8463
  };
6577
8464
  };
6578
8465
  };
6579
8466
  };
6580
8467
  };
6581
- };
6582
- delete: {
6583
- operationId: string;
6584
- summary: string;
6585
- parameters: {
6586
- name: string;
6587
- in: string;
6588
- required: boolean;
6589
- schema: {
6590
- type: string;
6591
- };
6592
- }[];
6593
8468
  responses: {
6594
8469
  "200": {
6595
8470
  content: {
6596
8471
  "application/json": {
6597
8472
  schema: {
6598
8473
  type: string;
8474
+ additionalProperties: boolean;
8475
+ required: string[];
6599
8476
  properties: {
8477
+ schema_version: {
8478
+ type: string;
8479
+ enum: number[];
8480
+ };
8481
+ task_list_id: {
8482
+ type: string;
8483
+ };
6600
8484
  deleted: {
6601
8485
  type: string;
6602
8486
  };
6603
- id: {
8487
+ detached_task_ids: {
6604
8488
  type: string;
8489
+ items: {
8490
+ type: string;
8491
+ };
6605
8492
  };
6606
- };
6607
- };
6608
- };
6609
- };
6610
- };
6611
- };
6612
- };
6613
- };
6614
- "/v1/task-lists": {
6615
- get: {
6616
- operationId: string;
6617
- summary: string;
6618
- parameters: {
6619
- name: string;
6620
- in: string;
6621
- schema: {
6622
- type: string;
6623
- };
6624
- }[];
6625
- responses: {
6626
- "200": {
6627
- content: {
6628
- "application/json": {
6629
- schema: {
6630
- type: string;
6631
- properties: {
6632
- task_lists: {
8493
+ detached_plan_ids: {
6633
8494
  type: string;
6634
8495
  items: {
6635
- $ref: string;
8496
+ type: string;
6636
8497
  };
6637
8498
  };
6638
- count: {
8499
+ detached_tasks: {
8500
+ type: string;
8501
+ minimum: number;
8502
+ };
8503
+ detached_plans: {
6639
8504
  type: string;
8505
+ minimum: number;
6640
8506
  };
6641
8507
  };
6642
8508
  };
6643
8509
  };
6644
8510
  };
6645
8511
  };
6646
- };
6647
- };
6648
- post: {
6649
- operationId: string;
6650
- summary: string;
6651
- requestBody: {
6652
- required: boolean;
6653
- content: {
6654
- "application/json": {
6655
- schema: {
6656
- $ref: string;
6657
- };
6658
- };
6659
- };
6660
- };
6661
- responses: {
6662
- "201": {
8512
+ "409": {
6663
8513
  content: {
6664
8514
  "application/json": {
6665
8515
  schema: {
6666
- type: string;
6667
- properties: {
6668
- task_list: {
6669
- $ref: string;
6670
- };
6671
- };
8516
+ $ref: string;
6672
8517
  };
6673
8518
  };
6674
8519
  };
6675
8520
  };
6676
- "409": {
8521
+ "501": {
6677
8522
  content: {
6678
8523
  "application/json": {
6679
8524
  schema: {
@@ -7028,6 +8873,193 @@ export declare function buildV1OpenApiDocument(version?: string): {
7028
8873
  };
7029
8874
  };
7030
8875
  };
8876
+ "/v1/project-migrations": {
8877
+ get: {
8878
+ operationId: string;
8879
+ summary: string;
8880
+ responses: {
8881
+ "200": {
8882
+ content: {
8883
+ "application/json": {
8884
+ schema: {
8885
+ type: string;
8886
+ required: string[];
8887
+ properties: {
8888
+ schema_version: {
8889
+ type: string;
8890
+ enum: number[];
8891
+ };
8892
+ authority: {
8893
+ readonly type: "object";
8894
+ readonly required: readonly ["tenant_id", "kid", "deployment_id"];
8895
+ readonly properties: {
8896
+ readonly tenant_id: {
8897
+ readonly type: "string";
8898
+ };
8899
+ readonly kid: {
8900
+ readonly type: "string";
8901
+ };
8902
+ readonly deployment_id: {
8903
+ readonly type: "string";
8904
+ readonly format: "uuid";
8905
+ };
8906
+ };
8907
+ };
8908
+ supported_families: {
8909
+ type: string;
8910
+ items: {
8911
+ type: string;
8912
+ };
8913
+ };
8914
+ supported_tombstones: {
8915
+ type: string;
8916
+ items: {
8917
+ type: string;
8918
+ };
8919
+ };
8920
+ max_records: {
8921
+ type: string;
8922
+ };
8923
+ max_bytes: {
8924
+ type: string;
8925
+ };
8926
+ atomic: {
8927
+ type: string;
8928
+ enum: boolean[];
8929
+ };
8930
+ };
8931
+ };
8932
+ };
8933
+ };
8934
+ };
8935
+ };
8936
+ };
8937
+ post: {
8938
+ operationId: string;
8939
+ summary: string;
8940
+ description: string;
8941
+ requestBody: {
8942
+ required: boolean;
8943
+ content: {
8944
+ "application/json": {
8945
+ schema: {
8946
+ type: string;
8947
+ required: string[];
8948
+ properties: {
8949
+ schema_version: {
8950
+ type: string;
8951
+ enum: number[];
8952
+ };
8953
+ operation_id: {
8954
+ type: string;
8955
+ minLength: number;
8956
+ maxLength: number;
8957
+ };
8958
+ expected_authority: {
8959
+ readonly type: "object";
8960
+ readonly required: readonly ["tenant_id", "kid", "deployment_id"];
8961
+ readonly properties: {
8962
+ readonly tenant_id: {
8963
+ readonly type: "string";
8964
+ };
8965
+ readonly kid: {
8966
+ readonly type: "string";
8967
+ };
8968
+ readonly deployment_id: {
8969
+ readonly type: "string";
8970
+ readonly format: "uuid";
8971
+ };
8972
+ };
8973
+ };
8974
+ snapshot_hash: {
8975
+ type: string;
8976
+ pattern: string;
8977
+ };
8978
+ snapshot: {
8979
+ type: string;
8980
+ description: string;
8981
+ additionalProperties: boolean;
8982
+ };
8983
+ };
8984
+ };
8985
+ };
8986
+ };
8987
+ };
8988
+ responses: {
8989
+ "200": {
8990
+ content: {
8991
+ "application/json": {
8992
+ schema: {
8993
+ readonly type: "object";
8994
+ readonly required: readonly ["schema_version", "operation_id", "snapshot_hash", "authority", "status", "records"];
8995
+ readonly properties: {
8996
+ readonly schema_version: {
8997
+ readonly type: "integer";
8998
+ readonly enum: readonly [1];
8999
+ };
9000
+ readonly operation_id: {
9001
+ readonly type: "string";
9002
+ };
9003
+ readonly snapshot_hash: {
9004
+ readonly type: "string";
9005
+ };
9006
+ readonly authority: {
9007
+ readonly type: "object";
9008
+ readonly required: readonly ["tenant_id", "kid", "deployment_id"];
9009
+ readonly properties: {
9010
+ readonly tenant_id: {
9011
+ readonly type: "string";
9012
+ };
9013
+ readonly kid: {
9014
+ readonly type: "string";
9015
+ };
9016
+ readonly deployment_id: {
9017
+ readonly type: "string";
9018
+ readonly format: "uuid";
9019
+ };
9020
+ };
9021
+ };
9022
+ readonly status: {
9023
+ readonly type: "string";
9024
+ readonly enum: readonly ["complete"];
9025
+ };
9026
+ readonly records: {
9027
+ readonly type: "array";
9028
+ readonly items: {
9029
+ readonly type: "object";
9030
+ readonly required: readonly ["object_type", "object_id", "outcome", "before_hash", "after_hash", "source_hash"];
9031
+ readonly properties: {
9032
+ readonly object_type: {
9033
+ readonly type: "string";
9034
+ };
9035
+ readonly object_id: {
9036
+ readonly type: "string";
9037
+ };
9038
+ readonly outcome: {
9039
+ readonly type: "string";
9040
+ readonly enum: readonly ["inserted", "updated", "identical", "superseded", "deleted", "detached"];
9041
+ };
9042
+ readonly before_hash: {
9043
+ readonly type: "string";
9044
+ readonly nullable: true;
9045
+ };
9046
+ readonly after_hash: {
9047
+ readonly type: "string";
9048
+ };
9049
+ readonly source_hash: {
9050
+ readonly type: "string";
9051
+ };
9052
+ };
9053
+ };
9054
+ };
9055
+ };
9056
+ };
9057
+ };
9058
+ };
9059
+ };
9060
+ };
9061
+ };
9062
+ };
7031
9063
  "/v1/import": {
7032
9064
  post: {
7033
9065
  operationId: string;
@@ -7064,6 +9096,16 @@ export declare function buildV1OpenApiDocument(version?: string): {
7064
9096
  type: string;
7065
9097
  };
7066
9098
  };
9099
+ machines: {
9100
+ type: string;
9101
+ maxItems: number;
9102
+ items: {
9103
+ $ref: string;
9104
+ };
9105
+ };
9106
+ expected_machine_authority: {
9107
+ $ref: string;
9108
+ };
7067
9109
  plans: {
7068
9110
  type: string;
7069
9111
  items: {
@@ -7144,6 +9186,9 @@ export declare function buildV1OpenApiDocument(version?: string): {
7144
9186
  received: {
7145
9187
  type: string;
7146
9188
  };
9189
+ machine_authority: {
9190
+ $ref: string;
9191
+ };
7147
9192
  result: {
7148
9193
  type: string;
7149
9194
  properties: {