@knpkv/codecommit-web 0.13.0 → 0.15.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/index-Ds8Muxxv.css +1 -0
- package/dist/client/assets/index-eLkbewLN.js +90 -0
- package/dist/client/assets/pr-review-workspace-CgczAXj_.js +22 -0
- package/dist/client/index.html +2 -2
- package/dist/pull-request-coordinates.d.ts +22 -0
- package/dist/pull-request-coordinates.d.ts.map +1 -0
- package/dist/pull-request-coordinates.js +88 -0
- package/dist/pull-request-coordinates.js.map +1 -0
- package/dist/server/Api.d.ts +420 -186
- package/dist/server/Api.d.ts.map +1 -1
- package/dist/server/Api.js +66 -27
- package/dist/server/Api.js.map +1 -1
- package/dist/server/Server.d.ts.map +1 -1
- package/dist/server/Server.js +6 -1
- package/dist/server/Server.js.map +1 -1
- package/dist/server/handlers/prs-live.d.ts +75 -5
- package/dist/server/handlers/prs-live.d.ts.map +1 -1
- package/dist/server/handlers/prs-live.js +129 -28
- package/dist/server/handlers/prs-live.js.map +1 -1
- package/dist/server/handlers/sandbox-live.d.ts.map +1 -1
- package/dist/server/handlers/sandbox-live.js +1 -0
- package/dist/server/handlers/sandbox-live.js.map +1 -1
- package/dist/server/handlers/subscriptions-live.d.ts +2 -2
- package/dist/server/handlers/subscriptions-live.d.ts.map +1 -1
- package/dist/server/handlers/subscriptions-live.js +25 -4
- package/dist/server/handlers/subscriptions-live.js.map +1 -1
- package/dist/server/review/PullRequestReview.d.ts +89 -5
- package/dist/server/review/PullRequestReview.d.ts.map +1 -1
- package/dist/server/review/PullRequestReview.js +31 -14
- package/dist/server/review/PullRequestReview.js.map +1 -1
- package/package.json +8 -5
- package/dist/client/assets/index-DJ8wO4ny.js +0 -90
- package/dist/client/assets/index-KjRfV-r_.css +0 -1
- package/dist/client/assets/pr-review-workspace-DPsfemKB.js +0 -22
package/dist/server/Api.d.ts
CHANGED
|
@@ -105,6 +105,17 @@ export declare const RelayReviewKind: Schema.Literals<readonly ["review", "secur
|
|
|
105
105
|
export type RelayReviewKind = typeof RelayReviewKind.Type;
|
|
106
106
|
export declare const RelayReviewSkillId: Schema.String;
|
|
107
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;
|
|
108
119
|
export declare const RelayReviewFinding: Schema.Struct<{
|
|
109
120
|
readonly id: Schema.String;
|
|
110
121
|
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
@@ -127,6 +138,31 @@ export declare const RelayReviewFinding: Schema.Struct<{
|
|
|
127
138
|
}>]>;
|
|
128
139
|
}>;
|
|
129
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
|
+
}>;
|
|
130
166
|
export declare const RelayReviewResult: Schema.Struct<{
|
|
131
167
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
132
168
|
readonly id: Schema.String;
|
|
@@ -153,7 +189,7 @@ export declare const RelayReviewResult: Schema.Struct<{
|
|
|
153
189
|
readonly explanation: Schema.optional<Schema.String>;
|
|
154
190
|
}>;
|
|
155
191
|
export type RelayReviewResult = typeof RelayReviewResult.Type;
|
|
156
|
-
/** Explain-mode
|
|
192
|
+
/** Explain-mode native schema makes a findings-shaped response impossible. */
|
|
157
193
|
export declare const RelayExplainResult: Schema.Struct<{
|
|
158
194
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
159
195
|
readonly id: Schema.String;
|
|
@@ -177,15 +213,24 @@ export declare const RelayExplainResult: Schema.Struct<{
|
|
|
177
213
|
}>]>;
|
|
178
214
|
}>>;
|
|
179
215
|
readonly verdict: Schema.String;
|
|
180
|
-
readonly explanation: Schema.
|
|
216
|
+
readonly explanation: Schema.String;
|
|
181
217
|
}>;
|
|
182
|
-
/** One
|
|
218
|
+
/** One Relay result bound to the exact diff that was reviewed within a durable pull-request thread. */
|
|
183
219
|
export declare const PullRequestRelayReviewResponse: Schema.Struct<{
|
|
184
220
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
185
221
|
readonly revisionId: Schema.String;
|
|
186
222
|
readonly baseCommit: Schema.String;
|
|
187
223
|
readonly headCommit: Schema.String;
|
|
188
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
|
+
}>;
|
|
189
234
|
readonly result: Schema.Struct<{
|
|
190
235
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
191
236
|
readonly id: Schema.String;
|
|
@@ -215,7 +260,8 @@ export declare const PullRequestRelayReviewResponse: Schema.Struct<{
|
|
|
215
260
|
export type PullRequestRelayReviewResponse = typeof PullRequestRelayReviewResponse.Type;
|
|
216
261
|
export declare const RelayReviewMessage: Schema.String;
|
|
217
262
|
export declare const RelayReviewConversationTurn: Schema.Struct<{
|
|
218
|
-
readonly
|
|
263
|
+
readonly id: Schema.optional<Schema.String>;
|
|
264
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
219
265
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
220
266
|
readonly message: Schema.String;
|
|
221
267
|
}>;
|
|
@@ -235,6 +281,15 @@ export declare const RelayReviewStreamEvent: Schema.Union<readonly [Schema.Struc
|
|
|
235
281
|
readonly baseCommit: Schema.String;
|
|
236
282
|
readonly headCommit: Schema.String;
|
|
237
283
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
284
|
+
readonly profile: Schema.Struct<{
|
|
285
|
+
readonly id: Schema.String;
|
|
286
|
+
readonly name: Schema.String;
|
|
287
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
288
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
289
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
290
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
291
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
292
|
+
}>;
|
|
238
293
|
readonly result: Schema.Struct<{
|
|
239
294
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
240
295
|
readonly id: Schema.String;
|
|
@@ -277,13 +332,21 @@ export declare const RelayReviewStreamRequest: Schema.Struct<{
|
|
|
277
332
|
readonly revisionId: Schema.String;
|
|
278
333
|
readonly baseCommit: Schema.String;
|
|
279
334
|
readonly headCommit: Schema.String;
|
|
280
|
-
readonly
|
|
281
|
-
|
|
335
|
+
readonly profile: Schema.Struct<{
|
|
336
|
+
readonly id: Schema.String;
|
|
337
|
+
readonly name: Schema.String;
|
|
338
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
339
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
340
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
341
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
342
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
343
|
+
}>;
|
|
282
344
|
}>;
|
|
283
345
|
export type RelayReviewStreamRequest = typeof RelayReviewStreamRequest.Type;
|
|
284
346
|
export declare const MAXIMUM_RELAY_REVIEW_TURNS = 40;
|
|
285
347
|
export declare const RelayReviewConversationTurns: Schema.$Array<Schema.Struct<{
|
|
286
|
-
readonly
|
|
348
|
+
readonly id: Schema.optional<Schema.String>;
|
|
349
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
287
350
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
288
351
|
readonly message: Schema.String;
|
|
289
352
|
}>>;
|
|
@@ -291,8 +354,15 @@ export declare const RelayReviewContinueStreamRequest: Schema.Struct<{
|
|
|
291
354
|
readonly revisionId: Schema.String;
|
|
292
355
|
readonly baseCommit: Schema.String;
|
|
293
356
|
readonly headCommit: Schema.String;
|
|
294
|
-
readonly
|
|
295
|
-
|
|
357
|
+
readonly profile: Schema.Struct<{
|
|
358
|
+
readonly id: Schema.String;
|
|
359
|
+
readonly name: Schema.String;
|
|
360
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
361
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
362
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
363
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
364
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
365
|
+
}>;
|
|
296
366
|
readonly currentReview: Schema.Struct<{
|
|
297
367
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
298
368
|
readonly id: Schema.String;
|
|
@@ -319,11 +389,12 @@ export declare const RelayReviewContinueStreamRequest: Schema.Struct<{
|
|
|
319
389
|
readonly explanation: Schema.optional<Schema.String>;
|
|
320
390
|
}>;
|
|
321
391
|
readonly turns: Schema.$Array<Schema.Struct<{
|
|
322
|
-
readonly
|
|
392
|
+
readonly id: Schema.optional<Schema.String>;
|
|
393
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
323
394
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
324
395
|
readonly message: Schema.String;
|
|
325
396
|
}>>;
|
|
326
|
-
readonly findingId: Schema.String
|
|
397
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
327
398
|
readonly message: Schema.String;
|
|
328
399
|
}>;
|
|
329
400
|
export type RelayReviewContinueStreamRequest = typeof RelayReviewContinueStreamRequest.Type;
|
|
@@ -334,6 +405,8 @@ export declare const NotificationResponse: Schema.Struct<{
|
|
|
334
405
|
readonly type: Schema.String;
|
|
335
406
|
readonly title: Schema.String;
|
|
336
407
|
readonly profile: Schema.String;
|
|
408
|
+
readonly repositoryName: Schema.String;
|
|
409
|
+
readonly accountRegion: Schema.String;
|
|
337
410
|
readonly message: Schema.String;
|
|
338
411
|
readonly createdAt: Schema.String;
|
|
339
412
|
readonly read: Schema.Number;
|
|
@@ -369,7 +442,10 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
369
442
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
370
443
|
readonly awsAccountId: Schema.String;
|
|
371
444
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
372
|
-
}>>,
|
|
445
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
446
|
+
readonly repositoryName: Schema.String;
|
|
447
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
448
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
373
449
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
374
450
|
readonly revisionId: Schema.String;
|
|
375
451
|
readonly baseCommit: Schema.String;
|
|
@@ -387,6 +463,8 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
387
463
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
388
464
|
readonly fileIndex: Schema.NumberFromString;
|
|
389
465
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
466
|
+
readonly repositoryName: Schema.String;
|
|
467
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
390
468
|
readonly revisionId: Schema.String;
|
|
391
469
|
readonly baseCommit: Schema.String;
|
|
392
470
|
readonly headCommit: Schema.String;
|
|
@@ -403,7 +481,10 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
403
481
|
readonly awsAccountId: Schema.String;
|
|
404
482
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
405
483
|
readonly findingId: Schema.String;
|
|
406
|
-
}>>,
|
|
484
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
485
|
+
readonly repositoryName: Schema.String;
|
|
486
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
487
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
407
488
|
readonly revisionId: Schema.String;
|
|
408
489
|
readonly baseCommit: Schema.String;
|
|
409
490
|
readonly headCommit: Schema.String;
|
|
@@ -435,23 +516,46 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
435
516
|
}>>, 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<{
|
|
436
517
|
readonly awsAccountId: Schema.String;
|
|
437
518
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
438
|
-
}>>,
|
|
519
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
520
|
+
readonly repositoryName: Schema.optional<Schema.String>;
|
|
521
|
+
readonly region: Schema.optional<Schema.brand<Schema.String, "AwsRegion">>;
|
|
522
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
439
523
|
readonly revisionId: Schema.String;
|
|
440
524
|
readonly headCommit: Schema.String;
|
|
441
525
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
442
526
|
readonly awsAccountId: Schema.String;
|
|
443
527
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
444
|
-
}>>,
|
|
528
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
529
|
+
readonly repositoryName: Schema.String;
|
|
530
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
531
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
445
532
|
readonly revisionId: Schema.String;
|
|
446
533
|
readonly baseCommit: Schema.String;
|
|
447
534
|
readonly headCommit: Schema.String;
|
|
448
|
-
readonly
|
|
535
|
+
readonly profile: Schema.Struct<{
|
|
536
|
+
readonly id: Schema.String;
|
|
537
|
+
readonly name: Schema.String;
|
|
538
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
539
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
540
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
541
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
542
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
543
|
+
}>;
|
|
449
544
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
450
545
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
451
546
|
readonly revisionId: Schema.String;
|
|
452
547
|
readonly baseCommit: Schema.String;
|
|
453
548
|
readonly headCommit: Schema.String;
|
|
454
549
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
550
|
+
readonly profile: Schema.Struct<{
|
|
551
|
+
readonly id: Schema.String;
|
|
552
|
+
readonly name: Schema.String;
|
|
553
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
554
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
555
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
556
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
557
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
558
|
+
}>;
|
|
455
559
|
readonly result: Schema.Struct<{
|
|
456
560
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
457
561
|
readonly id: Schema.String;
|
|
@@ -480,12 +584,22 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
480
584
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
481
585
|
readonly awsAccountId: Schema.String;
|
|
482
586
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
483
|
-
}>>,
|
|
587
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
588
|
+
readonly repositoryName: Schema.String;
|
|
589
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
590
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
484
591
|
readonly revisionId: Schema.String;
|
|
485
592
|
readonly baseCommit: Schema.String;
|
|
486
593
|
readonly headCommit: Schema.String;
|
|
487
|
-
readonly
|
|
488
|
-
|
|
594
|
+
readonly profile: Schema.Struct<{
|
|
595
|
+
readonly id: Schema.String;
|
|
596
|
+
readonly name: Schema.String;
|
|
597
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
598
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
599
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
600
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
601
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
602
|
+
}>;
|
|
489
603
|
readonly currentReview: Schema.Struct<{
|
|
490
604
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
491
605
|
readonly id: Schema.String;
|
|
@@ -512,21 +626,32 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
512
626
|
readonly explanation: Schema.optional<Schema.String>;
|
|
513
627
|
}>;
|
|
514
628
|
readonly turns: Schema.$Array<Schema.Struct<{
|
|
515
|
-
readonly
|
|
629
|
+
readonly id: Schema.optional<Schema.String>;
|
|
630
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
516
631
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
517
632
|
readonly message: Schema.String;
|
|
518
633
|
}>>;
|
|
519
|
-
readonly findingId: Schema.String
|
|
634
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
520
635
|
readonly message: Schema.String;
|
|
521
636
|
}>>, 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<{
|
|
522
637
|
readonly awsAccountId: Schema.String;
|
|
523
638
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
524
|
-
}>>,
|
|
639
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
640
|
+
readonly repositoryName: Schema.String;
|
|
641
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
642
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
525
643
|
readonly revisionId: Schema.String;
|
|
526
644
|
readonly baseCommit: Schema.String;
|
|
527
645
|
readonly headCommit: Schema.String;
|
|
528
|
-
readonly
|
|
529
|
-
|
|
646
|
+
readonly profile: Schema.Struct<{
|
|
647
|
+
readonly id: Schema.String;
|
|
648
|
+
readonly name: Schema.String;
|
|
649
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
650
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
651
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
652
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
653
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
654
|
+
}>;
|
|
530
655
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
531
656
|
readonly q: Schema.String;
|
|
532
657
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
@@ -594,6 +719,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
594
719
|
readonly id: Schema.String;
|
|
595
720
|
readonly name: Schema.String;
|
|
596
721
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
722
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
723
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
724
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
597
725
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
598
726
|
}>>;
|
|
599
727
|
}>;
|
|
@@ -631,6 +759,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
631
759
|
readonly id: Schema.String;
|
|
632
760
|
readonly name: Schema.String;
|
|
633
761
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
762
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
763
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
764
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
634
765
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
635
766
|
}>>;
|
|
636
767
|
}>;
|
|
@@ -668,6 +799,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
668
799
|
readonly id: Schema.String;
|
|
669
800
|
readonly name: Schema.String;
|
|
670
801
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
802
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
803
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
804
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
671
805
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
672
806
|
}>>;
|
|
673
807
|
}>>;
|
|
@@ -693,15 +827,27 @@ export declare class ConfigGroup extends ConfigGroup_base {
|
|
|
693
827
|
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>;
|
|
694
828
|
export declare class AccountsGroup extends AccountsGroup_base {
|
|
695
829
|
}
|
|
830
|
+
export declare const SubscriptionPayload: Schema.Struct<{
|
|
831
|
+
readonly awsAccountId: Schema.String;
|
|
832
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
833
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
834
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
835
|
+
}>;
|
|
696
836
|
declare const SubscriptionsGroup_base: HttpApiGroup.HttpApiGroup<"subscriptions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/subscriptions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
697
837
|
readonly awsAccountId: Schema.String;
|
|
698
838
|
readonly pullRequestId: Schema.String;
|
|
839
|
+
readonly repositoryName: Schema.NullOr<Schema.String>;
|
|
840
|
+
readonly accountRegion: Schema.NullOr<Schema.String>;
|
|
699
841
|
}>>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
700
842
|
readonly awsAccountId: Schema.String;
|
|
701
843
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
844
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
845
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
702
846
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
703
847
|
readonly awsAccountId: Schema.String;
|
|
704
848
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
849
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
850
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
705
851
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
706
852
|
export declare class SubscriptionsGroup extends SubscriptionsGroup_base {
|
|
707
853
|
}
|
|
@@ -720,6 +866,8 @@ declare const NotificationsGroup_base: HttpApiGroup.HttpApiGroup<"notifications"
|
|
|
720
866
|
readonly type: Schema.String;
|
|
721
867
|
readonly title: Schema.String;
|
|
722
868
|
readonly profile: Schema.String;
|
|
869
|
+
readonly repositoryName: Schema.String;
|
|
870
|
+
readonly accountRegion: Schema.String;
|
|
723
871
|
readonly message: Schema.String;
|
|
724
872
|
readonly createdAt: Schema.String;
|
|
725
873
|
readonly read: Schema.Number;
|
|
@@ -738,6 +886,7 @@ export declare const SandboxResponse: Schema.Struct<{
|
|
|
738
886
|
readonly id: Schema.String;
|
|
739
887
|
readonly pullRequestId: Schema.String;
|
|
740
888
|
readonly awsAccountId: Schema.String;
|
|
889
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
741
890
|
readonly repositoryName: Schema.String;
|
|
742
891
|
readonly sourceBranch: Schema.String;
|
|
743
892
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -763,6 +912,7 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
763
912
|
readonly id: Schema.String;
|
|
764
913
|
readonly pullRequestId: Schema.String;
|
|
765
914
|
readonly awsAccountId: Schema.String;
|
|
915
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
766
916
|
readonly repositoryName: Schema.String;
|
|
767
917
|
readonly sourceBranch: Schema.String;
|
|
768
918
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -785,6 +935,7 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
785
935
|
readonly id: Schema.String;
|
|
786
936
|
readonly pullRequestId: Schema.String;
|
|
787
937
|
readonly awsAccountId: Schema.String;
|
|
938
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
788
939
|
readonly repositoryName: Schema.String;
|
|
789
940
|
readonly sourceBranch: Schema.String;
|
|
790
941
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -799,6 +950,7 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
799
950
|
readonly id: Schema.String;
|
|
800
951
|
readonly pullRequestId: Schema.String;
|
|
801
952
|
readonly awsAccountId: Schema.String;
|
|
953
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
802
954
|
readonly repositoryName: Schema.String;
|
|
803
955
|
readonly sourceBranch: Schema.String;
|
|
804
956
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -851,6 +1003,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
851
1003
|
readonly prTitle: Schema.String;
|
|
852
1004
|
readonly author: Schema.String;
|
|
853
1005
|
readonly repositoryName: Schema.String;
|
|
1006
|
+
readonly accountRegion: Schema.String;
|
|
854
1007
|
readonly awsAccountId: Schema.String;
|
|
855
1008
|
readonly durationMs: Schema.Number;
|
|
856
1009
|
readonly fromLabel: Schema.String;
|
|
@@ -861,6 +1014,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
861
1014
|
readonly prTitle: Schema.String;
|
|
862
1015
|
readonly author: Schema.String;
|
|
863
1016
|
readonly repositoryName: Schema.String;
|
|
1017
|
+
readonly accountRegion: Schema.String;
|
|
864
1018
|
readonly awsAccountId: Schema.String;
|
|
865
1019
|
readonly durationMs: Schema.Number;
|
|
866
1020
|
readonly fromLabel: Schema.String;
|
|
@@ -871,6 +1025,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
871
1025
|
readonly prTitle: Schema.String;
|
|
872
1026
|
readonly author: Schema.String;
|
|
873
1027
|
readonly repositoryName: Schema.String;
|
|
1028
|
+
readonly accountRegion: Schema.String;
|
|
874
1029
|
readonly awsAccountId: Schema.String;
|
|
875
1030
|
readonly durationMs: Schema.Number;
|
|
876
1031
|
readonly fromLabel: Schema.String;
|
|
@@ -881,6 +1036,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
881
1036
|
readonly title: Schema.String;
|
|
882
1037
|
readonly author: Schema.String;
|
|
883
1038
|
readonly repositoryName: Schema.String;
|
|
1039
|
+
readonly accountRegion: Schema.String;
|
|
884
1040
|
readonly commentCount: Schema.Number;
|
|
885
1041
|
readonly awsAccountId: Schema.String;
|
|
886
1042
|
}>>;
|
|
@@ -905,6 +1061,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
905
1061
|
readonly title: Schema.String;
|
|
906
1062
|
readonly author: Schema.String;
|
|
907
1063
|
readonly repositoryName: Schema.String;
|
|
1064
|
+
readonly accountRegion: Schema.String;
|
|
908
1065
|
readonly daysSinceActivity: Schema.Number;
|
|
909
1066
|
readonly awsAccountId: Schema.String;
|
|
910
1067
|
}>>;
|
|
@@ -993,19 +1150,7 @@ export declare class AuditGroup extends AuditGroup_base {
|
|
|
993
1150
|
}
|
|
994
1151
|
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<{
|
|
995
1152
|
readonly deleted: Schema.Number;
|
|
996
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
997
|
-
readonly from: Schema.optional<Schema.String>;
|
|
998
|
-
readonly to: Schema.optional<Schema.String>;
|
|
999
|
-
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1000
|
-
readonly id: Schema.Number;
|
|
1001
|
-
readonly timestamp: Schema.String;
|
|
1002
|
-
readonly operation: Schema.String;
|
|
1003
|
-
readonly accountProfile: Schema.String;
|
|
1004
|
-
readonly region: Schema.String;
|
|
1005
|
-
readonly permissionState: Schema.String;
|
|
1006
|
-
readonly context: Schema.String;
|
|
1007
|
-
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
1008
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/audit/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1153
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/audit/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1009
1154
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1010
1155
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
1011
1156
|
readonly operation: Schema.optional<Schema.String>;
|
|
@@ -1027,12 +1172,19 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1027
1172
|
}>>;
|
|
1028
1173
|
readonly total: Schema.Number;
|
|
1029
1174
|
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1030
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never
|
|
1031
|
-
readonly
|
|
1032
|
-
readonly
|
|
1033
|
-
|
|
1034
|
-
readonly
|
|
1035
|
-
|
|
1175
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"export", "GET", "/api/audit/export", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1176
|
+
readonly from: Schema.optional<Schema.String>;
|
|
1177
|
+
readonly to: Schema.optional<Schema.String>;
|
|
1178
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1179
|
+
readonly id: Schema.Number;
|
|
1180
|
+
readonly timestamp: Schema.String;
|
|
1181
|
+
readonly operation: Schema.String;
|
|
1182
|
+
readonly accountProfile: Schema.String;
|
|
1183
|
+
readonly region: Schema.String;
|
|
1184
|
+
readonly permissionState: Schema.String;
|
|
1185
|
+
readonly context: Schema.String;
|
|
1186
|
+
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
1187
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/config/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1036
1188
|
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1037
1189
|
readonly profile: Schema.String;
|
|
1038
1190
|
readonly regions: Schema.$Array<Schema.String>;
|
|
@@ -1048,6 +1200,9 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1048
1200
|
readonly id: Schema.String;
|
|
1049
1201
|
readonly name: Schema.String;
|
|
1050
1202
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1203
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1204
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1205
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1051
1206
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1052
1207
|
}>>;
|
|
1053
1208
|
}>;
|
|
@@ -1063,10 +1218,24 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1063
1218
|
}>>;
|
|
1064
1219
|
readonly cloneDepth: Schema.Number;
|
|
1065
1220
|
}>>;
|
|
1066
|
-
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1221
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"database", "GET", "/api/config/database", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1222
|
+
readonly path: Schema.String;
|
|
1223
|
+
readonly sizeBytes: Schema.Number;
|
|
1224
|
+
readonly exists: Schema.Boolean;
|
|
1225
|
+
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1226
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"path", "GET", "/api/config/path", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1067
1227
|
readonly path: Schema.String;
|
|
1068
1228
|
readonly exists: Schema.Boolean;
|
|
1069
1229
|
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1230
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1231
|
+
readonly id: Schema.String;
|
|
1232
|
+
readonly name: Schema.String;
|
|
1233
|
+
readonly description: Schema.String;
|
|
1234
|
+
readonly source: Schema.String;
|
|
1235
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"validate", "GET", "/api/config/validate", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1236
|
+
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
1237
|
+
readonly path: Schema.String;
|
|
1238
|
+
readonly errors: Schema.$Array<Schema.String>;
|
|
1070
1239
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/config/reset", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1071
1240
|
readonly backupPath: Schema.optional<Schema.String>;
|
|
1072
1241
|
readonly config: Schema.Struct<{
|
|
@@ -1085,6 +1254,9 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1085
1254
|
readonly id: Schema.String;
|
|
1086
1255
|
readonly name: Schema.String;
|
|
1087
1256
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1257
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1258
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1259
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1088
1260
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1089
1261
|
}>>;
|
|
1090
1262
|
}>;
|
|
@@ -1102,12 +1274,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1102
1274
|
}>>;
|
|
1103
1275
|
}>;
|
|
1104
1276
|
readonly refreshStatus: Schema.Literals<readonly ["refreshed", "failed"]>;
|
|
1105
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1106
|
-
readonly id: Schema.String;
|
|
1107
|
-
readonly name: Schema.String;
|
|
1108
|
-
readonly description: Schema.String;
|
|
1109
|
-
readonly source: Schema.String;
|
|
1110
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1277
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1111
1278
|
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1112
1279
|
readonly profile: Schema.String;
|
|
1113
1280
|
readonly regions: Schema.$Array<Schema.String>;
|
|
@@ -1122,6 +1289,9 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1122
1289
|
readonly id: Schema.String;
|
|
1123
1290
|
readonly name: Schema.String;
|
|
1124
1291
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1292
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1293
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1294
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1125
1295
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1126
1296
|
}>>;
|
|
1127
1297
|
}>>;
|
|
@@ -1137,13 +1307,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1137
1307
|
}>>;
|
|
1138
1308
|
readonly cloneDepth: Schema.Number;
|
|
1139
1309
|
}>>;
|
|
1140
|
-
}>>, never, Schema.toCodecJson<Schema.Literals<readonly ["saved", "saved-refresh-failed"]>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1141
|
-
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
1142
|
-
readonly path: Schema.String;
|
|
1143
|
-
readonly errors: Schema.$Array<Schema.String>;
|
|
1144
|
-
}>>, 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<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1145
|
-
readonly unread: Schema.Number;
|
|
1146
|
-
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1310
|
+
}>>, never, Schema.toCodecJson<Schema.Literals<readonly ["saved", "saved-refresh-failed"]>>, 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<{
|
|
1147
1311
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1148
1312
|
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1149
1313
|
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
@@ -1156,66 +1320,49 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1156
1320
|
readonly type: Schema.String;
|
|
1157
1321
|
readonly title: Schema.String;
|
|
1158
1322
|
readonly profile: Schema.String;
|
|
1323
|
+
readonly repositoryName: Schema.String;
|
|
1324
|
+
readonly accountRegion: Schema.String;
|
|
1159
1325
|
readonly message: Schema.String;
|
|
1160
1326
|
readonly createdAt: Schema.String;
|
|
1161
1327
|
readonly read: Schema.Number;
|
|
1162
1328
|
}>>;
|
|
1163
1329
|
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1164
|
-
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1165
|
-
readonly
|
|
1166
|
-
}>>, never,
|
|
1330
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1331
|
+
readonly unread: Schema.Number;
|
|
1332
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/notifications/read", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1167
1333
|
readonly id: Schema.Number;
|
|
1168
|
-
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogin", "POST", "/api/notifications/sso-login", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1334
|
+
}>>, 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<{
|
|
1169
1335
|
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1170
|
-
}>>, 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
|
|
1171
|
-
readonly
|
|
1172
|
-
|
|
1173
|
-
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1336
|
+
}>>, 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<{
|
|
1337
|
+
readonly id: Schema.Number;
|
|
1338
|
+
}>>, 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<{
|
|
1174
1339
|
readonly operation: Schema.String;
|
|
1175
1340
|
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1176
1341
|
readonly category: Schema.Literals<readonly ["read", "write"]>;
|
|
1177
1342
|
readonly description: Schema.String;
|
|
1178
|
-
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1343
|
+
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"auditSettings", "GET", "/api/permissions/audit", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1344
|
+
readonly enabled: Schema.Boolean;
|
|
1345
|
+
readonly retentionDays: Schema.Number;
|
|
1346
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1347
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
1348
|
+
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
1349
|
+
}>>, 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<{
|
|
1179
1350
|
readonly id: Schema.String;
|
|
1180
1351
|
readonly response: Schema.Literals<readonly ["allow_once", "always_allow", "deny"]>;
|
|
1181
1352
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1182
1353
|
readonly operation: Schema.String;
|
|
1183
1354
|
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1184
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1185
|
-
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
1186
|
-
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
1187
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1188
|
-
readonly pullRequestId: Schema.String;
|
|
1189
|
-
readonly repositoryName: Schema.String;
|
|
1190
|
-
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1191
|
-
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1192
|
-
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1193
|
-
readonly filePath: Schema.optional<Schema.String>;
|
|
1194
|
-
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
1195
|
-
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1196
|
-
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1197
|
-
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1198
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1199
|
-
readonly repositoryName: Schema.String;
|
|
1200
|
-
readonly title: Schema.String;
|
|
1201
|
-
readonly description: Schema.optional<Schema.String>;
|
|
1202
|
-
readonly sourceBranch: Schema.String;
|
|
1203
|
-
readonly destinationBranch: Schema.String;
|
|
1204
|
-
readonly account: typeof Account;
|
|
1205
|
-
}>>, 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<{
|
|
1206
|
-
readonly pullRequestId: Schema.String;
|
|
1207
|
-
readonly approvalRuleName: Schema.String;
|
|
1208
|
-
readonly requiredApprovals: Schema.Number;
|
|
1209
|
-
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1210
|
-
readonly account: typeof Account;
|
|
1211
|
-
}>>, 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<{
|
|
1355
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"deleteApprovalRule", "DELETE", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1212
1356
|
readonly pullRequestId: Schema.String;
|
|
1213
1357
|
readonly approvalRuleName: Schema.String;
|
|
1214
1358
|
readonly account: typeof Account;
|
|
1215
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1359
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/prs/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof PullRequest>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1216
1360
|
readonly awsAccountId: Schema.String;
|
|
1217
1361
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1218
|
-
}>>,
|
|
1362
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1363
|
+
readonly repositoryName: Schema.String;
|
|
1364
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1365
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1219
1366
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1220
1367
|
readonly revisionId: Schema.String;
|
|
1221
1368
|
readonly baseCommit: Schema.String;
|
|
@@ -1233,6 +1380,8 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1233
1380
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1234
1381
|
readonly fileIndex: Schema.NumberFromString;
|
|
1235
1382
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1383
|
+
readonly repositoryName: Schema.String;
|
|
1384
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1236
1385
|
readonly revisionId: Schema.String;
|
|
1237
1386
|
readonly baseCommit: Schema.String;
|
|
1238
1387
|
readonly headCommit: Schema.String;
|
|
@@ -1242,62 +1391,94 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1242
1391
|
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
1243
1392
|
readonly before: Schema.NullOr<Schema.String>;
|
|
1244
1393
|
readonly after: Schema.NullOr<Schema.String>;
|
|
1245
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1246
|
-
readonly
|
|
1247
|
-
readonly
|
|
1248
|
-
|
|
1249
|
-
readonly
|
|
1250
|
-
|
|
1251
|
-
readonly
|
|
1252
|
-
|
|
1253
|
-
readonly
|
|
1254
|
-
readonly
|
|
1255
|
-
readonly
|
|
1256
|
-
|
|
1394
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1395
|
+
readonly pullRequestId: Schema.String;
|
|
1396
|
+
readonly repositoryName: Schema.String;
|
|
1397
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1398
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1399
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1400
|
+
readonly filePath: Schema.optional<Schema.String>;
|
|
1401
|
+
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
1402
|
+
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1403
|
+
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1404
|
+
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1405
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1406
|
+
readonly q: Schema.String;
|
|
1407
|
+
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1408
|
+
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
1409
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1410
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1257
1411
|
readonly id: Schema.String;
|
|
1258
|
-
readonly
|
|
1412
|
+
readonly awsAccountId: Schema.String;
|
|
1413
|
+
readonly accountProfile: Schema.String;
|
|
1414
|
+
readonly accountRegion: Schema.String;
|
|
1259
1415
|
readonly title: Schema.String;
|
|
1260
|
-
readonly
|
|
1261
|
-
readonly
|
|
1262
|
-
readonly
|
|
1263
|
-
readonly
|
|
1264
|
-
readonly
|
|
1265
|
-
readonly
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
readonly
|
|
1279
|
-
readonly
|
|
1280
|
-
readonly
|
|
1281
|
-
|
|
1416
|
+
readonly description: Schema.NullOr<Schema.String>;
|
|
1417
|
+
readonly author: Schema.String;
|
|
1418
|
+
readonly repositoryName: Schema.String;
|
|
1419
|
+
readonly creationDate: Schema.String;
|
|
1420
|
+
readonly lastModifiedDate: Schema.String;
|
|
1421
|
+
readonly status: Schema.String;
|
|
1422
|
+
readonly sourceBranch: Schema.String;
|
|
1423
|
+
readonly destinationBranch: Schema.String;
|
|
1424
|
+
readonly isMergeable: Schema.Number;
|
|
1425
|
+
readonly isApproved: Schema.Number;
|
|
1426
|
+
readonly commentCount: Schema.NullOr<Schema.Number>;
|
|
1427
|
+
readonly link: Schema.String;
|
|
1428
|
+
readonly fetchedAt: Schema.String;
|
|
1429
|
+
}>>;
|
|
1430
|
+
readonly total: Schema.Number;
|
|
1431
|
+
readonly hasMore: Schema.Boolean;
|
|
1432
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1433
|
+
readonly repositoryName: Schema.String;
|
|
1434
|
+
readonly title: Schema.String;
|
|
1435
|
+
readonly description: Schema.optional<Schema.String>;
|
|
1436
|
+
readonly sourceBranch: Schema.String;
|
|
1437
|
+
readonly destinationBranch: Schema.String;
|
|
1438
|
+
readonly account: typeof Account;
|
|
1439
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
1282
1440
|
readonly awsAccountId: Schema.String;
|
|
1283
1441
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1284
|
-
}>>,
|
|
1442
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1443
|
+
readonly repositoryName: Schema.optional<Schema.String>;
|
|
1444
|
+
readonly region: Schema.optional<Schema.brand<Schema.String, "AwsRegion">>;
|
|
1445
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1285
1446
|
readonly revisionId: Schema.String;
|
|
1286
1447
|
readonly headCommit: Schema.String;
|
|
1287
1448
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
1288
1449
|
readonly awsAccountId: Schema.String;
|
|
1289
1450
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1290
|
-
}>>,
|
|
1451
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1452
|
+
readonly repositoryName: Schema.String;
|
|
1453
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1454
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1291
1455
|
readonly revisionId: Schema.String;
|
|
1292
1456
|
readonly baseCommit: Schema.String;
|
|
1293
1457
|
readonly headCommit: Schema.String;
|
|
1294
|
-
readonly
|
|
1458
|
+
readonly profile: Schema.Struct<{
|
|
1459
|
+
readonly id: Schema.String;
|
|
1460
|
+
readonly name: Schema.String;
|
|
1461
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1462
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1463
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1464
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1465
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1466
|
+
}>;
|
|
1295
1467
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1296
1468
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1297
1469
|
readonly revisionId: Schema.String;
|
|
1298
1470
|
readonly baseCommit: Schema.String;
|
|
1299
1471
|
readonly headCommit: Schema.String;
|
|
1300
1472
|
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1473
|
+
readonly profile: Schema.Struct<{
|
|
1474
|
+
readonly id: Schema.String;
|
|
1475
|
+
readonly name: Schema.String;
|
|
1476
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1477
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1478
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1479
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1480
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1481
|
+
}>;
|
|
1301
1482
|
readonly result: Schema.Struct<{
|
|
1302
1483
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1303
1484
|
readonly id: Schema.String;
|
|
@@ -1326,12 +1507,22 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1326
1507
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
1327
1508
|
readonly awsAccountId: Schema.String;
|
|
1328
1509
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1329
|
-
}>>,
|
|
1510
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1511
|
+
readonly repositoryName: Schema.String;
|
|
1512
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1513
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1330
1514
|
readonly revisionId: Schema.String;
|
|
1331
1515
|
readonly baseCommit: Schema.String;
|
|
1332
1516
|
readonly headCommit: Schema.String;
|
|
1333
|
-
readonly
|
|
1334
|
-
|
|
1517
|
+
readonly profile: Schema.Struct<{
|
|
1518
|
+
readonly id: Schema.String;
|
|
1519
|
+
readonly name: Schema.String;
|
|
1520
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1521
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1522
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1523
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1524
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1525
|
+
}>;
|
|
1335
1526
|
readonly currentReview: Schema.Struct<{
|
|
1336
1527
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1337
1528
|
readonly id: Schema.String;
|
|
@@ -1358,65 +1549,90 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1358
1549
|
readonly explanation: Schema.optional<Schema.String>;
|
|
1359
1550
|
}>;
|
|
1360
1551
|
readonly turns: Schema.$Array<Schema.Struct<{
|
|
1361
|
-
readonly
|
|
1552
|
+
readonly id: Schema.optional<Schema.String>;
|
|
1553
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1362
1554
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
1363
1555
|
readonly message: Schema.String;
|
|
1364
1556
|
}>>;
|
|
1365
|
-
readonly findingId: Schema.String
|
|
1557
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1366
1558
|
readonly message: Schema.String;
|
|
1367
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1559
|
+
}>>, 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<{
|
|
1368
1560
|
readonly awsAccountId: Schema.String;
|
|
1369
1561
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1370
|
-
|
|
1562
|
+
readonly findingId: Schema.String;
|
|
1563
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1564
|
+
readonly repositoryName: Schema.String;
|
|
1565
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1566
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1371
1567
|
readonly revisionId: Schema.String;
|
|
1372
1568
|
readonly baseCommit: Schema.String;
|
|
1373
1569
|
readonly headCommit: Schema.String;
|
|
1374
|
-
readonly
|
|
1375
|
-
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1376
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1377
|
-
readonly q: Schema.String;
|
|
1378
|
-
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1379
|
-
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
1380
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1381
|
-
readonly items: Schema.$Array<Schema.Struct<{
|
|
1570
|
+
readonly finding: Schema.Struct<{
|
|
1382
1571
|
readonly id: Schema.String;
|
|
1383
|
-
readonly
|
|
1384
|
-
readonly accountProfile: Schema.String;
|
|
1385
|
-
readonly accountRegion: Schema.String;
|
|
1572
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
1386
1573
|
readonly title: Schema.String;
|
|
1387
|
-
readonly
|
|
1388
|
-
readonly
|
|
1389
|
-
readonly
|
|
1390
|
-
readonly
|
|
1391
|
-
readonly
|
|
1392
|
-
readonly
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
}
|
|
1574
|
+
readonly summary: Schema.String;
|
|
1575
|
+
readonly details: Schema.String;
|
|
1576
|
+
readonly recommendation: Schema.String;
|
|
1577
|
+
readonly verification: Schema.String;
|
|
1578
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1579
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1580
|
+
readonly scope: Schema.Literal<"general">;
|
|
1581
|
+
}>, Schema.Struct<{
|
|
1582
|
+
readonly scope: Schema.Literal<"file">;
|
|
1583
|
+
readonly filePath: Schema.String;
|
|
1584
|
+
}>, Schema.Struct<{
|
|
1585
|
+
readonly scope: Schema.Literal<"line">;
|
|
1586
|
+
readonly filePath: Schema.String;
|
|
1587
|
+
readonly line: Schema.Int;
|
|
1588
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1589
|
+
}>]>;
|
|
1590
|
+
}>;
|
|
1591
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1592
|
+
readonly findingId: Schema.String;
|
|
1593
|
+
readonly operationId: Schema.String;
|
|
1594
|
+
readonly summary: Schema.String;
|
|
1595
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/stream", Schema.toCodecStringTree<Schema.Struct<{
|
|
1596
|
+
readonly awsAccountId: Schema.String;
|
|
1597
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1598
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1599
|
+
readonly repositoryName: Schema.String;
|
|
1600
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1601
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1602
|
+
readonly revisionId: Schema.String;
|
|
1603
|
+
readonly baseCommit: Schema.String;
|
|
1604
|
+
readonly headCommit: Schema.String;
|
|
1605
|
+
readonly profile: Schema.Struct<{
|
|
1606
|
+
readonly id: Schema.String;
|
|
1607
|
+
readonly name: Schema.String;
|
|
1608
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1609
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex"]>, never>;
|
|
1610
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex"]>, never>;
|
|
1611
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1612
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1613
|
+
}>;
|
|
1614
|
+
}>>, 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<{
|
|
1404
1615
|
readonly pullRequestId: Schema.String;
|
|
1405
1616
|
readonly approvalRuleName: Schema.String;
|
|
1406
1617
|
readonly requiredApprovals: Schema.Number;
|
|
1407
1618
|
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1408
1619
|
readonly account: typeof Account;
|
|
1409
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never
|
|
1410
|
-
readonly
|
|
1411
|
-
readonly
|
|
1412
|
-
|
|
1413
|
-
readonly
|
|
1414
|
-
readonly
|
|
1415
|
-
readonly
|
|
1416
|
-
|
|
1620
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1621
|
+
readonly profile: Schema.String;
|
|
1622
|
+
readonly link: Schema.String;
|
|
1623
|
+
}>>, 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<"updateApprovalRule", "PUT", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1624
|
+
readonly pullRequestId: Schema.String;
|
|
1625
|
+
readonly approvalRuleName: Schema.String;
|
|
1626
|
+
readonly requiredApprovals: Schema.Number;
|
|
1627
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1628
|
+
readonly account: typeof Account;
|
|
1629
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1630
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1631
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1417
1632
|
readonly id: Schema.String;
|
|
1418
1633
|
readonly pullRequestId: Schema.String;
|
|
1419
1634
|
readonly awsAccountId: Schema.String;
|
|
1635
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1420
1636
|
readonly repositoryName: Schema.String;
|
|
1421
1637
|
readonly sourceBranch: Schema.String;
|
|
1422
1638
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -1427,18 +1643,13 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1427
1643
|
readonly error: Schema.NullOr<Schema.String>;
|
|
1428
1644
|
readonly createdAt: Schema.String;
|
|
1429
1645
|
readonly lastActivityAt: Schema.String;
|
|
1430
|
-
}
|
|
1431
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1432
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1433
|
-
readonly password: Schema.String;
|
|
1434
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1435
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1436
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1646
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1437
1647
|
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1438
1648
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1439
1649
|
readonly id: Schema.String;
|
|
1440
1650
|
readonly pullRequestId: Schema.String;
|
|
1441
1651
|
readonly awsAccountId: Schema.String;
|
|
1652
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1442
1653
|
readonly repositoryName: Schema.String;
|
|
1443
1654
|
readonly sourceBranch: Schema.String;
|
|
1444
1655
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -1449,10 +1660,22 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1449
1660
|
readonly error: Schema.NullOr<Schema.String>;
|
|
1450
1661
|
readonly createdAt: Schema.String;
|
|
1451
1662
|
readonly lastActivityAt: Schema.String;
|
|
1452
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1663
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1664
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1665
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1666
|
+
readonly password: Schema.String;
|
|
1667
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1668
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1669
|
+
readonly awsAccountId: Schema.String;
|
|
1670
|
+
readonly repositoryName: Schema.String;
|
|
1671
|
+
readonly sourceBranch: Schema.String;
|
|
1672
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1673
|
+
readonly region: Schema.String;
|
|
1674
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1453
1675
|
readonly id: Schema.String;
|
|
1454
1676
|
readonly pullRequestId: Schema.String;
|
|
1455
1677
|
readonly awsAccountId: Schema.String;
|
|
1678
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1456
1679
|
readonly repositoryName: Schema.String;
|
|
1457
1680
|
readonly sourceBranch: Schema.String;
|
|
1458
1681
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -1463,7 +1686,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1463
1686
|
readonly error: Schema.NullOr<Schema.String>;
|
|
1464
1687
|
readonly createdAt: Schema.String;
|
|
1465
1688
|
readonly lastActivityAt: Schema.String;
|
|
1466
|
-
}
|
|
1689
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
1467
1690
|
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1468
1691
|
}>>, 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<{
|
|
1469
1692
|
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
@@ -1501,6 +1724,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1501
1724
|
readonly prTitle: Schema.String;
|
|
1502
1725
|
readonly author: Schema.String;
|
|
1503
1726
|
readonly repositoryName: Schema.String;
|
|
1727
|
+
readonly accountRegion: Schema.String;
|
|
1504
1728
|
readonly awsAccountId: Schema.String;
|
|
1505
1729
|
readonly durationMs: Schema.Number;
|
|
1506
1730
|
readonly fromLabel: Schema.String;
|
|
@@ -1511,6 +1735,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1511
1735
|
readonly prTitle: Schema.String;
|
|
1512
1736
|
readonly author: Schema.String;
|
|
1513
1737
|
readonly repositoryName: Schema.String;
|
|
1738
|
+
readonly accountRegion: Schema.String;
|
|
1514
1739
|
readonly awsAccountId: Schema.String;
|
|
1515
1740
|
readonly durationMs: Schema.Number;
|
|
1516
1741
|
readonly fromLabel: Schema.String;
|
|
@@ -1521,6 +1746,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1521
1746
|
readonly prTitle: Schema.String;
|
|
1522
1747
|
readonly author: Schema.String;
|
|
1523
1748
|
readonly repositoryName: Schema.String;
|
|
1749
|
+
readonly accountRegion: Schema.String;
|
|
1524
1750
|
readonly awsAccountId: Schema.String;
|
|
1525
1751
|
readonly durationMs: Schema.Number;
|
|
1526
1752
|
readonly fromLabel: Schema.String;
|
|
@@ -1531,6 +1757,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1531
1757
|
readonly title: Schema.String;
|
|
1532
1758
|
readonly author: Schema.String;
|
|
1533
1759
|
readonly repositoryName: Schema.String;
|
|
1760
|
+
readonly accountRegion: Schema.String;
|
|
1534
1761
|
readonly commentCount: Schema.Number;
|
|
1535
1762
|
readonly awsAccountId: Schema.String;
|
|
1536
1763
|
}>>;
|
|
@@ -1555,6 +1782,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1555
1782
|
readonly title: Schema.String;
|
|
1556
1783
|
readonly author: Schema.String;
|
|
1557
1784
|
readonly repositoryName: Schema.String;
|
|
1785
|
+
readonly accountRegion: Schema.String;
|
|
1558
1786
|
readonly daysSinceActivity: Schema.Number;
|
|
1559
1787
|
readonly awsAccountId: Schema.String;
|
|
1560
1788
|
}>>;
|
|
@@ -1572,12 +1800,18 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1572
1800
|
}>>, 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<{
|
|
1573
1801
|
readonly awsAccountId: Schema.String;
|
|
1574
1802
|
readonly pullRequestId: Schema.String;
|
|
1803
|
+
readonly repositoryName: Schema.NullOr<Schema.String>;
|
|
1804
|
+
readonly accountRegion: Schema.NullOr<Schema.String>;
|
|
1575
1805
|
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1576
1806
|
readonly awsAccountId: Schema.String;
|
|
1577
1807
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1808
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1809
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
1578
1810
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1579
1811
|
readonly awsAccountId: Schema.String;
|
|
1580
1812
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1813
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1814
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
1581
1815
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false>>;
|
|
1582
1816
|
export declare class CodeCommitApi extends CodeCommitApi_base {
|
|
1583
1817
|
}
|