@cat-factory/contracts 0.34.0 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-keys.d.ts +17 -0
- package/dist/api-keys.d.ts.map +1 -1
- package/dist/api-keys.js +2 -0
- package/dist/api-keys.js.map +1 -1
- package/dist/github.d.ts +14 -0
- package/dist/github.d.ts.map +1 -1
- package/dist/github.js +13 -0
- package/dist/github.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/observability.d.ts +63 -0
- package/dist/observability.d.ts.map +1 -1
- package/dist/observability.js +57 -0
- package/dist/observability.js.map +1 -1
- package/dist/requests.d.ts +7 -0
- package/dist/requests.d.ts.map +1 -1
- package/dist/requests.js +2 -0
- package/dist/requests.js.map +1 -1
- package/dist/routes/_shared.d.ts +58 -0
- package/dist/routes/_shared.d.ts.map +1 -0
- package/dist/routes/_shared.js +46 -0
- package/dist/routes/_shared.js.map +1 -0
- package/dist/routes/accounts.d.ts +775 -0
- package/dist/routes/accounts.d.ts.map +1 -0
- package/dist/routes/accounts.js +145 -0
- package/dist/routes/accounts.js.map +1 -0
- package/dist/routes/agent-runs.d.ts +659 -0
- package/dist/routes/agent-runs.d.ts.map +1 -0
- package/dist/routes/agent-runs.js +33 -0
- package/dist/routes/agent-runs.js.map +1 -0
- package/dist/routes/api-keys.d.ts +244 -0
- package/dist/routes/api-keys.d.ts.map +1 -0
- package/dist/routes/api-keys.js +48 -0
- package/dist/routes/api-keys.js.map +1 -0
- package/dist/routes/auth.d.ts +411 -0
- package/dist/routes/auth.d.ts.map +1 -0
- package/dist/routes/auth.js +129 -0
- package/dist/routes/auth.js.map +1 -0
- package/dist/routes/board.d.ts +1259 -0
- package/dist/routes/board.d.ts.map +1 -0
- package/dist/routes/board.js +84 -0
- package/dist/routes/board.js.map +1 -0
- package/dist/routes/bootstrap.d.ts +395 -0
- package/dist/routes/bootstrap.d.ts.map +1 -0
- package/dist/routes/bootstrap.js +56 -0
- package/dist/routes/bootstrap.js.map +1 -0
- package/dist/routes/brainstorm.d.ts +482 -0
- package/dist/routes/brainstorm.d.ts.map +1 -0
- package/dist/routes/brainstorm.js +69 -0
- package/dist/routes/brainstorm.js.map +1 -0
- package/dist/routes/clarity.d.ts +462 -0
- package/dist/routes/clarity.d.ts.map +1 -0
- package/dist/routes/clarity.js +67 -0
- package/dist/routes/clarity.js.map +1 -0
- package/dist/routes/consensus.d.ts +71 -0
- package/dist/routes/consensus.d.ts.map +1 -0
- package/dist/routes/consensus.js +23 -0
- package/dist/routes/consensus.js.map +1 -0
- package/dist/routes/documents.d.ts +449 -0
- package/dist/routes/documents.d.ts.map +1 -0
- package/dist/routes/documents.js +89 -0
- package/dist/routes/documents.js.map +1 -0
- package/dist/routes/environments.d.ts +715 -0
- package/dist/routes/environments.d.ts.map +1 -0
- package/dist/routes/environments.js +82 -0
- package/dist/routes/environments.js.map +1 -0
- package/dist/routes/execution.d.ts +2768 -0
- package/dist/routes/execution.d.ts.map +1 -0
- package/dist/routes/execution.js +119 -0
- package/dist/routes/execution.js.map +1 -0
- package/dist/routes/followUp.d.ts +277 -0
- package/dist/routes/followUp.d.ts.map +1 -0
- package/dist/routes/followUp.js +47 -0
- package/dist/routes/followUp.js.map +1 -0
- package/dist/routes/fragment-library.d.ts +594 -0
- package/dist/routes/fragment-library.d.ts.map +1 -0
- package/dist/routes/fragment-library.js +102 -0
- package/dist/routes/fragment-library.js.map +1 -0
- package/dist/routes/github.d.ts +807 -0
- package/dist/routes/github.d.ts.map +1 -0
- package/dist/routes/github.js +157 -0
- package/dist/routes/github.js.map +1 -0
- package/dist/routes/human-review.d.ts +289 -0
- package/dist/routes/human-review.d.ts.map +1 -0
- package/dist/routes/human-review.js +19 -0
- package/dist/routes/human-review.js.map +1 -0
- package/dist/routes/human-test.d.ts +1434 -0
- package/dist/routes/human-test.d.ts.map +1 -0
- package/dist/routes/human-test.js +47 -0
- package/dist/routes/human-test.js.map +1 -0
- package/dist/routes/incident-enrichment.d.ts +110 -0
- package/dist/routes/incident-enrichment.d.ts.map +1 -0
- package/dist/routes/incident-enrichment.js +26 -0
- package/dist/routes/incident-enrichment.js.map +1 -0
- package/dist/routes/index.d.ts +47 -0
- package/dist/routes/index.d.ts.map +1 -0
- package/dist/routes/index.js +50 -0
- package/dist/routes/index.js.map +1 -0
- package/dist/routes/kaizen.d.ts +112 -0
- package/dist/routes/kaizen.d.ts.map +1 -0
- package/dist/routes/kaizen.js +21 -0
- package/dist/routes/kaizen.js.map +1 -0
- package/dist/routes/localModels.d.ts +163 -0
- package/dist/routes/localModels.d.ts.map +1 -0
- package/dist/routes/localModels.js +41 -0
- package/dist/routes/localModels.js.map +1 -0
- package/dist/routes/localSettings.d.ts +93 -0
- package/dist/routes/localSettings.d.ts.map +1 -0
- package/dist/routes/localSettings.js +22 -0
- package/dist/routes/localSettings.js.map +1 -0
- package/dist/routes/merge.d.ts +197 -0
- package/dist/routes/merge.d.ts.map +1 -0
- package/dist/routes/merge.js +36 -0
- package/dist/routes/merge.js.map +1 -0
- package/dist/routes/model-presets.d.ts +162 -0
- package/dist/routes/model-presets.d.ts.map +1 -0
- package/dist/routes/model-presets.js +36 -0
- package/dist/routes/model-presets.js.map +1 -0
- package/dist/routes/models.d.ts +122 -0
- package/dist/routes/models.d.ts.map +1 -0
- package/dist/routes/models.js +24 -0
- package/dist/routes/models.js.map +1 -0
- package/dist/routes/notifications.d.ts +213 -0
- package/dist/routes/notifications.d.ts.map +1 -0
- package/dist/routes/notifications.js +31 -0
- package/dist/routes/notifications.js.map +1 -0
- package/dist/routes/openrouter.d.ts +144 -0
- package/dist/routes/openrouter.d.ts.map +1 -0
- package/dist/routes/openrouter.js +31 -0
- package/dist/routes/openrouter.js.map +1 -0
- package/dist/routes/personal-subscriptions.d.ts +124 -0
- package/dist/routes/personal-subscriptions.d.ts.map +1 -0
- package/dist/routes/personal-subscriptions.js +32 -0
- package/dist/routes/personal-subscriptions.js.map +1 -0
- package/dist/routes/pipelines.d.ts +457 -0
- package/dist/routes/pipelines.d.ts.map +1 -0
- package/dist/routes/pipelines.js +51 -0
- package/dist/routes/pipelines.js.map +1 -0
- package/dist/routes/prompt-fragments.d.ts +52 -0
- package/dist/routes/prompt-fragments.d.ts.map +1 -0
- package/dist/routes/prompt-fragments.js +14 -0
- package/dist/routes/prompt-fragments.js.map +1 -0
- package/dist/routes/provisioning-logs.d.ts +45 -0
- package/dist/routes/provisioning-logs.d.ts.map +1 -0
- package/dist/routes/provisioning-logs.js +14 -0
- package/dist/routes/provisioning-logs.js.map +1 -0
- package/dist/routes/recurring.d.ts +309 -0
- package/dist/routes/recurring.d.ts.map +1 -0
- package/dist/routes/recurring.js +50 -0
- package/dist/routes/recurring.js.map +1 -0
- package/dist/routes/release.d.ts +218 -0
- package/dist/routes/release.d.ts.map +1 -0
- package/dist/routes/release.js +47 -0
- package/dist/routes/release.js.map +1 -0
- package/dist/routes/requirements.d.ts +901 -0
- package/dist/routes/requirements.d.ts.map +1 -0
- package/dist/routes/requirements.js +96 -0
- package/dist/routes/requirements.js.map +1 -0
- package/dist/routes/runners.d.ts +442 -0
- package/dist/routes/runners.d.ts.map +1 -0
- package/dist/routes/runners.js +47 -0
- package/dist/routes/runners.js.map +1 -0
- package/dist/routes/sandbox.d.ts +898 -0
- package/dist/routes/sandbox.d.ts.map +1 -0
- package/dist/routes/sandbox.js +119 -0
- package/dist/routes/sandbox.js.map +1 -0
- package/dist/routes/service-fragment-defaults.d.ts +66 -0
- package/dist/routes/service-fragment-defaults.d.ts.map +1 -0
- package/dist/routes/service-fragment-defaults.js +20 -0
- package/dist/routes/service-fragment-defaults.js.map +1 -0
- package/dist/routes/services.d.ts +224 -0
- package/dist/routes/services.d.ts.map +1 -0
- package/dist/routes/services.js +44 -0
- package/dist/routes/services.js.map +1 -0
- package/dist/routes/slack.d.ts +332 -0
- package/dist/routes/slack.d.ts.map +1 -0
- package/dist/routes/slack.js +72 -0
- package/dist/routes/slack.js.map +1 -0
- package/dist/routes/spec.d.ts +75 -0
- package/dist/routes/spec.d.ts.map +1 -0
- package/dist/routes/spec.js +16 -0
- package/dist/routes/spec.js.map +1 -0
- package/dist/routes/tasks.d.ts +723 -0
- package/dist/routes/tasks.d.ts.map +1 -0
- package/dist/routes/tasks.js +108 -0
- package/dist/routes/tasks.js.map +1 -0
- package/dist/routes/tracker.d.ts +77 -0
- package/dist/routes/tracker.d.ts.map +1 -0
- package/dist/routes/tracker.js +20 -0
- package/dist/routes/tracker.js.map +1 -0
- package/dist/routes/user-secret.d.ts +231 -0
- package/dist/routes/user-secret.d.ts.map +1 -0
- package/dist/routes/user-secret.js +49 -0
- package/dist/routes/user-secret.js.map +1 -0
- package/dist/routes/vendor-credentials.d.ts +120 -0
- package/dist/routes/vendor-credentials.d.ts.map +1 -0
- package/dist/routes/vendor-credentials.js +33 -0
- package/dist/routes/vendor-credentials.js.map +1 -0
- package/dist/routes/workspace-settings.d.ts +93 -0
- package/dist/routes/workspace-settings.d.ts.map +1 -0
- package/dist/routes/workspace-settings.js +20 -0
- package/dist/routes/workspace-settings.js.map +1 -0
- package/dist/routes/workspaces.d.ts +1309 -0
- package/dist/routes/workspaces.d.ts.map +1 -0
- package/dist/routes/workspaces.js +45 -0
- package/dist/routes/workspaces.js.map +1 -0
- package/package.json +3 -1
|
@@ -0,0 +1,901 @@
|
|
|
1
|
+
import { ContractNoBody } from '@toad-contracts/valibot';
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
export declare const getRequirementReviewContract: {
|
|
4
|
+
readonly method: "get";
|
|
5
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
6
|
+
blockId: v.StringSchema<undefined>;
|
|
7
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
8
|
+
readonly pathResolver: ({ blockId }: {
|
|
9
|
+
blockId: string;
|
|
10
|
+
}) => string;
|
|
11
|
+
readonly responsesByStatusCode: {
|
|
12
|
+
readonly '4xx': v.ObjectSchema<{
|
|
13
|
+
readonly error: v.ObjectSchema<{
|
|
14
|
+
readonly code: v.StringSchema<undefined>;
|
|
15
|
+
readonly message: v.StringSchema<undefined>;
|
|
16
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
17
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
18
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
19
|
+
readonly message: v.StringSchema<undefined>;
|
|
20
|
+
}, undefined>, undefined>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
}, undefined>;
|
|
23
|
+
readonly '5xx': v.ObjectSchema<{
|
|
24
|
+
readonly error: v.ObjectSchema<{
|
|
25
|
+
readonly code: v.StringSchema<undefined>;
|
|
26
|
+
readonly message: v.StringSchema<undefined>;
|
|
27
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
28
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
29
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
30
|
+
readonly message: v.StringSchema<undefined>;
|
|
31
|
+
}, undefined>, undefined>, undefined>;
|
|
32
|
+
}, undefined>;
|
|
33
|
+
}, undefined>;
|
|
34
|
+
readonly 200: v.NullableSchema<v.ObjectSchema<{
|
|
35
|
+
readonly id: v.StringSchema<undefined>;
|
|
36
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
37
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
38
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
39
|
+
readonly id: v.StringSchema<undefined>;
|
|
40
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
41
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
42
|
+
readonly title: v.StringSchema<undefined>;
|
|
43
|
+
readonly detail: v.StringSchema<undefined>;
|
|
44
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
45
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
46
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
47
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
48
|
+
}, undefined>, undefined>;
|
|
49
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
50
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
51
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
52
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
53
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
54
|
+
readonly id: v.StringSchema<undefined>;
|
|
55
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
56
|
+
readonly title: v.StringSchema<undefined>;
|
|
57
|
+
readonly detail: v.StringSchema<undefined>;
|
|
58
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
59
|
+
}, undefined>;
|
|
60
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
61
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
62
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
63
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
64
|
+
readonly id: v.StringSchema<undefined>;
|
|
65
|
+
readonly title: v.StringSchema<undefined>;
|
|
66
|
+
}, undefined>, undefined>;
|
|
67
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
68
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
69
|
+
}, undefined>, undefined>, readonly []>;
|
|
70
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
71
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
72
|
+
}, undefined>, undefined>;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
export declare const reviewRequirementsContract: {
|
|
76
|
+
readonly method: "post";
|
|
77
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
78
|
+
blockId: v.StringSchema<undefined>;
|
|
79
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
80
|
+
readonly pathResolver: ({ blockId }: {
|
|
81
|
+
blockId: string;
|
|
82
|
+
}) => string;
|
|
83
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
84
|
+
readonly responsesByStatusCode: {
|
|
85
|
+
readonly '4xx': v.ObjectSchema<{
|
|
86
|
+
readonly error: v.ObjectSchema<{
|
|
87
|
+
readonly code: v.StringSchema<undefined>;
|
|
88
|
+
readonly message: v.StringSchema<undefined>;
|
|
89
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
90
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
91
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
92
|
+
readonly message: v.StringSchema<undefined>;
|
|
93
|
+
}, undefined>, undefined>, undefined>;
|
|
94
|
+
}, undefined>;
|
|
95
|
+
}, undefined>;
|
|
96
|
+
readonly '5xx': v.ObjectSchema<{
|
|
97
|
+
readonly error: v.ObjectSchema<{
|
|
98
|
+
readonly code: v.StringSchema<undefined>;
|
|
99
|
+
readonly message: v.StringSchema<undefined>;
|
|
100
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
101
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
102
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
103
|
+
readonly message: v.StringSchema<undefined>;
|
|
104
|
+
}, undefined>, undefined>, undefined>;
|
|
105
|
+
}, undefined>;
|
|
106
|
+
}, undefined>;
|
|
107
|
+
readonly 201: v.ObjectSchema<{
|
|
108
|
+
readonly id: v.StringSchema<undefined>;
|
|
109
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
110
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
111
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
112
|
+
readonly id: v.StringSchema<undefined>;
|
|
113
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
114
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
115
|
+
readonly title: v.StringSchema<undefined>;
|
|
116
|
+
readonly detail: v.StringSchema<undefined>;
|
|
117
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
118
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
119
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
120
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
121
|
+
}, undefined>, undefined>;
|
|
122
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
123
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
124
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
125
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
126
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
127
|
+
readonly id: v.StringSchema<undefined>;
|
|
128
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
129
|
+
readonly title: v.StringSchema<undefined>;
|
|
130
|
+
readonly detail: v.StringSchema<undefined>;
|
|
131
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
132
|
+
}, undefined>;
|
|
133
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
134
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
135
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
136
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
137
|
+
readonly id: v.StringSchema<undefined>;
|
|
138
|
+
readonly title: v.StringSchema<undefined>;
|
|
139
|
+
}, undefined>, undefined>;
|
|
140
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
141
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
142
|
+
}, undefined>, undefined>, readonly []>;
|
|
143
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
144
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
145
|
+
}, undefined>;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
export declare const replyRequirementItemContract: {
|
|
149
|
+
readonly method: "post";
|
|
150
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
151
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
152
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
153
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
154
|
+
readonly pathResolver: ({ reviewId, itemId }: {
|
|
155
|
+
reviewId: string;
|
|
156
|
+
itemId: string;
|
|
157
|
+
}) => string;
|
|
158
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
159
|
+
readonly reply: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
|
|
160
|
+
}, undefined>;
|
|
161
|
+
readonly responsesByStatusCode: {
|
|
162
|
+
readonly '4xx': v.ObjectSchema<{
|
|
163
|
+
readonly error: v.ObjectSchema<{
|
|
164
|
+
readonly code: v.StringSchema<undefined>;
|
|
165
|
+
readonly message: v.StringSchema<undefined>;
|
|
166
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
167
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
168
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
169
|
+
readonly message: v.StringSchema<undefined>;
|
|
170
|
+
}, undefined>, undefined>, undefined>;
|
|
171
|
+
}, undefined>;
|
|
172
|
+
}, undefined>;
|
|
173
|
+
readonly '5xx': v.ObjectSchema<{
|
|
174
|
+
readonly error: v.ObjectSchema<{
|
|
175
|
+
readonly code: v.StringSchema<undefined>;
|
|
176
|
+
readonly message: v.StringSchema<undefined>;
|
|
177
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
178
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
179
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
180
|
+
readonly message: v.StringSchema<undefined>;
|
|
181
|
+
}, undefined>, undefined>, undefined>;
|
|
182
|
+
}, undefined>;
|
|
183
|
+
}, undefined>;
|
|
184
|
+
readonly 200: v.ObjectSchema<{
|
|
185
|
+
readonly id: v.StringSchema<undefined>;
|
|
186
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
187
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
188
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
189
|
+
readonly id: v.StringSchema<undefined>;
|
|
190
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
191
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
192
|
+
readonly title: v.StringSchema<undefined>;
|
|
193
|
+
readonly detail: v.StringSchema<undefined>;
|
|
194
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
195
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
196
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
197
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
198
|
+
}, undefined>, undefined>;
|
|
199
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
200
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
201
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
202
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
203
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
204
|
+
readonly id: v.StringSchema<undefined>;
|
|
205
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
206
|
+
readonly title: v.StringSchema<undefined>;
|
|
207
|
+
readonly detail: v.StringSchema<undefined>;
|
|
208
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
209
|
+
}, undefined>;
|
|
210
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
211
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
212
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
213
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
214
|
+
readonly id: v.StringSchema<undefined>;
|
|
215
|
+
readonly title: v.StringSchema<undefined>;
|
|
216
|
+
}, undefined>, undefined>;
|
|
217
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
218
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
219
|
+
}, undefined>, undefined>, readonly []>;
|
|
220
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
221
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
222
|
+
}, undefined>;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
export declare const updateRequirementItemStatusContract: {
|
|
226
|
+
readonly method: "patch";
|
|
227
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
228
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
229
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
230
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
231
|
+
readonly pathResolver: ({ reviewId, itemId }: {
|
|
232
|
+
reviewId: string;
|
|
233
|
+
itemId: string;
|
|
234
|
+
}) => string;
|
|
235
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
236
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
237
|
+
}, undefined>;
|
|
238
|
+
readonly responsesByStatusCode: {
|
|
239
|
+
readonly '4xx': v.ObjectSchema<{
|
|
240
|
+
readonly error: v.ObjectSchema<{
|
|
241
|
+
readonly code: v.StringSchema<undefined>;
|
|
242
|
+
readonly message: v.StringSchema<undefined>;
|
|
243
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
244
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
245
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
246
|
+
readonly message: v.StringSchema<undefined>;
|
|
247
|
+
}, undefined>, undefined>, undefined>;
|
|
248
|
+
}, undefined>;
|
|
249
|
+
}, undefined>;
|
|
250
|
+
readonly '5xx': v.ObjectSchema<{
|
|
251
|
+
readonly error: v.ObjectSchema<{
|
|
252
|
+
readonly code: v.StringSchema<undefined>;
|
|
253
|
+
readonly message: v.StringSchema<undefined>;
|
|
254
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
255
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
256
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
257
|
+
readonly message: v.StringSchema<undefined>;
|
|
258
|
+
}, undefined>, undefined>, undefined>;
|
|
259
|
+
}, undefined>;
|
|
260
|
+
}, undefined>;
|
|
261
|
+
readonly 200: v.ObjectSchema<{
|
|
262
|
+
readonly id: v.StringSchema<undefined>;
|
|
263
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
264
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
265
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
266
|
+
readonly id: v.StringSchema<undefined>;
|
|
267
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
268
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
269
|
+
readonly title: v.StringSchema<undefined>;
|
|
270
|
+
readonly detail: v.StringSchema<undefined>;
|
|
271
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
272
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
273
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
274
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
275
|
+
}, undefined>, undefined>;
|
|
276
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
277
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
278
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
279
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
280
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
281
|
+
readonly id: v.StringSchema<undefined>;
|
|
282
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
283
|
+
readonly title: v.StringSchema<undefined>;
|
|
284
|
+
readonly detail: v.StringSchema<undefined>;
|
|
285
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
286
|
+
}, undefined>;
|
|
287
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
288
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
289
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
290
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
291
|
+
readonly id: v.StringSchema<undefined>;
|
|
292
|
+
readonly title: v.StringSchema<undefined>;
|
|
293
|
+
}, undefined>, undefined>;
|
|
294
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
295
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
296
|
+
}, undefined>, undefined>, readonly []>;
|
|
297
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
298
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
299
|
+
}, undefined>;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
export declare const incorporateRequirementsContract: {
|
|
303
|
+
readonly method: "post";
|
|
304
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
305
|
+
blockId: v.StringSchema<undefined>;
|
|
306
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
307
|
+
readonly pathResolver: ({ blockId }: {
|
|
308
|
+
blockId: string;
|
|
309
|
+
}) => string;
|
|
310
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
311
|
+
readonly feedback: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
312
|
+
}, undefined>;
|
|
313
|
+
readonly responsesByStatusCode: {
|
|
314
|
+
readonly '4xx': v.ObjectSchema<{
|
|
315
|
+
readonly error: v.ObjectSchema<{
|
|
316
|
+
readonly code: v.StringSchema<undefined>;
|
|
317
|
+
readonly message: v.StringSchema<undefined>;
|
|
318
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
319
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
320
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
321
|
+
readonly message: v.StringSchema<undefined>;
|
|
322
|
+
}, undefined>, undefined>, undefined>;
|
|
323
|
+
}, undefined>;
|
|
324
|
+
}, undefined>;
|
|
325
|
+
readonly '5xx': v.ObjectSchema<{
|
|
326
|
+
readonly error: v.ObjectSchema<{
|
|
327
|
+
readonly code: v.StringSchema<undefined>;
|
|
328
|
+
readonly message: v.StringSchema<undefined>;
|
|
329
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
330
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
331
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
332
|
+
readonly message: v.StringSchema<undefined>;
|
|
333
|
+
}, undefined>, undefined>, undefined>;
|
|
334
|
+
}, undefined>;
|
|
335
|
+
}, undefined>;
|
|
336
|
+
readonly 200: v.ObjectSchema<{
|
|
337
|
+
readonly id: v.StringSchema<undefined>;
|
|
338
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
339
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
340
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
341
|
+
readonly id: v.StringSchema<undefined>;
|
|
342
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
343
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
344
|
+
readonly title: v.StringSchema<undefined>;
|
|
345
|
+
readonly detail: v.StringSchema<undefined>;
|
|
346
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
347
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
348
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
349
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
350
|
+
}, undefined>, undefined>;
|
|
351
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
352
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
353
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
354
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
355
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
356
|
+
readonly id: v.StringSchema<undefined>;
|
|
357
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
358
|
+
readonly title: v.StringSchema<undefined>;
|
|
359
|
+
readonly detail: v.StringSchema<undefined>;
|
|
360
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
361
|
+
}, undefined>;
|
|
362
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
363
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
364
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
365
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
366
|
+
readonly id: v.StringSchema<undefined>;
|
|
367
|
+
readonly title: v.StringSchema<undefined>;
|
|
368
|
+
}, undefined>, undefined>;
|
|
369
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
370
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
371
|
+
}, undefined>, undefined>, readonly []>;
|
|
372
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
373
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
374
|
+
}, undefined>;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
export declare const reReviewRequirementsContract: {
|
|
378
|
+
readonly method: "post";
|
|
379
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
380
|
+
blockId: v.StringSchema<undefined>;
|
|
381
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
382
|
+
readonly pathResolver: ({ blockId }: {
|
|
383
|
+
blockId: string;
|
|
384
|
+
}) => string;
|
|
385
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
386
|
+
readonly responsesByStatusCode: {
|
|
387
|
+
readonly '4xx': v.ObjectSchema<{
|
|
388
|
+
readonly error: v.ObjectSchema<{
|
|
389
|
+
readonly code: v.StringSchema<undefined>;
|
|
390
|
+
readonly message: v.StringSchema<undefined>;
|
|
391
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
392
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
393
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
394
|
+
readonly message: v.StringSchema<undefined>;
|
|
395
|
+
}, undefined>, undefined>, undefined>;
|
|
396
|
+
}, undefined>;
|
|
397
|
+
}, undefined>;
|
|
398
|
+
readonly '5xx': 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 200: v.ObjectSchema<{
|
|
410
|
+
readonly id: v.StringSchema<undefined>;
|
|
411
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
412
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
413
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
414
|
+
readonly id: v.StringSchema<undefined>;
|
|
415
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
416
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
417
|
+
readonly title: v.StringSchema<undefined>;
|
|
418
|
+
readonly detail: v.StringSchema<undefined>;
|
|
419
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
420
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
421
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
422
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
423
|
+
}, undefined>, undefined>;
|
|
424
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
425
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
426
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
427
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
428
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
429
|
+
readonly id: v.StringSchema<undefined>;
|
|
430
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
431
|
+
readonly title: v.StringSchema<undefined>;
|
|
432
|
+
readonly detail: v.StringSchema<undefined>;
|
|
433
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
434
|
+
}, undefined>;
|
|
435
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
436
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
437
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
438
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
439
|
+
readonly id: v.StringSchema<undefined>;
|
|
440
|
+
readonly title: v.StringSchema<undefined>;
|
|
441
|
+
}, undefined>, undefined>;
|
|
442
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
443
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
444
|
+
}, undefined>, undefined>, readonly []>;
|
|
445
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
446
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
447
|
+
}, undefined>;
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
export declare const proceedRequirementsContract: {
|
|
451
|
+
readonly method: "post";
|
|
452
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
453
|
+
blockId: v.StringSchema<undefined>;
|
|
454
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
455
|
+
readonly pathResolver: ({ blockId }: {
|
|
456
|
+
blockId: string;
|
|
457
|
+
}) => string;
|
|
458
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
459
|
+
readonly responsesByStatusCode: {
|
|
460
|
+
readonly '4xx': v.ObjectSchema<{
|
|
461
|
+
readonly error: v.ObjectSchema<{
|
|
462
|
+
readonly code: v.StringSchema<undefined>;
|
|
463
|
+
readonly message: v.StringSchema<undefined>;
|
|
464
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
465
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
466
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
467
|
+
readonly message: v.StringSchema<undefined>;
|
|
468
|
+
}, undefined>, undefined>, undefined>;
|
|
469
|
+
}, undefined>;
|
|
470
|
+
}, undefined>;
|
|
471
|
+
readonly '5xx': v.ObjectSchema<{
|
|
472
|
+
readonly error: v.ObjectSchema<{
|
|
473
|
+
readonly code: v.StringSchema<undefined>;
|
|
474
|
+
readonly message: v.StringSchema<undefined>;
|
|
475
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
476
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
477
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
478
|
+
readonly message: v.StringSchema<undefined>;
|
|
479
|
+
}, undefined>, undefined>, undefined>;
|
|
480
|
+
}, undefined>;
|
|
481
|
+
}, undefined>;
|
|
482
|
+
readonly 200: v.ObjectSchema<{
|
|
483
|
+
readonly id: v.StringSchema<undefined>;
|
|
484
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
485
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
486
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
487
|
+
readonly id: v.StringSchema<undefined>;
|
|
488
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
489
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
490
|
+
readonly title: v.StringSchema<undefined>;
|
|
491
|
+
readonly detail: v.StringSchema<undefined>;
|
|
492
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
493
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
494
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
495
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
496
|
+
}, undefined>, undefined>;
|
|
497
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
498
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
499
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
500
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
501
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
502
|
+
readonly id: v.StringSchema<undefined>;
|
|
503
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
504
|
+
readonly title: v.StringSchema<undefined>;
|
|
505
|
+
readonly detail: v.StringSchema<undefined>;
|
|
506
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
507
|
+
}, undefined>;
|
|
508
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
509
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
510
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
511
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
512
|
+
readonly id: v.StringSchema<undefined>;
|
|
513
|
+
readonly title: v.StringSchema<undefined>;
|
|
514
|
+
}, undefined>, undefined>;
|
|
515
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
516
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
517
|
+
}, undefined>, undefined>, readonly []>;
|
|
518
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
519
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
520
|
+
}, undefined>;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
export declare const requestRequirementRecommendationsContract: {
|
|
524
|
+
readonly method: "post";
|
|
525
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
526
|
+
blockId: v.StringSchema<undefined>;
|
|
527
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
528
|
+
readonly pathResolver: ({ blockId }: {
|
|
529
|
+
blockId: string;
|
|
530
|
+
}) => string;
|
|
531
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
532
|
+
readonly itemIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
533
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
534
|
+
}, undefined>;
|
|
535
|
+
readonly responsesByStatusCode: {
|
|
536
|
+
readonly '4xx': v.ObjectSchema<{
|
|
537
|
+
readonly error: v.ObjectSchema<{
|
|
538
|
+
readonly code: v.StringSchema<undefined>;
|
|
539
|
+
readonly message: v.StringSchema<undefined>;
|
|
540
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
541
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
542
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
543
|
+
readonly message: v.StringSchema<undefined>;
|
|
544
|
+
}, undefined>, undefined>, undefined>;
|
|
545
|
+
}, undefined>;
|
|
546
|
+
}, undefined>;
|
|
547
|
+
readonly '5xx': v.ObjectSchema<{
|
|
548
|
+
readonly error: v.ObjectSchema<{
|
|
549
|
+
readonly code: v.StringSchema<undefined>;
|
|
550
|
+
readonly message: v.StringSchema<undefined>;
|
|
551
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
552
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
553
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
554
|
+
readonly message: v.StringSchema<undefined>;
|
|
555
|
+
}, undefined>, undefined>, undefined>;
|
|
556
|
+
}, undefined>;
|
|
557
|
+
}, undefined>;
|
|
558
|
+
readonly 200: v.NullableSchema<v.ObjectSchema<{
|
|
559
|
+
readonly id: v.StringSchema<undefined>;
|
|
560
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
561
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
562
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
563
|
+
readonly id: v.StringSchema<undefined>;
|
|
564
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
565
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
566
|
+
readonly title: v.StringSchema<undefined>;
|
|
567
|
+
readonly detail: v.StringSchema<undefined>;
|
|
568
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
569
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
570
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
571
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
572
|
+
}, undefined>, undefined>;
|
|
573
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
574
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
575
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
576
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
577
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
578
|
+
readonly id: v.StringSchema<undefined>;
|
|
579
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
580
|
+
readonly title: v.StringSchema<undefined>;
|
|
581
|
+
readonly detail: v.StringSchema<undefined>;
|
|
582
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
583
|
+
}, undefined>;
|
|
584
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
585
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
586
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
587
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
588
|
+
readonly id: v.StringSchema<undefined>;
|
|
589
|
+
readonly title: v.StringSchema<undefined>;
|
|
590
|
+
}, undefined>, undefined>;
|
|
591
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
592
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
593
|
+
}, undefined>, undefined>, readonly []>;
|
|
594
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
595
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
596
|
+
}, undefined>, undefined>;
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
export declare const acceptRequirementRecommendationContract: {
|
|
600
|
+
readonly method: "post";
|
|
601
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
602
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
603
|
+
readonly recId: v.StringSchema<undefined>;
|
|
604
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
605
|
+
readonly pathResolver: ({ reviewId, recId }: {
|
|
606
|
+
reviewId: string;
|
|
607
|
+
recId: string;
|
|
608
|
+
}) => string;
|
|
609
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
610
|
+
readonly responsesByStatusCode: {
|
|
611
|
+
readonly '4xx': v.ObjectSchema<{
|
|
612
|
+
readonly error: v.ObjectSchema<{
|
|
613
|
+
readonly code: v.StringSchema<undefined>;
|
|
614
|
+
readonly message: v.StringSchema<undefined>;
|
|
615
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
616
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
617
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
618
|
+
readonly message: v.StringSchema<undefined>;
|
|
619
|
+
}, undefined>, undefined>, undefined>;
|
|
620
|
+
}, undefined>;
|
|
621
|
+
}, undefined>;
|
|
622
|
+
readonly '5xx': v.ObjectSchema<{
|
|
623
|
+
readonly error: v.ObjectSchema<{
|
|
624
|
+
readonly code: v.StringSchema<undefined>;
|
|
625
|
+
readonly message: v.StringSchema<undefined>;
|
|
626
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
627
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
628
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
629
|
+
readonly message: v.StringSchema<undefined>;
|
|
630
|
+
}, undefined>, undefined>, undefined>;
|
|
631
|
+
}, undefined>;
|
|
632
|
+
}, undefined>;
|
|
633
|
+
readonly 200: v.ObjectSchema<{
|
|
634
|
+
readonly id: v.StringSchema<undefined>;
|
|
635
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
636
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
637
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
638
|
+
readonly id: v.StringSchema<undefined>;
|
|
639
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
640
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
641
|
+
readonly title: v.StringSchema<undefined>;
|
|
642
|
+
readonly detail: v.StringSchema<undefined>;
|
|
643
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
644
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
645
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
646
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
647
|
+
}, undefined>, undefined>;
|
|
648
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
649
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
650
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
651
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
652
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
653
|
+
readonly id: v.StringSchema<undefined>;
|
|
654
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
655
|
+
readonly title: v.StringSchema<undefined>;
|
|
656
|
+
readonly detail: v.StringSchema<undefined>;
|
|
657
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
658
|
+
}, undefined>;
|
|
659
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
660
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
661
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
662
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
663
|
+
readonly id: v.StringSchema<undefined>;
|
|
664
|
+
readonly title: v.StringSchema<undefined>;
|
|
665
|
+
}, undefined>, undefined>;
|
|
666
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
667
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
668
|
+
}, undefined>, undefined>, readonly []>;
|
|
669
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
670
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
671
|
+
}, undefined>;
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
export declare const rejectRequirementRecommendationContract: {
|
|
675
|
+
readonly method: "post";
|
|
676
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
677
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
678
|
+
readonly recId: v.StringSchema<undefined>;
|
|
679
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
680
|
+
readonly pathResolver: ({ reviewId, recId }: {
|
|
681
|
+
reviewId: string;
|
|
682
|
+
recId: string;
|
|
683
|
+
}) => string;
|
|
684
|
+
readonly requestBodySchema: typeof ContractNoBody;
|
|
685
|
+
readonly responsesByStatusCode: {
|
|
686
|
+
readonly '4xx': v.ObjectSchema<{
|
|
687
|
+
readonly error: v.ObjectSchema<{
|
|
688
|
+
readonly code: v.StringSchema<undefined>;
|
|
689
|
+
readonly message: v.StringSchema<undefined>;
|
|
690
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
691
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
692
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
693
|
+
readonly message: v.StringSchema<undefined>;
|
|
694
|
+
}, undefined>, undefined>, undefined>;
|
|
695
|
+
}, undefined>;
|
|
696
|
+
}, undefined>;
|
|
697
|
+
readonly '5xx': v.ObjectSchema<{
|
|
698
|
+
readonly error: v.ObjectSchema<{
|
|
699
|
+
readonly code: v.StringSchema<undefined>;
|
|
700
|
+
readonly message: v.StringSchema<undefined>;
|
|
701
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
702
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
703
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
704
|
+
readonly message: v.StringSchema<undefined>;
|
|
705
|
+
}, undefined>, undefined>, undefined>;
|
|
706
|
+
}, undefined>;
|
|
707
|
+
}, undefined>;
|
|
708
|
+
readonly 200: v.ObjectSchema<{
|
|
709
|
+
readonly id: v.StringSchema<undefined>;
|
|
710
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
711
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
712
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
713
|
+
readonly id: v.StringSchema<undefined>;
|
|
714
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
715
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
716
|
+
readonly title: v.StringSchema<undefined>;
|
|
717
|
+
readonly detail: v.StringSchema<undefined>;
|
|
718
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
719
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
720
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
721
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
722
|
+
}, undefined>, undefined>;
|
|
723
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
724
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
725
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
726
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
727
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
728
|
+
readonly id: v.StringSchema<undefined>;
|
|
729
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
730
|
+
readonly title: v.StringSchema<undefined>;
|
|
731
|
+
readonly detail: v.StringSchema<undefined>;
|
|
732
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
733
|
+
}, undefined>;
|
|
734
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
735
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
736
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
737
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
738
|
+
readonly id: v.StringSchema<undefined>;
|
|
739
|
+
readonly title: v.StringSchema<undefined>;
|
|
740
|
+
}, undefined>, undefined>;
|
|
741
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
742
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
743
|
+
}, undefined>, undefined>, readonly []>;
|
|
744
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
745
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
746
|
+
}, undefined>;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
export declare const reRequestRequirementRecommendationContract: {
|
|
750
|
+
readonly method: "post";
|
|
751
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
752
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
753
|
+
readonly recId: v.StringSchema<undefined>;
|
|
754
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
755
|
+
readonly pathResolver: ({ reviewId, recId }: {
|
|
756
|
+
reviewId: string;
|
|
757
|
+
recId: string;
|
|
758
|
+
}) => string;
|
|
759
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
760
|
+
readonly note: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
|
|
761
|
+
}, undefined>;
|
|
762
|
+
readonly responsesByStatusCode: {
|
|
763
|
+
readonly '4xx': v.ObjectSchema<{
|
|
764
|
+
readonly error: v.ObjectSchema<{
|
|
765
|
+
readonly code: v.StringSchema<undefined>;
|
|
766
|
+
readonly message: v.StringSchema<undefined>;
|
|
767
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
768
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
769
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
770
|
+
readonly message: v.StringSchema<undefined>;
|
|
771
|
+
}, undefined>, undefined>, undefined>;
|
|
772
|
+
}, undefined>;
|
|
773
|
+
}, undefined>;
|
|
774
|
+
readonly '5xx': v.ObjectSchema<{
|
|
775
|
+
readonly error: v.ObjectSchema<{
|
|
776
|
+
readonly code: v.StringSchema<undefined>;
|
|
777
|
+
readonly message: v.StringSchema<undefined>;
|
|
778
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
779
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
780
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
781
|
+
readonly message: v.StringSchema<undefined>;
|
|
782
|
+
}, undefined>, undefined>, undefined>;
|
|
783
|
+
}, undefined>;
|
|
784
|
+
}, undefined>;
|
|
785
|
+
readonly 200: v.ObjectSchema<{
|
|
786
|
+
readonly id: v.StringSchema<undefined>;
|
|
787
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
788
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
789
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
790
|
+
readonly id: v.StringSchema<undefined>;
|
|
791
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
792
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
793
|
+
readonly title: v.StringSchema<undefined>;
|
|
794
|
+
readonly detail: v.StringSchema<undefined>;
|
|
795
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
796
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
797
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
798
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
799
|
+
}, undefined>, undefined>;
|
|
800
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
801
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
802
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
803
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
804
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
805
|
+
readonly id: v.StringSchema<undefined>;
|
|
806
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
807
|
+
readonly title: v.StringSchema<undefined>;
|
|
808
|
+
readonly detail: v.StringSchema<undefined>;
|
|
809
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
810
|
+
}, undefined>;
|
|
811
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
812
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
813
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
814
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
815
|
+
readonly id: v.StringSchema<undefined>;
|
|
816
|
+
readonly title: v.StringSchema<undefined>;
|
|
817
|
+
}, undefined>, undefined>;
|
|
818
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
819
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
820
|
+
}, undefined>, undefined>, readonly []>;
|
|
821
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
822
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
823
|
+
}, undefined>;
|
|
824
|
+
};
|
|
825
|
+
};
|
|
826
|
+
export declare const resolveRequirementsExceededContract: {
|
|
827
|
+
readonly method: "post";
|
|
828
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
829
|
+
blockId: v.StringSchema<undefined>;
|
|
830
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
831
|
+
readonly pathResolver: ({ blockId }: {
|
|
832
|
+
blockId: string;
|
|
833
|
+
}) => string;
|
|
834
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
835
|
+
readonly choice: v.PicklistSchema<["extra-round", "proceed", "stop-reset"], undefined>;
|
|
836
|
+
}, undefined>;
|
|
837
|
+
readonly responsesByStatusCode: {
|
|
838
|
+
readonly '4xx': v.ObjectSchema<{
|
|
839
|
+
readonly error: v.ObjectSchema<{
|
|
840
|
+
readonly code: v.StringSchema<undefined>;
|
|
841
|
+
readonly message: v.StringSchema<undefined>;
|
|
842
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
843
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
844
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
845
|
+
readonly message: v.StringSchema<undefined>;
|
|
846
|
+
}, undefined>, undefined>, undefined>;
|
|
847
|
+
}, undefined>;
|
|
848
|
+
}, undefined>;
|
|
849
|
+
readonly '5xx': v.ObjectSchema<{
|
|
850
|
+
readonly error: v.ObjectSchema<{
|
|
851
|
+
readonly code: v.StringSchema<undefined>;
|
|
852
|
+
readonly message: v.StringSchema<undefined>;
|
|
853
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
854
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
855
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
856
|
+
readonly message: v.StringSchema<undefined>;
|
|
857
|
+
}, undefined>, undefined>, undefined>;
|
|
858
|
+
}, undefined>;
|
|
859
|
+
}, undefined>;
|
|
860
|
+
readonly 200: v.ObjectSchema<{
|
|
861
|
+
readonly id: v.StringSchema<undefined>;
|
|
862
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
863
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
864
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
865
|
+
readonly id: v.StringSchema<undefined>;
|
|
866
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
867
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
868
|
+
readonly title: v.StringSchema<undefined>;
|
|
869
|
+
readonly detail: v.StringSchema<undefined>;
|
|
870
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
871
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
872
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
873
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
874
|
+
}, undefined>, undefined>;
|
|
875
|
+
readonly model: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
876
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
877
|
+
readonly iteration: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
878
|
+
readonly maxIterations: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
|
|
879
|
+
readonly recommendations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
880
|
+
readonly id: v.StringSchema<undefined>;
|
|
881
|
+
readonly sourceFinding: v.ObjectSchema<{
|
|
882
|
+
readonly title: v.StringSchema<undefined>;
|
|
883
|
+
readonly detail: v.StringSchema<undefined>;
|
|
884
|
+
readonly itemId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
885
|
+
}, undefined>;
|
|
886
|
+
readonly recommendedText: v.StringSchema<undefined>;
|
|
887
|
+
readonly status: v.PicklistSchema<["pending", "ready", "accepted", "rejected"], undefined>;
|
|
888
|
+
readonly note: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
889
|
+
readonly groundedInFragment: v.NullableSchema<v.ObjectSchema<{
|
|
890
|
+
readonly id: v.StringSchema<undefined>;
|
|
891
|
+
readonly title: v.StringSchema<undefined>;
|
|
892
|
+
}, undefined>, undefined>;
|
|
893
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
894
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
895
|
+
}, undefined>, undefined>, readonly []>;
|
|
896
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
897
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
898
|
+
}, undefined>;
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
//# sourceMappingURL=requirements.d.ts.map
|