@knpkv/codecommit-web 0.14.0 → 0.16.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-DqzI_8bH.js +90 -0
- package/dist/client/assets/index-Ds8Muxxv.css +1 -0
- package/dist/client/assets/pr-review-workspace-Ca3Vmiye.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 +515 -429
- package/dist/server/Api.d.ts.map +1 -1
- package/dist/server/Api.js +39 -9
- 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 +29 -15
- package/dist/server/handlers/prs-live.d.ts.map +1 -1
- package/dist/server/handlers/prs-live.js +104 -22
- 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 +77 -21
- package/dist/server/review/PullRequestReview.d.ts.map +1 -1
- package/dist/server/review/PullRequestReview.js +61 -18
- package/dist/server/review/PullRequestReview.js.map +1 -1
- package/dist/server/review/ReviewPromptBudget.d.ts +4 -0
- package/dist/server/review/ReviewPromptBudget.d.ts.map +1 -1
- package/dist/server/review/ReviewPromptBudget.js +4 -0
- package/dist/server/review/ReviewPromptBudget.js.map +1 -1
- package/package.json +7 -5
- package/dist/client/assets/index-DQUoxciG.js +0 -90
- package/dist/client/assets/index-NJaNHeOS.css +0 -1
- package/dist/client/assets/pr-review-workspace-C0TVEp1y.js +0 -22
package/dist/server/Api.d.ts
CHANGED
|
@@ -110,9 +110,9 @@ export declare const RelayReviewProfile: Schema.Struct<{
|
|
|
110
110
|
readonly id: Schema.String;
|
|
111
111
|
readonly name: Schema.String;
|
|
112
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>;
|
|
113
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
114
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
115
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
116
116
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
117
117
|
}>;
|
|
118
118
|
export type RelayReviewProfile = typeof RelayReviewProfile.Type;
|
|
@@ -215,7 +215,7 @@ export declare const RelayExplainResult: Schema.Struct<{
|
|
|
215
215
|
readonly verdict: Schema.String;
|
|
216
216
|
readonly explanation: Schema.String;
|
|
217
217
|
}>;
|
|
218
|
-
/** One
|
|
218
|
+
/** One Relay result bound to the exact diff that was reviewed within a durable pull-request thread. */
|
|
219
219
|
export declare const PullRequestRelayReviewResponse: Schema.Struct<{
|
|
220
220
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
221
221
|
readonly revisionId: Schema.String;
|
|
@@ -226,9 +226,9 @@ export declare const PullRequestRelayReviewResponse: Schema.Struct<{
|
|
|
226
226
|
readonly id: Schema.String;
|
|
227
227
|
readonly name: Schema.String;
|
|
228
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>;
|
|
229
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
230
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
231
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
232
232
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
233
233
|
}>;
|
|
234
234
|
readonly result: Schema.Struct<{
|
|
@@ -260,7 +260,8 @@ export declare const PullRequestRelayReviewResponse: Schema.Struct<{
|
|
|
260
260
|
export type PullRequestRelayReviewResponse = typeof PullRequestRelayReviewResponse.Type;
|
|
261
261
|
export declare const RelayReviewMessage: Schema.String;
|
|
262
262
|
export declare const RelayReviewConversationTurn: Schema.Struct<{
|
|
263
|
-
readonly
|
|
263
|
+
readonly id: Schema.optional<Schema.String>;
|
|
264
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
264
265
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
265
266
|
readonly message: Schema.String;
|
|
266
267
|
}>;
|
|
@@ -284,9 +285,9 @@ export declare const RelayReviewStreamEvent: Schema.Union<readonly [Schema.Struc
|
|
|
284
285
|
readonly id: Schema.String;
|
|
285
286
|
readonly name: Schema.String;
|
|
286
287
|
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>;
|
|
288
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
289
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
290
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
290
291
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
291
292
|
}>;
|
|
292
293
|
readonly result: Schema.Struct<{
|
|
@@ -335,16 +336,17 @@ export declare const RelayReviewStreamRequest: Schema.Struct<{
|
|
|
335
336
|
readonly id: Schema.String;
|
|
336
337
|
readonly name: Schema.String;
|
|
337
338
|
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>;
|
|
339
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
340
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
341
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
341
342
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
342
343
|
}>;
|
|
343
344
|
}>;
|
|
344
345
|
export type RelayReviewStreamRequest = typeof RelayReviewStreamRequest.Type;
|
|
345
346
|
export declare const MAXIMUM_RELAY_REVIEW_TURNS = 40;
|
|
346
347
|
export declare const RelayReviewConversationTurns: Schema.$Array<Schema.Struct<{
|
|
347
|
-
readonly
|
|
348
|
+
readonly id: Schema.optional<Schema.String>;
|
|
349
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
348
350
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
349
351
|
readonly message: Schema.String;
|
|
350
352
|
}>>;
|
|
@@ -356,9 +358,9 @@ export declare const RelayReviewContinueStreamRequest: Schema.Struct<{
|
|
|
356
358
|
readonly id: Schema.String;
|
|
357
359
|
readonly name: Schema.String;
|
|
358
360
|
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>;
|
|
361
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
362
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
363
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
362
364
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
363
365
|
}>;
|
|
364
366
|
readonly currentReview: Schema.Struct<{
|
|
@@ -387,11 +389,12 @@ export declare const RelayReviewContinueStreamRequest: Schema.Struct<{
|
|
|
387
389
|
readonly explanation: Schema.optional<Schema.String>;
|
|
388
390
|
}>;
|
|
389
391
|
readonly turns: Schema.$Array<Schema.Struct<{
|
|
390
|
-
readonly
|
|
392
|
+
readonly id: Schema.optional<Schema.String>;
|
|
393
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
391
394
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
392
395
|
readonly message: Schema.String;
|
|
393
396
|
}>>;
|
|
394
|
-
readonly findingId: Schema.String
|
|
397
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
395
398
|
readonly message: Schema.String;
|
|
396
399
|
}>;
|
|
397
400
|
export type RelayReviewContinueStreamRequest = typeof RelayReviewContinueStreamRequest.Type;
|
|
@@ -402,6 +405,8 @@ export declare const NotificationResponse: Schema.Struct<{
|
|
|
402
405
|
readonly type: Schema.String;
|
|
403
406
|
readonly title: Schema.String;
|
|
404
407
|
readonly profile: Schema.String;
|
|
408
|
+
readonly repositoryName: Schema.String;
|
|
409
|
+
readonly accountRegion: Schema.String;
|
|
405
410
|
readonly message: Schema.String;
|
|
406
411
|
readonly createdAt: Schema.String;
|
|
407
412
|
readonly read: Schema.Number;
|
|
@@ -437,7 +442,10 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
437
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<{
|
|
438
443
|
readonly awsAccountId: Schema.String;
|
|
439
444
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
440
|
-
}>>,
|
|
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<{
|
|
441
449
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
442
450
|
readonly revisionId: Schema.String;
|
|
443
451
|
readonly baseCommit: Schema.String;
|
|
@@ -455,6 +463,8 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
455
463
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
456
464
|
readonly fileIndex: Schema.NumberFromString;
|
|
457
465
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
466
|
+
readonly repositoryName: Schema.String;
|
|
467
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
458
468
|
readonly revisionId: Schema.String;
|
|
459
469
|
readonly baseCommit: Schema.String;
|
|
460
470
|
readonly headCommit: Schema.String;
|
|
@@ -471,7 +481,10 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
471
481
|
readonly awsAccountId: Schema.String;
|
|
472
482
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
473
483
|
readonly findingId: Schema.String;
|
|
474
|
-
}>>,
|
|
484
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
485
|
+
readonly repositoryName: Schema.String;
|
|
486
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
487
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
475
488
|
readonly revisionId: Schema.String;
|
|
476
489
|
readonly baseCommit: Schema.String;
|
|
477
490
|
readonly headCommit: Schema.String;
|
|
@@ -503,13 +516,19 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
503
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<{
|
|
504
517
|
readonly awsAccountId: Schema.String;
|
|
505
518
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
506
|
-
}>>,
|
|
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<{
|
|
507
523
|
readonly revisionId: Schema.String;
|
|
508
524
|
readonly headCommit: Schema.String;
|
|
509
525
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
510
526
|
readonly awsAccountId: Schema.String;
|
|
511
527
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
512
|
-
}>>,
|
|
528
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
529
|
+
readonly repositoryName: Schema.String;
|
|
530
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
531
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
513
532
|
readonly revisionId: Schema.String;
|
|
514
533
|
readonly baseCommit: Schema.String;
|
|
515
534
|
readonly headCommit: Schema.String;
|
|
@@ -517,9 +536,9 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
517
536
|
readonly id: Schema.String;
|
|
518
537
|
readonly name: Schema.String;
|
|
519
538
|
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>;
|
|
539
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
540
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
541
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
523
542
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
524
543
|
}>;
|
|
525
544
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
@@ -532,9 +551,9 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
532
551
|
readonly id: Schema.String;
|
|
533
552
|
readonly name: Schema.String;
|
|
534
553
|
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>;
|
|
554
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
555
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
556
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
538
557
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
539
558
|
}>;
|
|
540
559
|
readonly result: Schema.Struct<{
|
|
@@ -565,7 +584,10 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
565
584
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
566
585
|
readonly awsAccountId: Schema.String;
|
|
567
586
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
568
|
-
}>>,
|
|
587
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
588
|
+
readonly repositoryName: Schema.String;
|
|
589
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
590
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
569
591
|
readonly revisionId: Schema.String;
|
|
570
592
|
readonly baseCommit: Schema.String;
|
|
571
593
|
readonly headCommit: Schema.String;
|
|
@@ -573,9 +595,9 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
573
595
|
readonly id: Schema.String;
|
|
574
596
|
readonly name: Schema.String;
|
|
575
597
|
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>;
|
|
598
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
599
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
600
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
579
601
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
580
602
|
}>;
|
|
581
603
|
readonly currentReview: Schema.Struct<{
|
|
@@ -604,16 +626,20 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
604
626
|
readonly explanation: Schema.optional<Schema.String>;
|
|
605
627
|
}>;
|
|
606
628
|
readonly turns: Schema.$Array<Schema.Struct<{
|
|
607
|
-
readonly
|
|
629
|
+
readonly id: Schema.optional<Schema.String>;
|
|
630
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
608
631
|
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
609
632
|
readonly message: Schema.String;
|
|
610
633
|
}>>;
|
|
611
|
-
readonly findingId: Schema.String
|
|
634
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
612
635
|
readonly message: Schema.String;
|
|
613
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<{
|
|
614
637
|
readonly awsAccountId: Schema.String;
|
|
615
638
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
616
|
-
}>>,
|
|
639
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
640
|
+
readonly repositoryName: Schema.String;
|
|
641
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
642
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
617
643
|
readonly revisionId: Schema.String;
|
|
618
644
|
readonly baseCommit: Schema.String;
|
|
619
645
|
readonly headCommit: Schema.String;
|
|
@@ -621,9 +647,9 @@ declare const PrsGroup_base: HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.Ht
|
|
|
621
647
|
readonly id: Schema.String;
|
|
622
648
|
readonly name: Schema.String;
|
|
623
649
|
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>;
|
|
650
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
651
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
652
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
627
653
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
628
654
|
}>;
|
|
629
655
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -693,9 +719,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
693
719
|
readonly id: Schema.String;
|
|
694
720
|
readonly name: Schema.String;
|
|
695
721
|
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>;
|
|
722
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
723
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
724
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
699
725
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
700
726
|
}>>;
|
|
701
727
|
}>;
|
|
@@ -733,9 +759,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
733
759
|
readonly id: Schema.String;
|
|
734
760
|
readonly name: Schema.String;
|
|
735
761
|
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>;
|
|
762
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
763
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
764
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
739
765
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
740
766
|
}>>;
|
|
741
767
|
}>;
|
|
@@ -773,9 +799,9 @@ declare const ConfigGroup_base: HttpApiGroup.HttpApiGroup<"config", HttpApiEndpo
|
|
|
773
799
|
readonly id: Schema.String;
|
|
774
800
|
readonly name: Schema.String;
|
|
775
801
|
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>;
|
|
802
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
803
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
804
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
779
805
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
780
806
|
}>>;
|
|
781
807
|
}>>;
|
|
@@ -801,15 +827,27 @@ export declare class ConfigGroup extends ConfigGroup_base {
|
|
|
801
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>;
|
|
802
828
|
export declare class AccountsGroup extends AccountsGroup_base {
|
|
803
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
|
+
}>;
|
|
804
836
|
declare const SubscriptionsGroup_base: HttpApiGroup.HttpApiGroup<"subscriptions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/subscriptions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
805
837
|
readonly awsAccountId: Schema.String;
|
|
806
838
|
readonly pullRequestId: Schema.String;
|
|
839
|
+
readonly repositoryName: Schema.NullOr<Schema.String>;
|
|
840
|
+
readonly accountRegion: Schema.NullOr<Schema.String>;
|
|
807
841
|
}>>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
808
842
|
readonly awsAccountId: Schema.String;
|
|
809
843
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
844
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
845
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
810
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<{
|
|
811
847
|
readonly awsAccountId: Schema.String;
|
|
812
848
|
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
849
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
850
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
813
851
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
814
852
|
export declare class SubscriptionsGroup extends SubscriptionsGroup_base {
|
|
815
853
|
}
|
|
@@ -828,6 +866,8 @@ declare const NotificationsGroup_base: HttpApiGroup.HttpApiGroup<"notifications"
|
|
|
828
866
|
readonly type: Schema.String;
|
|
829
867
|
readonly title: Schema.String;
|
|
830
868
|
readonly profile: Schema.String;
|
|
869
|
+
readonly repositoryName: Schema.String;
|
|
870
|
+
readonly accountRegion: Schema.String;
|
|
831
871
|
readonly message: Schema.String;
|
|
832
872
|
readonly createdAt: Schema.String;
|
|
833
873
|
readonly read: Schema.Number;
|
|
@@ -846,6 +886,7 @@ export declare const SandboxResponse: Schema.Struct<{
|
|
|
846
886
|
readonly id: Schema.String;
|
|
847
887
|
readonly pullRequestId: Schema.String;
|
|
848
888
|
readonly awsAccountId: Schema.String;
|
|
889
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
849
890
|
readonly repositoryName: Schema.String;
|
|
850
891
|
readonly sourceBranch: Schema.String;
|
|
851
892
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -871,6 +912,7 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
871
912
|
readonly id: Schema.String;
|
|
872
913
|
readonly pullRequestId: Schema.String;
|
|
873
914
|
readonly awsAccountId: Schema.String;
|
|
915
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
874
916
|
readonly repositoryName: Schema.String;
|
|
875
917
|
readonly sourceBranch: Schema.String;
|
|
876
918
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -893,6 +935,7 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
893
935
|
readonly id: Schema.String;
|
|
894
936
|
readonly pullRequestId: Schema.String;
|
|
895
937
|
readonly awsAccountId: Schema.String;
|
|
938
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
896
939
|
readonly repositoryName: Schema.String;
|
|
897
940
|
readonly sourceBranch: Schema.String;
|
|
898
941
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -907,6 +950,7 @@ declare const SandboxGroup_base: HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEnd
|
|
|
907
950
|
readonly id: Schema.String;
|
|
908
951
|
readonly pullRequestId: Schema.String;
|
|
909
952
|
readonly awsAccountId: Schema.String;
|
|
953
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
910
954
|
readonly repositoryName: Schema.String;
|
|
911
955
|
readonly sourceBranch: Schema.String;
|
|
912
956
|
readonly containerId: Schema.NullOr<Schema.String>;
|
|
@@ -959,6 +1003,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
959
1003
|
readonly prTitle: Schema.String;
|
|
960
1004
|
readonly author: Schema.String;
|
|
961
1005
|
readonly repositoryName: Schema.String;
|
|
1006
|
+
readonly accountRegion: Schema.String;
|
|
962
1007
|
readonly awsAccountId: Schema.String;
|
|
963
1008
|
readonly durationMs: Schema.Number;
|
|
964
1009
|
readonly fromLabel: Schema.String;
|
|
@@ -969,6 +1014,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
969
1014
|
readonly prTitle: Schema.String;
|
|
970
1015
|
readonly author: Schema.String;
|
|
971
1016
|
readonly repositoryName: Schema.String;
|
|
1017
|
+
readonly accountRegion: Schema.String;
|
|
972
1018
|
readonly awsAccountId: Schema.String;
|
|
973
1019
|
readonly durationMs: Schema.Number;
|
|
974
1020
|
readonly fromLabel: Schema.String;
|
|
@@ -979,6 +1025,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
979
1025
|
readonly prTitle: Schema.String;
|
|
980
1026
|
readonly author: Schema.String;
|
|
981
1027
|
readonly repositoryName: Schema.String;
|
|
1028
|
+
readonly accountRegion: Schema.String;
|
|
982
1029
|
readonly awsAccountId: Schema.String;
|
|
983
1030
|
readonly durationMs: Schema.Number;
|
|
984
1031
|
readonly fromLabel: Schema.String;
|
|
@@ -989,6 +1036,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
989
1036
|
readonly title: Schema.String;
|
|
990
1037
|
readonly author: Schema.String;
|
|
991
1038
|
readonly repositoryName: Schema.String;
|
|
1039
|
+
readonly accountRegion: Schema.String;
|
|
992
1040
|
readonly commentCount: Schema.Number;
|
|
993
1041
|
readonly awsAccountId: Schema.String;
|
|
994
1042
|
}>>;
|
|
@@ -1013,6 +1061,7 @@ declare const StatsGroup_base: HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoin
|
|
|
1013
1061
|
readonly title: Schema.String;
|
|
1014
1062
|
readonly author: Schema.String;
|
|
1015
1063
|
readonly repositoryName: Schema.String;
|
|
1064
|
+
readonly accountRegion: Schema.String;
|
|
1016
1065
|
readonly daysSinceActivity: Schema.Number;
|
|
1017
1066
|
readonly awsAccountId: Schema.String;
|
|
1018
1067
|
}>>;
|
|
@@ -1099,7 +1148,114 @@ declare const AuditGroup_base: HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoin
|
|
|
1099
1148
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
1100
1149
|
export declare class AuditGroup extends AuditGroup_base {
|
|
1101
1150
|
}
|
|
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<"
|
|
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<"events", HttpApiEndpoint.HttpApiEndpoint<"stream", "GET", "/api/events/", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoint.HttpApiEndpoint<"sync", "POST", "/api/stats/sync", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1152
|
+
readonly week: Schema.String;
|
|
1153
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/stats/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1154
|
+
readonly week: Schema.String;
|
|
1155
|
+
readonly repo: Schema.optional<Schema.String>;
|
|
1156
|
+
readonly author: Schema.optional<Schema.String>;
|
|
1157
|
+
readonly account: Schema.optional<Schema.String>;
|
|
1158
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1159
|
+
readonly week: Schema.String;
|
|
1160
|
+
readonly weekStart: Schema.String;
|
|
1161
|
+
readonly weekEnd: Schema.String;
|
|
1162
|
+
readonly dataAvailableSince: Schema.NullOr<Schema.String>;
|
|
1163
|
+
readonly prsCreated: Schema.Number;
|
|
1164
|
+
readonly prsMerged: Schema.Number;
|
|
1165
|
+
readonly prsClosed: Schema.Number;
|
|
1166
|
+
readonly totalComments: Schema.Number;
|
|
1167
|
+
readonly topContributors: Schema.$Array<Schema.Struct<{
|
|
1168
|
+
readonly author: Schema.String;
|
|
1169
|
+
readonly prCount: Schema.Number;
|
|
1170
|
+
}>>;
|
|
1171
|
+
readonly topReviewers: Schema.$Array<Schema.Struct<{
|
|
1172
|
+
readonly author: Schema.String;
|
|
1173
|
+
readonly commentCount: Schema.Number;
|
|
1174
|
+
}>>;
|
|
1175
|
+
readonly topApprovers: Schema.$Array<Schema.Struct<{
|
|
1176
|
+
readonly author: Schema.String;
|
|
1177
|
+
readonly approvalCount: Schema.Number;
|
|
1178
|
+
}>>;
|
|
1179
|
+
readonly medianTimeToMerge: Schema.NullOr<Schema.Number>;
|
|
1180
|
+
readonly medianTimeToFirstReview: Schema.NullOr<Schema.Number>;
|
|
1181
|
+
readonly medianTimeToAddressFeedback: Schema.NullOr<Schema.Number>;
|
|
1182
|
+
readonly mergeTimeDetails: Schema.$Array<Schema.Struct<{
|
|
1183
|
+
readonly prId: Schema.String;
|
|
1184
|
+
readonly prTitle: Schema.String;
|
|
1185
|
+
readonly author: Schema.String;
|
|
1186
|
+
readonly repositoryName: Schema.String;
|
|
1187
|
+
readonly accountRegion: Schema.String;
|
|
1188
|
+
readonly awsAccountId: Schema.String;
|
|
1189
|
+
readonly durationMs: Schema.Number;
|
|
1190
|
+
readonly fromLabel: Schema.String;
|
|
1191
|
+
readonly toLabel: Schema.String;
|
|
1192
|
+
}>>;
|
|
1193
|
+
readonly firstReviewDetails: Schema.$Array<Schema.Struct<{
|
|
1194
|
+
readonly prId: Schema.String;
|
|
1195
|
+
readonly prTitle: Schema.String;
|
|
1196
|
+
readonly author: Schema.String;
|
|
1197
|
+
readonly repositoryName: Schema.String;
|
|
1198
|
+
readonly accountRegion: Schema.String;
|
|
1199
|
+
readonly awsAccountId: Schema.String;
|
|
1200
|
+
readonly durationMs: Schema.Number;
|
|
1201
|
+
readonly fromLabel: Schema.String;
|
|
1202
|
+
readonly toLabel: Schema.String;
|
|
1203
|
+
}>>;
|
|
1204
|
+
readonly feedbackDetails: Schema.$Array<Schema.Struct<{
|
|
1205
|
+
readonly prId: Schema.String;
|
|
1206
|
+
readonly prTitle: Schema.String;
|
|
1207
|
+
readonly author: Schema.String;
|
|
1208
|
+
readonly repositoryName: Schema.String;
|
|
1209
|
+
readonly accountRegion: Schema.String;
|
|
1210
|
+
readonly awsAccountId: Schema.String;
|
|
1211
|
+
readonly durationMs: Schema.Number;
|
|
1212
|
+
readonly fromLabel: Schema.String;
|
|
1213
|
+
readonly toLabel: Schema.String;
|
|
1214
|
+
}>>;
|
|
1215
|
+
readonly mostActivePRs: Schema.$Array<Schema.Struct<{
|
|
1216
|
+
readonly id: Schema.String;
|
|
1217
|
+
readonly title: Schema.String;
|
|
1218
|
+
readonly author: Schema.String;
|
|
1219
|
+
readonly repositoryName: Schema.String;
|
|
1220
|
+
readonly accountRegion: Schema.String;
|
|
1221
|
+
readonly commentCount: Schema.Number;
|
|
1222
|
+
readonly awsAccountId: Schema.String;
|
|
1223
|
+
}>>;
|
|
1224
|
+
readonly prSizeDistribution: Schema.Struct<{
|
|
1225
|
+
readonly small: Schema.Number;
|
|
1226
|
+
readonly medium: Schema.Number;
|
|
1227
|
+
readonly large: Schema.Number;
|
|
1228
|
+
readonly extraLarge: Schema.Number;
|
|
1229
|
+
}>;
|
|
1230
|
+
readonly avgDiffSize: Schema.NullOr<Schema.Struct<{
|
|
1231
|
+
readonly filesAdded: Schema.Number;
|
|
1232
|
+
readonly filesModified: Schema.Number;
|
|
1233
|
+
readonly filesDeleted: Schema.Number;
|
|
1234
|
+
}>>;
|
|
1235
|
+
readonly diffSizeByContributor: Schema.$Array<Schema.Struct<{
|
|
1236
|
+
readonly author: Schema.String;
|
|
1237
|
+
readonly avgFilesChanged: Schema.Number;
|
|
1238
|
+
readonly prCount: Schema.Number;
|
|
1239
|
+
}>>;
|
|
1240
|
+
readonly stalePRs: Schema.$Array<Schema.Struct<{
|
|
1241
|
+
readonly id: Schema.String;
|
|
1242
|
+
readonly title: Schema.String;
|
|
1243
|
+
readonly author: Schema.String;
|
|
1244
|
+
readonly repositoryName: Schema.String;
|
|
1245
|
+
readonly accountRegion: Schema.String;
|
|
1246
|
+
readonly daysSinceActivity: Schema.Number;
|
|
1247
|
+
readonly awsAccountId: Schema.String;
|
|
1248
|
+
}>>;
|
|
1249
|
+
readonly reviewCoverage: Schema.NullOr<Schema.Number>;
|
|
1250
|
+
readonly approvalRate: Schema.NullOr<Schema.Number>;
|
|
1251
|
+
readonly busFactor: Schema.NullOr<Schema.Struct<{
|
|
1252
|
+
readonly topContributorShare: Schema.Number;
|
|
1253
|
+
readonly uniqueContributors: Schema.Number;
|
|
1254
|
+
}>>;
|
|
1255
|
+
readonly availableRepos: Schema.$Array<Schema.String>;
|
|
1256
|
+
readonly availableAuthors: Schema.$Array<Schema.String>;
|
|
1257
|
+
readonly availableAccounts: Schema.$Array<Schema.String>;
|
|
1258
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoint.HttpApiEndpoint<"clear", "DELETE", "/api/audit/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1103
1259
|
readonly deleted: Schema.Number;
|
|
1104
1260
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/audit/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1105
1261
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
@@ -1135,7 +1291,136 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1135
1291
|
readonly permissionState: Schema.String;
|
|
1136
1292
|
readonly context: Schema.String;
|
|
1137
1293
|
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
1138
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"
|
|
1294
|
+
}>>>, 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<{
|
|
1295
|
+
readonly awsAccountId: Schema.String;
|
|
1296
|
+
readonly pullRequestId: Schema.String;
|
|
1297
|
+
readonly repositoryName: Schema.NullOr<Schema.String>;
|
|
1298
|
+
readonly accountRegion: Schema.NullOr<Schema.String>;
|
|
1299
|
+
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1300
|
+
readonly awsAccountId: Schema.String;
|
|
1301
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1302
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1303
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
1304
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1305
|
+
readonly awsAccountId: Schema.String;
|
|
1306
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1307
|
+
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1308
|
+
readonly region: Schema.optional<Schema.Trim>;
|
|
1309
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"permissions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1310
|
+
readonly operation: Schema.String;
|
|
1311
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1312
|
+
readonly category: Schema.Literals<readonly ["read", "write"]>;
|
|
1313
|
+
readonly description: Schema.String;
|
|
1314
|
+
}>>>, never, 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<{
|
|
1315
|
+
readonly id: Schema.String;
|
|
1316
|
+
readonly response: Schema.Literals<readonly ["allow_once", "always_allow", "deny"]>;
|
|
1317
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1318
|
+
readonly operation: Schema.String;
|
|
1319
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1320
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1321
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
1322
|
+
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
1323
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"auditSettings", "GET", "/api/permissions/audit", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1324
|
+
readonly enabled: Schema.Boolean;
|
|
1325
|
+
readonly retentionDays: Schema.Number;
|
|
1326
|
+
}>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"markAllRead", "POST", "/api/notifications/read-all", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markRead", "POST", "/api/notifications/read", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1327
|
+
readonly id: Schema.Number;
|
|
1328
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markUnread", "POST", "/api/notifications/unread", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1329
|
+
readonly id: Schema.Number;
|
|
1330
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogin", "POST", "/api/notifications/sso-login", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1331
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1332
|
+
}>>, 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<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1333
|
+
readonly unread: Schema.Number;
|
|
1334
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1335
|
+
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1336
|
+
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1337
|
+
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
1338
|
+
readonly unreadOnly: Schema.optional<Schema.NumberFromString>;
|
|
1339
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1340
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1341
|
+
readonly id: Schema.Number;
|
|
1342
|
+
readonly pullRequestId: Schema.String;
|
|
1343
|
+
readonly awsAccountId: Schema.String;
|
|
1344
|
+
readonly type: Schema.String;
|
|
1345
|
+
readonly title: Schema.String;
|
|
1346
|
+
readonly profile: Schema.String;
|
|
1347
|
+
readonly repositoryName: Schema.String;
|
|
1348
|
+
readonly accountRegion: Schema.String;
|
|
1349
|
+
readonly message: Schema.String;
|
|
1350
|
+
readonly createdAt: Schema.String;
|
|
1351
|
+
readonly read: Schema.Number;
|
|
1352
|
+
}>>;
|
|
1353
|
+
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1354
|
+
}>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1355
|
+
readonly id: Schema.String;
|
|
1356
|
+
readonly pullRequestId: Schema.String;
|
|
1357
|
+
readonly awsAccountId: Schema.String;
|
|
1358
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1359
|
+
readonly repositoryName: Schema.String;
|
|
1360
|
+
readonly sourceBranch: Schema.String;
|
|
1361
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1362
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1363
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1364
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1365
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1366
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1367
|
+
readonly createdAt: Schema.String;
|
|
1368
|
+
readonly lastActivityAt: Schema.String;
|
|
1369
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1370
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1371
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
1372
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1373
|
+
}>>, 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<{
|
|
1374
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1375
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1376
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1377
|
+
readonly awsAccountId: Schema.String;
|
|
1378
|
+
readonly repositoryName: Schema.String;
|
|
1379
|
+
readonly sourceBranch: Schema.String;
|
|
1380
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1381
|
+
readonly region: Schema.String;
|
|
1382
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1383
|
+
readonly id: Schema.String;
|
|
1384
|
+
readonly pullRequestId: Schema.String;
|
|
1385
|
+
readonly awsAccountId: Schema.String;
|
|
1386
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1387
|
+
readonly repositoryName: Schema.String;
|
|
1388
|
+
readonly sourceBranch: Schema.String;
|
|
1389
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1390
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1391
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1392
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1393
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1394
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1395
|
+
readonly createdAt: Schema.String;
|
|
1396
|
+
readonly lastActivityAt: Schema.String;
|
|
1397
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1398
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1399
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1400
|
+
readonly id: Schema.String;
|
|
1401
|
+
readonly pullRequestId: Schema.String;
|
|
1402
|
+
readonly awsAccountId: Schema.String;
|
|
1403
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1404
|
+
readonly repositoryName: Schema.String;
|
|
1405
|
+
readonly sourceBranch: Schema.String;
|
|
1406
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1407
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1408
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1409
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1410
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1411
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1412
|
+
readonly createdAt: Schema.String;
|
|
1413
|
+
readonly lastActivityAt: Schema.String;
|
|
1414
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1415
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1416
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1417
|
+
readonly password: Schema.String;
|
|
1418
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1419
|
+
readonly id: Schema.String;
|
|
1420
|
+
readonly name: Schema.String;
|
|
1421
|
+
readonly description: Schema.String;
|
|
1422
|
+
readonly source: Schema.String;
|
|
1423
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1139
1424
|
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1140
1425
|
readonly profile: Schema.String;
|
|
1141
1426
|
readonly regions: Schema.$Array<Schema.String>;
|
|
@@ -1144,19 +1429,52 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1144
1429
|
readonly autoDetect: Schema.Boolean;
|
|
1145
1430
|
readonly autoRefresh: Schema.Boolean;
|
|
1146
1431
|
readonly refreshIntervalSeconds: Schema.Number;
|
|
1147
|
-
readonly
|
|
1148
|
-
readonly review: Schema.Struct<{
|
|
1432
|
+
readonly review: Schema.optional<Schema.Struct<{
|
|
1149
1433
|
readonly defaultProfileId: Schema.String;
|
|
1150
1434
|
readonly profiles: Schema.$Array<Schema.Struct<{
|
|
1151
1435
|
readonly id: Schema.String;
|
|
1152
1436
|
readonly name: Schema.String;
|
|
1153
1437
|
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>;
|
|
1438
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1439
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1440
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1157
1441
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1158
1442
|
}>>;
|
|
1159
|
-
}
|
|
1443
|
+
}>>;
|
|
1444
|
+
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
1445
|
+
readonly image: Schema.String;
|
|
1446
|
+
readonly extensions: Schema.$Array<Schema.String>;
|
|
1447
|
+
readonly setupCommands: Schema.$Array<Schema.String>;
|
|
1448
|
+
readonly env: Schema.$Record<Schema.String, Schema.String>;
|
|
1449
|
+
readonly volumeMounts: Schema.$Array<Schema.Struct<{
|
|
1450
|
+
readonly hostPath: Schema.String;
|
|
1451
|
+
readonly containerPath: Schema.String;
|
|
1452
|
+
readonly readonly: Schema.Boolean;
|
|
1453
|
+
}>>;
|
|
1454
|
+
readonly cloneDepth: Schema.Number;
|
|
1455
|
+
}>>;
|
|
1456
|
+
}>>, never, Schema.toCodecJson<Schema.Literals<readonly ["saved", "saved-refresh-failed"]>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/config/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1457
|
+
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1458
|
+
readonly profile: Schema.String;
|
|
1459
|
+
readonly regions: Schema.$Array<Schema.String>;
|
|
1460
|
+
readonly enabled: Schema.Boolean;
|
|
1461
|
+
}>>;
|
|
1462
|
+
readonly autoDetect: Schema.Boolean;
|
|
1463
|
+
readonly autoRefresh: Schema.Boolean;
|
|
1464
|
+
readonly refreshIntervalSeconds: Schema.Number;
|
|
1465
|
+
readonly currentUser: Schema.optional<Schema.String>;
|
|
1466
|
+
readonly review: Schema.Struct<{
|
|
1467
|
+
readonly defaultProfileId: Schema.String;
|
|
1468
|
+
readonly profiles: Schema.$Array<Schema.Struct<{
|
|
1469
|
+
readonly id: Schema.String;
|
|
1470
|
+
readonly name: Schema.String;
|
|
1471
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1472
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1473
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1474
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1475
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1476
|
+
}>>;
|
|
1477
|
+
}>;
|
|
1160
1478
|
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
1161
1479
|
readonly image: Schema.String;
|
|
1162
1480
|
readonly extensions: Schema.$Array<Schema.String>;
|
|
@@ -1169,15 +1487,19 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1169
1487
|
}>>;
|
|
1170
1488
|
readonly cloneDepth: Schema.Number;
|
|
1171
1489
|
}>>;
|
|
1172
|
-
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1490
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"path", "GET", "/api/config/path", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1173
1491
|
readonly path: Schema.String;
|
|
1174
|
-
readonly sizeBytes: Schema.Number;
|
|
1175
1492
|
readonly exists: Schema.Boolean;
|
|
1176
1493
|
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1177
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1494
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"database", "GET", "/api/config/database", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1178
1495
|
readonly path: Schema.String;
|
|
1496
|
+
readonly sizeBytes: Schema.Number;
|
|
1179
1497
|
readonly exists: Schema.Boolean;
|
|
1180
1498
|
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1499
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"validate", "GET", "/api/config/validate", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1500
|
+
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
1501
|
+
readonly path: Schema.String;
|
|
1502
|
+
readonly errors: Schema.$Array<Schema.String>;
|
|
1181
1503
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/config/reset", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1182
1504
|
readonly backupPath: Schema.optional<Schema.String>;
|
|
1183
1505
|
readonly config: Schema.Struct<{
|
|
@@ -1196,9 +1518,9 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1196
1518
|
readonly id: Schema.String;
|
|
1197
1519
|
readonly name: Schema.String;
|
|
1198
1520
|
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>;
|
|
1521
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1522
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1523
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1202
1524
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1203
1525
|
}>>;
|
|
1204
1526
|
}>;
|
|
@@ -1216,166 +1538,52 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1216
1538
|
}>>;
|
|
1217
1539
|
}>;
|
|
1218
1540
|
readonly refreshStatus: Schema.Literals<readonly ["refreshed", "failed"]>;
|
|
1219
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
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<{
|
|
1541
|
+
}>>, 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<"refresh", "POST", "/api/prs/refresh", never, never, never, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1305
1542
|
readonly repositoryName: Schema.String;
|
|
1306
1543
|
readonly title: Schema.String;
|
|
1307
1544
|
readonly description: Schema.optional<Schema.String>;
|
|
1308
1545
|
readonly sourceBranch: Schema.String;
|
|
1309
1546
|
readonly destinationBranch: Schema.String;
|
|
1310
1547
|
readonly account: typeof Account;
|
|
1311
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1312
|
-
readonly
|
|
1313
|
-
readonly
|
|
1314
|
-
|
|
1315
|
-
readonly
|
|
1316
|
-
readonly
|
|
1317
|
-
|
|
1318
|
-
readonly
|
|
1319
|
-
readonly
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1548
|
+
}>>, 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<{
|
|
1549
|
+
readonly pullRequestId: Schema.String;
|
|
1550
|
+
readonly approvalRuleName: Schema.String;
|
|
1551
|
+
readonly requiredApprovals: Schema.Number;
|
|
1552
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1553
|
+
readonly account: typeof Account;
|
|
1554
|
+
}>>, 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<{
|
|
1555
|
+
readonly pullRequestId: Schema.String;
|
|
1556
|
+
readonly approvalRuleName: Schema.String;
|
|
1557
|
+
readonly account: typeof Account;
|
|
1558
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1559
|
+
readonly profile: Schema.String;
|
|
1560
|
+
readonly link: Schema.String;
|
|
1561
|
+
}>>, 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<{
|
|
1562
|
+
readonly pullRequestId: Schema.String;
|
|
1563
|
+
readonly approvalRuleName: Schema.String;
|
|
1564
|
+
readonly requiredApprovals: Schema.Number;
|
|
1565
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1566
|
+
readonly account: typeof Account;
|
|
1567
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
1328
1568
|
readonly awsAccountId: Schema.String;
|
|
1329
1569
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1330
|
-
readonly fileIndex: Schema.NumberFromString;
|
|
1331
1570
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1571
|
+
readonly repositoryName: Schema.String;
|
|
1572
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1573
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1332
1574
|
readonly revisionId: Schema.String;
|
|
1333
1575
|
readonly baseCommit: Schema.String;
|
|
1334
1576
|
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
1577
|
readonly profile: Schema.Struct<{
|
|
1370
1578
|
readonly id: Schema.String;
|
|
1371
1579
|
readonly name: Schema.String;
|
|
1372
1580
|
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>;
|
|
1581
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1582
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1583
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1376
1584
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1377
1585
|
}>;
|
|
1378
|
-
readonly
|
|
1586
|
+
readonly currentReview: Schema.Struct<{
|
|
1379
1587
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1380
1588
|
readonly id: Schema.String;
|
|
1381
1589
|
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
@@ -1400,23 +1608,87 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1400
1608
|
readonly verdict: Schema.String;
|
|
1401
1609
|
readonly explanation: Schema.optional<Schema.String>;
|
|
1402
1610
|
}>;
|
|
1403
|
-
|
|
1611
|
+
readonly turns: Schema.$Array<Schema.Struct<{
|
|
1612
|
+
readonly id: Schema.optional<Schema.String>;
|
|
1613
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1614
|
+
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
1615
|
+
readonly message: Schema.String;
|
|
1616
|
+
}>>;
|
|
1617
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1618
|
+
readonly message: Schema.String;
|
|
1619
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/stream", Schema.toCodecStringTree<Schema.Struct<{
|
|
1404
1620
|
readonly awsAccountId: Schema.String;
|
|
1405
1621
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1622
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1623
|
+
readonly repositoryName: Schema.String;
|
|
1624
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1625
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1626
|
+
readonly revisionId: Schema.String;
|
|
1627
|
+
readonly baseCommit: Schema.String;
|
|
1628
|
+
readonly headCommit: Schema.String;
|
|
1629
|
+
readonly profile: Schema.Struct<{
|
|
1630
|
+
readonly id: Schema.String;
|
|
1631
|
+
readonly name: Schema.String;
|
|
1632
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1633
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1634
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1635
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1636
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1637
|
+
}>;
|
|
1638
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1639
|
+
readonly awsAccountId: Schema.String;
|
|
1640
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1641
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1642
|
+
readonly repositoryName: Schema.String;
|
|
1643
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1644
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1645
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1646
|
+
readonly revisionId: Schema.String;
|
|
1647
|
+
readonly baseCommit: Schema.String;
|
|
1648
|
+
readonly headCommit: Schema.String;
|
|
1649
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
1650
|
+
readonly index: Schema.Int;
|
|
1651
|
+
readonly status: Schema.Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
1652
|
+
readonly path: Schema.String;
|
|
1653
|
+
readonly previousPath: Schema.NullOr<Schema.String>;
|
|
1654
|
+
readonly beforeMode: Schema.NullOr<Schema.String>;
|
|
1655
|
+
readonly afterMode: Schema.NullOr<Schema.String>;
|
|
1656
|
+
}>>;
|
|
1657
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
1658
|
+
readonly awsAccountId: Schema.String;
|
|
1659
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1660
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1661
|
+
readonly repositoryName: Schema.String;
|
|
1662
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1663
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1664
|
+
readonly revisionId: Schema.String;
|
|
1665
|
+
readonly baseCommit: Schema.String;
|
|
1666
|
+
readonly headCommit: Schema.String;
|
|
1667
|
+
readonly profile: Schema.Struct<{
|
|
1668
|
+
readonly id: Schema.String;
|
|
1669
|
+
readonly name: Schema.String;
|
|
1670
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1671
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1672
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1673
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1674
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1675
|
+
}>;
|
|
1406
1676
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1677
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1407
1678
|
readonly revisionId: Schema.String;
|
|
1408
1679
|
readonly baseCommit: Schema.String;
|
|
1409
1680
|
readonly headCommit: Schema.String;
|
|
1681
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1410
1682
|
readonly profile: Schema.Struct<{
|
|
1411
1683
|
readonly id: Schema.String;
|
|
1412
1684
|
readonly name: Schema.String;
|
|
1413
1685
|
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>;
|
|
1686
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1687
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1688
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1417
1689
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1418
1690
|
}>;
|
|
1419
|
-
readonly
|
|
1691
|
+
readonly result: Schema.Struct<{
|
|
1420
1692
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1421
1693
|
readonly id: Schema.String;
|
|
1422
1694
|
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
@@ -1441,18 +1713,14 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1441
1713
|
readonly verdict: Schema.String;
|
|
1442
1714
|
readonly explanation: Schema.optional<Schema.String>;
|
|
1443
1715
|
}>;
|
|
1444
|
-
|
|
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<{
|
|
1716
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"postRelayFinding", "POST", "/api/prs/:awsAccountId/:prId/relay-review/findings/:findingId/post", Schema.toCodecStringTree<Schema.Struct<{
|
|
1452
1717
|
readonly awsAccountId: Schema.String;
|
|
1453
1718
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1454
1719
|
readonly findingId: Schema.String;
|
|
1455
|
-
}>>,
|
|
1720
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1721
|
+
readonly repositoryName: Schema.String;
|
|
1722
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1723
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1456
1724
|
readonly revisionId: Schema.String;
|
|
1457
1725
|
readonly baseCommit: Schema.String;
|
|
1458
1726
|
readonly headCommit: Schema.String;
|
|
@@ -1481,53 +1749,16 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1481
1749
|
readonly findingId: Schema.String;
|
|
1482
1750
|
readonly operationId: Schema.String;
|
|
1483
1751
|
readonly summary: Schema.String;
|
|
1484
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1752
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
1485
1753
|
readonly awsAccountId: Schema.String;
|
|
1486
1754
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1487
|
-
}>>,
|
|
1755
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1756
|
+
readonly repositoryName: Schema.optional<Schema.String>;
|
|
1757
|
+
readonly region: Schema.optional<Schema.brand<Schema.String, "AwsRegion">>;
|
|
1758
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1488
1759
|
readonly revisionId: Schema.String;
|
|
1489
|
-
readonly baseCommit: Schema.String;
|
|
1490
1760
|
readonly headCommit: Schema.String;
|
|
1491
|
-
|
|
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<{
|
|
1761
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1531
1762
|
readonly q: Schema.String;
|
|
1532
1763
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1533
1764
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
@@ -1554,179 +1785,34 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1554
1785
|
}>>;
|
|
1555
1786
|
readonly total: Schema.Number;
|
|
1556
1787
|
readonly hasMore: Schema.Boolean;
|
|
1557
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never
|
|
1558
|
-
readonly id: Schema.String;
|
|
1788
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1559
1789
|
readonly pullRequestId: Schema.String;
|
|
1560
|
-
readonly awsAccountId: Schema.String;
|
|
1561
1790
|
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
1791
|
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1577
|
-
readonly region: Schema.String
|
|
1578
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1579
|
-
readonly
|
|
1580
|
-
readonly
|
|
1581
|
-
readonly
|
|
1582
|
-
readonly
|
|
1583
|
-
readonly
|
|
1584
|
-
|
|
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;
|
|
1792
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1793
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1794
|
+
readonly filePath: Schema.optional<Schema.String>;
|
|
1795
|
+
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
1796
|
+
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1797
|
+
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1798
|
+
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1799
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diffContent", "GET", "/api/prs/:awsAccountId/:prId/diff/:fileIndex", Schema.toCodecStringTree<Schema.Struct<{
|
|
1599
1800
|
readonly awsAccountId: Schema.String;
|
|
1801
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1802
|
+
readonly fileIndex: Schema.NumberFromString;
|
|
1803
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1600
1804
|
readonly repositoryName: Schema.String;
|
|
1601
|
-
readonly
|
|
1602
|
-
readonly
|
|
1603
|
-
readonly
|
|
1604
|
-
readonly
|
|
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>;
|
|
1805
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1806
|
+
readonly revisionId: Schema.String;
|
|
1807
|
+
readonly baseCommit: Schema.String;
|
|
1808
|
+
readonly headCommit: Schema.String;
|
|
1623
1809
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1624
|
-
readonly
|
|
1625
|
-
readonly
|
|
1626
|
-
readonly
|
|
1627
|
-
readonly
|
|
1628
|
-
readonly
|
|
1629
|
-
|
|
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>>;
|
|
1810
|
+
readonly fileIndex: Schema.Int;
|
|
1811
|
+
readonly revisionId: Schema.String;
|
|
1812
|
+
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
1813
|
+
readonly before: Schema.NullOr<Schema.String>;
|
|
1814
|
+
readonly after: Schema.NullOr<Schema.String>;
|
|
1815
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false>>;
|
|
1730
1816
|
export declare class CodeCommitApi extends CodeCommitApi_base {
|
|
1731
1817
|
}
|
|
1732
1818
|
//# sourceMappingURL=Api.d.ts.map
|