@empiricalrun/playwright-utils 0.70.1 → 0.70.3
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/CHANGELOG.md +24 -0
- package/dist/api-worker-client.d.ts +2 -0
- package/dist/api-worker-client.d.ts.map +1 -1
- package/dist/api-worker-client.js +4 -0
- package/dist/generated/api-worker-openapi.d.ts +1163 -515
- package/dist/generated/api-worker-openapi.d.ts.map +1 -1
- package/dist/reporter/empirical-reporter.js +1 -1
- package/dist/reporter/presigned-upload.d.ts +1 -3
- package/dist/reporter/presigned-upload.d.ts.map +1 -1
- package/dist/reporter/presigned-upload.js +2 -2
- package/dist/reporter/uploader.d.ts +11 -15
- package/dist/reporter/uploader.d.ts.map +1 -1
- package/dist/reporter/uploader.js +49 -101
- package/package.json +4 -4
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -151,27 +151,47 @@ export interface paths {
|
|
|
151
151
|
patch?: never;
|
|
152
152
|
trace?: never;
|
|
153
153
|
};
|
|
154
|
-
"/api/test-runs/{id}/
|
|
154
|
+
"/api/test-runs/{id}/logs": {
|
|
155
155
|
parameters: {
|
|
156
156
|
query?: never;
|
|
157
157
|
header?: never;
|
|
158
158
|
path?: never;
|
|
159
159
|
cookie?: never;
|
|
160
160
|
};
|
|
161
|
-
|
|
161
|
+
/**
|
|
162
|
+
* 🤖 Get test run logs
|
|
163
|
+
* @description Returns worker logs for one job of a run, addressed by its database id, newest page first. Pass `shardIndex` (and `jobType: run_setup` for the setup job) as listed by `GET /api/test-runs/{id}/shards`; page back with `nextToken` set to `nextBackwardToken` until it is absent.
|
|
164
|
+
*/
|
|
165
|
+
get: operations["getTestRunLogs"];
|
|
162
166
|
put?: never;
|
|
163
167
|
post?: never;
|
|
164
168
|
delete?: never;
|
|
165
169
|
options?: never;
|
|
166
170
|
head?: never;
|
|
171
|
+
patch?: never;
|
|
172
|
+
trace?: never;
|
|
173
|
+
};
|
|
174
|
+
"/api/test-runs/{id}/shards": {
|
|
175
|
+
parameters: {
|
|
176
|
+
query?: never;
|
|
177
|
+
header?: never;
|
|
178
|
+
path?: never;
|
|
179
|
+
cookie?: never;
|
|
180
|
+
};
|
|
167
181
|
/**
|
|
168
|
-
*
|
|
169
|
-
* @description
|
|
182
|
+
* 🤖 List test run shards
|
|
183
|
+
* @description Lists the shards for a run, addressed by its database id, with each shard's job type, state and timings, plus the duration-based shard plan: how many shards the planner chose, why, and the heaviest unit that set the floor on the run's wall-clock time.
|
|
170
184
|
*/
|
|
171
|
-
|
|
185
|
+
get: operations["listTestRunShards"];
|
|
186
|
+
put?: never;
|
|
187
|
+
post?: never;
|
|
188
|
+
delete?: never;
|
|
189
|
+
options?: never;
|
|
190
|
+
head?: never;
|
|
191
|
+
patch?: never;
|
|
172
192
|
trace?: never;
|
|
173
193
|
};
|
|
174
|
-
"/api/test-runs/{id}/
|
|
194
|
+
"/api/test-runs/{id}/test-case-durations": {
|
|
175
195
|
parameters: {
|
|
176
196
|
query?: never;
|
|
177
197
|
header?: never;
|
|
@@ -179,10 +199,10 @@ export interface paths {
|
|
|
179
199
|
cookie?: never;
|
|
180
200
|
};
|
|
181
201
|
/**
|
|
182
|
-
*
|
|
183
|
-
* @description Returns the
|
|
202
|
+
* 🤖 Get test case durations for shard planning
|
|
203
|
+
* @description Returns the 7-day and last-day average duration per test case in the run's project and environment (project-wide when the run has no environment), keyed by the normalized 41-char Playwright test id, addressed by the run's external run_id. Skipped results are counted apart from the duration statistics, so a test that only skips is served with `total_runs: 0` and its skip count and duration. Used by the `run_setup` container to pack a shard plan: the analytics token is account-scoped and cannot be handed to a sandbox running customer test code, so the api-worker holds it and serves the numbers. Not filtered to the run's tests — the container filters to the tests it listed. An environment with no history returns an empty object; a broken analytics query returns 503, so the container can tell the two apart and fall back rather than plan off nothing.
|
|
184
204
|
*/
|
|
185
|
-
get: operations["
|
|
205
|
+
get: operations["getTestRunTestCaseDurations"];
|
|
186
206
|
put?: never;
|
|
187
207
|
post?: never;
|
|
188
208
|
delete?: never;
|
|
@@ -191,18 +211,38 @@ export interface paths {
|
|
|
191
211
|
patch?: never;
|
|
192
212
|
trace?: never;
|
|
193
213
|
};
|
|
194
|
-
"/api/test-runs/{id}/
|
|
214
|
+
"/api/test-runs/{id}/ecs-task": {
|
|
195
215
|
parameters: {
|
|
196
216
|
query?: never;
|
|
197
217
|
header?: never;
|
|
198
218
|
path?: never;
|
|
199
219
|
cookie?: never;
|
|
200
220
|
};
|
|
221
|
+
get?: never;
|
|
222
|
+
put?: never;
|
|
223
|
+
post?: never;
|
|
224
|
+
delete?: never;
|
|
225
|
+
options?: never;
|
|
226
|
+
head?: never;
|
|
201
227
|
/**
|
|
202
|
-
* ⚙️
|
|
203
|
-
* @description
|
|
228
|
+
* ⚙️ Record a test run's ECS task id
|
|
229
|
+
* @description Records the ECS task id assigned to a run (or one of its shards), keyed by the external run_id.
|
|
204
230
|
*/
|
|
205
|
-
|
|
231
|
+
patch: operations["updateTestRunEcsTask"];
|
|
232
|
+
trace?: never;
|
|
233
|
+
};
|
|
234
|
+
"/api/test-runs/{id}/environment-variables": {
|
|
235
|
+
parameters: {
|
|
236
|
+
query?: never;
|
|
237
|
+
header?: never;
|
|
238
|
+
path?: never;
|
|
239
|
+
cookie?: never;
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* ⚙️ Get test run environment variables
|
|
243
|
+
* @description Returns the resolved environment variables for a run (global, environment-specific, then run overrides), addressed by its external run_id. Used by the test-run-worker.
|
|
244
|
+
*/
|
|
245
|
+
get: operations["getTestRunEnvironmentVariables"];
|
|
206
246
|
put?: never;
|
|
207
247
|
post?: never;
|
|
208
248
|
delete?: never;
|
|
@@ -211,7 +251,7 @@ export interface paths {
|
|
|
211
251
|
patch?: never;
|
|
212
252
|
trace?: never;
|
|
213
253
|
};
|
|
214
|
-
"/api/test-runs/{id}/
|
|
254
|
+
"/api/test-runs/{id}/linked-changes": {
|
|
215
255
|
parameters: {
|
|
216
256
|
query?: never;
|
|
217
257
|
header?: never;
|
|
@@ -219,10 +259,10 @@ export interface paths {
|
|
|
219
259
|
cookie?: never;
|
|
220
260
|
};
|
|
221
261
|
/**
|
|
222
|
-
* ⚙️ Get test run
|
|
223
|
-
* @description
|
|
262
|
+
* ⚙️ Get linked test changes for a run
|
|
263
|
+
* @description For a run triggered by an app pull request, evaluates the same-name test branch live on GitHub (the state behind the "Empirical linked test changes" check) and returns the latest check written for the PR. Addressed by the database id. Serves the dashboard UI.
|
|
224
264
|
*/
|
|
225
|
-
get: operations["
|
|
265
|
+
get: operations["getTestRunLinkedChanges"];
|
|
226
266
|
put?: never;
|
|
227
267
|
post?: never;
|
|
228
268
|
delete?: never;
|
|
@@ -295,26 +335,6 @@ export interface paths {
|
|
|
295
335
|
patch?: never;
|
|
296
336
|
trace?: never;
|
|
297
337
|
};
|
|
298
|
-
"/api/test-runs/{id}/shards": {
|
|
299
|
-
parameters: {
|
|
300
|
-
query?: never;
|
|
301
|
-
header?: never;
|
|
302
|
-
path?: never;
|
|
303
|
-
cookie?: never;
|
|
304
|
-
};
|
|
305
|
-
/**
|
|
306
|
-
* ⚙️ List test run shards
|
|
307
|
-
* @description Lists the shards for a run, addressed by its database id. Serves the dashboard UI.
|
|
308
|
-
*/
|
|
309
|
-
get: operations["listTestRunShards"];
|
|
310
|
-
put?: never;
|
|
311
|
-
post?: never;
|
|
312
|
-
delete?: never;
|
|
313
|
-
options?: never;
|
|
314
|
-
head?: never;
|
|
315
|
-
patch?: never;
|
|
316
|
-
trace?: never;
|
|
317
|
-
};
|
|
318
338
|
"/api/test-runs/{id}/shards/{shard_index}/assigned-tests": {
|
|
319
339
|
parameters: {
|
|
320
340
|
query?: never;
|
|
@@ -415,26 +435,6 @@ export interface paths {
|
|
|
415
435
|
patch?: never;
|
|
416
436
|
trace?: never;
|
|
417
437
|
};
|
|
418
|
-
"/api/test-runs/{id}/test-case-durations": {
|
|
419
|
-
parameters: {
|
|
420
|
-
query?: never;
|
|
421
|
-
header?: never;
|
|
422
|
-
path?: never;
|
|
423
|
-
cookie?: never;
|
|
424
|
-
};
|
|
425
|
-
/**
|
|
426
|
-
* ⚙️ Get test case durations for shard planning
|
|
427
|
-
* @description Returns the 7-day and last-day average duration per test case in the run's project and environment (project-wide when the run has no environment; skipped results excluded), keyed by the normalized 41-char Playwright test id, addressed by the run's external run_id. Used by the `run_setup` container to pack a shard plan: the analytics token is account-scoped and cannot be handed to a sandbox running customer test code, so the api-worker holds it and serves the numbers. Not filtered to the run's tests — the container filters to the tests it listed. An environment with no history returns an empty object; a broken analytics query returns 503, so the container can tell the two apart and fall back rather than plan off nothing.
|
|
428
|
-
*/
|
|
429
|
-
get: operations["getTestRunTestCaseDurations"];
|
|
430
|
-
put?: never;
|
|
431
|
-
post?: never;
|
|
432
|
-
delete?: never;
|
|
433
|
-
options?: never;
|
|
434
|
-
head?: never;
|
|
435
|
-
patch?: never;
|
|
436
|
-
trace?: never;
|
|
437
|
-
};
|
|
438
438
|
"/api/test-runs/{id}/trigger-merge": {
|
|
439
439
|
parameters: {
|
|
440
440
|
query?: never;
|
|
@@ -1157,7 +1157,7 @@ export interface paths {
|
|
|
1157
1157
|
put?: never;
|
|
1158
1158
|
/**
|
|
1159
1159
|
* 🤖 Post a Slack message
|
|
1160
|
-
* @description Posts Markdown to a Slack channel/thread, or a recipient-addressed DM, as the Empirical bot. Provide exactly one of channel, slack_user_id, or user_id. Recipient sends create a new DM root and require idempotency_key. Channel-wide mentions (<!channel>, <!here>, <!everyone>) are rejected; tag a subteam or users instead. Bare user IDs (@U…) outside code are rejected unless allow_bare_user_ids is true; write <@U…> to tag someone. Channel sends use the channel and root timestamp coordinates the agent was given. Sandbox-delegated principals only; the channel must be one the calling project can reach. Every send claims its idempotency key for the sending session before posting, so a resend returns the earlier message instead of posting twice. New roots are registered and bound to the sending session after posting; if a send fails after Slack accepted it, check Slack before retrying with a new key.
|
|
1160
|
+
* @description Posts Markdown to a Slack channel/thread, or a recipient-addressed DM, as the Empirical bot. Provide exactly one of channel, slack_user_id, or user_id. Recipient sends create a new DM root and require idempotency_key. Channel-wide mentions (<!channel>, <!here>, <!everyone>) are rejected; tag a subteam or users instead. Bare user IDs (@U…) outside code are rejected unless allow_bare_user_ids is true; write <@U…> to tag someone. Slack link syntax (<https://…|label>) outside code is rejected; write Markdown links ([label](https://…)). Channel sends use the channel and root timestamp coordinates the agent was given. Sandbox-delegated principals only; the channel must be one the calling project can reach. Every send claims its idempotency key for the sending session before posting, so a resend returns the earlier message instead of posting twice. New roots are registered and bound to the sending session after posting; if a send fails after Slack accepted it, check Slack before retrying with a new key.
|
|
1161
1161
|
*/
|
|
1162
1162
|
post: operations["slackSendMessage"];
|
|
1163
1163
|
delete?: never;
|
|
@@ -1185,7 +1185,7 @@ export interface paths {
|
|
|
1185
1185
|
head?: never;
|
|
1186
1186
|
/**
|
|
1187
1187
|
* 🤖 Edit a Slack message
|
|
1188
|
-
* @description Replaces the Markdown and buttons of a message the calling project's agent posted with POST /api/slack/messages. Messages whose input buttons were already selected cannot be edited. Channel-wide mentions are rejected. Sandbox-delegated principals only.
|
|
1188
|
+
* @description Replaces the Markdown and buttons of a message the calling project's agent posted with POST /api/slack/messages. Messages whose input buttons were already selected cannot be edited. Channel-wide mentions, bare user IDs and Slack link syntax are rejected as in POST /api/slack/messages. Sandbox-delegated principals only.
|
|
1189
1189
|
*/
|
|
1190
1190
|
patch: operations["slackUpdateMessage"];
|
|
1191
1191
|
trace?: never;
|
|
@@ -1550,6 +1550,26 @@ export interface paths {
|
|
|
1550
1550
|
patch: operations["updateFile"];
|
|
1551
1551
|
trace?: never;
|
|
1552
1552
|
};
|
|
1553
|
+
"/api/files/{id}/share-link": {
|
|
1554
|
+
parameters: {
|
|
1555
|
+
query?: never;
|
|
1556
|
+
header?: never;
|
|
1557
|
+
path?: never;
|
|
1558
|
+
cookie?: never;
|
|
1559
|
+
};
|
|
1560
|
+
get?: never;
|
|
1561
|
+
put?: never;
|
|
1562
|
+
/**
|
|
1563
|
+
* Create a share link
|
|
1564
|
+
* @description Returns a link to one file that anyone can open without signing in, for up to 1 hour. Use it only where credentials can't be sent, such as embedding an image in a Google Doc.
|
|
1565
|
+
*/
|
|
1566
|
+
post: operations["createFileShareLink"];
|
|
1567
|
+
delete?: never;
|
|
1568
|
+
options?: never;
|
|
1569
|
+
head?: never;
|
|
1570
|
+
patch?: never;
|
|
1571
|
+
trace?: never;
|
|
1572
|
+
};
|
|
1553
1573
|
"/api/inboxes": {
|
|
1554
1574
|
parameters: {
|
|
1555
1575
|
query?: never;
|
|
@@ -1914,7 +1934,7 @@ export interface paths {
|
|
|
1914
1934
|
put?: never;
|
|
1915
1935
|
/**
|
|
1916
1936
|
* 🤖 Proxy a GitHub API request
|
|
1917
|
-
* @description Forwards an authenticated request to the GitHub API and returns the GitHub response verbatim. The request's project (bound token, or the `x-project-id`/`x-project-slug` header) picks the GitHub App: its own repo goes through the main App; another repo the project's org installed the reporter App on is read through the reporter App, and writes to it are rejected. Without a project, the main App is used. Merging a pull request with `merge_method` `squash` or `rebase` is rejected; only merge commits are allowed, and creating a draft pull request is rejected. Other writes to a project's default or protected branches are refused, as git-worker refuses the equivalent push. Project API keys are read-only. Sandbox-delegation principals are additionally constrained by per-session proxy rules.
|
|
1937
|
+
* @description Forwards an authenticated request to the GitHub API and returns the GitHub response verbatim. The request's project (bound token, or the `x-project-id`/`x-project-slug` header) picks the GitHub App: its own repo goes through the main App; another repo the project's org installed the reporter App on is read through the reporter App, and writes to it are rejected. Without a project, the main App is used. Merging a pull request with `merge_method` `squash` or `rebase` is rejected; only merge commits are allowed, a merge of a pull request that is behind its base branch is refused, and creating a draft pull request is rejected. Other writes to a project's default or protected branches are refused, as git-worker refuses the equivalent push. Project API keys are read-only. Sandbox-delegation principals are additionally constrained by per-session proxy rules.
|
|
1918
1938
|
*/
|
|
1919
1939
|
post: operations["githubProxy"];
|
|
1920
1940
|
delete?: never;
|
|
@@ -2003,6 +2023,30 @@ export interface paths {
|
|
|
2003
2023
|
patch?: never;
|
|
2004
2024
|
trace?: never;
|
|
2005
2025
|
};
|
|
2026
|
+
"/api/projects/{id}": {
|
|
2027
|
+
parameters: {
|
|
2028
|
+
query?: never;
|
|
2029
|
+
header?: never;
|
|
2030
|
+
path?: never;
|
|
2031
|
+
cookie?: never;
|
|
2032
|
+
};
|
|
2033
|
+
/**
|
|
2034
|
+
* 🤖 Get a project
|
|
2035
|
+
* @description Retrieves a single project by ID.
|
|
2036
|
+
*/
|
|
2037
|
+
get: operations["getProject"];
|
|
2038
|
+
put?: never;
|
|
2039
|
+
post?: never;
|
|
2040
|
+
delete?: never;
|
|
2041
|
+
options?: never;
|
|
2042
|
+
head?: never;
|
|
2043
|
+
/**
|
|
2044
|
+
* 🤖 Update a project
|
|
2045
|
+
* @description Updates editable fields on a project.
|
|
2046
|
+
*/
|
|
2047
|
+
patch: operations["updateProject"];
|
|
2048
|
+
trace?: never;
|
|
2049
|
+
};
|
|
2006
2050
|
"/api/projects/initialize-repo": {
|
|
2007
2051
|
parameters: {
|
|
2008
2052
|
query?: never;
|
|
@@ -2207,26 +2251,6 @@ export interface paths {
|
|
|
2207
2251
|
patch?: never;
|
|
2208
2252
|
trace?: never;
|
|
2209
2253
|
};
|
|
2210
|
-
"/api/traces/compare": {
|
|
2211
|
-
parameters: {
|
|
2212
|
-
query?: never;
|
|
2213
|
-
header?: never;
|
|
2214
|
-
path?: never;
|
|
2215
|
-
cookie?: never;
|
|
2216
|
-
};
|
|
2217
|
-
get?: never;
|
|
2218
|
-
put?: never;
|
|
2219
|
-
/**
|
|
2220
|
-
* 🤖 Compare a failed attempt with a passing one, step by step
|
|
2221
|
-
* @description Aligns the steps of a case's failed attempt with a passing attempt of the same test (the dashboard's Compare tab) and returns where they diverge: the step it failed on, steps that ran only on one side, steps that got much slower, and optionally the page as each side left that step.
|
|
2222
|
-
*/
|
|
2223
|
-
post: operations["compareTraceAgainstPass"];
|
|
2224
|
-
delete?: never;
|
|
2225
|
-
options?: never;
|
|
2226
|
-
head?: never;
|
|
2227
|
-
patch?: never;
|
|
2228
|
-
trace?: never;
|
|
2229
|
-
};
|
|
2230
2254
|
"/api/traces/query": {
|
|
2231
2255
|
parameters: {
|
|
2232
2256
|
query?: never;
|
|
@@ -2590,8 +2614,8 @@ export interface paths {
|
|
|
2590
2614
|
get?: never;
|
|
2591
2615
|
put?: never;
|
|
2592
2616
|
/**
|
|
2593
|
-
* 🛡️ Start a Dodo checkout for
|
|
2594
|
-
* @description Creates a Dodo hosted checkout that subscribes the scoped project's org to
|
|
2617
|
+
* 🛡️ Start a Dodo checkout for a plan
|
|
2618
|
+
* @description Creates a Dodo hosted checkout that subscribes the scoped project's org to `plan_id`, one of the active shared plans with a Dodo product. For orgs without a plan, on a trial, or whose plan has an end date, and not billed in INR. The plan takes effect when Dodo confirms the subscription by webhook.
|
|
2595
2619
|
*/
|
|
2596
2620
|
post: operations["createSubscriptionCheckout"];
|
|
2597
2621
|
delete?: never;
|
|
@@ -2628,8 +2652,8 @@ export interface paths {
|
|
|
2628
2652
|
cookie?: never;
|
|
2629
2653
|
};
|
|
2630
2654
|
/**
|
|
2631
|
-
* 🛡️ Get the
|
|
2632
|
-
* @description Whether the scoped project's org can start a Dodo checkout now (same rules as the checkout endpoint), and the plan
|
|
2655
|
+
* 🛡️ Get the plans the org can subscribe to
|
|
2656
|
+
* @description Whether the scoped project's org can start a Dodo checkout now (same rules as the checkout endpoint), and the terms of each plan for sale if so. The billing page shows one card per plan.
|
|
2633
2657
|
*/
|
|
2634
2658
|
get: operations["getSubscriptionOffer"];
|
|
2635
2659
|
put?: never;
|
|
@@ -2743,7 +2767,7 @@ export interface paths {
|
|
|
2743
2767
|
head?: never;
|
|
2744
2768
|
/**
|
|
2745
2769
|
* ⚙️ Update a chat session
|
|
2746
|
-
* @description Updates allowed fields on a chat session.
|
|
2770
|
+
* @description Updates allowed fields on a chat session. `impacted_tests` is accepted from older sandboxes and ignored. System-created session origin fields are server-controlled and immutable.
|
|
2747
2771
|
*/
|
|
2748
2772
|
patch: operations["patchChatSession"];
|
|
2749
2773
|
trace?: never;
|
|
@@ -2968,6 +2992,30 @@ export interface paths {
|
|
|
2968
2992
|
patch?: never;
|
|
2969
2993
|
trace?: never;
|
|
2970
2994
|
};
|
|
2995
|
+
"/api/chat-sessions/{id}/impacted-tests": {
|
|
2996
|
+
parameters: {
|
|
2997
|
+
query?: never;
|
|
2998
|
+
header?: never;
|
|
2999
|
+
path?: never;
|
|
3000
|
+
cookie?: never;
|
|
3001
|
+
};
|
|
3002
|
+
/**
|
|
3003
|
+
* ⚙️ Get the latest impacted tests for a branch or session
|
|
3004
|
+
* @description With `branch`, returns the most recently computed impacted tests for that branch in the session's project, whichever session computed them. Without it, returns the latest result this session's sandbox computed, on whichever branch it had checked out. `data` is null when there is no result yet.
|
|
3005
|
+
*/
|
|
3006
|
+
get: operations["getChatSessionImpactedTests"];
|
|
3007
|
+
/**
|
|
3008
|
+
* ⚙️ Save impacted tests for a commit
|
|
3009
|
+
* @description Stores the impacted tests the session's sandbox computed for one commit of a branch, replacing any earlier result for that commit. Side effect: broadcasts an `impacted_tests` realtime update for the session.
|
|
3010
|
+
*/
|
|
3011
|
+
put: operations["putChatSessionImpactedTests"];
|
|
3012
|
+
post?: never;
|
|
3013
|
+
delete?: never;
|
|
3014
|
+
options?: never;
|
|
3015
|
+
head?: never;
|
|
3016
|
+
patch?: never;
|
|
3017
|
+
trace?: never;
|
|
3018
|
+
};
|
|
2971
3019
|
"/api/chat-sessions/{id}/lineage": {
|
|
2972
3020
|
parameters: {
|
|
2973
3021
|
query?: never;
|
|
@@ -3826,6 +3874,26 @@ export interface paths {
|
|
|
3826
3874
|
patch?: never;
|
|
3827
3875
|
trace?: never;
|
|
3828
3876
|
};
|
|
3877
|
+
"/api/github/files/raw-image": {
|
|
3878
|
+
parameters: {
|
|
3879
|
+
query?: never;
|
|
3880
|
+
header?: never;
|
|
3881
|
+
path?: never;
|
|
3882
|
+
cookie?: never;
|
|
3883
|
+
};
|
|
3884
|
+
/**
|
|
3885
|
+
* ⚙️ Get an image file's bytes
|
|
3886
|
+
* @description Streams an image file from a repository the caller's project is connected to, with its image content type.
|
|
3887
|
+
*/
|
|
3888
|
+
get: operations["getRepoRawImage"];
|
|
3889
|
+
put?: never;
|
|
3890
|
+
post?: never;
|
|
3891
|
+
delete?: never;
|
|
3892
|
+
options?: never;
|
|
3893
|
+
head?: never;
|
|
3894
|
+
patch?: never;
|
|
3895
|
+
trace?: never;
|
|
3896
|
+
};
|
|
3829
3897
|
"/api/github/main-app/installations": {
|
|
3830
3898
|
parameters: {
|
|
3831
3899
|
query?: never;
|
|
@@ -3921,7 +3989,7 @@ export interface paths {
|
|
|
3921
3989
|
put?: never;
|
|
3922
3990
|
/**
|
|
3923
3991
|
* ⚙️ Merge a pull request
|
|
3924
|
-
* @description Merges an open, mergeable pull request with a merge commit.
|
|
3992
|
+
* @description Merges an open, mergeable pull request with a merge commit. A PR that is behind its base branch is refused until the base is merged into it.
|
|
3925
3993
|
*/
|
|
3926
3994
|
post: operations["mergePullRequest"];
|
|
3927
3995
|
delete?: never;
|
|
@@ -4214,6 +4282,26 @@ export interface paths {
|
|
|
4214
4282
|
patch?: never;
|
|
4215
4283
|
trace?: never;
|
|
4216
4284
|
};
|
|
4285
|
+
"/api/hive/skills/{name}": {
|
|
4286
|
+
parameters: {
|
|
4287
|
+
query?: never;
|
|
4288
|
+
header?: never;
|
|
4289
|
+
path?: never;
|
|
4290
|
+
cookie?: never;
|
|
4291
|
+
};
|
|
4292
|
+
/**
|
|
4293
|
+
* ⚙️ Get a Hive skill's files
|
|
4294
|
+
* @description Returns every file of a Hive skill at its `@latest` version, or at `version` when given. `empirical init` reads the onboarding template from here so the template lives only in Hive.
|
|
4295
|
+
*/
|
|
4296
|
+
get: operations["getHiveSkill"];
|
|
4297
|
+
put?: never;
|
|
4298
|
+
post?: never;
|
|
4299
|
+
delete?: never;
|
|
4300
|
+
options?: never;
|
|
4301
|
+
head?: never;
|
|
4302
|
+
patch?: never;
|
|
4303
|
+
trace?: never;
|
|
4304
|
+
};
|
|
4217
4305
|
"/api/inbox/proxy": {
|
|
4218
4306
|
parameters: {
|
|
4219
4307
|
query?: never;
|
|
@@ -4761,7 +4849,7 @@ export interface paths {
|
|
|
4761
4849
|
put?: never;
|
|
4762
4850
|
/**
|
|
4763
4851
|
* Receive a Jira webhook
|
|
4764
|
-
* @description Receives a Jira webhook delivery, resolves the install and project, and ingests issues carrying the `empirical` label as Empirical tasks.
|
|
4852
|
+
* @description Receives a Jira webhook delivery, verifies the bearer JWT Jira signs with the app's client secret, resolves the install and project, and ingests issues carrying the `empirical` label as Empirical tasks.
|
|
4765
4853
|
*/
|
|
4766
4854
|
post: operations["receiveJiraWebhook"];
|
|
4767
4855
|
delete?: never;
|
|
@@ -5270,6 +5358,46 @@ export interface paths {
|
|
|
5270
5358
|
patch?: never;
|
|
5271
5359
|
trace?: never;
|
|
5272
5360
|
};
|
|
5361
|
+
"/api/oauth/authorizations/{authorization_id}": {
|
|
5362
|
+
parameters: {
|
|
5363
|
+
query?: never;
|
|
5364
|
+
header?: never;
|
|
5365
|
+
path?: never;
|
|
5366
|
+
cookie?: never;
|
|
5367
|
+
};
|
|
5368
|
+
/**
|
|
5369
|
+
* Get a pending sign-in request to Empirical
|
|
5370
|
+
* @description The app and scopes of an OAuth authorization the caller is asked to approve on the consent screen.
|
|
5371
|
+
*/
|
|
5372
|
+
get: operations["getOAuthAuthorization"];
|
|
5373
|
+
put?: never;
|
|
5374
|
+
post?: never;
|
|
5375
|
+
delete?: never;
|
|
5376
|
+
options?: never;
|
|
5377
|
+
head?: never;
|
|
5378
|
+
patch?: never;
|
|
5379
|
+
trace?: never;
|
|
5380
|
+
};
|
|
5381
|
+
"/api/oauth/authorizations/{authorization_id}/consent": {
|
|
5382
|
+
parameters: {
|
|
5383
|
+
query?: never;
|
|
5384
|
+
header?: never;
|
|
5385
|
+
path?: never;
|
|
5386
|
+
cookie?: never;
|
|
5387
|
+
};
|
|
5388
|
+
get?: never;
|
|
5389
|
+
put?: never;
|
|
5390
|
+
/**
|
|
5391
|
+
* Approve or deny a sign-in request to Empirical
|
|
5392
|
+
* @description Records the caller's answer on the consent screen and returns the app's redirect.
|
|
5393
|
+
*/
|
|
5394
|
+
post: operations["submitOAuthConsent"];
|
|
5395
|
+
delete?: never;
|
|
5396
|
+
options?: never;
|
|
5397
|
+
head?: never;
|
|
5398
|
+
patch?: never;
|
|
5399
|
+
trace?: never;
|
|
5400
|
+
};
|
|
5273
5401
|
"/api/oauth/authorize-url": {
|
|
5274
5402
|
parameters: {
|
|
5275
5403
|
query?: never;
|
|
@@ -5810,30 +5938,6 @@ export interface paths {
|
|
|
5810
5938
|
patch?: never;
|
|
5811
5939
|
trace?: never;
|
|
5812
5940
|
};
|
|
5813
|
-
"/api/projects/{id}": {
|
|
5814
|
-
parameters: {
|
|
5815
|
-
query?: never;
|
|
5816
|
-
header?: never;
|
|
5817
|
-
path?: never;
|
|
5818
|
-
cookie?: never;
|
|
5819
|
-
};
|
|
5820
|
-
/**
|
|
5821
|
-
* ⚙️ Get a project
|
|
5822
|
-
* @description Retrieves a single project by ID.
|
|
5823
|
-
*/
|
|
5824
|
-
get: operations["getProject"];
|
|
5825
|
-
put?: never;
|
|
5826
|
-
post?: never;
|
|
5827
|
-
delete?: never;
|
|
5828
|
-
options?: never;
|
|
5829
|
-
head?: never;
|
|
5830
|
-
/**
|
|
5831
|
-
* ⚙️ Update a project
|
|
5832
|
-
* @description Updates editable fields on a project.
|
|
5833
|
-
*/
|
|
5834
|
-
patch: operations["updateProject"];
|
|
5835
|
-
trace?: never;
|
|
5836
|
-
};
|
|
5837
5941
|
"/api/projects/{id}/blocks": {
|
|
5838
5942
|
parameters: {
|
|
5839
5943
|
query?: never;
|
|
@@ -6344,6 +6448,26 @@ export interface paths {
|
|
|
6344
6448
|
patch?: never;
|
|
6345
6449
|
trace?: never;
|
|
6346
6450
|
};
|
|
6451
|
+
"/api/report-tokens": {
|
|
6452
|
+
parameters: {
|
|
6453
|
+
query?: never;
|
|
6454
|
+
header?: never;
|
|
6455
|
+
path?: never;
|
|
6456
|
+
cookie?: never;
|
|
6457
|
+
};
|
|
6458
|
+
get?: never;
|
|
6459
|
+
put?: never;
|
|
6460
|
+
/**
|
|
6461
|
+
* Create a report read token
|
|
6462
|
+
* @description Issues a token for reading the test report files of the projects behind `report_url`, if the caller can access all of them.
|
|
6463
|
+
*/
|
|
6464
|
+
post: operations["createReportToken"];
|
|
6465
|
+
delete?: never;
|
|
6466
|
+
options?: never;
|
|
6467
|
+
head?: never;
|
|
6468
|
+
patch?: never;
|
|
6469
|
+
trace?: never;
|
|
6470
|
+
};
|
|
6347
6471
|
"/api/runner-backends/claim": {
|
|
6348
6472
|
parameters: {
|
|
6349
6473
|
query?: never;
|
|
@@ -6588,6 +6712,26 @@ export interface paths {
|
|
|
6588
6712
|
patch?: never;
|
|
6589
6713
|
trace?: never;
|
|
6590
6714
|
};
|
|
6715
|
+
"/api/test-reports/storage": {
|
|
6716
|
+
parameters: {
|
|
6717
|
+
query?: never;
|
|
6718
|
+
header?: never;
|
|
6719
|
+
path?: never;
|
|
6720
|
+
cookie?: never;
|
|
6721
|
+
};
|
|
6722
|
+
/**
|
|
6723
|
+
* ⚙️ Get where uploaded reports are served
|
|
6724
|
+
* @description Returns the base URL of the reports that `upload-urls` presigns into.
|
|
6725
|
+
*/
|
|
6726
|
+
get: operations["getTestReportStorage"];
|
|
6727
|
+
put?: never;
|
|
6728
|
+
post?: never;
|
|
6729
|
+
delete?: never;
|
|
6730
|
+
options?: never;
|
|
6731
|
+
head?: never;
|
|
6732
|
+
patch?: never;
|
|
6733
|
+
trace?: never;
|
|
6734
|
+
};
|
|
6591
6735
|
"/api/test-reports/upload-urls": {
|
|
6592
6736
|
parameters: {
|
|
6593
6737
|
query?: never;
|
|
@@ -7665,6 +7809,25 @@ export interface components {
|
|
|
7665
7809
|
/** @description Whether the branch exists. */
|
|
7666
7810
|
exists: boolean;
|
|
7667
7811
|
};
|
|
7812
|
+
BranchImpactedTestsResponse: {
|
|
7813
|
+
/** @description Response payload. */
|
|
7814
|
+
data: {
|
|
7815
|
+
/** @description Branch the commit is on. */
|
|
7816
|
+
branch: string;
|
|
7817
|
+
/** @description Commit the result is for. */
|
|
7818
|
+
head_sha: string;
|
|
7819
|
+
/** @description Merge-base with the default branch the diff ran against. */
|
|
7820
|
+
base_sha: string;
|
|
7821
|
+
/** @description Session whose sandbox computed the result. */
|
|
7822
|
+
chat_session_id: number | null;
|
|
7823
|
+
impacted_tests: components["schemas"]["ImpactedTests"];
|
|
7824
|
+
/**
|
|
7825
|
+
* Format: date-time
|
|
7826
|
+
* @description When the result last changed.
|
|
7827
|
+
*/
|
|
7828
|
+
updated_at: string;
|
|
7829
|
+
} | null;
|
|
7830
|
+
};
|
|
7668
7831
|
CancelTestRunFailureResponse: {
|
|
7669
7832
|
/** @description Reason the test run could not be cancelled. */
|
|
7670
7833
|
message: string;
|
|
@@ -7718,6 +7881,13 @@ export interface components {
|
|
|
7718
7881
|
type: "added" | "removed" | "modified";
|
|
7719
7882
|
};
|
|
7720
7883
|
}[] | null;
|
|
7884
|
+
/** @description One entry per Playwright project the test runs in, when the sandbox could list them. Absent for removed tests. */
|
|
7885
|
+
playwright_tests?: {
|
|
7886
|
+
/** @description Playwright test id, as `--list` reports it. */
|
|
7887
|
+
test_case_id: string;
|
|
7888
|
+
/** @description Playwright project the id belongs to. */
|
|
7889
|
+
project: string;
|
|
7890
|
+
}[];
|
|
7721
7891
|
}[];
|
|
7722
7892
|
/** @description Whether the agent is awaiting user input. */
|
|
7723
7893
|
ask_user_for_input: boolean | null;
|
|
@@ -7914,6 +8084,13 @@ export interface components {
|
|
|
7914
8084
|
type: "added" | "removed" | "modified";
|
|
7915
8085
|
};
|
|
7916
8086
|
}[] | null;
|
|
8087
|
+
/** @description One entry per Playwright project the test runs in, when the sandbox could list them. Absent for removed tests. */
|
|
8088
|
+
playwright_tests?: {
|
|
8089
|
+
/** @description Playwright test id, as `--list` reports it. */
|
|
8090
|
+
test_case_id: string;
|
|
8091
|
+
/** @description Playwright project the id belongs to. */
|
|
8092
|
+
project: string;
|
|
8093
|
+
}[];
|
|
7917
8094
|
}[];
|
|
7918
8095
|
/** @description Whether the agent is awaiting user input. */
|
|
7919
8096
|
ask_user_for_input: boolean | null;
|
|
@@ -8328,7 +8505,7 @@ export interface components {
|
|
|
8328
8505
|
playwright_projects_match?: string[];
|
|
8329
8506
|
/** @description Playwright project names to exclude. */
|
|
8330
8507
|
playwright_projects_ignore?: string[];
|
|
8331
|
-
/** @description Tags selecting the tests to run (e.g. `@smoke`); a missing `@` is added. A test runs when
|
|
8508
|
+
/** @description Tags selecting the tests to run (e.g. `@smoke`); a missing `@` is added. A test runs when one of its tags contains any of them, so `smoke` also selects `@smoke-nightly`. A test title is not a tag: `checkout flow` matches no test. To run specific tests, use `test_case_ids`. Saved for runs in this environment; a trigger request that sends this field replaces it. */
|
|
8332
8509
|
tags?: string[];
|
|
8333
8510
|
/** @description Tags whose tests are skipped (e.g. `@slow`). Applied after every other selection, so it can only remove tests: with `tags` it runs tests matching `tags` but not `exclude_tags`; alone it runs every test except the excluded ones. Saved for runs in this environment; a trigger request that sends this field replaces it. */
|
|
8334
8511
|
exclude_tags?: string[];
|
|
@@ -8452,6 +8629,13 @@ export interface components {
|
|
|
8452
8629
|
upload_url: string;
|
|
8453
8630
|
};
|
|
8454
8631
|
};
|
|
8632
|
+
CreateFileShareLinkRequest: {
|
|
8633
|
+
/**
|
|
8634
|
+
* @description Seconds the link stays valid, from 60 to 3600 (the default).
|
|
8635
|
+
* @default 3600
|
|
8636
|
+
*/
|
|
8637
|
+
expires_in: number;
|
|
8638
|
+
};
|
|
8455
8639
|
CreateJiraInstallationRequest: {
|
|
8456
8640
|
/** @description Organisation the installation belongs to. */
|
|
8457
8641
|
org_id: number;
|
|
@@ -8565,10 +8749,10 @@ export interface components {
|
|
|
8565
8749
|
* @description Currency the plan is priced in. Defaults to `usd`.
|
|
8566
8750
|
* @enum {string}
|
|
8567
8751
|
*/
|
|
8568
|
-
currency?: "usd" | "inr"
|
|
8752
|
+
currency?: "usd" | "inr";
|
|
8569
8753
|
/** @description Monthly base price in cents of `currency`. */
|
|
8570
8754
|
base_price_cents: number;
|
|
8571
|
-
/** @description Dodo product that bills this plan by subscription, in this environment's Dodo mode.
|
|
8755
|
+
/** @description Dodo product that bills this plan by subscription, in this environment's Dodo mode. Every active `dodo_sync` plan that has one is offered at checkout. */
|
|
8572
8756
|
dodo_product_id?: string;
|
|
8573
8757
|
/** @description Sell the plan through Dodo: its Dodo product is created now if `dodo_product_id` is unset, and it is offered at checkout. Defaults to `false`. */
|
|
8574
8758
|
dodo_sync?: boolean;
|
|
@@ -8612,6 +8796,21 @@ export interface components {
|
|
|
8612
8796
|
/** @description Channel names to subscribe to, e.g. `chat-sessions-project-<id>-<env>`, `test-run-<id>-<env>` or `user-<user uuid>-<env>`. */
|
|
8613
8797
|
channels: string[];
|
|
8614
8798
|
};
|
|
8799
|
+
CreateReportTokenRequest: {
|
|
8800
|
+
/** @description A report file on a report host, e.g. `https://reports-us.empirical.run/acme-tests/1795/index.html`. The token covers every report of the same projects. */
|
|
8801
|
+
report_url: string;
|
|
8802
|
+
};
|
|
8803
|
+
CreateReportTokenResponse: {
|
|
8804
|
+
/** @description Response payload. */
|
|
8805
|
+
data: {
|
|
8806
|
+
/** @description Credential for the report files of the projects behind `report_url`, sent as a bearer token. */
|
|
8807
|
+
token: string;
|
|
8808
|
+
/** @description Opening this URL in a browser stores the token as a cookie on the report host and continues to `report_url`. */
|
|
8809
|
+
session_url: string;
|
|
8810
|
+
/** @description Seconds until the token expires. */
|
|
8811
|
+
expires_in: number;
|
|
8812
|
+
};
|
|
8813
|
+
};
|
|
8615
8814
|
CreateRuleRequest: {
|
|
8616
8815
|
/** @enum {string|null} */
|
|
8617
8816
|
verdict?: "app" | "test" | "env" | null;
|
|
@@ -8744,6 +8943,8 @@ export interface components {
|
|
|
8744
8943
|
path: string;
|
|
8745
8944
|
/** @description Presigned PUT URL, valid for 1 hour. */
|
|
8746
8945
|
upload_url: string;
|
|
8946
|
+
/** @description Public URL the file is served at once uploaded. */
|
|
8947
|
+
url: string;
|
|
8747
8948
|
}[];
|
|
8748
8949
|
};
|
|
8749
8950
|
};
|
|
@@ -9361,7 +9562,7 @@ export interface components {
|
|
|
9361
9562
|
playwright_projects_match: string[];
|
|
9362
9563
|
/** @description Glob patterns of the Playwright projects to skip, applied after `playwright_projects_match`. Saved for runs in this environment; a trigger request that sends this field replaces it. */
|
|
9363
9564
|
playwright_projects_ignore: string[];
|
|
9364
|
-
/** @description Tags selecting the tests to run (e.g. `@smoke`); a missing `@` is added. A test runs when
|
|
9565
|
+
/** @description Tags selecting the tests to run (e.g. `@smoke`); a missing `@` is added. A test runs when one of its tags contains any of them, so `smoke` also selects `@smoke-nightly`. A test title is not a tag: `checkout flow` matches no test. To run specific tests, use `test_case_ids`. Saved for runs in this environment; a trigger request that sends this field replaces it. */
|
|
9365
9566
|
tags: string[];
|
|
9366
9567
|
/** @description Tags whose tests are skipped (e.g. `@slow`). Applied after every other selection, so it can only remove tests: with `tags` it runs tests matching `tags` but not `exclude_tags`; alone it runs every test except the excluded ones. Saved for runs in this environment; a trigger request that sends this field replaces it. */
|
|
9367
9568
|
exclude_tags: string[];
|
|
@@ -9667,6 +9868,15 @@ export interface components {
|
|
|
9667
9868
|
file: components["schemas"]["File"];
|
|
9668
9869
|
};
|
|
9669
9870
|
};
|
|
9871
|
+
FileShareLinkResponse: {
|
|
9872
|
+
/** @description Response payload. */
|
|
9873
|
+
data: {
|
|
9874
|
+
/** @description Link to the file that works without credentials until `expires_at`. It can't be revoked. */
|
|
9875
|
+
url: string;
|
|
9876
|
+
/** @description ISO 8601 time the link stops working. */
|
|
9877
|
+
expires_at: string;
|
|
9878
|
+
};
|
|
9879
|
+
};
|
|
9670
9880
|
Fingerprint: {
|
|
9671
9881
|
signals: {
|
|
9672
9882
|
kind: string;
|
|
@@ -9743,7 +9953,7 @@ export interface components {
|
|
|
9743
9953
|
retries: number | null;
|
|
9744
9954
|
/** @description Total duration in milliseconds. */
|
|
9745
9955
|
total_duration: number | null;
|
|
9746
|
-
/** @description
|
|
9956
|
+
/** @description Duration in ms the shard planner expected for this test: the p75 of its passing runs over 7 days or the last day, whichever is higher. Null when the test had no history. */
|
|
9747
9957
|
expected_duration_ms: number | null;
|
|
9748
9958
|
/** @description Raw Playwright retry details; null if absent. */
|
|
9749
9959
|
retry_details: {
|
|
@@ -10257,6 +10467,13 @@ export interface components {
|
|
|
10257
10467
|
type: "added" | "removed" | "modified";
|
|
10258
10468
|
};
|
|
10259
10469
|
}[] | null;
|
|
10470
|
+
/** @description One entry per Playwright project the test runs in, when the sandbox could list them. Absent for removed tests. */
|
|
10471
|
+
playwright_tests?: {
|
|
10472
|
+
/** @description Playwright test id, as `--list` reports it. */
|
|
10473
|
+
test_case_id: string;
|
|
10474
|
+
/** @description Playwright project the id belongs to. */
|
|
10475
|
+
project: string;
|
|
10476
|
+
}[];
|
|
10260
10477
|
}[] | null;
|
|
10261
10478
|
/** @description Failure reason when status is failed. */
|
|
10262
10479
|
error: string | null;
|
|
@@ -10470,6 +10687,45 @@ export interface components {
|
|
|
10470
10687
|
/** @description Response payload. */
|
|
10471
10688
|
data: components["schemas"]["HiveModel"][];
|
|
10472
10689
|
};
|
|
10690
|
+
HiveSkillFilesResponse: {
|
|
10691
|
+
/** @description Response payload. */
|
|
10692
|
+
data: {
|
|
10693
|
+
/** @description Skill name. */
|
|
10694
|
+
name: string;
|
|
10695
|
+
/** @description Version the files belong to. */
|
|
10696
|
+
version: number;
|
|
10697
|
+
/** @description File contents keyed by path relative to the skill root, e.g. "SKILL.md" or "resources/repo-template/package.json.template". */
|
|
10698
|
+
files: {
|
|
10699
|
+
[key: string]: string;
|
|
10700
|
+
};
|
|
10701
|
+
};
|
|
10702
|
+
};
|
|
10703
|
+
ImpactedTests: {
|
|
10704
|
+
test_case: {
|
|
10705
|
+
name: string;
|
|
10706
|
+
suites: string[];
|
|
10707
|
+
file_path: string;
|
|
10708
|
+
start_line: number;
|
|
10709
|
+
end_line: number;
|
|
10710
|
+
};
|
|
10711
|
+
/** @enum {string} */
|
|
10712
|
+
type: "added" | "removed" | "modified";
|
|
10713
|
+
modified_by: {
|
|
10714
|
+
file_path: string;
|
|
10715
|
+
line: {
|
|
10716
|
+
number: number;
|
|
10717
|
+
/** @enum {string} */
|
|
10718
|
+
type: "added" | "removed" | "modified";
|
|
10719
|
+
};
|
|
10720
|
+
}[] | null;
|
|
10721
|
+
/** @description One entry per Playwright project the test runs in, when the sandbox could list them. Absent for removed tests. */
|
|
10722
|
+
playwright_tests?: {
|
|
10723
|
+
/** @description Playwright test id, as `--list` reports it. */
|
|
10724
|
+
test_case_id: string;
|
|
10725
|
+
/** @description Playwright project the id belongs to. */
|
|
10726
|
+
project: string;
|
|
10727
|
+
}[];
|
|
10728
|
+
}[];
|
|
10473
10729
|
ImportLoomFileRequest: {
|
|
10474
10730
|
/** @description Loom share URL (loom.com/share/<id>). */
|
|
10475
10731
|
url: string;
|
|
@@ -11058,6 +11314,8 @@ export interface components {
|
|
|
11058
11314
|
linear_organization_name?: string;
|
|
11059
11315
|
/** @description Organization URL key (only when metadata is cached). */
|
|
11060
11316
|
linear_organization_url_key?: string;
|
|
11317
|
+
/** @description Organization URL on Linear's site, e.g. https://linear.app/acme (only when metadata is cached). */
|
|
11318
|
+
linear_organization_url?: string;
|
|
11061
11319
|
/** @description Linear teams (only when metadata is cached). */
|
|
11062
11320
|
teams?: components["schemas"]["LinearTeamRef"][];
|
|
11063
11321
|
};
|
|
@@ -11090,6 +11348,8 @@ export interface components {
|
|
|
11090
11348
|
linear_organization_name?: string;
|
|
11091
11349
|
/** @description Organization URL key (only when metadata is cached). */
|
|
11092
11350
|
linear_organization_url_key?: string;
|
|
11351
|
+
/** @description Organization URL on Linear's site, e.g. https://linear.app/acme (only when metadata is cached). */
|
|
11352
|
+
linear_organization_url?: string;
|
|
11093
11353
|
/** @description Linear teams (only when metadata is cached). */
|
|
11094
11354
|
teams?: components["schemas"]["LinearTeamRef"][];
|
|
11095
11355
|
};
|
|
@@ -11129,6 +11389,8 @@ export interface components {
|
|
|
11129
11389
|
linear_organization_name?: string;
|
|
11130
11390
|
/** @description Organization URL key (only when metadata is cached). */
|
|
11131
11391
|
linear_organization_url_key?: string;
|
|
11392
|
+
/** @description Organization URL on Linear's site, e.g. https://linear.app/acme (only when metadata is cached). */
|
|
11393
|
+
linear_organization_url?: string;
|
|
11132
11394
|
/** @description Linear teams (only when metadata is cached). */
|
|
11133
11395
|
teams?: components["schemas"]["LinearTeamRef"][];
|
|
11134
11396
|
} | null;
|
|
@@ -11953,6 +12215,8 @@ export interface components {
|
|
|
11953
12215
|
overage_price_cents: number | null;
|
|
11954
12216
|
}[];
|
|
11955
12217
|
} | null;
|
|
12218
|
+
/** @description When the plan in effect ends (ISO 8601), or null when it is open-ended or the org has no plan. An org whose invoiced plan has an end date can check out a Dodo plan, which replaces it from the moment it starts. */
|
|
12219
|
+
ends_at: string | null;
|
|
11956
12220
|
/** @description Whether the plan in effect is a trial, where usage draws from credits. The month summary has the credit. */
|
|
11957
12221
|
trial: boolean;
|
|
11958
12222
|
/** @description The org's live Dodo subscription now, or null when it's billed by invoice or has none. */
|
|
@@ -12363,11 +12627,11 @@ export interface components {
|
|
|
12363
12627
|
*/
|
|
12364
12628
|
test_run_concurrency_behavior: "cancel_previous" | "queue_new";
|
|
12365
12629
|
/**
|
|
12366
|
-
* @description Region test runs execute in.
|
|
12630
|
+
* @description Region test runs execute in. A project on a private runner follows the runner's region and cannot change it.
|
|
12367
12631
|
* @enum {string}
|
|
12368
12632
|
*/
|
|
12369
12633
|
test_run_region: "us-east-1" | "ap-south-1";
|
|
12370
|
-
/** @description
|
|
12634
|
+
/** @description Most shards a test run may use. A run starts with up to one shard per 10 selected tests and the planner settles the count within this maximum. Null runs every test run on one shard. */
|
|
12371
12635
|
test_run_shards: number | null;
|
|
12372
12636
|
/** @description URL of the project profile icon. */
|
|
12373
12637
|
profile_icon_url: string | null;
|
|
@@ -12559,6 +12823,12 @@ export interface components {
|
|
|
12559
12823
|
baseline_makespan_ms?: number;
|
|
12560
12824
|
/** @description Heaviest single schedulable unit, in ms. The floor no shard count can beat. */
|
|
12561
12825
|
longest_unit_ms?: number;
|
|
12826
|
+
/** @description Planner key of the heaviest unit: `test:<pw_test_id>` for a single test, `group:<id>` for a serial, default-mode or worker-capped group. */
|
|
12827
|
+
longest_unit_key?: string;
|
|
12828
|
+
/** @description Playwright test ids (`pw_test_id`) in the heaviest unit. */
|
|
12829
|
+
longest_unit_test_ids?: string[];
|
|
12830
|
+
/** @description Whether every test in the heaviest unit had duration history. False means at least one was costed at the fallback duration. */
|
|
12831
|
+
longest_unit_modelled?: boolean;
|
|
12562
12832
|
/** @description Fraction of planned tests that had a real historical duration. */
|
|
12563
12833
|
coverage?: number;
|
|
12564
12834
|
};
|
|
@@ -12590,11 +12860,11 @@ export interface components {
|
|
|
12590
12860
|
*/
|
|
12591
12861
|
test_run_concurrency_behavior: "cancel_previous" | "queue_new";
|
|
12592
12862
|
/**
|
|
12593
|
-
* @description Region test runs execute in.
|
|
12863
|
+
* @description Region test runs execute in. A project on a private runner follows the runner's region and cannot change it.
|
|
12594
12864
|
* @enum {string}
|
|
12595
12865
|
*/
|
|
12596
12866
|
test_run_region: "us-east-1" | "ap-south-1";
|
|
12597
|
-
/** @description
|
|
12867
|
+
/** @description Most shards a test run may use. A run starts with up to one shard per 10 selected tests and the planner settles the count within this maximum. Null runs every test run on one shard. */
|
|
12598
12868
|
test_run_shards: number | null;
|
|
12599
12869
|
/** @description URL of the project profile icon. */
|
|
12600
12870
|
profile_icon_url: string | null;
|
|
@@ -12823,11 +13093,11 @@ export interface components {
|
|
|
12823
13093
|
*/
|
|
12824
13094
|
test_run_concurrency_behavior: "cancel_previous" | "queue_new";
|
|
12825
13095
|
/**
|
|
12826
|
-
* @description Region test runs execute in.
|
|
13096
|
+
* @description Region test runs execute in. A project on a private runner follows the runner's region and cannot change it.
|
|
12827
13097
|
* @enum {string}
|
|
12828
13098
|
*/
|
|
12829
13099
|
test_run_region: "us-east-1" | "ap-south-1";
|
|
12830
|
-
/** @description
|
|
13100
|
+
/** @description Most shards a test run may use. A run starts with up to one shard per 10 selected tests and the planner settles the count within this maximum. Null runs every test run on one shard. */
|
|
12831
13101
|
test_run_shards: number | null;
|
|
12832
13102
|
/** @description URL of the project profile icon. */
|
|
12833
13103
|
profile_icon_url: string | null;
|
|
@@ -12968,6 +13238,15 @@ export interface components {
|
|
|
12968
13238
|
/** @description Rules that do not affect how Empirical merges, e.g. "Blocks force pushes". */
|
|
12969
13239
|
other_rules: string[];
|
|
12970
13240
|
};
|
|
13241
|
+
PutBranchImpactedTestsBody: {
|
|
13242
|
+
/** @description Checked-out branch. */
|
|
13243
|
+
branch: string;
|
|
13244
|
+
/** @description Checked-out commit. */
|
|
13245
|
+
head_sha: string;
|
|
13246
|
+
/** @description Merge-base with the default branch. */
|
|
13247
|
+
base_sha: string;
|
|
13248
|
+
impacted_tests: components["schemas"]["ImpactedTests"];
|
|
13249
|
+
};
|
|
12971
13250
|
PutKvEntryRequest: {
|
|
12972
13251
|
/** @description JSON value to store (max 1 MB serialized). */
|
|
12973
13252
|
value: (string | number | boolean | unknown[] | {
|
|
@@ -14778,6 +15057,10 @@ export interface components {
|
|
|
14778
15057
|
subscription_id: number;
|
|
14779
15058
|
};
|
|
14780
15059
|
};
|
|
15060
|
+
SubscriptionCheckoutRequest: {
|
|
15061
|
+
/** @description Plan to subscribe to, one of the offer's `plans`. */
|
|
15062
|
+
plan_id: number;
|
|
15063
|
+
};
|
|
14781
15064
|
SubscriptionCheckoutResponse: {
|
|
14782
15065
|
/** @description Response payload. */
|
|
14783
15066
|
data: {
|
|
@@ -14797,6 +15080,25 @@ export interface components {
|
|
|
14797
15080
|
final_charge: boolean;
|
|
14798
15081
|
};
|
|
14799
15082
|
};
|
|
15083
|
+
SubscriptionOfferPlan: {
|
|
15084
|
+
/** @description Plan name, as shown to customers. */
|
|
15085
|
+
name: string;
|
|
15086
|
+
/** @description Currency of the prices below, e.g. `usd`. */
|
|
15087
|
+
currency: string;
|
|
15088
|
+
/** @description Monthly base price in cents of `currency`. */
|
|
15089
|
+
base_price_cents: number;
|
|
15090
|
+
/** @description Metered allowances and overage rates. */
|
|
15091
|
+
meters: {
|
|
15092
|
+
/** @description Meter key, e.g. `ai_credits` or `test_minutes`. */
|
|
15093
|
+
meter: string;
|
|
15094
|
+
/** @description Units included each month. */
|
|
15095
|
+
included_qty: number | null;
|
|
15096
|
+
/** @description Price per unit above the allowance, in cents of `currency`; may be fractional. */
|
|
15097
|
+
overage_price_cents: number | null;
|
|
15098
|
+
}[];
|
|
15099
|
+
/** @description Pass as `plan_id` to checkout. */
|
|
15100
|
+
id: number;
|
|
15101
|
+
};
|
|
14800
15102
|
SubscriptionOfferResponse: {
|
|
14801
15103
|
/** @description Response payload. */
|
|
14802
15104
|
data: {
|
|
@@ -14807,24 +15109,8 @@ export interface components {
|
|
|
14807
15109
|
* @enum {string|null}
|
|
14808
15110
|
*/
|
|
14809
15111
|
reason: "not_configured" | "no_org" | "inr" | "has_plan" | "no_plan" | null;
|
|
14810
|
-
/** @description
|
|
14811
|
-
|
|
14812
|
-
/** @description Plan name, as shown to customers. */
|
|
14813
|
-
name: string;
|
|
14814
|
-
/** @description Currency of the prices below, e.g. `usd`. */
|
|
14815
|
-
currency: string;
|
|
14816
|
-
/** @description Monthly base price in cents of `currency`. */
|
|
14817
|
-
base_price_cents: number;
|
|
14818
|
-
/** @description Metered allowances and overage rates. */
|
|
14819
|
-
meters: {
|
|
14820
|
-
/** @description Meter key, e.g. `ai_credits` or `test_minutes`. */
|
|
14821
|
-
meter: string;
|
|
14822
|
-
/** @description Units included each month. */
|
|
14823
|
-
included_qty: number | null;
|
|
14824
|
-
/** @description Price per unit above the allowance, in cents of `currency`; may be fractional. */
|
|
14825
|
-
overage_price_cents: number | null;
|
|
14826
|
-
}[];
|
|
14827
|
-
} | null;
|
|
15112
|
+
/** @description Plans the org can check out, cheapest first; empty when not available. */
|
|
15113
|
+
plans: components["schemas"]["SubscriptionOfferPlan"][];
|
|
14828
15114
|
};
|
|
14829
15115
|
};
|
|
14830
15116
|
SubscriptionPortalResponse: {
|
|
@@ -15350,6 +15636,13 @@ export interface components {
|
|
|
15350
15636
|
/** @description Percentage change (0-100) between first and latest day. */
|
|
15351
15637
|
change_percent: number;
|
|
15352
15638
|
};
|
|
15639
|
+
TestReportStorageResponse: {
|
|
15640
|
+
/** @description Response payload. */
|
|
15641
|
+
data: {
|
|
15642
|
+
/** @description Public URL that report files uploaded through `upload-urls` are served under, as `<base_url>/<repo_name>/<run_id>/<path>`. */
|
|
15643
|
+
base_url: string;
|
|
15644
|
+
};
|
|
15645
|
+
};
|
|
15353
15646
|
TestRunBranchListResponse: {
|
|
15354
15647
|
/** @description Response payload. */
|
|
15355
15648
|
data: {
|
|
@@ -15384,7 +15677,7 @@ export interface components {
|
|
|
15384
15677
|
retries: number | null;
|
|
15385
15678
|
/** @description Total duration in milliseconds. */
|
|
15386
15679
|
total_duration: number | null;
|
|
15387
|
-
/** @description
|
|
15680
|
+
/** @description Duration in ms the shard planner expected for this test: the p75 of its passing runs over 7 days or the last day, whichever is higher. Null when the test had no history. */
|
|
15388
15681
|
expected_duration_ms: number | null;
|
|
15389
15682
|
/** @description Raw Playwright retry details; null if absent. */
|
|
15390
15683
|
retry_details: {
|
|
@@ -16258,6 +16551,33 @@ export interface components {
|
|
|
16258
16551
|
data: {
|
|
16259
16552
|
/** @description Shards for the run, ordered by shard index. */
|
|
16260
16553
|
shards: components["schemas"]["TestRunShard"][];
|
|
16554
|
+
/** @description The duration-based shard plan, or null when the run used Playwright's `--shard=i/N` split. */
|
|
16555
|
+
plan: {
|
|
16556
|
+
/** @description Shard count the planner chose. */
|
|
16557
|
+
total_shards: number;
|
|
16558
|
+
/** @description Planned test count per run_test shard, by shard index. */
|
|
16559
|
+
shard_test_counts: number[];
|
|
16560
|
+
/** @description Why the planner chose this shard count. */
|
|
16561
|
+
reason: string | null;
|
|
16562
|
+
/** @description Modelled wall-clock of the slowest shard, in ms. */
|
|
16563
|
+
predicted_makespan_ms: number | null;
|
|
16564
|
+
/** @description Modelled wall-clock at the shard ceiling, in ms. */
|
|
16565
|
+
baseline_makespan_ms: number | null;
|
|
16566
|
+
/** @description Modelled duration of the heaviest unit, in ms. No shard count can finish sooner. */
|
|
16567
|
+
longest_unit_ms: number | null;
|
|
16568
|
+
/** @description Planner key of the heaviest unit: `test:<pw_test_id>` or `group:<id>`. */
|
|
16569
|
+
longest_unit_key: string | null;
|
|
16570
|
+
/** @description Playwright test ids in the heaviest unit. */
|
|
16571
|
+
longest_unit_test_ids: string[] | null;
|
|
16572
|
+
/** @description False when a test in the heaviest unit was costed at the fallback duration because it had no history. */
|
|
16573
|
+
longest_unit_modelled: boolean | null;
|
|
16574
|
+
/** @description Fraction of planned tests that had duration history. */
|
|
16575
|
+
coverage: number | null;
|
|
16576
|
+
/** @description Test code commit the plan was listed from. */
|
|
16577
|
+
planned_from_commit_sha: string | null;
|
|
16578
|
+
/** @description ISO 8601 timestamp the plan was stored. */
|
|
16579
|
+
created_at: string;
|
|
16580
|
+
} | null;
|
|
16261
16581
|
};
|
|
16262
16582
|
};
|
|
16263
16583
|
TestRunStatusResponse: {
|
|
@@ -16307,8 +16627,18 @@ export interface components {
|
|
|
16307
16627
|
p75_duration_total?: number;
|
|
16308
16628
|
/** @description Sample-weighted 75th percentile of total duration over the last day, in ms; null without recent results. */
|
|
16309
16629
|
recent_p75_duration_total?: number | null;
|
|
16310
|
-
/** @description
|
|
16630
|
+
/** @description Non-skipped results the averages and percentiles were taken over. */
|
|
16311
16631
|
total_runs: number;
|
|
16632
|
+
/** @description Skipped results over the window. */
|
|
16633
|
+
skip_runs?: number;
|
|
16634
|
+
/** @description Mean duration of the skipped results, in ms; null when none were skipped. */
|
|
16635
|
+
avg_skip_duration_total?: number | null;
|
|
16636
|
+
/** @description Passing results over the window. */
|
|
16637
|
+
pass_runs?: number;
|
|
16638
|
+
/** @description Sample-weighted 75th percentile of passing results over the window, in ms; null without passes. */
|
|
16639
|
+
p75_pass_duration_total?: number | null;
|
|
16640
|
+
/** @description 75th percentile of passing results over the last day, in ms; null without recent passes. */
|
|
16641
|
+
recent_p75_pass_duration_total?: number | null;
|
|
16312
16642
|
};
|
|
16313
16643
|
};
|
|
16314
16644
|
};
|
|
@@ -16385,11 +16715,11 @@ export interface components {
|
|
|
16385
16715
|
playwright_projects_match?: string[];
|
|
16386
16716
|
/** @description Glob patterns of the Playwright projects to skip, applied after `playwright_projects_match`. Omit to use the environment's `playwright_projects_ignore`; send `[]` for none. */
|
|
16387
16717
|
playwright_projects_ignore?: string[];
|
|
16388
|
-
/** @description Tags selecting the tests to run (e.g. `@smoke`); a missing `@` is added. A test runs when
|
|
16718
|
+
/** @description Tags selecting the tests to run (e.g. `@smoke`); a missing `@` is added. A test runs when one of its tags contains any of them, so `smoke` also selects `@smoke-nightly`. A test title is not a tag: `checkout flow` matches no test. To run specific tests, use `test_case_ids`. Omit to use the environment's `tags`; send `[]` for none. */
|
|
16389
16719
|
tags?: string[];
|
|
16390
16720
|
/** @description Tags whose tests are skipped (e.g. `@slow`). Applied after every other selection, so it can only remove tests: with `tags` it runs tests matching `tags` but not `exclude_tags`; alone it runs every test except the excluded ones. Omit to use the environment's `exclude_tags`; send `[]` for none. */
|
|
16391
16721
|
exclude_tags?: string[];
|
|
16392
|
-
/** @description Specific test case ids (Playwright per-project `test.id`) to run. Only these tests will be executed. */
|
|
16722
|
+
/** @description Specific test case ids (Playwright per-project `test.id`, e.g. `1bd02eced4141fc31282-084163cf0ce372bd31e7`) to run. Only these tests will be executed. */
|
|
16393
16723
|
test_case_ids?: string[];
|
|
16394
16724
|
/** @description Existing test-repository branch to run. A missing explicit branch creates an errored run; Empirical never creates it. May be supplied alongside `build`, which describes the application code under test. */
|
|
16395
16725
|
branch?: string;
|
|
@@ -16464,7 +16794,7 @@ export interface components {
|
|
|
16464
16794
|
})[];
|
|
16465
16795
|
/** @description Legacy project ID; must match the request's resolved project scope when set. The project scope itself comes from the bound principal or the x-project-id header, never from the body. */
|
|
16466
16796
|
project_id?: number;
|
|
16467
|
-
/** @description
|
|
16797
|
+
/** @description Shards to start this run with, from 1 to 50. Replaces the project's maximum for this run. */
|
|
16468
16798
|
total_shards?: number;
|
|
16469
16799
|
/** @description ID of the test run this run is a rerun of. */
|
|
16470
16800
|
rerun_source_id?: number;
|
|
@@ -16472,6 +16802,12 @@ export interface components {
|
|
|
16472
16802
|
rerun_only_failed?: boolean;
|
|
16473
16803
|
/** @description GitHub username that triggered the run, for attribution. */
|
|
16474
16804
|
github_actor?: string;
|
|
16805
|
+
/** @description Alias of `environment`, matching the field name on test-run responses. */
|
|
16806
|
+
environment_slug?: string;
|
|
16807
|
+
/** @description Deprecated and ignored: use `branch` or `trigger`. */
|
|
16808
|
+
use_same_branch_as_build?: boolean;
|
|
16809
|
+
/** @description Deprecated and ignored: use `trigger`. */
|
|
16810
|
+
merge_with_default?: boolean;
|
|
16475
16811
|
};
|
|
16476
16812
|
TruncatedProjectApiKey: {
|
|
16477
16813
|
/** @description API key ID. */
|
|
@@ -16678,7 +17014,7 @@ export interface components {
|
|
|
16678
17014
|
playwright_projects_match?: string[];
|
|
16679
17015
|
/** @description Playwright project names to exclude. */
|
|
16680
17016
|
playwright_projects_ignore?: string[];
|
|
16681
|
-
/** @description Tags selecting the tests to run (e.g. `@smoke`); a missing `@` is added. A test runs when
|
|
17017
|
+
/** @description Tags selecting the tests to run (e.g. `@smoke`); a missing `@` is added. A test runs when one of its tags contains any of them, so `smoke` also selects `@smoke-nightly`. A test title is not a tag: `checkout flow` matches no test. To run specific tests, use `test_case_ids`. Saved for runs in this environment; a trigger request that sends this field replaces it. */
|
|
16682
17018
|
tags?: string[];
|
|
16683
17019
|
/** @description Tags whose tests are skipped (e.g. `@slow`). Applied after every other selection, so it can only remove tests: with `tags` it runs tests matching `tags` but not `exclude_tags`; alone it runs every test except the excluded ones. Saved for runs in this environment; a trigger request that sends this field replaces it. */
|
|
16684
17020
|
exclude_tags?: string[];
|
|
@@ -17727,32 +18063,41 @@ export interface operations {
|
|
|
17727
18063
|
};
|
|
17728
18064
|
};
|
|
17729
18065
|
};
|
|
17730
|
-
|
|
18066
|
+
getTestRunLogs: {
|
|
17731
18067
|
parameters: {
|
|
17732
|
-
query?:
|
|
18068
|
+
query?: {
|
|
18069
|
+
/** @description Pagination token returned by a previous logs page. */
|
|
18070
|
+
nextToken?: string;
|
|
18071
|
+
/** @description Maximum number of log events to return. */
|
|
18072
|
+
limit?: number;
|
|
18073
|
+
/** @description Return only this job's lines: from when its machine picked the job up to when it finished, leaving out other jobs the same machine ran. */
|
|
18074
|
+
shardIndex?: number | null;
|
|
18075
|
+
/** @description Job type of the shard at shardIndex. merge_reports and run_setup share index 0; defaults to merge_reports for index 0 (legacy callers), run_test otherwise. */
|
|
18076
|
+
jobType?: "run_test" | "merge_reports" | "run_setup";
|
|
18077
|
+
/** @description Lower bound (epoch ms) for log events. */
|
|
18078
|
+
startTime?: number | null;
|
|
18079
|
+
/** @description Upper bound (epoch ms) for log events. */
|
|
18080
|
+
endTime?: number | null;
|
|
18081
|
+
};
|
|
17733
18082
|
header?: never;
|
|
17734
18083
|
path: {
|
|
17735
|
-
/** @description
|
|
18084
|
+
/** @description Test run database ID. */
|
|
17736
18085
|
id: number;
|
|
17737
18086
|
};
|
|
17738
18087
|
cookie?: never;
|
|
17739
18088
|
};
|
|
17740
|
-
requestBody?:
|
|
17741
|
-
content: {
|
|
17742
|
-
"application/json": components["schemas"]["UpdateEcsTaskIdRequest"];
|
|
17743
|
-
};
|
|
17744
|
-
};
|
|
18089
|
+
requestBody?: never;
|
|
17745
18090
|
responses: {
|
|
17746
|
-
/** @description The task
|
|
18091
|
+
/** @description The task's log events. */
|
|
17747
18092
|
200: {
|
|
17748
18093
|
headers: {
|
|
17749
18094
|
[name: string]: unknown;
|
|
17750
18095
|
};
|
|
17751
18096
|
content: {
|
|
17752
|
-
"application/json": components["schemas"]["
|
|
18097
|
+
"application/json": components["schemas"]["TestRunLogsResponse"];
|
|
17753
18098
|
};
|
|
17754
18099
|
};
|
|
17755
|
-
/** @description
|
|
18100
|
+
/** @description ECS task ID not found. */
|
|
17756
18101
|
400: {
|
|
17757
18102
|
headers: {
|
|
17758
18103
|
[name: string]: unknown;
|
|
@@ -17761,7 +18106,7 @@ export interface operations {
|
|
|
17761
18106
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
17762
18107
|
};
|
|
17763
18108
|
};
|
|
17764
|
-
/** @description Test run
|
|
18109
|
+
/** @description Test run not found. */
|
|
17765
18110
|
404: {
|
|
17766
18111
|
headers: {
|
|
17767
18112
|
[name: string]: unknown;
|
|
@@ -17772,25 +18117,34 @@ export interface operations {
|
|
|
17772
18117
|
};
|
|
17773
18118
|
};
|
|
17774
18119
|
};
|
|
17775
|
-
|
|
18120
|
+
listTestRunShards: {
|
|
17776
18121
|
parameters: {
|
|
17777
18122
|
query?: never;
|
|
17778
18123
|
header?: never;
|
|
17779
18124
|
path: {
|
|
17780
|
-
/** @description
|
|
18125
|
+
/** @description Test run database ID. */
|
|
17781
18126
|
id: number;
|
|
17782
18127
|
};
|
|
17783
18128
|
cookie?: never;
|
|
17784
18129
|
};
|
|
17785
18130
|
requestBody?: never;
|
|
17786
18131
|
responses: {
|
|
17787
|
-
/** @description The run's
|
|
18132
|
+
/** @description The run's shards. */
|
|
17788
18133
|
200: {
|
|
17789
18134
|
headers: {
|
|
17790
18135
|
[name: string]: unknown;
|
|
17791
18136
|
};
|
|
17792
18137
|
content: {
|
|
17793
|
-
"application/json": components["schemas"]["
|
|
18138
|
+
"application/json": components["schemas"]["TestRunShardsResponse"];
|
|
18139
|
+
};
|
|
18140
|
+
};
|
|
18141
|
+
/** @description Invalid database test run ID. */
|
|
18142
|
+
400: {
|
|
18143
|
+
headers: {
|
|
18144
|
+
[name: string]: unknown;
|
|
18145
|
+
};
|
|
18146
|
+
content: {
|
|
18147
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
17794
18148
|
};
|
|
17795
18149
|
};
|
|
17796
18150
|
/** @description Test run not found. */
|
|
@@ -17804,29 +18158,29 @@ export interface operations {
|
|
|
17804
18158
|
};
|
|
17805
18159
|
};
|
|
17806
18160
|
};
|
|
17807
|
-
|
|
18161
|
+
getTestRunTestCaseDurations: {
|
|
17808
18162
|
parameters: {
|
|
17809
18163
|
query?: never;
|
|
17810
18164
|
header?: never;
|
|
17811
18165
|
path: {
|
|
17812
|
-
/** @description
|
|
18166
|
+
/** @description External run_id of the test run. */
|
|
17813
18167
|
id: number;
|
|
17814
18168
|
};
|
|
17815
18169
|
cookie?: never;
|
|
17816
18170
|
};
|
|
17817
18171
|
requestBody?: never;
|
|
17818
18172
|
responses: {
|
|
17819
|
-
/** @description The
|
|
18173
|
+
/** @description The project's test-case duration history. */
|
|
17820
18174
|
200: {
|
|
17821
18175
|
headers: {
|
|
17822
18176
|
[name: string]: unknown;
|
|
17823
18177
|
};
|
|
17824
18178
|
content: {
|
|
17825
|
-
"application/json": components["schemas"]["
|
|
18179
|
+
"application/json": components["schemas"]["TestRunTestCaseDurationsResponse"];
|
|
17826
18180
|
};
|
|
17827
18181
|
};
|
|
17828
|
-
/** @description
|
|
17829
|
-
|
|
18182
|
+
/** @description Test run not found. */
|
|
18183
|
+
404: {
|
|
17830
18184
|
headers: {
|
|
17831
18185
|
[name: string]: unknown;
|
|
17832
18186
|
};
|
|
@@ -17834,8 +18188,8 @@ export interface operations {
|
|
|
17834
18188
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
17835
18189
|
};
|
|
17836
18190
|
};
|
|
17837
|
-
/** @description
|
|
17838
|
-
|
|
18191
|
+
/** @description Analytics is unavailable. */
|
|
18192
|
+
503: {
|
|
17839
18193
|
headers: {
|
|
17840
18194
|
[name: string]: unknown;
|
|
17841
18195
|
};
|
|
@@ -17845,41 +18199,32 @@ export interface operations {
|
|
|
17845
18199
|
};
|
|
17846
18200
|
};
|
|
17847
18201
|
};
|
|
17848
|
-
|
|
18202
|
+
updateTestRunEcsTask: {
|
|
17849
18203
|
parameters: {
|
|
17850
|
-
query?:
|
|
17851
|
-
/** @description Pagination token returned by a previous logs page. */
|
|
17852
|
-
nextToken?: string;
|
|
17853
|
-
/** @description Maximum number of log events to return. */
|
|
17854
|
-
limit?: number;
|
|
17855
|
-
/** @description Restrict logs to this shard's ECS task and trim to its execution window. */
|
|
17856
|
-
shardIndex?: number | null;
|
|
17857
|
-
/** @description Job type of the shard at shardIndex. merge_reports and run_setup share index 0; defaults to merge_reports for index 0 (legacy callers), run_test otherwise. */
|
|
17858
|
-
jobType?: "run_test" | "merge_reports" | "run_setup";
|
|
17859
|
-
/** @description Lower bound (epoch ms) for log events. */
|
|
17860
|
-
startTime?: number | null;
|
|
17861
|
-
/** @description Upper bound (epoch ms) for log events. */
|
|
17862
|
-
endTime?: number | null;
|
|
17863
|
-
};
|
|
18204
|
+
query?: never;
|
|
17864
18205
|
header?: never;
|
|
17865
18206
|
path: {
|
|
17866
|
-
/** @description
|
|
18207
|
+
/** @description External run_id of the test run. */
|
|
17867
18208
|
id: number;
|
|
17868
18209
|
};
|
|
17869
18210
|
cookie?: never;
|
|
17870
18211
|
};
|
|
17871
|
-
requestBody?:
|
|
18212
|
+
requestBody?: {
|
|
18213
|
+
content: {
|
|
18214
|
+
"application/json": components["schemas"]["UpdateEcsTaskIdRequest"];
|
|
18215
|
+
};
|
|
18216
|
+
};
|
|
17872
18217
|
responses: {
|
|
17873
|
-
/** @description The task
|
|
18218
|
+
/** @description The task id was recorded. */
|
|
17874
18219
|
200: {
|
|
17875
18220
|
headers: {
|
|
17876
18221
|
[name: string]: unknown;
|
|
17877
18222
|
};
|
|
17878
18223
|
content: {
|
|
17879
|
-
"application/json": components["schemas"]["
|
|
18224
|
+
"application/json": components["schemas"]["UpdateEcsTaskResponse"];
|
|
17880
18225
|
};
|
|
17881
18226
|
};
|
|
17882
|
-
/** @description
|
|
18227
|
+
/** @description Invalid request. */
|
|
17883
18228
|
400: {
|
|
17884
18229
|
headers: {
|
|
17885
18230
|
[name: string]: unknown;
|
|
@@ -17888,6 +18233,38 @@ export interface operations {
|
|
|
17888
18233
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
17889
18234
|
};
|
|
17890
18235
|
};
|
|
18236
|
+
/** @description Test run or shard not found. */
|
|
18237
|
+
404: {
|
|
18238
|
+
headers: {
|
|
18239
|
+
[name: string]: unknown;
|
|
18240
|
+
};
|
|
18241
|
+
content: {
|
|
18242
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18243
|
+
};
|
|
18244
|
+
};
|
|
18245
|
+
};
|
|
18246
|
+
};
|
|
18247
|
+
getTestRunEnvironmentVariables: {
|
|
18248
|
+
parameters: {
|
|
18249
|
+
query?: never;
|
|
18250
|
+
header?: never;
|
|
18251
|
+
path: {
|
|
18252
|
+
/** @description External run_id of the test run. */
|
|
18253
|
+
id: number;
|
|
18254
|
+
};
|
|
18255
|
+
cookie?: never;
|
|
18256
|
+
};
|
|
18257
|
+
requestBody?: never;
|
|
18258
|
+
responses: {
|
|
18259
|
+
/** @description The run's resolved environment variables. */
|
|
18260
|
+
200: {
|
|
18261
|
+
headers: {
|
|
18262
|
+
[name: string]: unknown;
|
|
18263
|
+
};
|
|
18264
|
+
content: {
|
|
18265
|
+
"application/json": components["schemas"]["TestRunEnvironmentVariablesResponse"];
|
|
18266
|
+
};
|
|
18267
|
+
};
|
|
17891
18268
|
/** @description Test run not found. */
|
|
17892
18269
|
404: {
|
|
17893
18270
|
headers: {
|
|
@@ -17899,7 +18276,7 @@ export interface operations {
|
|
|
17899
18276
|
};
|
|
17900
18277
|
};
|
|
17901
18278
|
};
|
|
17902
|
-
|
|
18279
|
+
getTestRunLinkedChanges: {
|
|
17903
18280
|
parameters: {
|
|
17904
18281
|
query?: never;
|
|
17905
18282
|
header?: never;
|
|
@@ -17911,13 +18288,13 @@ export interface operations {
|
|
|
17911
18288
|
};
|
|
17912
18289
|
requestBody?: never;
|
|
17913
18290
|
responses: {
|
|
17914
|
-
/** @description The run's
|
|
18291
|
+
/** @description The run's linked test changes. */
|
|
17915
18292
|
200: {
|
|
17916
18293
|
headers: {
|
|
17917
18294
|
[name: string]: unknown;
|
|
17918
18295
|
};
|
|
17919
18296
|
content: {
|
|
17920
|
-
"application/json": components["schemas"]["
|
|
18297
|
+
"application/json": components["schemas"]["TestRunLinkedChangesResponse"];
|
|
17921
18298
|
};
|
|
17922
18299
|
};
|
|
17923
18300
|
/** @description Invalid database test run ID. */
|
|
@@ -17940,25 +18317,34 @@ export interface operations {
|
|
|
17940
18317
|
};
|
|
17941
18318
|
};
|
|
17942
18319
|
};
|
|
17943
|
-
|
|
18320
|
+
getTestRunManifestTests: {
|
|
17944
18321
|
parameters: {
|
|
17945
18322
|
query?: never;
|
|
17946
18323
|
header?: never;
|
|
17947
18324
|
path: {
|
|
17948
|
-
/** @description
|
|
18325
|
+
/** @description Test run database ID. */
|
|
17949
18326
|
id: number;
|
|
17950
18327
|
};
|
|
17951
18328
|
cookie?: never;
|
|
17952
18329
|
};
|
|
17953
18330
|
requestBody?: never;
|
|
17954
18331
|
responses: {
|
|
17955
|
-
/** @description The run's manifest
|
|
18332
|
+
/** @description The run's manifest tests grouped by shard. */
|
|
17956
18333
|
200: {
|
|
17957
18334
|
headers: {
|
|
17958
18335
|
[name: string]: unknown;
|
|
17959
18336
|
};
|
|
17960
18337
|
content: {
|
|
17961
|
-
"application/json": components["schemas"]["
|
|
18338
|
+
"application/json": components["schemas"]["TestRunManifestTestsResponse"];
|
|
18339
|
+
};
|
|
18340
|
+
};
|
|
18341
|
+
/** @description Invalid database test run ID. */
|
|
18342
|
+
400: {
|
|
18343
|
+
headers: {
|
|
18344
|
+
[name: string]: unknown;
|
|
18345
|
+
};
|
|
18346
|
+
content: {
|
|
18347
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
17962
18348
|
};
|
|
17963
18349
|
};
|
|
17964
18350
|
/** @description Test run not found. */
|
|
@@ -17972,7 +18358,7 @@ export interface operations {
|
|
|
17972
18358
|
};
|
|
17973
18359
|
};
|
|
17974
18360
|
};
|
|
17975
|
-
|
|
18361
|
+
getTestRunManifestCounts: {
|
|
17976
18362
|
parameters: {
|
|
17977
18363
|
query?: never;
|
|
17978
18364
|
header?: never;
|
|
@@ -17982,28 +18368,15 @@ export interface operations {
|
|
|
17982
18368
|
};
|
|
17983
18369
|
cookie?: never;
|
|
17984
18370
|
};
|
|
17985
|
-
requestBody?:
|
|
17986
|
-
content: {
|
|
17987
|
-
"application/json": components["schemas"]["PutRunManifestRequest"];
|
|
17988
|
-
};
|
|
17989
|
-
};
|
|
18371
|
+
requestBody?: never;
|
|
17990
18372
|
responses: {
|
|
17991
|
-
/** @description The manifest
|
|
18373
|
+
/** @description The run's manifest count summary. */
|
|
17992
18374
|
200: {
|
|
17993
18375
|
headers: {
|
|
17994
18376
|
[name: string]: unknown;
|
|
17995
18377
|
};
|
|
17996
18378
|
content: {
|
|
17997
|
-
"application/json": components["schemas"]["
|
|
17998
|
-
};
|
|
17999
|
-
};
|
|
18000
|
-
/** @description Invalid request. */
|
|
18001
|
-
400: {
|
|
18002
|
-
headers: {
|
|
18003
|
-
[name: string]: unknown;
|
|
18004
|
-
};
|
|
18005
|
-
content: {
|
|
18006
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
18379
|
+
"application/json": components["schemas"]["TestRunManifestCountsResponse"];
|
|
18007
18380
|
};
|
|
18008
18381
|
};
|
|
18009
18382
|
/** @description Test run not found. */
|
|
@@ -18017,7 +18390,7 @@ export interface operations {
|
|
|
18017
18390
|
};
|
|
18018
18391
|
};
|
|
18019
18392
|
};
|
|
18020
|
-
|
|
18393
|
+
createTestRunManifest: {
|
|
18021
18394
|
parameters: {
|
|
18022
18395
|
query?: never;
|
|
18023
18396
|
header?: never;
|
|
@@ -18029,20 +18402,20 @@ export interface operations {
|
|
|
18029
18402
|
};
|
|
18030
18403
|
requestBody?: {
|
|
18031
18404
|
content: {
|
|
18032
|
-
"application/json": components["schemas"]["
|
|
18405
|
+
"application/json": components["schemas"]["PutRunManifestRequest"];
|
|
18033
18406
|
};
|
|
18034
18407
|
};
|
|
18035
18408
|
responses: {
|
|
18036
|
-
/** @description The
|
|
18409
|
+
/** @description The manifest was stored. */
|
|
18037
18410
|
200: {
|
|
18038
18411
|
headers: {
|
|
18039
18412
|
[name: string]: unknown;
|
|
18040
18413
|
};
|
|
18041
18414
|
content: {
|
|
18042
|
-
"application/json": components["schemas"]["
|
|
18415
|
+
"application/json": components["schemas"]["RunManifestResponse"];
|
|
18043
18416
|
};
|
|
18044
18417
|
};
|
|
18045
|
-
/** @description
|
|
18418
|
+
/** @description Invalid request. */
|
|
18046
18419
|
400: {
|
|
18047
18420
|
headers: {
|
|
18048
18421
|
[name: string]: unknown;
|
|
@@ -18062,28 +18435,32 @@ export interface operations {
|
|
|
18062
18435
|
};
|
|
18063
18436
|
};
|
|
18064
18437
|
};
|
|
18065
|
-
|
|
18438
|
+
createTestRunShardPlan: {
|
|
18066
18439
|
parameters: {
|
|
18067
18440
|
query?: never;
|
|
18068
18441
|
header?: never;
|
|
18069
18442
|
path: {
|
|
18070
|
-
/** @description
|
|
18443
|
+
/** @description External run_id of the test run. */
|
|
18071
18444
|
id: number;
|
|
18072
18445
|
};
|
|
18073
18446
|
cookie?: never;
|
|
18074
18447
|
};
|
|
18075
|
-
requestBody?:
|
|
18448
|
+
requestBody?: {
|
|
18449
|
+
content: {
|
|
18450
|
+
"application/json": components["schemas"]["PostShardPlanRequest"];
|
|
18451
|
+
};
|
|
18452
|
+
};
|
|
18076
18453
|
responses: {
|
|
18077
|
-
/** @description The
|
|
18454
|
+
/** @description The shard plan was stored. */
|
|
18078
18455
|
200: {
|
|
18079
18456
|
headers: {
|
|
18080
18457
|
[name: string]: unknown;
|
|
18081
18458
|
};
|
|
18082
18459
|
content: {
|
|
18083
|
-
"application/json": components["schemas"]["
|
|
18460
|
+
"application/json": components["schemas"]["ShardPlanResponse"];
|
|
18084
18461
|
};
|
|
18085
18462
|
};
|
|
18086
|
-
/** @description
|
|
18463
|
+
/** @description The posted plan is not a valid partition. */
|
|
18087
18464
|
400: {
|
|
18088
18465
|
headers: {
|
|
18089
18466
|
[name: string]: unknown;
|
|
@@ -18309,47 +18686,6 @@ export interface operations {
|
|
|
18309
18686
|
};
|
|
18310
18687
|
};
|
|
18311
18688
|
};
|
|
18312
|
-
getTestRunTestCaseDurations: {
|
|
18313
|
-
parameters: {
|
|
18314
|
-
query?: never;
|
|
18315
|
-
header?: never;
|
|
18316
|
-
path: {
|
|
18317
|
-
/** @description External run_id of the test run. */
|
|
18318
|
-
id: number;
|
|
18319
|
-
};
|
|
18320
|
-
cookie?: never;
|
|
18321
|
-
};
|
|
18322
|
-
requestBody?: never;
|
|
18323
|
-
responses: {
|
|
18324
|
-
/** @description The project's test-case duration history. */
|
|
18325
|
-
200: {
|
|
18326
|
-
headers: {
|
|
18327
|
-
[name: string]: unknown;
|
|
18328
|
-
};
|
|
18329
|
-
content: {
|
|
18330
|
-
"application/json": components["schemas"]["TestRunTestCaseDurationsResponse"];
|
|
18331
|
-
};
|
|
18332
|
-
};
|
|
18333
|
-
/** @description Test run not found. */
|
|
18334
|
-
404: {
|
|
18335
|
-
headers: {
|
|
18336
|
-
[name: string]: unknown;
|
|
18337
|
-
};
|
|
18338
|
-
content: {
|
|
18339
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
18340
|
-
};
|
|
18341
|
-
};
|
|
18342
|
-
/** @description Analytics is unavailable. */
|
|
18343
|
-
503: {
|
|
18344
|
-
headers: {
|
|
18345
|
-
[name: string]: unknown;
|
|
18346
|
-
};
|
|
18347
|
-
content: {
|
|
18348
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
18349
|
-
};
|
|
18350
|
-
};
|
|
18351
|
-
};
|
|
18352
|
-
};
|
|
18353
18689
|
triggerTestRunMerge: {
|
|
18354
18690
|
parameters: {
|
|
18355
18691
|
query?: never;
|
|
@@ -21662,6 +21998,8 @@ export interface operations {
|
|
|
21662
21998
|
per_page?: number;
|
|
21663
21999
|
/** @description Only files created by this chat session. */
|
|
21664
22000
|
origin_chat_session_id?: number;
|
|
22001
|
+
/** @description Only the file at this link, as returned in `url`. A share link works too; its query is ignored. */
|
|
22002
|
+
url?: string;
|
|
21665
22003
|
};
|
|
21666
22004
|
header?: never;
|
|
21667
22005
|
path?: never;
|
|
@@ -21808,6 +22146,60 @@ export interface operations {
|
|
|
21808
22146
|
};
|
|
21809
22147
|
};
|
|
21810
22148
|
};
|
|
22149
|
+
createFileShareLink: {
|
|
22150
|
+
parameters: {
|
|
22151
|
+
query?: never;
|
|
22152
|
+
header?: never;
|
|
22153
|
+
path: {
|
|
22154
|
+
/** @description File ID. */
|
|
22155
|
+
id: number;
|
|
22156
|
+
};
|
|
22157
|
+
cookie?: never;
|
|
22158
|
+
};
|
|
22159
|
+
requestBody: {
|
|
22160
|
+
content: {
|
|
22161
|
+
"application/json": components["schemas"]["CreateFileShareLinkRequest"];
|
|
22162
|
+
};
|
|
22163
|
+
};
|
|
22164
|
+
responses: {
|
|
22165
|
+
/** @description The share link. */
|
|
22166
|
+
200: {
|
|
22167
|
+
headers: {
|
|
22168
|
+
[name: string]: unknown;
|
|
22169
|
+
};
|
|
22170
|
+
content: {
|
|
22171
|
+
"application/json": components["schemas"]["FileShareLinkResponse"];
|
|
22172
|
+
};
|
|
22173
|
+
};
|
|
22174
|
+
/** @description Invalid request. */
|
|
22175
|
+
400: {
|
|
22176
|
+
headers: {
|
|
22177
|
+
[name: string]: unknown;
|
|
22178
|
+
};
|
|
22179
|
+
content: {
|
|
22180
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22181
|
+
};
|
|
22182
|
+
};
|
|
22183
|
+
/** @description File not found in this project. */
|
|
22184
|
+
404: {
|
|
22185
|
+
headers: {
|
|
22186
|
+
[name: string]: unknown;
|
|
22187
|
+
};
|
|
22188
|
+
content: {
|
|
22189
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22190
|
+
};
|
|
22191
|
+
};
|
|
22192
|
+
/** @description The file content has not been uploaded yet. */
|
|
22193
|
+
409: {
|
|
22194
|
+
headers: {
|
|
22195
|
+
[name: string]: unknown;
|
|
22196
|
+
};
|
|
22197
|
+
content: {
|
|
22198
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
22199
|
+
};
|
|
22200
|
+
};
|
|
22201
|
+
};
|
|
22202
|
+
};
|
|
21811
22203
|
listInboxes: {
|
|
21812
22204
|
parameters: {
|
|
21813
22205
|
query?: never;
|
|
@@ -23208,6 +23600,15 @@ export interface operations {
|
|
|
23208
23600
|
"application/json": components["schemas"]["GithubProxyError"];
|
|
23209
23601
|
};
|
|
23210
23602
|
};
|
|
23603
|
+
/** @description The pull request to merge is behind its base branch. */
|
|
23604
|
+
409: {
|
|
23605
|
+
headers: {
|
|
23606
|
+
[name: string]: unknown;
|
|
23607
|
+
};
|
|
23608
|
+
content: {
|
|
23609
|
+
"application/json": components["schemas"]["GithubProxyError"];
|
|
23610
|
+
};
|
|
23611
|
+
};
|
|
23211
23612
|
/** @description Any other GitHub upstream status is forwarded verbatim with an `{ error }` body. */
|
|
23212
23613
|
502: {
|
|
23213
23614
|
headers: {
|
|
@@ -23385,6 +23786,126 @@ export interface operations {
|
|
|
23385
23786
|
};
|
|
23386
23787
|
};
|
|
23387
23788
|
};
|
|
23789
|
+
getProject: {
|
|
23790
|
+
parameters: {
|
|
23791
|
+
query?: never;
|
|
23792
|
+
header?: never;
|
|
23793
|
+
path: {
|
|
23794
|
+
/** @description Project ID. */
|
|
23795
|
+
id: number;
|
|
23796
|
+
};
|
|
23797
|
+
cookie?: never;
|
|
23798
|
+
};
|
|
23799
|
+
requestBody?: never;
|
|
23800
|
+
responses: {
|
|
23801
|
+
/** @description The project. */
|
|
23802
|
+
200: {
|
|
23803
|
+
headers: {
|
|
23804
|
+
[name: string]: unknown;
|
|
23805
|
+
};
|
|
23806
|
+
content: {
|
|
23807
|
+
"application/json": components["schemas"]["ProjectResponse"];
|
|
23808
|
+
};
|
|
23809
|
+
};
|
|
23810
|
+
/** @description Forbidden. */
|
|
23811
|
+
403: {
|
|
23812
|
+
headers: {
|
|
23813
|
+
[name: string]: unknown;
|
|
23814
|
+
};
|
|
23815
|
+
content: {
|
|
23816
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
23817
|
+
};
|
|
23818
|
+
};
|
|
23819
|
+
/** @description Project not found. */
|
|
23820
|
+
404: {
|
|
23821
|
+
headers: {
|
|
23822
|
+
[name: string]: unknown;
|
|
23823
|
+
};
|
|
23824
|
+
content: {
|
|
23825
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
23826
|
+
};
|
|
23827
|
+
};
|
|
23828
|
+
};
|
|
23829
|
+
};
|
|
23830
|
+
updateProject: {
|
|
23831
|
+
parameters: {
|
|
23832
|
+
query?: never;
|
|
23833
|
+
header?: never;
|
|
23834
|
+
path: {
|
|
23835
|
+
/** @description Project ID. */
|
|
23836
|
+
id: number;
|
|
23837
|
+
};
|
|
23838
|
+
cookie?: never;
|
|
23839
|
+
};
|
|
23840
|
+
requestBody?: {
|
|
23841
|
+
content: {
|
|
23842
|
+
"application/json": {
|
|
23843
|
+
name?: string;
|
|
23844
|
+
default_branch?: string;
|
|
23845
|
+
protected_branches?: string[];
|
|
23846
|
+
/**
|
|
23847
|
+
* @deprecated
|
|
23848
|
+
* @description Read-only. Set `concurrency` on the trigger request or `scheduled_concurrency` on the environment instead.
|
|
23849
|
+
* @enum {string}
|
|
23850
|
+
*/
|
|
23851
|
+
test_run_concurrency_limit?: "none" | "project" | "environment" | "branch_environment";
|
|
23852
|
+
/**
|
|
23853
|
+
* @deprecated
|
|
23854
|
+
* @description Read-only. Set `concurrency` on the trigger request or `scheduled_concurrency` on the environment instead.
|
|
23855
|
+
* @enum {string}
|
|
23856
|
+
*/
|
|
23857
|
+
test_run_concurrency_behavior?: "cancel_previous" | "queue_new";
|
|
23858
|
+
/**
|
|
23859
|
+
* @description Region test runs execute in. A project on a private runner follows the runner's region and cannot change it.
|
|
23860
|
+
* @enum {string}
|
|
23861
|
+
*/
|
|
23862
|
+
test_run_region?: "us-east-1" | "ap-south-1";
|
|
23863
|
+
/** @description Most shards a test run may use, from 1 to 50. A run starts with up to one shard per 10 selected tests and the planner settles the count within this maximum. Null runs every test run on one shard. */
|
|
23864
|
+
test_run_shards?: number | null;
|
|
23865
|
+
profile_icon_url?: string | null;
|
|
23866
|
+
is_active?: boolean;
|
|
23867
|
+
};
|
|
23868
|
+
};
|
|
23869
|
+
};
|
|
23870
|
+
responses: {
|
|
23871
|
+
/** @description The updated project. */
|
|
23872
|
+
200: {
|
|
23873
|
+
headers: {
|
|
23874
|
+
[name: string]: unknown;
|
|
23875
|
+
};
|
|
23876
|
+
content: {
|
|
23877
|
+
"application/json": components["schemas"]["PatchProjectResponse"];
|
|
23878
|
+
};
|
|
23879
|
+
};
|
|
23880
|
+
/** @description No valid fields to update. */
|
|
23881
|
+
400: {
|
|
23882
|
+
headers: {
|
|
23883
|
+
[name: string]: unknown;
|
|
23884
|
+
};
|
|
23885
|
+
content: {
|
|
23886
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
23887
|
+
};
|
|
23888
|
+
};
|
|
23889
|
+
/** @description Forbidden. */
|
|
23890
|
+
403: {
|
|
23891
|
+
headers: {
|
|
23892
|
+
[name: string]: unknown;
|
|
23893
|
+
};
|
|
23894
|
+
content: {
|
|
23895
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
23896
|
+
};
|
|
23897
|
+
};
|
|
23898
|
+
/** @description Project not found. */
|
|
23899
|
+
404: {
|
|
23900
|
+
headers: {
|
|
23901
|
+
[name: string]: unknown;
|
|
23902
|
+
};
|
|
23903
|
+
content: {
|
|
23904
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
23905
|
+
};
|
|
23906
|
+
};
|
|
23907
|
+
};
|
|
23908
|
+
};
|
|
23388
23909
|
initializeProjectRepo: {
|
|
23389
23910
|
parameters: {
|
|
23390
23911
|
query?: never;
|
|
@@ -23947,135 +24468,6 @@ export interface operations {
|
|
|
23947
24468
|
};
|
|
23948
24469
|
};
|
|
23949
24470
|
};
|
|
23950
|
-
compareTraceAgainstPass: {
|
|
23951
|
-
parameters: {
|
|
23952
|
-
query?: never;
|
|
23953
|
-
header?: never;
|
|
23954
|
-
path?: never;
|
|
23955
|
-
cookie?: never;
|
|
23956
|
-
};
|
|
23957
|
-
requestBody?: {
|
|
23958
|
-
content: {
|
|
23959
|
-
"application/json": {
|
|
23960
|
-
/** @description Run holding the failed case. */
|
|
23961
|
-
test_run_id: number;
|
|
23962
|
-
/** @description Test case ID (Playwright test id) to compare. Required. */
|
|
23963
|
-
test_case_id?: string;
|
|
23964
|
-
/**
|
|
23965
|
-
* @deprecated
|
|
23966
|
-
* @description Deprecated alias of `test_case_id`.
|
|
23967
|
-
*/
|
|
23968
|
-
pw_test_id?: string;
|
|
23969
|
-
/** @description Failed attempt to compare (retry_details.retries[].retryIndex). Default: the last failed attempt with a trace. */
|
|
23970
|
-
retry?: number;
|
|
23971
|
-
/** @description Passing attempt to compare against. Default: a passing retry in the same run, else the last pass before this run in the same environment, else in any environment (30-day history). */
|
|
23972
|
-
baseline?: {
|
|
23973
|
-
test_run_id: number;
|
|
23974
|
-
retry?: number;
|
|
23975
|
-
};
|
|
23976
|
-
/** @description Include the page as each side left the focus step (base64). Default false. */
|
|
23977
|
-
screenshots?: boolean;
|
|
23978
|
-
};
|
|
23979
|
-
};
|
|
23980
|
-
};
|
|
23981
|
-
responses: {
|
|
23982
|
-
/** @description The comparison. */
|
|
23983
|
-
200: {
|
|
23984
|
-
headers: {
|
|
23985
|
-
[name: string]: unknown;
|
|
23986
|
-
};
|
|
23987
|
-
content: {
|
|
23988
|
-
"application/json": {
|
|
23989
|
-
/** @description Response payload. */
|
|
23990
|
-
data: {
|
|
23991
|
-
failure: {
|
|
23992
|
-
test_run_id: number;
|
|
23993
|
-
retry: number;
|
|
23994
|
-
file: string;
|
|
23995
|
-
};
|
|
23996
|
-
baseline: {
|
|
23997
|
-
test_run_id: number;
|
|
23998
|
-
retry: number;
|
|
23999
|
-
file: string;
|
|
24000
|
-
/** @enum {string} */
|
|
24001
|
-
source: "requested" | "same_run" | "same_environment" | "other_environment";
|
|
24002
|
-
environment_id: number | null;
|
|
24003
|
-
} | null;
|
|
24004
|
-
/** @description Other recent passes, newest first. */
|
|
24005
|
-
other_baselines: {
|
|
24006
|
-
test_run_id: number;
|
|
24007
|
-
environment_id: number | null;
|
|
24008
|
-
}[];
|
|
24009
|
-
/** @description The deepest step where the failed attempt stopped, else where it first diverged; null when the steps match. */
|
|
24010
|
-
focus: {
|
|
24011
|
-
/** @description Step position, nested steps dotted ("4.2"). */
|
|
24012
|
-
index: string;
|
|
24013
|
-
/**
|
|
24014
|
-
* @description matched: ran in both. failed: where the failed attempt stopped. extra: only in the failed attempt. missing: only in the passing attempt, before the failure. not-reached: only in the passing attempt, after the failure.
|
|
24015
|
-
* @enum {string}
|
|
24016
|
-
*/
|
|
24017
|
-
kind: "matched" | "failed" | "extra" | "missing" | "not-reached";
|
|
24018
|
-
title: string;
|
|
24019
|
-
location: string | null;
|
|
24020
|
-
pass_ms: number | null;
|
|
24021
|
-
fail_ms: number | null;
|
|
24022
|
-
error: string | null;
|
|
24023
|
-
/** @description At least 2x and 1s slower than in the passing attempt. */
|
|
24024
|
-
slower: boolean;
|
|
24025
|
-
} | null;
|
|
24026
|
-
/** @description Aligned top-level steps, plus the nested steps on the path to the focus step. */
|
|
24027
|
-
rows: {
|
|
24028
|
-
/** @description Step position, nested steps dotted ("4.2"). */
|
|
24029
|
-
index: string;
|
|
24030
|
-
/**
|
|
24031
|
-
* @description matched: ran in both. failed: where the failed attempt stopped. extra: only in the failed attempt. missing: only in the passing attempt, before the failure. not-reached: only in the passing attempt, after the failure.
|
|
24032
|
-
* @enum {string}
|
|
24033
|
-
*/
|
|
24034
|
-
kind: "matched" | "failed" | "extra" | "missing" | "not-reached";
|
|
24035
|
-
title: string;
|
|
24036
|
-
location: string | null;
|
|
24037
|
-
pass_ms: number | null;
|
|
24038
|
-
fail_ms: number | null;
|
|
24039
|
-
error: string | null;
|
|
24040
|
-
/** @description At least 2x and 1s slower than in the passing attempt. */
|
|
24041
|
-
slower: boolean;
|
|
24042
|
-
}[];
|
|
24043
|
-
screenshots: {
|
|
24044
|
-
pass: {
|
|
24045
|
-
mime_type: string;
|
|
24046
|
-
base64: string;
|
|
24047
|
-
} | null;
|
|
24048
|
-
fail: {
|
|
24049
|
-
mime_type: string;
|
|
24050
|
-
base64: string;
|
|
24051
|
-
} | null;
|
|
24052
|
-
} | null;
|
|
24053
|
-
/** @description Why there is no comparison (e.g. no passing attempt). */
|
|
24054
|
-
note: string | null;
|
|
24055
|
-
};
|
|
24056
|
-
};
|
|
24057
|
-
};
|
|
24058
|
-
};
|
|
24059
|
-
/** @description Test run, case, or trace not found. */
|
|
24060
|
-
404: {
|
|
24061
|
-
headers: {
|
|
24062
|
-
[name: string]: unknown;
|
|
24063
|
-
};
|
|
24064
|
-
content: {
|
|
24065
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
24066
|
-
};
|
|
24067
|
-
};
|
|
24068
|
-
/** @description Reading a trace failed. */
|
|
24069
|
-
422: {
|
|
24070
|
-
headers: {
|
|
24071
|
-
[name: string]: unknown;
|
|
24072
|
-
};
|
|
24073
|
-
content: {
|
|
24074
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
24075
|
-
};
|
|
24076
|
-
};
|
|
24077
|
-
};
|
|
24078
|
-
};
|
|
24079
24471
|
queryTrace: {
|
|
24080
24472
|
parameters: {
|
|
24081
24473
|
query?: never;
|
|
@@ -25022,7 +25414,11 @@ export interface operations {
|
|
|
25022
25414
|
path?: never;
|
|
25023
25415
|
cookie?: never;
|
|
25024
25416
|
};
|
|
25025
|
-
requestBody
|
|
25417
|
+
requestBody: {
|
|
25418
|
+
content: {
|
|
25419
|
+
"application/json": components["schemas"]["SubscriptionCheckoutRequest"];
|
|
25420
|
+
};
|
|
25421
|
+
};
|
|
25026
25422
|
responses: {
|
|
25027
25423
|
/** @description The checkout. */
|
|
25028
25424
|
200: {
|
|
@@ -25033,7 +25429,7 @@ export interface operations {
|
|
|
25033
25429
|
"application/json": components["schemas"]["SubscriptionCheckoutResponse"];
|
|
25034
25430
|
};
|
|
25035
25431
|
};
|
|
25036
|
-
/** @description Payments not configured, INR org, no plan for sale, or no email for the Dodo customer. */
|
|
25432
|
+
/** @description Payments not configured, INR org, no plan for sale, `plan_id` not for sale, or no email for the Dodo customer. */
|
|
25037
25433
|
400: {
|
|
25038
25434
|
headers: {
|
|
25039
25435
|
[name: string]: unknown;
|
|
@@ -25051,7 +25447,7 @@ export interface operations {
|
|
|
25051
25447
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
25052
25448
|
};
|
|
25053
25449
|
};
|
|
25054
|
-
/** @description The org
|
|
25450
|
+
/** @description The org has an open-ended plan or a live subscription. */
|
|
25055
25451
|
409: {
|
|
25056
25452
|
headers: {
|
|
25057
25453
|
[name: string]: unknown;
|
|
@@ -25444,6 +25840,10 @@ export interface operations {
|
|
|
25444
25840
|
"application/json": {
|
|
25445
25841
|
title?: string;
|
|
25446
25842
|
model?: string;
|
|
25843
|
+
/**
|
|
25844
|
+
* @deprecated
|
|
25845
|
+
* @description Ignored. Sandboxes save impacted tests per commit with PUT /api/chat-sessions/{id}/impacted-tests.
|
|
25846
|
+
*/
|
|
25447
25847
|
impacted_tests?: unknown;
|
|
25448
25848
|
};
|
|
25449
25849
|
};
|
|
@@ -25960,6 +26360,77 @@ export interface operations {
|
|
|
25960
26360
|
};
|
|
25961
26361
|
};
|
|
25962
26362
|
};
|
|
26363
|
+
getChatSessionImpactedTests: {
|
|
26364
|
+
parameters: {
|
|
26365
|
+
query?: {
|
|
26366
|
+
/** @description Branch name; omit for the session's latest. */
|
|
26367
|
+
branch?: string;
|
|
26368
|
+
};
|
|
26369
|
+
header?: never;
|
|
26370
|
+
path: {
|
|
26371
|
+
/** @description Chat session ID. */
|
|
26372
|
+
id: number;
|
|
26373
|
+
};
|
|
26374
|
+
cookie?: never;
|
|
26375
|
+
};
|
|
26376
|
+
requestBody?: never;
|
|
26377
|
+
responses: {
|
|
26378
|
+
/** @description The latest result. */
|
|
26379
|
+
200: {
|
|
26380
|
+
headers: {
|
|
26381
|
+
[name: string]: unknown;
|
|
26382
|
+
};
|
|
26383
|
+
content: {
|
|
26384
|
+
"application/json": components["schemas"]["BranchImpactedTestsResponse"];
|
|
26385
|
+
};
|
|
26386
|
+
};
|
|
26387
|
+
/** @description Chat session not found. */
|
|
26388
|
+
404: {
|
|
26389
|
+
headers: {
|
|
26390
|
+
[name: string]: unknown;
|
|
26391
|
+
};
|
|
26392
|
+
content: {
|
|
26393
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
26394
|
+
};
|
|
26395
|
+
};
|
|
26396
|
+
};
|
|
26397
|
+
};
|
|
26398
|
+
putChatSessionImpactedTests: {
|
|
26399
|
+
parameters: {
|
|
26400
|
+
query?: never;
|
|
26401
|
+
header?: never;
|
|
26402
|
+
path: {
|
|
26403
|
+
/** @description Chat session ID. */
|
|
26404
|
+
id: number;
|
|
26405
|
+
};
|
|
26406
|
+
cookie?: never;
|
|
26407
|
+
};
|
|
26408
|
+
requestBody?: {
|
|
26409
|
+
content: {
|
|
26410
|
+
"application/json": components["schemas"]["PutBranchImpactedTestsBody"];
|
|
26411
|
+
};
|
|
26412
|
+
};
|
|
26413
|
+
responses: {
|
|
26414
|
+
/** @description The stored result. */
|
|
26415
|
+
200: {
|
|
26416
|
+
headers: {
|
|
26417
|
+
[name: string]: unknown;
|
|
26418
|
+
};
|
|
26419
|
+
content: {
|
|
26420
|
+
"application/json": components["schemas"]["BranchImpactedTestsResponse"];
|
|
26421
|
+
};
|
|
26422
|
+
};
|
|
26423
|
+
/** @description Chat session not found. */
|
|
26424
|
+
404: {
|
|
26425
|
+
headers: {
|
|
26426
|
+
[name: string]: unknown;
|
|
26427
|
+
};
|
|
26428
|
+
content: {
|
|
26429
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
26430
|
+
};
|
|
26431
|
+
};
|
|
26432
|
+
};
|
|
26433
|
+
};
|
|
25963
26434
|
getChatSessionLineage: {
|
|
25964
26435
|
parameters: {
|
|
25965
26436
|
query?: never;
|
|
@@ -28299,6 +28770,55 @@ export interface operations {
|
|
|
28299
28770
|
};
|
|
28300
28771
|
};
|
|
28301
28772
|
};
|
|
28773
|
+
getRepoRawImage: {
|
|
28774
|
+
parameters: {
|
|
28775
|
+
query: {
|
|
28776
|
+
/** @description Repository owner. */
|
|
28777
|
+
owner: string;
|
|
28778
|
+
/** @description Repository name. */
|
|
28779
|
+
repo: string;
|
|
28780
|
+
/** @description Repository host; only `github` is supported. */
|
|
28781
|
+
repo_host?: string;
|
|
28782
|
+
/** @description Image path within the repo (png, jpg, gif, webp). */
|
|
28783
|
+
path: string;
|
|
28784
|
+
/** @description Branch, tag, or commit SHA to read from. */
|
|
28785
|
+
ref: string;
|
|
28786
|
+
};
|
|
28787
|
+
header?: never;
|
|
28788
|
+
path?: never;
|
|
28789
|
+
cookie?: never;
|
|
28790
|
+
};
|
|
28791
|
+
requestBody?: never;
|
|
28792
|
+
responses: {
|
|
28793
|
+
/** @description The image bytes. */
|
|
28794
|
+
200: {
|
|
28795
|
+
headers: {
|
|
28796
|
+
[name: string]: unknown;
|
|
28797
|
+
};
|
|
28798
|
+
content: {
|
|
28799
|
+
"image/*": string;
|
|
28800
|
+
};
|
|
28801
|
+
};
|
|
28802
|
+
/** @description Unsupported repo host or image type. */
|
|
28803
|
+
400: {
|
|
28804
|
+
headers: {
|
|
28805
|
+
[name: string]: unknown;
|
|
28806
|
+
};
|
|
28807
|
+
content: {
|
|
28808
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
28809
|
+
};
|
|
28810
|
+
};
|
|
28811
|
+
/** @description Repository or file not found. */
|
|
28812
|
+
404: {
|
|
28813
|
+
headers: {
|
|
28814
|
+
[name: string]: unknown;
|
|
28815
|
+
};
|
|
28816
|
+
content: {
|
|
28817
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
28818
|
+
};
|
|
28819
|
+
};
|
|
28820
|
+
};
|
|
28821
|
+
};
|
|
28302
28822
|
listMainInstallations: {
|
|
28303
28823
|
parameters: {
|
|
28304
28824
|
query: {
|
|
@@ -28570,7 +29090,7 @@ export interface operations {
|
|
|
28570
29090
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
28571
29091
|
};
|
|
28572
29092
|
};
|
|
28573
|
-
/** @description GitHub is still computing mergeability. */
|
|
29093
|
+
/** @description GitHub is still computing mergeability, or the PR is behind its base branch. */
|
|
28574
29094
|
409: {
|
|
28575
29095
|
headers: {
|
|
28576
29096
|
[name: string]: unknown;
|
|
@@ -29219,6 +29739,59 @@ export interface operations {
|
|
|
29219
29739
|
};
|
|
29220
29740
|
};
|
|
29221
29741
|
};
|
|
29742
|
+
getHiveSkill: {
|
|
29743
|
+
parameters: {
|
|
29744
|
+
query?: {
|
|
29745
|
+
/** @description Skill version. Defaults to `@latest`. */
|
|
29746
|
+
version?: number;
|
|
29747
|
+
};
|
|
29748
|
+
header?: never;
|
|
29749
|
+
path: {
|
|
29750
|
+
/** @description Skill name, e.g. "onboarding-a-new-repo". */
|
|
29751
|
+
name: string;
|
|
29752
|
+
};
|
|
29753
|
+
cookie?: never;
|
|
29754
|
+
};
|
|
29755
|
+
requestBody?: never;
|
|
29756
|
+
responses: {
|
|
29757
|
+
/** @description The skill's files. */
|
|
29758
|
+
200: {
|
|
29759
|
+
headers: {
|
|
29760
|
+
[name: string]: unknown;
|
|
29761
|
+
};
|
|
29762
|
+
content: {
|
|
29763
|
+
"application/json": components["schemas"]["HiveSkillFilesResponse"];
|
|
29764
|
+
};
|
|
29765
|
+
};
|
|
29766
|
+
/** @description No such skill, or it has no `@latest` version. */
|
|
29767
|
+
404: {
|
|
29768
|
+
headers: {
|
|
29769
|
+
[name: string]: unknown;
|
|
29770
|
+
};
|
|
29771
|
+
content: {
|
|
29772
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
29773
|
+
};
|
|
29774
|
+
};
|
|
29775
|
+
/** @description Hive is not configured or the request failed. */
|
|
29776
|
+
500: {
|
|
29777
|
+
headers: {
|
|
29778
|
+
[name: string]: unknown;
|
|
29779
|
+
};
|
|
29780
|
+
content: {
|
|
29781
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
29782
|
+
};
|
|
29783
|
+
};
|
|
29784
|
+
/** @description Hive returned an error response. */
|
|
29785
|
+
502: {
|
|
29786
|
+
headers: {
|
|
29787
|
+
[name: string]: unknown;
|
|
29788
|
+
};
|
|
29789
|
+
content: {
|
|
29790
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
29791
|
+
};
|
|
29792
|
+
};
|
|
29793
|
+
};
|
|
29794
|
+
};
|
|
29222
29795
|
proxyInbox: {
|
|
29223
29796
|
parameters: {
|
|
29224
29797
|
query?: never;
|
|
@@ -30598,6 +31171,15 @@ export interface operations {
|
|
|
30598
31171
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
30599
31172
|
};
|
|
30600
31173
|
};
|
|
31174
|
+
/** @description Missing or invalid webhook token. */
|
|
31175
|
+
401: {
|
|
31176
|
+
headers: {
|
|
31177
|
+
[name: string]: unknown;
|
|
31178
|
+
};
|
|
31179
|
+
content: {
|
|
31180
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
31181
|
+
};
|
|
31182
|
+
};
|
|
30601
31183
|
/** @description No matching install or project. */
|
|
30602
31184
|
404: {
|
|
30603
31185
|
headers: {
|
|
@@ -31929,6 +32511,126 @@ export interface operations {
|
|
|
31929
32511
|
};
|
|
31930
32512
|
};
|
|
31931
32513
|
};
|
|
32514
|
+
getOAuthAuthorization: {
|
|
32515
|
+
parameters: {
|
|
32516
|
+
query?: never;
|
|
32517
|
+
header?: never;
|
|
32518
|
+
path: {
|
|
32519
|
+
/** @description Authorization ID from the consent page URL. */
|
|
32520
|
+
authorization_id: string;
|
|
32521
|
+
};
|
|
32522
|
+
cookie?: never;
|
|
32523
|
+
};
|
|
32524
|
+
requestBody?: never;
|
|
32525
|
+
responses: {
|
|
32526
|
+
/** @description The authorization. */
|
|
32527
|
+
200: {
|
|
32528
|
+
headers: {
|
|
32529
|
+
[name: string]: unknown;
|
|
32530
|
+
};
|
|
32531
|
+
content: {
|
|
32532
|
+
"application/json": {
|
|
32533
|
+
data: {
|
|
32534
|
+
client_id: string | null;
|
|
32535
|
+
client_name: string | null;
|
|
32536
|
+
scopes: string[];
|
|
32537
|
+
/** @description Set when the caller already consented: send the browser here instead of asking again. */
|
|
32538
|
+
redirect_url: string | null;
|
|
32539
|
+
};
|
|
32540
|
+
};
|
|
32541
|
+
};
|
|
32542
|
+
};
|
|
32543
|
+
/** @description Supabase rejected the request. */
|
|
32544
|
+
400: {
|
|
32545
|
+
headers: {
|
|
32546
|
+
[name: string]: unknown;
|
|
32547
|
+
};
|
|
32548
|
+
content: {
|
|
32549
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32550
|
+
};
|
|
32551
|
+
};
|
|
32552
|
+
/** @description No such authorization, or it expired. */
|
|
32553
|
+
404: {
|
|
32554
|
+
headers: {
|
|
32555
|
+
[name: string]: unknown;
|
|
32556
|
+
};
|
|
32557
|
+
content: {
|
|
32558
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32559
|
+
};
|
|
32560
|
+
};
|
|
32561
|
+
/** @description Supabase failed. */
|
|
32562
|
+
502: {
|
|
32563
|
+
headers: {
|
|
32564
|
+
[name: string]: unknown;
|
|
32565
|
+
};
|
|
32566
|
+
content: {
|
|
32567
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32568
|
+
};
|
|
32569
|
+
};
|
|
32570
|
+
};
|
|
32571
|
+
};
|
|
32572
|
+
submitOAuthConsent: {
|
|
32573
|
+
parameters: {
|
|
32574
|
+
query?: never;
|
|
32575
|
+
header?: never;
|
|
32576
|
+
path: {
|
|
32577
|
+
/** @description Authorization ID from the consent page URL. */
|
|
32578
|
+
authorization_id: string;
|
|
32579
|
+
};
|
|
32580
|
+
cookie?: never;
|
|
32581
|
+
};
|
|
32582
|
+
requestBody?: {
|
|
32583
|
+
content: {
|
|
32584
|
+
"application/json": {
|
|
32585
|
+
/** @enum {string} */
|
|
32586
|
+
action: "approve" | "deny";
|
|
32587
|
+
};
|
|
32588
|
+
};
|
|
32589
|
+
};
|
|
32590
|
+
responses: {
|
|
32591
|
+
/** @description The app's redirect. */
|
|
32592
|
+
200: {
|
|
32593
|
+
headers: {
|
|
32594
|
+
[name: string]: unknown;
|
|
32595
|
+
};
|
|
32596
|
+
content: {
|
|
32597
|
+
"application/json": {
|
|
32598
|
+
data: {
|
|
32599
|
+
/** @description Where to send the browser next. */
|
|
32600
|
+
redirect_url: string;
|
|
32601
|
+
};
|
|
32602
|
+
};
|
|
32603
|
+
};
|
|
32604
|
+
};
|
|
32605
|
+
/** @description Supabase rejected the request. */
|
|
32606
|
+
400: {
|
|
32607
|
+
headers: {
|
|
32608
|
+
[name: string]: unknown;
|
|
32609
|
+
};
|
|
32610
|
+
content: {
|
|
32611
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32612
|
+
};
|
|
32613
|
+
};
|
|
32614
|
+
/** @description No such authorization, or it expired. */
|
|
32615
|
+
404: {
|
|
32616
|
+
headers: {
|
|
32617
|
+
[name: string]: unknown;
|
|
32618
|
+
};
|
|
32619
|
+
content: {
|
|
32620
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32621
|
+
};
|
|
32622
|
+
};
|
|
32623
|
+
/** @description Supabase failed. */
|
|
32624
|
+
502: {
|
|
32625
|
+
headers: {
|
|
32626
|
+
[name: string]: unknown;
|
|
32627
|
+
};
|
|
32628
|
+
content: {
|
|
32629
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32630
|
+
};
|
|
32631
|
+
};
|
|
32632
|
+
};
|
|
32633
|
+
};
|
|
31932
32634
|
getOAuthAuthorizeUrl: {
|
|
31933
32635
|
parameters: {
|
|
31934
32636
|
query: {
|
|
@@ -33464,122 +34166,6 @@ export interface operations {
|
|
|
33464
34166
|
};
|
|
33465
34167
|
};
|
|
33466
34168
|
};
|
|
33467
|
-
getProject: {
|
|
33468
|
-
parameters: {
|
|
33469
|
-
query?: never;
|
|
33470
|
-
header?: never;
|
|
33471
|
-
path: {
|
|
33472
|
-
/** @description Project ID. */
|
|
33473
|
-
id: number;
|
|
33474
|
-
};
|
|
33475
|
-
cookie?: never;
|
|
33476
|
-
};
|
|
33477
|
-
requestBody?: never;
|
|
33478
|
-
responses: {
|
|
33479
|
-
/** @description The project. */
|
|
33480
|
-
200: {
|
|
33481
|
-
headers: {
|
|
33482
|
-
[name: string]: unknown;
|
|
33483
|
-
};
|
|
33484
|
-
content: {
|
|
33485
|
-
"application/json": components["schemas"]["ProjectResponse"];
|
|
33486
|
-
};
|
|
33487
|
-
};
|
|
33488
|
-
/** @description Forbidden. */
|
|
33489
|
-
403: {
|
|
33490
|
-
headers: {
|
|
33491
|
-
[name: string]: unknown;
|
|
33492
|
-
};
|
|
33493
|
-
content: {
|
|
33494
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
33495
|
-
};
|
|
33496
|
-
};
|
|
33497
|
-
/** @description Project not found. */
|
|
33498
|
-
404: {
|
|
33499
|
-
headers: {
|
|
33500
|
-
[name: string]: unknown;
|
|
33501
|
-
};
|
|
33502
|
-
content: {
|
|
33503
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
33504
|
-
};
|
|
33505
|
-
};
|
|
33506
|
-
};
|
|
33507
|
-
};
|
|
33508
|
-
updateProject: {
|
|
33509
|
-
parameters: {
|
|
33510
|
-
query?: never;
|
|
33511
|
-
header?: never;
|
|
33512
|
-
path: {
|
|
33513
|
-
/** @description Project ID. */
|
|
33514
|
-
id: number;
|
|
33515
|
-
};
|
|
33516
|
-
cookie?: never;
|
|
33517
|
-
};
|
|
33518
|
-
requestBody?: {
|
|
33519
|
-
content: {
|
|
33520
|
-
"application/json": {
|
|
33521
|
-
name?: string;
|
|
33522
|
-
default_branch?: string;
|
|
33523
|
-
protected_branches?: string[];
|
|
33524
|
-
/**
|
|
33525
|
-
* @deprecated
|
|
33526
|
-
* @description Read-only. Set `concurrency` on the trigger request or `scheduled_concurrency` on the environment instead.
|
|
33527
|
-
* @enum {string}
|
|
33528
|
-
*/
|
|
33529
|
-
test_run_concurrency_limit?: "none" | "project" | "environment" | "branch_environment";
|
|
33530
|
-
/**
|
|
33531
|
-
* @deprecated
|
|
33532
|
-
* @description Read-only. Set `concurrency` on the trigger request or `scheduled_concurrency` on the environment instead.
|
|
33533
|
-
* @enum {string}
|
|
33534
|
-
*/
|
|
33535
|
-
test_run_concurrency_behavior?: "cancel_previous" | "queue_new";
|
|
33536
|
-
/** @enum {string} */
|
|
33537
|
-
test_run_region?: "us-east-1" | "ap-south-1";
|
|
33538
|
-
test_run_shards?: number | null;
|
|
33539
|
-
profile_icon_url?: string | null;
|
|
33540
|
-
is_active?: boolean;
|
|
33541
|
-
};
|
|
33542
|
-
};
|
|
33543
|
-
};
|
|
33544
|
-
responses: {
|
|
33545
|
-
/** @description The updated project. */
|
|
33546
|
-
200: {
|
|
33547
|
-
headers: {
|
|
33548
|
-
[name: string]: unknown;
|
|
33549
|
-
};
|
|
33550
|
-
content: {
|
|
33551
|
-
"application/json": components["schemas"]["PatchProjectResponse"];
|
|
33552
|
-
};
|
|
33553
|
-
};
|
|
33554
|
-
/** @description No valid fields to update. */
|
|
33555
|
-
400: {
|
|
33556
|
-
headers: {
|
|
33557
|
-
[name: string]: unknown;
|
|
33558
|
-
};
|
|
33559
|
-
content: {
|
|
33560
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
33561
|
-
};
|
|
33562
|
-
};
|
|
33563
|
-
/** @description Forbidden. */
|
|
33564
|
-
403: {
|
|
33565
|
-
headers: {
|
|
33566
|
-
[name: string]: unknown;
|
|
33567
|
-
};
|
|
33568
|
-
content: {
|
|
33569
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
33570
|
-
};
|
|
33571
|
-
};
|
|
33572
|
-
/** @description Project not found. */
|
|
33573
|
-
404: {
|
|
33574
|
-
headers: {
|
|
33575
|
-
[name: string]: unknown;
|
|
33576
|
-
};
|
|
33577
|
-
content: {
|
|
33578
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
33579
|
-
};
|
|
33580
|
-
};
|
|
33581
|
-
};
|
|
33582
|
-
};
|
|
33583
34169
|
listProjectBlocks: {
|
|
33584
34170
|
parameters: {
|
|
33585
34171
|
query?: never;
|
|
@@ -34708,6 +35294,48 @@ export interface operations {
|
|
|
34708
35294
|
};
|
|
34709
35295
|
};
|
|
34710
35296
|
};
|
|
35297
|
+
createReportToken: {
|
|
35298
|
+
parameters: {
|
|
35299
|
+
query?: never;
|
|
35300
|
+
header?: never;
|
|
35301
|
+
path?: never;
|
|
35302
|
+
cookie?: never;
|
|
35303
|
+
};
|
|
35304
|
+
requestBody: {
|
|
35305
|
+
content: {
|
|
35306
|
+
"application/json": components["schemas"]["CreateReportTokenRequest"];
|
|
35307
|
+
};
|
|
35308
|
+
};
|
|
35309
|
+
responses: {
|
|
35310
|
+
/** @description The report token. */
|
|
35311
|
+
200: {
|
|
35312
|
+
headers: {
|
|
35313
|
+
[name: string]: unknown;
|
|
35314
|
+
};
|
|
35315
|
+
content: {
|
|
35316
|
+
"application/json": components["schemas"]["CreateReportTokenResponse"];
|
|
35317
|
+
};
|
|
35318
|
+
};
|
|
35319
|
+
/** @description `report_url` is not a file on a report host. */
|
|
35320
|
+
400: {
|
|
35321
|
+
headers: {
|
|
35322
|
+
[name: string]: unknown;
|
|
35323
|
+
};
|
|
35324
|
+
content: {
|
|
35325
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
35326
|
+
};
|
|
35327
|
+
};
|
|
35328
|
+
/** @description The caller can't read these reports. */
|
|
35329
|
+
403: {
|
|
35330
|
+
headers: {
|
|
35331
|
+
[name: string]: unknown;
|
|
35332
|
+
};
|
|
35333
|
+
content: {
|
|
35334
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
35335
|
+
};
|
|
35336
|
+
};
|
|
35337
|
+
};
|
|
35338
|
+
};
|
|
34711
35339
|
claimRunnerBackend: {
|
|
34712
35340
|
parameters: {
|
|
34713
35341
|
query?: never;
|
|
@@ -35314,6 +35942,26 @@ export interface operations {
|
|
|
35314
35942
|
};
|
|
35315
35943
|
};
|
|
35316
35944
|
};
|
|
35945
|
+
getTestReportStorage: {
|
|
35946
|
+
parameters: {
|
|
35947
|
+
query?: never;
|
|
35948
|
+
header?: never;
|
|
35949
|
+
path?: never;
|
|
35950
|
+
cookie?: never;
|
|
35951
|
+
};
|
|
35952
|
+
requestBody?: never;
|
|
35953
|
+
responses: {
|
|
35954
|
+
/** @description Where uploaded reports are served. */
|
|
35955
|
+
200: {
|
|
35956
|
+
headers: {
|
|
35957
|
+
[name: string]: unknown;
|
|
35958
|
+
};
|
|
35959
|
+
content: {
|
|
35960
|
+
"application/json": components["schemas"]["TestReportStorageResponse"];
|
|
35961
|
+
};
|
|
35962
|
+
};
|
|
35963
|
+
};
|
|
35964
|
+
};
|
|
35317
35965
|
createTestReportUploadUrls: {
|
|
35318
35966
|
parameters: {
|
|
35319
35967
|
query?: never;
|