@knpkv/codecommit-web 0.11.4 → 0.14.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/client/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2 +0 -0
- package/dist/client/assets/index-DQUoxciG.js +90 -0
- package/dist/client/assets/index-NJaNHeOS.css +1 -0
- package/dist/client/assets/pr-review-workspace-C0TVEp1y.js +22 -0
- package/dist/client/assets/pr-review-workspace-mH4SV5xO.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/main.js +9 -3
- package/dist/main.js.map +1 -1
- package/dist/server/Api.d.ts +1333 -114
- package/dist/server/Api.d.ts.map +1 -1
- package/dist/server/Api.js +251 -6
- package/dist/server/Api.js.map +1 -1
- package/dist/server/Server.d.ts +13 -7
- package/dist/server/Server.d.ts.map +1 -1
- package/dist/server/Server.js +45 -13
- package/dist/server/Server.js.map +1 -1
- package/dist/server/handlers/accounts-live.d.ts +1 -1
- package/dist/server/handlers/accounts-live.d.ts.map +1 -1
- package/dist/server/handlers/audit-live.d.ts +1 -1
- package/dist/server/handlers/audit-live.d.ts.map +1 -1
- package/dist/server/handlers/config-live.d.ts +9 -1
- package/dist/server/handlers/config-live.d.ts.map +1 -1
- package/dist/server/handlers/config-live.js +33 -10
- package/dist/server/handlers/config-live.js.map +1 -1
- package/dist/server/handlers/events-live.d.ts +1 -1
- package/dist/server/handlers/events-live.d.ts.map +1 -1
- package/dist/server/handlers/notifications-live.d.ts +1 -1
- package/dist/server/handlers/notifications-live.d.ts.map +1 -1
- package/dist/server/handlers/notifications-live.js +3 -3
- package/dist/server/handlers/notifications-live.js.map +1 -1
- package/dist/server/handlers/permissions-live.d.ts +1 -1
- package/dist/server/handlers/permissions-live.d.ts.map +1 -1
- package/dist/server/handlers/prs-live.d.ts +79 -2
- package/dist/server/handlers/prs-live.d.ts.map +1 -1
- package/dist/server/handlers/prs-live.js +117 -7
- package/dist/server/handlers/prs-live.js.map +1 -1
- package/dist/server/handlers/sandbox-live.d.ts +1 -1
- package/dist/server/handlers/sandbox-live.d.ts.map +1 -1
- package/dist/server/handlers/sandbox-live.js +5 -1
- package/dist/server/handlers/sandbox-live.js.map +1 -1
- package/dist/server/handlers/stats-live.d.ts +1 -1
- package/dist/server/handlers/stats-live.d.ts.map +1 -1
- package/dist/server/handlers/subscriptions-live.d.ts +1 -1
- package/dist/server/handlers/subscriptions-live.d.ts.map +1 -1
- package/dist/server/internal/BackgroundWorkers.d.ts +1 -1
- package/dist/server/internal/BackgroundWorkers.d.ts.map +1 -1
- package/dist/server/internal/BackgroundWorkers.js +43 -5
- package/dist/server/internal/BackgroundWorkers.js.map +1 -1
- package/dist/server/internal/OwnerSessionSecurity.d.ts +46 -0
- package/dist/server/internal/OwnerSessionSecurity.d.ts.map +1 -0
- package/dist/server/internal/OwnerSessionSecurity.js +143 -0
- package/dist/server/internal/OwnerSessionSecurity.js.map +1 -0
- package/dist/server/internal/PermissionedReadClient.d.ts +27 -0
- package/dist/server/internal/PermissionedReadClient.d.ts.map +1 -0
- package/dist/server/internal/PermissionedReadClient.js +132 -0
- package/dist/server/internal/PermissionedReadClient.js.map +1 -0
- package/dist/server/review/PullRequestReview.d.ts +394 -0
- package/dist/server/review/PullRequestReview.d.ts.map +1 -0
- package/dist/server/review/PullRequestReview.js +714 -0
- package/dist/server/review/PullRequestReview.js.map +1 -0
- package/dist/server/review/RelayFindingPublisher.d.ts +39 -0
- package/dist/server/review/RelayFindingPublisher.d.ts.map +1 -0
- package/dist/server/review/RelayFindingPublisher.js +78 -0
- package/dist/server/review/RelayFindingPublisher.js.map +1 -0
- package/dist/server/review/ReviewPromptBudget.d.ts +10 -0
- package/dist/server/review/ReviewPromptBudget.d.ts.map +1 -0
- package/dist/server/review/ReviewPromptBudget.js +11 -0
- package/dist/server/review/ReviewPromptBudget.js.map +1 -0
- package/dist/server/review/ReviewSkillCatalog.d.ts +34 -0
- package/dist/server/review/ReviewSkillCatalog.d.ts.map +1 -0
- package/dist/server/review/ReviewSkillCatalog.js +204 -0
- package/dist/server/review/ReviewSkillCatalog.js.map +1 -0
- package/dist/tooling/authenticated-dev-proxy.d.ts +15 -0
- package/dist/tooling/authenticated-dev-proxy.d.ts.map +1 -0
- package/dist/tooling/authenticated-dev-proxy.js +19 -0
- package/dist/tooling/authenticated-dev-proxy.js.map +1 -0
- package/dist/tooling/authenticated-dev-proxy.test.d.ts +2 -0
- package/dist/tooling/authenticated-dev-proxy.test.d.ts.map +1 -0
- package/dist/tooling/authenticated-dev-proxy.test.js +26 -0
- package/dist/tooling/authenticated-dev-proxy.test.js.map +1 -0
- package/dist/tooling/production-prototype-boundary.d.ts.map +1 -1
- package/package.json +31 -24
- package/dist/client/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
- package/dist/client/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
- package/dist/client/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
- package/dist/client/assets/geist-mono-cyrillic-ext-wght-normal-I4S5GZfc.woff2 +0 -0
- package/dist/client/assets/geist-mono-cyrillic-wght-normal-BmXc_FBt.woff2 +0 -0
- package/dist/client/assets/geist-mono-latin-ext-wght-normal-DrnZ1wKl.woff2 +0 -0
- package/dist/client/assets/geist-mono-latin-wght-normal-B_7UjwxQ.woff2 +0 -0
- package/dist/client/assets/geist-mono-symbols2-wght-normal-GZpp1pK2.woff2 +0 -0
- package/dist/client/assets/geist-mono-vietnamese-wght-normal-D8KDMBhC.woff2 +0 -0
- package/dist/client/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
- package/dist/client/assets/index-DHUFjL8d.css +0 -1
- package/dist/client/assets/index-DvOqBYkk.js +0 -90
package/dist/server/Api.d.ts
CHANGED
|
@@ -19,12 +19,37 @@
|
|
|
19
19
|
import { Account, PullRequest } from "@knpkv/codecommit-core/Domain.js";
|
|
20
20
|
import { WeeklyStats } from "@knpkv/codecommit-core/StatsService/WeeklyStats.js";
|
|
21
21
|
import { Schema } from "effect";
|
|
22
|
-
import { HttpApi, HttpApiEndpoint, HttpApiGroup } from "effect/unstable/httpapi";
|
|
22
|
+
import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSecurity } from "effect/unstable/httpapi";
|
|
23
23
|
declare const ApiError_base: Schema.Class<ApiError, Schema.TaggedStruct<"ApiError", {
|
|
24
24
|
readonly message: Schema.String;
|
|
25
25
|
}>, import("effect/Cause").YieldableError>;
|
|
26
26
|
export declare class ApiError extends ApiError_base {
|
|
27
27
|
}
|
|
28
|
+
declare const UnauthorizedApiError_base: Schema.Class<UnauthorizedApiError, Schema.TaggedStruct<"UnauthorizedApiError", {
|
|
29
|
+
readonly message: Schema.String;
|
|
30
|
+
}>, import("effect/Cause").YieldableError>;
|
|
31
|
+
export declare class UnauthorizedApiError extends UnauthorizedApiError_base {
|
|
32
|
+
}
|
|
33
|
+
declare const ForbiddenApiError_base: Schema.Class<ForbiddenApiError, Schema.TaggedStruct<"ForbiddenApiError", {
|
|
34
|
+
readonly message: Schema.String;
|
|
35
|
+
}>, import("effect/Cause").YieldableError>;
|
|
36
|
+
export declare class ForbiddenApiError extends ForbiddenApiError_base {
|
|
37
|
+
}
|
|
38
|
+
declare const OwnerSessionAuth_base: HttpApiMiddleware.ServiceClass<OwnerSessionAuth, "@knpkv/codecommit-web/OwnerSessionAuth", {
|
|
39
|
+
requires: never;
|
|
40
|
+
provides: never;
|
|
41
|
+
error: readonly [typeof UnauthorizedApiError, typeof ForbiddenApiError];
|
|
42
|
+
clientError: never;
|
|
43
|
+
requiredForClient: false;
|
|
44
|
+
security: {
|
|
45
|
+
readonly ownerCookie: HttpApiSecurity.ApiKey;
|
|
46
|
+
};
|
|
47
|
+
}, HttpApiMiddleware.HttpApiMiddlewareSecurity<{
|
|
48
|
+
readonly ownerCookie: HttpApiSecurity.ApiKey;
|
|
49
|
+
}, never, readonly [typeof UnauthorizedApiError, typeof ForbiddenApiError], never>>;
|
|
50
|
+
/** Process-scoped owner session required by every CodeCommit API endpoint. */
|
|
51
|
+
export declare class OwnerSessionAuth extends OwnerSessionAuth_base {
|
|
52
|
+
}
|
|
28
53
|
export declare const CachedPullRequestResponse: Schema.Struct<{
|
|
29
54
|
readonly id: Schema.String;
|
|
30
55
|
readonly awsAccountId: Schema.String;
|
|
@@ -45,6 +70,331 @@ export declare const CachedPullRequestResponse: Schema.Struct<{
|
|
|
45
70
|
readonly link: Schema.String;
|
|
46
71
|
readonly fetchedAt: Schema.String;
|
|
47
72
|
}>;
|
|
73
|
+
/** Complete changed-file inventory bound to one immutable CodeCommit revision. */
|
|
74
|
+
export declare const PullRequestDiffResponse: Schema.Struct<{
|
|
75
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
76
|
+
readonly revisionId: Schema.String;
|
|
77
|
+
readonly baseCommit: Schema.String;
|
|
78
|
+
readonly headCommit: Schema.String;
|
|
79
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
80
|
+
readonly index: Schema.Int;
|
|
81
|
+
readonly status: Schema.Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
82
|
+
readonly path: Schema.String;
|
|
83
|
+
readonly previousPath: Schema.NullOr<Schema.String>;
|
|
84
|
+
readonly beforeMode: Schema.NullOr<Schema.String>;
|
|
85
|
+
readonly afterMode: Schema.NullOr<Schema.String>;
|
|
86
|
+
}>>;
|
|
87
|
+
}>;
|
|
88
|
+
export type PullRequestDiffResponse = typeof PullRequestDiffResponse.Type;
|
|
89
|
+
/** Exact provider revision observed by a completed single-PR refresh. */
|
|
90
|
+
export declare const PullRequestRefreshResponse: Schema.Struct<{
|
|
91
|
+
readonly revisionId: Schema.String;
|
|
92
|
+
readonly headCommit: Schema.String;
|
|
93
|
+
}>;
|
|
94
|
+
export type PullRequestRefreshResponse = typeof PullRequestRefreshResponse.Type;
|
|
95
|
+
/** Bounded text for one inventory entry; exceptional content remains explicit. */
|
|
96
|
+
export declare const PullRequestDiffContentResponse: Schema.Struct<{
|
|
97
|
+
readonly fileIndex: Schema.Int;
|
|
98
|
+
readonly revisionId: Schema.String;
|
|
99
|
+
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
100
|
+
readonly before: Schema.NullOr<Schema.String>;
|
|
101
|
+
readonly after: Schema.NullOr<Schema.String>;
|
|
102
|
+
}>;
|
|
103
|
+
export type PullRequestDiffContentResponse = typeof PullRequestDiffContentResponse.Type;
|
|
104
|
+
export declare const RelayReviewKind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
105
|
+
export type RelayReviewKind = typeof RelayReviewKind.Type;
|
|
106
|
+
export declare const RelayReviewSkillId: Schema.String;
|
|
107
|
+
export declare const RelayReviewSkillIds: Schema.$Array<Schema.String>;
|
|
108
|
+
/** Complete server-validated execution configuration owned by one saved profile. */
|
|
109
|
+
export declare const RelayReviewProfile: Schema.Struct<{
|
|
110
|
+
readonly id: Schema.String;
|
|
111
|
+
readonly name: Schema.String;
|
|
112
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
113
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
114
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
115
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
116
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
117
|
+
}>;
|
|
118
|
+
export type RelayReviewProfile = typeof RelayReviewProfile.Type;
|
|
119
|
+
export declare const RelayReviewFinding: Schema.Struct<{
|
|
120
|
+
readonly id: Schema.String;
|
|
121
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
122
|
+
readonly title: Schema.String;
|
|
123
|
+
readonly summary: Schema.String;
|
|
124
|
+
readonly details: Schema.String;
|
|
125
|
+
readonly recommendation: Schema.String;
|
|
126
|
+
readonly verification: Schema.String;
|
|
127
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
128
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
129
|
+
readonly scope: Schema.Literal<"general">;
|
|
130
|
+
}>, Schema.Struct<{
|
|
131
|
+
readonly scope: Schema.Literal<"file">;
|
|
132
|
+
readonly filePath: Schema.String;
|
|
133
|
+
}>, Schema.Struct<{
|
|
134
|
+
readonly scope: Schema.Literal<"line">;
|
|
135
|
+
readonly filePath: Schema.String;
|
|
136
|
+
readonly line: Schema.Int;
|
|
137
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
138
|
+
}>]>;
|
|
139
|
+
}>;
|
|
140
|
+
export type RelayReviewFinding = typeof RelayReviewFinding.Type;
|
|
141
|
+
/** Native non-Explain output excludes Explain's required explanation field. */
|
|
142
|
+
export declare const RelayNativeReviewResult: Schema.Struct<{
|
|
143
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
144
|
+
readonly id: Schema.String;
|
|
145
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
146
|
+
readonly title: Schema.String;
|
|
147
|
+
readonly summary: Schema.String;
|
|
148
|
+
readonly details: Schema.String;
|
|
149
|
+
readonly recommendation: Schema.String;
|
|
150
|
+
readonly verification: Schema.String;
|
|
151
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
152
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
153
|
+
readonly scope: Schema.Literal<"general">;
|
|
154
|
+
}>, Schema.Struct<{
|
|
155
|
+
readonly scope: Schema.Literal<"file">;
|
|
156
|
+
readonly filePath: Schema.String;
|
|
157
|
+
}>, Schema.Struct<{
|
|
158
|
+
readonly scope: Schema.Literal<"line">;
|
|
159
|
+
readonly filePath: Schema.String;
|
|
160
|
+
readonly line: Schema.Int;
|
|
161
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
162
|
+
}>]>;
|
|
163
|
+
}>>;
|
|
164
|
+
readonly verdict: Schema.String;
|
|
165
|
+
}>;
|
|
166
|
+
export declare const RelayReviewResult: Schema.Struct<{
|
|
167
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
168
|
+
readonly id: Schema.String;
|
|
169
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
170
|
+
readonly title: Schema.String;
|
|
171
|
+
readonly summary: Schema.String;
|
|
172
|
+
readonly details: Schema.String;
|
|
173
|
+
readonly recommendation: Schema.String;
|
|
174
|
+
readonly verification: Schema.String;
|
|
175
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
176
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
177
|
+
readonly scope: Schema.Literal<"general">;
|
|
178
|
+
}>, Schema.Struct<{
|
|
179
|
+
readonly scope: Schema.Literal<"file">;
|
|
180
|
+
readonly filePath: Schema.String;
|
|
181
|
+
}>, Schema.Struct<{
|
|
182
|
+
readonly scope: Schema.Literal<"line">;
|
|
183
|
+
readonly filePath: Schema.String;
|
|
184
|
+
readonly line: Schema.Int;
|
|
185
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
186
|
+
}>]>;
|
|
187
|
+
}>>;
|
|
188
|
+
readonly verdict: Schema.String;
|
|
189
|
+
readonly explanation: Schema.optional<Schema.String>;
|
|
190
|
+
}>;
|
|
191
|
+
export type RelayReviewResult = typeof RelayReviewResult.Type;
|
|
192
|
+
/** Explain-mode native schema makes a findings-shaped response impossible. */
|
|
193
|
+
export declare const RelayExplainResult: Schema.Struct<{
|
|
194
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
195
|
+
readonly id: Schema.String;
|
|
196
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
197
|
+
readonly title: Schema.String;
|
|
198
|
+
readonly summary: Schema.String;
|
|
199
|
+
readonly details: Schema.String;
|
|
200
|
+
readonly recommendation: Schema.String;
|
|
201
|
+
readonly verification: Schema.String;
|
|
202
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
203
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
204
|
+
readonly scope: Schema.Literal<"general">;
|
|
205
|
+
}>, Schema.Struct<{
|
|
206
|
+
readonly scope: Schema.Literal<"file">;
|
|
207
|
+
readonly filePath: Schema.String;
|
|
208
|
+
}>, Schema.Struct<{
|
|
209
|
+
readonly scope: Schema.Literal<"line">;
|
|
210
|
+
readonly filePath: Schema.String;
|
|
211
|
+
readonly line: Schema.Int;
|
|
212
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
213
|
+
}>]>;
|
|
214
|
+
}>>;
|
|
215
|
+
readonly verdict: Schema.String;
|
|
216
|
+
readonly explanation: Schema.String;
|
|
217
|
+
}>;
|
|
218
|
+
/** One ephemeral Relay result bound to the exact diff that was reviewed. */
|
|
219
|
+
export declare const PullRequestRelayReviewResponse: Schema.Struct<{
|
|
220
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
221
|
+
readonly revisionId: Schema.String;
|
|
222
|
+
readonly baseCommit: Schema.String;
|
|
223
|
+
readonly headCommit: Schema.String;
|
|
224
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
225
|
+
readonly profile: Schema.Struct<{
|
|
226
|
+
readonly id: Schema.String;
|
|
227
|
+
readonly name: Schema.String;
|
|
228
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
229
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
230
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
231
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
232
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
233
|
+
}>;
|
|
234
|
+
readonly result: Schema.Struct<{
|
|
235
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
236
|
+
readonly id: Schema.String;
|
|
237
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
238
|
+
readonly title: Schema.String;
|
|
239
|
+
readonly summary: Schema.String;
|
|
240
|
+
readonly details: Schema.String;
|
|
241
|
+
readonly recommendation: Schema.String;
|
|
242
|
+
readonly verification: Schema.String;
|
|
243
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
244
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
245
|
+
readonly scope: Schema.Literal<"general">;
|
|
246
|
+
}>, Schema.Struct<{
|
|
247
|
+
readonly scope: Schema.Literal<"file">;
|
|
248
|
+
readonly filePath: Schema.String;
|
|
249
|
+
}>, Schema.Struct<{
|
|
250
|
+
readonly scope: Schema.Literal<"line">;
|
|
251
|
+
readonly filePath: Schema.String;
|
|
252
|
+
readonly line: Schema.Int;
|
|
253
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
254
|
+
}>]>;
|
|
255
|
+
}>>;
|
|
256
|
+
readonly verdict: Schema.String;
|
|
257
|
+
readonly explanation: Schema.optional<Schema.String>;
|
|
258
|
+
}>;
|
|
259
|
+
}>;
|
|
260
|
+
export type PullRequestRelayReviewResponse = typeof PullRequestRelayReviewResponse.Type;
|
|
261
|
+
export declare const RelayReviewMessage: Schema.String;
|
|
262
|
+
export declare const RelayReviewConversationTurn: Schema.Struct<{
|
|
263
|
+
readonly findingId: Schema.String;
|
|
264
|
+
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
265
|
+
readonly message: Schema.String;
|
|
266
|
+
}>;
|
|
267
|
+
export type RelayReviewConversationTurn = typeof RelayReviewConversationTurn.Type;
|
|
268
|
+
export declare const RelayReviewProgressPhase: Schema.Literals<readonly ["revision", "files", "patch", "agent", "validation", "posting"]>;
|
|
269
|
+
export type RelayReviewProgressPhase = typeof RelayReviewProgressPhase.Type;
|
|
270
|
+
export declare const RelayReviewStreamEvent: Schema.Union<readonly [Schema.Struct<{
|
|
271
|
+
readonly type: Schema.Literal<"progress">;
|
|
272
|
+
readonly phase: Schema.Literals<readonly ["revision", "files", "patch", "agent", "validation", "posting"]>;
|
|
273
|
+
readonly message: Schema.String;
|
|
274
|
+
readonly detail: Schema.optional<Schema.String>;
|
|
275
|
+
}>, Schema.Struct<{
|
|
276
|
+
readonly type: Schema.Literal<"complete">;
|
|
277
|
+
readonly review: Schema.Struct<{
|
|
278
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
279
|
+
readonly revisionId: Schema.String;
|
|
280
|
+
readonly baseCommit: Schema.String;
|
|
281
|
+
readonly headCommit: Schema.String;
|
|
282
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
283
|
+
readonly profile: Schema.Struct<{
|
|
284
|
+
readonly id: Schema.String;
|
|
285
|
+
readonly name: Schema.String;
|
|
286
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
287
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
288
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
289
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
290
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
291
|
+
}>;
|
|
292
|
+
readonly result: Schema.Struct<{
|
|
293
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
294
|
+
readonly id: Schema.String;
|
|
295
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
296
|
+
readonly title: Schema.String;
|
|
297
|
+
readonly summary: Schema.String;
|
|
298
|
+
readonly details: Schema.String;
|
|
299
|
+
readonly recommendation: Schema.String;
|
|
300
|
+
readonly verification: Schema.String;
|
|
301
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
302
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
303
|
+
readonly scope: Schema.Literal<"general">;
|
|
304
|
+
}>, Schema.Struct<{
|
|
305
|
+
readonly scope: Schema.Literal<"file">;
|
|
306
|
+
readonly filePath: Schema.String;
|
|
307
|
+
}>, Schema.Struct<{
|
|
308
|
+
readonly scope: Schema.Literal<"line">;
|
|
309
|
+
readonly filePath: Schema.String;
|
|
310
|
+
readonly line: Schema.Int;
|
|
311
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
312
|
+
}>]>;
|
|
313
|
+
}>>;
|
|
314
|
+
readonly verdict: Schema.String;
|
|
315
|
+
readonly explanation: Schema.optional<Schema.String>;
|
|
316
|
+
}>;
|
|
317
|
+
}>;
|
|
318
|
+
readonly reply: Schema.optional<Schema.String>;
|
|
319
|
+
}>, Schema.Struct<{
|
|
320
|
+
readonly type: Schema.Literal<"error">;
|
|
321
|
+
readonly message: Schema.String;
|
|
322
|
+
}>]>;
|
|
323
|
+
export type RelayReviewStreamEvent = typeof RelayReviewStreamEvent.Type;
|
|
324
|
+
export declare const RelayFindingPostResponse: Schema.Struct<{
|
|
325
|
+
readonly findingId: Schema.String;
|
|
326
|
+
readonly operationId: Schema.String;
|
|
327
|
+
readonly summary: Schema.String;
|
|
328
|
+
}>;
|
|
329
|
+
export type RelayFindingPostResponse = typeof RelayFindingPostResponse.Type;
|
|
330
|
+
export declare const RelayReviewStreamRequest: Schema.Struct<{
|
|
331
|
+
readonly revisionId: Schema.String;
|
|
332
|
+
readonly baseCommit: Schema.String;
|
|
333
|
+
readonly headCommit: Schema.String;
|
|
334
|
+
readonly profile: Schema.Struct<{
|
|
335
|
+
readonly id: Schema.String;
|
|
336
|
+
readonly name: Schema.String;
|
|
337
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
338
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
339
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
340
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
341
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
342
|
+
}>;
|
|
343
|
+
}>;
|
|
344
|
+
export type RelayReviewStreamRequest = typeof RelayReviewStreamRequest.Type;
|
|
345
|
+
export declare const MAXIMUM_RELAY_REVIEW_TURNS = 40;
|
|
346
|
+
export declare const RelayReviewConversationTurns: Schema.$Array<Schema.Struct<{
|
|
347
|
+
readonly findingId: Schema.String;
|
|
348
|
+
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
349
|
+
readonly message: Schema.String;
|
|
350
|
+
}>>;
|
|
351
|
+
export declare const RelayReviewContinueStreamRequest: Schema.Struct<{
|
|
352
|
+
readonly revisionId: Schema.String;
|
|
353
|
+
readonly baseCommit: Schema.String;
|
|
354
|
+
readonly headCommit: Schema.String;
|
|
355
|
+
readonly profile: Schema.Struct<{
|
|
356
|
+
readonly id: Schema.String;
|
|
357
|
+
readonly name: Schema.String;
|
|
358
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
359
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
360
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
361
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
362
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
363
|
+
}>;
|
|
364
|
+
readonly currentReview: Schema.Struct<{
|
|
365
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
366
|
+
readonly id: Schema.String;
|
|
367
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
368
|
+
readonly title: Schema.String;
|
|
369
|
+
readonly summary: Schema.String;
|
|
370
|
+
readonly details: Schema.String;
|
|
371
|
+
readonly recommendation: Schema.String;
|
|
372
|
+
readonly verification: Schema.String;
|
|
373
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
374
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
375
|
+
readonly scope: Schema.Literal<"general">;
|
|
376
|
+
}>, Schema.Struct<{
|
|
377
|
+
readonly scope: Schema.Literal<"file">;
|
|
378
|
+
readonly filePath: Schema.String;
|
|
379
|
+
}>, Schema.Struct<{
|
|
380
|
+
readonly scope: Schema.Literal<"line">;
|
|
381
|
+
readonly filePath: Schema.String;
|
|
382
|
+
readonly line: Schema.Int;
|
|
383
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
384
|
+
}>]>;
|
|
385
|
+
}>>;
|
|
386
|
+
readonly verdict: Schema.String;
|
|
387
|
+
readonly explanation: Schema.optional<Schema.String>;
|
|
388
|
+
}>;
|
|
389
|
+
readonly turns: Schema.$Array<Schema.Struct<{
|
|
390
|
+
readonly findingId: Schema.String;
|
|
391
|
+
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
392
|
+
readonly message: Schema.String;
|
|
393
|
+
}>>;
|
|
394
|
+
readonly findingId: Schema.String;
|
|
395
|
+
readonly message: Schema.String;
|
|
396
|
+
}>;
|
|
397
|
+
export type RelayReviewContinueStreamRequest = typeof RelayReviewContinueStreamRequest.Type;
|
|
48
398
|
export declare const NotificationResponse: Schema.Struct<{
|
|
49
399
|
readonly id: Schema.Number;
|
|
50
400
|
readonly pullRequestId: Schema.String;
|
|
@@ -56,7 +406,227 @@ export declare const NotificationResponse: Schema.Struct<{
|
|
|
56
406
|
readonly createdAt: Schema.String;
|
|
57
407
|
readonly read: Schema.Number;
|
|
58
408
|
}>;
|
|
59
|
-
declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"
|
|
409
|
+
declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
410
|
+
readonly pullRequestId: Schema.String;
|
|
411
|
+
readonly repositoryName: Schema.String;
|
|
412
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
413
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
414
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
415
|
+
readonly filePath: Schema.optional<Schema.String>;
|
|
416
|
+
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
417
|
+
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
418
|
+
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
419
|
+
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
420
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
421
|
+
readonly repositoryName: Schema.String;
|
|
422
|
+
readonly title: Schema.String;
|
|
423
|
+
readonly description: Schema.optional<Schema.String>;
|
|
424
|
+
readonly sourceBranch: Schema.String;
|
|
425
|
+
readonly destinationBranch: Schema.String;
|
|
426
|
+
readonly account: typeof Account;
|
|
427
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"createApprovalRule", "POST", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
428
|
+
readonly pullRequestId: Schema.String;
|
|
429
|
+
readonly approvalRuleName: Schema.String;
|
|
430
|
+
readonly requiredApprovals: Schema.Number;
|
|
431
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
432
|
+
readonly account: typeof Account;
|
|
433
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"deleteApprovalRule", "DELETE", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
434
|
+
readonly pullRequestId: Schema.String;
|
|
435
|
+
readonly approvalRuleName: Schema.String;
|
|
436
|
+
readonly account: typeof Account;
|
|
437
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
438
|
+
readonly awsAccountId: Schema.String;
|
|
439
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
440
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
441
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
442
|
+
readonly revisionId: Schema.String;
|
|
443
|
+
readonly baseCommit: Schema.String;
|
|
444
|
+
readonly headCommit: Schema.String;
|
|
445
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
446
|
+
readonly index: Schema.Int;
|
|
447
|
+
readonly status: Schema.Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
448
|
+
readonly path: Schema.String;
|
|
449
|
+
readonly previousPath: Schema.NullOr<Schema.String>;
|
|
450
|
+
readonly beforeMode: Schema.NullOr<Schema.String>;
|
|
451
|
+
readonly afterMode: Schema.NullOr<Schema.String>;
|
|
452
|
+
}>>;
|
|
453
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"diffContent", "GET", "/api/prs/:awsAccountId/:prId/diff/:fileIndex", Schema.toCodecStringTree<Schema.Struct<{
|
|
454
|
+
readonly awsAccountId: Schema.String;
|
|
455
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
456
|
+
readonly fileIndex: Schema.NumberFromString;
|
|
457
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
458
|
+
readonly revisionId: Schema.String;
|
|
459
|
+
readonly baseCommit: Schema.String;
|
|
460
|
+
readonly headCommit: Schema.String;
|
|
461
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
462
|
+
readonly fileIndex: Schema.Int;
|
|
463
|
+
readonly revisionId: Schema.String;
|
|
464
|
+
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
465
|
+
readonly before: Schema.NullOr<Schema.String>;
|
|
466
|
+
readonly after: Schema.NullOr<Schema.String>;
|
|
467
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/prs/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof PullRequest>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
468
|
+
readonly profile: Schema.String;
|
|
469
|
+
readonly link: Schema.String;
|
|
470
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"postRelayFinding", "POST", "/api/prs/:awsAccountId/:prId/relay-review/findings/:findingId/post", Schema.toCodecStringTree<Schema.Struct<{
|
|
471
|
+
readonly awsAccountId: Schema.String;
|
|
472
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
473
|
+
readonly findingId: Schema.String;
|
|
474
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
475
|
+
readonly revisionId: Schema.String;
|
|
476
|
+
readonly baseCommit: Schema.String;
|
|
477
|
+
readonly headCommit: Schema.String;
|
|
478
|
+
readonly finding: Schema.Struct<{
|
|
479
|
+
readonly id: Schema.String;
|
|
480
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
481
|
+
readonly title: Schema.String;
|
|
482
|
+
readonly summary: Schema.String;
|
|
483
|
+
readonly details: Schema.String;
|
|
484
|
+
readonly recommendation: Schema.String;
|
|
485
|
+
readonly verification: Schema.String;
|
|
486
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
487
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
488
|
+
readonly scope: Schema.Literal<"general">;
|
|
489
|
+
}>, Schema.Struct<{
|
|
490
|
+
readonly scope: Schema.Literal<"file">;
|
|
491
|
+
readonly filePath: Schema.String;
|
|
492
|
+
}>, Schema.Struct<{
|
|
493
|
+
readonly scope: Schema.Literal<"line">;
|
|
494
|
+
readonly filePath: Schema.String;
|
|
495
|
+
readonly line: Schema.Int;
|
|
496
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
497
|
+
}>]>;
|
|
498
|
+
}>;
|
|
499
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
500
|
+
readonly findingId: Schema.String;
|
|
501
|
+
readonly operationId: Schema.String;
|
|
502
|
+
readonly summary: Schema.String;
|
|
503
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"refresh", "POST", "/api/prs/refresh", never, never, never, never, Schema.toCodecJson<Schema.String>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
504
|
+
readonly awsAccountId: Schema.String;
|
|
505
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
506
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
507
|
+
readonly revisionId: Schema.String;
|
|
508
|
+
readonly headCommit: Schema.String;
|
|
509
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
510
|
+
readonly awsAccountId: Schema.String;
|
|
511
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
512
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
513
|
+
readonly revisionId: Schema.String;
|
|
514
|
+
readonly baseCommit: Schema.String;
|
|
515
|
+
readonly headCommit: Schema.String;
|
|
516
|
+
readonly profile: Schema.Struct<{
|
|
517
|
+
readonly id: Schema.String;
|
|
518
|
+
readonly name: Schema.String;
|
|
519
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
520
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
521
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
522
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
523
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
524
|
+
}>;
|
|
525
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
526
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
527
|
+
readonly revisionId: Schema.String;
|
|
528
|
+
readonly baseCommit: Schema.String;
|
|
529
|
+
readonly headCommit: Schema.String;
|
|
530
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
531
|
+
readonly profile: Schema.Struct<{
|
|
532
|
+
readonly id: Schema.String;
|
|
533
|
+
readonly name: Schema.String;
|
|
534
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
535
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
536
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
537
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
538
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
539
|
+
}>;
|
|
540
|
+
readonly result: Schema.Struct<{
|
|
541
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
542
|
+
readonly id: Schema.String;
|
|
543
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
544
|
+
readonly title: Schema.String;
|
|
545
|
+
readonly summary: Schema.String;
|
|
546
|
+
readonly details: Schema.String;
|
|
547
|
+
readonly recommendation: Schema.String;
|
|
548
|
+
readonly verification: Schema.String;
|
|
549
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
550
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
551
|
+
readonly scope: Schema.Literal<"general">;
|
|
552
|
+
}>, Schema.Struct<{
|
|
553
|
+
readonly scope: Schema.Literal<"file">;
|
|
554
|
+
readonly filePath: Schema.String;
|
|
555
|
+
}>, Schema.Struct<{
|
|
556
|
+
readonly scope: Schema.Literal<"line">;
|
|
557
|
+
readonly filePath: Schema.String;
|
|
558
|
+
readonly line: Schema.Int;
|
|
559
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
560
|
+
}>]>;
|
|
561
|
+
}>>;
|
|
562
|
+
readonly verdict: Schema.String;
|
|
563
|
+
readonly explanation: Schema.optional<Schema.String>;
|
|
564
|
+
}>;
|
|
565
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
566
|
+
readonly awsAccountId: Schema.String;
|
|
567
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
568
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
569
|
+
readonly revisionId: Schema.String;
|
|
570
|
+
readonly baseCommit: Schema.String;
|
|
571
|
+
readonly headCommit: Schema.String;
|
|
572
|
+
readonly profile: Schema.Struct<{
|
|
573
|
+
readonly id: Schema.String;
|
|
574
|
+
readonly name: Schema.String;
|
|
575
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
576
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
577
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
578
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
579
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
580
|
+
}>;
|
|
581
|
+
readonly currentReview: Schema.Struct<{
|
|
582
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
583
|
+
readonly id: Schema.String;
|
|
584
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
585
|
+
readonly title: Schema.String;
|
|
586
|
+
readonly summary: Schema.String;
|
|
587
|
+
readonly details: Schema.String;
|
|
588
|
+
readonly recommendation: Schema.String;
|
|
589
|
+
readonly verification: Schema.String;
|
|
590
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
591
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
592
|
+
readonly scope: Schema.Literal<"general">;
|
|
593
|
+
}>, Schema.Struct<{
|
|
594
|
+
readonly scope: Schema.Literal<"file">;
|
|
595
|
+
readonly filePath: Schema.String;
|
|
596
|
+
}>, Schema.Struct<{
|
|
597
|
+
readonly scope: Schema.Literal<"line">;
|
|
598
|
+
readonly filePath: Schema.String;
|
|
599
|
+
readonly line: Schema.Int;
|
|
600
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
601
|
+
}>]>;
|
|
602
|
+
}>>;
|
|
603
|
+
readonly verdict: Schema.String;
|
|
604
|
+
readonly explanation: Schema.optional<Schema.String>;
|
|
605
|
+
}>;
|
|
606
|
+
readonly turns: Schema.$Array<Schema.Struct<{
|
|
607
|
+
readonly findingId: Schema.String;
|
|
608
|
+
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
609
|
+
readonly message: Schema.String;
|
|
610
|
+
}>>;
|
|
611
|
+
readonly findingId: Schema.String;
|
|
612
|
+
readonly message: Schema.String;
|
|
613
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/stream", Schema.toCodecStringTree<Schema.Struct<{
|
|
614
|
+
readonly awsAccountId: Schema.String;
|
|
615
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
616
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
617
|
+
readonly revisionId: Schema.String;
|
|
618
|
+
readonly baseCommit: Schema.String;
|
|
619
|
+
readonly headCommit: Schema.String;
|
|
620
|
+
readonly profile: Schema.Struct<{
|
|
621
|
+
readonly id: Schema.String;
|
|
622
|
+
readonly name: Schema.String;
|
|
623
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
624
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
625
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
626
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
627
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
628
|
+
}>;
|
|
629
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
60
630
|
readonly q: Schema.String;
|
|
61
631
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
62
632
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
@@ -83,53 +653,31 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
83
653
|
}>>;
|
|
84
654
|
readonly total: Schema.Number;
|
|
85
655
|
readonly hasMore: Schema.Boolean;
|
|
86
|
-
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
87
|
-
readonly awsAccountId: Schema.String;
|
|
88
|
-
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
89
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
90
|
-
readonly repositoryName: Schema.String;
|
|
91
|
-
readonly title: Schema.String;
|
|
92
|
-
readonly description: Schema.optional<Schema.String>;
|
|
93
|
-
readonly sourceBranch: Schema.String;
|
|
94
|
-
readonly destinationBranch: Schema.String;
|
|
95
|
-
readonly account: typeof Account;
|
|
96
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
97
|
-
readonly profile: Schema.String;
|
|
98
|
-
readonly link: Schema.String;
|
|
99
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
100
|
-
readonly pullRequestId: Schema.String;
|
|
101
|
-
readonly repositoryName: Schema.String;
|
|
102
|
-
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
103
|
-
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
104
|
-
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
105
|
-
readonly filePath: Schema.optional<Schema.String>;
|
|
106
|
-
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
107
|
-
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
108
|
-
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
109
|
-
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
110
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"createApprovalRule", "POST", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
111
|
-
readonly pullRequestId: Schema.String;
|
|
112
|
-
readonly approvalRuleName: Schema.String;
|
|
113
|
-
readonly requiredApprovals: Schema.Number;
|
|
114
|
-
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
115
|
-
readonly account: typeof Account;
|
|
116
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateApprovalRule", "PUT", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
656
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateApprovalRule", "PUT", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
117
657
|
readonly pullRequestId: Schema.String;
|
|
118
658
|
readonly approvalRuleName: Schema.String;
|
|
119
659
|
readonly requiredApprovals: Schema.Number;
|
|
120
660
|
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
121
661
|
readonly account: typeof Account;
|
|
122
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"deleteApprovalRule", "DELETE", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
123
|
-
readonly pullRequestId: Schema.String;
|
|
124
|
-
readonly approvalRuleName: Schema.String;
|
|
125
|
-
readonly account: typeof Account;
|
|
126
662
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
127
663
|
export declare class PrsGroup extends PrsGroup_base {
|
|
128
664
|
}
|
|
129
665
|
declare const EventsGroup_base: HttpApiGroup.HttpApiGroup<"events", HttpApiEndpoint.HttpApiEndpoint<"stream", "GET", "/api/events/", never, never, never, never, Schema.toCodecJson<Schema.String>, never, never, never>, false>;
|
|
130
666
|
export declare class EventsGroup extends EventsGroup_base {
|
|
131
667
|
}
|
|
132
|
-
declare const
|
|
668
|
+
export declare const ReviewSkillResponse: Schema.Struct<{
|
|
669
|
+
readonly id: Schema.String;
|
|
670
|
+
readonly name: Schema.String;
|
|
671
|
+
readonly description: Schema.String;
|
|
672
|
+
readonly source: Schema.String;
|
|
673
|
+
}>;
|
|
674
|
+
export type ReviewSkillResponse = typeof ReviewSkillResponse.Type;
|
|
675
|
+
declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"database", "GET", "/api/config/database", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
676
|
+
readonly path: Schema.String;
|
|
677
|
+
readonly sizeBytes: Schema.Number;
|
|
678
|
+
readonly exists: Schema.Boolean;
|
|
679
|
+
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
680
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/config/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
133
681
|
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
134
682
|
readonly profile: Schema.String;
|
|
135
683
|
readonly regions: Schema.$Array<Schema.String>;
|
|
@@ -139,6 +687,18 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
139
687
|
readonly autoRefresh: Schema.Boolean;
|
|
140
688
|
readonly refreshIntervalSeconds: Schema.Number;
|
|
141
689
|
readonly currentUser: Schema.optional<Schema.String>;
|
|
690
|
+
readonly review: Schema.Struct<{
|
|
691
|
+
readonly defaultProfileId: Schema.String;
|
|
692
|
+
readonly profiles: Schema.$Array<Schema.Struct<{
|
|
693
|
+
readonly id: Schema.String;
|
|
694
|
+
readonly name: Schema.String;
|
|
695
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
696
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
697
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
698
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
699
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
700
|
+
}>>;
|
|
701
|
+
}>;
|
|
142
702
|
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
143
703
|
readonly image: Schema.String;
|
|
144
704
|
readonly extensions: Schema.$Array<Schema.String>;
|
|
@@ -155,37 +715,7 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
155
715
|
readonly path: Schema.String;
|
|
156
716
|
readonly exists: Schema.Boolean;
|
|
157
717
|
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
158
|
-
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
159
|
-
readonly path: Schema.String;
|
|
160
|
-
readonly sizeBytes: Schema.Number;
|
|
161
|
-
readonly exists: Schema.Boolean;
|
|
162
|
-
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
163
|
-
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"validate", "GET", "/api/config/validate", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
164
|
-
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
165
|
-
readonly path: Schema.String;
|
|
166
|
-
readonly errors: Schema.$Array<Schema.String>;
|
|
167
|
-
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
168
|
-
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
169
|
-
readonly profile: Schema.String;
|
|
170
|
-
readonly regions: Schema.$Array<Schema.String>;
|
|
171
|
-
readonly enabled: Schema.Boolean;
|
|
172
|
-
}>>;
|
|
173
|
-
readonly autoDetect: Schema.Boolean;
|
|
174
|
-
readonly autoRefresh: Schema.Boolean;
|
|
175
|
-
readonly refreshIntervalSeconds: Schema.Number;
|
|
176
|
-
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
177
|
-
readonly image: Schema.String;
|
|
178
|
-
readonly extensions: Schema.$Array<Schema.String>;
|
|
179
|
-
readonly setupCommands: Schema.$Array<Schema.String>;
|
|
180
|
-
readonly env: Schema.$Record<Schema.String, Schema.String>;
|
|
181
|
-
readonly volumeMounts: Schema.$Array<Schema.Struct<{
|
|
182
|
-
readonly hostPath: Schema.String;
|
|
183
|
-
readonly containerPath: Schema.String;
|
|
184
|
-
readonly readonly: Schema.Boolean;
|
|
185
|
-
}>>;
|
|
186
|
-
readonly cloneDepth: Schema.Number;
|
|
187
|
-
}>>;
|
|
188
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/config/reset", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
718
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/config/reset", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
189
719
|
readonly backupPath: Schema.optional<Schema.String>;
|
|
190
720
|
readonly config: Schema.Struct<{
|
|
191
721
|
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
@@ -197,6 +727,18 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
197
727
|
readonly autoRefresh: Schema.Boolean;
|
|
198
728
|
readonly refreshIntervalSeconds: Schema.Number;
|
|
199
729
|
readonly currentUser: Schema.optional<Schema.String>;
|
|
730
|
+
readonly review: Schema.Struct<{
|
|
731
|
+
readonly defaultProfileId: Schema.String;
|
|
732
|
+
readonly profiles: Schema.$Array<Schema.Struct<{
|
|
733
|
+
readonly id: Schema.String;
|
|
734
|
+
readonly name: Schema.String;
|
|
735
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
736
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
737
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
738
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
739
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
740
|
+
}>>;
|
|
741
|
+
}>;
|
|
200
742
|
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
201
743
|
readonly image: Schema.String;
|
|
202
744
|
readonly extensions: Schema.$Array<Schema.String>;
|
|
@@ -210,25 +752,70 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
210
752
|
readonly cloneDepth: Schema.Number;
|
|
211
753
|
}>>;
|
|
212
754
|
}>;
|
|
755
|
+
readonly refreshStatus: Schema.Literals<readonly ["refreshed", "failed"]>;
|
|
756
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
757
|
+
readonly id: Schema.String;
|
|
758
|
+
readonly name: Schema.String;
|
|
759
|
+
readonly description: Schema.String;
|
|
760
|
+
readonly source: Schema.String;
|
|
761
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
762
|
+
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
763
|
+
readonly profile: Schema.String;
|
|
764
|
+
readonly regions: Schema.$Array<Schema.String>;
|
|
765
|
+
readonly enabled: Schema.Boolean;
|
|
766
|
+
}>>;
|
|
767
|
+
readonly autoDetect: Schema.Boolean;
|
|
768
|
+
readonly autoRefresh: Schema.Boolean;
|
|
769
|
+
readonly refreshIntervalSeconds: Schema.Number;
|
|
770
|
+
readonly review: Schema.optional<Schema.Struct<{
|
|
771
|
+
readonly defaultProfileId: Schema.String;
|
|
772
|
+
readonly profiles: Schema.$Array<Schema.Struct<{
|
|
773
|
+
readonly id: Schema.String;
|
|
774
|
+
readonly name: Schema.String;
|
|
775
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
776
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
777
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
778
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
779
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
780
|
+
}>>;
|
|
781
|
+
}>>;
|
|
782
|
+
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
783
|
+
readonly image: Schema.String;
|
|
784
|
+
readonly extensions: Schema.$Array<Schema.String>;
|
|
785
|
+
readonly setupCommands: Schema.$Array<Schema.String>;
|
|
786
|
+
readonly env: Schema.$Record<Schema.String, Schema.String>;
|
|
787
|
+
readonly volumeMounts: Schema.$Array<Schema.Struct<{
|
|
788
|
+
readonly hostPath: Schema.String;
|
|
789
|
+
readonly containerPath: Schema.String;
|
|
790
|
+
readonly readonly: Schema.Boolean;
|
|
791
|
+
}>>;
|
|
792
|
+
readonly cloneDepth: Schema.Number;
|
|
793
|
+
}>>;
|
|
794
|
+
}>>, never, Schema.toCodecJson<Schema.Literals<readonly ["saved", "saved-refresh-failed"]>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"validate", "GET", "/api/config/validate", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
795
|
+
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
796
|
+
readonly path: Schema.String;
|
|
797
|
+
readonly errors: Schema.$Array<Schema.String>;
|
|
213
798
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
214
799
|
export declare class ConfigGroup extends ConfigGroup_base {
|
|
215
800
|
}
|
|
216
801
|
declare const AccountsGroup_base: HttpApiGroup.HttpApiGroup<"accounts", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/accounts/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof Account>>, never, never, never>, false>;
|
|
217
802
|
export declare class AccountsGroup extends AccountsGroup_base {
|
|
218
803
|
}
|
|
219
|
-
declare const SubscriptionsGroup_base: HttpApiGroup.HttpApiGroup<"subscriptions", HttpApiEndpoint.HttpApiEndpoint<"
|
|
804
|
+
declare const SubscriptionsGroup_base: HttpApiGroup.HttpApiGroup<"subscriptions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/subscriptions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
805
|
+
readonly awsAccountId: Schema.String;
|
|
806
|
+
readonly pullRequestId: Schema.String;
|
|
807
|
+
}>>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
220
808
|
readonly awsAccountId: Schema.String;
|
|
221
809
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
222
810
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
223
811
|
readonly awsAccountId: Schema.String;
|
|
224
812
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
225
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never
|
|
226
|
-
readonly awsAccountId: Schema.String;
|
|
227
|
-
readonly pullRequestId: Schema.String;
|
|
228
|
-
}>>>, never, never, never>, false>;
|
|
813
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
229
814
|
export declare class SubscriptionsGroup extends SubscriptionsGroup_base {
|
|
230
815
|
}
|
|
231
|
-
declare const NotificationsGroup_base: HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"
|
|
816
|
+
declare const NotificationsGroup_base: HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
817
|
+
readonly unread: Schema.Number;
|
|
818
|
+
}>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
232
819
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
233
820
|
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
234
821
|
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
@@ -246,13 +833,11 @@ declare const NotificationsGroup_base: HttpApiGroup.HttpApiGroup<"notifications"
|
|
|
246
833
|
readonly read: Schema.Number;
|
|
247
834
|
}>>;
|
|
248
835
|
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
249
|
-
}>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
250
|
-
readonly unread: Schema.Number;
|
|
251
|
-
}>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/notifications/read", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
836
|
+
}>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"markAllRead", "POST", "/api/notifications/read-all", never, never, never, never, Schema.toCodecJson<Schema.String>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/notifications/read", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
252
837
|
readonly id: Schema.Number;
|
|
253
838
|
}>>, never, Schema.toCodecJson<Schema.String>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"markUnread", "POST", "/api/notifications/unread", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
254
839
|
readonly id: Schema.Number;
|
|
255
|
-
}>>, never, Schema.toCodecJson<Schema.String>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
840
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogin", "POST", "/api/notifications/sso-login", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
256
841
|
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
257
842
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogout", "POST", "/api/notifications/sso-logout", never, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
258
843
|
export declare class NotificationsGroup extends NotificationsGroup_base {
|
|
@@ -272,6 +857,9 @@ export declare const SandboxResponse: Schema.Struct<{
|
|
|
272
857
|
readonly createdAt: Schema.String;
|
|
273
858
|
readonly lastActivityAt: Schema.String;
|
|
274
859
|
}>;
|
|
860
|
+
export declare const SandboxCredentialsResponse: Schema.Struct<{
|
|
861
|
+
readonly password: Schema.String;
|
|
862
|
+
}>;
|
|
275
863
|
declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
276
864
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
277
865
|
readonly awsAccountId: Schema.String;
|
|
@@ -293,7 +881,15 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
293
881
|
readonly error: Schema.NullOr<Schema.String>;
|
|
294
882
|
readonly createdAt: Schema.String;
|
|
295
883
|
readonly lastActivityAt: Schema.String;
|
|
296
|
-
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
884
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
885
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
886
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
887
|
+
readonly password: Schema.String;
|
|
888
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
889
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
890
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
891
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
892
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
297
893
|
readonly id: Schema.String;
|
|
298
894
|
readonly pullRequestId: Schema.String;
|
|
299
895
|
readonly awsAccountId: Schema.String;
|
|
@@ -307,9 +903,7 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
307
903
|
readonly error: Schema.NullOr<Schema.String>;
|
|
308
904
|
readonly createdAt: Schema.String;
|
|
309
905
|
readonly lastActivityAt: Schema.String;
|
|
310
|
-
}
|
|
311
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
312
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
906
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
313
907
|
readonly id: Schema.String;
|
|
314
908
|
readonly pullRequestId: Schema.String;
|
|
315
909
|
readonly awsAccountId: Schema.String;
|
|
@@ -323,11 +917,9 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
323
917
|
readonly error: Schema.NullOr<Schema.String>;
|
|
324
918
|
readonly createdAt: Schema.String;
|
|
325
919
|
readonly lastActivityAt: Schema.String;
|
|
326
|
-
}
|
|
327
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
328
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
920
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
329
921
|
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
330
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
922
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"stop", "POST", "/api/sandbox/:sandboxId/stop", Schema.toCodecStringTree<Schema.Struct<{
|
|
331
923
|
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
332
924
|
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
333
925
|
export declare class SandboxGroup extends SandboxGroup_base {
|
|
@@ -448,39 +1040,53 @@ export declare const AuditLogEntryResponse: Schema.Struct<{
|
|
|
448
1040
|
readonly context: Schema.String;
|
|
449
1041
|
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
450
1042
|
}>;
|
|
451
|
-
declare const PermissionsGroup_base: HttpApiGroup.HttpApiGroup<"permissions", HttpApiEndpoint.HttpApiEndpoint<"
|
|
452
|
-
readonly
|
|
453
|
-
readonly
|
|
454
|
-
}>>, never,
|
|
1043
|
+
declare const PermissionsGroup_base: HttpApiGroup.HttpApiGroup<"permissions", HttpApiEndpoint.HttpApiEndpoint<"auditSettings", "GET", "/api/permissions/audit", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1044
|
+
readonly enabled: Schema.Boolean;
|
|
1045
|
+
readonly retentionDays: Schema.Number;
|
|
1046
|
+
}>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
455
1047
|
readonly operation: Schema.String;
|
|
456
1048
|
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
457
1049
|
readonly category: Schema.Literals<readonly ["read", "write"]>;
|
|
458
1050
|
readonly description: Schema.String;
|
|
459
|
-
}>>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1051
|
+
}>>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/permissions/reset", never, never, never, never, Schema.toCodecJson<Schema.String>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"respond", "POST", "/api/permissions/respond", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1052
|
+
readonly id: Schema.String;
|
|
1053
|
+
readonly response: Schema.Literals<readonly ["allow_once", "always_allow", "deny"]>;
|
|
1054
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
460
1055
|
readonly operation: Schema.String;
|
|
461
1056
|
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
462
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
463
|
-
readonly enabled: Schema.Boolean;
|
|
464
|
-
readonly retentionDays: Schema.Number;
|
|
465
|
-
}>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1057
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
466
1058
|
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
467
1059
|
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
468
1060
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
469
1061
|
export declare class PermissionsGroup extends PermissionsGroup_base {
|
|
470
1062
|
}
|
|
471
|
-
declare const AuditGroup_base: HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoint.HttpApiEndpoint<"
|
|
472
|
-
readonly
|
|
473
|
-
|
|
474
|
-
readonly operation: Schema.optional<Schema.String>;
|
|
475
|
-
readonly accountProfile: Schema.optional<Schema.String>;
|
|
476
|
-
readonly permissionState: Schema.optional<Schema.String>;
|
|
1063
|
+
declare const AuditGroup_base: HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoint.HttpApiEndpoint<"clear", "DELETE", "/api/audit/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1064
|
+
readonly deleted: Schema.Number;
|
|
1065
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"export", "GET", "/api/audit/export", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
477
1066
|
readonly from: Schema.optional<Schema.String>;
|
|
478
1067
|
readonly to: Schema.optional<Schema.String>;
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
readonly
|
|
482
|
-
|
|
483
|
-
|
|
1068
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1069
|
+
readonly id: Schema.Number;
|
|
1070
|
+
readonly timestamp: Schema.String;
|
|
1071
|
+
readonly operation: Schema.String;
|
|
1072
|
+
readonly accountProfile: Schema.String;
|
|
1073
|
+
readonly region: Schema.String;
|
|
1074
|
+
readonly permissionState: Schema.String;
|
|
1075
|
+
readonly context: Schema.String;
|
|
1076
|
+
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
1077
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/audit/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1078
|
+
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1079
|
+
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
1080
|
+
readonly operation: Schema.optional<Schema.String>;
|
|
1081
|
+
readonly accountProfile: Schema.optional<Schema.String>;
|
|
1082
|
+
readonly permissionState: Schema.optional<Schema.String>;
|
|
1083
|
+
readonly from: Schema.optional<Schema.String>;
|
|
1084
|
+
readonly to: Schema.optional<Schema.String>;
|
|
1085
|
+
readonly search: Schema.optional<Schema.String>;
|
|
1086
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1087
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1088
|
+
readonly id: Schema.Number;
|
|
1089
|
+
readonly timestamp: Schema.String;
|
|
484
1090
|
readonly operation: Schema.String;
|
|
485
1091
|
readonly accountProfile: Schema.String;
|
|
486
1092
|
readonly region: Schema.String;
|
|
@@ -490,7 +1096,34 @@ declare const AuditGroup_base: HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoin
|
|
|
490
1096
|
}>>;
|
|
491
1097
|
readonly total: Schema.Number;
|
|
492
1098
|
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
493
|
-
}>>, Schema.toCodecJson<typeof ApiError>, never, never
|
|
1099
|
+
}>>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
1100
|
+
export declare class AuditGroup extends AuditGroup_base {
|
|
1101
|
+
}
|
|
1102
|
+
declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.HttpApiGroup<"accounts", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/accounts/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof Account>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoint.HttpApiEndpoint<"clear", "DELETE", "/api/audit/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1103
|
+
readonly deleted: Schema.Number;
|
|
1104
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/audit/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1105
|
+
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1106
|
+
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
1107
|
+
readonly operation: Schema.optional<Schema.String>;
|
|
1108
|
+
readonly accountProfile: Schema.optional<Schema.String>;
|
|
1109
|
+
readonly permissionState: Schema.optional<Schema.String>;
|
|
1110
|
+
readonly from: Schema.optional<Schema.String>;
|
|
1111
|
+
readonly to: Schema.optional<Schema.String>;
|
|
1112
|
+
readonly search: Schema.optional<Schema.String>;
|
|
1113
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1114
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1115
|
+
readonly id: Schema.Number;
|
|
1116
|
+
readonly timestamp: Schema.String;
|
|
1117
|
+
readonly operation: Schema.String;
|
|
1118
|
+
readonly accountProfile: Schema.String;
|
|
1119
|
+
readonly region: Schema.String;
|
|
1120
|
+
readonly permissionState: Schema.String;
|
|
1121
|
+
readonly context: Schema.String;
|
|
1122
|
+
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
1123
|
+
}>>;
|
|
1124
|
+
readonly total: Schema.Number;
|
|
1125
|
+
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1126
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"export", "GET", "/api/audit/export", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
494
1127
|
readonly from: Schema.optional<Schema.String>;
|
|
495
1128
|
readonly to: Schema.optional<Schema.String>;
|
|
496
1129
|
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
@@ -502,12 +1135,598 @@ declare const AuditGroup_base: HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoin
|
|
|
502
1135
|
readonly permissionState: Schema.String;
|
|
503
1136
|
readonly context: Schema.String;
|
|
504
1137
|
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
505
|
-
}>>>, Schema.toCodecJson<typeof ApiError>,
|
|
506
|
-
readonly
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
1138
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/config/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1139
|
+
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1140
|
+
readonly profile: Schema.String;
|
|
1141
|
+
readonly regions: Schema.$Array<Schema.String>;
|
|
1142
|
+
readonly enabled: Schema.Boolean;
|
|
1143
|
+
}>>;
|
|
1144
|
+
readonly autoDetect: Schema.Boolean;
|
|
1145
|
+
readonly autoRefresh: Schema.Boolean;
|
|
1146
|
+
readonly refreshIntervalSeconds: Schema.Number;
|
|
1147
|
+
readonly currentUser: Schema.optional<Schema.String>;
|
|
1148
|
+
readonly review: Schema.Struct<{
|
|
1149
|
+
readonly defaultProfileId: Schema.String;
|
|
1150
|
+
readonly profiles: Schema.$Array<Schema.Struct<{
|
|
1151
|
+
readonly id: Schema.String;
|
|
1152
|
+
readonly name: Schema.String;
|
|
1153
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1154
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1155
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1156
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1157
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1158
|
+
}>>;
|
|
1159
|
+
}>;
|
|
1160
|
+
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
1161
|
+
readonly image: Schema.String;
|
|
1162
|
+
readonly extensions: Schema.$Array<Schema.String>;
|
|
1163
|
+
readonly setupCommands: Schema.$Array<Schema.String>;
|
|
1164
|
+
readonly env: Schema.$Record<Schema.String, Schema.String>;
|
|
1165
|
+
readonly volumeMounts: Schema.$Array<Schema.Struct<{
|
|
1166
|
+
readonly hostPath: Schema.String;
|
|
1167
|
+
readonly containerPath: Schema.String;
|
|
1168
|
+
readonly readonly: Schema.Boolean;
|
|
1169
|
+
}>>;
|
|
1170
|
+
readonly cloneDepth: Schema.Number;
|
|
1171
|
+
}>>;
|
|
1172
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"database", "GET", "/api/config/database", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1173
|
+
readonly path: Schema.String;
|
|
1174
|
+
readonly sizeBytes: Schema.Number;
|
|
1175
|
+
readonly exists: Schema.Boolean;
|
|
1176
|
+
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1177
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"path", "GET", "/api/config/path", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1178
|
+
readonly path: Schema.String;
|
|
1179
|
+
readonly exists: Schema.Boolean;
|
|
1180
|
+
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1181
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/config/reset", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1182
|
+
readonly backupPath: Schema.optional<Schema.String>;
|
|
1183
|
+
readonly config: Schema.Struct<{
|
|
1184
|
+
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1185
|
+
readonly profile: Schema.String;
|
|
1186
|
+
readonly regions: Schema.$Array<Schema.String>;
|
|
1187
|
+
readonly enabled: Schema.Boolean;
|
|
1188
|
+
}>>;
|
|
1189
|
+
readonly autoDetect: Schema.Boolean;
|
|
1190
|
+
readonly autoRefresh: Schema.Boolean;
|
|
1191
|
+
readonly refreshIntervalSeconds: Schema.Number;
|
|
1192
|
+
readonly currentUser: Schema.optional<Schema.String>;
|
|
1193
|
+
readonly review: Schema.Struct<{
|
|
1194
|
+
readonly defaultProfileId: Schema.String;
|
|
1195
|
+
readonly profiles: Schema.$Array<Schema.Struct<{
|
|
1196
|
+
readonly id: Schema.String;
|
|
1197
|
+
readonly name: Schema.String;
|
|
1198
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1199
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1200
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1201
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1202
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1203
|
+
}>>;
|
|
1204
|
+
}>;
|
|
1205
|
+
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
1206
|
+
readonly image: Schema.String;
|
|
1207
|
+
readonly extensions: Schema.$Array<Schema.String>;
|
|
1208
|
+
readonly setupCommands: Schema.$Array<Schema.String>;
|
|
1209
|
+
readonly env: Schema.$Record<Schema.String, Schema.String>;
|
|
1210
|
+
readonly volumeMounts: Schema.$Array<Schema.Struct<{
|
|
1211
|
+
readonly hostPath: Schema.String;
|
|
1212
|
+
readonly containerPath: Schema.String;
|
|
1213
|
+
readonly readonly: Schema.Boolean;
|
|
1214
|
+
}>>;
|
|
1215
|
+
readonly cloneDepth: Schema.Number;
|
|
1216
|
+
}>>;
|
|
1217
|
+
}>;
|
|
1218
|
+
readonly refreshStatus: Schema.Literals<readonly ["refreshed", "failed"]>;
|
|
1219
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1220
|
+
readonly id: Schema.String;
|
|
1221
|
+
readonly name: Schema.String;
|
|
1222
|
+
readonly description: Schema.String;
|
|
1223
|
+
readonly source: Schema.String;
|
|
1224
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1225
|
+
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1226
|
+
readonly profile: Schema.String;
|
|
1227
|
+
readonly regions: Schema.$Array<Schema.String>;
|
|
1228
|
+
readonly enabled: Schema.Boolean;
|
|
1229
|
+
}>>;
|
|
1230
|
+
readonly autoDetect: Schema.Boolean;
|
|
1231
|
+
readonly autoRefresh: Schema.Boolean;
|
|
1232
|
+
readonly refreshIntervalSeconds: Schema.Number;
|
|
1233
|
+
readonly review: Schema.optional<Schema.Struct<{
|
|
1234
|
+
readonly defaultProfileId: Schema.String;
|
|
1235
|
+
readonly profiles: Schema.$Array<Schema.Struct<{
|
|
1236
|
+
readonly id: Schema.String;
|
|
1237
|
+
readonly name: Schema.String;
|
|
1238
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1239
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1240
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1241
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1242
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1243
|
+
}>>;
|
|
1244
|
+
}>>;
|
|
1245
|
+
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
1246
|
+
readonly image: Schema.String;
|
|
1247
|
+
readonly extensions: Schema.$Array<Schema.String>;
|
|
1248
|
+
readonly setupCommands: Schema.$Array<Schema.String>;
|
|
1249
|
+
readonly env: Schema.$Record<Schema.String, Schema.String>;
|
|
1250
|
+
readonly volumeMounts: Schema.$Array<Schema.Struct<{
|
|
1251
|
+
readonly hostPath: Schema.String;
|
|
1252
|
+
readonly containerPath: Schema.String;
|
|
1253
|
+
readonly readonly: Schema.Boolean;
|
|
1254
|
+
}>>;
|
|
1255
|
+
readonly cloneDepth: Schema.Number;
|
|
1256
|
+
}>>;
|
|
1257
|
+
}>>, never, Schema.toCodecJson<Schema.Literals<readonly ["saved", "saved-refresh-failed"]>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"validate", "GET", "/api/config/validate", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1258
|
+
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
1259
|
+
readonly path: Schema.String;
|
|
1260
|
+
readonly errors: Schema.$Array<Schema.String>;
|
|
1261
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"events", HttpApiEndpoint.HttpApiEndpoint<"stream", "GET", "/api/events/", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1262
|
+
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1263
|
+
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1264
|
+
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
1265
|
+
readonly unreadOnly: Schema.optional<Schema.NumberFromString>;
|
|
1266
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1267
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1268
|
+
readonly id: Schema.Number;
|
|
1269
|
+
readonly pullRequestId: Schema.String;
|
|
1270
|
+
readonly awsAccountId: Schema.String;
|
|
1271
|
+
readonly type: Schema.String;
|
|
1272
|
+
readonly title: Schema.String;
|
|
1273
|
+
readonly profile: Schema.String;
|
|
1274
|
+
readonly message: Schema.String;
|
|
1275
|
+
readonly createdAt: Schema.String;
|
|
1276
|
+
readonly read: Schema.Number;
|
|
1277
|
+
}>>;
|
|
1278
|
+
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1279
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1280
|
+
readonly unread: Schema.Number;
|
|
1281
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/notifications/read", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1282
|
+
readonly id: Schema.Number;
|
|
1283
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markAllRead", "POST", "/api/notifications/read-all", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogin", "POST", "/api/notifications/sso-login", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1284
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1285
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogout", "POST", "/api/notifications/sso-logout", never, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markUnread", "POST", "/api/notifications/unread", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1286
|
+
readonly id: Schema.Number;
|
|
1287
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"permissions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1288
|
+
readonly operation: Schema.String;
|
|
1289
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1290
|
+
readonly category: Schema.Literals<readonly ["read", "write"]>;
|
|
1291
|
+
readonly description: Schema.String;
|
|
1292
|
+
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"auditSettings", "GET", "/api/permissions/audit", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1293
|
+
readonly enabled: Schema.Boolean;
|
|
1294
|
+
readonly retentionDays: Schema.Number;
|
|
1295
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1296
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
1297
|
+
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
1298
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/permissions/reset", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"respond", "POST", "/api/permissions/respond", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1299
|
+
readonly id: Schema.String;
|
|
1300
|
+
readonly response: Schema.Literals<readonly ["allow_once", "always_allow", "deny"]>;
|
|
1301
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1302
|
+
readonly operation: Schema.String;
|
|
1303
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1304
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/prs/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof PullRequest>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1305
|
+
readonly repositoryName: Schema.String;
|
|
1306
|
+
readonly title: Schema.String;
|
|
1307
|
+
readonly description: Schema.optional<Schema.String>;
|
|
1308
|
+
readonly sourceBranch: Schema.String;
|
|
1309
|
+
readonly destinationBranch: Schema.String;
|
|
1310
|
+
readonly account: typeof Account;
|
|
1311
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1312
|
+
readonly awsAccountId: Schema.String;
|
|
1313
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1314
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1315
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1316
|
+
readonly revisionId: Schema.String;
|
|
1317
|
+
readonly baseCommit: Schema.String;
|
|
1318
|
+
readonly headCommit: Schema.String;
|
|
1319
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
1320
|
+
readonly index: Schema.Int;
|
|
1321
|
+
readonly status: Schema.Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
1322
|
+
readonly path: Schema.String;
|
|
1323
|
+
readonly previousPath: Schema.NullOr<Schema.String>;
|
|
1324
|
+
readonly beforeMode: Schema.NullOr<Schema.String>;
|
|
1325
|
+
readonly afterMode: Schema.NullOr<Schema.String>;
|
|
1326
|
+
}>>;
|
|
1327
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diffContent", "GET", "/api/prs/:awsAccountId/:prId/diff/:fileIndex", Schema.toCodecStringTree<Schema.Struct<{
|
|
1328
|
+
readonly awsAccountId: Schema.String;
|
|
1329
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1330
|
+
readonly fileIndex: Schema.NumberFromString;
|
|
1331
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1332
|
+
readonly revisionId: Schema.String;
|
|
1333
|
+
readonly baseCommit: Schema.String;
|
|
1334
|
+
readonly headCommit: Schema.String;
|
|
1335
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1336
|
+
readonly fileIndex: Schema.Int;
|
|
1337
|
+
readonly revisionId: Schema.String;
|
|
1338
|
+
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
1339
|
+
readonly before: Schema.NullOr<Schema.String>;
|
|
1340
|
+
readonly after: Schema.NullOr<Schema.String>;
|
|
1341
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
1342
|
+
readonly awsAccountId: Schema.String;
|
|
1343
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1344
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1345
|
+
readonly revisionId: Schema.String;
|
|
1346
|
+
readonly headCommit: Schema.String;
|
|
1347
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
1348
|
+
readonly awsAccountId: Schema.String;
|
|
1349
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1350
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1351
|
+
readonly revisionId: Schema.String;
|
|
1352
|
+
readonly baseCommit: Schema.String;
|
|
1353
|
+
readonly headCommit: Schema.String;
|
|
1354
|
+
readonly profile: Schema.Struct<{
|
|
1355
|
+
readonly id: Schema.String;
|
|
1356
|
+
readonly name: Schema.String;
|
|
1357
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1358
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1359
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1360
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1361
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1362
|
+
}>;
|
|
1363
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1364
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1365
|
+
readonly revisionId: Schema.String;
|
|
1366
|
+
readonly baseCommit: Schema.String;
|
|
1367
|
+
readonly headCommit: Schema.String;
|
|
1368
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1369
|
+
readonly profile: Schema.Struct<{
|
|
1370
|
+
readonly id: Schema.String;
|
|
1371
|
+
readonly name: Schema.String;
|
|
1372
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1373
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1374
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1375
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1376
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1377
|
+
}>;
|
|
1378
|
+
readonly result: Schema.Struct<{
|
|
1379
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1380
|
+
readonly id: Schema.String;
|
|
1381
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
1382
|
+
readonly title: Schema.String;
|
|
1383
|
+
readonly summary: Schema.String;
|
|
1384
|
+
readonly details: Schema.String;
|
|
1385
|
+
readonly recommendation: Schema.String;
|
|
1386
|
+
readonly verification: Schema.String;
|
|
1387
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1388
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1389
|
+
readonly scope: Schema.Literal<"general">;
|
|
1390
|
+
}>, Schema.Struct<{
|
|
1391
|
+
readonly scope: Schema.Literal<"file">;
|
|
1392
|
+
readonly filePath: Schema.String;
|
|
1393
|
+
}>, Schema.Struct<{
|
|
1394
|
+
readonly scope: Schema.Literal<"line">;
|
|
1395
|
+
readonly filePath: Schema.String;
|
|
1396
|
+
readonly line: Schema.Int;
|
|
1397
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1398
|
+
}>]>;
|
|
1399
|
+
}>>;
|
|
1400
|
+
readonly verdict: Schema.String;
|
|
1401
|
+
readonly explanation: Schema.optional<Schema.String>;
|
|
1402
|
+
}>;
|
|
1403
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
1404
|
+
readonly awsAccountId: Schema.String;
|
|
1405
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1406
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1407
|
+
readonly revisionId: Schema.String;
|
|
1408
|
+
readonly baseCommit: Schema.String;
|
|
1409
|
+
readonly headCommit: Schema.String;
|
|
1410
|
+
readonly profile: Schema.Struct<{
|
|
1411
|
+
readonly id: Schema.String;
|
|
1412
|
+
readonly name: Schema.String;
|
|
1413
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1414
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1415
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1416
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1417
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1418
|
+
}>;
|
|
1419
|
+
readonly currentReview: Schema.Struct<{
|
|
1420
|
+
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1421
|
+
readonly id: Schema.String;
|
|
1422
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
1423
|
+
readonly title: Schema.String;
|
|
1424
|
+
readonly summary: Schema.String;
|
|
1425
|
+
readonly details: Schema.String;
|
|
1426
|
+
readonly recommendation: Schema.String;
|
|
1427
|
+
readonly verification: Schema.String;
|
|
1428
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1429
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1430
|
+
readonly scope: Schema.Literal<"general">;
|
|
1431
|
+
}>, Schema.Struct<{
|
|
1432
|
+
readonly scope: Schema.Literal<"file">;
|
|
1433
|
+
readonly filePath: Schema.String;
|
|
1434
|
+
}>, Schema.Struct<{
|
|
1435
|
+
readonly scope: Schema.Literal<"line">;
|
|
1436
|
+
readonly filePath: Schema.String;
|
|
1437
|
+
readonly line: Schema.Int;
|
|
1438
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1439
|
+
}>]>;
|
|
1440
|
+
}>>;
|
|
1441
|
+
readonly verdict: Schema.String;
|
|
1442
|
+
readonly explanation: Schema.optional<Schema.String>;
|
|
1443
|
+
}>;
|
|
1444
|
+
readonly turns: Schema.$Array<Schema.Struct<{
|
|
1445
|
+
readonly findingId: Schema.String;
|
|
1446
|
+
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
1447
|
+
readonly message: Schema.String;
|
|
1448
|
+
}>>;
|
|
1449
|
+
readonly findingId: Schema.String;
|
|
1450
|
+
readonly message: Schema.String;
|
|
1451
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"postRelayFinding", "POST", "/api/prs/:awsAccountId/:prId/relay-review/findings/:findingId/post", Schema.toCodecStringTree<Schema.Struct<{
|
|
1452
|
+
readonly awsAccountId: Schema.String;
|
|
1453
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1454
|
+
readonly findingId: Schema.String;
|
|
1455
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1456
|
+
readonly revisionId: Schema.String;
|
|
1457
|
+
readonly baseCommit: Schema.String;
|
|
1458
|
+
readonly headCommit: Schema.String;
|
|
1459
|
+
readonly finding: Schema.Struct<{
|
|
1460
|
+
readonly id: Schema.String;
|
|
1461
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
1462
|
+
readonly title: Schema.String;
|
|
1463
|
+
readonly summary: Schema.String;
|
|
1464
|
+
readonly details: Schema.String;
|
|
1465
|
+
readonly recommendation: Schema.String;
|
|
1466
|
+
readonly verification: Schema.String;
|
|
1467
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1468
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1469
|
+
readonly scope: Schema.Literal<"general">;
|
|
1470
|
+
}>, Schema.Struct<{
|
|
1471
|
+
readonly scope: Schema.Literal<"file">;
|
|
1472
|
+
readonly filePath: Schema.String;
|
|
1473
|
+
}>, Schema.Struct<{
|
|
1474
|
+
readonly scope: Schema.Literal<"line">;
|
|
1475
|
+
readonly filePath: Schema.String;
|
|
1476
|
+
readonly line: Schema.Int;
|
|
1477
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1478
|
+
}>]>;
|
|
1479
|
+
}>;
|
|
1480
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1481
|
+
readonly findingId: Schema.String;
|
|
1482
|
+
readonly operationId: Schema.String;
|
|
1483
|
+
readonly summary: Schema.String;
|
|
1484
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/stream", Schema.toCodecStringTree<Schema.Struct<{
|
|
1485
|
+
readonly awsAccountId: Schema.String;
|
|
1486
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1487
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1488
|
+
readonly revisionId: Schema.String;
|
|
1489
|
+
readonly baseCommit: Schema.String;
|
|
1490
|
+
readonly headCommit: Schema.String;
|
|
1491
|
+
readonly profile: Schema.Struct<{
|
|
1492
|
+
readonly id: Schema.String;
|
|
1493
|
+
readonly name: Schema.String;
|
|
1494
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1495
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1496
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1497
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1498
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1499
|
+
}>;
|
|
1500
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"createApprovalRule", "POST", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1501
|
+
readonly pullRequestId: Schema.String;
|
|
1502
|
+
readonly approvalRuleName: Schema.String;
|
|
1503
|
+
readonly requiredApprovals: Schema.Number;
|
|
1504
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1505
|
+
readonly account: typeof Account;
|
|
1506
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateApprovalRule", "PUT", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1507
|
+
readonly pullRequestId: Schema.String;
|
|
1508
|
+
readonly approvalRuleName: Schema.String;
|
|
1509
|
+
readonly requiredApprovals: Schema.Number;
|
|
1510
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1511
|
+
readonly account: typeof Account;
|
|
1512
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"deleteApprovalRule", "DELETE", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1513
|
+
readonly pullRequestId: Schema.String;
|
|
1514
|
+
readonly approvalRuleName: Schema.String;
|
|
1515
|
+
readonly account: typeof Account;
|
|
1516
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1517
|
+
readonly pullRequestId: Schema.String;
|
|
1518
|
+
readonly repositoryName: Schema.String;
|
|
1519
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1520
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1521
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1522
|
+
readonly filePath: Schema.optional<Schema.String>;
|
|
1523
|
+
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
1524
|
+
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1525
|
+
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1526
|
+
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1527
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1528
|
+
readonly profile: Schema.String;
|
|
1529
|
+
readonly link: Schema.String;
|
|
1530
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refresh", "POST", "/api/prs/refresh", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1531
|
+
readonly q: Schema.String;
|
|
1532
|
+
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1533
|
+
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
1534
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1535
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1536
|
+
readonly id: Schema.String;
|
|
1537
|
+
readonly awsAccountId: Schema.String;
|
|
1538
|
+
readonly accountProfile: Schema.String;
|
|
1539
|
+
readonly accountRegion: Schema.String;
|
|
1540
|
+
readonly title: Schema.String;
|
|
1541
|
+
readonly description: Schema.NullOr<Schema.String>;
|
|
1542
|
+
readonly author: Schema.String;
|
|
1543
|
+
readonly repositoryName: Schema.String;
|
|
1544
|
+
readonly creationDate: Schema.String;
|
|
1545
|
+
readonly lastModifiedDate: Schema.String;
|
|
1546
|
+
readonly status: Schema.String;
|
|
1547
|
+
readonly sourceBranch: Schema.String;
|
|
1548
|
+
readonly destinationBranch: Schema.String;
|
|
1549
|
+
readonly isMergeable: Schema.Number;
|
|
1550
|
+
readonly isApproved: Schema.Number;
|
|
1551
|
+
readonly commentCount: Schema.NullOr<Schema.Number>;
|
|
1552
|
+
readonly link: Schema.String;
|
|
1553
|
+
readonly fetchedAt: Schema.String;
|
|
1554
|
+
}>>;
|
|
1555
|
+
readonly total: Schema.Number;
|
|
1556
|
+
readonly hasMore: Schema.Boolean;
|
|
1557
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1558
|
+
readonly id: Schema.String;
|
|
1559
|
+
readonly pullRequestId: Schema.String;
|
|
1560
|
+
readonly awsAccountId: Schema.String;
|
|
1561
|
+
readonly repositoryName: Schema.String;
|
|
1562
|
+
readonly sourceBranch: Schema.String;
|
|
1563
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1564
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1565
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1566
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1567
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1568
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1569
|
+
readonly createdAt: Schema.String;
|
|
1570
|
+
readonly lastActivityAt: Schema.String;
|
|
1571
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1572
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1573
|
+
readonly awsAccountId: Schema.String;
|
|
1574
|
+
readonly repositoryName: Schema.String;
|
|
1575
|
+
readonly sourceBranch: Schema.String;
|
|
1576
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1577
|
+
readonly region: Schema.String;
|
|
1578
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1579
|
+
readonly id: Schema.String;
|
|
1580
|
+
readonly pullRequestId: Schema.String;
|
|
1581
|
+
readonly awsAccountId: Schema.String;
|
|
1582
|
+
readonly repositoryName: Schema.String;
|
|
1583
|
+
readonly sourceBranch: Schema.String;
|
|
1584
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1585
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1586
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1587
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1588
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1589
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1590
|
+
readonly createdAt: Schema.String;
|
|
1591
|
+
readonly lastActivityAt: Schema.String;
|
|
1592
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1593
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1594
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1595
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1596
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1597
|
+
readonly id: Schema.String;
|
|
1598
|
+
readonly pullRequestId: Schema.String;
|
|
1599
|
+
readonly awsAccountId: Schema.String;
|
|
1600
|
+
readonly repositoryName: Schema.String;
|
|
1601
|
+
readonly sourceBranch: Schema.String;
|
|
1602
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1603
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1604
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1605
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1606
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1607
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1608
|
+
readonly createdAt: Schema.String;
|
|
1609
|
+
readonly lastActivityAt: Schema.String;
|
|
1610
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1611
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1612
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1613
|
+
readonly password: Schema.String;
|
|
1614
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
1615
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1616
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"stop", "POST", "/api/sandbox/:sandboxId/stop", Schema.toCodecStringTree<Schema.Struct<{
|
|
1617
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1618
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/stats/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1619
|
+
readonly week: Schema.String;
|
|
1620
|
+
readonly repo: Schema.optional<Schema.String>;
|
|
1621
|
+
readonly author: Schema.optional<Schema.String>;
|
|
1622
|
+
readonly account: Schema.optional<Schema.String>;
|
|
1623
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1624
|
+
readonly week: Schema.String;
|
|
1625
|
+
readonly weekStart: Schema.String;
|
|
1626
|
+
readonly weekEnd: Schema.String;
|
|
1627
|
+
readonly dataAvailableSince: Schema.NullOr<Schema.String>;
|
|
1628
|
+
readonly prsCreated: Schema.Number;
|
|
1629
|
+
readonly prsMerged: Schema.Number;
|
|
1630
|
+
readonly prsClosed: Schema.Number;
|
|
1631
|
+
readonly totalComments: Schema.Number;
|
|
1632
|
+
readonly topContributors: Schema.$Array<Schema.Struct<{
|
|
1633
|
+
readonly author: Schema.String;
|
|
1634
|
+
readonly prCount: Schema.Number;
|
|
1635
|
+
}>>;
|
|
1636
|
+
readonly topReviewers: Schema.$Array<Schema.Struct<{
|
|
1637
|
+
readonly author: Schema.String;
|
|
1638
|
+
readonly commentCount: Schema.Number;
|
|
1639
|
+
}>>;
|
|
1640
|
+
readonly topApprovers: Schema.$Array<Schema.Struct<{
|
|
1641
|
+
readonly author: Schema.String;
|
|
1642
|
+
readonly approvalCount: Schema.Number;
|
|
1643
|
+
}>>;
|
|
1644
|
+
readonly medianTimeToMerge: Schema.NullOr<Schema.Number>;
|
|
1645
|
+
readonly medianTimeToFirstReview: Schema.NullOr<Schema.Number>;
|
|
1646
|
+
readonly medianTimeToAddressFeedback: Schema.NullOr<Schema.Number>;
|
|
1647
|
+
readonly mergeTimeDetails: Schema.$Array<Schema.Struct<{
|
|
1648
|
+
readonly prId: Schema.String;
|
|
1649
|
+
readonly prTitle: Schema.String;
|
|
1650
|
+
readonly author: Schema.String;
|
|
1651
|
+
readonly repositoryName: Schema.String;
|
|
1652
|
+
readonly awsAccountId: Schema.String;
|
|
1653
|
+
readonly durationMs: Schema.Number;
|
|
1654
|
+
readonly fromLabel: Schema.String;
|
|
1655
|
+
readonly toLabel: Schema.String;
|
|
1656
|
+
}>>;
|
|
1657
|
+
readonly firstReviewDetails: Schema.$Array<Schema.Struct<{
|
|
1658
|
+
readonly prId: Schema.String;
|
|
1659
|
+
readonly prTitle: Schema.String;
|
|
1660
|
+
readonly author: Schema.String;
|
|
1661
|
+
readonly repositoryName: Schema.String;
|
|
1662
|
+
readonly awsAccountId: Schema.String;
|
|
1663
|
+
readonly durationMs: Schema.Number;
|
|
1664
|
+
readonly fromLabel: Schema.String;
|
|
1665
|
+
readonly toLabel: Schema.String;
|
|
1666
|
+
}>>;
|
|
1667
|
+
readonly feedbackDetails: Schema.$Array<Schema.Struct<{
|
|
1668
|
+
readonly prId: Schema.String;
|
|
1669
|
+
readonly prTitle: Schema.String;
|
|
1670
|
+
readonly author: Schema.String;
|
|
1671
|
+
readonly repositoryName: Schema.String;
|
|
1672
|
+
readonly awsAccountId: Schema.String;
|
|
1673
|
+
readonly durationMs: Schema.Number;
|
|
1674
|
+
readonly fromLabel: Schema.String;
|
|
1675
|
+
readonly toLabel: Schema.String;
|
|
1676
|
+
}>>;
|
|
1677
|
+
readonly mostActivePRs: Schema.$Array<Schema.Struct<{
|
|
1678
|
+
readonly id: Schema.String;
|
|
1679
|
+
readonly title: Schema.String;
|
|
1680
|
+
readonly author: Schema.String;
|
|
1681
|
+
readonly repositoryName: Schema.String;
|
|
1682
|
+
readonly commentCount: Schema.Number;
|
|
1683
|
+
readonly awsAccountId: Schema.String;
|
|
1684
|
+
}>>;
|
|
1685
|
+
readonly prSizeDistribution: Schema.Struct<{
|
|
1686
|
+
readonly small: Schema.Number;
|
|
1687
|
+
readonly medium: Schema.Number;
|
|
1688
|
+
readonly large: Schema.Number;
|
|
1689
|
+
readonly extraLarge: Schema.Number;
|
|
1690
|
+
}>;
|
|
1691
|
+
readonly avgDiffSize: Schema.NullOr<Schema.Struct<{
|
|
1692
|
+
readonly filesAdded: Schema.Number;
|
|
1693
|
+
readonly filesModified: Schema.Number;
|
|
1694
|
+
readonly filesDeleted: Schema.Number;
|
|
1695
|
+
}>>;
|
|
1696
|
+
readonly diffSizeByContributor: Schema.$Array<Schema.Struct<{
|
|
1697
|
+
readonly author: Schema.String;
|
|
1698
|
+
readonly avgFilesChanged: Schema.Number;
|
|
1699
|
+
readonly prCount: Schema.Number;
|
|
1700
|
+
}>>;
|
|
1701
|
+
readonly stalePRs: Schema.$Array<Schema.Struct<{
|
|
1702
|
+
readonly id: Schema.String;
|
|
1703
|
+
readonly title: Schema.String;
|
|
1704
|
+
readonly author: Schema.String;
|
|
1705
|
+
readonly repositoryName: Schema.String;
|
|
1706
|
+
readonly daysSinceActivity: Schema.Number;
|
|
1707
|
+
readonly awsAccountId: Schema.String;
|
|
1708
|
+
}>>;
|
|
1709
|
+
readonly reviewCoverage: Schema.NullOr<Schema.Number>;
|
|
1710
|
+
readonly approvalRate: Schema.NullOr<Schema.Number>;
|
|
1711
|
+
readonly busFactor: Schema.NullOr<Schema.Struct<{
|
|
1712
|
+
readonly topContributorShare: Schema.Number;
|
|
1713
|
+
readonly uniqueContributors: Schema.Number;
|
|
1714
|
+
}>>;
|
|
1715
|
+
readonly availableRepos: Schema.$Array<Schema.String>;
|
|
1716
|
+
readonly availableAuthors: Schema.$Array<Schema.String>;
|
|
1717
|
+
readonly availableAccounts: Schema.$Array<Schema.String>;
|
|
1718
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"sync", "POST", "/api/stats/sync", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1719
|
+
readonly week: Schema.String;
|
|
1720
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"subscriptions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/subscriptions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1721
|
+
readonly awsAccountId: Schema.String;
|
|
1722
|
+
readonly pullRequestId: Schema.String;
|
|
1723
|
+
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1724
|
+
readonly awsAccountId: Schema.String;
|
|
1725
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1726
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1727
|
+
readonly awsAccountId: Schema.String;
|
|
1728
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1729
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false>>;
|
|
511
1730
|
export declare class CodeCommitApi extends CodeCommitApi_base {
|
|
512
1731
|
}
|
|
513
1732
|
//# sourceMappingURL=Api.d.ts.map
|