@empiricalrun/playwright-utils 0.70.2 → 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.
|
@@ -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), 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.
|
|
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;
|
|
@@ -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;
|
|
@@ -3965,7 +3989,7 @@ export interface paths {
|
|
|
3965
3989
|
put?: never;
|
|
3966
3990
|
/**
|
|
3967
3991
|
* ⚙️ Merge a pull request
|
|
3968
|
-
* @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.
|
|
3969
3993
|
*/
|
|
3970
3994
|
post: operations["mergePullRequest"];
|
|
3971
3995
|
delete?: never;
|
|
@@ -4258,6 +4282,26 @@ export interface paths {
|
|
|
4258
4282
|
patch?: never;
|
|
4259
4283
|
trace?: never;
|
|
4260
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
|
+
};
|
|
4261
4305
|
"/api/inbox/proxy": {
|
|
4262
4306
|
parameters: {
|
|
4263
4307
|
query?: never;
|
|
@@ -4805,7 +4849,7 @@ export interface paths {
|
|
|
4805
4849
|
put?: never;
|
|
4806
4850
|
/**
|
|
4807
4851
|
* Receive a Jira webhook
|
|
4808
|
-
* @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.
|
|
4809
4853
|
*/
|
|
4810
4854
|
post: operations["receiveJiraWebhook"];
|
|
4811
4855
|
delete?: never;
|
|
@@ -5314,6 +5358,46 @@ export interface paths {
|
|
|
5314
5358
|
patch?: never;
|
|
5315
5359
|
trace?: never;
|
|
5316
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
|
+
};
|
|
5317
5401
|
"/api/oauth/authorize-url": {
|
|
5318
5402
|
parameters: {
|
|
5319
5403
|
query?: never;
|
|
@@ -5854,30 +5938,6 @@ export interface paths {
|
|
|
5854
5938
|
patch?: never;
|
|
5855
5939
|
trace?: never;
|
|
5856
5940
|
};
|
|
5857
|
-
"/api/projects/{id}": {
|
|
5858
|
-
parameters: {
|
|
5859
|
-
query?: never;
|
|
5860
|
-
header?: never;
|
|
5861
|
-
path?: never;
|
|
5862
|
-
cookie?: never;
|
|
5863
|
-
};
|
|
5864
|
-
/**
|
|
5865
|
-
* ⚙️ Get a project
|
|
5866
|
-
* @description Retrieves a single project by ID.
|
|
5867
|
-
*/
|
|
5868
|
-
get: operations["getProject"];
|
|
5869
|
-
put?: never;
|
|
5870
|
-
post?: never;
|
|
5871
|
-
delete?: never;
|
|
5872
|
-
options?: never;
|
|
5873
|
-
head?: never;
|
|
5874
|
-
/**
|
|
5875
|
-
* ⚙️ Update a project
|
|
5876
|
-
* @description Updates editable fields on a project.
|
|
5877
|
-
*/
|
|
5878
|
-
patch: operations["updateProject"];
|
|
5879
|
-
trace?: never;
|
|
5880
|
-
};
|
|
5881
5941
|
"/api/projects/{id}/blocks": {
|
|
5882
5942
|
parameters: {
|
|
5883
5943
|
query?: never;
|
|
@@ -7821,6 +7881,13 @@ export interface components {
|
|
|
7821
7881
|
type: "added" | "removed" | "modified";
|
|
7822
7882
|
};
|
|
7823
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
|
+
}[];
|
|
7824
7891
|
}[];
|
|
7825
7892
|
/** @description Whether the agent is awaiting user input. */
|
|
7826
7893
|
ask_user_for_input: boolean | null;
|
|
@@ -8017,6 +8084,13 @@ export interface components {
|
|
|
8017
8084
|
type: "added" | "removed" | "modified";
|
|
8018
8085
|
};
|
|
8019
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
|
+
}[];
|
|
8020
8094
|
}[];
|
|
8021
8095
|
/** @description Whether the agent is awaiting user input. */
|
|
8022
8096
|
ask_user_for_input: boolean | null;
|
|
@@ -8555,6 +8629,13 @@ export interface components {
|
|
|
8555
8629
|
upload_url: string;
|
|
8556
8630
|
};
|
|
8557
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
|
+
};
|
|
8558
8639
|
CreateJiraInstallationRequest: {
|
|
8559
8640
|
/** @description Organisation the installation belongs to. */
|
|
8560
8641
|
org_id: number;
|
|
@@ -8668,10 +8749,10 @@ export interface components {
|
|
|
8668
8749
|
* @description Currency the plan is priced in. Defaults to `usd`.
|
|
8669
8750
|
* @enum {string}
|
|
8670
8751
|
*/
|
|
8671
|
-
currency?: "usd" | "inr"
|
|
8752
|
+
currency?: "usd" | "inr";
|
|
8672
8753
|
/** @description Monthly base price in cents of `currency`. */
|
|
8673
8754
|
base_price_cents: number;
|
|
8674
|
-
/** @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. */
|
|
8675
8756
|
dodo_product_id?: string;
|
|
8676
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`. */
|
|
8677
8758
|
dodo_sync?: boolean;
|
|
@@ -9787,6 +9868,15 @@ export interface components {
|
|
|
9787
9868
|
file: components["schemas"]["File"];
|
|
9788
9869
|
};
|
|
9789
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
|
+
};
|
|
9790
9880
|
Fingerprint: {
|
|
9791
9881
|
signals: {
|
|
9792
9882
|
kind: string;
|
|
@@ -9863,7 +9953,7 @@ export interface components {
|
|
|
9863
9953
|
retries: number | null;
|
|
9864
9954
|
/** @description Total duration in milliseconds. */
|
|
9865
9955
|
total_duration: number | null;
|
|
9866
|
-
/** @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. */
|
|
9867
9957
|
expected_duration_ms: number | null;
|
|
9868
9958
|
/** @description Raw Playwright retry details; null if absent. */
|
|
9869
9959
|
retry_details: {
|
|
@@ -10377,6 +10467,13 @@ export interface components {
|
|
|
10377
10467
|
type: "added" | "removed" | "modified";
|
|
10378
10468
|
};
|
|
10379
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
|
+
}[];
|
|
10380
10477
|
}[] | null;
|
|
10381
10478
|
/** @description Failure reason when status is failed. */
|
|
10382
10479
|
error: string | null;
|
|
@@ -10590,6 +10687,19 @@ export interface components {
|
|
|
10590
10687
|
/** @description Response payload. */
|
|
10591
10688
|
data: components["schemas"]["HiveModel"][];
|
|
10592
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
|
+
};
|
|
10593
10703
|
ImpactedTests: {
|
|
10594
10704
|
test_case: {
|
|
10595
10705
|
name: string;
|
|
@@ -10608,6 +10718,13 @@ export interface components {
|
|
|
10608
10718
|
type: "added" | "removed" | "modified";
|
|
10609
10719
|
};
|
|
10610
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
|
+
}[];
|
|
10611
10728
|
}[];
|
|
10612
10729
|
ImportLoomFileRequest: {
|
|
10613
10730
|
/** @description Loom share URL (loom.com/share/<id>). */
|
|
@@ -11197,6 +11314,8 @@ export interface components {
|
|
|
11197
11314
|
linear_organization_name?: string;
|
|
11198
11315
|
/** @description Organization URL key (only when metadata is cached). */
|
|
11199
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;
|
|
11200
11319
|
/** @description Linear teams (only when metadata is cached). */
|
|
11201
11320
|
teams?: components["schemas"]["LinearTeamRef"][];
|
|
11202
11321
|
};
|
|
@@ -11229,6 +11348,8 @@ export interface components {
|
|
|
11229
11348
|
linear_organization_name?: string;
|
|
11230
11349
|
/** @description Organization URL key (only when metadata is cached). */
|
|
11231
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;
|
|
11232
11353
|
/** @description Linear teams (only when metadata is cached). */
|
|
11233
11354
|
teams?: components["schemas"]["LinearTeamRef"][];
|
|
11234
11355
|
};
|
|
@@ -11268,6 +11389,8 @@ export interface components {
|
|
|
11268
11389
|
linear_organization_name?: string;
|
|
11269
11390
|
/** @description Organization URL key (only when metadata is cached). */
|
|
11270
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;
|
|
11271
11394
|
/** @description Linear teams (only when metadata is cached). */
|
|
11272
11395
|
teams?: components["schemas"]["LinearTeamRef"][];
|
|
11273
11396
|
} | null;
|
|
@@ -12092,6 +12215,8 @@ export interface components {
|
|
|
12092
12215
|
overage_price_cents: number | null;
|
|
12093
12216
|
}[];
|
|
12094
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;
|
|
12095
12220
|
/** @description Whether the plan in effect is a trial, where usage draws from credits. The month summary has the credit. */
|
|
12096
12221
|
trial: boolean;
|
|
12097
12222
|
/** @description The org's live Dodo subscription now, or null when it's billed by invoice or has none. */
|
|
@@ -12502,11 +12627,11 @@ export interface components {
|
|
|
12502
12627
|
*/
|
|
12503
12628
|
test_run_concurrency_behavior: "cancel_previous" | "queue_new";
|
|
12504
12629
|
/**
|
|
12505
|
-
* @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.
|
|
12506
12631
|
* @enum {string}
|
|
12507
12632
|
*/
|
|
12508
12633
|
test_run_region: "us-east-1" | "ap-south-1";
|
|
12509
|
-
/** @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. */
|
|
12510
12635
|
test_run_shards: number | null;
|
|
12511
12636
|
/** @description URL of the project profile icon. */
|
|
12512
12637
|
profile_icon_url: string | null;
|
|
@@ -12735,11 +12860,11 @@ export interface components {
|
|
|
12735
12860
|
*/
|
|
12736
12861
|
test_run_concurrency_behavior: "cancel_previous" | "queue_new";
|
|
12737
12862
|
/**
|
|
12738
|
-
* @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.
|
|
12739
12864
|
* @enum {string}
|
|
12740
12865
|
*/
|
|
12741
12866
|
test_run_region: "us-east-1" | "ap-south-1";
|
|
12742
|
-
/** @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. */
|
|
12743
12868
|
test_run_shards: number | null;
|
|
12744
12869
|
/** @description URL of the project profile icon. */
|
|
12745
12870
|
profile_icon_url: string | null;
|
|
@@ -12968,11 +13093,11 @@ export interface components {
|
|
|
12968
13093
|
*/
|
|
12969
13094
|
test_run_concurrency_behavior: "cancel_previous" | "queue_new";
|
|
12970
13095
|
/**
|
|
12971
|
-
* @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.
|
|
12972
13097
|
* @enum {string}
|
|
12973
13098
|
*/
|
|
12974
13099
|
test_run_region: "us-east-1" | "ap-south-1";
|
|
12975
|
-
/** @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. */
|
|
12976
13101
|
test_run_shards: number | null;
|
|
12977
13102
|
/** @description URL of the project profile icon. */
|
|
12978
13103
|
profile_icon_url: string | null;
|
|
@@ -14932,6 +15057,10 @@ export interface components {
|
|
|
14932
15057
|
subscription_id: number;
|
|
14933
15058
|
};
|
|
14934
15059
|
};
|
|
15060
|
+
SubscriptionCheckoutRequest: {
|
|
15061
|
+
/** @description Plan to subscribe to, one of the offer's `plans`. */
|
|
15062
|
+
plan_id: number;
|
|
15063
|
+
};
|
|
14935
15064
|
SubscriptionCheckoutResponse: {
|
|
14936
15065
|
/** @description Response payload. */
|
|
14937
15066
|
data: {
|
|
@@ -14951,6 +15080,25 @@ export interface components {
|
|
|
14951
15080
|
final_charge: boolean;
|
|
14952
15081
|
};
|
|
14953
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
|
+
};
|
|
14954
15102
|
SubscriptionOfferResponse: {
|
|
14955
15103
|
/** @description Response payload. */
|
|
14956
15104
|
data: {
|
|
@@ -14961,24 +15109,8 @@ export interface components {
|
|
|
14961
15109
|
* @enum {string|null}
|
|
14962
15110
|
*/
|
|
14963
15111
|
reason: "not_configured" | "no_org" | "inr" | "has_plan" | "no_plan" | null;
|
|
14964
|
-
/** @description
|
|
14965
|
-
|
|
14966
|
-
/** @description Plan name, as shown to customers. */
|
|
14967
|
-
name: string;
|
|
14968
|
-
/** @description Currency of the prices below, e.g. `usd`. */
|
|
14969
|
-
currency: string;
|
|
14970
|
-
/** @description Monthly base price in cents of `currency`. */
|
|
14971
|
-
base_price_cents: number;
|
|
14972
|
-
/** @description Metered allowances and overage rates. */
|
|
14973
|
-
meters: {
|
|
14974
|
-
/** @description Meter key, e.g. `ai_credits` or `test_minutes`. */
|
|
14975
|
-
meter: string;
|
|
14976
|
-
/** @description Units included each month. */
|
|
14977
|
-
included_qty: number | null;
|
|
14978
|
-
/** @description Price per unit above the allowance, in cents of `currency`; may be fractional. */
|
|
14979
|
-
overage_price_cents: number | null;
|
|
14980
|
-
}[];
|
|
14981
|
-
} | null;
|
|
15112
|
+
/** @description Plans the org can check out, cheapest first; empty when not available. */
|
|
15113
|
+
plans: components["schemas"]["SubscriptionOfferPlan"][];
|
|
14982
15114
|
};
|
|
14983
15115
|
};
|
|
14984
15116
|
SubscriptionPortalResponse: {
|
|
@@ -15545,7 +15677,7 @@ export interface components {
|
|
|
15545
15677
|
retries: number | null;
|
|
15546
15678
|
/** @description Total duration in milliseconds. */
|
|
15547
15679
|
total_duration: number | null;
|
|
15548
|
-
/** @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. */
|
|
15549
15681
|
expected_duration_ms: number | null;
|
|
15550
15682
|
/** @description Raw Playwright retry details; null if absent. */
|
|
15551
15683
|
retry_details: {
|
|
@@ -16662,7 +16794,7 @@ export interface components {
|
|
|
16662
16794
|
})[];
|
|
16663
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. */
|
|
16664
16796
|
project_id?: number;
|
|
16665
|
-
/** @description
|
|
16797
|
+
/** @description Shards to start this run with, from 1 to 50. Replaces the project's maximum for this run. */
|
|
16666
16798
|
total_shards?: number;
|
|
16667
16799
|
/** @description ID of the test run this run is a rerun of. */
|
|
16668
16800
|
rerun_source_id?: number;
|
|
@@ -16670,6 +16802,12 @@ export interface components {
|
|
|
16670
16802
|
rerun_only_failed?: boolean;
|
|
16671
16803
|
/** @description GitHub username that triggered the run, for attribution. */
|
|
16672
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;
|
|
16673
16811
|
};
|
|
16674
16812
|
TruncatedProjectApiKey: {
|
|
16675
16813
|
/** @description API key ID. */
|
|
@@ -17925,32 +18063,82 @@ export interface operations {
|
|
|
17925
18063
|
};
|
|
17926
18064
|
};
|
|
17927
18065
|
};
|
|
17928
|
-
|
|
18066
|
+
getTestRunLogs: {
|
|
17929
18067
|
parameters: {
|
|
17930
|
-
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
|
+
};
|
|
17931
18082
|
header?: never;
|
|
17932
18083
|
path: {
|
|
17933
|
-
/** @description
|
|
18084
|
+
/** @description Test run database ID. */
|
|
17934
18085
|
id: number;
|
|
17935
18086
|
};
|
|
17936
18087
|
cookie?: never;
|
|
17937
18088
|
};
|
|
17938
|
-
requestBody?:
|
|
17939
|
-
|
|
17940
|
-
|
|
18089
|
+
requestBody?: never;
|
|
18090
|
+
responses: {
|
|
18091
|
+
/** @description The task's log events. */
|
|
18092
|
+
200: {
|
|
18093
|
+
headers: {
|
|
18094
|
+
[name: string]: unknown;
|
|
18095
|
+
};
|
|
18096
|
+
content: {
|
|
18097
|
+
"application/json": components["schemas"]["TestRunLogsResponse"];
|
|
18098
|
+
};
|
|
18099
|
+
};
|
|
18100
|
+
/** @description ECS task ID not found. */
|
|
18101
|
+
400: {
|
|
18102
|
+
headers: {
|
|
18103
|
+
[name: string]: unknown;
|
|
18104
|
+
};
|
|
18105
|
+
content: {
|
|
18106
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18107
|
+
};
|
|
18108
|
+
};
|
|
18109
|
+
/** @description Test run not found. */
|
|
18110
|
+
404: {
|
|
18111
|
+
headers: {
|
|
18112
|
+
[name: string]: unknown;
|
|
18113
|
+
};
|
|
18114
|
+
content: {
|
|
18115
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18116
|
+
};
|
|
18117
|
+
};
|
|
18118
|
+
};
|
|
18119
|
+
};
|
|
18120
|
+
listTestRunShards: {
|
|
18121
|
+
parameters: {
|
|
18122
|
+
query?: never;
|
|
18123
|
+
header?: never;
|
|
18124
|
+
path: {
|
|
18125
|
+
/** @description Test run database ID. */
|
|
18126
|
+
id: number;
|
|
17941
18127
|
};
|
|
18128
|
+
cookie?: never;
|
|
17942
18129
|
};
|
|
18130
|
+
requestBody?: never;
|
|
17943
18131
|
responses: {
|
|
17944
|
-
/** @description The
|
|
18132
|
+
/** @description The run's shards. */
|
|
17945
18133
|
200: {
|
|
17946
18134
|
headers: {
|
|
17947
18135
|
[name: string]: unknown;
|
|
17948
18136
|
};
|
|
17949
18137
|
content: {
|
|
17950
|
-
"application/json": components["schemas"]["
|
|
18138
|
+
"application/json": components["schemas"]["TestRunShardsResponse"];
|
|
17951
18139
|
};
|
|
17952
18140
|
};
|
|
17953
|
-
/** @description Invalid
|
|
18141
|
+
/** @description Invalid database test run ID. */
|
|
17954
18142
|
400: {
|
|
17955
18143
|
headers: {
|
|
17956
18144
|
[name: string]: unknown;
|
|
@@ -17959,7 +18147,7 @@ export interface operations {
|
|
|
17959
18147
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
17960
18148
|
};
|
|
17961
18149
|
};
|
|
17962
|
-
/** @description Test run
|
|
18150
|
+
/** @description Test run not found. */
|
|
17963
18151
|
404: {
|
|
17964
18152
|
headers: {
|
|
17965
18153
|
[name: string]: unknown;
|
|
@@ -17970,7 +18158,7 @@ export interface operations {
|
|
|
17970
18158
|
};
|
|
17971
18159
|
};
|
|
17972
18160
|
};
|
|
17973
|
-
|
|
18161
|
+
getTestRunTestCaseDurations: {
|
|
17974
18162
|
parameters: {
|
|
17975
18163
|
query?: never;
|
|
17976
18164
|
header?: never;
|
|
@@ -17982,13 +18170,13 @@ export interface operations {
|
|
|
17982
18170
|
};
|
|
17983
18171
|
requestBody?: never;
|
|
17984
18172
|
responses: {
|
|
17985
|
-
/** @description The
|
|
18173
|
+
/** @description The project's test-case duration history. */
|
|
17986
18174
|
200: {
|
|
17987
18175
|
headers: {
|
|
17988
18176
|
[name: string]: unknown;
|
|
17989
18177
|
};
|
|
17990
18178
|
content: {
|
|
17991
|
-
"application/json": components["schemas"]["
|
|
18179
|
+
"application/json": components["schemas"]["TestRunTestCaseDurationsResponse"];
|
|
17992
18180
|
};
|
|
17993
18181
|
};
|
|
17994
18182
|
/** @description Test run not found. */
|
|
@@ -18000,30 +18188,43 @@ export interface operations {
|
|
|
18000
18188
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
18001
18189
|
};
|
|
18002
18190
|
};
|
|
18191
|
+
/** @description Analytics is unavailable. */
|
|
18192
|
+
503: {
|
|
18193
|
+
headers: {
|
|
18194
|
+
[name: string]: unknown;
|
|
18195
|
+
};
|
|
18196
|
+
content: {
|
|
18197
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18198
|
+
};
|
|
18199
|
+
};
|
|
18003
18200
|
};
|
|
18004
18201
|
};
|
|
18005
|
-
|
|
18202
|
+
updateTestRunEcsTask: {
|
|
18006
18203
|
parameters: {
|
|
18007
18204
|
query?: never;
|
|
18008
18205
|
header?: never;
|
|
18009
18206
|
path: {
|
|
18010
|
-
/** @description
|
|
18207
|
+
/** @description External run_id of the test run. */
|
|
18011
18208
|
id: number;
|
|
18012
18209
|
};
|
|
18013
18210
|
cookie?: never;
|
|
18014
18211
|
};
|
|
18015
|
-
requestBody?:
|
|
18212
|
+
requestBody?: {
|
|
18213
|
+
content: {
|
|
18214
|
+
"application/json": components["schemas"]["UpdateEcsTaskIdRequest"];
|
|
18215
|
+
};
|
|
18216
|
+
};
|
|
18016
18217
|
responses: {
|
|
18017
|
-
/** @description The
|
|
18218
|
+
/** @description The task id was recorded. */
|
|
18018
18219
|
200: {
|
|
18019
18220
|
headers: {
|
|
18020
18221
|
[name: string]: unknown;
|
|
18021
18222
|
};
|
|
18022
18223
|
content: {
|
|
18023
|
-
"application/json": components["schemas"]["
|
|
18224
|
+
"application/json": components["schemas"]["UpdateEcsTaskResponse"];
|
|
18024
18225
|
};
|
|
18025
18226
|
};
|
|
18026
|
-
/** @description Invalid
|
|
18227
|
+
/** @description Invalid request. */
|
|
18027
18228
|
400: {
|
|
18028
18229
|
headers: {
|
|
18029
18230
|
[name: string]: unknown;
|
|
@@ -18032,7 +18233,7 @@ export interface operations {
|
|
|
18032
18233
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
18033
18234
|
};
|
|
18034
18235
|
};
|
|
18035
|
-
/** @description Test run not found. */
|
|
18236
|
+
/** @description Test run or shard not found. */
|
|
18036
18237
|
404: {
|
|
18037
18238
|
headers: {
|
|
18038
18239
|
[name: string]: unknown;
|
|
@@ -18043,22 +18244,41 @@ export interface operations {
|
|
|
18043
18244
|
};
|
|
18044
18245
|
};
|
|
18045
18246
|
};
|
|
18046
|
-
|
|
18247
|
+
getTestRunEnvironmentVariables: {
|
|
18047
18248
|
parameters: {
|
|
18048
|
-
query?:
|
|
18049
|
-
|
|
18050
|
-
|
|
18051
|
-
/** @description
|
|
18052
|
-
|
|
18053
|
-
|
|
18054
|
-
|
|
18055
|
-
|
|
18056
|
-
|
|
18057
|
-
|
|
18058
|
-
|
|
18059
|
-
|
|
18060
|
-
|
|
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
|
+
};
|
|
18268
|
+
/** @description Test run not found. */
|
|
18269
|
+
404: {
|
|
18270
|
+
headers: {
|
|
18271
|
+
[name: string]: unknown;
|
|
18272
|
+
};
|
|
18273
|
+
content: {
|
|
18274
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18275
|
+
};
|
|
18061
18276
|
};
|
|
18277
|
+
};
|
|
18278
|
+
};
|
|
18279
|
+
getTestRunLinkedChanges: {
|
|
18280
|
+
parameters: {
|
|
18281
|
+
query?: never;
|
|
18062
18282
|
header?: never;
|
|
18063
18283
|
path: {
|
|
18064
18284
|
/** @description Test run database ID. */
|
|
@@ -18068,16 +18288,16 @@ export interface operations {
|
|
|
18068
18288
|
};
|
|
18069
18289
|
requestBody?: never;
|
|
18070
18290
|
responses: {
|
|
18071
|
-
/** @description The
|
|
18291
|
+
/** @description The run's linked test changes. */
|
|
18072
18292
|
200: {
|
|
18073
18293
|
headers: {
|
|
18074
18294
|
[name: string]: unknown;
|
|
18075
18295
|
};
|
|
18076
18296
|
content: {
|
|
18077
|
-
"application/json": components["schemas"]["
|
|
18297
|
+
"application/json": components["schemas"]["TestRunLinkedChangesResponse"];
|
|
18078
18298
|
};
|
|
18079
18299
|
};
|
|
18080
|
-
/** @description
|
|
18300
|
+
/** @description Invalid database test run ID. */
|
|
18081
18301
|
400: {
|
|
18082
18302
|
headers: {
|
|
18083
18303
|
[name: string]: unknown;
|
|
@@ -18260,47 +18480,6 @@ export interface operations {
|
|
|
18260
18480
|
};
|
|
18261
18481
|
};
|
|
18262
18482
|
};
|
|
18263
|
-
listTestRunShards: {
|
|
18264
|
-
parameters: {
|
|
18265
|
-
query?: never;
|
|
18266
|
-
header?: never;
|
|
18267
|
-
path: {
|
|
18268
|
-
/** @description Test run database ID. */
|
|
18269
|
-
id: number;
|
|
18270
|
-
};
|
|
18271
|
-
cookie?: never;
|
|
18272
|
-
};
|
|
18273
|
-
requestBody?: never;
|
|
18274
|
-
responses: {
|
|
18275
|
-
/** @description The run's shards. */
|
|
18276
|
-
200: {
|
|
18277
|
-
headers: {
|
|
18278
|
-
[name: string]: unknown;
|
|
18279
|
-
};
|
|
18280
|
-
content: {
|
|
18281
|
-
"application/json": components["schemas"]["TestRunShardsResponse"];
|
|
18282
|
-
};
|
|
18283
|
-
};
|
|
18284
|
-
/** @description Invalid database test run ID. */
|
|
18285
|
-
400: {
|
|
18286
|
-
headers: {
|
|
18287
|
-
[name: string]: unknown;
|
|
18288
|
-
};
|
|
18289
|
-
content: {
|
|
18290
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
18291
|
-
};
|
|
18292
|
-
};
|
|
18293
|
-
/** @description Test run not found. */
|
|
18294
|
-
404: {
|
|
18295
|
-
headers: {
|
|
18296
|
-
[name: string]: unknown;
|
|
18297
|
-
};
|
|
18298
|
-
content: {
|
|
18299
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
18300
|
-
};
|
|
18301
|
-
};
|
|
18302
|
-
};
|
|
18303
|
-
};
|
|
18304
18483
|
getTestRunShardAssignedTests: {
|
|
18305
18484
|
parameters: {
|
|
18306
18485
|
query?: never;
|
|
@@ -18507,47 +18686,6 @@ export interface operations {
|
|
|
18507
18686
|
};
|
|
18508
18687
|
};
|
|
18509
18688
|
};
|
|
18510
|
-
getTestRunTestCaseDurations: {
|
|
18511
|
-
parameters: {
|
|
18512
|
-
query?: never;
|
|
18513
|
-
header?: never;
|
|
18514
|
-
path: {
|
|
18515
|
-
/** @description External run_id of the test run. */
|
|
18516
|
-
id: number;
|
|
18517
|
-
};
|
|
18518
|
-
cookie?: never;
|
|
18519
|
-
};
|
|
18520
|
-
requestBody?: never;
|
|
18521
|
-
responses: {
|
|
18522
|
-
/** @description The project's test-case duration history. */
|
|
18523
|
-
200: {
|
|
18524
|
-
headers: {
|
|
18525
|
-
[name: string]: unknown;
|
|
18526
|
-
};
|
|
18527
|
-
content: {
|
|
18528
|
-
"application/json": components["schemas"]["TestRunTestCaseDurationsResponse"];
|
|
18529
|
-
};
|
|
18530
|
-
};
|
|
18531
|
-
/** @description Test run not found. */
|
|
18532
|
-
404: {
|
|
18533
|
-
headers: {
|
|
18534
|
-
[name: string]: unknown;
|
|
18535
|
-
};
|
|
18536
|
-
content: {
|
|
18537
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
18538
|
-
};
|
|
18539
|
-
};
|
|
18540
|
-
/** @description Analytics is unavailable. */
|
|
18541
|
-
503: {
|
|
18542
|
-
headers: {
|
|
18543
|
-
[name: string]: unknown;
|
|
18544
|
-
};
|
|
18545
|
-
content: {
|
|
18546
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
18547
|
-
};
|
|
18548
|
-
};
|
|
18549
|
-
};
|
|
18550
|
-
};
|
|
18551
18689
|
triggerTestRunMerge: {
|
|
18552
18690
|
parameters: {
|
|
18553
18691
|
query?: never;
|
|
@@ -21860,6 +21998,8 @@ export interface operations {
|
|
|
21860
21998
|
per_page?: number;
|
|
21861
21999
|
/** @description Only files created by this chat session. */
|
|
21862
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;
|
|
21863
22003
|
};
|
|
21864
22004
|
header?: never;
|
|
21865
22005
|
path?: never;
|
|
@@ -22006,6 +22146,60 @@ export interface operations {
|
|
|
22006
22146
|
};
|
|
22007
22147
|
};
|
|
22008
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
|
+
};
|
|
22009
22203
|
listInboxes: {
|
|
22010
22204
|
parameters: {
|
|
22011
22205
|
query?: never;
|
|
@@ -23406,6 +23600,15 @@ export interface operations {
|
|
|
23406
23600
|
"application/json": components["schemas"]["GithubProxyError"];
|
|
23407
23601
|
};
|
|
23408
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
|
+
};
|
|
23409
23612
|
/** @description Any other GitHub upstream status is forwarded verbatim with an `{ error }` body. */
|
|
23410
23613
|
502: {
|
|
23411
23614
|
headers: {
|
|
@@ -23583,6 +23786,126 @@ export interface operations {
|
|
|
23583
23786
|
};
|
|
23584
23787
|
};
|
|
23585
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
|
+
};
|
|
23586
23909
|
initializeProjectRepo: {
|
|
23587
23910
|
parameters: {
|
|
23588
23911
|
query?: never;
|
|
@@ -24145,135 +24468,6 @@ export interface operations {
|
|
|
24145
24468
|
};
|
|
24146
24469
|
};
|
|
24147
24470
|
};
|
|
24148
|
-
compareTraceAgainstPass: {
|
|
24149
|
-
parameters: {
|
|
24150
|
-
query?: never;
|
|
24151
|
-
header?: never;
|
|
24152
|
-
path?: never;
|
|
24153
|
-
cookie?: never;
|
|
24154
|
-
};
|
|
24155
|
-
requestBody?: {
|
|
24156
|
-
content: {
|
|
24157
|
-
"application/json": {
|
|
24158
|
-
/** @description Run holding the failed case. */
|
|
24159
|
-
test_run_id: number;
|
|
24160
|
-
/** @description Test case ID (Playwright test id) to compare. Required. */
|
|
24161
|
-
test_case_id?: string;
|
|
24162
|
-
/**
|
|
24163
|
-
* @deprecated
|
|
24164
|
-
* @description Deprecated alias of `test_case_id`.
|
|
24165
|
-
*/
|
|
24166
|
-
pw_test_id?: string;
|
|
24167
|
-
/** @description Failed attempt to compare (retry_details.retries[].retryIndex). Default: the last failed attempt with a trace. */
|
|
24168
|
-
retry?: number;
|
|
24169
|
-
/** @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). */
|
|
24170
|
-
baseline?: {
|
|
24171
|
-
test_run_id: number;
|
|
24172
|
-
retry?: number;
|
|
24173
|
-
};
|
|
24174
|
-
/** @description Include the page as each side left the focus step (base64). Default false. */
|
|
24175
|
-
screenshots?: boolean;
|
|
24176
|
-
};
|
|
24177
|
-
};
|
|
24178
|
-
};
|
|
24179
|
-
responses: {
|
|
24180
|
-
/** @description The comparison. */
|
|
24181
|
-
200: {
|
|
24182
|
-
headers: {
|
|
24183
|
-
[name: string]: unknown;
|
|
24184
|
-
};
|
|
24185
|
-
content: {
|
|
24186
|
-
"application/json": {
|
|
24187
|
-
/** @description Response payload. */
|
|
24188
|
-
data: {
|
|
24189
|
-
failure: {
|
|
24190
|
-
test_run_id: number;
|
|
24191
|
-
retry: number;
|
|
24192
|
-
file: string;
|
|
24193
|
-
};
|
|
24194
|
-
baseline: {
|
|
24195
|
-
test_run_id: number;
|
|
24196
|
-
retry: number;
|
|
24197
|
-
file: string;
|
|
24198
|
-
/** @enum {string} */
|
|
24199
|
-
source: "requested" | "same_run" | "same_environment" | "other_environment";
|
|
24200
|
-
environment_id: number | null;
|
|
24201
|
-
} | null;
|
|
24202
|
-
/** @description Other recent passes, newest first. */
|
|
24203
|
-
other_baselines: {
|
|
24204
|
-
test_run_id: number;
|
|
24205
|
-
environment_id: number | null;
|
|
24206
|
-
}[];
|
|
24207
|
-
/** @description The deepest step where the failed attempt stopped, else where it first diverged; null when the steps match. */
|
|
24208
|
-
focus: {
|
|
24209
|
-
/** @description Step position, nested steps dotted ("4.2"). */
|
|
24210
|
-
index: string;
|
|
24211
|
-
/**
|
|
24212
|
-
* @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.
|
|
24213
|
-
* @enum {string}
|
|
24214
|
-
*/
|
|
24215
|
-
kind: "matched" | "failed" | "extra" | "missing" | "not-reached";
|
|
24216
|
-
title: string;
|
|
24217
|
-
location: string | null;
|
|
24218
|
-
pass_ms: number | null;
|
|
24219
|
-
fail_ms: number | null;
|
|
24220
|
-
error: string | null;
|
|
24221
|
-
/** @description At least 2x and 1s slower than in the passing attempt. */
|
|
24222
|
-
slower: boolean;
|
|
24223
|
-
} | null;
|
|
24224
|
-
/** @description Aligned top-level steps, plus the nested steps on the path to the focus step. */
|
|
24225
|
-
rows: {
|
|
24226
|
-
/** @description Step position, nested steps dotted ("4.2"). */
|
|
24227
|
-
index: string;
|
|
24228
|
-
/**
|
|
24229
|
-
* @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.
|
|
24230
|
-
* @enum {string}
|
|
24231
|
-
*/
|
|
24232
|
-
kind: "matched" | "failed" | "extra" | "missing" | "not-reached";
|
|
24233
|
-
title: string;
|
|
24234
|
-
location: string | null;
|
|
24235
|
-
pass_ms: number | null;
|
|
24236
|
-
fail_ms: number | null;
|
|
24237
|
-
error: string | null;
|
|
24238
|
-
/** @description At least 2x and 1s slower than in the passing attempt. */
|
|
24239
|
-
slower: boolean;
|
|
24240
|
-
}[];
|
|
24241
|
-
screenshots: {
|
|
24242
|
-
pass: {
|
|
24243
|
-
mime_type: string;
|
|
24244
|
-
base64: string;
|
|
24245
|
-
} | null;
|
|
24246
|
-
fail: {
|
|
24247
|
-
mime_type: string;
|
|
24248
|
-
base64: string;
|
|
24249
|
-
} | null;
|
|
24250
|
-
} | null;
|
|
24251
|
-
/** @description Why there is no comparison (e.g. no passing attempt). */
|
|
24252
|
-
note: string | null;
|
|
24253
|
-
};
|
|
24254
|
-
};
|
|
24255
|
-
};
|
|
24256
|
-
};
|
|
24257
|
-
/** @description Test run, case, or trace not found. */
|
|
24258
|
-
404: {
|
|
24259
|
-
headers: {
|
|
24260
|
-
[name: string]: unknown;
|
|
24261
|
-
};
|
|
24262
|
-
content: {
|
|
24263
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
24264
|
-
};
|
|
24265
|
-
};
|
|
24266
|
-
/** @description Reading a trace failed. */
|
|
24267
|
-
422: {
|
|
24268
|
-
headers: {
|
|
24269
|
-
[name: string]: unknown;
|
|
24270
|
-
};
|
|
24271
|
-
content: {
|
|
24272
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
24273
|
-
};
|
|
24274
|
-
};
|
|
24275
|
-
};
|
|
24276
|
-
};
|
|
24277
24471
|
queryTrace: {
|
|
24278
24472
|
parameters: {
|
|
24279
24473
|
query?: never;
|
|
@@ -25220,7 +25414,11 @@ export interface operations {
|
|
|
25220
25414
|
path?: never;
|
|
25221
25415
|
cookie?: never;
|
|
25222
25416
|
};
|
|
25223
|
-
requestBody
|
|
25417
|
+
requestBody: {
|
|
25418
|
+
content: {
|
|
25419
|
+
"application/json": components["schemas"]["SubscriptionCheckoutRequest"];
|
|
25420
|
+
};
|
|
25421
|
+
};
|
|
25224
25422
|
responses: {
|
|
25225
25423
|
/** @description The checkout. */
|
|
25226
25424
|
200: {
|
|
@@ -25231,7 +25429,7 @@ export interface operations {
|
|
|
25231
25429
|
"application/json": components["schemas"]["SubscriptionCheckoutResponse"];
|
|
25232
25430
|
};
|
|
25233
25431
|
};
|
|
25234
|
-
/** @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. */
|
|
25235
25433
|
400: {
|
|
25236
25434
|
headers: {
|
|
25237
25435
|
[name: string]: unknown;
|
|
@@ -25249,7 +25447,7 @@ export interface operations {
|
|
|
25249
25447
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
25250
25448
|
};
|
|
25251
25449
|
};
|
|
25252
|
-
/** @description The org
|
|
25450
|
+
/** @description The org has an open-ended plan or a live subscription. */
|
|
25253
25451
|
409: {
|
|
25254
25452
|
headers: {
|
|
25255
25453
|
[name: string]: unknown;
|
|
@@ -25642,6 +25840,10 @@ export interface operations {
|
|
|
25642
25840
|
"application/json": {
|
|
25643
25841
|
title?: string;
|
|
25644
25842
|
model?: string;
|
|
25843
|
+
/**
|
|
25844
|
+
* @deprecated
|
|
25845
|
+
* @description Ignored. Sandboxes save impacted tests per commit with PUT /api/chat-sessions/{id}/impacted-tests.
|
|
25846
|
+
*/
|
|
25645
25847
|
impacted_tests?: unknown;
|
|
25646
25848
|
};
|
|
25647
25849
|
};
|
|
@@ -28888,7 +29090,7 @@ export interface operations {
|
|
|
28888
29090
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
28889
29091
|
};
|
|
28890
29092
|
};
|
|
28891
|
-
/** @description GitHub is still computing mergeability. */
|
|
29093
|
+
/** @description GitHub is still computing mergeability, or the PR is behind its base branch. */
|
|
28892
29094
|
409: {
|
|
28893
29095
|
headers: {
|
|
28894
29096
|
[name: string]: unknown;
|
|
@@ -29537,6 +29739,59 @@ export interface operations {
|
|
|
29537
29739
|
};
|
|
29538
29740
|
};
|
|
29539
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
|
+
};
|
|
29540
29795
|
proxyInbox: {
|
|
29541
29796
|
parameters: {
|
|
29542
29797
|
query?: never;
|
|
@@ -30916,6 +31171,15 @@ export interface operations {
|
|
|
30916
31171
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
30917
31172
|
};
|
|
30918
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
|
+
};
|
|
30919
31183
|
/** @description No matching install or project. */
|
|
30920
31184
|
404: {
|
|
30921
31185
|
headers: {
|
|
@@ -32019,11 +32283,95 @@ export interface operations {
|
|
|
32019
32283
|
};
|
|
32020
32284
|
};
|
|
32021
32285
|
};
|
|
32022
|
-
listMemoryHistory: {
|
|
32286
|
+
listMemoryHistory: {
|
|
32287
|
+
parameters: {
|
|
32288
|
+
query?: {
|
|
32289
|
+
/** @description How many of the most recent commits to return. */
|
|
32290
|
+
commits?: number;
|
|
32291
|
+
};
|
|
32292
|
+
header?: never;
|
|
32293
|
+
path?: never;
|
|
32294
|
+
cookie?: never;
|
|
32295
|
+
};
|
|
32296
|
+
requestBody?: never;
|
|
32297
|
+
responses: {
|
|
32298
|
+
/** @description Recent memory history. */
|
|
32299
|
+
200: {
|
|
32300
|
+
headers: {
|
|
32301
|
+
[name: string]: unknown;
|
|
32302
|
+
};
|
|
32303
|
+
content: {
|
|
32304
|
+
"application/json": components["schemas"]["MemoryHistoryResponse"];
|
|
32305
|
+
};
|
|
32306
|
+
};
|
|
32307
|
+
/** @description Invalid request or missing project scope. */
|
|
32308
|
+
400: {
|
|
32309
|
+
headers: {
|
|
32310
|
+
[name: string]: unknown;
|
|
32311
|
+
};
|
|
32312
|
+
content: {
|
|
32313
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32314
|
+
};
|
|
32315
|
+
};
|
|
32316
|
+
/** @description Project not found or not accessible. */
|
|
32317
|
+
404: {
|
|
32318
|
+
headers: {
|
|
32319
|
+
[name: string]: unknown;
|
|
32320
|
+
};
|
|
32321
|
+
content: {
|
|
32322
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32323
|
+
};
|
|
32324
|
+
};
|
|
32325
|
+
};
|
|
32326
|
+
};
|
|
32327
|
+
getMemoryUsage: {
|
|
32328
|
+
parameters: {
|
|
32329
|
+
query?: {
|
|
32330
|
+
/** @description Window in days back from now. Defaults to 7. */
|
|
32331
|
+
days?: number;
|
|
32332
|
+
/** @description Rows per list, up to 500. Defaults to 10. */
|
|
32333
|
+
limit?: number;
|
|
32334
|
+
};
|
|
32335
|
+
header?: never;
|
|
32336
|
+
path?: never;
|
|
32337
|
+
cookie?: never;
|
|
32338
|
+
};
|
|
32339
|
+
requestBody?: never;
|
|
32340
|
+
responses: {
|
|
32341
|
+
/** @description Memory usage. */
|
|
32342
|
+
200: {
|
|
32343
|
+
headers: {
|
|
32344
|
+
[name: string]: unknown;
|
|
32345
|
+
};
|
|
32346
|
+
content: {
|
|
32347
|
+
"application/json": components["schemas"]["MemoryUsageResponse"];
|
|
32348
|
+
};
|
|
32349
|
+
};
|
|
32350
|
+
/** @description Invalid request or missing project scope. */
|
|
32351
|
+
400: {
|
|
32352
|
+
headers: {
|
|
32353
|
+
[name: string]: unknown;
|
|
32354
|
+
};
|
|
32355
|
+
content: {
|
|
32356
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32357
|
+
};
|
|
32358
|
+
};
|
|
32359
|
+
/** @description Project not found or not accessible. */
|
|
32360
|
+
404: {
|
|
32361
|
+
headers: {
|
|
32362
|
+
[name: string]: unknown;
|
|
32363
|
+
};
|
|
32364
|
+
content: {
|
|
32365
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32366
|
+
};
|
|
32367
|
+
};
|
|
32368
|
+
};
|
|
32369
|
+
};
|
|
32370
|
+
listNotifications: {
|
|
32023
32371
|
parameters: {
|
|
32024
32372
|
query?: {
|
|
32025
|
-
/** @description
|
|
32026
|
-
|
|
32373
|
+
/** @description Maximum read notifications to return. Default 20. */
|
|
32374
|
+
read_limit?: number;
|
|
32027
32375
|
};
|
|
32028
32376
|
header?: never;
|
|
32029
32377
|
path?: never;
|
|
@@ -32031,17 +32379,17 @@ export interface operations {
|
|
|
32031
32379
|
};
|
|
32032
32380
|
requestBody?: never;
|
|
32033
32381
|
responses: {
|
|
32034
|
-
/** @description
|
|
32382
|
+
/** @description The user's notifications. */
|
|
32035
32383
|
200: {
|
|
32036
32384
|
headers: {
|
|
32037
32385
|
[name: string]: unknown;
|
|
32038
32386
|
};
|
|
32039
32387
|
content: {
|
|
32040
|
-
"application/json": components["schemas"]["
|
|
32388
|
+
"application/json": components["schemas"]["NotificationListResponse"];
|
|
32041
32389
|
};
|
|
32042
32390
|
};
|
|
32043
|
-
/** @description
|
|
32044
|
-
|
|
32391
|
+
/** @description Only signed-in users have notifications. */
|
|
32392
|
+
403: {
|
|
32045
32393
|
headers: {
|
|
32046
32394
|
[name: string]: unknown;
|
|
32047
32395
|
};
|
|
@@ -32049,7 +32397,39 @@ export interface operations {
|
|
|
32049
32397
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
32050
32398
|
};
|
|
32051
32399
|
};
|
|
32052
|
-
|
|
32400
|
+
};
|
|
32401
|
+
};
|
|
32402
|
+
markNotificationRead: {
|
|
32403
|
+
parameters: {
|
|
32404
|
+
query?: never;
|
|
32405
|
+
header?: never;
|
|
32406
|
+
path: {
|
|
32407
|
+
/** @description Notification ID. */
|
|
32408
|
+
id: number;
|
|
32409
|
+
};
|
|
32410
|
+
cookie?: never;
|
|
32411
|
+
};
|
|
32412
|
+
requestBody?: never;
|
|
32413
|
+
responses: {
|
|
32414
|
+
/** @description The notification's read time. */
|
|
32415
|
+
200: {
|
|
32416
|
+
headers: {
|
|
32417
|
+
[name: string]: unknown;
|
|
32418
|
+
};
|
|
32419
|
+
content: {
|
|
32420
|
+
"application/json": components["schemas"]["NotificationReadResponse"];
|
|
32421
|
+
};
|
|
32422
|
+
};
|
|
32423
|
+
/** @description Only signed-in users have notifications. */
|
|
32424
|
+
403: {
|
|
32425
|
+
headers: {
|
|
32426
|
+
[name: string]: unknown;
|
|
32427
|
+
};
|
|
32428
|
+
content: {
|
|
32429
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32430
|
+
};
|
|
32431
|
+
};
|
|
32432
|
+
/** @description Notification not found. */
|
|
32053
32433
|
404: {
|
|
32054
32434
|
headers: {
|
|
32055
32435
|
[name: string]: unknown;
|
|
@@ -32060,31 +32440,30 @@ export interface operations {
|
|
|
32060
32440
|
};
|
|
32061
32441
|
};
|
|
32062
32442
|
};
|
|
32063
|
-
|
|
32443
|
+
createDummyNotification: {
|
|
32064
32444
|
parameters: {
|
|
32065
|
-
query?:
|
|
32066
|
-
/** @description Window in days back from now. Defaults to 7. */
|
|
32067
|
-
days?: number;
|
|
32068
|
-
/** @description Rows per list, up to 500. Defaults to 10. */
|
|
32069
|
-
limit?: number;
|
|
32070
|
-
};
|
|
32445
|
+
query?: never;
|
|
32071
32446
|
header?: never;
|
|
32072
32447
|
path?: never;
|
|
32073
32448
|
cookie?: never;
|
|
32074
32449
|
};
|
|
32075
|
-
requestBody?:
|
|
32450
|
+
requestBody?: {
|
|
32451
|
+
content: {
|
|
32452
|
+
"application/json": components["schemas"]["CreateDummyNotificationBody"];
|
|
32453
|
+
};
|
|
32454
|
+
};
|
|
32076
32455
|
responses: {
|
|
32077
|
-
/** @description
|
|
32078
|
-
|
|
32456
|
+
/** @description The created notification. */
|
|
32457
|
+
201: {
|
|
32079
32458
|
headers: {
|
|
32080
32459
|
[name: string]: unknown;
|
|
32081
32460
|
};
|
|
32082
32461
|
content: {
|
|
32083
|
-
"application/json": components["schemas"]["
|
|
32462
|
+
"application/json": components["schemas"]["DummyNotificationResponse"];
|
|
32084
32463
|
};
|
|
32085
32464
|
};
|
|
32086
|
-
/** @description
|
|
32087
|
-
|
|
32465
|
+
/** @description Only signed-in users have notifications. */
|
|
32466
|
+
403: {
|
|
32088
32467
|
headers: {
|
|
32089
32468
|
[name: string]: unknown;
|
|
32090
32469
|
};
|
|
@@ -32092,7 +32471,7 @@ export interface operations {
|
|
|
32092
32471
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
32093
32472
|
};
|
|
32094
32473
|
};
|
|
32095
|
-
/** @description
|
|
32474
|
+
/** @description Not available, or nothing to notify about. */
|
|
32096
32475
|
404: {
|
|
32097
32476
|
headers: {
|
|
32098
32477
|
[name: string]: unknown;
|
|
@@ -32103,25 +32482,22 @@ export interface operations {
|
|
|
32103
32482
|
};
|
|
32104
32483
|
};
|
|
32105
32484
|
};
|
|
32106
|
-
|
|
32485
|
+
markAllNotificationsRead: {
|
|
32107
32486
|
parameters: {
|
|
32108
|
-
query?:
|
|
32109
|
-
/** @description Maximum read notifications to return. Default 20. */
|
|
32110
|
-
read_limit?: number;
|
|
32111
|
-
};
|
|
32487
|
+
query?: never;
|
|
32112
32488
|
header?: never;
|
|
32113
32489
|
path?: never;
|
|
32114
32490
|
cookie?: never;
|
|
32115
32491
|
};
|
|
32116
32492
|
requestBody?: never;
|
|
32117
32493
|
responses: {
|
|
32118
|
-
/** @description
|
|
32494
|
+
/** @description How many notifications were marked read. */
|
|
32119
32495
|
200: {
|
|
32120
32496
|
headers: {
|
|
32121
32497
|
[name: string]: unknown;
|
|
32122
32498
|
};
|
|
32123
32499
|
content: {
|
|
32124
|
-
"application/json": components["schemas"]["
|
|
32500
|
+
"application/json": components["schemas"]["NotificationsReadAllResponse"];
|
|
32125
32501
|
};
|
|
32126
32502
|
};
|
|
32127
32503
|
/** @description Only signed-in users have notifications. */
|
|
@@ -32135,29 +32511,37 @@ export interface operations {
|
|
|
32135
32511
|
};
|
|
32136
32512
|
};
|
|
32137
32513
|
};
|
|
32138
|
-
|
|
32514
|
+
getOAuthAuthorization: {
|
|
32139
32515
|
parameters: {
|
|
32140
32516
|
query?: never;
|
|
32141
32517
|
header?: never;
|
|
32142
32518
|
path: {
|
|
32143
|
-
/** @description
|
|
32144
|
-
|
|
32519
|
+
/** @description Authorization ID from the consent page URL. */
|
|
32520
|
+
authorization_id: string;
|
|
32145
32521
|
};
|
|
32146
32522
|
cookie?: never;
|
|
32147
32523
|
};
|
|
32148
32524
|
requestBody?: never;
|
|
32149
32525
|
responses: {
|
|
32150
|
-
/** @description The
|
|
32526
|
+
/** @description The authorization. */
|
|
32151
32527
|
200: {
|
|
32152
32528
|
headers: {
|
|
32153
32529
|
[name: string]: unknown;
|
|
32154
32530
|
};
|
|
32155
32531
|
content: {
|
|
32156
|
-
"application/json":
|
|
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
|
+
};
|
|
32157
32541
|
};
|
|
32158
32542
|
};
|
|
32159
|
-
/** @description
|
|
32160
|
-
|
|
32543
|
+
/** @description Supabase rejected the request. */
|
|
32544
|
+
400: {
|
|
32161
32545
|
headers: {
|
|
32162
32546
|
[name: string]: unknown;
|
|
32163
32547
|
};
|
|
@@ -32165,7 +32549,7 @@ export interface operations {
|
|
|
32165
32549
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
32166
32550
|
};
|
|
32167
32551
|
};
|
|
32168
|
-
/** @description
|
|
32552
|
+
/** @description No such authorization, or it expired. */
|
|
32169
32553
|
404: {
|
|
32170
32554
|
headers: {
|
|
32171
32555
|
[name: string]: unknown;
|
|
@@ -32174,32 +32558,52 @@ export interface operations {
|
|
|
32174
32558
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
32175
32559
|
};
|
|
32176
32560
|
};
|
|
32561
|
+
/** @description Supabase failed. */
|
|
32562
|
+
502: {
|
|
32563
|
+
headers: {
|
|
32564
|
+
[name: string]: unknown;
|
|
32565
|
+
};
|
|
32566
|
+
content: {
|
|
32567
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
32568
|
+
};
|
|
32569
|
+
};
|
|
32177
32570
|
};
|
|
32178
32571
|
};
|
|
32179
|
-
|
|
32572
|
+
submitOAuthConsent: {
|
|
32180
32573
|
parameters: {
|
|
32181
32574
|
query?: never;
|
|
32182
32575
|
header?: never;
|
|
32183
|
-
path
|
|
32576
|
+
path: {
|
|
32577
|
+
/** @description Authorization ID from the consent page URL. */
|
|
32578
|
+
authorization_id: string;
|
|
32579
|
+
};
|
|
32184
32580
|
cookie?: never;
|
|
32185
32581
|
};
|
|
32186
32582
|
requestBody?: {
|
|
32187
32583
|
content: {
|
|
32188
|
-
"application/json":
|
|
32584
|
+
"application/json": {
|
|
32585
|
+
/** @enum {string} */
|
|
32586
|
+
action: "approve" | "deny";
|
|
32587
|
+
};
|
|
32189
32588
|
};
|
|
32190
32589
|
};
|
|
32191
32590
|
responses: {
|
|
32192
|
-
/** @description The
|
|
32193
|
-
|
|
32591
|
+
/** @description The app's redirect. */
|
|
32592
|
+
200: {
|
|
32194
32593
|
headers: {
|
|
32195
32594
|
[name: string]: unknown;
|
|
32196
32595
|
};
|
|
32197
32596
|
content: {
|
|
32198
|
-
"application/json":
|
|
32597
|
+
"application/json": {
|
|
32598
|
+
data: {
|
|
32599
|
+
/** @description Where to send the browser next. */
|
|
32600
|
+
redirect_url: string;
|
|
32601
|
+
};
|
|
32602
|
+
};
|
|
32199
32603
|
};
|
|
32200
32604
|
};
|
|
32201
|
-
/** @description
|
|
32202
|
-
|
|
32605
|
+
/** @description Supabase rejected the request. */
|
|
32606
|
+
400: {
|
|
32203
32607
|
headers: {
|
|
32204
32608
|
[name: string]: unknown;
|
|
32205
32609
|
};
|
|
@@ -32207,7 +32611,7 @@ export interface operations {
|
|
|
32207
32611
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
32208
32612
|
};
|
|
32209
32613
|
};
|
|
32210
|
-
/** @description
|
|
32614
|
+
/** @description No such authorization, or it expired. */
|
|
32211
32615
|
404: {
|
|
32212
32616
|
headers: {
|
|
32213
32617
|
[name: string]: unknown;
|
|
@@ -32216,28 +32620,8 @@ export interface operations {
|
|
|
32216
32620
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
32217
32621
|
};
|
|
32218
32622
|
};
|
|
32219
|
-
|
|
32220
|
-
|
|
32221
|
-
markAllNotificationsRead: {
|
|
32222
|
-
parameters: {
|
|
32223
|
-
query?: never;
|
|
32224
|
-
header?: never;
|
|
32225
|
-
path?: never;
|
|
32226
|
-
cookie?: never;
|
|
32227
|
-
};
|
|
32228
|
-
requestBody?: never;
|
|
32229
|
-
responses: {
|
|
32230
|
-
/** @description How many notifications were marked read. */
|
|
32231
|
-
200: {
|
|
32232
|
-
headers: {
|
|
32233
|
-
[name: string]: unknown;
|
|
32234
|
-
};
|
|
32235
|
-
content: {
|
|
32236
|
-
"application/json": components["schemas"]["NotificationsReadAllResponse"];
|
|
32237
|
-
};
|
|
32238
|
-
};
|
|
32239
|
-
/** @description Only signed-in users have notifications. */
|
|
32240
|
-
403: {
|
|
32623
|
+
/** @description Supabase failed. */
|
|
32624
|
+
502: {
|
|
32241
32625
|
headers: {
|
|
32242
32626
|
[name: string]: unknown;
|
|
32243
32627
|
};
|
|
@@ -33782,122 +34166,6 @@ export interface operations {
|
|
|
33782
34166
|
};
|
|
33783
34167
|
};
|
|
33784
34168
|
};
|
|
33785
|
-
getProject: {
|
|
33786
|
-
parameters: {
|
|
33787
|
-
query?: never;
|
|
33788
|
-
header?: never;
|
|
33789
|
-
path: {
|
|
33790
|
-
/** @description Project ID. */
|
|
33791
|
-
id: number;
|
|
33792
|
-
};
|
|
33793
|
-
cookie?: never;
|
|
33794
|
-
};
|
|
33795
|
-
requestBody?: never;
|
|
33796
|
-
responses: {
|
|
33797
|
-
/** @description The project. */
|
|
33798
|
-
200: {
|
|
33799
|
-
headers: {
|
|
33800
|
-
[name: string]: unknown;
|
|
33801
|
-
};
|
|
33802
|
-
content: {
|
|
33803
|
-
"application/json": components["schemas"]["ProjectResponse"];
|
|
33804
|
-
};
|
|
33805
|
-
};
|
|
33806
|
-
/** @description Forbidden. */
|
|
33807
|
-
403: {
|
|
33808
|
-
headers: {
|
|
33809
|
-
[name: string]: unknown;
|
|
33810
|
-
};
|
|
33811
|
-
content: {
|
|
33812
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
33813
|
-
};
|
|
33814
|
-
};
|
|
33815
|
-
/** @description Project not found. */
|
|
33816
|
-
404: {
|
|
33817
|
-
headers: {
|
|
33818
|
-
[name: string]: unknown;
|
|
33819
|
-
};
|
|
33820
|
-
content: {
|
|
33821
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
33822
|
-
};
|
|
33823
|
-
};
|
|
33824
|
-
};
|
|
33825
|
-
};
|
|
33826
|
-
updateProject: {
|
|
33827
|
-
parameters: {
|
|
33828
|
-
query?: never;
|
|
33829
|
-
header?: never;
|
|
33830
|
-
path: {
|
|
33831
|
-
/** @description Project ID. */
|
|
33832
|
-
id: number;
|
|
33833
|
-
};
|
|
33834
|
-
cookie?: never;
|
|
33835
|
-
};
|
|
33836
|
-
requestBody?: {
|
|
33837
|
-
content: {
|
|
33838
|
-
"application/json": {
|
|
33839
|
-
name?: string;
|
|
33840
|
-
default_branch?: string;
|
|
33841
|
-
protected_branches?: string[];
|
|
33842
|
-
/**
|
|
33843
|
-
* @deprecated
|
|
33844
|
-
* @description Read-only. Set `concurrency` on the trigger request or `scheduled_concurrency` on the environment instead.
|
|
33845
|
-
* @enum {string}
|
|
33846
|
-
*/
|
|
33847
|
-
test_run_concurrency_limit?: "none" | "project" | "environment" | "branch_environment";
|
|
33848
|
-
/**
|
|
33849
|
-
* @deprecated
|
|
33850
|
-
* @description Read-only. Set `concurrency` on the trigger request or `scheduled_concurrency` on the environment instead.
|
|
33851
|
-
* @enum {string}
|
|
33852
|
-
*/
|
|
33853
|
-
test_run_concurrency_behavior?: "cancel_previous" | "queue_new";
|
|
33854
|
-
/** @enum {string} */
|
|
33855
|
-
test_run_region?: "us-east-1" | "ap-south-1";
|
|
33856
|
-
test_run_shards?: number | null;
|
|
33857
|
-
profile_icon_url?: string | null;
|
|
33858
|
-
is_active?: boolean;
|
|
33859
|
-
};
|
|
33860
|
-
};
|
|
33861
|
-
};
|
|
33862
|
-
responses: {
|
|
33863
|
-
/** @description The updated project. */
|
|
33864
|
-
200: {
|
|
33865
|
-
headers: {
|
|
33866
|
-
[name: string]: unknown;
|
|
33867
|
-
};
|
|
33868
|
-
content: {
|
|
33869
|
-
"application/json": components["schemas"]["PatchProjectResponse"];
|
|
33870
|
-
};
|
|
33871
|
-
};
|
|
33872
|
-
/** @description No valid fields to update. */
|
|
33873
|
-
400: {
|
|
33874
|
-
headers: {
|
|
33875
|
-
[name: string]: unknown;
|
|
33876
|
-
};
|
|
33877
|
-
content: {
|
|
33878
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
33879
|
-
};
|
|
33880
|
-
};
|
|
33881
|
-
/** @description Forbidden. */
|
|
33882
|
-
403: {
|
|
33883
|
-
headers: {
|
|
33884
|
-
[name: string]: unknown;
|
|
33885
|
-
};
|
|
33886
|
-
content: {
|
|
33887
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
33888
|
-
};
|
|
33889
|
-
};
|
|
33890
|
-
/** @description Project not found. */
|
|
33891
|
-
404: {
|
|
33892
|
-
headers: {
|
|
33893
|
-
[name: string]: unknown;
|
|
33894
|
-
};
|
|
33895
|
-
content: {
|
|
33896
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
33897
|
-
};
|
|
33898
|
-
};
|
|
33899
|
-
};
|
|
33900
|
-
};
|
|
33901
34169
|
listProjectBlocks: {
|
|
33902
34170
|
parameters: {
|
|
33903
34171
|
query?: never;
|