@empiricalrun/playwright-utils 0.66.0 → 0.66.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @empiricalrun/playwright-utils
2
2
 
3
+ ## 0.66.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 1598d3d: Fix `@empiricalrun/playwright-utils/test` failing to load with "Cannot find module '@empiricalrun/shared-types/playwright-utils'"
8
+ - @empiricalrun/cua@0.6.0
9
+ - @empiricalrun/reporter@0.30.3
10
+
3
11
  ## 0.66.0
4
12
 
5
13
  ### Minor Changes
@@ -462,11 +462,7 @@ export interface paths {
462
462
  path?: never;
463
463
  cookie?: never;
464
464
  };
465
- /**
466
- * ⚙️ Get a test run's delegated triage session
467
- * @description Returns the newest delegated triage session whose source exactly matches the test run. Per-test fix sessions are excluded.
468
- */
469
- get: operations["getTestRunTriageSession"];
465
+ get?: never;
470
466
  put?: never;
471
467
  /**
472
468
  * ⚙️ Delegate a test run to triage
@@ -2808,6 +2804,46 @@ export interface paths {
2808
2804
  patch?: never;
2809
2805
  trace?: never;
2810
2806
  };
2807
+ "/api/chat-sessions/{id}/computers": {
2808
+ parameters: {
2809
+ query?: never;
2810
+ header?: never;
2811
+ path?: never;
2812
+ cookie?: never;
2813
+ };
2814
+ /**
2815
+ * ⚙️ List a session's computers
2816
+ * @description Lists the computers of a chat session that have a sandbox, with their lifecycle status. A computer appears once its sandbox is provisioned and disappears when it is destroyed.
2817
+ */
2818
+ get: operations["listChatSessionComputers"];
2819
+ put?: never;
2820
+ post?: never;
2821
+ delete?: never;
2822
+ options?: never;
2823
+ head?: never;
2824
+ patch?: never;
2825
+ trace?: never;
2826
+ };
2827
+ "/api/chat-sessions/{id}/computers/{name}/control": {
2828
+ parameters: {
2829
+ query?: never;
2830
+ header?: never;
2831
+ path?: never;
2832
+ cookie?: never;
2833
+ };
2834
+ get?: never;
2835
+ put?: never;
2836
+ /**
2837
+ * ⚙️ Pause, resume, or reprovision a computer
2838
+ * @description Pauses, resumes, or reprovisions one computer of a chat session. A paused computer also resumes on its next tool call.
2839
+ */
2840
+ post: operations["controlChatSessionComputer"];
2841
+ delete?: never;
2842
+ options?: never;
2843
+ head?: never;
2844
+ patch?: never;
2845
+ trace?: never;
2846
+ };
2811
2847
  "/api/chat-sessions/{id}/costs": {
2812
2848
  parameters: {
2813
2849
  query?: never;
@@ -3978,6 +4014,26 @@ export interface paths {
3978
4014
  patch?: never;
3979
4015
  trace?: never;
3980
4016
  };
4017
+ "/api/internal/project-blocks-sync": {
4018
+ parameters: {
4019
+ query?: never;
4020
+ header?: never;
4021
+ path?: never;
4022
+ cookie?: never;
4023
+ };
4024
+ get?: never;
4025
+ put?: never;
4026
+ /**
4027
+ * ⚙️ Enqueue project blocks syncs
4028
+ * @description Enqueues background jobs that regenerate agent prompt blocks from the default branch, for one project or every active project.
4029
+ */
4030
+ post: operations["enqueueProjectBlocksSync"];
4031
+ delete?: never;
4032
+ options?: never;
4033
+ head?: never;
4034
+ patch?: never;
4035
+ trace?: never;
4036
+ };
3981
4037
  "/api/internal/request-ingestion/jira/webhook": {
3982
4038
  parameters: {
3983
4039
  query?: never;
@@ -5386,6 +5442,26 @@ export interface paths {
5386
5442
  patch: operations["updatePlan"];
5387
5443
  trace?: never;
5388
5444
  };
5445
+ "/api/plans/{id}/migrate": {
5446
+ parameters: {
5447
+ query?: never;
5448
+ header?: never;
5449
+ path?: never;
5450
+ cookie?: never;
5451
+ };
5452
+ get?: never;
5453
+ put?: never;
5454
+ /**
5455
+ * 🛡️ Move a plan's Dodo subscribers to another plan
5456
+ * @description Schedules a Dodo plan change for every live subscription on the plan, effective at each subscription's next billing date: nothing is charged now, and the renewal bills the new plan. When Dodo applies it, the subscription webhook moves the org's plan assignment from the start of that billing cycle. Re-running replaces any change already scheduled. A subscription Dodo refuses is reported as `failed`; the rest still go through.
5457
+ */
5458
+ post: operations["migratePlanSubscribers"];
5459
+ delete?: never;
5460
+ options?: never;
5461
+ head?: never;
5462
+ patch?: never;
5463
+ trace?: never;
5464
+ };
5389
5465
  "/api/platform-issues": {
5390
5466
  parameters: {
5391
5467
  query?: never;
@@ -5538,6 +5614,26 @@ export interface paths {
5538
5614
  patch: operations["updateProject"];
5539
5615
  trace?: never;
5540
5616
  };
5617
+ "/api/projects/{id}/blocks-sync/trigger": {
5618
+ parameters: {
5619
+ query?: never;
5620
+ header?: never;
5621
+ path?: never;
5622
+ cookie?: never;
5623
+ };
5624
+ get?: never;
5625
+ put?: never;
5626
+ /**
5627
+ * ⚙️ Trigger a project blocks sync
5628
+ * @description Enqueues a background job that regenerates the project's agent prompt blocks from the default branch's latest commit.
5629
+ */
5630
+ post: operations["triggerProjectBlocksSync"];
5631
+ delete?: never;
5632
+ options?: never;
5633
+ head?: never;
5634
+ patch?: never;
5635
+ trace?: never;
5636
+ };
5541
5637
  "/api/projects/{id}/branch/rename": {
5542
5638
  parameters: {
5543
5639
  query?: never;
@@ -7284,7 +7380,7 @@ export interface components {
7284
7380
  updated_at: string;
7285
7381
  /** @description Owning project ID. */
7286
7382
  project_id: number;
7287
- /** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). The legacy values `chat` and `triage` mean the default agent, `main`. */
7383
+ /** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). */
7288
7384
  mode: string;
7289
7385
  /**
7290
7386
  * @description Workload class, assigned server-side; null for an ordinary user chat. Read-only — no request body accepts it.
@@ -7404,6 +7500,22 @@ export interface components {
7404
7500
  };
7405
7501
  };
7406
7502
  };
7503
+ ChatSessionComputer: {
7504
+ /** @description Computer name. */
7505
+ name: string;
7506
+ /**
7507
+ * @description Lifecycle status of the computer's sandbox.
7508
+ * @enum {string}
7509
+ */
7510
+ status: "none" | "creating" | "launching" | "ready" | "paused" | "resuming" | "destroyed" | "error";
7511
+ /** @description Provider sandbox ID. */
7512
+ sandbox_id: string;
7513
+ /** @description Sandbox provider. */
7514
+ provider: string;
7515
+ };
7516
+ ChatSessionComputerList: {
7517
+ computers: components["schemas"]["ChatSessionComputer"][];
7518
+ };
7407
7519
  ChatSessionCostTotals: {
7408
7520
  /** @description Main-agent cost. */
7409
7521
  main: number;
@@ -7508,7 +7620,7 @@ export interface components {
7508
7620
  updated_at: string;
7509
7621
  /** @description Owning project ID. */
7510
7622
  project_id: number;
7511
- /** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). The legacy values `chat` and `triage` mean the default agent, `main`. */
7623
+ /** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). */
7512
7624
  mode: string;
7513
7625
  /**
7514
7626
  * @description Workload class, assigned server-side; null for an ordinary user chat. Read-only — no request body accepts it.
@@ -7661,7 +7773,7 @@ export interface components {
7661
7773
  updated_at: string;
7662
7774
  /** @description Owning project ID. */
7663
7775
  project_id: number;
7664
- /** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). The legacy values `chat` and `triage` mean the default agent, `main`. */
7776
+ /** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). */
7665
7777
  mode: string;
7666
7778
  /**
7667
7779
  * @description Workload class, assigned server-side; null for an ordinary user chat. Read-only — no request body accepts it.
@@ -8221,7 +8333,10 @@ export interface components {
8221
8333
  snooze_until: string;
8222
8334
  /** @description Optional description explaining why the tests are being snoozed. */
8223
8335
  description?: string;
8224
- /** @description Optional user identifier for the snooze creator. Set automatically for dashboard users. */
8336
+ /**
8337
+ * Format: uuid
8338
+ * @description User ID of the snooze creator, who must belong to the project's org. Ignored for dashboard users, who are recorded as the creator. Defaults to the person who started the calling agent session.
8339
+ */
8225
8340
  created_by?: string;
8226
8341
  /** @description Environment ID to scope the snooze to. If omitted, applies to all environments. */
8227
8342
  scoped_to_environment_id?: number;
@@ -8806,6 +8921,17 @@ export interface components {
8806
8921
  /** @description Add-on plan (kind='addon') this period bills against. Super admin only. */
8807
8922
  plan_id?: number;
8808
8923
  };
8924
+ EnqueueProjectBlocksSyncRequest: {
8925
+ /** @description Project to sync. Omit to sync every active project. */
8926
+ project_id?: number;
8927
+ };
8928
+ EnqueueProjectBlocksSyncResponse: {
8929
+ /** @description Response payload. */
8930
+ data: {
8931
+ /** @description Number of sync jobs enqueued. */
8932
+ queued: number;
8933
+ };
8934
+ };
8809
8935
  EnqueueTestCasesSyncRequest: {
8810
8936
  /** @description Project whose test cases should be synced. */
8811
8937
  project_id: number;
@@ -9452,12 +9578,6 @@ export interface components {
9452
9578
  };
9453
9579
  };
9454
9580
  };
9455
- GetTestRunTriageSessionResponse: {
9456
- /** @description Response payload. */
9457
- data: {
9458
- chat_session: components["schemas"]["ChatSession"] & unknown;
9459
- };
9460
- };
9461
9581
  GetTestRunV2Response: {
9462
9582
  /** @description Response payload. */
9463
9583
  data: {
@@ -12310,6 +12430,13 @@ export interface components {
12310
12430
  tokens: number;
12311
12431
  credits: number;
12312
12432
  };
12433
+ ProjectBlocksSyncTriggeredResponse: {
12434
+ /** @description Response payload. */
12435
+ data: {
12436
+ /** @description Whether the sync job was enqueued. */
12437
+ queued: boolean;
12438
+ };
12439
+ };
12313
12440
  ProjectBranchesResponse: {
12314
12441
  /** @description Response payload. */
12315
12442
  data: {
@@ -13344,6 +13471,12 @@ export interface components {
13344
13471
  runner_backend: components["schemas"]["RunnerBackend"];
13345
13472
  };
13346
13473
  };
13474
+ RunningBackgroundJob: {
13475
+ toolCallId: string;
13476
+ jobId: string;
13477
+ command: string;
13478
+ calledAt: string;
13479
+ };
13347
13480
  SandboxActionSuccess: {
13348
13481
  /** @description Always true when the action succeeded. */
13349
13482
  success: boolean;
@@ -13538,6 +13671,8 @@ export interface components {
13538
13671
  };
13539
13672
  SessionTranscript: {
13540
13673
  rows: components["schemas"]["SessionTranscriptRow"][];
13674
+ /** @description Background jobs started by tool calls that have not ended as of last_seq. */
13675
+ background_jobs: components["schemas"]["RunningBackgroundJob"][];
13541
13676
  /** @description Media referenced by user and assistant text, keyed by handle. */
13542
13677
  media_refs: {
13543
13678
  [key: string]: components["schemas"]["SessionMedia"];
@@ -14316,7 +14451,7 @@ export interface components {
14316
14451
  description: string | null;
14317
14452
  /** @description ID of the test run that triggered the snooze creation, if applicable. */
14318
14453
  created_from_test_run_id: number | null;
14319
- /** @description User ID of the creator. Set automatically for dashboard users; `null` for API-created snoozes. */
14454
+ /** @description User ID of the creator, or `null` when no person is attributed. */
14320
14455
  created_by: string | null;
14321
14456
  /** @description ISO 8601 timestamp of when the snooze was created. */
14322
14457
  created_at: string;
@@ -14572,7 +14707,7 @@ export interface components {
14572
14707
  updated_at: string;
14573
14708
  /** @description Project ID. */
14574
14709
  project_id: number;
14575
- /** @description Session mode (e.g. `chat`). */
14710
+ /** @description Hive agent ref the session runs (e.g. `main`). */
14576
14711
  mode: string;
14577
14712
  /** @description Model used for the session. */
14578
14713
  model: string | null;
@@ -14600,7 +14735,7 @@ export interface components {
14600
14735
  updated_at: string;
14601
14736
  /** @description Project ID. */
14602
14737
  project_id: number;
14603
- /** @description Session mode (e.g. `chat`). */
14738
+ /** @description Hive agent ref the session runs (e.g. `main`). */
14604
14739
  mode: string;
14605
14740
  /** @description Model used for the session. */
14606
14741
  model: string | null;
@@ -15144,7 +15279,7 @@ export interface components {
15144
15279
  updated_at: string;
15145
15280
  /** @description Owning project ID. */
15146
15281
  project_id: number;
15147
- /** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). The legacy values `chat` and `triage` mean the default agent, `main`. */
15282
+ /** @description Hive agent ref the session runs (`<name>` or `<name>@<version>`). */
15148
15283
  mode: string;
15149
15284
  /**
15150
15285
  * @description Workload class, assigned server-side; null for an ordinary user chat. Read-only — no request body accepts it.
@@ -16383,6 +16518,11 @@ export interface components {
16383
16518
  scoped_to_environment_id?: number | null;
16384
16519
  /** @description Updated array of Playwright test IDs to snooze. */
16385
16520
  test_ids?: string[];
16521
+ /**
16522
+ * Format: uuid
16523
+ * @description User ID of the snooze creator, who must belong to the project's org.
16524
+ */
16525
+ created_by?: string;
16386
16526
  };
16387
16527
  UpdateTaskRequest: {
16388
16528
  /** @description New task title. */
@@ -17846,47 +17986,6 @@ export interface operations {
17846
17986
  };
17847
17987
  };
17848
17988
  };
17849
- getTestRunTriageSession: {
17850
- parameters: {
17851
- query?: never;
17852
- header?: never;
17853
- path: {
17854
- /** @description Test run database ID. */
17855
- id: number;
17856
- };
17857
- cookie?: never;
17858
- };
17859
- requestBody?: never;
17860
- responses: {
17861
- /** @description The newest triage session, if one exists. */
17862
- 200: {
17863
- headers: {
17864
- [name: string]: unknown;
17865
- };
17866
- content: {
17867
- "application/json": components["schemas"]["GetTestRunTriageSessionResponse"];
17868
- };
17869
- };
17870
- /** @description Invalid database test run ID. */
17871
- 400: {
17872
- headers: {
17873
- [name: string]: unknown;
17874
- };
17875
- content: {
17876
- "application/json": components["schemas"]["ErrorResponse"];
17877
- };
17878
- };
17879
- /** @description Test run not found or inaccessible. */
17880
- 404: {
17881
- headers: {
17882
- [name: string]: unknown;
17883
- };
17884
- content: {
17885
- "application/json": components["schemas"]["ErrorResponse"];
17886
- };
17887
- };
17888
- };
17889
- };
17890
17989
  createTestRunTriageSession: {
17891
17990
  parameters: {
17892
17991
  query?: never;
@@ -24824,6 +24923,7 @@ export interface operations {
24824
24923
  model?: string | null;
24825
24924
  /** @description Deprecated. Sessions start on the project default branch; a different branch is added to `message` as an instruction to work from it. */
24826
24925
  base_branch?: string | null;
24926
+ /** Format: uuid */
24827
24927
  created_by?: string | null;
24828
24928
  /** @description When the caller is an agent session, wake it the next time this session waits for input (one-shot). Defaults to true; pass false for a fire-and-forget message. Ignored for other callers. */
24829
24929
  subscribe?: boolean | null;
@@ -25083,6 +25183,109 @@ export interface operations {
25083
25183
  };
25084
25184
  };
25085
25185
  };
25186
+ listChatSessionComputers: {
25187
+ parameters: {
25188
+ query?: never;
25189
+ header?: never;
25190
+ path: {
25191
+ /** @description Chat session ID. */
25192
+ id: number;
25193
+ };
25194
+ cookie?: never;
25195
+ };
25196
+ requestBody?: never;
25197
+ responses: {
25198
+ /** @description Session computers. */
25199
+ 200: {
25200
+ headers: {
25201
+ [name: string]: unknown;
25202
+ };
25203
+ content: {
25204
+ "application/json": components["schemas"]["ChatSessionComputerList"];
25205
+ };
25206
+ };
25207
+ /** @description Invalid request. */
25208
+ 400: {
25209
+ headers: {
25210
+ [name: string]: unknown;
25211
+ };
25212
+ content: {
25213
+ "application/json": components["schemas"]["ErrorResponse"];
25214
+ };
25215
+ };
25216
+ /** @description Session not found. */
25217
+ 404: {
25218
+ headers: {
25219
+ [name: string]: unknown;
25220
+ };
25221
+ content: {
25222
+ "application/json": components["schemas"]["SandboxErrorMessage"];
25223
+ };
25224
+ };
25225
+ };
25226
+ };
25227
+ controlChatSessionComputer: {
25228
+ parameters: {
25229
+ query?: never;
25230
+ header?: never;
25231
+ path: {
25232
+ /** @description Chat session ID. */
25233
+ id: number;
25234
+ /** @description Computer name. */
25235
+ name: string;
25236
+ };
25237
+ cookie?: never;
25238
+ };
25239
+ requestBody?: {
25240
+ content: {
25241
+ "application/json": {
25242
+ /**
25243
+ * @description Lifecycle action to apply to the sandbox. `reprovision` builds a fresh sandbox for a session whose previous one failed to start (only acts from an errored/absent sandbox).
25244
+ * @enum {string}
25245
+ */
25246
+ action: "pause" | "resume" | "reprovision";
25247
+ };
25248
+ };
25249
+ };
25250
+ responses: {
25251
+ /** @description Action applied. */
25252
+ 200: {
25253
+ headers: {
25254
+ [name: string]: unknown;
25255
+ };
25256
+ content: {
25257
+ "application/json": components["schemas"]["SandboxActionSuccess"];
25258
+ };
25259
+ };
25260
+ /** @description Invalid request. */
25261
+ 400: {
25262
+ headers: {
25263
+ [name: string]: unknown;
25264
+ };
25265
+ content: {
25266
+ "application/json": components["schemas"]["ErrorResponse"];
25267
+ };
25268
+ };
25269
+ /** @description Computer not found. */
25270
+ 404: {
25271
+ headers: {
25272
+ [name: string]: unknown;
25273
+ };
25274
+ content: {
25275
+ "application/json": components["schemas"]["SandboxErrorMessage"];
25276
+ };
25277
+ };
25278
+ /** @description Lifecycle control failed. */
25279
+ 502: {
25280
+ headers: {
25281
+ [name: string]: unknown;
25282
+ };
25283
+ content: {
25284
+ "application/json": components["schemas"]["SandboxErrorMessage"];
25285
+ };
25286
+ };
25287
+ };
25288
+ };
25086
25289
  getChatSessionCosts: {
25087
25290
  parameters: {
25088
25291
  query?: never;
@@ -25532,6 +25735,7 @@ export interface operations {
25532
25735
  message: string;
25533
25736
  /** @enum {string} */
25534
25737
  send_action: "steer" | "follow_up";
25738
+ /** Format: uuid */
25535
25739
  created_by?: string | null;
25536
25740
  rpc_command_id?: string;
25537
25741
  /** @description When the caller is an agent session, wake it the next time this session waits for input (one-shot). Defaults to true; pass false for a fire-and-forget message. Ignored for other callers. */
@@ -26013,7 +26217,10 @@ export interface operations {
26013
26217
  };
26014
26218
  getChatSessionTranscript: {
26015
26219
  parameters: {
26016
- query?: never;
26220
+ query?: {
26221
+ /** @description When `false`, every tool call is its own `tool` row instead of being condensed into `tools` rows. Defaults to `true`. */
26222
+ group_tools?: "true" | "false";
26223
+ };
26017
26224
  header?: never;
26018
26225
  path: {
26019
26226
  /** @description Chat session ID. */
@@ -28040,6 +28247,48 @@ export interface operations {
28040
28247
  };
28041
28248
  };
28042
28249
  };
28250
+ enqueueProjectBlocksSync: {
28251
+ parameters: {
28252
+ query?: never;
28253
+ header?: never;
28254
+ path?: never;
28255
+ cookie?: never;
28256
+ };
28257
+ requestBody?: {
28258
+ content: {
28259
+ "application/json": components["schemas"]["EnqueueProjectBlocksSyncRequest"];
28260
+ };
28261
+ };
28262
+ responses: {
28263
+ /** @description The sync jobs were enqueued. */
28264
+ 202: {
28265
+ headers: {
28266
+ [name: string]: unknown;
28267
+ };
28268
+ content: {
28269
+ "application/json": components["schemas"]["EnqueueProjectBlocksSyncResponse"];
28270
+ };
28271
+ };
28272
+ /** @description Invalid request. */
28273
+ 400: {
28274
+ headers: {
28275
+ [name: string]: unknown;
28276
+ };
28277
+ content: {
28278
+ "application/json": components["schemas"]["ErrorResponse"];
28279
+ };
28280
+ };
28281
+ /** @description The jobs queue is not configured. */
28282
+ 500: {
28283
+ headers: {
28284
+ [name: string]: unknown;
28285
+ };
28286
+ content: {
28287
+ "application/json": components["schemas"]["ErrorResponse"];
28288
+ };
28289
+ };
28290
+ };
28291
+ };
28043
28292
  jiraWebhook: {
28044
28293
  parameters: {
28045
28294
  query?: never;
@@ -31224,6 +31473,8 @@ export interface operations {
31224
31473
  page?: number;
31225
31474
  /** @description Items per page (capped at 100). */
31226
31475
  per_page?: number;
31476
+ /** @description Comma-separated user IDs. When set, only these users are returned, and ids that are not members are left out. */
31477
+ ids?: string;
31227
31478
  };
31228
31479
  header?: never;
31229
31480
  path: {
@@ -31758,6 +32009,77 @@ export interface operations {
31758
32009
  };
31759
32010
  };
31760
32011
  };
32012
+ migratePlanSubscribers: {
32013
+ parameters: {
32014
+ query?: never;
32015
+ header?: never;
32016
+ path: {
32017
+ /** @description Plan to move subscribers off. */
32018
+ id: number;
32019
+ };
32020
+ cookie?: never;
32021
+ };
32022
+ requestBody?: {
32023
+ content: {
32024
+ "application/json": {
32025
+ /** @description Active shared plan with a Dodo product. */
32026
+ to_plan_id: number;
32027
+ /**
32028
+ * @description List what would be scheduled without calling Dodo.
32029
+ * @default false
32030
+ */
32031
+ dry_run?: boolean;
32032
+ };
32033
+ };
32034
+ };
32035
+ responses: {
32036
+ /** @description What was scheduled, per subscription. */
32037
+ 200: {
32038
+ headers: {
32039
+ [name: string]: unknown;
32040
+ };
32041
+ content: {
32042
+ "application/json": {
32043
+ /** @description Response payload. */
32044
+ data: {
32045
+ subscriptions: {
32046
+ org_id: number;
32047
+ dodo_subscription_id: string;
32048
+ /** @description The subscription's next billing date, when Dodo applies the change. */
32049
+ effective_at: string;
32050
+ /** @enum {string} */
32051
+ status: "scheduled" | "would_schedule" | "failed";
32052
+ error: string | null;
32053
+ }[];
32054
+ /** @description Open assignments on the plan without a Dodo subscription. They are not moved; end them and assign the new plan through /api/plan-assignments. */
32055
+ manual_assignments: {
32056
+ assignment_id: number;
32057
+ org_id: number;
32058
+ }[];
32059
+ };
32060
+ };
32061
+ };
32062
+ };
32063
+ /** @description Payments are not configured, or the target plan is the same plan, not active, or has no Dodo product. */
32064
+ 400: {
32065
+ headers: {
32066
+ [name: string]: unknown;
32067
+ };
32068
+ content: {
32069
+ "application/json": components["schemas"]["ErrorResponse"];
32070
+ };
32071
+ };
32072
+ /** @description Plan not found. */
32073
+ 404: {
32074
+ headers: {
32075
+ [name: string]: unknown;
32076
+ };
32077
+ content: {
32078
+ "application/json": components["schemas"]["ErrorResponse"];
32079
+ };
32080
+ };
32081
+ };
32082
+ };
31761
32083
  listPlatformIssues: {
31762
32084
  parameters: {
31763
32085
  query?: {
@@ -32239,6 +32561,47 @@ export interface operations {
32239
32561
  };
32240
32562
  };
32241
32563
  };
32564
+ triggerProjectBlocksSync: {
32565
+ parameters: {
32566
+ query?: never;
32567
+ header?: never;
32568
+ path: {
32569
+ /** @description Project ID. */
32570
+ id: number;
32571
+ };
32572
+ cookie?: never;
32573
+ };
32574
+ requestBody?: never;
32575
+ responses: {
32576
+ /** @description Sync job enqueued. */
32577
+ 202: {
32578
+ headers: {
32579
+ [name: string]: unknown;
32580
+ };
32581
+ content: {
32582
+ "application/json": components["schemas"]["ProjectBlocksSyncTriggeredResponse"];
32583
+ };
32584
+ };
32585
+ /** @description Project not found. */
32586
+ 404: {
32587
+ headers: {
32588
+ [name: string]: unknown;
32589
+ };
32590
+ content: {
32591
+ "application/json": components["schemas"]["ErrorResponse"];
32592
+ };
32593
+ };
32594
+ /** @description Jobs queue is not configured. */
32595
+ 500: {
32596
+ headers: {
32597
+ [name: string]: unknown;
32598
+ };
32599
+ content: {
32600
+ "application/json": components["schemas"]["ErrorResponse"];
32601
+ };
32602
+ };
32603
+ };
32604
+ };
32242
32605
  renameProjectBranch: {
32243
32606
  parameters: {
32244
32607
  query?: never;