@empiricalrun/playwright-utils 0.70.3 → 0.71.1

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/api-worker-client.d.ts +5 -1
  3. package/dist/api-worker-client.d.ts.map +1 -1
  4. package/dist/api-worker-client.js +15 -0
  5. package/dist/generated/api-worker-openapi.d.ts +609 -383
  6. package/dist/generated/api-worker-openapi.d.ts.map +1 -1
  7. package/dist/overlay-test-expectations.d.ts +10 -0
  8. package/dist/overlay-test-expectations.d.ts.map +1 -0
  9. package/dist/overlay-test-expectations.js +51 -0
  10. package/dist/overlay-tests/click.spec.js +26 -94
  11. package/dist/overlay-tests/dropdown.spec.js +10 -9
  12. package/dist/overlay-tests/fixtures.d.ts +1 -0
  13. package/dist/overlay-tests/fixtures.d.ts.map +1 -1
  14. package/dist/overlay-tests/fixtures.js +24 -0
  15. package/dist/overlay-tests/visual.spec.js +1 -11
  16. package/dist/test/cross-shard-locks.d.ts +1 -1
  17. package/dist/test/cross-shard-locks.d.ts.map +1 -1
  18. package/dist/test/cross-shard-locks.js +71 -25
  19. package/dist/test/index.d.ts +1 -0
  20. package/dist/test/index.d.ts.map +1 -1
  21. package/dist/test/index.js +10 -0
  22. package/dist/test/locator-handler-log.spec.d.ts +2 -0
  23. package/dist/test/locator-handler-log.spec.d.ts.map +1 -0
  24. package/dist/test/locator-handler-log.spec.js +44 -0
  25. package/dist/test/scripts/locator-handler-log.d.ts +23 -0
  26. package/dist/test/scripts/locator-handler-log.d.ts.map +1 -0
  27. package/dist/test/scripts/locator-handler-log.js +105 -0
  28. package/dist/test/scripts/pw-locator-patch/actions/click.d.ts.map +1 -1
  29. package/dist/test/scripts/pw-locator-patch/actions/click.js +17 -34
  30. package/dist/test/scripts/pw-locator-patch/actions/hover.d.ts.map +1 -1
  31. package/dist/test/scripts/pw-locator-patch/actions/hover.js +11 -25
  32. package/dist/test/scripts/pw-locator-patch/dismiss-overlays/index.d.ts +21 -4
  33. package/dist/test/scripts/pw-locator-patch/dismiss-overlays/index.d.ts.map +1 -1
  34. package/dist/test/scripts/pw-locator-patch/dismiss-overlays/index.js +113 -18
  35. package/dist/test/scripts/pw-locator-patch/dismiss-overlays/prompt.d.ts +2 -3
  36. package/dist/test/scripts/pw-locator-patch/dismiss-overlays/prompt.d.ts.map +1 -1
  37. package/dist/test/scripts/pw-locator-patch/dismiss-overlays/prompt.js +6 -52
  38. package/dist/webhook.d.ts +1 -6
  39. package/dist/webhook.d.ts.map +1 -1
  40. package/dist/webhook.js +12 -124
  41. package/package.json +3 -3
  42. package/playwright.config.ts +1 -1
  43. package/tsconfig.tsbuildinfo +1 -1
  44. package/dist/overlay-tests/typesafe-hit-check.spec.d.ts +0 -2
  45. package/dist/overlay-tests/typesafe-hit-check.spec.d.ts.map +0 -1
  46. package/dist/overlay-tests/typesafe-hit-check.spec.js +0 -57
  47. package/dist/overlay-tests/typesafe.spec.d.ts +0 -2
  48. package/dist/overlay-tests/typesafe.spec.d.ts.map +0 -1
  49. package/dist/overlay-tests/typesafe.spec.js +0 -88
  50. package/dist/test/scripts/pw-locator-patch/dismiss-overlays/typesafe.d.ts +0 -38
  51. package/dist/test/scripts/pw-locator-patch/dismiss-overlays/typesafe.d.ts.map +0 -1
  52. package/dist/test/scripts/pw-locator-patch/dismiss-overlays/typesafe.js +0 -159
@@ -12,7 +12,7 @@ export interface paths {
12
12
  };
13
13
  /**
14
14
  * List test runs
15
- * @description Returns a paginated list of test runs for the scoped project, with optional filtering by id, branch, state, result, environment, and time window.
15
+ * @description Returns a paginated list of test runs for the scoped project, with optional filtering by id, branch, tag, state, result, environment, and time window.
16
16
  */
17
17
  get: operations["listTestRuns"];
