@cat-factory/contracts 0.33.0 → 0.35.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 (228) hide show
  1. package/dist/api-keys.d.ts +17 -0
  2. package/dist/api-keys.d.ts.map +1 -1
  3. package/dist/api-keys.js +2 -0
  4. package/dist/api-keys.js.map +1 -1
  5. package/dist/entities.d.ts +135 -0
  6. package/dist/entities.d.ts.map +1 -1
  7. package/dist/entities.js +46 -0
  8. package/dist/entities.js.map +1 -1
  9. package/dist/github.d.ts +14 -0
  10. package/dist/github.d.ts.map +1 -1
  11. package/dist/github.js +13 -0
  12. package/dist/github.js.map +1 -1
  13. package/dist/human-review.d.ts +8 -0
  14. package/dist/human-review.d.ts.map +1 -0
  15. package/dist/human-review.js +12 -0
  16. package/dist/human-review.js.map +1 -0
  17. package/dist/index.d.ts +2 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +2 -0
  20. package/dist/index.js.map +1 -1
  21. package/dist/merge.d.ts +9 -0
  22. package/dist/merge.d.ts.map +1 -1
  23. package/dist/merge.js +10 -0
  24. package/dist/merge.js.map +1 -1
  25. package/dist/notifications.d.ts +2 -2
  26. package/dist/notifications.d.ts.map +1 -1
  27. package/dist/notifications.js +6 -0
  28. package/dist/notifications.js.map +1 -1
  29. package/dist/observability.d.ts +63 -0
  30. package/dist/observability.d.ts.map +1 -1
  31. package/dist/observability.js +57 -0
  32. package/dist/observability.js.map +1 -1
  33. package/dist/requests.d.ts +7 -0
  34. package/dist/requests.d.ts.map +1 -1
  35. package/dist/requests.js +2 -0
  36. package/dist/requests.js.map +1 -1
  37. package/dist/routes/_shared.d.ts +49 -0
  38. package/dist/routes/_shared.d.ts.map +1 -0
  39. package/dist/routes/_shared.js +34 -0
  40. package/dist/routes/_shared.js.map +1 -0
  41. package/dist/routes/accounts.d.ts +775 -0
  42. package/dist/routes/accounts.d.ts.map +1 -0
  43. package/dist/routes/accounts.js +145 -0
  44. package/dist/routes/accounts.js.map +1 -0
  45. package/dist/routes/agent-runs.d.ts +659 -0
  46. package/dist/routes/agent-runs.d.ts.map +1 -0
  47. package/dist/routes/agent-runs.js +33 -0
  48. package/dist/routes/agent-runs.js.map +1 -0
  49. package/dist/routes/api-keys.d.ts +245 -0
  50. package/dist/routes/api-keys.d.ts.map +1 -0
  51. package/dist/routes/api-keys.js +49 -0
  52. package/dist/routes/api-keys.js.map +1 -0
  53. package/dist/routes/auth.d.ts +411 -0
  54. package/dist/routes/auth.d.ts.map +1 -0
  55. package/dist/routes/auth.js +129 -0
  56. package/dist/routes/auth.js.map +1 -0
  57. package/dist/routes/board.d.ts +1260 -0
  58. package/dist/routes/board.d.ts.map +1 -0
  59. package/dist/routes/board.js +85 -0
  60. package/dist/routes/board.js.map +1 -0
  61. package/dist/routes/bootstrap.d.ts +395 -0
  62. package/dist/routes/bootstrap.d.ts.map +1 -0
  63. package/dist/routes/bootstrap.js +56 -0
  64. package/dist/routes/bootstrap.js.map +1 -0
  65. package/dist/routes/brainstorm.d.ts +482 -0
  66. package/dist/routes/brainstorm.d.ts.map +1 -0
  67. package/dist/routes/brainstorm.js +69 -0
  68. package/dist/routes/brainstorm.js.map +1 -0
  69. package/dist/routes/clarity.d.ts +462 -0
  70. package/dist/routes/clarity.d.ts.map +1 -0
  71. package/dist/routes/clarity.js +67 -0
  72. package/dist/routes/clarity.js.map +1 -0
  73. package/dist/routes/consensus.d.ts +71 -0
  74. package/dist/routes/consensus.d.ts.map +1 -0
  75. package/dist/routes/consensus.js +23 -0
  76. package/dist/routes/consensus.js.map +1 -0
  77. package/dist/routes/documents.d.ts +449 -0
  78. package/dist/routes/documents.d.ts.map +1 -0
  79. package/dist/routes/documents.js +89 -0
  80. package/dist/routes/documents.js.map +1 -0
  81. package/dist/routes/environments.d.ts +715 -0
  82. package/dist/routes/environments.d.ts.map +1 -0
  83. package/dist/routes/environments.js +82 -0
  84. package/dist/routes/environments.js.map +1 -0
  85. package/dist/routes/execution.d.ts +2768 -0
  86. package/dist/routes/execution.d.ts.map +1 -0
  87. package/dist/routes/execution.js +119 -0
  88. package/dist/routes/execution.js.map +1 -0
  89. package/dist/routes/followUp.d.ts +277 -0
  90. package/dist/routes/followUp.d.ts.map +1 -0
  91. package/dist/routes/followUp.js +47 -0
  92. package/dist/routes/followUp.js.map +1 -0
  93. package/dist/routes/fragment-library.d.ts +594 -0
  94. package/dist/routes/fragment-library.d.ts.map +1 -0
  95. package/dist/routes/fragment-library.js +102 -0
  96. package/dist/routes/fragment-library.js.map +1 -0
  97. package/dist/routes/github.d.ts +807 -0
  98. package/dist/routes/github.d.ts.map +1 -0
  99. package/dist/routes/github.js +157 -0
  100. package/dist/routes/github.js.map +1 -0
  101. package/dist/routes/human-review.d.ts +290 -0
  102. package/dist/routes/human-review.d.ts.map +1 -0
  103. package/dist/routes/human-review.js +20 -0
  104. package/dist/routes/human-review.js.map +1 -0
  105. package/dist/routes/human-test.d.ts +1435 -0
  106. package/dist/routes/human-test.d.ts.map +1 -0
  107. package/dist/routes/human-test.js +48 -0
  108. package/dist/routes/human-test.js.map +1 -0
  109. package/dist/routes/incident-enrichment.d.ts +110 -0
  110. package/dist/routes/incident-enrichment.d.ts.map +1 -0
  111. package/dist/routes/incident-enrichment.js +26 -0
  112. package/dist/routes/incident-enrichment.js.map +1 -0
  113. package/dist/routes/index.d.ts +47 -0
  114. package/dist/routes/index.d.ts.map +1 -0
  115. package/dist/routes/index.js +50 -0
  116. package/dist/routes/index.js.map +1 -0
  117. package/dist/routes/kaizen.d.ts +113 -0
  118. package/dist/routes/kaizen.d.ts.map +1 -0
  119. package/dist/routes/kaizen.js +22 -0
  120. package/dist/routes/kaizen.js.map +1 -0
  121. package/dist/routes/localModels.d.ts +163 -0
  122. package/dist/routes/localModels.d.ts.map +1 -0
  123. package/dist/routes/localModels.js +41 -0
  124. package/dist/routes/localModels.js.map +1 -0
  125. package/dist/routes/localSettings.d.ts +93 -0
  126. package/dist/routes/localSettings.d.ts.map +1 -0
  127. package/dist/routes/localSettings.js +22 -0
  128. package/dist/routes/localSettings.js.map +1 -0
  129. package/dist/routes/merge.d.ts +197 -0
  130. package/dist/routes/merge.d.ts.map +1 -0
  131. package/dist/routes/merge.js +36 -0
  132. package/dist/routes/merge.js.map +1 -0
  133. package/dist/routes/model-presets.d.ts +162 -0
  134. package/dist/routes/model-presets.d.ts.map +1 -0
  135. package/dist/routes/model-presets.js +36 -0
  136. package/dist/routes/model-presets.js.map +1 -0
  137. package/dist/routes/models.d.ts +123 -0
  138. package/dist/routes/models.d.ts.map +1 -0
  139. package/dist/routes/models.js +25 -0
  140. package/dist/routes/models.js.map +1 -0
  141. package/dist/routes/notifications.d.ts +213 -0
  142. package/dist/routes/notifications.d.ts.map +1 -0
  143. package/dist/routes/notifications.js +31 -0
  144. package/dist/routes/notifications.js.map +1 -0
  145. package/dist/routes/openrouter.d.ts +145 -0
  146. package/dist/routes/openrouter.d.ts.map +1 -0
  147. package/dist/routes/openrouter.js +32 -0
  148. package/dist/routes/openrouter.js.map +1 -0
  149. package/dist/routes/personal-subscriptions.d.ts +124 -0
  150. package/dist/routes/personal-subscriptions.d.ts.map +1 -0
  151. package/dist/routes/personal-subscriptions.js +32 -0
  152. package/dist/routes/personal-subscriptions.js.map +1 -0
  153. package/dist/routes/pipelines.d.ts +457 -0
  154. package/dist/routes/pipelines.d.ts.map +1 -0
  155. package/dist/routes/pipelines.js +51 -0
  156. package/dist/routes/pipelines.js.map +1 -0
  157. package/dist/routes/prompt-fragments.d.ts +52 -0
  158. package/dist/routes/prompt-fragments.d.ts.map +1 -0
  159. package/dist/routes/prompt-fragments.js +14 -0
  160. package/dist/routes/prompt-fragments.js.map +1 -0
  161. package/dist/routes/provisioning-logs.d.ts +45 -0
  162. package/dist/routes/provisioning-logs.d.ts.map +1 -0
  163. package/dist/routes/provisioning-logs.js +14 -0
  164. package/dist/routes/provisioning-logs.js.map +1 -0
  165. package/dist/routes/recurring.d.ts +309 -0
  166. package/dist/routes/recurring.d.ts.map +1 -0
  167. package/dist/routes/recurring.js +50 -0
  168. package/dist/routes/recurring.js.map +1 -0
  169. package/dist/routes/release.d.ts +218 -0
  170. package/dist/routes/release.d.ts.map +1 -0
  171. package/dist/routes/release.js +47 -0
  172. package/dist/routes/release.js.map +1 -0
  173. package/dist/routes/requirements.d.ts +901 -0
  174. package/dist/routes/requirements.d.ts.map +1 -0
  175. package/dist/routes/requirements.js +96 -0
  176. package/dist/routes/requirements.js.map +1 -0
  177. package/dist/routes/runners.d.ts +442 -0
  178. package/dist/routes/runners.d.ts.map +1 -0
  179. package/dist/routes/runners.js +47 -0
  180. package/dist/routes/runners.js.map +1 -0
  181. package/dist/routes/sandbox.d.ts +898 -0
  182. package/dist/routes/sandbox.d.ts.map +1 -0
  183. package/dist/routes/sandbox.js +119 -0
  184. package/dist/routes/sandbox.js.map +1 -0
  185. package/dist/routes/service-fragment-defaults.d.ts +66 -0
  186. package/dist/routes/service-fragment-defaults.d.ts.map +1 -0
  187. package/dist/routes/service-fragment-defaults.js +20 -0
  188. package/dist/routes/service-fragment-defaults.js.map +1 -0
  189. package/dist/routes/services.d.ts +224 -0
  190. package/dist/routes/services.d.ts.map +1 -0
  191. package/dist/routes/services.js +44 -0
  192. package/dist/routes/services.js.map +1 -0
  193. package/dist/routes/slack.d.ts +332 -0
  194. package/dist/routes/slack.d.ts.map +1 -0
  195. package/dist/routes/slack.js +72 -0
  196. package/dist/routes/slack.js.map +1 -0
  197. package/dist/routes/spec.d.ts +76 -0
  198. package/dist/routes/spec.d.ts.map +1 -0
  199. package/dist/routes/spec.js +17 -0
  200. package/dist/routes/spec.js.map +1 -0
  201. package/dist/routes/tasks.d.ts +723 -0
  202. package/dist/routes/tasks.d.ts.map +1 -0
  203. package/dist/routes/tasks.js +108 -0
  204. package/dist/routes/tasks.js.map +1 -0
  205. package/dist/routes/tracker.d.ts +77 -0
  206. package/dist/routes/tracker.d.ts.map +1 -0
  207. package/dist/routes/tracker.js +20 -0
  208. package/dist/routes/tracker.js.map +1 -0
  209. package/dist/routes/user-secret.d.ts +231 -0
  210. package/dist/routes/user-secret.d.ts.map +1 -0
  211. package/dist/routes/user-secret.js +49 -0
  212. package/dist/routes/user-secret.js.map +1 -0
  213. package/dist/routes/vendor-credentials.d.ts +120 -0
  214. package/dist/routes/vendor-credentials.d.ts.map +1 -0
  215. package/dist/routes/vendor-credentials.js +33 -0
  216. package/dist/routes/vendor-credentials.js.map +1 -0
  217. package/dist/routes/workspace-settings.d.ts +93 -0
  218. package/dist/routes/workspace-settings.d.ts.map +1 -0
  219. package/dist/routes/workspace-settings.js +20 -0
  220. package/dist/routes/workspace-settings.js.map +1 -0
  221. package/dist/routes/workspaces.d.ts +1309 -0
  222. package/dist/routes/workspaces.d.ts.map +1 -0
  223. package/dist/routes/workspaces.js +45 -0
  224. package/dist/routes/workspaces.js.map +1 -0
  225. package/dist/slack.d.ts +2 -2
  226. package/dist/snapshot.d.ts +11 -1
  227. package/dist/snapshot.d.ts.map +1 -1
  228. package/package.json +3 -1
