@knpkv/codecommit-web 0.16.0 → 0.18.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 +16 -0
- package/dist/client/assets/index-BQbzvlT7.js +90 -0
- package/dist/client/assets/index-Rg2HVfx7.css +1 -0
- package/dist/client/assets/pr-review-workspace-B7GX-PRi.js +23 -0
- package/dist/client/index.html +2 -2
- package/dist/pull-request-coordinates.d.ts.map +1 -1
- package/dist/pull-request-coordinates.js +5 -4
- package/dist/pull-request-coordinates.js.map +1 -1
- package/dist/server/Api.d.ts +286 -286
- package/dist/server/Api.d.ts.map +1 -1
- package/dist/server/Api.js +1 -1
- package/dist/server/Api.js.map +1 -1
- package/dist/server/Server.d.ts +11 -7
- package/dist/server/Server.d.ts.map +1 -1
- package/dist/server/Server.js +28 -21
- package/dist/server/Server.js.map +1 -1
- package/dist/server/handlers/accounts-live.d.ts +1 -1
- package/dist/server/handlers/accounts-live.d.ts.map +1 -1
- package/dist/server/handlers/accounts-live.js +1 -1
- package/dist/server/handlers/accounts-live.js.map +1 -1
- package/dist/server/handlers/audit-live.d.ts +1 -1
- package/dist/server/handlers/audit-live.d.ts.map +1 -1
- package/dist/server/handlers/audit-live.js +1 -1
- package/dist/server/handlers/audit-live.js.map +1 -1
- package/dist/server/handlers/config-live.d.ts +1 -1
- package/dist/server/handlers/config-live.d.ts.map +1 -1
- package/dist/server/handlers/config-live.js +2 -2
- package/dist/server/handlers/config-live.js.map +1 -1
- package/dist/server/handlers/events-live.d.ts +1 -1
- package/dist/server/handlers/events-live.d.ts.map +1 -1
- package/dist/server/handlers/events-live.js +26 -8
- package/dist/server/handlers/events-live.js.map +1 -1
- package/dist/server/handlers/notifications-live.d.ts +2 -2
- package/dist/server/handlers/notifications-live.d.ts.map +1 -1
- package/dist/server/handlers/notifications-live.js +2 -2
- package/dist/server/handlers/notifications-live.js.map +1 -1
- package/dist/server/handlers/permissions-live.d.ts +1 -1
- package/dist/server/handlers/permissions-live.d.ts.map +1 -1
- package/dist/server/handlers/permissions-live.js +1 -1
- package/dist/server/handlers/permissions-live.js.map +1 -1
- package/dist/server/handlers/prs-live.d.ts +3 -3
- package/dist/server/handlers/prs-live.d.ts.map +1 -1
- package/dist/server/handlers/prs-live.js +3 -3
- package/dist/server/handlers/prs-live.js.map +1 -1
- package/dist/server/handlers/sandbox-live.d.ts +1 -1
- package/dist/server/handlers/sandbox-live.d.ts.map +1 -1
- package/dist/server/handlers/sandbox-live.js +2 -2
- package/dist/server/handlers/sandbox-live.js.map +1 -1
- package/dist/server/handlers/stats-live.d.ts +1 -1
- package/dist/server/handlers/stats-live.d.ts.map +1 -1
- package/dist/server/handlers/stats-live.js +1 -1
- package/dist/server/handlers/stats-live.js.map +1 -1
- package/dist/server/handlers/subscriptions-live.d.ts +1 -1
- package/dist/server/handlers/subscriptions-live.d.ts.map +1 -1
- package/dist/server/handlers/subscriptions-live.js +1 -1
- package/dist/server/handlers/subscriptions-live.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 +6 -0
- package/dist/server/internal/PublicOrigin.d.ts.map +1 -0
- package/dist/server/internal/PublicOrigin.js +12 -0
- package/dist/server/internal/PublicOrigin.js.map +1 -0
- package/dist/server/review/PullRequestReview.d.ts +1 -1
- package/dist/server/review/PullRequestReview.d.ts.map +1 -1
- package/dist/server/review/PullRequestReview.js +1 -1
- package/dist/server/review/PullRequestReview.js.map +1 -1
- package/dist/server/review/ReviewSkillCatalog.js +2 -2
- package/dist/tooling/authenticated-dev-proxy.d.ts +20 -5
- package/dist/tooling/authenticated-dev-proxy.d.ts.map +1 -1
- package/dist/tooling/authenticated-dev-proxy.js +25 -9
- package/dist/tooling/authenticated-dev-proxy.js.map +1 -1
- package/dist/tooling/authenticated-dev-proxy.test.js +92 -7
- package/dist/tooling/authenticated-dev-proxy.test.js.map +1 -1
- package/package.json +32 -26
- package/dist/client/assets/index-DqzI_8bH.js +0 -90
- package/dist/client/assets/index-Ds8Muxxv.css +0 -1
- package/dist/client/assets/pr-review-workspace-Ca3Vmiye.js +0 -22
- package/dist/server/internal/OwnerSessionSecurity.d.ts +0 -46
- package/dist/server/internal/OwnerSessionSecurity.d.ts.map +0 -1
- package/dist/server/internal/OwnerSessionSecurity.js +0 -143
- package/dist/server/internal/OwnerSessionSecurity.js.map +0 -1
package/dist/server/Api.d.ts
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
import { Account, PullRequest } from "@knpkv/codecommit-core/Domain.js";
|
|
20
20
|
import { WeeklyStats } from "@knpkv/codecommit-core/StatsService/WeeklyStats.js";
|
|
21
21
|
import { Schema } from "effect";
|
|
22
|
-
import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSecurity } from "effect/
|
|
22
|
+
import { HttpApi, HttpApiEndpoint, HttpApiGroup, HttpApiMiddleware, HttpApiSecurity } from "effect/http-api";
|
|
23
23
|
declare const ApiError_base: Schema.Class<ApiError, Schema.TaggedStruct<"ApiError", {
|
|
24
24
|
readonly message: Schema.String;
|
|
25
25
|
}>, import("effect/Cause").YieldableError>;
|
|
@@ -1148,116 +1148,19 @@ 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<"
|
|
1152
|
-
readonly
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
readonly
|
|
1156
|
-
readonly
|
|
1157
|
-
readonly
|
|
1158
|
-
|
|
1159
|
-
readonly
|
|
1160
|
-
readonly
|
|
1161
|
-
readonly
|
|
1162
|
-
readonly
|
|
1163
|
-
|
|
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<{
|
|
1259
|
-
readonly deleted: Schema.Number;
|
|
1260
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/audit/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1151
|
+
declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.HttpApiGroup<"accounts", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/accounts/", never, never, never, never, Schema.toCodecJson<Schema.Chunk<typeof Account>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"audit", HttpApiEndpoint.HttpApiEndpoint<"export", "GET", "/api/audit/export", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1152
|
+
readonly from: Schema.optional<Schema.String>;
|
|
1153
|
+
readonly to: Schema.optional<Schema.String>;
|
|
1154
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1155
|
+
readonly id: Schema.Number;
|
|
1156
|
+
readonly timestamp: Schema.String;
|
|
1157
|
+
readonly operation: Schema.String;
|
|
1158
|
+
readonly accountProfile: Schema.String;
|
|
1159
|
+
readonly region: Schema.String;
|
|
1160
|
+
readonly permissionState: Schema.String;
|
|
1161
|
+
readonly context: Schema.String;
|
|
1162
|
+
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
1163
|
+
}>>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/audit/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1261
1164
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1262
1165
|
readonly offset: Schema.optional<Schema.NumberFromString>;
|
|
1263
1166
|
readonly operation: Schema.optional<Schema.String>;
|
|
@@ -1279,142 +1182,8 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1279
1182
|
}>>;
|
|
1280
1183
|
readonly total: Schema.Number;
|
|
1281
1184
|
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1282
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
1283
|
-
readonly
|
|
1284
|
-
readonly to: Schema.optional<Schema.String>;
|
|
1285
|
-
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1286
|
-
readonly id: Schema.Number;
|
|
1287
|
-
readonly timestamp: Schema.String;
|
|
1288
|
-
readonly operation: Schema.String;
|
|
1289
|
-
readonly accountProfile: Schema.String;
|
|
1290
|
-
readonly region: Schema.String;
|
|
1291
|
-
readonly permissionState: Schema.String;
|
|
1292
|
-
readonly context: Schema.String;
|
|
1293
|
-
readonly durationMs: Schema.NullOr<Schema.Number>;
|
|
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;
|
|
1185
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"clear", "DELETE", "/api/audit/", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1186
|
+
readonly deleted: Schema.Number;
|
|
1418
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<{
|
|
1419
1188
|
readonly id: Schema.String;
|
|
1420
1189
|
readonly name: Schema.String;
|
|
@@ -1538,7 +1307,63 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1538
1307
|
}>>;
|
|
1539
1308
|
}>;
|
|
1540
1309
|
readonly refreshStatus: Schema.Literals<readonly ["refreshed", "failed"]>;
|
|
1541
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"
|
|
1310
|
+
}>>, 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<"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<{
|
|
1311
|
+
readonly id: Schema.Number;
|
|
1312
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"markUnread", "POST", "/api/notifications/unread", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1313
|
+
readonly id: Schema.Number;
|
|
1314
|
+
}>>, never, Schema.toCodecJson<Schema.String>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"ssoLogin", "POST", "/api/notifications/sso-login", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1315
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1316
|
+
}>>, 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<"list", "GET", "/api/notifications/", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1317
|
+
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
1318
|
+
readonly cursor: Schema.optional<Schema.NumberFromString>;
|
|
1319
|
+
readonly filter: Schema.optional<Schema.Literals<readonly ["system", "prs"]>>;
|
|
1320
|
+
readonly unreadOnly: Schema.optional<Schema.NumberFromString>;
|
|
1321
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1322
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1323
|
+
readonly id: Schema.Number;
|
|
1324
|
+
readonly pullRequestId: Schema.String;
|
|
1325
|
+
readonly awsAccountId: Schema.String;
|
|
1326
|
+
readonly type: Schema.String;
|
|
1327
|
+
readonly title: Schema.String;
|
|
1328
|
+
readonly profile: Schema.String;
|
|
1329
|
+
readonly repositoryName: Schema.String;
|
|
1330
|
+
readonly accountRegion: Schema.String;
|
|
1331
|
+
readonly message: Schema.String;
|
|
1332
|
+
readonly createdAt: Schema.String;
|
|
1333
|
+
readonly read: Schema.Number;
|
|
1334
|
+
}>>;
|
|
1335
|
+
readonly nextCursor: Schema.optional<Schema.Number>;
|
|
1336
|
+
}>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"count", "GET", "/api/notifications/count", never, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1337
|
+
readonly unread: Schema.Number;
|
|
1338
|
+
}>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"permissions", HttpApiEndpoint.HttpApiEndpoint<"list", "GET", "/api/permissions/", never, never, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1339
|
+
readonly operation: Schema.String;
|
|
1340
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1341
|
+
readonly category: Schema.Literals<readonly ["read", "write"]>;
|
|
1342
|
+
readonly description: Schema.String;
|
|
1343
|
+
}>>>, 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<{
|
|
1344
|
+
readonly id: Schema.String;
|
|
1345
|
+
readonly response: Schema.Literals<readonly ["allow_once", "always_allow", "deny"]>;
|
|
1346
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"update", "POST", "/api/permissions/update", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1347
|
+
readonly operation: Schema.String;
|
|
1348
|
+
readonly state: Schema.Literals<readonly ["always_allow", "allow", "deny"]>;
|
|
1349
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"updateAuditSettings", "POST", "/api/permissions/audit", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1350
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
1351
|
+
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
1352
|
+
}>>, 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<{
|
|
1353
|
+
readonly enabled: Schema.Boolean;
|
|
1354
|
+
readonly retentionDays: Schema.Number;
|
|
1355
|
+
}>>, never, OwnerSessionAuth, never>, false> | HttpApiGroup.HttpApiGroup<"prs", HttpApiEndpoint.HttpApiEndpoint<"comments", "GET", "/api/prs/comments", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1356
|
+
readonly pullRequestId: Schema.String;
|
|
1357
|
+
readonly repositoryName: Schema.String;
|
|
1358
|
+
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1359
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1360
|
+
}>>, never, never, Schema.toCodecJson<Schema.$Array<Schema.Struct<{
|
|
1361
|
+
readonly filePath: Schema.optional<Schema.String>;
|
|
1362
|
+
readonly beforeCommitId: Schema.optional<Schema.String>;
|
|
1363
|
+
readonly afterCommitId: Schema.optional<Schema.String>;
|
|
1364
|
+
readonly relativeFileVersion: Schema.optional<Schema.Literals<readonly ["BEFORE", "AFTER"]>>;
|
|
1365
|
+
readonly comments: Schema.$Array<Schema.Codec<import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, import("@knpkv/codecommit-core/Domain.js").CommentThreadJsonEncoded, never, never>>;
|
|
1366
|
+
}>>>, 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<"create", "POST", "/api/prs/", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1542
1367
|
readonly repositoryName: Schema.String;
|
|
1543
1368
|
readonly title: Schema.String;
|
|
1544
1369
|
readonly description: Schema.optional<Schema.String>;
|
|
@@ -1558,13 +1383,7 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1558
1383
|
}>>, 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
1384
|
readonly profile: Schema.String;
|
|
1560
1385
|
readonly link: Schema.String;
|
|
1561
|
-
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
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<{
|
|
1386
|
+
}>>, 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<"relayReviewContinueStream", "POST", "/api/prs/:awsAccountId/:prId/relay-review/continue", Schema.toCodecStringTree<Schema.Struct<{
|
|
1568
1387
|
readonly awsAccountId: Schema.String;
|
|
1569
1388
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1570
1389
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -1635,6 +1454,12 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1635
1454
|
readonly model: Schema.withDecodingDefaultTypeKey<Schema.Literals<readonly ["configured-default", "default", "gpt-5.6-luna", "gpt-5.6-terra", "gpt-5.6-sol"]>, never>;
|
|
1636
1455
|
readonly skillIds: Schema.$Array<Schema.String>;
|
|
1637
1456
|
}>;
|
|
1457
|
+
}>>, 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<{
|
|
1458
|
+
readonly pullRequestId: Schema.String;
|
|
1459
|
+
readonly approvalRuleName: Schema.String;
|
|
1460
|
+
readonly requiredApprovals: Schema.Number;
|
|
1461
|
+
readonly poolMembers: Schema.$Array<Schema.String>;
|
|
1462
|
+
readonly account: typeof Account;
|
|
1638
1463
|
}>>, 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
1464
|
readonly awsAccountId: Schema.String;
|
|
1640
1465
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
@@ -1654,6 +1479,31 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1654
1479
|
readonly beforeMode: Schema.NullOr<Schema.String>;
|
|
1655
1480
|
readonly afterMode: Schema.NullOr<Schema.String>;
|
|
1656
1481
|
}>>;
|
|
1482
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
1483
|
+
readonly awsAccountId: Schema.String;
|
|
1484
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1485
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1486
|
+
readonly repositoryName: Schema.optional<Schema.String>;
|
|
1487
|
+
readonly region: Schema.optional<Schema.brand<Schema.String, "AwsRegion">>;
|
|
1488
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1489
|
+
readonly revisionId: Schema.String;
|
|
1490
|
+
readonly headCommit: Schema.String;
|
|
1491
|
+
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"diffContent", "GET", "/api/prs/:awsAccountId/:prId/diff/:fileIndex", Schema.toCodecStringTree<Schema.Struct<{
|
|
1492
|
+
readonly awsAccountId: Schema.String;
|
|
1493
|
+
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
1494
|
+
readonly fileIndex: Schema.NumberFromString;
|
|
1495
|
+
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1496
|
+
readonly repositoryName: Schema.String;
|
|
1497
|
+
readonly region: Schema.brand<Schema.String, "AwsRegion">;
|
|
1498
|
+
readonly revisionId: Schema.String;
|
|
1499
|
+
readonly baseCommit: Schema.String;
|
|
1500
|
+
readonly headCommit: Schema.String;
|
|
1501
|
+
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1502
|
+
readonly fileIndex: Schema.Int;
|
|
1503
|
+
readonly revisionId: Schema.String;
|
|
1504
|
+
readonly state: Schema.Literals<readonly ["text", "binary", "oversized"]>;
|
|
1505
|
+
readonly before: Schema.NullOr<Schema.String>;
|
|
1506
|
+
readonly after: Schema.NullOr<Schema.String>;
|
|
1657
1507
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"relayReview", "POST", "/api/prs/:awsAccountId/:prId/relay-review", Schema.toCodecStringTree<Schema.Struct<{
|
|
1658
1508
|
readonly awsAccountId: Schema.String;
|
|
1659
1509
|
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
@@ -1749,15 +1599,6 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1749
1599
|
readonly findingId: Schema.String;
|
|
1750
1600
|
readonly operationId: Schema.String;
|
|
1751
1601
|
readonly summary: Schema.String;
|
|
1752
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"refreshSingle", "POST", "/api/prs/:awsAccountId/:prId/refresh", Schema.toCodecStringTree<Schema.Struct<{
|
|
1753
|
-
readonly awsAccountId: Schema.String;
|
|
1754
|
-
readonly prId: Schema.brand<Schema.String, "PullRequestId">;
|
|
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<{
|
|
1759
|
-
readonly revisionId: Schema.String;
|
|
1760
|
-
readonly headCommit: Schema.String;
|
|
1761
1602
|
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"search", "GET", "/api/prs/search", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
1762
1603
|
readonly q: Schema.String;
|
|
1763
1604
|
readonly limit: Schema.optional<Schema.NumberFromString>;
|
|
@@ -1785,34 +1626,193 @@ declare const CodeCommitApi_base: HttpApi.HttpApi<"CodeCommitApi", HttpApiGroup.
|
|
|
1785
1626
|
}>>;
|
|
1786
1627
|
readonly total: Schema.Number;
|
|
1787
1628
|
readonly hasMore: Schema.Boolean;
|
|
1788
|
-
}>>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"
|
|
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;
|
|
1789
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;
|
|
1790
1653
|
readonly repositoryName: Schema.String;
|
|
1654
|
+
readonly sourceBranch: Schema.String;
|
|
1791
1655
|
readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
|
|
1792
|
-
readonly region: Schema.
|
|
1793
|
-
}>>, never,
|
|
1794
|
-
readonly
|
|
1795
|
-
readonly
|
|
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<{
|
|
1656
|
+
readonly region: Schema.String;
|
|
1657
|
+
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
1658
|
+
readonly id: Schema.String;
|
|
1659
|
+
readonly pullRequestId: Schema.String;
|
|
1800
1660
|
readonly awsAccountId: Schema.String;
|
|
1801
|
-
readonly
|
|
1802
|
-
readonly fileIndex: Schema.NumberFromString;
|
|
1803
|
-
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
1661
|
+
readonly region: Schema.NullOr<Schema.String>;
|
|
1804
1662
|
readonly repositoryName: Schema.String;
|
|
1805
|
-
readonly
|
|
1806
|
-
readonly
|
|
1807
|
-
readonly
|
|
1808
|
-
readonly
|
|
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>;
|
|
1809
1700
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1810
|
-
readonly
|
|
1811
|
-
readonly
|
|
1812
|
-
readonly
|
|
1813
|
-
readonly
|
|
1814
|
-
readonly
|
|
1815
|
-
|
|
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;
|
|
1802
|
+
readonly pullRequestId: Schema.String;
|
|
1803
|
+
readonly repositoryName: Schema.NullOr<Schema.String>;
|
|
1804
|
+
readonly accountRegion: Schema.NullOr<Schema.String>;
|
|
1805
|
+
}>>>, never, OwnerSessionAuth, never> | HttpApiEndpoint.HttpApiEndpoint<"subscribe", "POST", "/api/subscriptions/subscribe", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
1806
|
+
readonly awsAccountId: Schema.String;
|
|
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>;
|
|
1815
|
+
}>>, never, Schema.toCodecJson<Schema.String>, Schema.toCodecJson<typeof ApiError>, OwnerSessionAuth, never>, false>>;
|
|
1816
1816
|
export declare class CodeCommitApi extends CodeCommitApi_base {
|
|
1817
1817
|
}
|
|
1818
1818
|
//# sourceMappingURL=Api.d.ts.map
|