18
18
  /**
@@ -495,6 +495,26 @@ export interface paths {
495
495
  patch?: never;
496
496
  trace?: never;
497
497
  };
498
+ "/api/test-runs/tags": {
499
+ parameters: {
500
+ query?: never;
501
+ header?: never;
502
+ path?: never;
503
+ cookie?: never;
504
+ };
505
+ /**
506
+ * ⚙️ List test run tags
507
+ * @description Returns the tags of test runs in the last 30 days for the scoped project, most recently used first.
508
+ */
509
+ get: operations["listTestRunTags"];
510
+ put?: never;
511
+ post?: never;
512
+ delete?: never;
513
+ options?: never;
514
+ head?: never;
515
+ patch?: never;
516
+ trace?: never;
517
+ };
498
518
  "/api/v2/test-cases": {
499
519
  parameters: {
500
520
  query?: never;
@@ -559,6 +579,26 @@ export interface paths {
559
579
  patch?: never;
560
580
  trace?: never;
561
581
  };
582
+ "/api/v2/test-cases/{id}/changes": {
583
+ parameters: {
584
+ query?: never;
585
+ header?: never;
586
+ path?: never;
587
+ cookie?: never;
588
+ };
589
+ /**
590
+ * 🤖 List branches that changed a test case
591
+ * @description Lists the branches whose session sandbox found this test added, modified or removed, with the pull request opened from each. Only branches computed in an Empirical session sandbox are included.
592
+ */
593
+ get: operations["getTestCaseChanges"];
594
+ put?: never;
595
+ post?: never;
596
+ delete?: never;
597
+ options?: never;
598
+ head?: never;
599
+ patch?: never;
600
+ trace?: never;
601
+ };
562
602
  "/api/v2/test-cases/playwright-projects": {
563
603
  parameters: {
564
604
  query?: never;
@@ -1758,6 +1798,30 @@ export interface paths {
1758
1798
  patch?: never;
1759
1799
  trace?: never;
1760
1800
  };
1801
+ "/api/chat-sessions": {
1802
+ parameters: {
1803
+ query?: never;
1804
+ header?: never;
1805
+ path?: never;
1806
+ cookie?: never;
1807
+ };
1808
+ /**
1809
+ * 🤖 List chat sessions
1810
+ * @description Returns a page of chat sessions in scope, each enriched with the creator's Supabase user details. Pass `entity_type` and `entity_id` for the sessions linked to a test run, task or rule (links are added with `POST /api/chat-sessions/{id}/entity-links`); add `show_closed=true` to include finished sessions.
1811
+ */
1812
+ get: operations["listChatSessions"];
1813
+ put?: never;
1814
+ /**
1815
+ * ⚙️ Create a chat session
1816
+ * @description Creates a chat session in the scoped project for a Hive agent (`agent`, default `main`) and delivers its first message (awaited, so the 201 means the message landed). An agent or version Hive does not serve is rejected with a 400, and an organization that billing blocks with a 402, before anything is created.
1817
+ */
1818
+ post: operations["createChatSession"];
1819
+ delete?: never;
1820
+ options?: never;
1821
+ head?: never;
1822
+ patch?: never;
1823
+ trace?: never;
1824
+ };
1761
1825
  "/api/chat-sessions/{id}/alarms": {
1762
1826
  parameters: {
1763
1827
  query?: never;
@@ -1800,6 +1864,30 @@ export interface paths {
1800
1864
  patch: operations["updateChatSessionAlarm"];
1801
1865
  trace?: never;
1802
1866
  };
1867
+ "/api/chat-sessions/{id}/entity-links": {
1868
+ parameters: {
1869
+ query?: never;
1870
+ header?: never;
1871
+ path?: never;
1872
+ cookie?: never;
1873
+ };
1874
+ /**
1875
+ * 🤖 List a chat session's links
1876
+ * @description The test runs, tasks and rules a session is linked to, oldest first.
1877
+ */
1878
+ get: operations["listChatSessionEntityLinks"];
1879
+ put?: never;
1880
+ /**
1881
+ * 🤖 Link a chat session to a test run, task or rule
1882
+ * @description Links an existing session to a test run, task or rule in its project, so the session page shows it and `GET /api/chat-sessions?entity_type=&entity_id=` finds the session. Use it when a running session takes on a run it was not created for. To link a new session, use `empirical session --link test_run:<id>`. Idempotent: linking again returns the existing link, with any new `test_case_ids` added. A link without `test_case_ids` covers the whole run and stays that way.
1883
+ */
1884
+ post: operations["createChatSessionEntityLink"];
1885
+ delete?: never;
1886
+ options?: never;
1887
+ head?: never;
1888
+ patch?: never;
1889
+ trace?: never;
1890
+ };
1803
1891
  "/api/chat-sessions/{id}/session-state": {
1804
1892
  parameters: {
1805
1893
  query?: never;
@@ -2724,30 +2812,6 @@ export interface paths {
2724
2812
  patch?: never;
2725
2813
  trace?: never;
2726
2814
  };
2727
- "/api/chat-sessions": {
2728
- parameters: {
2729
- query?: never;
2730
- header?: never;
2731
- path?: never;
2732
- cookie?: never;
2733
- };
2734
- /**
2735
- * ⚙️ List chat sessions
2736
- * @description Returns a page of chat sessions in scope, each enriched with the creator's Supabase user details. Pass `entity_type` and `entity_id` for the sessions linked to a test run, task or rule.
2737
- */
2738
- get: operations["listChatSessions"];
2739
- put?: never;
2740
- /**
2741
- * ⚙️ Create a chat session
2742
- * @description Creates a chat session in the scoped project for a Hive agent (`agent`, default `main`) and delivers its first message (awaited, so the 201 means the message landed). An agent or version Hive does not serve is rejected with a 400, and an organization that billing blocks with a 402, before anything is created.
2743
- */
2744
- post: operations["createChatSession"];
2745
- delete?: never;
2746
- options?: never;
2747
- head?: never;
2748
- patch?: never;
2749
- trace?: never;
2750
- };
2751
2815
  "/api/chat-sessions/{id}": {
2752
2816
  parameters: {
2753
2817
  query?: never;
@@ -3967,7 +4031,7 @@ export interface paths {
3967
4031
  };
3968
4032
  /**
3969
4033
  * ⚙️ Get impacted tests for a pull request
3970
- * @description Returns the tests impacted by the pull request's diff against its merge base. Computed on every head push; the first read of an unseen pull request queues the computation and returns status `pending`.
4034
+ * @description Returns the latest impacted tests a session sandbox computed for the pull request's head branch, or status `unavailable` when there are none, such as for a pull request pushed outside an Empirical session.
3971
4035
  */
3972
4036
  get: operations["getPullRequestImpactedTests"];
3973
4037
  put?: never;
@@ -7128,26 +7192,6 @@ export interface paths {
7128
7192
  patch?: never;
7129
7193
  trace?: never;
7130
7194
  };
7131
- "/api/webhook-site/proxy": {
7132
- parameters: {
7133
- query?: never;
7134
- header?: never;
7135
- path?: never;
7136
- cookie?: never;
7137
- };
7138
- get?: never;
7139
- put?: never;
7140
- /**
7141
- * ⚙️ Proxy a Webhook.site request
7142
- * @description Forwards a request to the Webhook.site API, injecting the configured API key.
7143
- */
7144
- post: operations["proxyWebhookSite"];
7145
- delete?: never;
7146
- options?: never;
7147
- head?: never;
7148
- patch?: never;
7149
- trace?: never;
7150
- };
7151
7195
  "/api/webhooks": {
7152
7196
  parameters: {
7153
7197
  query?: never;
@@ -7526,6 +7570,8 @@ export interface components {
7526
7570
  fail_rate: number;
7527
7571
  /** @description Flaky rate as a percentage (0-100). */
7528
7572
  flaky_rate: number;
7573
+ /** @description Mean duration in ms across all attempts of a result, skipped results excluded. 0 when the test has not run. */
7574
+ avg_duration_ms: number;
7529
7575
  };
7530
7576
  /** @description History of test executions for this test case. */
7531
7577
  history: components["schemas"]["TestCaseHistoryEntry"][];
@@ -7559,6 +7605,8 @@ export interface components {
7559
7605
  fail_rate: number;
7560
7606
  /** @description Flaky rate as a percentage (0-100). */
7561
7607
  flaky_rate: number;
7608
+ /** @description Mean duration in ms across all attempts of a result, skipped results excluded. 0 when the test has not run. */
7609
+ avg_duration_ms: number;
7562
7610
  };
7563
7611
  };
7564
7612
  AnalyticsTestCasesResponse: {
@@ -8164,6 +8212,26 @@ export interface components {
8164
8212
  /** @description ISO 8601 creation time. */
8165
8213
  created_at: string;
8166
8214
  };
8215
+ ChatSessionEntityLinkListResponse: {
8216
+ /** @description Response payload. */
8217
+ data: components["schemas"]["ChatSessionEntityLink"][];
8218
+ };
8219
+ ChatSessionEntityLinkResponse: {
8220
+ /** @description Response payload. */
8221
+ data: {
8222
+ /**
8223
+ * @description Linked entity type.
8224
+ * @enum {string}
8225
+ */
8226
+ entity_type: "test_run" | "task" | "rule";
8227
+ /** @description Linked entity ID. */
8228
+ entity_id: number;
8229
+ /** @description Test case IDs in the run this session is scoped to. Empty for the whole run, and for tasks and rules. */
8230
+ test_case_ids: string[];
8231
+ /** @description ISO 8601 creation time. */
8232
+ created_at: string;
8233
+ };
8234
+ };
8167
8235
  ChatSessionEntryRange: {
8168
8236
  /** @description Session log entries in log_seq order. */
8169
8237
  entries: unknown[];
@@ -10441,14 +10509,11 @@ export interface components {
10441
10509
  GithubPrImpactedTestsResponse: {
10442
10510
  /** @description Response payload. */
10443
10511
  data: {
10444
- /**
10445
- * @description Computation state for the current head commit.
10446
- * @enum {string}
10447
- */
10448
- status: "pending" | "completed" | "failed";
10449
- /** @description Pull request head commit the result belongs to. */
10512
+ /** @enum {string} */
10513
+ status: "completed";
10514
+ /** @description Head branch commit the result was computed for. */
10450
10515
  head_sha: string;
10451
- /** @description Tests impacted by the pull request diff. */
10516
+ /** @description Tests impacted by the head branch's changes. */
10452
10517
  impacted_tests: {
10453
10518
  test_case: {
10454
10519
  name: string;
@@ -10474,14 +10539,18 @@ export interface components {
10474
10539
  /** @description Playwright project the id belongs to. */
10475
10540
  project: string;
10476
10541
  }[];
10477
- }[] | null;
10478
- /** @description Failure reason when status is failed. */
10479
- error: string | null;
10542
+ }[];
10480
10543
  /**
10481
10544
  * Format: date-time
10482
10545
  * @description When the result last changed.
10483
10546
  */
10484
10547
  updated_at: string;
10548
+ } | {
10549
+ /**
10550
+ * @description No session sandbox has computed impacted tests for the head branch.
10551
+ * @enum {string}
10552
+ */
10553
+ status: "unavailable";
10485
10554
  };
10486
10555
  };
10487
10556
  GithubPrMergeResponse: {
@@ -11171,7 +11240,7 @@ export interface components {
11171
11240
  value?: (string | number | boolean | unknown[] | {
11172
11241
  [key: string]: unknown;
11173
11242
  }) | null;
11174
- /** @description Increments on every write. Send it as `If-Match` to make a write conditional. */
11243
+ /** @description Increases on every write and is never reused for a key, even after it expires or is deleted. Send it as `If-Match` to make a write conditional. */
11175
11244
  version: number;
11176
11245
  /**
11177
11246
  * Format: date-time
@@ -11219,7 +11288,7 @@ export interface components {
11219
11288
  value?: (string | number | boolean | unknown[] | {
11220
11289
  [key: string]: unknown;
11221
11290
  }) | null;
11222
- /** @description Increments on every write. Send it as `If-Match` to make a write conditional. */
11291
+ /** @description Increases on every write and is never reused for a key, even after it expires or is deleted. Send it as `If-Match` to make a write conditional. */
11223
11292
  version: number;
11224
11293
  /**
11225
11294
  * Format: date-time
@@ -15386,6 +15455,45 @@ export interface components {
15386
15455
  last_seen_commit_sha: string | null;
15387
15456
  dependencies: components["schemas"]["TestCaseV2Dependencies"];
15388
15457
  };
15458
+ TestCaseChange: {
15459
+ /** @description Branch that changed the test. */
15460
+ branch: string;
15461
+ /**
15462
+ * @description How the branch changes the test against the default branch, as of its latest commit that touches it.
15463
+ * @enum {string}
15464
+ */
15465
+ type: "added" | "modified" | "removed";
15466
+ /** @description Latest commit on the branch whose diff touches the test. */
15467
+ head_sha: string;
15468
+ /** @description Session whose sandbox computed that commit's result. */
15469
+ chat_session_id: number | null;
15470
+ /**
15471
+ * Format: date-time
15472
+ * @description When a commit on the branch first touched the test.
15473
+ */
15474
+ first_seen_at: string;
15475
+ /**
15476
+ * Format: date-time
15477
+ * @description When the latest commit touching the test was computed.
15478
+ */
15479
+ last_seen_at: string;
15480
+ /** @description Latest pull request opened from the branch. */
15481
+ pull_request: {
15482
+ number: number;
15483
+ /** @enum {string} */
15484
+ status: "unopened" | "open" | "opened" | "closed" | "merged";
15485
+ url: string;
15486
+ /** Format: date-time */
15487
+ merged_at: string | null;
15488
+ } | null;
15489
+ };
15490
+ TestCaseChangesResponse: {
15491
+ /** @description Response payload. */
15492
+ data: {
15493
+ /** @description One entry per branch, most recent first. */
15494
+ changes: components["schemas"]["TestCaseChange"][];
15495
+ };
15496
+ };
15389
15497
  TestCaseHistoryBatchRequest: {
15390
15498
  /** @description Test case IDs to fetch history for (non-empty). */
15391
15499
  test_case_ids: string[];
@@ -15935,7 +16043,7 @@ export interface components {
15935
16043
  storage_bucket: string | null;
15936
16044
  /** @description ID of the run that supersedes this one, if any. */
15937
16045
  superseded_by_test_run_id: number | null;
15938
- /** @description Tags applied to the run. */
16046
+ /** @description Tags the run was filtered to; only tests with one of these tags ran. */
15939
16047
  tags: string[] | null;
15940
16048
  /** @description Tags whose tests the run skips. */
15941
16049
  exclude_tags: string[] | null;
@@ -16178,7 +16286,7 @@ export interface components {
16178
16286
  storage_bucket: string | null;
16179
16287
  /** @description ID of the run that supersedes this one, if any. */
16180
16288
  superseded_by_test_run_id: number | null;
16181
- /** @description Tags applied to the run. */
16289
+ /** @description Tags the run was filtered to; only tests with one of these tags ran. */
16182
16290
  tags: string[] | null;
16183
16291
  /** @description Tags whose tests the run skips. */
16184
16292
  exclude_tags: string[] | null;
@@ -16612,6 +16720,13 @@ export interface components {
16612
16720
  playwright_projects_ignore: string[] | null;
16613
16721
  };
16614
16722
  };
16723
+ TestRunTagListResponse: {
16724
+ /** @description Response payload. */
16725
+ data: {
16726
+ /** @description Tags of recent test runs, newest first. */
16727
+ tags: string[];
16728
+ };
16729
+ };
16615
16730
  TestRunTestCaseDurationsResponse: {
16616
16731
  data: {
16617
16732
  /** @description Length of the analytics window the averages cover. */
@@ -17645,6 +17760,8 @@ export interface operations {
17645
17760
  environment_ids?: string;
17646
17761
  /** @description Filter to runs created in this concurrency group (exact match on the run's `concurrency.group`). */
17647
17762
  concurrency_group?: string;
17763
+ /** @description Filter to runs whose `tags` include this tag (e.g. `@smoke`); a missing `@` is added. */
17764
+ tag?: string;
17648
17765
  };
17649
17766
  header?: never;
17650
17767
  path?: never;
@@ -17739,7 +17856,7 @@ export interface operations {
17739
17856
  path?: never;
17740
17857
  cookie?: never;
17741
17858
  };
17742
- requestBody?: {
17859
+ requestBody: {
17743
17860
  content: {
17744
17861
  "application/json": components["schemas"]["UpdateTestRunStateRequest"];
17745
17862
  };
@@ -18209,7 +18326,7 @@ export interface operations {
18209
18326
  };
18210
18327
  cookie?: never;
18211
18328
  };
18212
- requestBody?: {
18329
+ requestBody: {
18213
18330
  content: {
18214
18331
  "application/json": components["schemas"]["UpdateEcsTaskIdRequest"];
18215
18332
  };
@@ -18400,7 +18517,7 @@ export interface operations {
18400
18517
  };
18401
18518
  cookie?: never;
18402
18519
  };
18403
- requestBody?: {
18520
+ requestBody: {
18404
18521
  content: {
18405
18522
  "application/json": components["schemas"]["PutRunManifestRequest"];
18406
18523
  };
@@ -18445,7 +18562,7 @@ export interface operations {
18445
18562
  };
18446
18563
  cookie?: never;
18447
18564
  };
18448
- requestBody?: {
18565
+ requestBody: {
18449
18566
  content: {
18450
18567
  "application/json": components["schemas"]["PostShardPlanRequest"];
18451
18568
  };
@@ -18817,6 +18934,40 @@ export interface operations {
18817
18934
  };
18818
18935
  };
18819
18936
  };
18937
+ listTestRunTags: {
18938
+ parameters: {
18939
+ query?: {
18940
+ /** @description Only tags of runs in this environment. */
18941
+ environment_id?: number;
18942
+ /** @description Maximum number of tags to return. Default 100. */
18943
+ limit?: number;
18944
+ };
18945
+ header?: never;
18946
+ path?: never;
18947
+ cookie?: never;
18948
+ };
18949
+ requestBody?: never;
18950
+ responses: {
18951
+ /** @description Tags of recent test runs. */
18952
+ 200: {
18953
+ headers: {
18954
+ [name: string]: unknown;
18955
+ };
18956
+ content: {
18957
+ "application/json": components["schemas"]["TestRunTagListResponse"];
18958
+ };
18959
+ };
18960
+ /** @description Invalid request. */
18961
+ 400: {
18962
+ headers: {
18963
+ [name: string]: unknown;
18964
+ };
18965
+ content: {
18966
+ "application/json": components["schemas"]["ErrorResponse"];
18967
+ };
18968
+ };
18969
+ };
18970
+ };
18820
18971
  listTestCases: {
18821
18972
  parameters: {
18822
18973
  query?: {
@@ -18927,7 +19078,7 @@ export interface operations {
18927
19078
  };
18928
19079
  cookie?: never;
18929
19080
  };
18930
- requestBody?: {
19081
+ requestBody: {
18931
19082
  content: {
18932
19083
  "application/json": components["schemas"]["UpdateTestCaseTagsRequest"];
18933
19084
  };
@@ -19011,6 +19162,47 @@ export interface operations {
19011
19162
  };
19012
19163
  };
19013
19164
  };
19165
+ getTestCaseChanges: {
19166
+ parameters: {
19167
+ query?: never;
19168
+ header?: never;
19169
+ path: {
19170
+ /** @description Playwright test ID (pw_test_id), the 41-character hash identifying the test case. */
19171
+ id: string;
19172
+ };
19173
+ cookie?: never;
19174
+ };
19175
+ requestBody?: never;
19176
+ responses: {
19177
+ /** @description Branches that changed the test case. */
19178
+ 200: {
19179
+ headers: {
19180
+ [name: string]: unknown;
19181
+ };
19182
+ content: {
19183
+ "application/json": components["schemas"]["TestCaseChangesResponse"];
19184
+ };
19185
+ };
19186
+ /** @description The test case belongs to a project you cannot access. */
19187
+ 403: {
19188
+ headers: {
19189
+ [name: string]: unknown;
19190
+ };
19191
+ content: {
19192
+ "application/json": components["schemas"]["ErrorResponse"];
19193
+ };
19194
+ };
19195
+ /** @description Test case not found. */
19196
+ 404: {
19197
+ headers: {
19198
+ [name: string]: unknown;
19199
+ };
19200
+ content: {
19201
+ "application/json": components["schemas"]["ErrorResponse"];
19202
+ };
19203
+ };
19204
+ };
19205
+ };
19014
19206
  listTestCasePlaywrightProjects: {
19015
19207
  parameters: {
19016
19208
  query?: never;
@@ -19058,7 +19250,7 @@ export interface operations {
19058
19250
  path?: never;
19059
19251
  cookie?: never;
19060
19252
  };
19061
- requestBody?: {
19253
+ requestBody: {
19062
19254
  content: {
19063
19255
  "application/json": components["schemas"]["CreateEnvironmentRequest"];
19064
19256
  };
@@ -19323,7 +19515,7 @@ export interface operations {
19323
19515
  path?: never;
19324
19516
  cookie?: never;
19325
19517
  };
19326
- requestBody?: {
19518
+ requestBody: {
19327
19519
  content: {
19328
19520
  "application/json": components["schemas"]["CreateSnoozeRequest"];
19329
19521
  };
@@ -19468,7 +19660,7 @@ export interface operations {
19468
19660
  };
19469
19661
  cookie?: never;
19470
19662
  };
19471
- requestBody?: {
19663
+ requestBody: {
19472
19664
  content: {
19473
19665
  "application/json": components["schemas"]["AddSnoozeTestCasesRequest"];
19474
19666
  };
@@ -19608,7 +19800,7 @@ export interface operations {
19608
19800
  };
19609
19801
  cookie?: never;
19610
19802
  };
19611
- requestBody?: {
19803
+ requestBody: {
19612
19804
  content: {
19613
19805
  "application/json": components["schemas"]["PutKvEntryRequest"];
19614
19806
  };
@@ -19747,7 +19939,7 @@ export interface operations {
19747
19939
  };
19748
19940
  cookie?: never;
19749
19941
  };
19750
- requestBody?: {
19942
+ requestBody: {
19751
19943
  content: {
19752
19944
  "application/json": components["schemas"]["PatchKvEntryRequest"];
19753
19945
  };
@@ -19817,8 +20009,8 @@ export interface operations {
19817
20009
  search?: string;
19818
20010
  /** @description Comma-separated list of tags to filter by. */
19819
20011
  tags?: string;
19820
- /** @description Field to order results by. One of `fail_rate`, `flaky_rate`, `last_run`. Defaults to `fail_rate`. */
19821
- order_by?: "fail_rate" | "flaky_rate" | "last_run";
20012
+ /** @description Field to order results by. One of `fail_rate`, `flaky_rate`, `last_run`, `duration` (mean `avg_duration_ms`, slowest first with `desc`). Defaults to `fail_rate`. */
20013
+ order_by?: "fail_rate" | "flaky_rate" | "last_run" | "duration";
19822
20014
  /** @description Sort direction, `asc` or `desc`. Defaults to `desc`. */
19823
20015
  order?: "asc" | "desc";
19824
20016
  /** @description Maximum number of test cases to return (1-500). */
@@ -19959,7 +20151,7 @@ export interface operations {
19959
20151
  path?: never;
19960
20152
  cookie?: never;
19961
20153
  };
19962
- requestBody?: {
20154
+ requestBody: {
19963
20155
  content: {
19964
20156
  "application/json": components["schemas"]["TestCaseHistoryBatchRequest"];
19965
20157
  };
@@ -20001,7 +20193,7 @@ export interface operations {
20001
20193
  path?: never;
20002
20194
  cookie?: never;
20003
20195
  };
20004
- requestBody?: {
20196
+ requestBody: {
20005
20197
  content: {
20006
20198
  "application/json": components["schemas"]["LastPassPerEnvRequest"];
20007
20199
  };
@@ -20051,8 +20243,8 @@ export interface operations {
20051
20243
  search?: string;
20052
20244
  /** @description Comma-separated list of tags to filter by. */
20053
20245
  tags?: string;
20054
- /** @description Field to order results by. One of `fail_rate`, `flaky_rate`, `last_run`. Defaults to `fail_rate`. */
20055
- order_by?: "fail_rate" | "flaky_rate" | "last_run";
20246
+ /** @description Field to order results by. One of `fail_rate`, `flaky_rate`, `last_run`, `duration` (mean `avg_duration_ms`, slowest first with `desc`). Defaults to `fail_rate`. */
20247
+ order_by?: "fail_rate" | "flaky_rate" | "last_run" | "duration";
20056
20248
  /** @description Sort direction, `asc` or `desc`. Defaults to `desc`. */
20057
20249
  order?: "asc" | "desc";
20058
20250
  /** @description Maximum number of test cases to return (1-500). */
@@ -20193,7 +20385,7 @@ export interface operations {
20193
20385
  path?: never;
20194
20386
  cookie?: never;
20195
20387
  };
20196
- requestBody?: {
20388
+ requestBody: {
20197
20389
  content: {
20198
20390
  "application/json": {
20199
20391
  /** @description OAuth code from Slack's redirect. */
@@ -20328,7 +20520,7 @@ export interface operations {
20328
20520
  path?: never;
20329
20521
  cookie?: never;
20330
20522
  };
20331
- requestBody?: {
20523
+ requestBody: {
20332
20524
  content: {
20333
20525
  "application/json": {
20334
20526
  /** @description Organisation ID. */
@@ -20893,7 +21085,7 @@ export interface operations {
20893
21085
  path?: never;
20894
21086
  cookie?: never;
20895
21087
  };
20896
- requestBody?: {
21088
+ requestBody: {
20897
21089
  content: {
20898
21090
  "application/json": {
20899
21091
  /** @description Markdown message body; not Slack's text field. */
@@ -21104,7 +21296,7 @@ export interface operations {
21104
21296
  };
21105
21297
  cookie?: never;
21106
21298
  };
21107
- requestBody?: {
21299
+ requestBody: {
21108
21300
  content: {
21109
21301
  "application/json": {
21110
21302
  /** @description Replacement Markdown body; not Slack's text field. */
@@ -21193,7 +21385,7 @@ export interface operations {
21193
21385
  path?: never;
21194
21386
  cookie?: never;
21195
21387
  };
21196
- requestBody?: {
21388
+ requestBody: {
21197
21389
  content: {
21198
21390
  "application/json": {
21199
21391
  /**
@@ -21266,7 +21458,7 @@ export interface operations {
21266
21458
  path?: never;
21267
21459
  cookie?: never;
21268
21460
  };
21269
- requestBody?: {
21461
+ requestBody: {
21270
21462
  content: {
21271
21463
  "application/json": {
21272
21464
  /** @description Slack channel id the message lives in. */
@@ -21442,7 +21634,7 @@ export interface operations {
21442
21634
  };
21443
21635
  cookie?: never;
21444
21636
  };
21445
- requestBody?: {
21637
+ requestBody: {
21446
21638
  content: {
21447
21639
  "application/json": components["schemas"]["UpdateSlackThreadBody"];
21448
21640
  };
@@ -21505,7 +21697,7 @@ export interface operations {
21505
21697
  };
21506
21698
  cookie?: never;
21507
21699
  };
21508
- requestBody?: {
21700
+ requestBody: {
21509
21701
  content: {
21510
21702
  "application/json": components["schemas"]["CreateSlackThreadEntityLinkRequest"];
21511
21703
  };
@@ -21729,7 +21921,7 @@ export interface operations {
21729
21921
  path?: never;
21730
21922
  cookie?: never;
21731
21923
  };
21732
- requestBody?: {
21924
+ requestBody: {
21733
21925
  content: {
21734
21926
  "application/json": components["schemas"]["AddAllowedRecipientRequest"];
21735
21927
  };
@@ -21838,7 +22030,7 @@ export interface operations {
21838
22030
  };
21839
22031
  cookie?: never;
21840
22032
  };
21841
- requestBody?: {
22033
+ requestBody: {
21842
22034
  content: {
21843
22035
  "application/json": components["schemas"]["ConfirmAllowedRecipientCodeRequest"];
21844
22036
  };
@@ -22034,7 +22226,7 @@ export interface operations {
22034
22226
  path?: never;
22035
22227
  cookie?: never;
22036
22228
  };
22037
- requestBody?: {
22229
+ requestBody: {
22038
22230
  content: {
22039
22231
  "application/json": components["schemas"]["CreateFileRequest"];
22040
22232
  };
@@ -22102,7 +22294,7 @@ export interface operations {
22102
22294
  };
22103
22295
  cookie?: never;
22104
22296
  };
22105
- requestBody?: {
22297
+ requestBody: {
22106
22298
  content: {
22107
22299
  "application/json": components["schemas"]["UpdateFileRequest"];
22108
22300
  };
@@ -22227,7 +22419,7 @@ export interface operations {
22227
22419
  path?: never;
22228
22420
  cookie?: never;
22229
22421
  };
22230
- requestBody?: {
22422
+ requestBody: {
22231
22423
  content: {
22232
22424
  "application/json": components["schemas"]["ClaimInboxRequest"];
22233
22425
  };
@@ -22295,7 +22487,7 @@ export interface operations {
22295
22487
  };
22296
22488
  cookie?: never;
22297
22489
  };
22298
- requestBody?: {
22490
+ requestBody: {
22299
22491
  content: {
22300
22492
  "application/json": components["schemas"]["UpdateInboxRequest"];
22301
22493
  };
@@ -22458,7 +22650,7 @@ export interface operations {
22458
22650
  path?: never;
22459
22651
  cookie?: never;
22460
22652
  };
22461
- requestBody?: {
22653
+ requestBody: {
22462
22654
  content: {
22463
22655
  "application/json": components["schemas"]["SendInboxMessageRequest"];
22464
22656
  };
@@ -22678,6 +22870,149 @@ export interface operations {
22678
22870
  };
22679
22871
  };
22680
22872
  };
22873
+ listChatSessions: {
22874
+ parameters: {
22875
+ query?: {
22876
+ /** @description Restrict to a single project (ignored for bound principals). */
22877
+ project_id?: number;
22878
+ /** @description Include closed sessions when `true`. */
22879
+ show_closed?: boolean | null;
22880
+ /** @description Filter sessions by preset (all, active, merged). */
22881
+ preset?: "all" | "active" | "merged";
22882
+ /** @description Page number (1-indexed). Default 1. */
22883
+ page?: number;
22884
+ /** @description Items per page. Default 10. */
22885
+ per_page?: number;
22886
+ /** @description Optional Manager sidebar category: executor sessions, or all non-manager/non-executor user-facing sessions. */
22887
+ category?: "executor" | "user";
22888
+ /** @description Comma-separated project IDs to include. */
22889
+ project_ids?: string;
22890
+ /** @description Comma-separated project IDs to exclude. */
22891
+ exclude_project_ids?: string;
22892
+ /** @description Comma-separated creator user IDs to filter by. */
22893
+ user_ids?: string;
22894
+ /** @description Matches the session title, the creator's name or email, or the session ID. */
22895
+ search?: string;
22896
+ /** @description Only sessions updated within this many days. */
22897
+ updated_within_days?: number;
22898
+ /** @description URL-encoded JSON array of generic filter conditions. */
22899
+ filters?: string;
22900
+ /** @description Only sessions linked to this entity type. Requires `entity_id`. */
22901
+ entity_type?: "test_run" | "task" | "rule";
22902
+ /** @description Only sessions linked to this entity ID. Requires `entity_type`. */
22903
+ entity_id?: number;
22904
+ };
22905
+ header?: never;
22906
+ path?: never;
22907
+ cookie?: never;
22908
+ };
22909
+ requestBody?: never;
22910
+ responses: {
22911
+ /** @description Page of chat sessions. */
22912
+ 200: {
22913
+ headers: {
22914
+ [name: string]: unknown;
22915
+ };
22916
+ content: {
22917
+ "application/json": components["schemas"]["ChatSessionListResponse"];
22918
+ };
22919
+ };
22920
+ /** @description Invalid request. */
22921
+ 400: {
22922
+ headers: {
22923
+ [name: string]: unknown;
22924
+ };
22925
+ content: {
22926
+ "application/json": components["schemas"]["ErrorResponse"];
22927
+ };
22928
+ };
22929
+ /** @description Project not found or not accessible. */
22930
+ 404: {
22931
+ headers: {
22932
+ [name: string]: unknown;
22933
+ };
22934
+ content: {
22935
+ "application/json": components["schemas"]["ErrorResponse"];
22936
+ };
22937
+ };
22938
+ };
22939
+ };
22940
+ createChatSession: {
22941
+ parameters: {
22942
+ query?: never;
22943
+ header?: never;
22944
+ path?: never;
22945
+ cookie?: never;
22946
+ };
22947
+ requestBody: {
22948
+ content: {
22949
+ "application/json": {
22950
+ /** @description First message for the agent. Required: a session without one never starts. */
22951
+ message: string;
22952
+ /** @description Hive agent to run, as `<name>` (its `@latest` version) or `<name>@<version>`, e.g. `main-worker@2`. Defaults to `main-worker`. Rejected with a 400 when Hive does not serve that agent or version. The agent version decides the model, tools and prompt; `model` still overrides its model. List agents with `GET /api/hive/agents`. */
22953
+ agent?: string | null;
22954
+ /**
22955
+ * @deprecated
22956
+ * @description Deprecated alias of `agent`. The legacy values `chat` and `triage` mean the default agent.
22957
+ */
22958
+ mode?: string | null;
22959
+ /** @description What the session is about: test runs, tasks or rules. Each must belong to the session's project, otherwise the request fails with a 400. */
22960
+ links?: ({
22961
+ /** @enum {string} */
22962
+ entity_type: "test_run";
22963
+ entity_id: number;
22964
+ /** @description Test case IDs in the run this session is scoped to. Omit for the whole run. */
22965
+ test_case_ids?: string[] | null;
22966
+ /**
22967
+ * @deprecated
22968
+ * @description Deprecated alias of `test_case_ids`.
22969
+ */
22970
+ pw_test_ids?: string[] | null;
22971
+ } | {
22972
+ /** @enum {string} */
22973
+ entity_type: "task" | "rule";
22974
+ entity_id: number;
22975
+ })[] | null;
22976
+ model?: string | null;
22977
+ /** @description Deprecated. Sessions start on the project default branch; a different branch is added to `message` as an instruction to work from it. */
22978
+ base_branch?: string | null;
22979
+ /** Format: uuid */
22980
+ created_by?: string | null;
22981
+ /** @description When the caller is an agent session, wake it the next time this session waits for input (one-shot). Defaults to false. Ignored for other callers. */
22982
+ subscribe?: boolean | null;
22983
+ };
22984
+ };
22985
+ };
22986
+ responses: {
22987
+ /** @description The created chat session. */
22988
+ 201: {
22989
+ headers: {
22990
+ [name: string]: unknown;
22991
+ };
22992
+ content: {
22993
+ "application/json": components["schemas"]["ChatSessionCreateResponse"];
22994
+ };
22995
+ };
22996
+ /** @description Invalid request. */
22997
+ 400: {
22998
+ headers: {
22999
+ [name: string]: unknown;
23000
+ };
23001
+ content: {
23002
+ "application/json": components["schemas"]["ErrorResponse"];
23003
+ };
23004
+ };
23005
+ /** @description Billing blocked: an overdue invoice, a failed renewal, no active plan, or the spend limit reached. */
23006
+ 402: {
23007
+ headers: {
23008
+ [name: string]: unknown;
23009
+ };
23010
+ content: {
23011
+ "application/json": components["schemas"]["ErrorResponse"];
23012
+ };
23013
+ };
23014
+ };
23015
+ };
22681
23016
  listChatSessionAlarms: {
22682
23017
  parameters: {
22683
23018
  query?: never;
@@ -22749,7 +23084,7 @@ export interface operations {
22749
23084
  };
22750
23085
  cookie?: never;
22751
23086
  };
22752
- requestBody?: {
23087
+ requestBody: {
22753
23088
  content: {
22754
23089
  "application/json": {
22755
23090
  /** @description Why the alarm fires, in at most 200 characters, e.g. "retry the export once the rate limit resets". It is set once and cannot be edited. Keep state and rules out of it. */
@@ -22888,7 +23223,7 @@ export interface operations {
22888
23223
  };
22889
23224
  cookie?: never;
22890
23225
  };
22891
- requestBody?: {
23226
+ requestBody: {
22892
23227
  content: {
22893
23228
  "application/json": {
22894
23229
  /** @description New schedule. The message is fixed at creation; delete the alarm and create a new one to change it. */
@@ -22972,6 +23307,89 @@ export interface operations {
22972
23307
  };
22973
23308
  };
22974
23309
  };
23310
+ listChatSessionEntityLinks: {
23311
+ parameters: {
23312
+ query?: never;
23313
+ header?: never;
23314
+ path: {
23315
+ /** @description Chat session ID. */
23316
+ id: number;
23317
+ };
23318
+ cookie?: never;
23319
+ };
23320
+ requestBody?: never;
23321
+ responses: {
23322
+ /** @description The session's links. */
23323
+ 200: {
23324
+ headers: {
23325
+ [name: string]: unknown;
23326
+ };
23327
+ content: {
23328
+ "application/json": components["schemas"]["ChatSessionEntityLinkListResponse"];
23329
+ };
23330
+ };
23331
+ /** @description Chat session not found. */
23332
+ 404: {
23333
+ headers: {
23334
+ [name: string]: unknown;
23335
+ };
23336
+ content: {
23337
+ "application/json": components["schemas"]["ErrorResponse"];
23338
+ };
23339
+ };
23340
+ };
23341
+ };
23342
+ createChatSessionEntityLink: {
23343
+ parameters: {
23344
+ query?: never;
23345
+ header?: never;
23346
+ path: {
23347
+ /** @description Chat session ID. */
23348
+ id: number;
23349
+ };
23350
+ cookie?: never;
23351
+ };
23352
+ requestBody: {
23353
+ content: {
23354
+ "application/json": {
23355
+ /** @enum {string} */
23356
+ entity_type: "test_run";
23357
+ entity_id: number;
23358
+ /** @description Test case IDs in the run this session is scoped to. Omit for the whole run. */
23359
+ test_case_ids?: string[] | null;
23360
+ /**
23361
+ * @deprecated
23362
+ * @description Deprecated alias of `test_case_ids`.
23363
+ */
23364
+ pw_test_ids?: string[] | null;
23365
+ } | {
23366
+ /** @enum {string} */
23367
+ entity_type: "task" | "rule";
23368
+ entity_id: number;
23369
+ };
23370
+ };
23371
+ };
23372
+ responses: {
23373
+ /** @description The session's link to the entity. */
23374
+ 200: {
23375
+ headers: {
23376
+ [name: string]: unknown;
23377
+ };
23378
+ content: {
23379
+ "application/json": components["schemas"]["ChatSessionEntityLinkResponse"];
23380
+ };
23381
+ };
23382
+ /** @description Chat session not found, or the entity is not in the session's project. */
23383
+ 404: {
23384
+ headers: {
23385
+ [name: string]: unknown;
23386
+ };
23387
+ content: {
23388
+ "application/json": components["schemas"]["ErrorResponse"];
23389
+ };
23390
+ };
23391
+ };
23392
+ };
22975
23393
  getChatSessionState: {
22976
23394
  parameters: {
22977
23395
  query?: {
@@ -23079,7 +23497,7 @@ export interface operations {
23079
23497
  };
23080
23498
  cookie?: never;
23081
23499
  };
23082
- requestBody?: {
23500
+ requestBody: {
23083
23501
  content: {
23084
23502
  "application/json": {
23085
23503
  /** @enum {string} */
@@ -23272,7 +23690,7 @@ export interface operations {
23272
23690
  };
23273
23691
  cookie?: never;
23274
23692
  };
23275
- requestBody?: {
23693
+ requestBody: {
23276
23694
  content: {
23277
23695
  "application/json": {
23278
23696
  /** @description A subscribable event_type from the canonical Empirical event catalog. */
@@ -23370,7 +23788,7 @@ export interface operations {
23370
23788
  path?: never;
23371
23789
  cookie?: never;
23372
23790
  };
23373
- requestBody?: {
23791
+ requestBody: {
23374
23792
  content: {
23375
23793
  "application/json": {
23376
23794
  /**
@@ -23458,7 +23876,7 @@ export interface operations {
23458
23876
  path?: never;
23459
23877
  cookie?: never;
23460
23878
  };
23461
- requestBody?: {
23879
+ requestBody: {
23462
23880
  content: {
23463
23881
  "application/json": {
23464
23882
  /** @description Repository owner. */
@@ -23507,7 +23925,7 @@ export interface operations {
23507
23925
  path?: never;
23508
23926
  cookie?: never;
23509
23927
  };
23510
- requestBody?: {
23928
+ requestBody: {
23511
23929
  content: {
23512
23930
  "application/json": {
23513
23931
  /** @description Repository owner. */
@@ -23556,7 +23974,7 @@ export interface operations {
23556
23974
  path?: never;
23557
23975
  cookie?: never;
23558
23976
  };
23559
- requestBody?: {
23977
+ requestBody: {
23560
23978
  content: {
23561
23979
  "application/json": {
23562
23980
  /** @description HTTP method for the GitHub request. */
@@ -23675,7 +24093,7 @@ export interface operations {
23675
24093
  path?: never;
23676
24094
  cookie?: never;
23677
24095
  };
23678
- requestBody?: {
24096
+ requestBody: {
23679
24097
  content: {
23680
24098
  "application/json": {
23681
24099
  /** @description HTTP method to forward to the Google API. */
@@ -23977,7 +24395,7 @@ export interface operations {
23977
24395
  path?: never;
23978
24396
  cookie?: never;
23979
24397
  };
23980
- requestBody?: {
24398
+ requestBody: {
23981
24399
  content: {
23982
24400
  "application/json": components["schemas"]["CreateRuleRequest"];
23983
24401
  };
@@ -24151,7 +24569,7 @@ export interface operations {
24151
24569
  path?: never;
24152
24570
  cookie?: never;
24153
24571
  };
24154
- requestBody?: {
24572
+ requestBody: {
24155
24573
  content: {
24156
24574
  "application/json": components["schemas"]["DryRunMatcherRequest"];
24157
24575
  };
@@ -24229,7 +24647,7 @@ export interface operations {
24229
24647
  path?: never;
24230
24648
  cookie?: never;
24231
24649
  };
24232
- requestBody?: {
24650
+ requestBody: {
24233
24651
  content: {
24234
24652
  "application/json": components["schemas"]["CreateTaskRequest"];
24235
24653
  };
@@ -24442,7 +24860,7 @@ export interface operations {
24442
24860
  };
24443
24861
  cookie?: never;
24444
24862
  };
24445
- requestBody?: {
24863
+ requestBody: {
24446
24864
  content: {
24447
24865
  "application/json": components["schemas"]["CreateTaskCommentRequest"];
24448
24866
  };
@@ -24475,7 +24893,7 @@ export interface operations {
24475
24893
  path?: never;
24476
24894
  cookie?: never;
24477
24895
  };
24478
- requestBody?: {
24896
+ requestBody: {
24479
24897
  content: {
24480
24898
  "application/json": {
24481
24899
  /** @description Run holding the case. */
@@ -24580,7 +24998,7 @@ export interface operations {
24580
24998
  path?: never;
24581
24999
  cookie?: never;
24582
25000
  };
24583
- requestBody?: {
25001
+ requestBody: {
24584
25002
  content: {
24585
25003
  "application/json": components["schemas"]["SetTriageStatusRequest"];
24586
25004
  };
@@ -24995,7 +25413,7 @@ export interface operations {
24995
25413
  path?: never;
24996
25414
  cookie?: never;
24997
25415
  };
24998
- requestBody?: {
25416
+ requestBody: {
24999
25417
  content: {
25000
25418
  "application/json": components["schemas"]["CreateAlarmRequest"];
25001
25419
  };
@@ -25102,7 +25520,7 @@ export interface operations {
25102
25520
  path?: never;
25103
25521
  cookie?: never;
25104
25522
  };
25105
- requestBody?: {
25523
+ requestBody: {
25106
25524
  content: {
25107
25525
  "application/json": components["schemas"]["CreateApiKeyRequest"];
25108
25526
  };
@@ -25206,7 +25624,7 @@ export interface operations {
25206
25624
  };
25207
25625
  cookie?: never;
25208
25626
  };
25209
- requestBody?: {
25627
+ requestBody: {
25210
25628
  content: {
25211
25629
  "application/json": components["schemas"]["UpdateApiKeyRequest"];
25212
25630
  };
@@ -25570,7 +25988,7 @@ export interface operations {
25570
25988
  path?: never;
25571
25989
  cookie?: never;
25572
25990
  };
25573
- requestBody?: {
25991
+ requestBody: {
25574
25992
  content: {
25575
25993
  "application/json": {
25576
25994
  /** @description Whole dollars, in cents; null removes it. */
@@ -25650,149 +26068,6 @@ export interface operations {
25650
26068
  };
25651
26069
  };
25652
26070
  };
25653
- listChatSessions: {
25654
- parameters: {
25655
- query?: {
25656
- /** @description Restrict to a single project (ignored for bound principals). */
25657
- project_id?: number;
25658
- /** @description Include closed sessions when `true`. */
25659
- show_closed?: boolean | null;
25660
- /** @description Filter sessions by preset (all, active, merged). */
25661
- preset?: "all" | "active" | "merged";
25662
- /** @description Page number (1-indexed). Default 1. */
25663
- page?: number;
25664
- /** @description Items per page. Default 10. */
25665
- per_page?: number;
25666
- /** @description Optional Manager sidebar category: executor sessions, or all non-manager/non-executor user-facing sessions. */
25667
- category?: "executor" | "user";
25668
- /** @description Comma-separated project IDs to include. */
25669
- project_ids?: string;
25670
- /** @description Comma-separated project IDs to exclude. */
25671
- exclude_project_ids?: string;
25672
- /** @description Comma-separated creator user IDs to filter by. */
25673
- user_ids?: string;
25674
- /** @description Matches the session title, the creator's name or email, or the session ID. */
25675
- search?: string;
25676
- /** @description Only sessions updated within this many days. */
25677
- updated_within_days?: number;
25678
- /** @description URL-encoded JSON array of generic filter conditions. */
25679
- filters?: string;
25680
- /** @description Only sessions linked to this entity type. Requires `entity_id`. */
25681
- entity_type?: "test_run" | "task" | "rule";
25682
- /** @description Only sessions linked to this entity ID. Requires `entity_type`. */
25683
- entity_id?: number;
25684
- };
25685
- header?: never;
25686
- path?: never;
25687
- cookie?: never;
25688
- };
25689
- requestBody?: never;
25690
- responses: {
25691
- /** @description Page of chat sessions. */
25692
- 200: {
25693
- headers: {
25694
- [name: string]: unknown;
25695
- };
25696
- content: {
25697
- "application/json": components["schemas"]["ChatSessionListResponse"];
25698
- };
25699
- };
25700
- /** @description Invalid request. */
25701
- 400: {
25702
- headers: {
25703
- [name: string]: unknown;
25704
- };
25705
- content: {
25706
- "application/json": components["schemas"]["ErrorResponse"];
25707
- };
25708
- };
25709
- /** @description Project not found or not accessible. */
25710
- 404: {
25711
- headers: {
25712
- [name: string]: unknown;
25713
- };
25714
- content: {
25715
- "application/json": components["schemas"]["ErrorResponse"];
25716
- };
25717
- };
25718
- };
25719
- };
25720
- createChatSession: {
25721
- parameters: {
25722
- query?: never;
25723
- header?: never;
25724
- path?: never;
25725
- cookie?: never;
25726
- };
25727
- requestBody?: {
25728
- content: {
25729
- "application/json": {
25730
- /** @description First message for the agent. Required: a session without one never starts. */
25731
- message: string;
25732
- /** @description Hive agent to run, as `<name>` (its `@latest` version) or `<name>@<version>`, e.g. `main-worker@2`. Defaults to `main-worker`. Rejected with a 400 when Hive does not serve that agent or version. The agent version decides the model, tools and prompt; `model` still overrides its model. List agents with `GET /api/hive/agents`. */
25733
- agent?: string | null;
25734
- /**
25735
- * @deprecated
25736
- * @description Deprecated alias of `agent`. The legacy values `chat` and `triage` mean the default agent.
25737
- */
25738
- mode?: string | null;
25739
- /** @description What the session is about: test runs, tasks or rules. Each must belong to the session's project, otherwise the request fails with a 400. */
25740
- links?: ({
25741
- /** @enum {string} */
25742
- entity_type: "test_run";
25743
- entity_id: number;
25744
- /** @description Test case IDs in the run this session is scoped to. Omit for the whole run. */
25745
- test_case_ids?: string[] | null;
25746
- /**
25747
- * @deprecated
25748
- * @description Deprecated alias of `test_case_ids`.
25749
- */
25750
- pw_test_ids?: string[] | null;
25751
- } | {
25752
- /** @enum {string} */
25753
- entity_type: "task" | "rule";
25754
- entity_id: number;
25755
- })[] | null;
25756
- model?: string | null;
25757
- /** @description Deprecated. Sessions start on the project default branch; a different branch is added to `message` as an instruction to work from it. */
25758
- base_branch?: string | null;
25759
- /** Format: uuid */
25760
- created_by?: string | null;
25761
- /** @description When the caller is an agent session, wake it the next time this session waits for input (one-shot). Defaults to false. Ignored for other callers. */
25762
- subscribe?: boolean | null;
25763
- };
25764
- };
25765
- };
25766
- responses: {
25767
- /** @description The created chat session. */
25768
- 201: {
25769
- headers: {
25770
- [name: string]: unknown;
25771
- };
25772
- content: {
25773
- "application/json": components["schemas"]["ChatSessionCreateResponse"];
25774
- };
25775
- };
25776
- /** @description Invalid request. */
25777
- 400: {
25778
- headers: {
25779
- [name: string]: unknown;
25780
- };
25781
- content: {
25782
- "application/json": components["schemas"]["ErrorResponse"];
25783
- };
25784
- };
25785
- /** @description Billing blocked: an overdue invoice, a failed renewal, no active plan, or the spend limit reached. */
25786
- 402: {
25787
- headers: {
25788
- [name: string]: unknown;
25789
- };
25790
- content: {
25791
- "application/json": components["schemas"]["ErrorResponse"];
25792
- };
25793
- };
25794
- };
25795
- };
25796
26071
  getChatSession: {
25797
26072
  parameters: {
25798
26073
  query?: never;
@@ -26073,7 +26348,7 @@ export interface operations {
26073
26348
  };
26074
26349
  cookie?: never;
26075
26350
  };
26076
- requestBody?: {
26351
+ requestBody: {
26077
26352
  content: {
26078
26353
  "application/json": {
26079
26354
  /**
@@ -26405,7 +26680,7 @@ export interface operations {
26405
26680
  };
26406
26681
  cookie?: never;
26407
26682
  };
26408
- requestBody?: {
26683
+ requestBody: {
26409
26684
  content: {
26410
26685
  "application/json": components["schemas"]["PutBranchImpactedTestsBody"];
26411
26686
  };
@@ -26513,7 +26788,7 @@ export interface operations {
26513
26788
  };
26514
26789
  cookie?: never;
26515
26790
  };
26516
- requestBody?: {
26791
+ requestBody: {
26517
26792
  content: {
26518
26793
  "application/json": {
26519
26794
  note: string;
@@ -26637,7 +26912,7 @@ export interface operations {
26637
26912
  };
26638
26913
  cookie?: never;
26639
26914
  };
26640
- requestBody?: {
26915
+ requestBody: {
26641
26916
  content: {
26642
26917
  "application/json": {
26643
26918
  message: string;
@@ -26814,7 +27089,7 @@ export interface operations {
26814
27089
  };
26815
27090
  cookie?: never;
26816
27091
  };
26817
- requestBody?: {
27092
+ requestBody: {
26818
27093
  content: {
26819
27094
  "application/json": {
26820
27095
  /**
@@ -26933,7 +27208,7 @@ export interface operations {
26933
27208
  };
26934
27209
  cookie?: never;
26935
27210
  };
26936
- requestBody?: {
27211
+ requestBody: {
26937
27212
  content: {
26938
27213
  "application/json": {
26939
27214
  /** @enum {string} */
@@ -27174,7 +27449,7 @@ export interface operations {
27174
27449
  path?: never;
27175
27450
  cookie?: never;
27176
27451
  };
27177
- requestBody?: {
27452
+ requestBody: {
27178
27453
  content: {
27179
27454
  "application/json": {
27180
27455
  /** @description Repository owner the branches were pushed to. */
@@ -27311,7 +27586,7 @@ export interface operations {
27311
27586
  path?: never;
27312
27587
  cookie?: never;
27313
27588
  };
27314
- requestBody?: {
27589
+ requestBody: {
27315
27590
  content: {
27316
27591
  "application/json": components["schemas"]["CreateCreditGrantRequest"];
27317
27592
  };
@@ -27382,7 +27657,7 @@ export interface operations {
27382
27657
  path?: never;
27383
27658
  cookie?: never;
27384
27659
  };
27385
- requestBody?: {
27660
+ requestBody: {
27386
27661
  content: {
27387
27662
  "application/json": components["schemas"]["CreateCreditOfferRequest"];
27388
27663
  };
@@ -27465,7 +27740,7 @@ export interface operations {
27465
27740
  path?: never;
27466
27741
  cookie?: never;
27467
27742
  };
27468
- requestBody?: {
27743
+ requestBody: {
27469
27744
  content: {
27470
27745
  "application/json": {
27471
27746
  /** @description Event type, e.g. "subscription.active". */
@@ -27515,7 +27790,7 @@ export interface operations {
27515
27790
  path?: never;
27516
27791
  cookie?: never;
27517
27792
  };
27518
- requestBody?: {
27793
+ requestBody: {
27519
27794
  content: {
27520
27795
  "application/json": {
27521
27796
  /** @description Event type, e.g. "email.received". */
@@ -27600,7 +27875,7 @@ export interface operations {
27600
27875
  path?: never;
27601
27876
  cookie?: never;
27602
27877
  };
27603
- requestBody?: {
27878
+ requestBody: {
27604
27879
  content: {
27605
27880
  "application/json": {
27606
27881
  /** @description Variable name. */
@@ -27688,7 +27963,7 @@ export interface operations {
27688
27963
  };
27689
27964
  cookie?: never;
27690
27965
  };
27691
- requestBody?: {
27966
+ requestBody: {
27692
27967
  content: {
27693
27968
  "application/json": {
27694
27969
  /** @description Variable name. */
@@ -27741,7 +28016,7 @@ export interface operations {
27741
28016
  path?: never;
27742
28017
  cookie?: never;
27743
28018
  };
27744
- requestBody?: {
28019
+ requestBody: {
27745
28020
  content: {
27746
28021
  "application/json": {
27747
28022
  /** @description Environment variable IDs to delete. */
@@ -27786,7 +28061,7 @@ export interface operations {
27786
28061
  path?: never;
27787
28062
  cookie?: never;
27788
28063
  };
27789
- requestBody?: {
28064
+ requestBody: {
27790
28065
  content: {
27791
28066
  "application/json": {
27792
28067
  /** @description Scoping updates to apply, one per variable. */
@@ -27838,7 +28113,7 @@ export interface operations {
27838
28113
  path?: never;
27839
28114
  cookie?: never;
27840
28115
  };
27841
- requestBody?: {
28116
+ requestBody: {
27842
28117
  content: {
27843
28118
  "application/json": {
27844
28119
  /** @description Environment variable IDs to merge (at least 2). */
@@ -27960,7 +28235,7 @@ export interface operations {
27960
28235
  path?: never;
27961
28236
  cookie?: never;
27962
28237
  };
27963
- requestBody?: {
28238
+ requestBody: {
27964
28239
  content: {
27965
28240
  "application/json": components["schemas"]["CreateFailureGroupRequest"];
27966
28241
  };
@@ -28209,7 +28484,7 @@ export interface operations {
28209
28484
  };
28210
28485
  cookie?: never;
28211
28486
  };
28212
- requestBody?: {
28487
+ requestBody: {
28213
28488
  content: {
28214
28489
  "application/json": components["schemas"]["AttachFailureGroupMemberRequest"];
28215
28490
  };
@@ -28297,7 +28572,7 @@ export interface operations {
28297
28572
  };
28298
28573
  cookie?: never;
28299
28574
  };
28300
- requestBody?: {
28575
+ requestBody: {
28301
28576
  content: {
28302
28577
  "application/json": components["schemas"]["MergeFailureGroupRequest"];
28303
28578
  };
@@ -28371,7 +28646,7 @@ export interface operations {
28371
28646
  path?: never;
28372
28647
  cookie?: never;
28373
28648
  };
28374
- requestBody?: {
28649
+ requestBody: {
28375
28650
  content: {
28376
28651
  "application/json": components["schemas"]["ImportLoomFileRequest"];
28377
28652
  };
@@ -28689,7 +28964,7 @@ export interface operations {
28689
28964
  path?: never;
28690
28965
  cookie?: never;
28691
28966
  };
28692
- requestBody?: {
28967
+ requestBody: {
28693
28968
  content: {
28694
28969
  "application/json": {
28695
28970
  /** @description Repository owner. */
@@ -28733,7 +29008,7 @@ export interface operations {
28733
29008
  path?: never;
28734
29009
  cookie?: never;
28735
29010
  };
28736
- requestBody?: {
29011
+ requestBody: {
28737
29012
  content: {
28738
29013
  "application/json": {
28739
29014
  /** @description Repository owner. */
@@ -28867,7 +29142,7 @@ export interface operations {
28867
29142
  path?: never;
28868
29143
  cookie?: never;
28869
29144
  };
28870
- requestBody?: {
29145
+ requestBody: {
28871
29146
  content: {
28872
29147
  "application/json": {
28873
29148
  /** @description Org ID. */
@@ -28965,7 +29240,7 @@ export interface operations {
28965
29240
  path?: never;
28966
29241
  cookie?: never;
28967
29242
  };
28968
- requestBody?: {
29243
+ requestBody: {
28969
29244
  content: {
28970
29245
  "application/json": {
28971
29246
  /** @description Repository owner. */
@@ -29032,7 +29307,7 @@ export interface operations {
29032
29307
  "application/json": components["schemas"]["GithubPrImpactedTestsResponse"];
29033
29308
  };
29034
29309
  };
29035
- /** @description Project or pull request not found. */
29310
+ /** @description Project not found. */
29036
29311
  404: {
29037
29312
  headers: {
29038
29313
  [name: string]: unknown;
@@ -29050,7 +29325,7 @@ export interface operations {
29050
29325
  path?: never;
29051
29326
  cookie?: never;
29052
29327
  };
29053
- requestBody?: {
29328
+ requestBody: {
29054
29329
  content: {
29055
29330
  "application/json": {
29056
29331
  /** @description Repository owner. */
@@ -29326,7 +29601,7 @@ export interface operations {
29326
29601
  path?: never;
29327
29602
  cookie?: never;
29328
29603
  };
29329
- requestBody?: {
29604
+ requestBody: {
29330
29605
  content: {
29331
29606
  "application/json": {
29332
29607
  org_id: number;
@@ -29440,7 +29715,7 @@ export interface operations {
29440
29715
  path?: never;
29441
29716
  cookie?: never;
29442
29717
  };
29443
- requestBody?: {
29718
+ requestBody: {
29444
29719
  content: {
29445
29720
  "application/json": {
29446
29721
  new_entry_id: number;
@@ -29799,7 +30074,7 @@ export interface operations {
29799
30074
  path?: never;
29800
30075
  cookie?: never;
29801
30076
  };
29802
- requestBody?: {
30077
+ requestBody: {
29803
30078
  content: {
29804
30079
  "application/json": components["schemas"]["PlaywrightUtilsProxyRequest"];
29805
30080
  };
@@ -29850,7 +30125,7 @@ export interface operations {
29850
30125
  path?: never;
29851
30126
  cookie?: never;
29852
30127
  };
29853
- requestBody?: {
30128
+ requestBody: {
29854
30129
  content: {
29855
30130
  "application/json": components["schemas"]["FixtureLoginEmailRequest"];
29856
30131
  };
@@ -29925,7 +30200,7 @@ export interface operations {
29925
30200
  path?: never;
29926
30201
  cookie?: never;
29927
30202
  };
29928
- requestBody?: {
30203
+ requestBody: {
29929
30204
  content: {
29930
30205
  "application/json": components["schemas"]["RequestIngestionWebhook"];
29931
30206
  };
@@ -29967,7 +30242,7 @@ export interface operations {
29967
30242
  path?: never;
29968
30243
  cookie?: never;
29969
30244
  };
29970
- requestBody?: {
30245
+ requestBody: {
29971
30246
  content: {
29972
30247
  "application/json": components["schemas"]["RequestIngestionWebhook"];
29973
30248
  };
@@ -30056,7 +30331,7 @@ export interface operations {
30056
30331
  path?: never;
30057
30332
  cookie?: never;
30058
30333
  };
30059
- requestBody?: {
30334
+ requestBody: {
30060
30335
  content: {
30061
30336
  "application/json": components["schemas"]["ScheduleSnoozeExpiryRequest"];
30062
30337
  };
@@ -30089,7 +30364,7 @@ export interface operations {
30089
30364
  path?: never;
30090
30365
  cookie?: never;
30091
30366
  };
30092
- requestBody?: {
30367
+ requestBody: {
30093
30368
  content: {
30094
30369
  "application/json": components["schemas"]["ChatSessionSeedRequest"];
30095
30370
  };
@@ -30151,7 +30426,7 @@ export interface operations {
30151
30426
  path?: never;
30152
30427
  cookie?: never;
30153
30428
  };
30154
- requestBody?: {
30429
+ requestBody: {
30155
30430
  content: {
30156
30431
  "application/json": {
30157
30432
  /** @description Name of the service the token is issued to (alphanumerics, `_` and `-`). */
@@ -30237,7 +30512,7 @@ export interface operations {
30237
30512
  path?: never;
30238
30513
  cookie?: never;
30239
30514
  };
30240
- requestBody?: {
30515
+ requestBody: {
30241
30516
  content: {
30242
30517
  "application/json": components["schemas"]["SpotInterruptionRequest"];
30243
30518
  };
@@ -30270,7 +30545,7 @@ export interface operations {
30270
30545
  path?: never;
30271
30546
  cookie?: never;
30272
30547
  };
30273
- requestBody?: {
30548
+ requestBody: {
30274
30549
  content: {
30275
30550
  "application/json": components["schemas"]["EnqueueTestCasesSyncRequest"];
30276
30551
  };
@@ -30343,7 +30618,7 @@ export interface operations {
30343
30618
  path?: never;
30344
30619
  cookie?: never;
30345
30620
  };
30346
- requestBody?: {
30621
+ requestBody: {
30347
30622
  content: {
30348
30623
  "application/json": {
30349
30624
  number: string;
@@ -30588,7 +30863,7 @@ export interface operations {
30588
30863
  };
30589
30864
  cookie?: never;
30590
30865
  };
30591
- requestBody?: {
30866
+ requestBody: {
30592
30867
  content: {
30593
30868
  "application/json": components["schemas"]["ReplaceInvoiceBillingLinesRequest"];
30594
30869
  };
@@ -30747,7 +31022,7 @@ export interface operations {
30747
31022
  };
30748
31023
  cookie?: never;
30749
31024
  };
30750
- requestBody?: {
31025
+ requestBody: {
30751
31026
  content: {
30752
31027
  "application/json": {
30753
31028
  /**
@@ -31069,7 +31344,7 @@ export interface operations {
31069
31344
  };
31070
31345
  cookie?: never;
31071
31346
  };
31072
- requestBody?: {
31347
+ requestBody: {
31073
31348
  content: {
31074
31349
  "application/json": components["schemas"]["VerifyInvoiceRazorpayPaymentRequest"];
31075
31350
  };
@@ -31239,7 +31514,7 @@ export interface operations {
31239
31514
  path?: never;
31240
31515
  cookie?: never;
31241
31516
  };
31242
- requestBody?: {
31517
+ requestBody: {
31243
31518
  content: {
31244
31519
  "application/json": components["schemas"]["CreateJiraInstallationRequest"];
31245
31520
  };
@@ -31311,7 +31586,7 @@ export interface operations {
31311
31586
  };
31312
31587
  cookie?: never;
31313
31588
  };
31314
- requestBody?: {
31589
+ requestBody: {
31315
31590
  content: {
31316
31591
  "application/json": components["schemas"]["UpdateJiraProjectMappingsRequest"];
31317
31592
  };
@@ -31470,7 +31745,7 @@ export interface operations {
31470
31745
  };
31471
31746
  cookie?: never;
31472
31747
  };
31473
- requestBody?: {
31748
+ requestBody: {
31474
31749
  content: {
31475
31750
  "application/json": components["schemas"]["UpdateJiraWebhookExpiresAtRequest"];
31476
31751
  };
@@ -31604,7 +31879,7 @@ export interface operations {
31604
31879
  path?: never;
31605
31880
  cookie?: never;
31606
31881
  };
31607
- requestBody?: {
31882
+ requestBody: {
31608
31883
  content: {
31609
31884
  "application/json": {
31610
31885
  /** @description Organization the installation belongs to. */
@@ -31747,7 +32022,7 @@ export interface operations {
31747
32022
  };
31748
32023
  cookie?: never;
31749
32024
  };
31750
- requestBody?: {
32025
+ requestBody: {
31751
32026
  content: {
31752
32027
  "application/json": {
31753
32028
  /** @description Map of Linear team key to Empirical project id. */
@@ -31903,7 +32178,7 @@ export interface operations {
31903
32178
  path?: never;
31904
32179
  cookie?: never;
31905
32180
  };
31906
- requestBody?: {
32181
+ requestBody: {
31907
32182
  content: {
31908
32183
  "application/json": components["schemas"]["PlaywrightUtilsProxyRequest"];
31909
32184
  };
@@ -32003,7 +32278,7 @@ export interface operations {
32003
32278
  path?: never;
32004
32279
  cookie?: never;
32005
32280
  };
32006
- requestBody?: {
32281
+ requestBody: {
32007
32282
  content: {
32008
32283
  "application/json": components["schemas"]["CreateMemoryRequest"];
32009
32284
  };
@@ -32447,7 +32722,7 @@ export interface operations {
32447
32722
  path?: never;
32448
32723
  cookie?: never;
32449
32724
  };
32450
- requestBody?: {
32725
+ requestBody: {
32451
32726
  content: {
32452
32727
  "application/json": components["schemas"]["CreateDummyNotificationBody"];
32453
32728
  };
@@ -32579,7 +32854,7 @@ export interface operations {
32579
32854
  };
32580
32855
  cookie?: never;
32581
32856
  };
32582
- requestBody?: {
32857
+ requestBody: {
32583
32858
  content: {
32584
32859
  "application/json": {
32585
32860
  /** @enum {string} */
@@ -32768,7 +33043,7 @@ export interface operations {
32768
33043
  path?: never;
32769
33044
  cookie?: never;
32770
33045
  };
32771
- requestBody?: {
33046
+ requestBody: {
32772
33047
  content: {
32773
33048
  "application/json": components["schemas"]["CreateOrderFormRequest"];
32774
33049
  };
@@ -32899,7 +33174,7 @@ export interface operations {
32899
33174
  };
32900
33175
  cookie?: never;
32901
33176
  };
32902
- requestBody?: {
33177
+ requestBody: {
32903
33178
  content: {
32904
33179
  "application/json": components["schemas"]["OrderFormPdfUploadRequest"];
32905
33180
  };
@@ -33002,7 +33277,7 @@ export interface operations {
33002
33277
  path?: never;
33003
33278
  cookie?: never;
33004
33279
  };
33005
- requestBody?: {
33280
+ requestBody: {
33006
33281
  content: {
33007
33282
  "application/json": components["schemas"]["OrgCreateRequest"];
33008
33283
  };
@@ -33142,7 +33417,7 @@ export interface operations {
33142
33417
  };
33143
33418
  cookie?: never;
33144
33419
  };
33145
- requestBody?: {
33420
+ requestBody: {
33146
33421
  content: {
33147
33422
  "application/json": components["schemas"]["CreateOrgInviteRequest"];
33148
33423
  };
@@ -33432,7 +33707,7 @@ export interface operations {
33432
33707
  path?: never;
33433
33708
  cookie?: never;
33434
33709
  };
33435
- requestBody?: {
33710
+ requestBody: {
33436
33711
  content: {
33437
33712
  "application/json": components["schemas"]["CreatePlanAssignmentRequest"];
33438
33713
  };
@@ -33626,7 +33901,7 @@ export interface operations {
33626
33901
  path?: never;
33627
33902
  cookie?: never;
33628
33903
  };
33629
- requestBody?: {
33904
+ requestBody: {
33630
33905
  content: {
33631
33906
  "application/json": components["schemas"]["CreatePlanRequest"];
33632
33907
  };
@@ -33721,7 +33996,7 @@ export interface operations {
33721
33996
  };
33722
33997
  cookie?: never;
33723
33998
  };
33724
- requestBody?: {
33999
+ requestBody: {
33725
34000
  content: {
33726
34001
  "application/json": components["schemas"]["UpdatePlanRequest"];
33727
34002
  };
@@ -33784,7 +34059,7 @@ export interface operations {
33784
34059
  };
33785
34060
  cookie?: never;
33786
34061
  };
33787
- requestBody?: {
34062
+ requestBody: {
33788
34063
  content: {
33789
34064
  "application/json": {
33790
34065
  /** @description Active shared plan with a Dodo product. */
@@ -33894,7 +34169,7 @@ export interface operations {
33894
34169
  path?: never;
33895
34170
  cookie?: never;
33896
34171
  };
33897
- requestBody?: {
34172
+ requestBody: {
33898
34173
  content: {
33899
34174
  "application/json": components["schemas"]["ReportPlatformIssueRequest"];
33900
34175
  };
@@ -34113,7 +34388,7 @@ export interface operations {
34113
34388
  path?: never;
34114
34389
  cookie?: never;
34115
34390
  };
34116
- requestBody?: {
34391
+ requestBody: {
34117
34392
  content: {
34118
34393
  "application/json": {
34119
34394
  /** @description Organisation ID that will own the project. */
@@ -34249,7 +34524,7 @@ export interface operations {
34249
34524
  };
34250
34525
  cookie?: never;
34251
34526
  };
34252
- requestBody?: {
34527
+ requestBody: {
34253
34528
  content: {
34254
34529
  "application/json": {
34255
34530
  /** @description Current branch name. */
@@ -34681,7 +34956,7 @@ export interface operations {
34681
34956
  };
34682
34957
  cookie?: never;
34683
34958
  };
34684
- requestBody?: {
34959
+ requestBody: {
34685
34960
  content: {
34686
34961
  "application/json": components["schemas"]["StartRepoTransferRequest"];
34687
34962
  };
@@ -35006,7 +35281,7 @@ export interface operations {
35006
35281
  path?: never;
35007
35282
  cookie?: never;
35008
35283
  };
35009
- requestBody?: {
35284
+ requestBody: {
35010
35285
  content: {
35011
35286
  "application/json": {
35012
35287
  /** @description Key to write. */
@@ -35064,7 +35339,7 @@ export interface operations {
35064
35339
  path?: never;
35065
35340
  cookie?: never;
35066
35341
  };
35067
- requestBody?: {
35342
+ requestBody: {
35068
35343
  content: {
35069
35344
  "application/json": {
35070
35345
  /** @description Branch to merge into. */
@@ -35122,7 +35397,7 @@ export interface operations {
35122
35397
  path?: never;
35123
35398
  cookie?: never;
35124
35399
  };
35125
- requestBody?: {
35400
+ requestBody: {
35126
35401
  content: {
35127
35402
  "application/json": components["schemas"]["ProjectNpmSnapshotUrlsBody"];
35128
35403
  };
@@ -35193,7 +35468,7 @@ export interface operations {
35193
35468
  path?: never;
35194
35469
  cookie?: never;
35195
35470
  };
35196
- requestBody?: {
35471
+ requestBody: {
35197
35472
  content: {
35198
35473
  "application/json": {
35199
35474
  /** @description Razorpay event type. */
@@ -35250,7 +35525,7 @@ export interface operations {
35250
35525
  path?: never;
35251
35526
  cookie?: never;
35252
35527
  };
35253
- requestBody?: {
35528
+ requestBody: {
35254
35529
  content: {
35255
35530
  "application/json": components["schemas"]["CreateRealtimeTokenBody"];
35256
35531
  };
@@ -35343,7 +35618,7 @@ export interface operations {
35343
35618
  path?: never;
35344
35619
  cookie?: never;
35345
35620
  };
35346
- requestBody?: {
35621
+ requestBody: {
35347
35622
  content: {
35348
35623
  "application/json": components["schemas"]["ClaimRunnerBackendBody"];
35349
35624
  };
@@ -35512,7 +35787,7 @@ export interface operations {
35512
35787
  };
35513
35788
  cookie?: never;
35514
35789
  };
35515
- requestBody?: {
35790
+ requestBody: {
35516
35791
  content: {
35517
35792
  "application/json": components["schemas"]["RenameRunnerBackendBody"];
35518
35793
  };
@@ -35706,7 +35981,7 @@ export interface operations {
35706
35981
  path?: never;
35707
35982
  cookie?: never;
35708
35983
  };
35709
- requestBody?: {
35984
+ requestBody: {
35710
35985
  content: {
35711
35986
  "application/json": components["schemas"]["SetProjectRunnerBackendBody"];
35712
35987
  };
@@ -35748,7 +36023,7 @@ export interface operations {
35748
36023
  path?: never;
35749
36024
  cookie?: never;
35750
36025
  };
35751
- requestBody?: {
36026
+ requestBody: {
35752
36027
  content: {
35753
36028
  "application/json": components["schemas"]["SetupRunnerBackendBody"];
35754
36029
  };
@@ -35907,7 +36182,7 @@ export interface operations {
35907
36182
  path?: never;
35908
36183
  cookie?: never;
35909
36184
  };
35910
- requestBody?: {
36185
+ requestBody: {
35911
36186
  content: {
35912
36187
  "application/json": components["schemas"]["ReportLocalTestRunRequest"];
35913
36188
  };
@@ -35969,7 +36244,7 @@ export interface operations {
35969
36244
  path?: never;
35970
36245
  cookie?: never;
35971
36246
  };
35972
- requestBody?: {
36247
+ requestBody: {
35973
36248
  content: {
35974
36249
  "application/json": components["schemas"]["CreateTestReportUploadUrlsRequest"];
35975
36250
  };
@@ -36002,7 +36277,7 @@ export interface operations {
36002
36277
  path?: never;
36003
36278
  cookie?: never;
36004
36279
  };
36005
- requestBody?: {
36280
+ requestBody: {
36006
36281
  content: {
36007
36282
  "application/json": components["schemas"]["TestCaseRunEndEventRequest"];
36008
36283
  };
@@ -36053,7 +36328,7 @@ export interface operations {
36053
36328
  path?: never;
36054
36329
  cookie?: never;
36055
36330
  };
36056
- requestBody?: {
36331
+ requestBody: {
36057
36332
  content: {
36058
36333
  "application/json": components["schemas"]["TestCaseRunBeginEventRequest"];
36059
36334
  };
@@ -36095,7 +36370,7 @@ export interface operations {
36095
36370
  path?: never;
36096
36371
  cookie?: never;
36097
36372
  };
36098
- requestBody?: {
36373
+ requestBody: {
36099
36374
  content: {
36100
36375
  "application/json": {
36101
36376
  /** @description Parent test run ID (run_id). */
@@ -36162,7 +36437,7 @@ export interface operations {
36162
36437
  path?: never;
36163
36438
  cookie?: never;
36164
36439
  };
36165
- requestBody?: {
36440
+ requestBody: {
36166
36441
  content: {
36167
36442
  "application/json": components["schemas"]["TwoCaptchaProxyRequest"];
36168
36443
  };
@@ -36293,7 +36568,7 @@ export interface operations {
36293
36568
  path?: never;
36294
36569
  cookie?: never;
36295
36570
  };
36296
- requestBody?: {
36571
+ requestBody: {
36297
36572
  content: {
36298
36573
  "application/json": {
36299
36574
  login_code: string;
@@ -36655,7 +36930,7 @@ export interface operations {
36655
36930
  };
36656
36931
  cookie?: never;
36657
36932
  };
36658
- requestBody?: {
36933
+ requestBody: {
36659
36934
  content: {
36660
36935
  "application/json": {
36661
36936
  hostname: string;
@@ -36863,7 +37138,7 @@ export interface operations {
36863
37138
  path?: never;
36864
37139
  cookie?: never;
36865
37140
  };
36866
- requestBody?: {
37141
+ requestBody: {
36867
37142
  content: {
36868
37143
  "application/json": components["schemas"]["TelemetryTrackRequest"];
36869
37144
  };
@@ -36926,55 +37201,6 @@ export interface operations {
36926
37201
  };
36927
37202
  };
36928
37203
  };
36929
- proxyWebhookSite: {
36930
- parameters: {
36931
- query?: never;
36932
- header?: never;
36933
- path?: never;
36934
- cookie?: never;
36935
- };
36936
- requestBody?: {
36937
- content: {
36938
- "application/json": components["schemas"]["PlaywrightUtilsProxyRequest"];
36939
- };
36940
- };
36941
- responses: {
36942
- /** @description Upstream provider response: its JSON body under `data` plus the upstream `headers`. */
36943
- 200: {
36944
- headers: {
36945
- [name: string]: unknown;
36946
- };
36947
- content: {
36948
- "application/json": components["schemas"]["PlaywrightUtilsProxyResponse"];
36949
- };
36950
- };
36951
- /** @description Invalid request body. */
36952
- 400: {
36953
- headers: {
36954
- [name: string]: unknown;
36955
- };
36956
- content: {
36957
- "application/json": components["schemas"]["ErrorResponse"];
36958
- };
36959
- };
36960
- /** @description Provider API key is not configured, or the proxied request failed. */
36961
- 500: {
36962
- headers: {
36963
- [name: string]: unknown;
36964
- };
36965
- content: {
36966
- "application/json": components["schemas"]["PlaywrightUtilsProxyError"];
36967
- };
36968
- };
36969
- /** @description The upstream provider's status code is forwarded unchanged (any non-2xx is passed through) with the same `{ data, headers }` body. */
36970
- 502: {
36971
- headers: {
36972
- [name: string]: unknown;
36973
- };
36974
- content?: never;
36975
- };
36976
- };
36977
- };
36978
37204
  listWebhooks: {
36979
37205
  parameters: {
36980
37206
  query?: never;
@@ -37011,7 +37237,7 @@ export interface operations {
37011
37237
  path?: never;
37012
37238
  cookie?: never;
37013
37239
  };
37014
- requestBody?: {
37240
+ requestBody: {
37015
37241
  content: {
37016
37242
  "application/json": components["schemas"]["CreateWebhookRequest"];
37017
37243
  };