@@ -0,0 +1,723 @@
1
+ import { ContractNoBody } from '@toad-contracts/valibot';
2
+ import * as v from 'valibot';
3
+ export declare const listTaskSourcesContract: {
4
+ readonly method: "get";
5
+ readonly pathResolver: () => string;
6
+ readonly responsesByStatusCode: {
7
+ readonly '4xx': v.ObjectSchema<{
8
+ readonly error: v.ObjectSchema<{
9
+ readonly code: v.StringSchema<undefined>;
10
+ readonly message: v.StringSchema<undefined>;
11
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
12
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
13
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
14
+ readonly message: v.StringSchema<undefined>;
15
+ }, undefined>, undefined>, undefined>;
16
+ }, undefined>;
17
+ }, undefined>;
18
+ readonly '5xx': v.ObjectSchema<{
19
+ readonly error: v.ObjectSchema<{
20
+ readonly code: v.StringSchema<undefined>;
21
+ readonly message: v.StringSchema<undefined>;
22
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
23
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
24
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
25
+ readonly message: v.StringSchema<undefined>;
26
+ }, undefined>, undefined>, undefined>;
27
+ }, undefined>;
28
+ }, undefined>;
29
+ readonly 200: v.ObjectSchema<{
30
+ readonly sources: v.ArraySchema<v.ObjectSchema<{
31
+ readonly source: v.PicklistSchema<["jira", "github"], undefined>;
32
+ readonly label: v.StringSchema<undefined>;
33
+ readonly icon: v.StringSchema<undefined>;
34
+ readonly credentialFields: v.ArraySchema<v.ObjectSchema<{
35
+ readonly key: v.StringSchema<undefined>;
36
+ readonly label: v.StringSchema<undefined>;
37
+ readonly help: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
38
+ readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
39
+ readonly secret: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
40
+ }, undefined>, undefined>;
41
+ readonly refLabel: v.StringSchema<undefined>;
42
+ readonly refPlaceholder: v.StringSchema<undefined>;
43
+ readonly searchable: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
44
+ readonly available: v.BooleanSchema<undefined>;
45
+ readonly enabled: v.BooleanSchema<undefined>;
46
+ }, undefined>, undefined>;
47
+ }, undefined>;
48
+ };
49
+ };
50
+ export declare const setTaskSourceEnabledContract: {
51
+ readonly method: "put";
52
+ readonly requestPathParamsSchema: v.ObjectSchema<{
53
+ readonly source: v.StringSchema<undefined>;
54
+ }, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
55
+ readonly pathResolver: ({ source }: {
56
+ source: string;
57
+ }) => string;
58
+ readonly requestBodySchema: v.ObjectSchema<{
59
+ readonly enabled: v.BooleanSchema<undefined>;
60
+ }, undefined>;
61
+ readonly responsesByStatusCode: {
62
+ readonly '4xx': v.ObjectSchema<{
63
+ readonly error: v.ObjectSchema<{
64
+ readonly code: v.StringSchema<undefined>;
65
+ readonly message: v.StringSchema<undefined>;
66
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
67
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
68
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
69
+ readonly message: v.StringSchema<undefined>;
70
+ }, undefined>, undefined>, undefined>;
71
+ }, undefined>;
72
+ }, undefined>;
73
+ readonly '5xx': v.ObjectSchema<{
74
+ readonly error: v.ObjectSchema<{
75
+ readonly code: v.StringSchema<undefined>;
76
+ readonly message: v.StringSchema<undefined>;
77
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
78
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
79
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
80
+ readonly message: v.StringSchema<undefined>;
81
+ }, undefined>, undefined>, undefined>;
82
+ }, undefined>;
83
+ }, undefined>;
84
+ readonly 204: typeof ContractNoBody;
85
+ };
86
+ };
87
+ export declare const listTaskConnectionsContract: {
88
+ readonly method: "get";
89
+ readonly pathResolver: () => string;
90
+ readonly responsesByStatusCode: {
91
+ readonly '4xx': v.ObjectSchema<{
92
+ readonly error: v.ObjectSchema<{
93
+ readonly code: v.StringSchema<undefined>;
94
+ readonly message: v.StringSchema<undefined>;
95
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
96
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
97
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
98
+ readonly message: v.StringSchema<undefined>;
99
+ }, undefined>, undefined>, undefined>;
100
+ }, undefined>;
101
+ }, undefined>;
102
+ readonly '5xx': v.ObjectSchema<{
103
+ readonly error: v.ObjectSchema<{
104
+ readonly code: v.StringSchema<undefined>;
105
+ readonly message: v.StringSchema<undefined>;
106
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
107
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
108
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
109
+ readonly message: v.StringSchema<undefined>;
110
+ }, undefined>, undefined>, undefined>;
111
+ }, undefined>;
112
+ }, undefined>;
113
+ readonly 200: v.ObjectSchema<{
114
+ readonly connections: v.ArraySchema<v.ObjectSchema<{
115
+ readonly source: v.PicklistSchema<["jira", "github"], undefined>;
116
+ readonly label: v.StringSchema<undefined>;
117
+ readonly connectedAt: v.NumberSchema<undefined>;
118
+ }, undefined>, undefined>;
119
+ }, undefined>;
120
+ };
121
+ };
122
+ export declare const connectTaskSourceContract: {
123
+ readonly method: "post";
124
+ readonly requestPathParamsSchema: v.ObjectSchema<{
125
+ readonly source: v.StringSchema<undefined>;
126
+ }, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
127
+ readonly pathResolver: ({ source }: {
128
+ source: string;
129
+ }) => string;
130
+ readonly requestBodySchema: v.ObjectSchema<{
131
+ readonly credentials: v.RecordSchema<v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
132
+ }, undefined>;
133
+ readonly responsesByStatusCode: {
134
+ readonly '4xx': v.ObjectSchema<{
135
+ readonly error: v.ObjectSchema<{
136
+ readonly code: v.StringSchema<undefined>;
137
+ readonly message: v.StringSchema<undefined>;
138
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
139
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
140
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
141
+ readonly message: v.StringSchema<undefined>;
142
+ }, undefined>, undefined>, undefined>;
143
+ }, undefined>;
144
+ }, undefined>;
145
+ readonly '5xx': v.ObjectSchema<{
146
+ readonly error: v.ObjectSchema<{
147
+ readonly code: v.StringSchema<undefined>;
148
+ readonly message: v.StringSchema<undefined>;
149
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
150
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
151
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
152
+ readonly message: v.StringSchema<undefined>;
153
+ }, undefined>, undefined>, undefined>;
154
+ }, undefined>;
155
+ }, undefined>;
156
+ readonly 201: v.ObjectSchema<{
157
+ readonly source: v.PicklistSchema<["jira", "github"], undefined>;
158
+ readonly label: v.StringSchema<undefined>;
159
+ readonly connectedAt: v.NumberSchema<undefined>;
160
+ }, undefined>;
161
+ };
162
+ };
163
+ export declare const disconnectTaskSourceContract: {
164
+ readonly method: "delete";
165
+ readonly requestPathParamsSchema: v.ObjectSchema<{
166
+ readonly source: v.StringSchema<undefined>;
167
+ }, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
168
+ readonly pathResolver: ({ source }: {
169
+ source: string;
170
+ }) => string;
171
+ readonly responsesByStatusCode: {
172
+ readonly '4xx': v.ObjectSchema<{
173
+ readonly error: v.ObjectSchema<{
174
+ readonly code: v.StringSchema<undefined>;
175
+ readonly message: v.StringSchema<undefined>;
176
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
177
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
178
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
179
+ readonly message: v.StringSchema<undefined>;
180
+ }, undefined>, undefined>, undefined>;
181
+ }, undefined>;
182
+ }, undefined>;
183
+ readonly '5xx': v.ObjectSchema<{
184
+ readonly error: v.ObjectSchema<{
185
+ readonly code: v.StringSchema<undefined>;
186
+ readonly message: v.StringSchema<undefined>;
187
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
188
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
189
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
190
+ readonly message: v.StringSchema<undefined>;
191
+ }, undefined>, undefined>, undefined>;
192
+ }, undefined>;
193
+ }, undefined>;
194
+ readonly 204: typeof ContractNoBody;
195
+ };
196
+ };
197
+ export declare const diagnoseTaskSourceContract: {
198
+ readonly method: "post";
199
+ readonly requestPathParamsSchema: v.ObjectSchema<{
200
+ readonly source: v.StringSchema<undefined>;
201
+ }, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
202
+ readonly pathResolver: ({ source }: {
203
+ source: string;
204
+ }) => string;
205
+ readonly requestBodySchema: typeof ContractNoBody;
206
+ readonly responsesByStatusCode: {
207
+ readonly '4xx': v.ObjectSchema<{
208
+ readonly error: v.ObjectSchema<{
209
+ readonly code: v.StringSchema<undefined>;
210
+ readonly message: v.StringSchema<undefined>;
211
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
212
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
213
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
214
+ readonly message: v.StringSchema<undefined>;
215
+ }, undefined>, undefined>, undefined>;
216
+ }, undefined>;
217
+ }, undefined>;
218
+ readonly '5xx': v.ObjectSchema<{
219
+ readonly error: v.ObjectSchema<{
220
+ readonly code: v.StringSchema<undefined>;
221
+ readonly message: v.StringSchema<undefined>;
222
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
223
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
224
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
225
+ readonly message: v.StringSchema<undefined>;
226
+ }, undefined>, undefined>, undefined>;
227
+ }, undefined>;
228
+ }, undefined>;
229
+ readonly 200: v.ObjectSchema<{
230
+ readonly source: v.PicklistSchema<["jira", "github"], undefined>;
231
+ readonly ok: v.BooleanSchema<undefined>;
232
+ readonly status: v.PicklistSchema<["ready", "not_installed", "not_connected", "auth_failed", "forbidden", "unreachable", "error"], undefined>;
233
+ readonly message: v.StringSchema<undefined>;
234
+ readonly detail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
235
+ }, undefined>;
236
+ };
237
+ };
238
+ export declare const listTasksContract: {
239
+ readonly method: "get";
240
+ readonly pathResolver: () => string;
241
+ readonly responsesByStatusCode: {
242
+ readonly '4xx': v.ObjectSchema<{
243
+ readonly error: v.ObjectSchema<{
244
+ readonly code: v.StringSchema<undefined>;
245
+ readonly message: v.StringSchema<undefined>;
246
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
247
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
248
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
249
+ readonly message: v.StringSchema<undefined>;
250
+ }, undefined>, undefined>, undefined>;
251
+ }, undefined>;
252
+ }, undefined>;
253
+ readonly '5xx': v.ObjectSchema<{
254
+ readonly error: v.ObjectSchema<{
255
+ readonly code: v.StringSchema<undefined>;
256
+ readonly message: v.StringSchema<undefined>;
257
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
258
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
259
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
260
+ readonly message: v.StringSchema<undefined>;
261
+ }, undefined>, undefined>, undefined>;
262
+ }, undefined>;
263
+ }, undefined>;
264
+ readonly 200: v.ArraySchema<v.ObjectSchema<{
265
+ readonly source: v.PicklistSchema<["jira", "github"], undefined>;
266
+ readonly externalId: v.StringSchema<undefined>;
267
+ readonly title: v.StringSchema<undefined>;
268
+ readonly url: v.StringSchema<undefined>;
269
+ readonly status: v.StringSchema<undefined>;
270
+ readonly type: v.StringSchema<undefined>;
271
+ readonly assignee: v.NullableSchema<v.StringSchema<undefined>, undefined>;
272
+ readonly priority: v.NullableSchema<v.StringSchema<undefined>, undefined>;
273
+ readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
274
+ readonly description: v.StringSchema<undefined>;
275
+ readonly comments: v.ArraySchema<v.ObjectSchema<{
276
+ readonly author: v.StringSchema<undefined>;
277
+ readonly createdAt: v.StringSchema<undefined>;
278
+ readonly body: v.StringSchema<undefined>;
279
+ }, undefined>, undefined>;
280
+ readonly excerpt: v.StringSchema<undefined>;
281
+ readonly linkedBlockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
282
+ readonly syncedAt: v.NumberSchema<undefined>;
283
+ }, undefined>, undefined>;
284
+ };
285
+ };
286
+ export declare const importTaskContract: {
287
+ readonly method: "post";
288
+ readonly requestPathParamsSchema: v.ObjectSchema<{
289
+ readonly source: v.StringSchema<undefined>;
290
+ }, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
291
+ readonly pathResolver: ({ source }: {
292
+ source: string;
293
+ }) => string;
294
+ readonly requestBodySchema: v.ObjectSchema<{
295
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
296
+ }, undefined>;
297
+ readonly responsesByStatusCode: {
298
+ readonly '4xx': v.ObjectSchema<{
299
+ readonly error: v.ObjectSchema<{
300
+ readonly code: v.StringSchema<undefined>;
301
+ readonly message: v.StringSchema<undefined>;
302
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
303
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
304
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
305
+ readonly message: v.StringSchema<undefined>;
306
+ }, undefined>, undefined>, undefined>;
307
+ }, undefined>;
308
+ }, undefined>;
309
+ readonly '5xx': v.ObjectSchema<{
310
+ readonly error: v.ObjectSchema<{
311
+ readonly code: v.StringSchema<undefined>;
312
+ readonly message: v.StringSchema<undefined>;
313
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
314
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
315
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
316
+ readonly message: v.StringSchema<undefined>;
317
+ }, undefined>, undefined>, undefined>;
318
+ }, undefined>;
319
+ }, undefined>;
320
+ readonly 201: v.ObjectSchema<{
321
+ readonly source: v.PicklistSchema<["jira", "github"], undefined>;
322
+ readonly externalId: v.StringSchema<undefined>;
323
+ readonly title: v.StringSchema<undefined>;
324
+ readonly url: v.StringSchema<undefined>;
325
+ readonly status: v.StringSchema<undefined>;
326
+ readonly type: v.StringSchema<undefined>;
327
+ readonly assignee: v.NullableSchema<v.StringSchema<undefined>, undefined>;
328
+ readonly priority: v.NullableSchema<v.StringSchema<undefined>, undefined>;
329
+ readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
330
+ readonly description: v.StringSchema<undefined>;
331
+ readonly comments: v.ArraySchema<v.ObjectSchema<{
332
+ readonly author: v.StringSchema<undefined>;
333
+ readonly createdAt: v.StringSchema<undefined>;
334
+ readonly body: v.StringSchema<undefined>;
335
+ }, undefined>, undefined>;
336
+ readonly excerpt: v.StringSchema<undefined>;
337
+ readonly linkedBlockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
338
+ readonly syncedAt: v.NumberSchema<undefined>;
339
+ }, undefined>;
340
+ };
341
+ };
342
+ export declare const searchTasksContract: {
343
+ readonly method: "post";
344
+ readonly requestPathParamsSchema: v.ObjectSchema<{
345
+ readonly source: v.StringSchema<undefined>;
346
+ }, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
347
+ readonly pathResolver: ({ source }: {
348
+ source: string;
349
+ }) => string;
350
+ readonly requestBodySchema: v.ObjectSchema<{
351
+ readonly query: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
352
+ readonly blockId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
353
+ }, undefined>;
354
+ readonly responsesByStatusCode: {
355
+ readonly '4xx': v.ObjectSchema<{
356
+ readonly error: v.ObjectSchema<{
357
+ readonly code: v.StringSchema<undefined>;
358
+ readonly message: v.StringSchema<undefined>;
359
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
360
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
361
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
362
+ readonly message: v.StringSchema<undefined>;
363
+ }, undefined>, undefined>, undefined>;
364
+ }, undefined>;
365
+ }, undefined>;
366
+ readonly '5xx': v.ObjectSchema<{
367
+ readonly error: v.ObjectSchema<{
368
+ readonly code: v.StringSchema<undefined>;
369
+ readonly message: v.StringSchema<undefined>;
370
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
371
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
372
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
373
+ readonly message: v.StringSchema<undefined>;
374
+ }, undefined>, undefined>, undefined>;
375
+ }, undefined>;
376
+ }, undefined>;
377
+ readonly 200: v.ObjectSchema<{
378
+ readonly results: v.ArraySchema<v.ObjectSchema<{
379
+ readonly source: v.PicklistSchema<["jira", "github"], undefined>;
380
+ readonly externalId: v.StringSchema<undefined>;
381
+ readonly title: v.StringSchema<undefined>;
382
+ readonly url: v.StringSchema<undefined>;
383
+ readonly status: v.StringSchema<undefined>;
384
+ readonly excerpt: v.StringSchema<undefined>;
385
+ }, undefined>, undefined>;
386
+ }, undefined>;
387
+ };
388
+ };
389
+ export declare const linkTaskContract: {
390
+ readonly method: "post";
391
+ readonly pathResolver: () => string;
392
+ readonly requestBodySchema: v.ObjectSchema<{
393
+ readonly source: v.PicklistSchema<["jira", "github"], undefined>;
394
+ readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
395
+ readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
396
+ }, undefined>;
397
+ readonly responsesByStatusCode: {
398
+ readonly '4xx': v.ObjectSchema<{
399
+ readonly error: v.ObjectSchema<{
400
+ readonly code: v.StringSchema<undefined>;
401
+ readonly message: v.StringSchema<undefined>;
402
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
403
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
404
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
405
+ readonly message: v.StringSchema<undefined>;
406
+ }, undefined>, undefined>, undefined>;
407
+ }, undefined>;
408
+ }, undefined>;
409
+ readonly '5xx': v.ObjectSchema<{
410
+ readonly error: v.ObjectSchema<{
411
+ readonly code: v.StringSchema<undefined>;
412
+ readonly message: v.StringSchema<undefined>;
413
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
414
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
415
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
416
+ readonly message: v.StringSchema<undefined>;
417
+ }, undefined>, undefined>, undefined>;
418
+ }, undefined>;
419
+ }, undefined>;
420
+ readonly 201: v.ObjectSchema<{
421
+ readonly source: v.PicklistSchema<["jira", "github"], undefined>;
422
+ readonly externalId: v.StringSchema<undefined>;
423
+ readonly title: v.StringSchema<undefined>;
424
+ readonly url: v.StringSchema<undefined>;
425
+ readonly status: v.StringSchema<undefined>;
426
+ readonly type: v.StringSchema<undefined>;
427
+ readonly assignee: v.NullableSchema<v.StringSchema<undefined>, undefined>;
428
+ readonly priority: v.NullableSchema<v.StringSchema<undefined>, undefined>;
429
+ readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
430
+ readonly description: v.StringSchema<undefined>;
431
+ readonly comments: v.ArraySchema<v.ObjectSchema<{
432
+ readonly author: v.StringSchema<undefined>;
433
+ readonly createdAt: v.StringSchema<undefined>;
434
+ readonly body: v.StringSchema<undefined>;
435
+ }, undefined>, undefined>;
436
+ readonly excerpt: v.StringSchema<undefined>;
437
+ readonly linkedBlockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
438
+ readonly syncedAt: v.NumberSchema<undefined>;
439
+ }, undefined>;
440
+ };
441
+ };
442
+ export declare const createTaskFromIssueContract: {
443
+ readonly method: "post";
444
+ readonly pathResolver: () => string;
445
+ readonly requestBodySchema: v.ObjectSchema<{
446
+ readonly source: v.PicklistSchema<["jira", "github"], undefined>;
447
+ readonly externalId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
448
+ readonly containerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
449
+ }, undefined>;
450
+ readonly responsesByStatusCode: {
451
+ readonly '4xx': v.ObjectSchema<{
452
+ readonly error: v.ObjectSchema<{
453
+ readonly code: v.StringSchema<undefined>;
454
+ readonly message: v.StringSchema<undefined>;
455
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
456
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
457
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
458
+ readonly message: v.StringSchema<undefined>;
459
+ }, undefined>, undefined>, undefined>;
460
+ }, undefined>;
461
+ }, undefined>;
462
+ readonly '5xx': v.ObjectSchema<{
463
+ readonly error: v.ObjectSchema<{
464
+ readonly code: v.StringSchema<undefined>;
465
+ readonly message: v.StringSchema<undefined>;
466
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
467
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
468
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
469
+ readonly message: v.StringSchema<undefined>;
470
+ }, undefined>, undefined>, undefined>;
471
+ }, undefined>;
472
+ }, undefined>;
473
+ readonly 201: v.ObjectSchema<{
474
+ readonly block: v.ObjectSchema<{
475
+ readonly id: v.StringSchema<undefined>;
476
+ readonly title: v.StringSchema<undefined>;
477
+ readonly type: v.PicklistSchema<["frontend", "service", "api", "database", "queue", "integration", "external", "environment"], undefined>;
478
+ readonly description: v.StringSchema<undefined>;
479
+ readonly position: v.ObjectSchema<{
480
+ readonly x: v.NumberSchema<undefined>;
481
+ readonly y: v.NumberSchema<undefined>;
482
+ }, undefined>;
483
+ readonly size: v.OptionalSchema<v.ObjectSchema<{
484
+ readonly w: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
485
+ readonly h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
486
+ }, undefined>, undefined>;
487
+ readonly status: v.PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
488
+ readonly progress: v.NumberSchema<undefined>;
489
+ readonly dependsOn: v.ArraySchema<v.StringSchema<undefined>, undefined>;
490
+ readonly executionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
491
+ readonly level: v.PicklistSchema<["frame", "module", "task", "epic"], undefined>;
492
+ readonly parentId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
493
+ readonly epicId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
494
+ readonly autoStartDependents: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
495
+ readonly confidence: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
496
+ readonly estimate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
497
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
498
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
499
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
500
+ readonly rationale: v.StringSchema<undefined>;
501
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
502
+ readonly createdAt: v.NumberSchema<undefined>;
503
+ }, undefined>, undefined>, undefined>;
504
+ readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
505
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
506
+ readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
507
+ readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
508
+ readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
509
+ readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
510
+ readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
511
+ }, undefined>, undefined>, undefined>;
512
+ readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
513
+ readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
514
+ readonly serviceFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
515
+ readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
516
+ readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
517
+ readonly testComposePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
518
+ readonly noInfraDependencies: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
519
+ readonly defaultTestEnvironment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
520
+ readonly cloudProvider: v.OptionalSchema<v.PicklistSchema<["cloudflare", "docker", "aws", "gcp", "azure", "custom"], undefined>, undefined>;
521
+ readonly instanceSize: v.OptionalSchema<v.PicklistSchema<["small", "medium", "large", "xlarge"], undefined>, undefined>;
522
+ readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
523
+ readonly url: v.StringSchema<undefined>;
524
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
525
+ readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
526
+ }, undefined>, undefined>;
527
+ readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
528
+ readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
529
+ readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
530
+ readonly createdBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
531
+ readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
532
+ readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
533
+ readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
534
+ }, undefined>;
535
+ readonly task: v.ObjectSchema<{
536
+ readonly source: v.PicklistSchema<["jira", "github"], undefined>;
537
+ readonly externalId: v.StringSchema<undefined>;
538
+ readonly title: v.StringSchema<undefined>;
539
+ readonly url: v.StringSchema<undefined>;
540
+ readonly status: v.StringSchema<undefined>;
541
+ readonly type: v.StringSchema<undefined>;
542
+ readonly assignee: v.NullableSchema<v.StringSchema<undefined>, undefined>;
543
+ readonly priority: v.NullableSchema<v.StringSchema<undefined>, undefined>;
544
+ readonly labels: v.ArraySchema<v.StringSchema<undefined>, undefined>;
545
+ readonly description: v.StringSchema<undefined>;
546
+ readonly comments: v.ArraySchema<v.ObjectSchema<{
547
+ readonly author: v.StringSchema<undefined>;
548
+ readonly createdAt: v.StringSchema<undefined>;
549
+ readonly body: v.StringSchema<undefined>;
550
+ }, undefined>, undefined>;
551
+ readonly excerpt: v.StringSchema<undefined>;
552
+ readonly linkedBlockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
553
+ readonly syncedAt: v.NumberSchema<undefined>;
554
+ }, undefined>;
555
+ }, undefined>;
556
+ };
557
+ };
558
+ export declare const spawnEpicContract: {
559
+ readonly method: "post";
560
+ readonly requestPathParamsSchema: v.ObjectSchema<{
561
+ readonly source: v.StringSchema<undefined>;
562
+ }, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
563
+ readonly pathResolver: ({ source }: {
564
+ source: string;
565
+ }) => string;
566
+ readonly requestBodySchema: v.ObjectSchema<{
567
+ readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
568
+ readonly containerId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
569
+ readonly position: v.OptionalSchema<v.ObjectSchema<{
570
+ readonly x: v.NumberSchema<undefined>;
571
+ readonly y: v.NumberSchema<undefined>;
572
+ }, undefined>, undefined>;
573
+ }, undefined>;
574
+ readonly responsesByStatusCode: {
575
+ readonly '4xx': v.ObjectSchema<{
576
+ readonly error: v.ObjectSchema<{
577
+ readonly code: v.StringSchema<undefined>;
578
+ readonly message: v.StringSchema<undefined>;
579
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
580
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
581
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
582
+ readonly message: v.StringSchema<undefined>;
583
+ }, undefined>, undefined>, undefined>;
584
+ }, undefined>;
585
+ }, undefined>;
586
+ readonly '5xx': v.ObjectSchema<{
587
+ readonly error: v.ObjectSchema<{
588
+ readonly code: v.StringSchema<undefined>;
589
+ readonly message: v.StringSchema<undefined>;
590
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
591
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
592
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
593
+ readonly message: v.StringSchema<undefined>;
594
+ }, undefined>, undefined>, undefined>;
595
+ }, undefined>;
596
+ }, undefined>;
597
+ readonly 201: v.ObjectSchema<{
598
+ readonly epic: v.ObjectSchema<{
599
+ readonly id: v.StringSchema<undefined>;
600
+ readonly title: v.StringSchema<undefined>;
601
+ readonly type: v.PicklistSchema<["frontend", "service", "api", "database", "queue", "integration", "external", "environment"], undefined>;
602
+ readonly description: v.StringSchema<undefined>;
603
+ readonly position: v.ObjectSchema<{
604
+ readonly x: v.NumberSchema<undefined>;
605
+ readonly y: v.NumberSchema<undefined>;
606
+ }, undefined>;
607
+ readonly size: v.OptionalSchema<v.ObjectSchema<{
608
+ readonly w: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
609
+ readonly h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
610
+ }, undefined>, undefined>;
611
+ readonly status: v.PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
612
+ readonly progress: v.NumberSchema<undefined>;
613
+ readonly dependsOn: v.ArraySchema<v.StringSchema<undefined>, undefined>;
614
+ readonly executionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
615
+ readonly level: v.PicklistSchema<["frame", "module", "task", "epic"], undefined>;
616
+ readonly parentId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
617
+ readonly epicId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
618
+ readonly autoStartDependents: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
619
+ readonly confidence: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
620
+ readonly estimate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
621
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
622
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
623
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
624
+ readonly rationale: v.StringSchema<undefined>;
625
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
626
+ readonly createdAt: v.NumberSchema<undefined>;
627
+ }, undefined>, undefined>, undefined>;
628
+ readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
629
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
630
+ readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
631
+ readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
632
+ readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
633
+ readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
634
+ readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
635
+ }, undefined>, undefined>, undefined>;
636
+ readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
637
+ readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
638
+ readonly serviceFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
639
+ readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
640
+ readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
641
+ readonly testComposePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
642
+ readonly noInfraDependencies: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
643
+ readonly defaultTestEnvironment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
644
+ readonly cloudProvider: v.OptionalSchema<v.PicklistSchema<["cloudflare", "docker", "aws", "gcp", "azure", "custom"], undefined>, undefined>;
645
+ readonly instanceSize: v.OptionalSchema<v.PicklistSchema<["small", "medium", "large", "xlarge"], undefined>, undefined>;
646
+ readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
647
+ readonly url: v.StringSchema<undefined>;
648
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
649
+ readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
650
+ }, undefined>, undefined>;
651
+ readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
652
+ readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
653
+ readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
654
+ readonly createdBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
655
+ readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
656
+ readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
657
+ readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
658
+ }, undefined>;
659
+ readonly tasks: v.ArraySchema<v.ObjectSchema<{
660
+ readonly id: v.StringSchema<undefined>;
661
+ readonly title: v.StringSchema<undefined>;
662
+ readonly type: v.PicklistSchema<["frontend", "service", "api", "database", "queue", "integration", "external", "environment"], undefined>;
663
+ readonly description: v.StringSchema<undefined>;
664
+ readonly position: v.ObjectSchema<{
665
+ readonly x: v.NumberSchema<undefined>;
666
+ readonly y: v.NumberSchema<undefined>;
667
+ }, undefined>;
668
+ readonly size: v.OptionalSchema<v.ObjectSchema<{
669
+ readonly w: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
670
+ readonly h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
671
+ }, undefined>, undefined>;
672
+ readonly status: v.PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
673
+ readonly progress: v.NumberSchema<undefined>;
674
+ readonly dependsOn: v.ArraySchema<v.StringSchema<undefined>, undefined>;
675
+ readonly executionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
676
+ readonly level: v.PicklistSchema<["frame", "module", "task", "epic"], undefined>;
677
+ readonly parentId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
678
+ readonly epicId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
679
+ readonly autoStartDependents: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
680
+ readonly confidence: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
681
+ readonly estimate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
682
+ readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
683
+ readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
684
+ readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
685
+ readonly rationale: v.StringSchema<undefined>;
686
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
687
+ readonly createdAt: v.NumberSchema<undefined>;
688
+ }, undefined>, undefined>, undefined>;
689
+ readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
690
+ readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
691
+ readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
692
+ readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
693
+ readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
694
+ readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
695
+ readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
696
+ }, undefined>, undefined>, undefined>;
697
+ readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
698
+ readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
699
+ readonly serviceFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
700
+ readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
701
+ readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
702
+ readonly testComposePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
703
+ readonly noInfraDependencies: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
704
+ readonly defaultTestEnvironment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
705
+ readonly cloudProvider: v.OptionalSchema<v.PicklistSchema<["cloudflare", "docker", "aws", "gcp", "azure", "custom"], undefined>, undefined>;
706
+ readonly instanceSize: v.OptionalSchema<v.PicklistSchema<["small", "medium", "large", "xlarge"], undefined>, undefined>;
707
+ readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
708
+ readonly url: v.StringSchema<undefined>;
709
+ readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
710
+ readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
711
+ }, undefined>, undefined>;
712
+ readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
713
+ readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
714
+ readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
715
+ readonly createdBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
716
+ readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
717
+ readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
718
+ readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
719
+ }, undefined>, undefined>;
720
+ }, undefined>;
721
+ };
722
+ };
723
+ //# sourceMappingURL=tasks.d.ts.map