@knpkv/codecommit-web 0.17.0 → 0.19.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/README.md +7 -4
- package/dist/server/Api.d.ts +421 -421
- package/dist/server/Server.d.ts +11 -7
- package/dist/server/Server.d.ts.map +1 -1
- package/dist/server/Server.js +27 -77
- package/dist/server/Server.js.map +1 -1
- package/dist/server/internal/OwnerSession.d.ts +18 -0
- package/dist/server/internal/OwnerSession.d.ts.map +1 -0
- package/dist/server/internal/OwnerSession.js +27 -0
- package/dist/server/internal/OwnerSession.js.map +1 -0
- package/dist/server/internal/PublicOrigin.d.ts +2 -5
- package/dist/server/internal/PublicOrigin.d.ts.map +1 -1
- package/dist/server/internal/PublicOrigin.js +4 -9
- package/dist/server/internal/PublicOrigin.js.map +1 -1
- package/dist/server/internal/StaticClient.d.ts +7 -0
- package/dist/server/internal/StaticClient.d.ts.map +1 -0
- package/dist/server/internal/StaticClient.js +8 -0
- package/dist/server/internal/StaticClient.js.map +1 -0
- package/dist/tooling/authenticated-dev-proxy.test.js +18 -24
- package/dist/tooling/authenticated-dev-proxy.test.js.map +1 -1
- package/package.json +6 -6
- package/dist/server/internal/OwnerSessionSecurity.d.ts +0 -57
- package/dist/server/internal/OwnerSessionSecurity.d.ts.map +0 -1
- package/dist/server/internal/OwnerSessionSecurity.js +0 -220
- package/dist/server/internal/OwnerSessionSecurity.js.map +0 -1
package/dist/server/Api.d.ts
CHANGED
|
@@ -1148,9 +1148,128 @@ declare const AuditGroup_base: HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoin
|
|
|
1148
1148
|
}>>, Schema.toCodecJson<typeof ApiError>, never, never>, false>;
|
|
1149
1149
|
export declare class AuditGroup extends AuditGroup_base {
|
|
1150
1150
|
}
|
|
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<"
|
|
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<"get", "GET", "/api/stats/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1152
|
+
readonly week: Schema.String;
|
|
1153
|
+
readonly repo: Schema.optional<Schema.String>;
|
|
1154
|
+
readonly author: Schema.optional<Schema.String>;
|
|
1155
|
+
readonly account: Schema.optional<Schema.String>;
|
|
1156
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1157
|
+
readonly week: Schema.String;
|
|
1158
|
+
readonly weekStart: Schema.String;
|
|
1159
|
+
readonly weekEnd: Schema.String;
|
|
1160
|
+
readonly dataAvailableSince: Schema.NullOr<Schema.String>;
|
|
1161
|
+
readonly prsCreated: Schema.Number;
|
|
1162
|
+
readonly prsMerged: Schema.Number;
|
|
1163
|
+
readonly prsClosed: Schema.Number;
|
|
1164
|
+
readonly totalComments: Schema.Number;
|
|
1165
|
+
readonly topContributors: Schema.$Array<Schema.Struct<{
|
|
1166
|
+
readonly author: Schema.String;
|
|
1167
|
+
readonly prCount: Schema.Number;
|
|
1168
|
+
}>>;
|
|
1169
|
+
readonly topReviewers: Schema.$Array<Schema.Struct<{
|
|
1170
|
+
readonly author: Schema.String;
|
|
1171
|
+
readonly commentCount: Schema.Number;
|
|
1172
|
+
}>>;
|
|
1173
|
+
readonly topApprovers: Schema.$Array<Schema.Struct<{
|
|
1174
|
+
readonly author: Schema.String;
|
|
1175
|
+
readonly approvalCount: Schema.Number;
|
|
1176
|
+
}>>;
|
|
1177
|
+
readonly medianTimeToMerge: Schema.NullOr<Schema.Number>;
|
|
1178
|
+
readonly medianTimeToFirstReview: Schema.NullOr<Schema.Number>;
|
|
1179
|
+
readonly medianTimeToAddressFeedback: Schema.NullOr<Schema.Number>;
|
|
1180
|
+
readonly mergeTimeDetails: Schema.$Array<Schema.Struct<{
|
|
1181
|
+
readonly prId: Schema.String;
|
|
1182
|
+
readonly prTitle: Schema.String;
|
|
1183
|
+
readonly author: Schema.String;
|
|
1184
|
+
readonly repositoryName: Schema.String;
|
|
1185
|
+
readonly accountRegion: Schema.String;
|
|
1186
|
+
readonly awsAccountId: Schema.String;
|
|
1187
|
+
readonly durationMs: Schema.Number;
|
|
1188
|
+
readonly fromLabel: Schema.String;
|
|
1189
|
+
readonly toLabel: Schema.String;
|
|
1190
|
+
}>>;
|
|
1191
|
+
readonly firstReviewDetails: Schema.$Array<Schema.Struct<{
|
|
1192
|
+
readonly prId: Schema.String;
|
|
1193
|
+
readonly prTitle: Schema.String;
|
|
1194
|
+
readonly author: Schema.String;
|
|
1195
|
+
readonly repositoryName: Schema.String;
|
|
1196
|
+
readonly accountRegion: Schema.String;
|
|
1197
|
+
readonly awsAccountId: Schema.String;
|
|
1198
|
+
readonly durationMs: Schema.Number;
|
|
1199
|
+
readonly fromLabel: Schema.String;
|
|
1200
|
+
readonly toLabel: Schema.String;
|
|
1201
|
+
}>>;
|
|
1202
|
+
readonly feedbackDetails: Schema.$Array<Schema.Struct<{
|
|
1203
|
+
readonly prId: Schema.String;
|
|
1204
|
+
readonly prTitle: Schema.String;
|
|
1205
|
+
readonly author: Schema.String;
|
|
1206
|
+
readonly repositoryName: Schema.String;
|
|
1207
|
+
readonly accountRegion: Schema.String;
|
|
1208
|
+
readonly awsAccountId: Schema.String;
|
|
1209
|
+
readonly durationMs: Schema.Number;
|
|
1210
|
+
readonly fromLabel: Schema.String;
|
|
1211
|
+
readonly toLabel: Schema.String;
|
|
1212
|
+
}>>;
|
|
1213
|
+
readonly mostActivePRs: Schema.$Array<Schema.Struct<{
|
|
1214
|
+
readonly id: Schema.String;
|
|
1215
|
+
readonly title: Schema.String;
|
|
1216
|
+
readonly author: Schema.String;
|
|
1217
|
+
readonly repositoryName: Schema.String;
|
|
1218
|
+
readonly accountRegion: Schema.String;
|
|
1219
|
+
readonly commentCount: Schema.Number;
|
|
1220
|
+
readonly awsAccountId: Schema.String;
|
|
1221
|
+
}>>;
|
|
1222
|
+
readonly prSizeDistribution: Schema.Struct<{
|
|
1223
|
+
readonly small: Schema.Number;
|
|
1224
|
+
readonly medium: Schema.Number;
|
|
1225
|
+
readonly large: Schema.Number;
|
|
1226
|
+
readonly extraLarge: Schema.Number;
|
|
1227
|
+
}>;
|
|
1228
|
+
readonly avgDiffSize: Schema.NullOr<Schema.Struct<{
|
|
1229
|
+
readonly filesAdded: Schema.Number;
|
|
1230
|
+
readonly filesModified: Schema.Number;
|
|
1231
|
+
readonly filesDeleted: Schema.Number;
|
|
1232
|
+
}>>;
|
|
1233
|
+
readonly diffSizeByContributor: Schema.$Array<Schema.Struct<{
|
|
1234
|
+
readonly author: Schema.String;
|
|
1235
|
+
readonly avgFilesChanged: Schema.Number;
|
|
1236
|
+
readonly prCount: Schema.Number;
|
|
1237
|
+
}>>;
|
|
1238
|
+
readonly stalePRs: Schema.$Array<Schema.Struct<{
|
|
1239
|
+
readonly id: Schema.String;
|
|
1240
|
+
readonly title: Schema.String;
|
|
1241
|
+
readonly author: Schema.String;
|
|
1242
|
+
readonly repositoryName: Schema.String;
|
|
1243
|
+
readonly accountRegion: Schema.String;
|
|
1244
|
+
readonly daysSinceActivity: Schema.Number;
|
|
1245
|
+
readonly awsAccountId: Schema.String;
|
|
1246
|
+
}>>;
|
|
1247
|
+
readonly reviewCoverage: Schema.NullOr<Schema.Number>;
|
|
1248
|
+
readonly approvalRate: Schema.NullOr<Schema.Number>;
|
|
1249
|
+
readonly busFactor: Schema.NullOr<Schema.Struct<{
|
|
1250
|
+
readonly topContributorShare: Schema.Number;
|
|
1251
|
+
readonly uniqueContributors: Schema.Number;
|
|
1252
|
+
}>>;
|
|
1253
|
+
readonly availableRepos: Schema.$Array<Schema.String>;
|
|
1254
|
+
readonly availableAuthors: Schema.$Array<Schema.String>;
|
|
1255
|
+
readonly availableAccounts: Schema.$Array<Schema.String>;
|
|
1256
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"sync", "POST", "/api/stats/sync", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1257
|
+
readonly week: Schema.String;
|
|
1258
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoint.HttpApiEndpoint<"clear", "DELETE", "/api/audit/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1152
1259
|
readonly deleted: Schema.Number;
|
|
1153
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1260
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"export", "GET", "/api/audit/export", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1261
|
+
readonly from: Schema.optional<Schema.String>;
|
|
1262
|
+
readonly to: Schema.optional<Schema.String>;
|
|
1263
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1264
|
+
readonly id: Schema.Number;
|
|
1265
|
+
readonly timestamp: Schema.String;
|
|
1266
|
+
readonly operation: Schema.String;
|
|
1267
|
+
readonly accountProfile: Schema.String;
|
|
1268
|
+
readonly region: Schema.String;
|
|
1269
|
+
readonly permissionState: Schema.String;
|
|
1270
|
+
readonly context: Schema.String;
|
|
1271
|
+
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
1272
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/audit/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1154
1273
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1155
1274
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
1156
1275
|
readonly operation: Schema.optional<Schema.String>;
|
|
@@ -1172,57 +1291,136 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1172
1291
|
}>>;
|
|
1173
1292
|
readonly total: Schema.Number;
|
|
1174
1293
|
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1175
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1176
|
-
readonly
|
|
1177
|
-
readonly
|
|
1178
|
-
|
|
1179
|
-
readonly
|
|
1180
|
-
|
|
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<"auditSettings", "GET", "/api/permissions/audit", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1310
|
+
readonly enabled: Schema.Boolean;
|
|
1311
|
+
readonly retentionDays: Schema.Number;
|
|
1312
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1181
1313
|
readonly operation: Schema.String;
|
|
1182
|
-
readonly
|
|
1183
|
-
readonly
|
|
1184
|
-
readonly permissionState: Schema.String;
|
|
1185
|
-
readonly context: Schema.String;
|
|
1186
|
-
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
1187
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1188
|
-
readonly id: Schema.String;
|
|
1189
|
-
readonly name: Schema.String;
|
|
1314
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1315
|
+
readonly category: Schema.Literals<readonly ["read", "write"]>;
|
|
1190
1316
|
readonly description: Schema.String;
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
readonly
|
|
1317
|
+
}>>>, 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<{
|
|
1318
|
+
readonly id: Schema.String;
|
|
1319
|
+
readonly response: Schema.Literals<readonly ["allow_once", "always_allow", "deny"]>;
|
|
1320
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1321
|
+
readonly operation: Schema.String;
|
|
1322
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1323
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1324
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
1325
|
+
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
1326
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"notifications", HttpApiEndpoint.HttpApiEndpoint<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1327
|
+
readonly unread: Schema.Number;
|
|
1328
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1329
|
+
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1330
|
+
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1331
|
+
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
1332
|
+
readonly unreadOnly: Schema.optional<Schema.NumberFromString>;
|
|
1333
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1334
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1335
|
+
readonly id: Schema.Number;
|
|
1336
|
+
readonly pullRequestId: Schema.String;
|
|
1337
|
+
readonly awsAccountId: Schema.String;
|
|
1338
|
+
readonly type: Schema.String;
|
|
1339
|
+
readonly title: Schema.String;
|
|
1194
1340
|
readonly profile: Schema.String;
|
|
1195
|
-
readonly
|
|
1196
|
-
readonly
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
readonly refreshIntervalSeconds: Schema.Number;
|
|
1201
|
-
readonly review: Schema.optional<Schema.Struct<{
|
|
1202
|
-
readonly defaultProfileId: Schema.String;
|
|
1203
|
-
readonly profiles: Schema.$Array<Schema.Struct<{
|
|
1204
|
-
readonly id: Schema.String;
|
|
1205
|
-
readonly name: Schema.String;
|
|
1206
|
-
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1207
|
-
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1208
|
-
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1209
|
-
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1210
|
-
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1211
|
-
}>>;
|
|
1212
|
-
}>>;
|
|
1213
|
-
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
1214
|
-
readonly image: Schema.String;
|
|
1215
|
-
readonly extensions: Schema.$Array<Schema.String>;
|
|
1216
|
-
readonly setupCommands: Schema.$Array<Schema.String>;
|
|
1217
|
-
readonly env: Schema.$Record<Schema.String, Schema.String>;
|
|
1218
|
-
readonly volumeMounts: Schema.$Array<Schema.Struct<{
|
|
1219
|
-
readonly hostPath: Schema.String;
|
|
1220
|
-
readonly containerPath: Schema.String;
|
|
1221
|
-
readonly readonly: Schema.Boolean;
|
|
1222
|
-
}>>;
|
|
1223
|
-
readonly cloneDepth: Schema.Number;
|
|
1341
|
+
readonly repositoryName: Schema.String;
|
|
1342
|
+
readonly accountRegion: Schema.String;
|
|
1343
|
+
readonly message: Schema.String;
|
|
1344
|
+
readonly createdAt: Schema.String;
|
|
1345
|
+
readonly read: Schema.Number;
|
|
1224
1346
|
}>>;
|
|
1225
|
-
|
|
1347
|
+
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1348
|
+
}>>, never, OwnerSessionAuth, never> | 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<{
|
|
1349
|
+
readonly id: Schema.Number;
|
|
1350
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markUnread", "POST", "/api/notifications/unread", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1351
|
+
readonly id: Schema.Number;
|
|
1352
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogin", "POST", "/api/notifications/sso-login", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1353
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1354
|
+
}>>, 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>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/sandbox/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1355
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1356
|
+
readonly awsAccountId: Schema.String;
|
|
1357
|
+
readonly repositoryName: Schema.String;
|
|
1358
|
+
readonly sourceBranch: Schema.String;
|
|
1359
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1360
|
+
readonly region: Schema.String;
|
|
1361
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1362
|
+
readonly id: Schema.String;
|
|
1363
|
+
readonly pullRequestId: Schema.String;
|
|
1364
|
+
readonly awsAccountId: Schema.String;
|
|
1365
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1366
|
+
readonly repositoryName: Schema.String;
|
|
1367
|
+
readonly sourceBranch: Schema.String;
|
|
1368
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1369
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1370
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1371
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1372
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1373
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1374
|
+
readonly createdAt: Schema.String;
|
|
1375
|
+
readonly lastActivityAt: Schema.String;
|
|
1376
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1377
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1378
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1379
|
+
readonly password: Schema.String;
|
|
1380
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1381
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1382
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1383
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1384
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1385
|
+
readonly id: Schema.String;
|
|
1386
|
+
readonly pullRequestId: Schema.String;
|
|
1387
|
+
readonly awsAccountId: Schema.String;
|
|
1388
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1389
|
+
readonly repositoryName: Schema.String;
|
|
1390
|
+
readonly sourceBranch: Schema.String;
|
|
1391
|
+
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1392
|
+
readonly port: Schema.NullOr<Schema.Number>;
|
|
1393
|
+
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1394
|
+
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1395
|
+
readonly logs: Schema.NullOr<Schema.String>;
|
|
1396
|
+
readonly error: Schema.NullOr<Schema.String>;
|
|
1397
|
+
readonly createdAt: Schema.String;
|
|
1398
|
+
readonly lastActivityAt: Schema.String;
|
|
1399
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<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<"restart", "POST", "/api/sandbox/:sandboxId/restart", Schema.toCodecStringTree<Schema.Struct<{
|
|
1415
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1416
|
+
}>>, 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<{
|
|
1417
|
+
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1418
|
+
}>>, never, never, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"config", HttpApiEndpoint.HttpApiEndpoint<"database", "GET", "/api/config/database", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1419
|
+
readonly path: Schema.String;
|
|
1420
|
+
readonly sizeBytes: Schema.Number;
|
|
1421
|
+
readonly exists: Schema.Boolean;
|
|
1422
|
+
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1423
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/config/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1226
1424
|
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1227
1425
|
readonly profile: Schema.String;
|
|
1228
1426
|
readonly regions: Schema.$Array<Schema.String>;
|
|
@@ -1260,15 +1458,6 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1260
1458
|
readonly path: Schema.String;
|
|
1261
1459
|
readonly exists: Schema.Boolean;
|
|
1262
1460
|
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1263
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"database", "GET", "/api/config/database", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1264
|
-
readonly path: Schema.String;
|
|
1265
|
-
readonly sizeBytes: Schema.Number;
|
|
1266
|
-
readonly exists: Schema.Boolean;
|
|
1267
|
-
readonly modifiedAt: Schema.optional<Schema.String>;
|
|
1268
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"validate", "GET", "/api/config/validate", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1269
|
-
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
1270
|
-
readonly path: Schema.String;
|
|
1271
|
-
readonly errors: Schema.$Array<Schema.String>;
|
|
1272
1461
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reset", "POST", "/api/config/reset", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1273
1462
|
readonly backupPath: Schema.optional<Schema.String>;
|
|
1274
1463
|
readonly config: Schema.Struct<{
|
|
@@ -1307,52 +1496,60 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1307
1496
|
}>>;
|
|
1308
1497
|
}>;
|
|
1309
1498
|
readonly refreshStatus: Schema.Literals<readonly ["refreshed", "failed"]>;
|
|
1310
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never
|
|
1311
|
-
readonly id: Schema.
|
|
1312
|
-
|
|
1313
|
-
readonly
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
readonly unread: Schema.Number;
|
|
1318
|
-
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1319
|
-
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1320
|
-
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1321
|
-
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
1322
|
-
readonly unreadOnly: Schema.optional<Schema.NumberFromString>;
|
|
1323
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1324
|
-
readonly items: Schema.$Array<Schema.Struct<{
|
|
1325
|
-
readonly id: Schema.Number;
|
|
1326
|
-
readonly pullRequestId: Schema.String;
|
|
1327
|
-
readonly awsAccountId: Schema.String;
|
|
1328
|
-
readonly type: Schema.String;
|
|
1329
|
-
readonly title: Schema.String;
|
|
1499
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"reviewSkills", "GET", "/api/config/review-skills", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1500
|
+
readonly id: Schema.String;
|
|
1501
|
+
readonly name: Schema.String;
|
|
1502
|
+
readonly description: Schema.String;
|
|
1503
|
+
readonly source: Schema.String;
|
|
1504
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"save", "POST", "/api/config/save", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1505
|
+
readonly accounts: Schema.$Array<Schema.Struct<{
|
|
1330
1506
|
readonly profile: Schema.String;
|
|
1331
|
-
readonly
|
|
1332
|
-
readonly
|
|
1333
|
-
readonly message: Schema.String;
|
|
1334
|
-
readonly createdAt: Schema.String;
|
|
1335
|
-
readonly read: Schema.Number;
|
|
1507
|
+
readonly regions: Schema.$Array<Schema.String>;
|
|
1508
|
+
readonly enabled: Schema.Boolean;
|
|
1336
1509
|
}>>;
|
|
1337
|
-
readonly
|
|
1338
|
-
|
|
1339
|
-
readonly
|
|
1340
|
-
readonly
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1510
|
+
readonly autoDetect: Schema.Boolean;
|
|
1511
|
+
readonly autoRefresh: Schema.Boolean;
|
|
1512
|
+
readonly refreshIntervalSeconds: Schema.Number;
|
|
1513
|
+
readonly review: Schema.optional<Schema.Struct<{
|
|
1514
|
+
readonly defaultProfileId: Schema.String;
|
|
1515
|
+
readonly profiles: Schema.$Array<Schema.Struct<{
|
|
1516
|
+
readonly id: Schema.String;
|
|
1517
|
+
readonly name: Schema.String;
|
|
1518
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1519
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1520
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1521
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1522
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1523
|
+
}>>;
|
|
1524
|
+
}>>;
|
|
1525
|
+
readonly sandbox: Schema.optional<Schema.Struct<{
|
|
1526
|
+
readonly image: Schema.String;
|
|
1527
|
+
readonly extensions: Schema.$Array<Schema.String>;
|
|
1528
|
+
readonly setupCommands: Schema.$Array<Schema.String>;
|
|
1529
|
+
readonly env: Schema.$Record<Schema.String, Schema.String>;
|
|
1530
|
+
readonly volumeMounts: Schema.$Array<Schema.Struct<{
|
|
1531
|
+
readonly hostPath: Schema.String;
|
|
1532
|
+
readonly containerPath: Schema.String;
|
|
1533
|
+
readonly readonly: Schema.Boolean;
|
|
1534
|
+
}>>;
|
|
1535
|
+
readonly cloneDepth: Schema.Number;
|
|
1536
|
+
}>>;
|
|
1537
|
+
}>>, 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<{
|
|
1538
|
+
readonly status: Schema.Literals<readonly ["valid", "missing", "corrupted"]>;
|
|
1539
|
+
readonly path: Schema.String;
|
|
1540
|
+
readonly errors: Schema.$Array<Schema.String>;
|
|
1541
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1542
|
+
readonly pullRequestId: Schema.String;
|
|
1543
|
+
readonly repositoryName: Schema.String;
|
|
1544
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1545
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1546
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1547
|
+
readonly filePath: Schema.optional<Schema.String>;
|
|
1548
|
+
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
1549
|
+
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1550
|
+
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1551
|
+
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1552
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1356
1553
|
readonly repositoryName: Schema.String;
|
|
1357
1554
|
readonly title: Schema.String;
|
|
1358
1555
|
readonly description: Schema.optional<Schema.String>;
|
|
@@ -1365,20 +1562,94 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1365
1562
|
readonly requiredApprovals: Schema.Number;
|
|
1366
1563
|
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1367
1564
|
readonly account: typeof Account;
|
|
1368
|
-
}>>, 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<{
|
|
1369
|
-
readonly pullRequestId: Schema.String;
|
|
1370
|
-
readonly approvalRuleName: Schema.String;
|
|
1371
|
-
readonly requiredApprovals: Schema.Number;
|
|
1372
|
-
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1373
|
-
readonly account: typeof Account;
|
|
1374
1565
|
}>>, 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<{
|
|
1375
1566
|
readonly pullRequestId: Schema.String;
|
|
1376
1567
|
readonly approvalRuleName: Schema.String;
|
|
1377
1568
|
readonly account: typeof Account;
|
|
1378
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1569
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1570
|
+
readonly awsAccountId: Schema.String;
|
|
1571
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1572
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1573
|
+
readonly repositoryName: Schema.String;
|
|
1574
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1575
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1576
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1577
|
+
readonly revisionId: Schema.String;
|
|
1578
|
+
readonly baseCommit: Schema.String;
|
|
1579
|
+
readonly headCommit: Schema.String;
|
|
1580
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
1581
|
+
readonly index: Schema.Int;
|
|
1582
|
+
readonly status: Schema.Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
1583
|
+
readonly path: Schema.String;
|
|
1584
|
+
readonly previousPath: Schema.NullOr<Schema.String>;
|
|
1585
|
+
readonly beforeMode: Schema.NullOr<Schema.String>;
|
|
1586
|
+
readonly afterMode: Schema.NullOr<Schema.String>;
|
|
1587
|
+
}>>;
|
|
1588
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diffContent", "GET", "/api/prs/:awsAccountId/:prId/diff/:fileIndex", Schema.toCodecStringTree<Schema.Struct<{
|
|
1589
|
+
readonly awsAccountId: Schema.String;
|
|
1590
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1591
|
+
readonly fileIndex: Schema.NumberFromString;
|
|
1592
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1593
|
+
readonly repositoryName: Schema.String;
|
|
1594
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1595
|
+
readonly revisionId: Schema.String;
|
|
1596
|
+
readonly baseCommit: Schema.String;
|
|
1597
|
+
readonly headCommit: Schema.String;
|
|
1598
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1599
|
+
readonly fileIndex: Schema.Int;
|
|
1600
|
+
readonly revisionId: Schema.String;
|
|
1601
|
+
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
1602
|
+
readonly before: Schema.NullOr<Schema.String>;
|
|
1603
|
+
readonly after: Schema.NullOr<Schema.String>;
|
|
1604
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/prs/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof PullRequest>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"open", "POST", "/api/prs/open", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1379
1605
|
readonly profile: Schema.String;
|
|
1380
1606
|
readonly link: Schema.String;
|
|
1381
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1607
|
+
}>>, 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<{
|
|
1608
|
+
readonly awsAccountId: Schema.String;
|
|
1609
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1610
|
+
readonly findingId: Schema.String;
|
|
1611
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1612
|
+
readonly repositoryName: Schema.String;
|
|
1613
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1614
|
+
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1615
|
+
readonly revisionId: Schema.String;
|
|
1616
|
+
readonly baseCommit: Schema.String;
|
|
1617
|
+
readonly headCommit: Schema.String;
|
|
1618
|
+
readonly finding: Schema.Struct<{
|
|
1619
|
+
readonly id: Schema.String;
|
|
1620
|
+
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
1621
|
+
readonly title: Schema.String;
|
|
1622
|
+
readonly summary: Schema.String;
|
|
1623
|
+
readonly details: Schema.String;
|
|
1624
|
+
readonly recommendation: Schema.String;
|
|
1625
|
+
readonly verification: Schema.String;
|
|
1626
|
+
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1627
|
+
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1628
|
+
readonly scope: Schema.Literal<"general">;
|
|
1629
|
+
}>, Schema.Struct<{
|
|
1630
|
+
readonly scope: Schema.Literal<"file">;
|
|
1631
|
+
readonly filePath: Schema.String;
|
|
1632
|
+
}>, Schema.Struct<{
|
|
1633
|
+
readonly scope: Schema.Literal<"line">;
|
|
1634
|
+
readonly filePath: Schema.String;
|
|
1635
|
+
readonly line: Schema.Int;
|
|
1636
|
+
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1637
|
+
}>]>;
|
|
1638
|
+
}>;
|
|
1639
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1640
|
+
readonly findingId: Schema.String;
|
|
1641
|
+
readonly operationId: Schema.String;
|
|
1642
|
+
readonly summary: Schema.String;
|
|
1643
|
+
}>>, 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<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
1644
|
+
readonly awsAccountId: Schema.String;
|
|
1645
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1646
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1647
|
+
readonly repositoryName: Schema.optional<Schema.String>;
|
|
1648
|
+
readonly region: Schema.optional<Schema.brand<Schema.String, "AwsRegion">>;
|
|
1649
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1650
|
+
readonly revisionId: Schema.String;
|
|
1651
|
+
readonly headCommit: Schema.String;
|
|
1652
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
1382
1653
|
readonly awsAccountId: Schema.String;
|
|
1383
1654
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1384
1655
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -1397,7 +1668,22 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1397
1668
|
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1398
1669
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1399
1670
|
}>;
|
|
1400
|
-
|
|
1671
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1672
|
+
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1673
|
+
readonly revisionId: Schema.String;
|
|
1674
|
+
readonly baseCommit: Schema.String;
|
|
1675
|
+
readonly headCommit: Schema.String;
|
|
1676
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1677
|
+
readonly profile: Schema.Struct<{
|
|
1678
|
+
readonly id: Schema.String;
|
|
1679
|
+
readonly name: Schema.String;
|
|
1680
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1681
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1682
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1683
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1684
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1685
|
+
}>;
|
|
1686
|
+
readonly result: Schema.Struct<{
|
|
1401
1687
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1402
1688
|
readonly id: Schema.String;
|
|
1403
1689
|
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
@@ -1422,53 +1708,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1422
1708
|
readonly verdict: Schema.String;
|
|
1423
1709
|
readonly explanation: Schema.optional<Schema.String>;
|
|
1424
1710
|
}>;
|
|
1425
|
-
|
|
1426
|
-
readonly id: Schema.optional<Schema.String>;
|
|
1427
|
-
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1428
|
-
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
1429
|
-
readonly message: Schema.String;
|
|
1430
|
-
}>>;
|
|
1431
|
-
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1432
|
-
readonly message: Schema.String;
|
|
1433
|
-
}>>, 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<{
|
|
1434
|
-
readonly awsAccountId: Schema.String;
|
|
1435
|
-
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1436
|
-
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1437
|
-
readonly repositoryName: Schema.String;
|
|
1438
|
-
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1439
|
-
}>>, Schema.toCodecJson<Schema.Struct<{
|
|
1440
|
-
readonly revisionId: Schema.String;
|
|
1441
|
-
readonly baseCommit: Schema.String;
|
|
1442
|
-
readonly headCommit: Schema.String;
|
|
1443
|
-
readonly profile: Schema.Struct<{
|
|
1444
|
-
readonly id: Schema.String;
|
|
1445
|
-
readonly name: Schema.String;
|
|
1446
|
-
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1447
|
-
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1448
|
-
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1449
|
-
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1450
|
-
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1451
|
-
}>;
|
|
1452
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diff", "GET", "/api/prs/:awsAccountId/:prId/diff", Schema.toCodecStringTree<Schema.Struct<{
|
|
1453
|
-
readonly awsAccountId: Schema.String;
|
|
1454
|
-
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1455
|
-
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1456
|
-
readonly repositoryName: Schema.String;
|
|
1457
|
-
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1458
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1459
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1460
|
-
readonly revisionId: Schema.String;
|
|
1461
|
-
readonly baseCommit: Schema.String;
|
|
1462
|
-
readonly headCommit: Schema.String;
|
|
1463
|
-
readonly files: Schema.$Array<Schema.Struct<{
|
|
1464
|
-
readonly index: Schema.Int;
|
|
1465
|
-
readonly status: Schema.Literals<readonly ["added", "modified", "deleted", "renamed"]>;
|
|
1466
|
-
readonly path: Schema.String;
|
|
1467
|
-
readonly previousPath: Schema.NullOr<Schema.String>;
|
|
1468
|
-
readonly beforeMode: Schema.NullOr<Schema.String>;
|
|
1469
|
-
readonly afterMode: Schema.NullOr<Schema.String>;
|
|
1470
|
-
}>>;
|
|
1471
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
1711
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
1472
1712
|
readonly awsAccountId: Schema.String;
|
|
1473
1713
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1474
1714
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -1487,22 +1727,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1487
1727
|
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1488
1728
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1489
1729
|
}>;
|
|
1490
|
-
|
|
1491
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1492
|
-
readonly revisionId: Schema.String;
|
|
1493
|
-
readonly baseCommit: Schema.String;
|
|
1494
|
-
readonly headCommit: Schema.String;
|
|
1495
|
-
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1496
|
-
readonly profile: Schema.Struct<{
|
|
1497
|
-
readonly id: Schema.String;
|
|
1498
|
-
readonly name: Schema.String;
|
|
1499
|
-
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1500
|
-
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1501
|
-
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1502
|
-
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1503
|
-
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1504
|
-
}>;
|
|
1505
|
-
readonly result: Schema.Struct<{
|
|
1730
|
+
readonly currentReview: Schema.Struct<{
|
|
1506
1731
|
readonly findings: Schema.$Array<Schema.Struct<{
|
|
1507
1732
|
readonly id: Schema.String;
|
|
1508
1733
|
readonly priority: Schema.Literals<readonly ["P1", "P2", "P3", "P4"]>;
|
|
@@ -1527,10 +1752,17 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1527
1752
|
readonly verdict: Schema.String;
|
|
1528
1753
|
readonly explanation: Schema.optional<Schema.String>;
|
|
1529
1754
|
}>;
|
|
1530
|
-
|
|
1755
|
+
readonly turns: Schema.$Array<Schema.Struct<{
|
|
1756
|
+
readonly id: Schema.optional<Schema.String>;
|
|
1757
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1758
|
+
readonly role: Schema.Literals<readonly ["user", "assistant"]>;
|
|
1759
|
+
readonly message: Schema.String;
|
|
1760
|
+
}>>;
|
|
1761
|
+
readonly findingId: Schema.Union<readonly [Schema.String, Schema.Literal<"PR">]>;
|
|
1762
|
+
readonly message: Schema.String;
|
|
1763
|
+
}>>, 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<{
|
|
1531
1764
|
readonly awsAccountId: Schema.String;
|
|
1532
1765
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1533
|
-
readonly findingId: Schema.String;
|
|
1534
1766
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1535
1767
|
readonly repositoryName: Schema.String;
|
|
1536
1768
|
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
@@ -1538,41 +1770,16 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1538
1770
|
readonly revisionId: Schema.String;
|
|
1539
1771
|
readonly baseCommit: Schema.String;
|
|
1540
1772
|
readonly headCommit: Schema.String;
|
|
1541
|
-
readonly
|
|
1773
|
+
readonly profile: Schema.Struct<{
|
|
1542
1774
|
readonly id: Schema.String;
|
|
1543
|
-
readonly
|
|
1544
|
-
readonly
|
|
1545
|
-
readonly
|
|
1546
|
-
readonly
|
|
1547
|
-
readonly
|
|
1548
|
-
readonly
|
|
1549
|
-
readonly publicationTarget: Schema.Literals<readonly ["pr-comment", "line-comment"]>;
|
|
1550
|
-
readonly location: Schema.Union<readonly [Schema.Struct<{
|
|
1551
|
-
readonly scope: Schema.Literal<"general">;
|
|
1552
|
-
}>, Schema.Struct<{
|
|
1553
|
-
readonly scope: Schema.Literal<"file">;
|
|
1554
|
-
readonly filePath: Schema.String;
|
|
1555
|
-
}>, Schema.Struct<{
|
|
1556
|
-
readonly scope: Schema.Literal<"line">;
|
|
1557
|
-
readonly filePath: Schema.String;
|
|
1558
|
-
readonly line: Schema.Int;
|
|
1559
|
-
readonly side: Schema.Literals<readonly ["before", "after"]>;
|
|
1560
|
-
}>]>;
|
|
1775
|
+
readonly name: Schema.String;
|
|
1776
|
+
readonly kind: Schema.Literals<readonly ["review", "security", "tests", "explain"]>;
|
|
1777
|
+
readonly provider: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["codex", "claude"]>, never>;
|
|
1778
|
+
readonly harness: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["native-codex", "native-claude"]>, never>;
|
|
1779
|
+
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1780
|
+
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1561
1781
|
}>;
|
|
1562
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1563
|
-
readonly findingId: Schema.String;
|
|
1564
|
-
readonly operationId: Schema.String;
|
|
1565
|
-
readonly summary: Schema.String;
|
|
1566
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
1567
|
-
readonly awsAccountId: Schema.String;
|
|
1568
|
-
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1569
|
-
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1570
|
-
readonly repositoryName: Schema.optional<Schema.String>;
|
|
1571
|
-
readonly region: Schema.optional<Schema.brand<Schema.String, "AwsRegion">>;
|
|
1572
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1573
|
-
readonly revisionId: Schema.String;
|
|
1574
|
-
readonly headCommit: Schema.String;
|
|
1575
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1782
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1576
1783
|
readonly q: Schema.String;
|
|
1577
1784
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1578
1785
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
@@ -1599,219 +1806,12 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1599
1806
|
}>>;
|
|
1600
1807
|
readonly total: Schema.Number;
|
|
1601
1808
|
readonly hasMore: Schema.Boolean;
|
|
1602
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1603
|
-
readonly pullRequestId: Schema.String;
|
|
1604
|
-
readonly repositoryName: Schema.String;
|
|
1605
|
-
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1606
|
-
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1607
|
-
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1608
|
-
readonly filePath: Schema.optional<Schema.String>;
|
|
1609
|
-
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
1610
|
-
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1611
|
-
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1612
|
-
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1613
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diffContent", "GET", "/api/prs/:awsAccountId/:prId/diff/:fileIndex", Schema.toCodecStringTree<Schema.Struct<{
|
|
1614
|
-
readonly awsAccountId: Schema.String;
|
|
1615
|
-
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1616
|
-
readonly fileIndex: Schema.NumberFromString;
|
|
1617
|
-
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1618
|
-
readonly repositoryName: Schema.String;
|
|
1619
|
-
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1620
|
-
readonly revisionId: Schema.String;
|
|
1621
|
-
readonly baseCommit: Schema.String;
|
|
1622
|
-
readonly headCommit: Schema.String;
|
|
1623
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1624
|
-
readonly fileIndex: Schema.Int;
|
|
1625
|
-
readonly revisionId: Schema.String;
|
|
1626
|
-
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
1627
|
-
readonly before: Schema.NullOr<Schema.String>;
|
|
1628
|
-
readonly after: Schema.NullOr<Schema.String>;
|
|
1629
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"sandbox", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/sandbox/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1630
|
-
readonly id: Schema.String;
|
|
1631
|
-
readonly pullRequestId: Schema.String;
|
|
1632
|
-
readonly awsAccountId: Schema.String;
|
|
1633
|
-
readonly region: Schema.NullOr<Schema.String>;
|
|
1634
|
-
readonly repositoryName: Schema.String;
|
|
1635
|
-
readonly sourceBranch: Schema.String;
|
|
1636
|
-
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1637
|
-
readonly port: Schema.NullOr<Schema.Number>;
|
|
1638
|
-
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1639
|
-
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1640
|
-
readonly logs: Schema.NullOr<Schema.String>;
|
|
1641
|
-
readonly error: Schema.NullOr<Schema.String>;
|
|
1642
|
-
readonly createdAt: Schema.String;
|
|
1643
|
-
readonly lastActivityAt: Schema.String;
|
|
1644
|
-
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"delete", "DELETE", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1645
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1646
|
-
}>>, 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<{
|
|
1647
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1648
|
-
}>>, 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<{
|
|
1649
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1650
|
-
}>>, 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<{
|
|
1651
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1652
|
-
readonly awsAccountId: Schema.String;
|
|
1653
|
-
readonly repositoryName: Schema.String;
|
|
1654
|
-
readonly sourceBranch: Schema.String;
|
|
1655
|
-
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1656
|
-
readonly region: Schema.String;
|
|
1657
|
-
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1658
|
-
readonly id: Schema.String;
|
|
1659
|
-
readonly pullRequestId: Schema.String;
|
|
1660
|
-
readonly awsAccountId: Schema.String;
|
|
1661
|
-
readonly region: Schema.NullOr<Schema.String>;
|
|
1662
|
-
readonly repositoryName: Schema.String;
|
|
1663
|
-
readonly sourceBranch: Schema.String;
|
|
1664
|
-
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1665
|
-
readonly port: Schema.NullOr<Schema.Number>;
|
|
1666
|
-
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1667
|
-
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1668
|
-
readonly logs: Schema.NullOr<Schema.String>;
|
|
1669
|
-
readonly error: Schema.NullOr<Schema.String>;
|
|
1670
|
-
readonly createdAt: Schema.String;
|
|
1671
|
-
readonly lastActivityAt: Schema.String;
|
|
1672
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/sandbox/:sandboxId", Schema.toCodecStringTree<Schema.Struct<{
|
|
1673
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1674
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1675
|
-
readonly id: Schema.String;
|
|
1676
|
-
readonly pullRequestId: Schema.String;
|
|
1677
|
-
readonly awsAccountId: Schema.String;
|
|
1678
|
-
readonly region: Schema.NullOr<Schema.String>;
|
|
1679
|
-
readonly repositoryName: Schema.String;
|
|
1680
|
-
readonly sourceBranch: Schema.String;
|
|
1681
|
-
readonly containerId: Schema.NullOr<Schema.String>;
|
|
1682
|
-
readonly port: Schema.NullOr<Schema.Number>;
|
|
1683
|
-
readonly status: Schema.Literals<readonly ["creating", "cloning", "starting", "running", "stopping", "stopped", "error"]>;
|
|
1684
|
-
readonly statusDetail: Schema.NullOr<Schema.String>;
|
|
1685
|
-
readonly logs: Schema.NullOr<Schema.String>;
|
|
1686
|
-
readonly error: Schema.NullOr<Schema.String>;
|
|
1687
|
-
readonly createdAt: Schema.String;
|
|
1688
|
-
readonly lastActivityAt: Schema.String;
|
|
1689
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"credentials", "GET", "/api/sandbox/:sandboxId/credentials", Schema.toCodecStringTree<Schema.Struct<{
|
|
1690
|
-
readonly sandboxId: Schema.brand<Schema.String, "SandboxId">;
|
|
1691
|
-
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1692
|
-
readonly password: Schema.String;
|
|
1693
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"stats", HttpApiEndpoint.HttpApiEndpoint<"sync", "POST", "/api/stats/sync", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1694
|
-
readonly week: Schema.String;
|
|
1695
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"get", "GET", "/api/stats/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1696
|
-
readonly week: Schema.String;
|
|
1697
|
-
readonly repo: Schema.optional<Schema.String>;
|
|
1698
|
-
readonly author: Schema.optional<Schema.String>;
|
|
1699
|
-
readonly account: Schema.optional<Schema.String>;
|
|
1700
|
-
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1701
|
-
readonly week: Schema.String;
|
|
1702
|
-
readonly weekStart: Schema.String;
|
|
1703
|
-
readonly weekEnd: Schema.String;
|
|
1704
|
-
readonly dataAvailableSince: Schema.NullOr<Schema.String>;
|
|
1705
|
-
readonly prsCreated: Schema.Number;
|
|
1706
|
-
readonly prsMerged: Schema.Number;
|
|
1707
|
-
readonly prsClosed: Schema.Number;
|
|
1708
|
-
readonly totalComments: Schema.Number;
|
|
1709
|
-
readonly topContributors: Schema.$Array<Schema.Struct<{
|
|
1710
|
-
readonly author: Schema.String;
|
|
1711
|
-
readonly prCount: Schema.Number;
|
|
1712
|
-
}>>;
|
|
1713
|
-
readonly topReviewers: Schema.$Array<Schema.Struct<{
|
|
1714
|
-
readonly author: Schema.String;
|
|
1715
|
-
readonly commentCount: Schema.Number;
|
|
1716
|
-
}>>;
|
|
1717
|
-
readonly topApprovers: Schema.$Array<Schema.Struct<{
|
|
1718
|
-
readonly author: Schema.String;
|
|
1719
|
-
readonly approvalCount: Schema.Number;
|
|
1720
|
-
}>>;
|
|
1721
|
-
readonly medianTimeToMerge: Schema.NullOr<Schema.Number>;
|
|
1722
|
-
readonly medianTimeToFirstReview: Schema.NullOr<Schema.Number>;
|
|
1723
|
-
readonly medianTimeToAddressFeedback: Schema.NullOr<Schema.Number>;
|
|
1724
|
-
readonly mergeTimeDetails: Schema.$Array<Schema.Struct<{
|
|
1725
|
-
readonly prId: Schema.String;
|
|
1726
|
-
readonly prTitle: Schema.String;
|
|
1727
|
-
readonly author: Schema.String;
|
|
1728
|
-
readonly repositoryName: Schema.String;
|
|
1729
|
-
readonly accountRegion: Schema.String;
|
|
1730
|
-
readonly awsAccountId: Schema.String;
|
|
1731
|
-
readonly durationMs: Schema.Number;
|
|
1732
|
-
readonly fromLabel: Schema.String;
|
|
1733
|
-
readonly toLabel: Schema.String;
|
|
1734
|
-
}>>;
|
|
1735
|
-
readonly firstReviewDetails: Schema.$Array<Schema.Struct<{
|
|
1736
|
-
readonly prId: Schema.String;
|
|
1737
|
-
readonly prTitle: Schema.String;
|
|
1738
|
-
readonly author: Schema.String;
|
|
1739
|
-
readonly repositoryName: Schema.String;
|
|
1740
|
-
readonly accountRegion: Schema.String;
|
|
1741
|
-
readonly awsAccountId: Schema.String;
|
|
1742
|
-
readonly durationMs: Schema.Number;
|
|
1743
|
-
readonly fromLabel: Schema.String;
|
|
1744
|
-
readonly toLabel: Schema.String;
|
|
1745
|
-
}>>;
|
|
1746
|
-
readonly feedbackDetails: Schema.$Array<Schema.Struct<{
|
|
1747
|
-
readonly prId: Schema.String;
|
|
1748
|
-
readonly prTitle: Schema.String;
|
|
1749
|
-
readonly author: Schema.String;
|
|
1750
|
-
readonly repositoryName: Schema.String;
|
|
1751
|
-
readonly accountRegion: Schema.String;
|
|
1752
|
-
readonly awsAccountId: Schema.String;
|
|
1753
|
-
readonly durationMs: Schema.Number;
|
|
1754
|
-
readonly fromLabel: Schema.String;
|
|
1755
|
-
readonly toLabel: Schema.String;
|
|
1756
|
-
}>>;
|
|
1757
|
-
readonly mostActivePRs: Schema.$Array<Schema.Struct<{
|
|
1758
|
-
readonly id: Schema.String;
|
|
1759
|
-
readonly title: Schema.String;
|
|
1760
|
-
readonly author: Schema.String;
|
|
1761
|
-
readonly repositoryName: Schema.String;
|
|
1762
|
-
readonly accountRegion: Schema.String;
|
|
1763
|
-
readonly commentCount: Schema.Number;
|
|
1764
|
-
readonly awsAccountId: Schema.String;
|
|
1765
|
-
}>>;
|
|
1766
|
-
readonly prSizeDistribution: Schema.Struct<{
|
|
1767
|
-
readonly small: Schema.Number;
|
|
1768
|
-
readonly medium: Schema.Number;
|
|
1769
|
-
readonly large: Schema.Number;
|
|
1770
|
-
readonly extraLarge: Schema.Number;
|
|
1771
|
-
}>;
|
|
1772
|
-
readonly avgDiffSize: Schema.NullOr<Schema.Struct<{
|
|
1773
|
-
readonly filesAdded: Schema.Number;
|
|
1774
|
-
readonly filesModified: Schema.Number;
|
|
1775
|
-
readonly filesDeleted: Schema.Number;
|
|
1776
|
-
}>>;
|
|
1777
|
-
readonly diffSizeByContributor: Schema.$Array<Schema.Struct<{
|
|
1778
|
-
readonly author: Schema.String;
|
|
1779
|
-
readonly avgFilesChanged: Schema.Number;
|
|
1780
|
-
readonly prCount: Schema.Number;
|
|
1781
|
-
}>>;
|
|
1782
|
-
readonly stalePRs: Schema.$Array<Schema.Struct<{
|
|
1783
|
-
readonly id: Schema.String;
|
|
1784
|
-
readonly title: Schema.String;
|
|
1785
|
-
readonly author: Schema.String;
|
|
1786
|
-
readonly repositoryName: Schema.String;
|
|
1787
|
-
readonly accountRegion: Schema.String;
|
|
1788
|
-
readonly daysSinceActivity: Schema.Number;
|
|
1789
|
-
readonly awsAccountId: Schema.String;
|
|
1790
|
-
}>>;
|
|
1791
|
-
readonly reviewCoverage: Schema.NullOr<Schema.Number>;
|
|
1792
|
-
readonly approvalRate: Schema.NullOr<Schema.Number>;
|
|
1793
|
-
readonly busFactor: Schema.NullOr<Schema.Struct<{
|
|
1794
|
-
readonly topContributorShare: Schema.Number;
|
|
1795
|
-
readonly uniqueContributors: Schema.Number;
|
|
1796
|
-
}>>;
|
|
1797
|
-
readonly availableRepos: Schema.$Array<Schema.String>;
|
|
1798
|
-
readonly availableAuthors: Schema.$Array<Schema.String>;
|
|
1799
|
-
readonly availableAccounts: Schema.$Array<Schema.String>;
|
|
1800
|
-
}>>, 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<{
|
|
1801
|
-
readonly awsAccountId: Schema.String;
|
|
1809
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateApprovalRule", "PUT", "/api/prs/approval-rules", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1802
1810
|
readonly pullRequestId: Schema.String;
|
|
1803
|
-
readonly
|
|
1804
|
-
readonly
|
|
1805
|
-
|
|
1806
|
-
readonly
|
|
1807
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1808
|
-
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1809
|
-
readonly region: Schema.optional<Schema.Trim>;
|
|
1810
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"unsubscribe", "POST", "/api/subscriptions/unsubscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1811
|
-
readonly awsAccountId: Schema.String;
|
|
1812
|
-
readonly pullRequestId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1813
|
-
readonly repositoryName: Schema.optional<Schema.Trim>;
|
|
1814
|
-
readonly region: Schema.optional<Schema.Trim>;
|
|
1811
|
+
readonly approvalRuleName: Schema.String;
|
|
1812
|
+
readonly requiredApprovals: Schema.Number;
|
|
1813
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1814
|
+
readonly account: typeof Account;
|
|
1815
1815
|
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false>>;
|
|
1816
1816
|
export declare class CodeCommitApi extends CodeCommitApi_base {
|
|
1817
1817
|
}
|