windmill-client 1.739.0 → 1.741.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -35,23 +35,25 @@ export declare function getRootJobId(jobId?: string): Promise<string>;
35
35
  /**
36
36
  * @deprecated Use runScriptByPath or runScriptByHash instead
37
37
  */
38
- export declare function runScript(path?: string | null, hash_?: string | null, args?: Record<string, any> | null, verbose?: boolean): Promise<any>;
38
+ export declare function runScript(path?: string | null, hash_?: string | null, args?: Record<string, any> | null, verbose?: boolean, tag?: string | null): Promise<any>;
39
39
  /**
40
40
  * Run a script synchronously by its path and wait for the result
41
41
  * @param path - Script path in Windmill
42
42
  * @param args - Arguments to pass to the script
43
43
  * @param verbose - Enable verbose logging
44
+ * @param tag - Override the worker tag the job runs on
44
45
  * @returns Script execution result
45
46
  */
46
- export declare function runScriptByPath(path: string, args?: Record<string, any> | null, verbose?: boolean): Promise<any>;
47
+ export declare function runScriptByPath(path: string, args?: Record<string, any> | null, verbose?: boolean, tag?: string | null): Promise<any>;
47
48
  /**
48
49
  * Run a script synchronously by its hash and wait for the result
49
50
  * @param hash_ - Script hash in Windmill
50
51
  * @param args - Arguments to pass to the script
51
52
  * @param verbose - Enable verbose logging
53
+ * @param tag - Override the worker tag the job runs on
52
54
  * @returns Script execution result
53
55
  */
54
- export declare function runScriptByHash(hash_: string, args?: Record<string, any> | null, verbose?: boolean): Promise<any>;
56
+ export declare function runScriptByHash(hash_: string, args?: Record<string, any> | null, verbose?: boolean, tag?: string | null): Promise<any>;
55
57
  /**
56
58
  * Append a text to the result stream
57
59
  * @param text text to append to the result stream
@@ -67,9 +69,10 @@ export declare function streamResult(stream: AsyncIterable<string>): Promise<voi
67
69
  * @param path - Flow path in Windmill
68
70
  * @param args - Arguments to pass to the flow
69
71
  * @param verbose - Enable verbose logging
72
+ * @param tag - Override the worker tag the job runs on
70
73
  * @returns Flow execution result
71
74
  */
72
- export declare function runFlow(path?: string | null, args?: Record<string, any> | null, verbose?: boolean): Promise<any>;
75
+ export declare function runFlow(path?: string | null, args?: Record<string, any> | null, verbose?: boolean, tag?: string | null): Promise<any>;
73
76
  /**
74
77
  * Wait for a job to complete and return its result
75
78
  * @param jobId - ID of the job to wait for
@@ -92,32 +95,35 @@ export declare function getResultMaybe(jobId: string): Promise<any>;
92
95
  /**
93
96
  * @deprecated Use runScriptByPathAsync or runScriptByHashAsync instead
94
97
  */
95
- export declare function runScriptAsync(path: string | null, hash_: string | null, args: Record<string, any> | null, scheduledInSeconds?: number | null): Promise<string>;
98
+ export declare function runScriptAsync(path: string | null, hash_: string | null, args: Record<string, any> | null, scheduledInSeconds?: number | null, tag?: string | null): Promise<string>;
96
99
  /**
97
100
  * Run a script asynchronously by its path
98
101
  * @param path - Script path in Windmill
99
102
  * @param args - Arguments to pass to the script
100
103
  * @param scheduledInSeconds - Schedule execution for a future time (in seconds)
104
+ * @param tag - Override the worker tag the job runs on
101
105
  * @returns Job ID of the created job
102
106
  */
103
- export declare function runScriptByPathAsync(path: string, args?: Record<string, any> | null, scheduledInSeconds?: number | null): Promise<string>;
107
+ export declare function runScriptByPathAsync(path: string, args?: Record<string, any> | null, scheduledInSeconds?: number | null, tag?: string | null): Promise<string>;
104
108
  /**
105
109
  * Run a script asynchronously by its hash
106
110
  * @param hash_ - Script hash in Windmill
107
111
  * @param args - Arguments to pass to the script
108
112
  * @param scheduledInSeconds - Schedule execution for a future time (in seconds)
113
+ * @param tag - Override the worker tag the job runs on
109
114
  * @returns Job ID of the created job
110
115
  */
111
- export declare function runScriptByHashAsync(hash_: string, args?: Record<string, any> | null, scheduledInSeconds?: number | null): Promise<string>;
116
+ export declare function runScriptByHashAsync(hash_: string, args?: Record<string, any> | null, scheduledInSeconds?: number | null, tag?: string | null): Promise<string>;
112
117
  /**
113
118
  * Run a flow asynchronously by its path
114
119
  * @param path - Flow path in Windmill
115
120
  * @param args - Arguments to pass to the flow
116
121
  * @param scheduledInSeconds - Schedule execution for a future time (in seconds)
117
122
  * @param doNotTrackInParent - If false, tracks state in parent job (only use when fully awaiting the job)
123
+ * @param tag - Override the worker tag the job runs on
118
124
  * @returns Job ID of the created job
119
125
  */
120
- export declare function runFlowAsync(path: string | null, args: Record<string, any> | null, scheduledInSeconds?: number | null, doNotTrackInParent?: boolean): Promise<string>;
126
+ export declare function runFlowAsync(path: string | null, args: Record<string, any> | null, scheduledInSeconds?: number | null, doNotTrackInParent?: boolean, tag?: string | null): Promise<string>;
121
127
  /**
122
128
  * Resolve a resource value in case the default value was picked because the input payload was undefined
123
129
  * @param obj resource value or path of the resource under the format `$res:path`
package/dist/client.mjs CHANGED
@@ -73,18 +73,18 @@ async function getRootJobId(jobId) {
73
73
  /**
74
74
  * @deprecated Use runScriptByPath or runScriptByHash instead
75
75
  */
76
- async function runScript(path = null, hash_ = null, args = null, verbose = false) {
76
+ async function runScript(path = null, hash_ = null, args = null, verbose = false, tag = null) {
77
77
  console.warn("runScript is deprecated. Use runScriptByPath or runScriptByHash instead.");
78
78
  if (path && hash_) throw new Error("path and hash_ are mutually exclusive");
79
- return _runScriptInternal(path, hash_, args, verbose);
79
+ return _runScriptInternal(path, hash_, args, verbose, tag);
80
80
  }
81
- async function _runScriptInternal(path = null, hash_ = null, args = null, verbose = false) {
81
+ async function _runScriptInternal(path = null, hash_ = null, args = null, verbose = false, tag = null) {
82
82
  args = args || {};
83
83
  if (verbose) {
84
84
  if (path) console.info(`running \`${path}\` synchronously with args:`, args);
85
85
  else if (hash_) console.info(`running script with hash \`${hash_}\` synchronously with args:`, args);
86
86
  }
87
- const jobId = await _runScriptAsyncInternal(path, hash_, args);
87
+ const jobId = await _runScriptAsyncInternal(path, hash_, args, null, tag);
88
88
  return await waitJob(jobId, verbose);
89
89
  }
90
90
  /**
@@ -92,20 +92,22 @@ async function _runScriptInternal(path = null, hash_ = null, args = null, verbos
92
92
  * @param path - Script path in Windmill
93
93
  * @param args - Arguments to pass to the script
94
94
  * @param verbose - Enable verbose logging
95
+ * @param tag - Override the worker tag the job runs on
95
96
  * @returns Script execution result
96
97
  */
97
- async function runScriptByPath(path, args = null, verbose = false) {
98
- return _runScriptInternal(path, null, args, verbose);
98
+ async function runScriptByPath(path, args = null, verbose = false, tag = null) {
99
+ return _runScriptInternal(path, null, args, verbose, tag);
99
100
  }
100
101
  /**
101
102
  * Run a script synchronously by its hash and wait for the result
102
103
  * @param hash_ - Script hash in Windmill
103
104
  * @param args - Arguments to pass to the script
104
105
  * @param verbose - Enable verbose logging
106
+ * @param tag - Override the worker tag the job runs on
105
107
  * @returns Script execution result
106
108
  */
107
- async function runScriptByHash(hash_, args = null, verbose = false) {
108
- return _runScriptInternal(null, hash_, args, verbose);
109
+ async function runScriptByHash(hash_, args = null, verbose = false, tag = null) {
110
+ return _runScriptInternal(null, hash_, args, verbose, tag);
109
111
  }
110
112
  /**
111
113
  * Append a text to the result stream
@@ -126,12 +128,13 @@ async function streamResult(stream) {
126
128
  * @param path - Flow path in Windmill
127
129
  * @param args - Arguments to pass to the flow
128
130
  * @param verbose - Enable verbose logging
131
+ * @param tag - Override the worker tag the job runs on
129
132
  * @returns Flow execution result
130
133
  */
131
- async function runFlow(path = null, args = null, verbose = false) {
134
+ async function runFlow(path = null, args = null, verbose = false, tag = null) {
132
135
  args = args || {};
133
136
  if (verbose) console.info(`running \`${path}\` synchronously with args:`, args);
134
- const jobId = await runFlowAsync(path, args, null, false);
137
+ const jobId = await runFlowAsync(path, args, null, false, tag);
135
138
  return await waitJob(jobId, verbose);
136
139
  }
137
140
  /**
@@ -217,15 +220,16 @@ function getParamNames(func) {
217
220
  /**
218
221
  * @deprecated Use runScriptByPathAsync or runScriptByHashAsync instead
219
222
  */
220
- async function runScriptAsync(path, hash_, args, scheduledInSeconds = null) {
223
+ async function runScriptAsync(path, hash_, args, scheduledInSeconds = null, tag = null) {
221
224
  console.warn("runScriptAsync is deprecated. Use runScriptByPathAsync or runScriptByHashAsync instead.");
222
225
  if (path && hash_) throw new Error("path and hash_ are mutually exclusive");
223
- return _runScriptAsyncInternal(path, hash_, args, scheduledInSeconds);
226
+ return _runScriptAsyncInternal(path, hash_, args, scheduledInSeconds, tag);
224
227
  }
225
- async function _runScriptAsyncInternal(path = null, hash_ = null, args = null, scheduledInSeconds = null) {
228
+ async function _runScriptAsyncInternal(path = null, hash_ = null, args = null, scheduledInSeconds = null, tag = null) {
226
229
  args = args || {};
227
230
  const params = {};
228
231
  if (scheduledInSeconds) params["scheduled_in_secs"] = scheduledInSeconds;
232
+ if (tag) params["tag"] = tag;
229
233
  let parentJobId = getEnv("WM_JOB_ID");
230
234
  if (parentJobId !== void 0) params["parent_job"] = parentJobId;
231
235
  let rootJobId = getEnv("WM_ROOT_FLOW_JOB_ID");
@@ -250,20 +254,22 @@ async function _runScriptAsyncInternal(path = null, hash_ = null, args = null, s
250
254
  * @param path - Script path in Windmill
251
255
  * @param args - Arguments to pass to the script
252
256
  * @param scheduledInSeconds - Schedule execution for a future time (in seconds)
257
+ * @param tag - Override the worker tag the job runs on
253
258
  * @returns Job ID of the created job
254
259
  */
255
- async function runScriptByPathAsync(path, args = null, scheduledInSeconds = null) {
256
- return _runScriptAsyncInternal(path, null, args, scheduledInSeconds);
260
+ async function runScriptByPathAsync(path, args = null, scheduledInSeconds = null, tag = null) {
261
+ return _runScriptAsyncInternal(path, null, args, scheduledInSeconds, tag);
257
262
  }
258
263
  /**
259
264
  * Run a script asynchronously by its hash
260
265
  * @param hash_ - Script hash in Windmill
261
266
  * @param args - Arguments to pass to the script
262
267
  * @param scheduledInSeconds - Schedule execution for a future time (in seconds)
268
+ * @param tag - Override the worker tag the job runs on
263
269
  * @returns Job ID of the created job
264
270
  */
265
- async function runScriptByHashAsync(hash_, args = null, scheduledInSeconds = null) {
266
- return _runScriptAsyncInternal(null, hash_, args, scheduledInSeconds);
271
+ async function runScriptByHashAsync(hash_, args = null, scheduledInSeconds = null, tag = null) {
272
+ return _runScriptAsyncInternal(null, hash_, args, scheduledInSeconds, tag);
267
273
  }
268
274
  /**
269
275
  * Run a flow asynchronously by its path
@@ -271,12 +277,14 @@ async function runScriptByHashAsync(hash_, args = null, scheduledInSeconds = nul
271
277
  * @param args - Arguments to pass to the flow
272
278
  * @param scheduledInSeconds - Schedule execution for a future time (in seconds)
273
279
  * @param doNotTrackInParent - If false, tracks state in parent job (only use when fully awaiting the job)
280
+ * @param tag - Override the worker tag the job runs on
274
281
  * @returns Job ID of the created job
275
282
  */
276
- async function runFlowAsync(path, args, scheduledInSeconds = null, doNotTrackInParent = true) {
283
+ async function runFlowAsync(path, args, scheduledInSeconds = null, doNotTrackInParent = true, tag = null) {
277
284
  args = args || {};
278
285
  const params = {};
279
286
  if (scheduledInSeconds) params["scheduled_in_secs"] = scheduledInSeconds;
287
+ if (tag) params["tag"] = tag;
280
288
  if (!doNotTrackInParent) {
281
289
  let parentJobId = getEnv("WM_JOB_ID");
282
290
  if (parentJobId !== void 0) params["parent_job"] = parentJobId;
@@ -29,7 +29,7 @@ const OpenAPI = {
29
29
  PASSWORD: void 0,
30
30
  TOKEN: getEnv("WM_TOKEN"),
31
31
  USERNAME: void 0,
32
- VERSION: "1.739.0",
32
+ VERSION: "1.741.0",
33
33
  WITH_CREDENTIALS: true,
34
34
  interceptors: {
35
35
  request: new Interceptors(),
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ const OpenAPI = {
126
126
  PASSWORD: void 0,
127
127
  TOKEN: getEnv$1("WM_TOKEN"),
128
128
  USERNAME: void 0,
129
- VERSION: "1.739.0",
129
+ VERSION: "1.741.0",
130
130
  WITH_CREDENTIALS: true,
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -456,19 +456,35 @@ var HealthService = class {
456
456
  };
457
457
  var DocumentationService = class {
458
458
  /**
459
- * query Windmill AI documentation assistant (EE only)
459
+ * Full-text search across the entire Windmill documentation. Provide one or more keywords; returns the most relevant docs pages, each with its Source URL and short matching snippets. Use this FIRST to find relevant pages by their content (a flag, function, error message, config key or concept). If the snippets answer the question, answer directly; otherwise call readDocsPage with a returned Source URL to read more.
460
460
  * @param data The data for the request.
461
- * @param data.requestBody query to send to the AI documentation assistant
462
- * @returns unknown AI documentation assistant response
461
+ * @param data.query Keywords to search for in the documentation body, e.g. "chromium worker tag" or "retry exponential backoff". Fewer, more distinctive words match better.
462
+ * @returns unknown matching documentation pages
463
463
  * @throws ApiError
464
464
  */
465
- static queryDocumentation(data) {
465
+ static searchDocs(data) {
466
466
  return request(OpenAPI, {
467
- method: "POST",
468
- url: "/inkeep",
469
- body: data.requestBody,
470
- mediaType: "application/json",
471
- errors: { 403: "Enterprise Edition required" }
467
+ method: "GET",
468
+ url: "/docs/search",
469
+ query: { query: data.query }
470
+ });
471
+ }
472
+ /**
473
+ * Fetch the markdown of a single Windmill documentation page. Provide the `url` of a page found via searchDocs (its Source URL). If the page is large, this returns its list of section headings instead of the full content; call again with the `section` argument set to one of those headings to read that section.
474
+ * @param data The data for the request.
475
+ * @param data.url The docs page to read, as a Source URL returned by searchDocs (e.g. https://www.windmill.dev/docs/core_concepts/jobs). A bare path (e.g. /docs/core_concepts/jobs) is also accepted.
476
+ * @param data.section Optional. A heading title from the page outline to read just that section instead of the full page.
477
+ * @returns unknown documentation page content
478
+ * @throws ApiError
479
+ */
480
+ static readDocsPage(data) {
481
+ return request(OpenAPI, {
482
+ method: "GET",
483
+ url: "/docs/page",
484
+ query: {
485
+ url: data.url,
486
+ section: data.section
487
+ }
472
488
  });
473
489
  }
474
490
  };
@@ -3719,6 +3735,32 @@ var SettingService = class {
3719
3735
  });
3720
3736
  }
3721
3737
  /**
3738
+ * start an opt-in historical backfill of audit logs to object storage
3739
+ * @param data The data for the request.
3740
+ * @param data.requestBody
3741
+ * @returns unknown backfill started
3742
+ * @throws ApiError
3743
+ */
3744
+ static runAuditLogsS3Backfill(data) {
3745
+ return request(OpenAPI, {
3746
+ method: "POST",
3747
+ url: "/settings/audit_logs_s3_backfill",
3748
+ body: data.requestBody,
3749
+ mediaType: "application/json"
3750
+ });
3751
+ }
3752
+ /**
3753
+ * get status of the audit-log object-store historical backfill
3754
+ * @returns unknown current backfill status (null if never run)
3755
+ * @throws ApiError
3756
+ */
3757
+ static getAuditLogsS3BackfillStatus() {
3758
+ return request(OpenAPI, {
3759
+ method: "GET",
3760
+ url: "/settings/audit_logs_s3_backfill_status"
3761
+ });
3762
+ }
3763
+ /**
3722
3764
  * send stats
3723
3765
  * @returns string status
3724
3766
  * @throws ApiError
@@ -7988,6 +8030,7 @@ var JobService = class {
7988
8030
  * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
7989
8031
  *
7990
8032
  * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
8033
+ * @param data.timeout custom timeout in seconds for this preview run
7991
8034
  * @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
7992
8035
  * @returns string job created
7993
8036
  * @throws ApiError
@@ -8000,6 +8043,7 @@ var JobService = class {
8000
8043
  query: {
8001
8044
  include_header: data.includeHeader,
8002
8045
  invisible_to_owner: data.invisibleToOwner,
8046
+ timeout: data.timeout,
8003
8047
  job_id: data.jobId
8004
8048
  },
8005
8049
  body: data.requestBody,
@@ -8877,6 +8921,24 @@ var JobService = class {
8877
8921
  });
8878
8922
  }
8879
8923
  /**
8924
+ * get all logs for a flow job in a structured format
8925
+ * @param data The data for the request.
8926
+ * @param data.workspace
8927
+ * @param data.id
8928
+ * @returns unknown structured logs of all flow steps, one entry per job
8929
+ * @throws ApiError
8930
+ */
8931
+ static getFlowAllLogsStructured(data) {
8932
+ return request(OpenAPI, {
8933
+ method: "GET",
8934
+ url: "/w/{workspace}/jobs_u/get_flow_all_logs_structured/{id}",
8935
+ path: {
8936
+ workspace: data.workspace,
8937
+ id: data.id
8938
+ }
8939
+ });
8940
+ }
8941
+ /**
8880
8942
  * get completed job logs tail
8881
8943
  * @param data The data for the request.
8882
8944
  * @param data.workspace
@@ -15376,18 +15438,18 @@ async function getRootJobId(jobId) {
15376
15438
  /**
15377
15439
  * @deprecated Use runScriptByPath or runScriptByHash instead
15378
15440
  */
15379
- async function runScript(path = null, hash_ = null, args = null, verbose = false) {
15441
+ async function runScript(path = null, hash_ = null, args = null, verbose = false, tag = null) {
15380
15442
  console.warn("runScript is deprecated. Use runScriptByPath or runScriptByHash instead.");
15381
15443
  if (path && hash_) throw new Error("path and hash_ are mutually exclusive");
15382
- return _runScriptInternal(path, hash_, args, verbose);
15444
+ return _runScriptInternal(path, hash_, args, verbose, tag);
15383
15445
  }
15384
- async function _runScriptInternal(path = null, hash_ = null, args = null, verbose = false) {
15446
+ async function _runScriptInternal(path = null, hash_ = null, args = null, verbose = false, tag = null) {
15385
15447
  args = args || {};
15386
15448
  if (verbose) {
15387
15449
  if (path) console.info(`running \`${path}\` synchronously with args:`, args);
15388
15450
  else if (hash_) console.info(`running script with hash \`${hash_}\` synchronously with args:`, args);
15389
15451
  }
15390
- const jobId = await _runScriptAsyncInternal(path, hash_, args);
15452
+ const jobId = await _runScriptAsyncInternal(path, hash_, args, null, tag);
15391
15453
  return await waitJob(jobId, verbose);
15392
15454
  }
15393
15455
  /**
@@ -15395,20 +15457,22 @@ async function _runScriptInternal(path = null, hash_ = null, args = null, verbos
15395
15457
  * @param path - Script path in Windmill
15396
15458
  * @param args - Arguments to pass to the script
15397
15459
  * @param verbose - Enable verbose logging
15460
+ * @param tag - Override the worker tag the job runs on
15398
15461
  * @returns Script execution result
15399
15462
  */
15400
- async function runScriptByPath(path, args = null, verbose = false) {
15401
- return _runScriptInternal(path, null, args, verbose);
15463
+ async function runScriptByPath(path, args = null, verbose = false, tag = null) {
15464
+ return _runScriptInternal(path, null, args, verbose, tag);
15402
15465
  }
15403
15466
  /**
15404
15467
  * Run a script synchronously by its hash and wait for the result
15405
15468
  * @param hash_ - Script hash in Windmill
15406
15469
  * @param args - Arguments to pass to the script
15407
15470
  * @param verbose - Enable verbose logging
15471
+ * @param tag - Override the worker tag the job runs on
15408
15472
  * @returns Script execution result
15409
15473
  */
15410
- async function runScriptByHash(hash_, args = null, verbose = false) {
15411
- return _runScriptInternal(null, hash_, args, verbose);
15474
+ async function runScriptByHash(hash_, args = null, verbose = false, tag = null) {
15475
+ return _runScriptInternal(null, hash_, args, verbose, tag);
15412
15476
  }
15413
15477
  /**
15414
15478
  * Append a text to the result stream
@@ -15429,12 +15493,13 @@ async function streamResult(stream) {
15429
15493
  * @param path - Flow path in Windmill
15430
15494
  * @param args - Arguments to pass to the flow
15431
15495
  * @param verbose - Enable verbose logging
15496
+ * @param tag - Override the worker tag the job runs on
15432
15497
  * @returns Flow execution result
15433
15498
  */
15434
- async function runFlow(path = null, args = null, verbose = false) {
15499
+ async function runFlow(path = null, args = null, verbose = false, tag = null) {
15435
15500
  args = args || {};
15436
15501
  if (verbose) console.info(`running \`${path}\` synchronously with args:`, args);
15437
- const jobId = await runFlowAsync(path, args, null, false);
15502
+ const jobId = await runFlowAsync(path, args, null, false, tag);
15438
15503
  return await waitJob(jobId, verbose);
15439
15504
  }
15440
15505
  /**
@@ -15520,15 +15585,16 @@ function getParamNames(func) {
15520
15585
  /**
15521
15586
  * @deprecated Use runScriptByPathAsync or runScriptByHashAsync instead
15522
15587
  */
15523
- async function runScriptAsync(path, hash_, args, scheduledInSeconds = null) {
15588
+ async function runScriptAsync(path, hash_, args, scheduledInSeconds = null, tag = null) {
15524
15589
  console.warn("runScriptAsync is deprecated. Use runScriptByPathAsync or runScriptByHashAsync instead.");
15525
15590
  if (path && hash_) throw new Error("path and hash_ are mutually exclusive");
15526
- return _runScriptAsyncInternal(path, hash_, args, scheduledInSeconds);
15591
+ return _runScriptAsyncInternal(path, hash_, args, scheduledInSeconds, tag);
15527
15592
  }
15528
- async function _runScriptAsyncInternal(path = null, hash_ = null, args = null, scheduledInSeconds = null) {
15593
+ async function _runScriptAsyncInternal(path = null, hash_ = null, args = null, scheduledInSeconds = null, tag = null) {
15529
15594
  args = args || {};
15530
15595
  const params = {};
15531
15596
  if (scheduledInSeconds) params["scheduled_in_secs"] = scheduledInSeconds;
15597
+ if (tag) params["tag"] = tag;
15532
15598
  let parentJobId = getEnv("WM_JOB_ID");
15533
15599
  if (parentJobId !== void 0) params["parent_job"] = parentJobId;
15534
15600
  let rootJobId = getEnv("WM_ROOT_FLOW_JOB_ID");
@@ -15553,20 +15619,22 @@ async function _runScriptAsyncInternal(path = null, hash_ = null, args = null, s
15553
15619
  * @param path - Script path in Windmill
15554
15620
  * @param args - Arguments to pass to the script
15555
15621
  * @param scheduledInSeconds - Schedule execution for a future time (in seconds)
15622
+ * @param tag - Override the worker tag the job runs on
15556
15623
  * @returns Job ID of the created job
15557
15624
  */
15558
- async function runScriptByPathAsync(path, args = null, scheduledInSeconds = null) {
15559
- return _runScriptAsyncInternal(path, null, args, scheduledInSeconds);
15625
+ async function runScriptByPathAsync(path, args = null, scheduledInSeconds = null, tag = null) {
15626
+ return _runScriptAsyncInternal(path, null, args, scheduledInSeconds, tag);
15560
15627
  }
15561
15628
  /**
15562
15629
  * Run a script asynchronously by its hash
15563
15630
  * @param hash_ - Script hash in Windmill
15564
15631
  * @param args - Arguments to pass to the script
15565
15632
  * @param scheduledInSeconds - Schedule execution for a future time (in seconds)
15633
+ * @param tag - Override the worker tag the job runs on
15566
15634
  * @returns Job ID of the created job
15567
15635
  */
15568
- async function runScriptByHashAsync(hash_, args = null, scheduledInSeconds = null) {
15569
- return _runScriptAsyncInternal(null, hash_, args, scheduledInSeconds);
15636
+ async function runScriptByHashAsync(hash_, args = null, scheduledInSeconds = null, tag = null) {
15637
+ return _runScriptAsyncInternal(null, hash_, args, scheduledInSeconds, tag);
15570
15638
  }
15571
15639
  /**
15572
15640
  * Run a flow asynchronously by its path
@@ -15574,12 +15642,14 @@ async function runScriptByHashAsync(hash_, args = null, scheduledInSeconds = nul
15574
15642
  * @param args - Arguments to pass to the flow
15575
15643
  * @param scheduledInSeconds - Schedule execution for a future time (in seconds)
15576
15644
  * @param doNotTrackInParent - If false, tracks state in parent job (only use when fully awaiting the job)
15645
+ * @param tag - Override the worker tag the job runs on
15577
15646
  * @returns Job ID of the created job
15578
15647
  */
15579
- async function runFlowAsync(path, args, scheduledInSeconds = null, doNotTrackInParent = true) {
15648
+ async function runFlowAsync(path, args, scheduledInSeconds = null, doNotTrackInParent = true, tag = null) {
15580
15649
  args = args || {};
15581
15650
  const params = {};
15582
15651
  if (scheduledInSeconds) params["scheduled_in_secs"] = scheduledInSeconds;
15652
+ if (tag) params["tag"] = tag;
15583
15653
  if (!doNotTrackInParent) {
15584
15654
  let parentJobId = getEnv("WM_JOB_ID");
15585
15655
  if (parentJobId !== void 0) params["parent_job"] = parentJobId;
@@ -1,5 +1,5 @@
1
1
  import type { CancelablePromise } from './core/CancelablePromise';
2
- import type { BackendVersionResponse, BackendUptodateResponse, GetLicenseIdResponse, GetOpenApiYamlResponse, GetHealthStatusData, GetHealthStatusResponse, GetHealthDetailedResponse, QueryDocumentationData, QueryDocumentationResponse, GetAuditLogData, GetAuditLogResponse, ListAuditLogsData, ListAuditLogsResponse, LoginData, LoginResponse, LogoutResponse, IsSmtpConfiguredResponse, IsPasswordLoginDisabledResponse, RequestPasswordResetData, RequestPasswordResetResponse, ResetPasswordData, ResetPasswordResponse, GetUserData, GetUserResponse, UpdateUserData, UpdateUserResponse, IsOwnerOfPathData, IsOwnerOfPathResponse, SetPasswordData, SetPasswordResponse, SetPasswordForUserData, SetPasswordForUserResponse, SetLoginTypeForUserData, SetLoginTypeForUserResponse, CreateUserGloballyData, CreateUserGloballyResponse, GlobalUserUpdateData, GlobalUserUpdateResponse, GlobalUsernameInfoData, GlobalUsernameInfoResponse, GlobalUserRenameData, GlobalUserRenameResponse, GlobalUserDeleteData, GlobalUserDeleteResponse, GlobalUsersOverwriteData, GlobalUsersOverwriteResponse, GlobalUsersExportResponse, ListExtJwtTokensData, ListExtJwtTokensResponse, SubmitOnboardingDataData, SubmitOnboardingDataResponse, DeleteUserData, DeleteUserResponse, OffboardPreviewData, OffboardPreviewResponse, OffboardWorkspaceUserData, OffboardWorkspaceUserResponse, GlobalOffboardPreviewData, GlobalOffboardPreviewResponse, OffboardGlobalUserData, OffboardGlobalUserResponse, ConvertUserToGroupData, ConvertUserToGroupResponse, GetCurrentEmailResponse, RefreshUserTokenData, RefreshUserTokenResponse, GetTutorialProgressResponse, UpdateTutorialProgressData, UpdateTutorialProgressResponse, LeaveInstanceResponse, GetUsageResponse, GetRunnableResponse, GlobalWhoamiResponse, ListWorkspaceInvitesResponse, WhoamiData, WhoamiResponse, AcceptInviteData, AcceptInviteResponse, DeclineInviteData, DeclineInviteResponse, ImpersonateServiceAccountData, ImpersonateServiceAccountResponse, ExitImpersonationData, ExitImpersonationResponse, WhoisData, WhoisResponse, ExistsEmailData, ExistsEmailResponse, ListUsersAsSuperAdminData, ListUsersAsSuperAdminResponse, ListUsersData, ListUsersResponse, ListUsersUsageData, ListUsersUsageResponse, ListUsernamesData, ListUsernamesResponse, UsernameToEmailData, UsernameToEmailResponse, CreateTokenData, CreateTokenResponse, CreateTokenImpersonateData, CreateTokenImpersonateResponse, DeleteTokenData, DeleteTokenResponse, UpdateTokenScopesData, UpdateTokenScopesResponse, UpdateTokenLabelData, UpdateTokenLabelResponse, ListTokensData, ListTokensResponse, LoginWithOauthData, LoginWithOauthResponse, GetGlobalConnectedRepositoriesData, GetGlobalConnectedRepositoriesResponse, InstallFromWorkspaceData, InstallFromWorkspaceResponse, DeleteFromWorkspaceData, DeleteFromWorkspaceResponse, ExportInstallationData, ExportInstallationResponse, ImportInstallationData, ImportInstallationResponse, GhesInstallationCallbackData, GhesInstallationCallbackResponse, GetGhesConfigResponse, DiscoverGhesInstallationsResponse, AssignGhesInstallationData, AssignGhesInstallationResponse, UnassignGhesInstallationData, UnassignGhesInstallationResponse, ListWorkspacesResponse, IsDomainAllowedResponse, ListUserWorkspacesResponse, GetSessionWorkspaceStatusData, GetSessionWorkspaceStatusResponse, GetWorkspaceAsSuperAdminData, GetWorkspaceAsSuperAdminResponse, ListWorkspacesAsSuperAdminData, ListWorkspacesAsSuperAdminResponse, CreateWorkspaceData, CreateWorkspaceResponse, CreateWorkspaceForkGitBranchData, CreateWorkspaceForkGitBranchResponse, CreateWorkspaceForkData, CreateWorkspaceForkResponse, ExistsWorkspaceData, ExistsWorkspaceResponse, ExistsUsernameData, ExistsUsernameResponse, GetGithubAppTokenData, GetGithubAppTokenResponse, InviteUserData, InviteUserResponse, AddUserData, AddUserResponse, CreateServiceAccountData, CreateServiceAccountResponse, DeleteInviteData, DeleteInviteResponse, ArchiveWorkspaceData, ArchiveWorkspaceResponse, UnarchiveWorkspaceData, UnarchiveWorkspaceResponse, DeleteWorkspaceData, DeleteWorkspaceResponse, LeaveWorkspaceData, LeaveWorkspaceResponse, GetWorkspaceNameData, GetWorkspaceNameResponse, ChangeWorkspaceNameData, ChangeWorkspaceNameResponse, ChangeWorkspaceIdData, ChangeWorkspaceIdResponse, ChangeWorkspaceColorData, ChangeWorkspaceColorResponse, UpdateOperatorSettingsData, UpdateOperatorSettingsResponse, CompareWorkspacesData, CompareWorkspacesResponse, ResetDiffTallyData, ResetDiffTallyResponse, ListPendingInvitesData, ListPendingInvitesResponse, GetPublicSettingsData, GetPublicSettingsResponse, GetSettingsData, GetSettingsResponse, GetDeployToData, GetDeployToResponse, GetIsPremiumData, GetIsPremiumResponse, GetPremiumInfoData, GetPremiumInfoResponse, GetThresholdAlertData, GetThresholdAlertResponse, SetThresholdAlertData, SetThresholdAlertResponse, RebuildDependencyMapData, RebuildDependencyMapResponse, GetDependentsData, GetDependentsResponse, GetImportsData, GetImportsResponse, GetDependentsAmountsData, GetDependentsAmountsResponse, GetDependencyMapData, GetDependencyMapResponse, EditSlackCommandData, EditSlackCommandResponse, GetWorkspaceSlackOauthConfigData, GetWorkspaceSlackOauthConfigResponse, SetWorkspaceSlackOauthConfigData, SetWorkspaceSlackOauthConfigResponse, DeleteWorkspaceSlackOauthConfigData, DeleteWorkspaceSlackOauthConfigResponse, EditTeamsCommandData, EditTeamsCommandResponse, ListAvailableTeamsIdsData, ListAvailableTeamsIdsResponse, ListAvailableTeamsChannelsData, ListAvailableTeamsChannelsResponse, ConnectTeamsData, ConnectTeamsResponse, ConnectSlackData, ConnectSlackResponse, RunSlackMessageTestJobData, RunSlackMessageTestJobResponse, RunTeamsMessageTestJobData, RunTeamsMessageTestJobResponse, EditDeployToData, EditDeployToResponse, EditAutoInviteData, EditAutoInviteResponse, EditInstanceGroupsData, EditInstanceGroupsResponse, EditWebhookData, EditWebhookResponse, EditCopilotConfigData, EditCopilotConfigResponse, GetCopilotSettingsStateData, GetCopilotSettingsStateResponse, GetCopilotInfoData, GetCopilotInfoResponse, EditErrorHandlerData, EditErrorHandlerResponse, EditSuccessHandlerData, EditSuccessHandlerResponse, EditLargeFileStorageConfigData, EditLargeFileStorageConfigResponse, ListDucklakesData, ListDucklakesResponse, ListDataTablesData, ListDataTablesResponse, ListDataTableSchemasData, ListDataTableSchemasResponse, ListDataTableTablesData, ListDataTableTablesResponse, GetDataTableTableSchemaData, GetDataTableTableSchemaResponse, EditDucklakeConfigData, EditDucklakeConfigResponse, EditDataTableConfigData, EditDataTableConfigResponse, CreatePgDatabaseData, CreatePgDatabaseResponse, DropForkedDatatableDatabasesData, DropForkedDatatableDatabasesResponse, ImportPgDatabaseData, ImportPgDatabaseResponse, ExportPgSchemaData, ExportPgSchemaResponse, GetDatatableFullSchemaData, GetDatatableFullSchemaResponse, GetGitSyncEnabledData, GetGitSyncEnabledResponse, EditWorkspaceGitSyncConfigData, EditWorkspaceGitSyncConfigResponse, EditGitSyncRepositoryData, EditGitSyncRepositoryResponse, DeleteGitSyncRepositoryData, DeleteGitSyncRepositoryResponse, EditWorkspaceDeployUiSettingsData, EditWorkspaceDeployUiSettingsResponse, EditWorkspaceDefaultAppData, EditWorkspaceDefaultAppResponse, EditDefaultScriptsData, EditDefaultScriptsResponse, GetDefaultScriptsData, GetDefaultScriptsResponse, SetEnvironmentVariableData, SetEnvironmentVariableResponse, GetWorkspaceEncryptionKeyData, GetWorkspaceEncryptionKeyResponse, SetWorkspaceEncryptionKeyData, SetWorkspaceEncryptionKeyResponse, GetWorkspaceDefaultAppData, GetWorkspaceDefaultAppResponse, GetWorkspaceUsageData, GetWorkspaceUsageResponse, GetUsedTriggersData, GetUsedTriggersResponse, ListProtectionRulesData, ListProtectionRulesResponse, CreateProtectionRuleData, CreateProtectionRuleResponse, UpdateProtectionRuleData, UpdateProtectionRuleResponse, DeleteProtectionRuleData, DeleteProtectionRuleResponse, ListDeploymentRequestEligibleDeployersData, ListDeploymentRequestEligibleDeployersResponse, GetOpenDeploymentRequestData, GetOpenDeploymentRequestResponse, CreateDeploymentRequestData, CreateDeploymentRequestResponse, CancelDeploymentRequestData, CancelDeploymentRequestResponse, CloseDeploymentRequestMergedData, CloseDeploymentRequestMergedResponse, CreateDeploymentRequestCommentData, CreateDeploymentRequestCommentResponse, LogAiChatData, LogAiChatResponse, GetCloudQuotasData, GetCloudQuotasResponse, PruneVersionsData, PruneVersionsResponse, ListWsSpecificData, ListWsSpecificResponse, ListWsSpecificVersionsData, ListWsSpecificVersionsResponse, GetSharedUiData, GetSharedUiResponse, ListSharedUiData, ListSharedUiResponse, GetSharedUiVersionData, GetSharedUiVersionResponse, UpdateSharedUiData, UpdateSharedUiResponse, ListAiSkillsData, ListAiSkillsResponse, GetAiSkillData, GetAiSkillResponse, UploadAiSkillsData, UploadAiSkillsResponse, DeleteAiSkillData, DeleteAiSkillResponse, RefreshCustomInstanceUserPwdResponse, ListCustomInstanceDbsResponse, SetupCustomInstanceDbData, SetupCustomInstanceDbResponse, DropCustomInstanceDbData, DropCustomInstanceDbResponse, GetGlobalData, GetGlobalResponse, SetGlobalData, SetGlobalResponse, GetRuffConfigResponse, GetLocalResponse, TestSmtpData, TestSmtpResponse, TestCriticalChannelsData, TestCriticalChannelsResponse, GetCriticalAlertsData, GetCriticalAlertsResponse, AcknowledgeCriticalAlertData, AcknowledgeCriticalAlertResponse, AcknowledgeAllCriticalAlertsResponse, TestLicenseKeyData, TestLicenseKeyResponse, TestObjectStorageConfigData, TestObjectStorageConfigResponse, GetObjectStorageUsageResponse, ComputeObjectStorageUsageResponse, RunLogCleanupResponse, GetLogCleanupStatusResponse, GetAuditLogsS3StatusResponse, SendStatsResponse, RestartWorkerGroupData, RestartWorkerGroupResponse, GetStatsResponse, GetLatestKeyRenewalAttemptResponse, RenewLicenseKeyData, RenewLicenseKeyResponse, GetOfflineLicenseStatusResponse, GetInstanceHashResponse, CreateCustomerPortalSessionData, CreateCustomerPortalSessionResponse, TestMetadataData, TestMetadataResponse, ListGlobalSettingsResponse, GetInstanceConfigResponse, SetInstanceConfigData, SetInstanceConfigResponse, GetMinKeepAliveVersionResponse, GetJwksResponse, TestSecretBackendData, TestSecretBackendResponse, MigrateSecretsToVaultData, MigrateSecretsToVaultResponse, MigrateSecretsToDatabaseData, MigrateSecretsToDatabaseResponse, TestAzureKvBackendData, TestAzureKvBackendResponse, MigrateSecretsToAzureKvData, MigrateSecretsToAzureKvResponse, MigrateSecretsFromAzureKvData, MigrateSecretsFromAzureKvResponse, TestAwsSmBackendData, TestAwsSmBackendResponse, MigrateSecretsToAwsSmData, MigrateSecretsToAwsSmResponse, MigrateSecretsFromAwsSmData, MigrateSecretsFromAwsSmResponse, GetSecondaryStorageNamesData, GetSecondaryStorageNamesResponse, WorkspaceGetCriticalAlertsData, WorkspaceGetCriticalAlertsResponse, WorkspaceAcknowledgeCriticalAlertData, WorkspaceAcknowledgeCriticalAlertResponse, WorkspaceAcknowledgeAllCriticalAlertsData, WorkspaceAcknowledgeAllCriticalAlertsResponse, WorkspaceMuteCriticalAlertsUiData, WorkspaceMuteCriticalAlertsUiResponse, SetPublicAppRateLimitData, SetPublicAppRateLimitResponse, ListAvailableScopesResponse, GetOidcTokenData, GetOidcTokenResponse, CreateVariableData, CreateVariableResponse, EncryptValueData, EncryptValueResponse, DeleteVariableData, DeleteVariableResponse, DeleteVariablesBulkData, DeleteVariablesBulkResponse, UpdateVariableData, UpdateVariableResponse, GetVariableData, GetVariableResponse, GetVariableValueData, GetVariableValueResponse, ExistsVariableData, ExistsVariableResponse, ListVariableData, ListVariableResponse, ListContextualVariablesData, ListContextualVariablesResponse, ConnectSlackCallbackData, ConnectSlackCallbackResponse, ConnectSlackCallbackInstanceData, ConnectSlackCallbackInstanceResponse, ConnectSlackInstanceData, ConnectSlackInstanceResponse, ConnectCallbackData, ConnectCallbackResponse, CreateAccountData, CreateAccountResponse, ConnectClientCredentialsData, ConnectClientCredentialsResponse, RefreshTokenData, RefreshTokenResponse, DisconnectAccountData, DisconnectAccountResponse, DisconnectSlackData, DisconnectSlackResponse, DisconnectTeamsData, DisconnectTeamsResponse, ListOauthLoginsResponse, ListOauthConnectsResponse, GetOauthConnectData, GetOauthConnectResponse, SendMessageToConversationData, SendMessageToConversationResponse, CreateResourceData, CreateResourceResponse, DeleteResourceData, DeleteResourceResponse, DeleteResourcesBulkData, DeleteResourcesBulkResponse, UpdateResourceData, UpdateResourceResponse, UpdateResourceValueData, UpdateResourceValueResponse, GetResourceData, GetResourceResponse, GetResourceValueInterpolatedData, GetResourceValueInterpolatedResponse, GetResourceValueData, GetResourceValueResponse, GetGitCommitHashData, GetGitCommitHashResponse, ExistsResourceData, ExistsResourceResponse, ListResourceData, ListResourceResponse, ListSearchResourceData, ListSearchResourceResponse, GetMcpToolsData, GetMcpToolsResponse, ListResourceNamesData, ListResourceNamesResponse, CreateResourceTypeData, CreateResourceTypeResponse, FileResourceTypeToFileExtMapData, FileResourceTypeToFileExtMapResponse, DeleteResourceTypeData, DeleteResourceTypeResponse, UpdateResourceTypeData, UpdateResourceTypeResponse, GetResourceTypeData, GetResourceTypeResponse, ExistsResourceTypeData, ExistsResourceTypeResponse, ListResourceTypeData, ListResourceTypeResponse, ListResourceTypeNamesData, ListResourceTypeNamesResponse, QueryResourceTypesData, QueryResourceTypesResponse, GetNpmPackageMetadataData, GetNpmPackageMetadataResponse, ResolveNpmPackageVersionData, ResolveNpmPackageVersionResponse, GetNpmPackageFiletreeData, GetNpmPackageFiletreeResponse, GetNpmPackageFileData, GetNpmPackageFileResponse, ListHubIntegrationsData, ListHubIntegrationsResponse, ListHubFlowsResponse, GetHubFlowByIdData, GetHubFlowByIdResponse, ListFlowPathsData, ListFlowPathsResponse, ListSearchFlowData, ListSearchFlowResponse, ListFlowsData, ListFlowsResponse, GetFlowHistoryData, GetFlowHistoryResponse, GetFlowLatestVersionData, GetFlowLatestVersionResponse, ListFlowPathsFromWorkspaceRunnableData, ListFlowPathsFromWorkspaceRunnableResponse, GetFlowVersionData, GetFlowVersionResponse, UpdateFlowHistoryData, UpdateFlowHistoryResponse, GetFlowByPathData, GetFlowByPathResponse, GetFlowDeploymentStatusData, GetFlowDeploymentStatusResponse, GetTriggersCountOfFlowData, GetTriggersCountOfFlowResponse, ListTokensOfFlowData, ListTokensOfFlowResponse, ToggleWorkspaceErrorHandlerForFlowData, ToggleWorkspaceErrorHandlerForFlowResponse, ExistsFlowByPathData, ExistsFlowByPathResponse, CreateFlowData, CreateFlowResponse, UpdateFlowData, UpdateFlowResponse, ArchiveFlowByPathData, ArchiveFlowByPathResponse, DeleteFlowByPathData, DeleteFlowByPathResponse, ListHubAppsResponse, GetHubAppByIdData, GetHubAppByIdResponse, GetHubRawAppByIdData, GetHubRawAppByIdResponse, GetPublicAppByCustomPathData, GetPublicAppByCustomPathResponse, GetAppEmbedTokenByCustomPathData, GetAppEmbedTokenByCustomPathResponse, GetRawAppDataData, GetRawAppDataResponse, ListSearchAppData, ListSearchAppResponse, ListAppsData, ListAppsResponse, CreateAppData, CreateAppResponse, CreateAppRawData, CreateAppRawResponse, ExistsAppData, ExistsAppResponse, GetAppByPathData, GetAppByPathResponse, GetAppEmbedTokenByPathData, GetAppEmbedTokenByPathResponse, GetAppLiteByPathData, GetAppLiteByPathResponse, GetAppHistoryByPathData, GetAppHistoryByPathResponse, GetAppLatestVersionData, GetAppLatestVersionResponse, ListAppPathsFromWorkspaceRunnableData, ListAppPathsFromWorkspaceRunnableResponse, UpdateAppHistoryData, UpdateAppHistoryResponse, GetPublicAppBySecretData, GetPublicAppBySecretResponse, GetAppEmbedTokenBySecretData, GetAppEmbedTokenBySecretResponse, GetPublicResourceData, GetPublicResourceResponse, GetPublicSecretOfAppData, GetPublicSecretOfAppResponse, GetPublicSecretOfLatestVersionOfAppData, GetPublicSecretOfLatestVersionOfAppResponse, GetAppByVersionData, GetAppByVersionResponse, DeleteAppData, DeleteAppResponse, UpdateAppData, UpdateAppResponse, UpdateAppRawData, UpdateAppRawResponse, CustomPathExistsData, CustomPathExistsResponse, SignS3ObjectsData, SignS3ObjectsResponse, ExecuteComponentData, ExecuteComponentResponse, UploadS3FileFromAppData, UploadS3FileFromAppResponse, DeleteS3FileFromAppData, DeleteS3FileFromAppResponse, GetHubScriptContentByPathData, GetHubScriptContentByPathResponse, GetHubScriptByPathData, GetHubScriptByPathResponse, PickHubScriptByPathData, PickHubScriptByPathResponse, GetTopHubScriptsData, GetTopHubScriptsResponse, QueryHubScriptsData, QueryHubScriptsResponse, ListSearchScriptData, ListSearchScriptResponse, ListScriptsData, ListScriptsResponse, ListScriptPathsData, ListScriptPathsResponse, CreateScriptData, CreateScriptResponse, ToggleWorkspaceErrorHandlerForScriptData, ToggleWorkspaceErrorHandlerForScriptResponse, ArchiveScriptByPathData, ArchiveScriptByPathResponse, ArchiveScriptByHashData, ArchiveScriptByHashResponse, DeleteScriptByHashData, DeleteScriptByHashResponse, DeleteScriptByPathData, DeleteScriptByPathResponse, DeleteScriptsBulkData, DeleteScriptsBulkResponse, GetScriptByPathData, GetScriptByPathResponse, GetTriggersCountOfScriptData, GetTriggersCountOfScriptResponse, ListTokensOfScriptData, ListTokensOfScriptResponse, GetScriptHistoryByPathData, GetScriptHistoryByPathResponse, ListScriptPathsFromWorkspaceRunnableData, ListScriptPathsFromWorkspaceRunnableResponse, GetScriptLatestVersionData, GetScriptLatestVersionResponse, UpdateScriptHistoryData, UpdateScriptHistoryResponse, ListDedicatedWithDepsData, ListDedicatedWithDepsResponse, RawScriptByPathData, RawScriptByPathResponse, RawScriptByPathTokenedData, RawScriptByPathTokenedResponse, ExistsScriptByPathData, ExistsScriptByPathResponse, GetScriptByHashData, GetScriptByHashResponse, RawScriptByHashData, RawScriptByHashResponse, GetScriptDeploymentStatusData, GetScriptDeploymentStatusResponse, GetCiTestResultsData, GetCiTestResultsResponse, GetCiTestResultsBatchData, GetCiTestResultsBatchResponse, StoreRawScriptTempData, StoreRawScriptTempResponse, DiffRawScriptsWithDeployedData, DiffRawScriptsWithDeployedResponse, ListDraftsData, ListDraftsResponse, GetDraftForUserData, GetDraftForUserResponse, GetOwnDraftData, GetOwnDraftResponse, UpdateDraftData, UpdateDraftResponse, MigrateLegacyDraftData, MigrateLegacyDraftResponse, GetCustomTagsData, GetCustomTagsResponse, GetCustomTagsForWorkspaceData, GetCustomTagsForWorkspaceResponse, GeDefaultTagsResponse, IsDefaultTagsPerWorkspaceResponse, ListWorkersData, ListWorkersResponse, ExistsWorkersWithTagsData, ExistsWorkersWithTagsResponse, GetQueueMetricsResponse, GetCountsOfJobsWaitingPerTagResponse, GetCountsOfRunningJobsPerTagResponse, GetWorkspaceFairnessEventsResponse, CreateWorkspaceDependenciesData, CreateWorkspaceDependenciesResponse, ArchiveWorkspaceDependenciesData, ArchiveWorkspaceDependenciesResponse, DeleteWorkspaceDependenciesData, DeleteWorkspaceDependenciesResponse, ListWorkspaceDependenciesData, ListWorkspaceDependenciesResponse, GetLatestWorkspaceDependenciesData, GetLatestWorkspaceDependenciesResponse, ListSelectedJobGroupsData, ListSelectedJobGroupsResponse, RunScriptByPathData, RunScriptByPathResponse, RunWaitResultScriptByPathData, RunWaitResultScriptByPathResponse, RunWaitResultScriptByPathGetData, RunWaitResultScriptByPathGetResponse, RunWaitResultFlowByPathData, RunWaitResultFlowByPathResponse, RunWaitResultFlowByVersionData, RunWaitResultFlowByVersionResponse, RunWaitResultFlowByVersionGetData, RunWaitResultFlowByVersionGetResponse, RunAndStreamFlowByPathData, RunAndStreamFlowByPathResponse, RunAndStreamFlowByPathGetData, RunAndStreamFlowByPathGetResponse, RunAndStreamFlowByVersionData, RunAndStreamFlowByVersionResponse, RunAndStreamFlowByVersionGetData, RunAndStreamFlowByVersionGetResponse, RunAndStreamScriptByPathData, RunAndStreamScriptByPathResponse, RunAndStreamScriptByPathGetData, RunAndStreamScriptByPathGetResponse, RunAndStreamScriptByHashData, RunAndStreamScriptByHashResponse, RunAndStreamScriptByHashGetData, RunAndStreamScriptByHashGetResponse, ResultByIdData, ResultByIdResponse, GetJobViewTokenData, GetJobViewTokenResponse, RunFlowByPathData, RunFlowByPathResponse, RunFlowByVersionData, RunFlowByVersionResponse, BatchReRunJobsData, BatchReRunJobsResponse, RestartFlowAtStepData, RestartFlowAtStepResponse, RunScriptByHashData, RunScriptByHashResponse, RunScriptPreviewData, RunScriptPreviewResponse, RunScriptPreviewInlineData, RunScriptPreviewInlineResponse, RunScriptByPathInlineData, RunScriptByPathInlineResponse, RunScriptByHashInlineData, RunScriptByHashInlineResponse, RunScriptPreviewAndWaitResultData, RunScriptPreviewAndWaitResultResponse, RunCodeWorkflowTaskData, RunCodeWorkflowTaskResponse, RunRawScriptDependenciesData, RunRawScriptDependenciesResponse, RunRawScriptDependenciesAsyncData, RunRawScriptDependenciesAsyncResponse, RunFlowDependenciesAsyncData, RunFlowDependenciesAsyncResponse, RunFlowPreviewData, RunFlowPreviewResponse, RunFlowPreviewAndWaitResultData, RunFlowPreviewAndWaitResultResponse, RunDynamicSelectData, RunDynamicSelectResponse, ListQueueData, ListQueueResponse, GetQueueCountData, GetQueueCountResponse, GetCompletedCountData, GetCompletedCountResponse, CountCompletedJobsData, CountCompletedJobsResponse, ListFilteredJobsUuidsData, ListFilteredJobsUuidsResponse, ListFilteredQueueUuidsData, ListFilteredQueueUuidsResponse, CancelSelectionData, CancelSelectionResponse, GetJobOtelTracesData, GetJobOtelTracesResponse, ListCompletedJobsData, ListCompletedJobsResponse, ExportCompletedJobsData, ExportCompletedJobsResponse, ImportCompletedJobsData, ImportCompletedJobsResponse, ExportQueuedJobsData, ExportQueuedJobsResponse, ImportQueuedJobsData, ImportQueuedJobsResponse, DeleteJobsData, DeleteJobsResponse, ListJobsData, ListJobsResponse, GetDbClockResponse, CountJobsByTagData, CountJobsByTagResponse, GetJobData, GetJobResponse, GetRootJobIdData, GetRootJobIdResponse, GetJobLogsData, GetJobLogsResponse, GetFlowAllLogsData, GetFlowAllLogsResponse, GetCompletedJobLogsTailData, GetCompletedJobLogsTailResponse, GetJobArgsData, GetJobArgsResponse, GetStartedAtByIdsData, GetStartedAtByIdsResponse, GetJobUpdatesData, GetJobUpdatesResponse, GetJobUpdatesSseData, GetJobUpdatesSseResponse, GetLogFileFromStoreData, GetLogFileFromStoreResponse, GetFlowDebugInfoData, GetFlowDebugInfoResponse, GetCompletedJobData, GetCompletedJobResponse, GetCompletedJobResultData, GetCompletedJobResultResponse, GetCompletedJobResultMaybeData, GetCompletedJobResultMaybeResponse, GetCompletedJobTimingData, GetCompletedJobTimingResponse, ListDispatchEventsData, ListDispatchEventsResponse, ListAssetDispatchEdgesData, ListAssetDispatchEdgesResponse, DeleteCompletedJobData, DeleteCompletedJobResponse, CancelQueuedJobData, CancelQueuedJobResponse, CancelPersistentQueuedJobsData, CancelPersistentQueuedJobsResponse, ForceCancelQueuedJobData, ForceCancelQueuedJobResponse, GetQueuePositionData, GetQueuePositionResponse, GetScheduledForData, GetScheduledForResponse, CreateJobSignatureData, CreateJobSignatureResponse, GetResumeUrlsData, GetResumeUrlsResponse, GetSlackApprovalPayloadData, GetSlackApprovalPayloadResponse, GetTeamsApprovalPayloadData, GetTeamsApprovalPayloadResponse, ResumeSuspendedData, ResumeSuspendedResponse, GetApprovalInfoData, GetApprovalInfoResponse, ResumeSuspendedJobGetData, ResumeSuspendedJobGetResponse, ResumeSuspendedJobPostData, ResumeSuspendedJobPostResponse, SetFlowUserStateData, SetFlowUserStateResponse, GetFlowUserStateData, GetFlowUserStateResponse, ResumeSuspendedFlowAsOwnerData, ResumeSuspendedFlowAsOwnerResponse, CancelSuspendedJobGetData, CancelSuspendedJobGetResponse, CancelSuspendedJobPostData, CancelSuspendedJobPostResponse, GetSuspendedJobFlowData, GetSuspendedJobFlowResponse, ListExtendedJobsData, ListExtendedJobsResponse, ListFlowConversationsData, ListFlowConversationsResponse, DeleteFlowConversationData, DeleteFlowConversationResponse, ListConversationMessagesData, ListConversationMessagesResponse, ListPathAutocompletePathsData, ListPathAutocompletePathsResponse, ListRawAppsData, ListRawAppsResponse, ResumeSuspendedTriggerJobsData, ResumeSuspendedTriggerJobsResponse, CancelSuspendedTriggerJobsData, CancelSuspendedTriggerJobsResponse, PreviewScheduleData, PreviewScheduleResponse, CreateScheduleData, CreateScheduleResponse, UpdateScheduleData, UpdateScheduleResponse, SetScheduleEnabledData, SetScheduleEnabledResponse, DeleteScheduleData, DeleteScheduleResponse, GetScheduleData, GetScheduleResponse, ExistsScheduleData, ExistsScheduleResponse, ListSchedulesData, ListSchedulesResponse, ListSchedulesWithJobsData, ListSchedulesWithJobsResponse, SetDefaultErrorOrRecoveryHandlerData, SetDefaultErrorOrRecoveryHandlerResponse, GenerateOpenapiSpecData, GenerateOpenapiSpecResponse, DownloadOpenapiSpecData, DownloadOpenapiSpecResponse, CreateHttpTriggersData, CreateHttpTriggersResponse, CreateHttpTriggerData, CreateHttpTriggerResponse, UpdateHttpTriggerData, UpdateHttpTriggerResponse, DeleteHttpTriggerData, DeleteHttpTriggerResponse, GetHttpTriggerData, GetHttpTriggerResponse, ListHttpTriggersData, ListHttpTriggersResponse, ExistsHttpTriggerData, ExistsHttpTriggerResponse, ExistsRouteData, ExistsRouteResponse, SetHttpTriggerModeData, SetHttpTriggerModeResponse, CreateWebsocketTriggerData, CreateWebsocketTriggerResponse, UpdateWebsocketTriggerData, UpdateWebsocketTriggerResponse, DeleteWebsocketTriggerData, DeleteWebsocketTriggerResponse, GetWebsocketTriggerData, GetWebsocketTriggerResponse, ListWebsocketTriggersData, ListWebsocketTriggersResponse, ExistsWebsocketTriggerData, ExistsWebsocketTriggerResponse, SetWebsocketTriggerModeData, SetWebsocketTriggerModeResponse, TestWebsocketConnectionData, TestWebsocketConnectionResponse, CreateKafkaTriggerData, CreateKafkaTriggerResponse, UpdateKafkaTriggerData, UpdateKafkaTriggerResponse, DeleteKafkaTriggerData, DeleteKafkaTriggerResponse, GetKafkaTriggerData, GetKafkaTriggerResponse, ListKafkaTriggersData, ListKafkaTriggersResponse, ExistsKafkaTriggerData, ExistsKafkaTriggerResponse, SetKafkaTriggerModeData, SetKafkaTriggerModeResponse, TestKafkaConnectionData, TestKafkaConnectionResponse, ResetKafkaOffsetsData, ResetKafkaOffsetsResponse, CommitKafkaOffsetsData, CommitKafkaOffsetsResponse, CreateNatsTriggerData, CreateNatsTriggerResponse, UpdateNatsTriggerData, UpdateNatsTriggerResponse, DeleteNatsTriggerData, DeleteNatsTriggerResponse, GetNatsTriggerData, GetNatsTriggerResponse, ListNatsTriggersData, ListNatsTriggersResponse, ExistsNatsTriggerData, ExistsNatsTriggerResponse, SetNatsTriggerModeData, SetNatsTriggerModeResponse, TestNatsConnectionData, TestNatsConnectionResponse, CreateSqsTriggerData, CreateSqsTriggerResponse, UpdateSqsTriggerData, UpdateSqsTriggerResponse, DeleteSqsTriggerData, DeleteSqsTriggerResponse, GetSqsTriggerData, GetSqsTriggerResponse, ListSqsTriggersData, ListSqsTriggersResponse, ExistsSqsTriggerData, ExistsSqsTriggerResponse, SetSqsTriggerModeData, SetSqsTriggerModeResponse, TestSqsConnectionData, TestSqsConnectionResponse, ListNativeTriggerServicesData, ListNativeTriggerServicesResponse, CheckIfNativeTriggersServiceExistsData, CheckIfNativeTriggersServiceExistsResponse, CreateNativeTriggerServiceData, CreateNativeTriggerServiceResponse, GenerateNativeTriggerServiceConnectUrlData, GenerateNativeTriggerServiceConnectUrlResponse, CheckInstanceSharingAvailableData, CheckInstanceSharingAvailableResponse, GenerateInstanceConnectUrlData, GenerateInstanceConnectUrlResponse, DeleteNativeTriggerServiceData, DeleteNativeTriggerServiceResponse, NativeTriggerServiceCallbackData, NativeTriggerServiceCallbackResponse, CreateNativeTriggerData, CreateNativeTriggerResponse, UpdateNativeTriggerData, UpdateNativeTriggerResponse, GetNativeTriggerData, GetNativeTriggerResponse, DeleteNativeTriggerData, DeleteNativeTriggerResponse, ListNativeTriggersData, ListNativeTriggersResponse, ExistsNativeTriggerData, ExistsNativeTriggerResponse, SyncNativeTriggersData, SyncNativeTriggersResponse, ListNextCloudEventsData, ListNextCloudEventsResponse, ListGoogleCalendarsData, ListGoogleCalendarsResponse, ListGoogleDriveFilesData, ListGoogleDriveFilesResponse, ListGoogleSharedDrivesData, ListGoogleSharedDrivesResponse, ListGithubReposData, ListGithubReposResponse, NativeTriggerWebhookData, NativeTriggerWebhookResponse, CreateMqttTriggerData, CreateMqttTriggerResponse, UpdateMqttTriggerData, UpdateMqttTriggerResponse, DeleteMqttTriggerData, DeleteMqttTriggerResponse, GetMqttTriggerData, GetMqttTriggerResponse, ListMqttTriggersData, ListMqttTriggersResponse, ExistsMqttTriggerData, ExistsMqttTriggerResponse, SetMqttTriggerModeData, SetMqttTriggerModeResponse, TestMqttConnectionData, TestMqttConnectionResponse, CreateGcpTriggerData, CreateGcpTriggerResponse, UpdateGcpTriggerData, UpdateGcpTriggerResponse, DeleteGcpTriggerData, DeleteGcpTriggerResponse, GetGcpTriggerData, GetGcpTriggerResponse, ListGcpTriggersData, ListGcpTriggersResponse, ExistsGcpTriggerData, ExistsGcpTriggerResponse, SetGcpTriggerModeData, SetGcpTriggerModeResponse, TestGcpConnectionData, TestGcpConnectionResponse, DeleteGcpSubscriptionData, DeleteGcpSubscriptionResponse, ListGoogleTopicsData, ListGoogleTopicsResponse, ListAllTgoogleTopicSubscriptionsData, ListAllTgoogleTopicSubscriptionsResponse, CreateAzureTriggerData, CreateAzureTriggerResponse, UpdateAzureTriggerData, UpdateAzureTriggerResponse, DeleteAzureTriggerData, DeleteAzureTriggerResponse, GetAzureTriggerData, GetAzureTriggerResponse, ListAzureTriggersData, ListAzureTriggersResponse, ExistsAzureTriggerData, ExistsAzureTriggerResponse, SetAzureTriggerModeData, SetAzureTriggerModeResponse, TestAzureConnectionData, TestAzureConnectionResponse, ListAzureNamespaceTopicsData, ListAzureNamespaceTopicsResponse, ListAzureNamespaceSubscriptionsData, ListAzureNamespaceSubscriptionsResponse, DeleteAzureSubscriptionData, DeleteAzureSubscriptionResponse, ListAzureNamespacesData, ListAzureNamespacesResponse, ListAzureBasicTopicsData, ListAzureBasicTopicsResponse, GetPostgresVersionData, GetPostgresVersionResponse, IsValidPostgresConfigurationData, IsValidPostgresConfigurationResponse, CreateTemplateScriptData, CreateTemplateScriptResponse, GetTemplateScriptData, GetTemplateScriptResponse, ListPostgresReplicationSlotData, ListPostgresReplicationSlotResponse, CreatePostgresReplicationSlotData, CreatePostgresReplicationSlotResponse, DeletePostgresReplicationSlotData, DeletePostgresReplicationSlotResponse, ListPostgresPublicationData, ListPostgresPublicationResponse, GetPostgresPublicationData, GetPostgresPublicationResponse, CreatePostgresPublicationData, CreatePostgresPublicationResponse, UpdatePostgresPublicationData, UpdatePostgresPublicationResponse, DeletePostgresPublicationData, DeletePostgresPublicationResponse, CreatePostgresTriggerData, CreatePostgresTriggerResponse, UpdatePostgresTriggerData, UpdatePostgresTriggerResponse, DeletePostgresTriggerData, DeletePostgresTriggerResponse, GetPostgresTriggerData, GetPostgresTriggerResponse, ListPostgresTriggersData, ListPostgresTriggersResponse, ExistsPostgresTriggerData, ExistsPostgresTriggerResponse, SetPostgresTriggerModeData, SetPostgresTriggerModeResponse, TestPostgresConnectionData, TestPostgresConnectionResponse, CreateEmailTriggerData, CreateEmailTriggerResponse, UpdateEmailTriggerData, UpdateEmailTriggerResponse, DeleteEmailTriggerData, DeleteEmailTriggerResponse, GetEmailTriggerData, GetEmailTriggerResponse, ListEmailTriggersData, ListEmailTriggersResponse, ExistsEmailTriggerData, ExistsEmailTriggerResponse, ExistsEmailLocalPartData, ExistsEmailLocalPartResponse, SetEmailTriggerModeData, SetEmailTriggerModeResponse, ListInstanceGroupsResponse, ListInstanceGroupsWithWorkspacesResponse, GetInstanceGroupData, GetInstanceGroupResponse, CreateInstanceGroupData, CreateInstanceGroupResponse, UpdateInstanceGroupData, UpdateInstanceGroupResponse, DeleteInstanceGroupData, DeleteInstanceGroupResponse, AddUserToInstanceGroupData, AddUserToInstanceGroupResponse, RemoveUserFromInstanceGroupData, RemoveUserFromInstanceGroupResponse, ExportInstanceGroupsResponse, OverwriteInstanceGroupsData, OverwriteInstanceGroupsResponse, ListGroupsData, ListGroupsResponse, ListGroupNamesData, ListGroupNamesResponse, CreateGroupData, CreateGroupResponse, UpdateGroupData, UpdateGroupResponse, DeleteGroupData, DeleteGroupResponse, GetGroupData, GetGroupResponse, AddUserToGroupData, AddUserToGroupResponse, RemoveUserToGroupData, RemoveUserToGroupResponse, GetGroupPermissionHistoryData, GetGroupPermissionHistoryResponse, ListFoldersData, ListFoldersResponse, ListFolderNamesData, ListFolderNamesResponse, CreateFolderData, CreateFolderResponse, UpdateFolderData, UpdateFolderResponse, DeleteFolderData, DeleteFolderResponse, GetFolderData, GetFolderResponse, ExistsFolderData, ExistsFolderResponse, GetFolderUsageData, GetFolderUsageResponse, AddOwnerToFolderData, AddOwnerToFolderResponse, RemoveOwnerToFolderData, RemoveOwnerToFolderResponse, GetFolderPermissionHistoryData, GetFolderPermissionHistoryResponse, ListWorkerGroupsResponse, GetConfigData, GetConfigResponse, UpdateConfigData, UpdateConfigResponse, DeleteConfigData, DeleteConfigResponse, ListConfigsResponse, ListAutoscalingEventsData, ListAutoscalingEventsResponse, NativeKubernetesAutoscalingHealthcheckResponse, ListAvailablePythonVersionsResponse, ListAllWorkspaceDependenciesResponse, ListAllDedicatedWithDepsResponse, CreateAgentTokenData, CreateAgentTokenResponse, BlacklistAgentTokenData, BlacklistAgentTokenResponse, RemoveBlacklistAgentTokenData, RemoveBlacklistAgentTokenResponse, ListBlacklistedAgentTokensData, ListBlacklistedAgentTokensResponse, GetMinVersionResponse, GetGranularAclsData, GetGranularAclsResponse, AddGranularAclsData, AddGranularAclsResponse, RemoveGranularAclsData, RemoveGranularAclsResponse, SetCaptureConfigData, SetCaptureConfigResponse, PingCaptureConfigData, PingCaptureConfigResponse, GetCaptureConfigsData, GetCaptureConfigsResponse, ListCapturesData, ListCapturesResponse, MoveCapturesAndConfigsData, MoveCapturesAndConfigsResponse, GetCaptureData, GetCaptureResponse, DeleteCaptureData, DeleteCaptureResponse, StarData, StarResponse, UnstarData, UnstarResponse, GetInputHistoryData, GetInputHistoryResponse, GetArgsFromHistoryOrSavedInputData, GetArgsFromHistoryOrSavedInputResponse, ListInputsData, ListInputsResponse, CreateInputData, CreateInputResponse, UpdateInputData, UpdateInputResponse, DeleteInputData, DeleteInputResponse, DuckdbConnectionSettingsData, DuckdbConnectionSettingsResponse, DuckdbConnectionSettingsV2Data, DuckdbConnectionSettingsV2Response, PolarsConnectionSettingsData, PolarsConnectionSettingsResponse, PolarsConnectionSettingsV2Data, PolarsConnectionSettingsV2Response, S3ResourceInfoData, S3ResourceInfoResponse, DatasetStorageTestConnectionData, DatasetStorageTestConnectionResponse, ListStoredFilesData, ListStoredFilesResponse, LoadFileMetadataData, LoadFileMetadataResponse, LoadFilePreviewData, LoadFilePreviewResponse, ListGitRepoFilesData, ListGitRepoFilesResponse, LoadGitRepoFilePreviewData, LoadGitRepoFilePreviewResponse, LoadGitRepoFileMetadataData, LoadGitRepoFileMetadataResponse, CheckS3FolderExistsData, CheckS3FolderExistsResponse, LoadParquetPreviewData, LoadParquetPreviewResponse, LoadTableRowCountData, LoadTableRowCountResponse, LoadCsvPreviewData, LoadCsvPreviewResponse, DeleteS3FileData, DeleteS3FileResponse, MoveS3FileData, MoveS3FileResponse, FileUploadData, FileUploadResponse, GitRepoViewerFileUploadData, GitRepoViewerFileUploadResponse, FileDownloadData, FileDownloadResponse, FileDownloadParquetAsCsvData, FileDownloadParquetAsCsvResponse, GetJobMetricsData, GetJobMetricsResponse, SetJobProgressData, SetJobProgressResponse, GetJobProgressData, GetJobProgressResponse, ListLogFilesData, ListLogFilesResponse, GetLogFileData, GetLogFileResponse, ListConcurrencyGroupsResponse, DeleteConcurrencyGroupData, DeleteConcurrencyGroupResponse, GetConcurrencyKeyData, GetConcurrencyKeyResponse, SearchJobsIndexData, SearchJobsIndexResponse, SearchLogsIndexData, SearchLogsIndexResponse, CountSearchLogsIndexData, CountSearchLogsIndexResponse, GetIndexDiskStorageSizesResponse, ClearIndexData, ClearIndexResponse, GetIndexStorageSizesResponse, GetIndexerStatusResponse, ListAssetsData, ListAssetsResponse, ListAssetsByUsageData, ListAssetsByUsageResponse, ListFavoriteAssetsData, ListFavoriteAssetsResponse, GetAssetsGraphData, GetAssetsGraphResponse, ListPipelineFoldersData, ListPipelineFoldersResponse, ListVolumesData, ListVolumesResponse, GetVolumeStorageData, GetVolumeStorageResponse, CreateVolumeData, CreateVolumeResponse, DeleteVolumeData, DeleteVolumeResponse, ListMcpToolsData, ListMcpToolsResponse, DiscoverMcpOauthData, DiscoverMcpOauthResponse, StartMcpOauthPopupData, McpOauthCallbackData, McpOauthCallbackResponse } from './types.gen';
2
+ import type { BackendVersionResponse, BackendUptodateResponse, GetLicenseIdResponse, GetOpenApiYamlResponse, GetHealthStatusData, GetHealthStatusResponse, GetHealthDetailedResponse, SearchDocsData, SearchDocsResponse, ReadDocsPageData, ReadDocsPageResponse, GetAuditLogData, GetAuditLogResponse, ListAuditLogsData, ListAuditLogsResponse, LoginData, LoginResponse, LogoutResponse, IsSmtpConfiguredResponse, IsPasswordLoginDisabledResponse, RequestPasswordResetData, RequestPasswordResetResponse, ResetPasswordData, ResetPasswordResponse, GetUserData, GetUserResponse, UpdateUserData, UpdateUserResponse, IsOwnerOfPathData, IsOwnerOfPathResponse, SetPasswordData, SetPasswordResponse, SetPasswordForUserData, SetPasswordForUserResponse, SetLoginTypeForUserData, SetLoginTypeForUserResponse, CreateUserGloballyData, CreateUserGloballyResponse, GlobalUserUpdateData, GlobalUserUpdateResponse, GlobalUsernameInfoData, GlobalUsernameInfoResponse, GlobalUserRenameData, GlobalUserRenameResponse, GlobalUserDeleteData, GlobalUserDeleteResponse, GlobalUsersOverwriteData, GlobalUsersOverwriteResponse, GlobalUsersExportResponse, ListExtJwtTokensData, ListExtJwtTokensResponse, SubmitOnboardingDataData, SubmitOnboardingDataResponse, DeleteUserData, DeleteUserResponse, OffboardPreviewData, OffboardPreviewResponse, OffboardWorkspaceUserData, OffboardWorkspaceUserResponse, GlobalOffboardPreviewData, GlobalOffboardPreviewResponse, OffboardGlobalUserData, OffboardGlobalUserResponse, ConvertUserToGroupData, ConvertUserToGroupResponse, GetCurrentEmailResponse, RefreshUserTokenData, RefreshUserTokenResponse, GetTutorialProgressResponse, UpdateTutorialProgressData, UpdateTutorialProgressResponse, LeaveInstanceResponse, GetUsageResponse, GetRunnableResponse, GlobalWhoamiResponse, ListWorkspaceInvitesResponse, WhoamiData, WhoamiResponse, AcceptInviteData, AcceptInviteResponse, DeclineInviteData, DeclineInviteResponse, ImpersonateServiceAccountData, ImpersonateServiceAccountResponse, ExitImpersonationData, ExitImpersonationResponse, WhoisData, WhoisResponse, ExistsEmailData, ExistsEmailResponse, ListUsersAsSuperAdminData, ListUsersAsSuperAdminResponse, ListUsersData, ListUsersResponse, ListUsersUsageData, ListUsersUsageResponse, ListUsernamesData, ListUsernamesResponse, UsernameToEmailData, UsernameToEmailResponse, CreateTokenData, CreateTokenResponse, CreateTokenImpersonateData, CreateTokenImpersonateResponse, DeleteTokenData, DeleteTokenResponse, UpdateTokenScopesData, UpdateTokenScopesResponse, UpdateTokenLabelData, UpdateTokenLabelResponse, ListTokensData, ListTokensResponse, LoginWithOauthData, LoginWithOauthResponse, GetGlobalConnectedRepositoriesData, GetGlobalConnectedRepositoriesResponse, InstallFromWorkspaceData, InstallFromWorkspaceResponse, DeleteFromWorkspaceData, DeleteFromWorkspaceResponse, ExportInstallationData, ExportInstallationResponse, ImportInstallationData, ImportInstallationResponse, GhesInstallationCallbackData, GhesInstallationCallbackResponse, GetGhesConfigResponse, DiscoverGhesInstallationsResponse, AssignGhesInstallationData, AssignGhesInstallationResponse, UnassignGhesInstallationData, UnassignGhesInstallationResponse, ListWorkspacesResponse, IsDomainAllowedResponse, ListUserWorkspacesResponse, GetSessionWorkspaceStatusData, GetSessionWorkspaceStatusResponse, GetWorkspaceAsSuperAdminData, GetWorkspaceAsSuperAdminResponse, ListWorkspacesAsSuperAdminData, ListWorkspacesAsSuperAdminResponse, CreateWorkspaceData, CreateWorkspaceResponse, CreateWorkspaceForkGitBranchData, CreateWorkspaceForkGitBranchResponse, CreateWorkspaceForkData, CreateWorkspaceForkResponse, ExistsWorkspaceData, ExistsWorkspaceResponse, ExistsUsernameData, ExistsUsernameResponse, GetGithubAppTokenData, GetGithubAppTokenResponse, InviteUserData, InviteUserResponse, AddUserData, AddUserResponse, CreateServiceAccountData, CreateServiceAccountResponse, DeleteInviteData, DeleteInviteResponse, ArchiveWorkspaceData, ArchiveWorkspaceResponse, UnarchiveWorkspaceData, UnarchiveWorkspaceResponse, DeleteWorkspaceData, DeleteWorkspaceResponse, LeaveWorkspaceData, LeaveWorkspaceResponse, GetWorkspaceNameData, GetWorkspaceNameResponse, ChangeWorkspaceNameData, ChangeWorkspaceNameResponse, ChangeWorkspaceIdData, ChangeWorkspaceIdResponse, ChangeWorkspaceColorData, ChangeWorkspaceColorResponse, UpdateOperatorSettingsData, UpdateOperatorSettingsResponse, CompareWorkspacesData, CompareWorkspacesResponse, ResetDiffTallyData, ResetDiffTallyResponse, ListPendingInvitesData, ListPendingInvitesResponse, GetPublicSettingsData, GetPublicSettingsResponse, GetSettingsData, GetSettingsResponse, GetDeployToData, GetDeployToResponse, GetIsPremiumData, GetIsPremiumResponse, GetPremiumInfoData, GetPremiumInfoResponse, GetThresholdAlertData, GetThresholdAlertResponse, SetThresholdAlertData, SetThresholdAlertResponse, RebuildDependencyMapData, RebuildDependencyMapResponse, GetDependentsData, GetDependentsResponse, GetImportsData, GetImportsResponse, GetDependentsAmountsData, GetDependentsAmountsResponse, GetDependencyMapData, GetDependencyMapResponse, EditSlackCommandData, EditSlackCommandResponse, GetWorkspaceSlackOauthConfigData, GetWorkspaceSlackOauthConfigResponse, SetWorkspaceSlackOauthConfigData, SetWorkspaceSlackOauthConfigResponse, DeleteWorkspaceSlackOauthConfigData, DeleteWorkspaceSlackOauthConfigResponse, EditTeamsCommandData, EditTeamsCommandResponse, ListAvailableTeamsIdsData, ListAvailableTeamsIdsResponse, ListAvailableTeamsChannelsData, ListAvailableTeamsChannelsResponse, ConnectTeamsData, ConnectTeamsResponse, ConnectSlackData, ConnectSlackResponse, RunSlackMessageTestJobData, RunSlackMessageTestJobResponse, RunTeamsMessageTestJobData, RunTeamsMessageTestJobResponse, EditDeployToData, EditDeployToResponse, EditAutoInviteData, EditAutoInviteResponse, EditInstanceGroupsData, EditInstanceGroupsResponse, EditWebhookData, EditWebhookResponse, EditCopilotConfigData, EditCopilotConfigResponse, GetCopilotSettingsStateData, GetCopilotSettingsStateResponse, GetCopilotInfoData, GetCopilotInfoResponse, EditErrorHandlerData, EditErrorHandlerResponse, EditSuccessHandlerData, EditSuccessHandlerResponse, EditLargeFileStorageConfigData, EditLargeFileStorageConfigResponse, ListDucklakesData, ListDucklakesResponse, ListDataTablesData, ListDataTablesResponse, ListDataTableSchemasData, ListDataTableSchemasResponse, ListDataTableTablesData, ListDataTableTablesResponse, GetDataTableTableSchemaData, GetDataTableTableSchemaResponse, EditDucklakeConfigData, EditDucklakeConfigResponse, EditDataTableConfigData, EditDataTableConfigResponse, CreatePgDatabaseData, CreatePgDatabaseResponse, DropForkedDatatableDatabasesData, DropForkedDatatableDatabasesResponse, ImportPgDatabaseData, ImportPgDatabaseResponse, ExportPgSchemaData, ExportPgSchemaResponse, GetDatatableFullSchemaData, GetDatatableFullSchemaResponse, GetGitSyncEnabledData, GetGitSyncEnabledResponse, EditWorkspaceGitSyncConfigData, EditWorkspaceGitSyncConfigResponse, EditGitSyncRepositoryData, EditGitSyncRepositoryResponse, DeleteGitSyncRepositoryData, DeleteGitSyncRepositoryResponse, EditWorkspaceDeployUiSettingsData, EditWorkspaceDeployUiSettingsResponse, EditWorkspaceDefaultAppData, EditWorkspaceDefaultAppResponse, EditDefaultScriptsData, EditDefaultScriptsResponse, GetDefaultScriptsData, GetDefaultScriptsResponse, SetEnvironmentVariableData, SetEnvironmentVariableResponse, GetWorkspaceEncryptionKeyData, GetWorkspaceEncryptionKeyResponse, SetWorkspaceEncryptionKeyData, SetWorkspaceEncryptionKeyResponse, GetWorkspaceDefaultAppData, GetWorkspaceDefaultAppResponse, GetWorkspaceUsageData, GetWorkspaceUsageResponse, GetUsedTriggersData, GetUsedTriggersResponse, ListProtectionRulesData, ListProtectionRulesResponse, CreateProtectionRuleData, CreateProtectionRuleResponse, UpdateProtectionRuleData, UpdateProtectionRuleResponse, DeleteProtectionRuleData, DeleteProtectionRuleResponse, ListDeploymentRequestEligibleDeployersData, ListDeploymentRequestEligibleDeployersResponse, GetOpenDeploymentRequestData, GetOpenDeploymentRequestResponse, CreateDeploymentRequestData, CreateDeploymentRequestResponse, CancelDeploymentRequestData, CancelDeploymentRequestResponse, CloseDeploymentRequestMergedData, CloseDeploymentRequestMergedResponse, CreateDeploymentRequestCommentData, CreateDeploymentRequestCommentResponse, LogAiChatData, LogAiChatResponse, GetCloudQuotasData, GetCloudQuotasResponse, PruneVersionsData, PruneVersionsResponse, ListWsSpecificData, ListWsSpecificResponse, ListWsSpecificVersionsData, ListWsSpecificVersionsResponse, GetSharedUiData, GetSharedUiResponse, ListSharedUiData, ListSharedUiResponse, GetSharedUiVersionData, GetSharedUiVersionResponse, UpdateSharedUiData, UpdateSharedUiResponse, ListAiSkillsData, ListAiSkillsResponse, GetAiSkillData, GetAiSkillResponse, UploadAiSkillsData, UploadAiSkillsResponse, DeleteAiSkillData, DeleteAiSkillResponse, RefreshCustomInstanceUserPwdResponse, ListCustomInstanceDbsResponse, SetupCustomInstanceDbData, SetupCustomInstanceDbResponse, DropCustomInstanceDbData, DropCustomInstanceDbResponse, GetGlobalData, GetGlobalResponse, SetGlobalData, SetGlobalResponse, GetRuffConfigResponse, GetLocalResponse, TestSmtpData, TestSmtpResponse, TestCriticalChannelsData, TestCriticalChannelsResponse, GetCriticalAlertsData, GetCriticalAlertsResponse, AcknowledgeCriticalAlertData, AcknowledgeCriticalAlertResponse, AcknowledgeAllCriticalAlertsResponse, TestLicenseKeyData, TestLicenseKeyResponse, TestObjectStorageConfigData, TestObjectStorageConfigResponse, GetObjectStorageUsageResponse, ComputeObjectStorageUsageResponse, RunLogCleanupResponse, GetLogCleanupStatusResponse, GetAuditLogsS3StatusResponse, RunAuditLogsS3BackfillData, RunAuditLogsS3BackfillResponse, GetAuditLogsS3BackfillStatusResponse, SendStatsResponse, RestartWorkerGroupData, RestartWorkerGroupResponse, GetStatsResponse, GetLatestKeyRenewalAttemptResponse, RenewLicenseKeyData, RenewLicenseKeyResponse, GetOfflineLicenseStatusResponse, GetInstanceHashResponse, CreateCustomerPortalSessionData, CreateCustomerPortalSessionResponse, TestMetadataData, TestMetadataResponse, ListGlobalSettingsResponse, GetInstanceConfigResponse, SetInstanceConfigData, SetInstanceConfigResponse, GetMinKeepAliveVersionResponse, GetJwksResponse, TestSecretBackendData, TestSecretBackendResponse, MigrateSecretsToVaultData, MigrateSecretsToVaultResponse, MigrateSecretsToDatabaseData, MigrateSecretsToDatabaseResponse, TestAzureKvBackendData, TestAzureKvBackendResponse, MigrateSecretsToAzureKvData, MigrateSecretsToAzureKvResponse, MigrateSecretsFromAzureKvData, MigrateSecretsFromAzureKvResponse, TestAwsSmBackendData, TestAwsSmBackendResponse, MigrateSecretsToAwsSmData, MigrateSecretsToAwsSmResponse, MigrateSecretsFromAwsSmData, MigrateSecretsFromAwsSmResponse, GetSecondaryStorageNamesData, GetSecondaryStorageNamesResponse, WorkspaceGetCriticalAlertsData, WorkspaceGetCriticalAlertsResponse, WorkspaceAcknowledgeCriticalAlertData, WorkspaceAcknowledgeCriticalAlertResponse, WorkspaceAcknowledgeAllCriticalAlertsData, WorkspaceAcknowledgeAllCriticalAlertsResponse, WorkspaceMuteCriticalAlertsUiData, WorkspaceMuteCriticalAlertsUiResponse, SetPublicAppRateLimitData, SetPublicAppRateLimitResponse, ListAvailableScopesResponse, GetOidcTokenData, GetOidcTokenResponse, CreateVariableData, CreateVariableResponse, EncryptValueData, EncryptValueResponse, DeleteVariableData, DeleteVariableResponse, DeleteVariablesBulkData, DeleteVariablesBulkResponse, UpdateVariableData, UpdateVariableResponse, GetVariableData, GetVariableResponse, GetVariableValueData, GetVariableValueResponse, ExistsVariableData, ExistsVariableResponse, ListVariableData, ListVariableResponse, ListContextualVariablesData, ListContextualVariablesResponse, ConnectSlackCallbackData, ConnectSlackCallbackResponse, ConnectSlackCallbackInstanceData, ConnectSlackCallbackInstanceResponse, ConnectSlackInstanceData, ConnectSlackInstanceResponse, ConnectCallbackData, ConnectCallbackResponse, CreateAccountData, CreateAccountResponse, ConnectClientCredentialsData, ConnectClientCredentialsResponse, RefreshTokenData, RefreshTokenResponse, DisconnectAccountData, DisconnectAccountResponse, DisconnectSlackData, DisconnectSlackResponse, DisconnectTeamsData, DisconnectTeamsResponse, ListOauthLoginsResponse, ListOauthConnectsResponse, GetOauthConnectData, GetOauthConnectResponse, SendMessageToConversationData, SendMessageToConversationResponse, CreateResourceData, CreateResourceResponse, DeleteResourceData, DeleteResourceResponse, DeleteResourcesBulkData, DeleteResourcesBulkResponse, UpdateResourceData, UpdateResourceResponse, UpdateResourceValueData, UpdateResourceValueResponse, GetResourceData, GetResourceResponse, GetResourceValueInterpolatedData, GetResourceValueInterpolatedResponse, GetResourceValueData, GetResourceValueResponse, GetGitCommitHashData, GetGitCommitHashResponse, ExistsResourceData, ExistsResourceResponse, ListResourceData, ListResourceResponse, ListSearchResourceData, ListSearchResourceResponse, GetMcpToolsData, GetMcpToolsResponse, ListResourceNamesData, ListResourceNamesResponse, CreateResourceTypeData, CreateResourceTypeResponse, FileResourceTypeToFileExtMapData, FileResourceTypeToFileExtMapResponse, DeleteResourceTypeData, DeleteResourceTypeResponse, UpdateResourceTypeData, UpdateResourceTypeResponse, GetResourceTypeData, GetResourceTypeResponse, ExistsResourceTypeData, ExistsResourceTypeResponse, ListResourceTypeData, ListResourceTypeResponse, ListResourceTypeNamesData, ListResourceTypeNamesResponse, QueryResourceTypesData, QueryResourceTypesResponse, GetNpmPackageMetadataData, GetNpmPackageMetadataResponse, ResolveNpmPackageVersionData, ResolveNpmPackageVersionResponse, GetNpmPackageFiletreeData, GetNpmPackageFiletreeResponse, GetNpmPackageFileData, GetNpmPackageFileResponse, ListHubIntegrationsData, ListHubIntegrationsResponse, ListHubFlowsResponse, GetHubFlowByIdData, GetHubFlowByIdResponse, ListFlowPathsData, ListFlowPathsResponse, ListSearchFlowData, ListSearchFlowResponse, ListFlowsData, ListFlowsResponse, GetFlowHistoryData, GetFlowHistoryResponse, GetFlowLatestVersionData, GetFlowLatestVersionResponse, ListFlowPathsFromWorkspaceRunnableData, ListFlowPathsFromWorkspaceRunnableResponse, GetFlowVersionData, GetFlowVersionResponse, UpdateFlowHistoryData, UpdateFlowHistoryResponse, GetFlowByPathData, GetFlowByPathResponse, GetFlowDeploymentStatusData, GetFlowDeploymentStatusResponse, GetTriggersCountOfFlowData, GetTriggersCountOfFlowResponse, ListTokensOfFlowData, ListTokensOfFlowResponse, ToggleWorkspaceErrorHandlerForFlowData, ToggleWorkspaceErrorHandlerForFlowResponse, ExistsFlowByPathData, ExistsFlowByPathResponse, CreateFlowData, CreateFlowResponse, UpdateFlowData, UpdateFlowResponse, ArchiveFlowByPathData, ArchiveFlowByPathResponse, DeleteFlowByPathData, DeleteFlowByPathResponse, ListHubAppsResponse, GetHubAppByIdData, GetHubAppByIdResponse, GetHubRawAppByIdData, GetHubRawAppByIdResponse, GetPublicAppByCustomPathData, GetPublicAppByCustomPathResponse, GetAppEmbedTokenByCustomPathData, GetAppEmbedTokenByCustomPathResponse, GetRawAppDataData, GetRawAppDataResponse, ListSearchAppData, ListSearchAppResponse, ListAppsData, ListAppsResponse, CreateAppData, CreateAppResponse, CreateAppRawData, CreateAppRawResponse, ExistsAppData, ExistsAppResponse, GetAppByPathData, GetAppByPathResponse, GetAppEmbedTokenByPathData, GetAppEmbedTokenByPathResponse, GetAppLiteByPathData, GetAppLiteByPathResponse, GetAppHistoryByPathData, GetAppHistoryByPathResponse, GetAppLatestVersionData, GetAppLatestVersionResponse, ListAppPathsFromWorkspaceRunnableData, ListAppPathsFromWorkspaceRunnableResponse, UpdateAppHistoryData, UpdateAppHistoryResponse, GetPublicAppBySecretData, GetPublicAppBySecretResponse, GetAppEmbedTokenBySecretData, GetAppEmbedTokenBySecretResponse, GetPublicResourceData, GetPublicResourceResponse, GetPublicSecretOfAppData, GetPublicSecretOfAppResponse, GetPublicSecretOfLatestVersionOfAppData, GetPublicSecretOfLatestVersionOfAppResponse, GetAppByVersionData, GetAppByVersionResponse, DeleteAppData, DeleteAppResponse, UpdateAppData, UpdateAppResponse, UpdateAppRawData, UpdateAppRawResponse, CustomPathExistsData, CustomPathExistsResponse, SignS3ObjectsData, SignS3ObjectsResponse, ExecuteComponentData, ExecuteComponentResponse, UploadS3FileFromAppData, UploadS3FileFromAppResponse, DeleteS3FileFromAppData, DeleteS3FileFromAppResponse, GetHubScriptContentByPathData, GetHubScriptContentByPathResponse, GetHubScriptByPathData, GetHubScriptByPathResponse, PickHubScriptByPathData, PickHubScriptByPathResponse, GetTopHubScriptsData, GetTopHubScriptsResponse, QueryHubScriptsData, QueryHubScriptsResponse, ListSearchScriptData, ListSearchScriptResponse, ListScriptsData, ListScriptsResponse, ListScriptPathsData, ListScriptPathsResponse, CreateScriptData, CreateScriptResponse, ToggleWorkspaceErrorHandlerForScriptData, ToggleWorkspaceErrorHandlerForScriptResponse, ArchiveScriptByPathData, ArchiveScriptByPathResponse, ArchiveScriptByHashData, ArchiveScriptByHashResponse, DeleteScriptByHashData, DeleteScriptByHashResponse, DeleteScriptByPathData, DeleteScriptByPathResponse, DeleteScriptsBulkData, DeleteScriptsBulkResponse, GetScriptByPathData, GetScriptByPathResponse, GetTriggersCountOfScriptData, GetTriggersCountOfScriptResponse, ListTokensOfScriptData, ListTokensOfScriptResponse, GetScriptHistoryByPathData, GetScriptHistoryByPathResponse, ListScriptPathsFromWorkspaceRunnableData, ListScriptPathsFromWorkspaceRunnableResponse, GetScriptLatestVersionData, GetScriptLatestVersionResponse, UpdateScriptHistoryData, UpdateScriptHistoryResponse, ListDedicatedWithDepsData, ListDedicatedWithDepsResponse, RawScriptByPathData, RawScriptByPathResponse, RawScriptByPathTokenedData, RawScriptByPathTokenedResponse, ExistsScriptByPathData, ExistsScriptByPathResponse, GetScriptByHashData, GetScriptByHashResponse, RawScriptByHashData, RawScriptByHashResponse, GetScriptDeploymentStatusData, GetScriptDeploymentStatusResponse, GetCiTestResultsData, GetCiTestResultsResponse, GetCiTestResultsBatchData, GetCiTestResultsBatchResponse, StoreRawScriptTempData, StoreRawScriptTempResponse, DiffRawScriptsWithDeployedData, DiffRawScriptsWithDeployedResponse, ListDraftsData, ListDraftsResponse, GetDraftForUserData, GetDraftForUserResponse, GetOwnDraftData, GetOwnDraftResponse, UpdateDraftData, UpdateDraftResponse, MigrateLegacyDraftData, MigrateLegacyDraftResponse, GetCustomTagsData, GetCustomTagsResponse, GetCustomTagsForWorkspaceData, GetCustomTagsForWorkspaceResponse, GeDefaultTagsResponse, IsDefaultTagsPerWorkspaceResponse, ListWorkersData, ListWorkersResponse, ExistsWorkersWithTagsData, ExistsWorkersWithTagsResponse, GetQueueMetricsResponse, GetCountsOfJobsWaitingPerTagResponse, GetCountsOfRunningJobsPerTagResponse, GetWorkspaceFairnessEventsResponse, CreateWorkspaceDependenciesData, CreateWorkspaceDependenciesResponse, ArchiveWorkspaceDependenciesData, ArchiveWorkspaceDependenciesResponse, DeleteWorkspaceDependenciesData, DeleteWorkspaceDependenciesResponse, ListWorkspaceDependenciesData, ListWorkspaceDependenciesResponse, GetLatestWorkspaceDependenciesData, GetLatestWorkspaceDependenciesResponse, ListSelectedJobGroupsData, ListSelectedJobGroupsResponse, RunScriptByPathData, RunScriptByPathResponse, RunWaitResultScriptByPathData, RunWaitResultScriptByPathResponse, RunWaitResultScriptByPathGetData, RunWaitResultScriptByPathGetResponse, RunWaitResultFlowByPathData, RunWaitResultFlowByPathResponse, RunWaitResultFlowByVersionData, RunWaitResultFlowByVersionResponse, RunWaitResultFlowByVersionGetData, RunWaitResultFlowByVersionGetResponse, RunAndStreamFlowByPathData, RunAndStreamFlowByPathResponse, RunAndStreamFlowByPathGetData, RunAndStreamFlowByPathGetResponse, RunAndStreamFlowByVersionData, RunAndStreamFlowByVersionResponse, RunAndStreamFlowByVersionGetData, RunAndStreamFlowByVersionGetResponse, RunAndStreamScriptByPathData, RunAndStreamScriptByPathResponse, RunAndStreamScriptByPathGetData, RunAndStreamScriptByPathGetResponse, RunAndStreamScriptByHashData, RunAndStreamScriptByHashResponse, RunAndStreamScriptByHashGetData, RunAndStreamScriptByHashGetResponse, ResultByIdData, ResultByIdResponse, GetJobViewTokenData, GetJobViewTokenResponse, RunFlowByPathData, RunFlowByPathResponse, RunFlowByVersionData, RunFlowByVersionResponse, BatchReRunJobsData, BatchReRunJobsResponse, RestartFlowAtStepData, RestartFlowAtStepResponse, RunScriptByHashData, RunScriptByHashResponse, RunScriptPreviewData, RunScriptPreviewResponse, RunScriptPreviewInlineData, RunScriptPreviewInlineResponse, RunScriptByPathInlineData, RunScriptByPathInlineResponse, RunScriptByHashInlineData, RunScriptByHashInlineResponse, RunScriptPreviewAndWaitResultData, RunScriptPreviewAndWaitResultResponse, RunCodeWorkflowTaskData, RunCodeWorkflowTaskResponse, RunRawScriptDependenciesData, RunRawScriptDependenciesResponse, RunRawScriptDependenciesAsyncData, RunRawScriptDependenciesAsyncResponse, RunFlowDependenciesAsyncData, RunFlowDependenciesAsyncResponse, RunFlowPreviewData, RunFlowPreviewResponse, RunFlowPreviewAndWaitResultData, RunFlowPreviewAndWaitResultResponse, RunDynamicSelectData, RunDynamicSelectResponse, ListQueueData, ListQueueResponse, GetQueueCountData, GetQueueCountResponse, GetCompletedCountData, GetCompletedCountResponse, CountCompletedJobsData, CountCompletedJobsResponse, ListFilteredJobsUuidsData, ListFilteredJobsUuidsResponse, ListFilteredQueueUuidsData, ListFilteredQueueUuidsResponse, CancelSelectionData, CancelSelectionResponse, GetJobOtelTracesData, GetJobOtelTracesResponse, ListCompletedJobsData, ListCompletedJobsResponse, ExportCompletedJobsData, ExportCompletedJobsResponse, ImportCompletedJobsData, ImportCompletedJobsResponse, ExportQueuedJobsData, ExportQueuedJobsResponse, ImportQueuedJobsData, ImportQueuedJobsResponse, DeleteJobsData, DeleteJobsResponse, ListJobsData, ListJobsResponse, GetDbClockResponse, CountJobsByTagData, CountJobsByTagResponse, GetJobData, GetJobResponse, GetRootJobIdData, GetRootJobIdResponse, GetJobLogsData, GetJobLogsResponse, GetFlowAllLogsData, GetFlowAllLogsResponse, GetFlowAllLogsStructuredData, GetFlowAllLogsStructuredResponse, GetCompletedJobLogsTailData, GetCompletedJobLogsTailResponse, GetJobArgsData, GetJobArgsResponse, GetStartedAtByIdsData, GetStartedAtByIdsResponse, GetJobUpdatesData, GetJobUpdatesResponse, GetJobUpdatesSseData, GetJobUpdatesSseResponse, GetLogFileFromStoreData, GetLogFileFromStoreResponse, GetFlowDebugInfoData, GetFlowDebugInfoResponse, GetCompletedJobData, GetCompletedJobResponse, GetCompletedJobResultData, GetCompletedJobResultResponse, GetCompletedJobResultMaybeData, GetCompletedJobResultMaybeResponse, GetCompletedJobTimingData, GetCompletedJobTimingResponse, ListDispatchEventsData, ListDispatchEventsResponse, ListAssetDispatchEdgesData, ListAssetDispatchEdgesResponse, DeleteCompletedJobData, DeleteCompletedJobResponse, CancelQueuedJobData, CancelQueuedJobResponse, CancelPersistentQueuedJobsData, CancelPersistentQueuedJobsResponse, ForceCancelQueuedJobData, ForceCancelQueuedJobResponse, GetQueuePositionData, GetQueuePositionResponse, GetScheduledForData, GetScheduledForResponse, CreateJobSignatureData, CreateJobSignatureResponse, GetResumeUrlsData, GetResumeUrlsResponse, GetSlackApprovalPayloadData, GetSlackApprovalPayloadResponse, GetTeamsApprovalPayloadData, GetTeamsApprovalPayloadResponse, ResumeSuspendedData, ResumeSuspendedResponse, GetApprovalInfoData, GetApprovalInfoResponse, ResumeSuspendedJobGetData, ResumeSuspendedJobGetResponse, ResumeSuspendedJobPostData, ResumeSuspendedJobPostResponse, SetFlowUserStateData, SetFlowUserStateResponse, GetFlowUserStateData, GetFlowUserStateResponse, ResumeSuspendedFlowAsOwnerData, ResumeSuspendedFlowAsOwnerResponse, CancelSuspendedJobGetData, CancelSuspendedJobGetResponse, CancelSuspendedJobPostData, CancelSuspendedJobPostResponse, GetSuspendedJobFlowData, GetSuspendedJobFlowResponse, ListExtendedJobsData, ListExtendedJobsResponse, ListFlowConversationsData, ListFlowConversationsResponse, DeleteFlowConversationData, DeleteFlowConversationResponse, ListConversationMessagesData, ListConversationMessagesResponse, ListPathAutocompletePathsData, ListPathAutocompletePathsResponse, ListRawAppsData, ListRawAppsResponse, ResumeSuspendedTriggerJobsData, ResumeSuspendedTriggerJobsResponse, CancelSuspendedTriggerJobsData, CancelSuspendedTriggerJobsResponse, PreviewScheduleData, PreviewScheduleResponse, CreateScheduleData, CreateScheduleResponse, UpdateScheduleData, UpdateScheduleResponse, SetScheduleEnabledData, SetScheduleEnabledResponse, DeleteScheduleData, DeleteScheduleResponse, GetScheduleData, GetScheduleResponse, ExistsScheduleData, ExistsScheduleResponse, ListSchedulesData, ListSchedulesResponse, ListSchedulesWithJobsData, ListSchedulesWithJobsResponse, SetDefaultErrorOrRecoveryHandlerData, SetDefaultErrorOrRecoveryHandlerResponse, GenerateOpenapiSpecData, GenerateOpenapiSpecResponse, DownloadOpenapiSpecData, DownloadOpenapiSpecResponse, CreateHttpTriggersData, CreateHttpTriggersResponse, CreateHttpTriggerData, CreateHttpTriggerResponse, UpdateHttpTriggerData, UpdateHttpTriggerResponse, DeleteHttpTriggerData, DeleteHttpTriggerResponse, GetHttpTriggerData, GetHttpTriggerResponse, ListHttpTriggersData, ListHttpTriggersResponse, ExistsHttpTriggerData, ExistsHttpTriggerResponse, ExistsRouteData, ExistsRouteResponse, SetHttpTriggerModeData, SetHttpTriggerModeResponse, CreateWebsocketTriggerData, CreateWebsocketTriggerResponse, UpdateWebsocketTriggerData, UpdateWebsocketTriggerResponse, DeleteWebsocketTriggerData, DeleteWebsocketTriggerResponse, GetWebsocketTriggerData, GetWebsocketTriggerResponse, ListWebsocketTriggersData, ListWebsocketTriggersResponse, ExistsWebsocketTriggerData, ExistsWebsocketTriggerResponse, SetWebsocketTriggerModeData, SetWebsocketTriggerModeResponse, TestWebsocketConnectionData, TestWebsocketConnectionResponse, CreateKafkaTriggerData, CreateKafkaTriggerResponse, UpdateKafkaTriggerData, UpdateKafkaTriggerResponse, DeleteKafkaTriggerData, DeleteKafkaTriggerResponse, GetKafkaTriggerData, GetKafkaTriggerResponse, ListKafkaTriggersData, ListKafkaTriggersResponse, ExistsKafkaTriggerData, ExistsKafkaTriggerResponse, SetKafkaTriggerModeData, SetKafkaTriggerModeResponse, TestKafkaConnectionData, TestKafkaConnectionResponse, ResetKafkaOffsetsData, ResetKafkaOffsetsResponse, CommitKafkaOffsetsData, CommitKafkaOffsetsResponse, CreateNatsTriggerData, CreateNatsTriggerResponse, UpdateNatsTriggerData, UpdateNatsTriggerResponse, DeleteNatsTriggerData, DeleteNatsTriggerResponse, GetNatsTriggerData, GetNatsTriggerResponse, ListNatsTriggersData, ListNatsTriggersResponse, ExistsNatsTriggerData, ExistsNatsTriggerResponse, SetNatsTriggerModeData, SetNatsTriggerModeResponse, TestNatsConnectionData, TestNatsConnectionResponse, CreateSqsTriggerData, CreateSqsTriggerResponse, UpdateSqsTriggerData, UpdateSqsTriggerResponse, DeleteSqsTriggerData, DeleteSqsTriggerResponse, GetSqsTriggerData, GetSqsTriggerResponse, ListSqsTriggersData, ListSqsTriggersResponse, ExistsSqsTriggerData, ExistsSqsTriggerResponse, SetSqsTriggerModeData, SetSqsTriggerModeResponse, TestSqsConnectionData, TestSqsConnectionResponse, ListNativeTriggerServicesData, ListNativeTriggerServicesResponse, CheckIfNativeTriggersServiceExistsData, CheckIfNativeTriggersServiceExistsResponse, CreateNativeTriggerServiceData, CreateNativeTriggerServiceResponse, GenerateNativeTriggerServiceConnectUrlData, GenerateNativeTriggerServiceConnectUrlResponse, CheckInstanceSharingAvailableData, CheckInstanceSharingAvailableResponse, GenerateInstanceConnectUrlData, GenerateInstanceConnectUrlResponse, DeleteNativeTriggerServiceData, DeleteNativeTriggerServiceResponse, NativeTriggerServiceCallbackData, NativeTriggerServiceCallbackResponse, CreateNativeTriggerData, CreateNativeTriggerResponse, UpdateNativeTriggerData, UpdateNativeTriggerResponse, GetNativeTriggerData, GetNativeTriggerResponse, DeleteNativeTriggerData, DeleteNativeTriggerResponse, ListNativeTriggersData, ListNativeTriggersResponse, ExistsNativeTriggerData, ExistsNativeTriggerResponse, SyncNativeTriggersData, SyncNativeTriggersResponse, ListNextCloudEventsData, ListNextCloudEventsResponse, ListGoogleCalendarsData, ListGoogleCalendarsResponse, ListGoogleDriveFilesData, ListGoogleDriveFilesResponse, ListGoogleSharedDrivesData, ListGoogleSharedDrivesResponse, ListGithubReposData, ListGithubReposResponse, NativeTriggerWebhookData, NativeTriggerWebhookResponse, CreateMqttTriggerData, CreateMqttTriggerResponse, UpdateMqttTriggerData, UpdateMqttTriggerResponse, DeleteMqttTriggerData, DeleteMqttTriggerResponse, GetMqttTriggerData, GetMqttTriggerResponse, ListMqttTriggersData, ListMqttTriggersResponse, ExistsMqttTriggerData, ExistsMqttTriggerResponse, SetMqttTriggerModeData, SetMqttTriggerModeResponse, TestMqttConnectionData, TestMqttConnectionResponse, CreateGcpTriggerData, CreateGcpTriggerResponse, UpdateGcpTriggerData, UpdateGcpTriggerResponse, DeleteGcpTriggerData, DeleteGcpTriggerResponse, GetGcpTriggerData, GetGcpTriggerResponse, ListGcpTriggersData, ListGcpTriggersResponse, ExistsGcpTriggerData, ExistsGcpTriggerResponse, SetGcpTriggerModeData, SetGcpTriggerModeResponse, TestGcpConnectionData, TestGcpConnectionResponse, DeleteGcpSubscriptionData, DeleteGcpSubscriptionResponse, ListGoogleTopicsData, ListGoogleTopicsResponse, ListAllTgoogleTopicSubscriptionsData, ListAllTgoogleTopicSubscriptionsResponse, CreateAzureTriggerData, CreateAzureTriggerResponse, UpdateAzureTriggerData, UpdateAzureTriggerResponse, DeleteAzureTriggerData, DeleteAzureTriggerResponse, GetAzureTriggerData, GetAzureTriggerResponse, ListAzureTriggersData, ListAzureTriggersResponse, ExistsAzureTriggerData, ExistsAzureTriggerResponse, SetAzureTriggerModeData, SetAzureTriggerModeResponse, TestAzureConnectionData, TestAzureConnectionResponse, ListAzureNamespaceTopicsData, ListAzureNamespaceTopicsResponse, ListAzureNamespaceSubscriptionsData, ListAzureNamespaceSubscriptionsResponse, DeleteAzureSubscriptionData, DeleteAzureSubscriptionResponse, ListAzureNamespacesData, ListAzureNamespacesResponse, ListAzureBasicTopicsData, ListAzureBasicTopicsResponse, GetPostgresVersionData, GetPostgresVersionResponse, IsValidPostgresConfigurationData, IsValidPostgresConfigurationResponse, CreateTemplateScriptData, CreateTemplateScriptResponse, GetTemplateScriptData, GetTemplateScriptResponse, ListPostgresReplicationSlotData, ListPostgresReplicationSlotResponse, CreatePostgresReplicationSlotData, CreatePostgresReplicationSlotResponse, DeletePostgresReplicationSlotData, DeletePostgresReplicationSlotResponse, ListPostgresPublicationData, ListPostgresPublicationResponse, GetPostgresPublicationData, GetPostgresPublicationResponse, CreatePostgresPublicationData, CreatePostgresPublicationResponse, UpdatePostgresPublicationData, UpdatePostgresPublicationResponse, DeletePostgresPublicationData, DeletePostgresPublicationResponse, CreatePostgresTriggerData, CreatePostgresTriggerResponse, UpdatePostgresTriggerData, UpdatePostgresTriggerResponse, DeletePostgresTriggerData, DeletePostgresTriggerResponse, GetPostgresTriggerData, GetPostgresTriggerResponse, ListPostgresTriggersData, ListPostgresTriggersResponse, ExistsPostgresTriggerData, ExistsPostgresTriggerResponse, SetPostgresTriggerModeData, SetPostgresTriggerModeResponse, TestPostgresConnectionData, TestPostgresConnectionResponse, CreateEmailTriggerData, CreateEmailTriggerResponse, UpdateEmailTriggerData, UpdateEmailTriggerResponse, DeleteEmailTriggerData, DeleteEmailTriggerResponse, GetEmailTriggerData, GetEmailTriggerResponse, ListEmailTriggersData, ListEmailTriggersResponse, ExistsEmailTriggerData, ExistsEmailTriggerResponse, ExistsEmailLocalPartData, ExistsEmailLocalPartResponse, SetEmailTriggerModeData, SetEmailTriggerModeResponse, ListInstanceGroupsResponse, ListInstanceGroupsWithWorkspacesResponse, GetInstanceGroupData, GetInstanceGroupResponse, CreateInstanceGroupData, CreateInstanceGroupResponse, UpdateInstanceGroupData, UpdateInstanceGroupResponse, DeleteInstanceGroupData, DeleteInstanceGroupResponse, AddUserToInstanceGroupData, AddUserToInstanceGroupResponse, RemoveUserFromInstanceGroupData, RemoveUserFromInstanceGroupResponse, ExportInstanceGroupsResponse, OverwriteInstanceGroupsData, OverwriteInstanceGroupsResponse, ListGroupsData, ListGroupsResponse, ListGroupNamesData, ListGroupNamesResponse, CreateGroupData, CreateGroupResponse, UpdateGroupData, UpdateGroupResponse, DeleteGroupData, DeleteGroupResponse, GetGroupData, GetGroupResponse, AddUserToGroupData, AddUserToGroupResponse, RemoveUserToGroupData, RemoveUserToGroupResponse, GetGroupPermissionHistoryData, GetGroupPermissionHistoryResponse, ListFoldersData, ListFoldersResponse, ListFolderNamesData, ListFolderNamesResponse, CreateFolderData, CreateFolderResponse, UpdateFolderData, UpdateFolderResponse, DeleteFolderData, DeleteFolderResponse, GetFolderData, GetFolderResponse, ExistsFolderData, ExistsFolderResponse, GetFolderUsageData, GetFolderUsageResponse, AddOwnerToFolderData, AddOwnerToFolderResponse, RemoveOwnerToFolderData, RemoveOwnerToFolderResponse, GetFolderPermissionHistoryData, GetFolderPermissionHistoryResponse, ListWorkerGroupsResponse, GetConfigData, GetConfigResponse, UpdateConfigData, UpdateConfigResponse, DeleteConfigData, DeleteConfigResponse, ListConfigsResponse, ListAutoscalingEventsData, ListAutoscalingEventsResponse, NativeKubernetesAutoscalingHealthcheckResponse, ListAvailablePythonVersionsResponse, ListAllWorkspaceDependenciesResponse, ListAllDedicatedWithDepsResponse, CreateAgentTokenData, CreateAgentTokenResponse, BlacklistAgentTokenData, BlacklistAgentTokenResponse, RemoveBlacklistAgentTokenData, RemoveBlacklistAgentTokenResponse, ListBlacklistedAgentTokensData, ListBlacklistedAgentTokensResponse, GetMinVersionResponse, GetGranularAclsData, GetGranularAclsResponse, AddGranularAclsData, AddGranularAclsResponse, RemoveGranularAclsData, RemoveGranularAclsResponse, SetCaptureConfigData, SetCaptureConfigResponse, PingCaptureConfigData, PingCaptureConfigResponse, GetCaptureConfigsData, GetCaptureConfigsResponse, ListCapturesData, ListCapturesResponse, MoveCapturesAndConfigsData, MoveCapturesAndConfigsResponse, GetCaptureData, GetCaptureResponse, DeleteCaptureData, DeleteCaptureResponse, StarData, StarResponse, UnstarData, UnstarResponse, GetInputHistoryData, GetInputHistoryResponse, GetArgsFromHistoryOrSavedInputData, GetArgsFromHistoryOrSavedInputResponse, ListInputsData, ListInputsResponse, CreateInputData, CreateInputResponse, UpdateInputData, UpdateInputResponse, DeleteInputData, DeleteInputResponse, DuckdbConnectionSettingsData, DuckdbConnectionSettingsResponse, DuckdbConnectionSettingsV2Data, DuckdbConnectionSettingsV2Response, PolarsConnectionSettingsData, PolarsConnectionSettingsResponse, PolarsConnectionSettingsV2Data, PolarsConnectionSettingsV2Response, S3ResourceInfoData, S3ResourceInfoResponse, DatasetStorageTestConnectionData, DatasetStorageTestConnectionResponse, ListStoredFilesData, ListStoredFilesResponse, LoadFileMetadataData, LoadFileMetadataResponse, LoadFilePreviewData, LoadFilePreviewResponse, ListGitRepoFilesData, ListGitRepoFilesResponse, LoadGitRepoFilePreviewData, LoadGitRepoFilePreviewResponse, LoadGitRepoFileMetadataData, LoadGitRepoFileMetadataResponse, CheckS3FolderExistsData, CheckS3FolderExistsResponse, LoadParquetPreviewData, LoadParquetPreviewResponse, LoadTableRowCountData, LoadTableRowCountResponse, LoadCsvPreviewData, LoadCsvPreviewResponse, DeleteS3FileData, DeleteS3FileResponse, MoveS3FileData, MoveS3FileResponse, FileUploadData, FileUploadResponse, GitRepoViewerFileUploadData, GitRepoViewerFileUploadResponse, FileDownloadData, FileDownloadResponse, FileDownloadParquetAsCsvData, FileDownloadParquetAsCsvResponse, GetJobMetricsData, GetJobMetricsResponse, SetJobProgressData, SetJobProgressResponse, GetJobProgressData, GetJobProgressResponse, ListLogFilesData, ListLogFilesResponse, GetLogFileData, GetLogFileResponse, ListConcurrencyGroupsResponse, DeleteConcurrencyGroupData, DeleteConcurrencyGroupResponse, GetConcurrencyKeyData, GetConcurrencyKeyResponse, SearchJobsIndexData, SearchJobsIndexResponse, SearchLogsIndexData, SearchLogsIndexResponse, CountSearchLogsIndexData, CountSearchLogsIndexResponse, GetIndexDiskStorageSizesResponse, ClearIndexData, ClearIndexResponse, GetIndexStorageSizesResponse, GetIndexerStatusResponse, ListAssetsData, ListAssetsResponse, ListAssetsByUsageData, ListAssetsByUsageResponse, ListFavoriteAssetsData, ListFavoriteAssetsResponse, GetAssetsGraphData, GetAssetsGraphResponse, ListPipelineFoldersData, ListPipelineFoldersResponse, ListVolumesData, ListVolumesResponse, GetVolumeStorageData, GetVolumeStorageResponse, CreateVolumeData, CreateVolumeResponse, DeleteVolumeData, DeleteVolumeResponse, ListMcpToolsData, ListMcpToolsResponse, DiscoverMcpOauthData, DiscoverMcpOauthResponse, StartMcpOauthPopupData, McpOauthCallbackData, McpOauthCallbackResponse } from './types.gen';
3
3
  export declare class SettingsService {
4
4
  /**
5
5
  * get backend version
@@ -53,13 +53,22 @@ export declare class HealthService {
53
53
  }
54
54
  export declare class DocumentationService {
55
55
  /**
56
- * query Windmill AI documentation assistant (EE only)
56
+ * Full-text search across the entire Windmill documentation. Provide one or more keywords; returns the most relevant docs pages, each with its Source URL and short matching snippets. Use this FIRST to find relevant pages by their content (a flag, function, error message, config key or concept). If the snippets answer the question, answer directly; otherwise call readDocsPage with a returned Source URL to read more.
57
57
  * @param data The data for the request.
58
- * @param data.requestBody query to send to the AI documentation assistant
59
- * @returns unknown AI documentation assistant response
58
+ * @param data.query Keywords to search for in the documentation body, e.g. "chromium worker tag" or "retry exponential backoff". Fewer, more distinctive words match better.
59
+ * @returns unknown matching documentation pages
60
60
  * @throws ApiError
61
61
  */
62
- static queryDocumentation(data: QueryDocumentationData): CancelablePromise<QueryDocumentationResponse>;
62
+ static searchDocs(data: SearchDocsData): CancelablePromise<SearchDocsResponse>;
63
+ /**
64
+ * Fetch the markdown of a single Windmill documentation page. Provide the `url` of a page found via searchDocs (its Source URL). If the page is large, this returns its list of section headings instead of the full content; call again with the `section` argument set to one of those headings to read that section.
65
+ * @param data The data for the request.
66
+ * @param data.url The docs page to read, as a Source URL returned by searchDocs (e.g. https://www.windmill.dev/docs/core_concepts/jobs). A bare path (e.g. /docs/core_concepts/jobs) is also accepted.
67
+ * @param data.section Optional. A heading title from the page outline to read just that section instead of the full page.
68
+ * @returns unknown documentation page content
69
+ * @throws ApiError
70
+ */
71
+ static readDocsPage(data: ReadDocsPageData): CancelablePromise<ReadDocsPageResponse>;
63
72
  }
64
73
  export declare class AuditService {
65
74
  /**
@@ -1806,6 +1815,20 @@ export declare class SettingService {
1806
1815
  * @throws ApiError
1807
1816
  */
1808
1817
  static getAuditLogsS3Status(): CancelablePromise<GetAuditLogsS3StatusResponse>;
1818
+ /**
1819
+ * start an opt-in historical backfill of audit logs to object storage
1820
+ * @param data The data for the request.
1821
+ * @param data.requestBody
1822
+ * @returns unknown backfill started
1823
+ * @throws ApiError
1824
+ */
1825
+ static runAuditLogsS3Backfill(data: RunAuditLogsS3BackfillData): CancelablePromise<RunAuditLogsS3BackfillResponse>;
1826
+ /**
1827
+ * get status of the audit-log object-store historical backfill
1828
+ * @returns unknown current backfill status (null if never run)
1829
+ * @throws ApiError
1830
+ */
1831
+ static getAuditLogsS3BackfillStatus(): CancelablePromise<GetAuditLogsS3BackfillStatusResponse>;
1809
1832
  /**
1810
1833
  * send stats
1811
1834
  * @returns string status
@@ -4052,6 +4075,7 @@ export declare class JobService {
4052
4075
  * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
4053
4076
  *
4054
4077
  * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
4078
+ * @param data.timeout custom timeout in seconds for this preview run
4055
4079
  * @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
4056
4080
  * @returns string job created
4057
4081
  * @throws ApiError
@@ -4497,6 +4521,15 @@ export declare class JobService {
4497
4521
  * @throws ApiError
4498
4522
  */
4499
4523
  static getFlowAllLogs(data: GetFlowAllLogsData): CancelablePromise<GetFlowAllLogsResponse>;
4524
+ /**
4525
+ * get all logs for a flow job in a structured format
4526
+ * @param data The data for the request.
4527
+ * @param data.workspace
4528
+ * @param data.id
4529
+ * @returns unknown structured logs of all flow steps, one entry per job
4530
+ * @throws ApiError
4531
+ */
4532
+ static getFlowAllLogsStructured(data: GetFlowAllLogsStructuredData): CancelablePromise<GetFlowAllLogsStructuredResponse>;
4500
4533
  /**
4501
4534
  * get completed job logs tail
4502
4535
  * @param data The data for the request.
@@ -88,19 +88,35 @@ var HealthService = class {
88
88
  };
89
89
  var DocumentationService = class {
90
90
  /**
91
- * query Windmill AI documentation assistant (EE only)
91
+ * Full-text search across the entire Windmill documentation. Provide one or more keywords; returns the most relevant docs pages, each with its Source URL and short matching snippets. Use this FIRST to find relevant pages by their content (a flag, function, error message, config key or concept). If the snippets answer the question, answer directly; otherwise call readDocsPage with a returned Source URL to read more.
92
92
  * @param data The data for the request.
93
- * @param data.requestBody query to send to the AI documentation assistant
94
- * @returns unknown AI documentation assistant response
93
+ * @param data.query Keywords to search for in the documentation body, e.g. "chromium worker tag" or "retry exponential backoff". Fewer, more distinctive words match better.
94
+ * @returns unknown matching documentation pages
95
95
  * @throws ApiError
96
96
  */
97
- static queryDocumentation(data) {
97
+ static searchDocs(data) {
98
98
  return request(OpenAPI, {
99
- method: "POST",
100
- url: "/inkeep",
101
- body: data.requestBody,
102
- mediaType: "application/json",
103
- errors: { 403: "Enterprise Edition required" }
99
+ method: "GET",
100
+ url: "/docs/search",
101
+ query: { query: data.query }
102
+ });
103
+ }
104
+ /**
105
+ * Fetch the markdown of a single Windmill documentation page. Provide the `url` of a page found via searchDocs (its Source URL). If the page is large, this returns its list of section headings instead of the full content; call again with the `section` argument set to one of those headings to read that section.
106
+ * @param data The data for the request.
107
+ * @param data.url The docs page to read, as a Source URL returned by searchDocs (e.g. https://www.windmill.dev/docs/core_concepts/jobs). A bare path (e.g. /docs/core_concepts/jobs) is also accepted.
108
+ * @param data.section Optional. A heading title from the page outline to read just that section instead of the full page.
109
+ * @returns unknown documentation page content
110
+ * @throws ApiError
111
+ */
112
+ static readDocsPage(data) {
113
+ return request(OpenAPI, {
114
+ method: "GET",
115
+ url: "/docs/page",
116
+ query: {
117
+ url: data.url,
118
+ section: data.section
119
+ }
104
120
  });
105
121
  }
106
122
  };
@@ -3351,6 +3367,32 @@ var SettingService = class {
3351
3367
  });
3352
3368
  }
3353
3369
  /**
3370
+ * start an opt-in historical backfill of audit logs to object storage
3371
+ * @param data The data for the request.
3372
+ * @param data.requestBody
3373
+ * @returns unknown backfill started
3374
+ * @throws ApiError
3375
+ */
3376
+ static runAuditLogsS3Backfill(data) {
3377
+ return request(OpenAPI, {
3378
+ method: "POST",
3379
+ url: "/settings/audit_logs_s3_backfill",
3380
+ body: data.requestBody,
3381
+ mediaType: "application/json"
3382
+ });
3383
+ }
3384
+ /**
3385
+ * get status of the audit-log object-store historical backfill
3386
+ * @returns unknown current backfill status (null if never run)
3387
+ * @throws ApiError
3388
+ */
3389
+ static getAuditLogsS3BackfillStatus() {
3390
+ return request(OpenAPI, {
3391
+ method: "GET",
3392
+ url: "/settings/audit_logs_s3_backfill_status"
3393
+ });
3394
+ }
3395
+ /**
3354
3396
  * send stats
3355
3397
  * @returns string status
3356
3398
  * @throws ApiError
@@ -7620,6 +7662,7 @@ var JobService = class {
7620
7662
  * Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
7621
7663
  *
7622
7664
  * @param data.invisibleToOwner make the run invisible to the the script owner (default false)
7665
+ * @param data.timeout custom timeout in seconds for this preview run
7623
7666
  * @param data.jobId The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
7624
7667
  * @returns string job created
7625
7668
  * @throws ApiError
@@ -7632,6 +7675,7 @@ var JobService = class {
7632
7675
  query: {
7633
7676
  include_header: data.includeHeader,
7634
7677
  invisible_to_owner: data.invisibleToOwner,
7678
+ timeout: data.timeout,
7635
7679
  job_id: data.jobId
7636
7680
  },
7637
7681
  body: data.requestBody,
@@ -8509,6 +8553,24 @@ var JobService = class {
8509
8553
  });
8510
8554
  }
8511
8555
  /**
8556
+ * get all logs for a flow job in a structured format
8557
+ * @param data The data for the request.
8558
+ * @param data.workspace
8559
+ * @param data.id
8560
+ * @returns unknown structured logs of all flow steps, one entry per job
8561
+ * @throws ApiError
8562
+ */
8563
+ static getFlowAllLogsStructured(data) {
8564
+ return request(OpenAPI, {
8565
+ method: "GET",
8566
+ url: "/w/{workspace}/jobs_u/get_flow_all_logs_structured/{id}",
8567
+ path: {
8568
+ workspace: data.workspace,
8569
+ id: data.id
8570
+ }
8571
+ });
8572
+ }
8573
+ /**
8512
8574
  * get completed job logs tail
8513
8575
  * @param data The data for the request.
8514
8576
  * @param data.workspace
@@ -1671,6 +1671,7 @@ export type QueuedJob = {
1671
1671
  aggregate_wait_time_ms?: number;
1672
1672
  suspend?: number;
1673
1673
  preprocessed?: boolean;
1674
+ is_retry?: boolean;
1674
1675
  worker?: string;
1675
1676
  };
1676
1677
  export type CompletedJob = {
@@ -1716,6 +1717,7 @@ export type CompletedJob = {
1716
1717
  self_wait_time_ms?: number;
1717
1718
  aggregate_wait_time_ms?: number;
1718
1719
  preprocessed?: boolean;
1720
+ is_retry?: boolean;
1719
1721
  worker?: string;
1720
1722
  };
1721
1723
  /**
@@ -5904,19 +5906,37 @@ export type GetHealthStatusData = {
5904
5906
  };
5905
5907
  export type GetHealthStatusResponse = HealthStatusResponse;
5906
5908
  export type GetHealthDetailedResponse = DetailedHealthResponse;
5907
- export type QueryDocumentationData = {
5909
+ export type SearchDocsData = {
5908
5910
  /**
5909
- * query to send to the AI documentation assistant
5911
+ * Keywords to search for in the documentation body, e.g. "chromium worker tag" or "retry exponential backoff". Fewer, more distinctive words match better.
5910
5912
  */
5911
- requestBody: {
5912
- /**
5913
- * The documentation query to send to the AI assistant
5914
- */
5915
- query: string;
5916
- };
5913
+ query: string;
5917
5914
  };
5918
- export type QueryDocumentationResponse = {
5919
- [key: string]: unknown;
5915
+ export type SearchDocsResponse = {
5916
+ /**
5917
+ * Model-ready rendering of the results
5918
+ */
5919
+ text: string;
5920
+ results: Array<{
5921
+ url: string;
5922
+ title: string;
5923
+ score: number;
5924
+ snippets: Array<(string)>;
5925
+ }>;
5926
+ };
5927
+ export type ReadDocsPageData = {
5928
+ /**
5929
+ * Optional. A heading title from the page outline to read just that section instead of the full page.
5930
+ */
5931
+ section?: string;
5932
+ /**
5933
+ * The docs page to read, as a Source URL returned by searchDocs (e.g. https://www.windmill.dev/docs/core_concepts/jobs). A bare path (e.g. /docs/core_concepts/jobs) is also accepted.
5934
+ */
5935
+ url: string;
5936
+ };
5937
+ export type ReadDocsPageResponse = {
5938
+ text: string;
5939
+ source_url: string;
5920
5940
  };
5921
5941
  export type GetAuditLogData = {
5922
5942
  id: number;
@@ -7592,6 +7612,32 @@ export type GetAuditLogsS3StatusResponse = {
7592
7612
  updated_at: string;
7593
7613
  owner?: string | null;
7594
7614
  } | null;
7615
+ export type RunAuditLogsS3BackfillData = {
7616
+ requestBody: {
7617
+ /**
7618
+ * inclusive lower bound of the window to export
7619
+ */
7620
+ from: string;
7621
+ /**
7622
+ * exclusive upper bound of the window to export
7623
+ */
7624
+ to: string;
7625
+ };
7626
+ };
7627
+ export type RunAuditLogsS3BackfillResponse = unknown;
7628
+ export type GetAuditLogsS3BackfillStatusResponse = {
7629
+ running: boolean;
7630
+ started_at: string;
7631
+ finished_at?: string | null;
7632
+ phase: string;
7633
+ from: string;
7634
+ to: string;
7635
+ rows_written: number;
7636
+ objects_written: number;
7637
+ last_ts?: string | null;
7638
+ errors: number;
7639
+ last_error?: string | null;
7640
+ } | null;
7595
7641
  export type SendStatsResponse = string;
7596
7642
  export type RestartWorkerGroupData = {
7597
7643
  /**
@@ -10540,6 +10586,10 @@ export type RunScriptPreviewData = {
10540
10586
  * preview
10541
10587
  */
10542
10588
  requestBody: Preview;
10589
+ /**
10590
+ * custom timeout in seconds for this preview run
10591
+ */
10592
+ timeout?: number;
10543
10593
  workspace: string;
10544
10594
  };
10545
10595
  export type RunScriptPreviewResponse = string;
@@ -11364,6 +11414,43 @@ export type GetFlowAllLogsData = {
11364
11414
  workspace: string;
11365
11415
  };
11366
11416
  export type GetFlowAllLogsResponse = string;
11417
+ export type GetFlowAllLogsStructuredData = {
11418
+ id: string;
11419
+ workspace: string;
11420
+ };
11421
+ export type GetFlowAllLogsStructuredResponse = Array<{
11422
+ job_id: string;
11423
+ /**
11424
+ * human-readable label describing the job's position in the flow tree
11425
+ */
11426
+ label: string;
11427
+ /**
11428
+ * job kind (script, flow, forloopflow, ...)
11429
+ */
11430
+ kind: string;
11431
+ flow_step_id?: string | null;
11432
+ /**
11433
+ * materialized step path (e.g. "a/b")
11434
+ */
11435
+ step_path?: string | null;
11436
+ /**
11437
+ * depth in the flow tree (0 for the root flow job)
11438
+ */
11439
+ depth: number;
11440
+ /**
11441
+ * parent module type (forloopflow, branchall, ...)
11442
+ */
11443
+ parent_module_type?: string | null;
11444
+ /**
11445
+ * 1-based index of this job among siblings sharing the same step
11446
+ */
11447
+ sibling_index: number;
11448
+ /**
11449
+ * total number of siblings sharing the same step
11450
+ */
11451
+ sibling_count: number;
11452
+ logs: string;
11453
+ }>;
11367
11454
  export type GetCompletedJobLogsTailData = {
11368
11455
  id: string;
11369
11456
  workspace: string;
@@ -14797,30 +14884,53 @@ export type $OpenApiTs = {
14797
14884
  };
14798
14885
  };
14799
14886
  };
14800
- '/inkeep': {
14801
- post: {
14887
+ '/docs/search': {
14888
+ get: {
14802
14889
  req: {
14803
14890
  /**
14804
- * query to send to the AI documentation assistant
14891
+ * Keywords to search for in the documentation body, e.g. "chromium worker tag" or "retry exponential backoff". Fewer, more distinctive words match better.
14805
14892
  */
14806
- requestBody: {
14893
+ query: string;
14894
+ };
14895
+ res: {
14896
+ /**
14897
+ * matching documentation pages
14898
+ */
14899
+ 200: {
14807
14900
  /**
14808
- * The documentation query to send to the AI assistant
14901
+ * Model-ready rendering of the results
14809
14902
  */
14810
- query: string;
14903
+ text: string;
14904
+ results: Array<{
14905
+ url: string;
14906
+ title: string;
14907
+ score: number;
14908
+ snippets: Array<(string)>;
14909
+ }>;
14811
14910
  };
14812
14911
  };
14912
+ };
14913
+ };
14914
+ '/docs/page': {
14915
+ get: {
14916
+ req: {
14917
+ /**
14918
+ * Optional. A heading title from the page outline to read just that section instead of the full page.
14919
+ */
14920
+ section?: string;
14921
+ /**
14922
+ * The docs page to read, as a Source URL returned by searchDocs (e.g. https://www.windmill.dev/docs/core_concepts/jobs). A bare path (e.g. /docs/core_concepts/jobs) is also accepted.
14923
+ */
14924
+ url: string;
14925
+ };
14813
14926
  res: {
14814
14927
  /**
14815
- * AI documentation assistant response
14928
+ * documentation page content
14816
14929
  */
14817
14930
  200: {
14818
- [key: string]: unknown;
14931
+ text: string;
14932
+ source_url: string;
14819
14933
  };
14820
- /**
14821
- * Enterprise Edition required
14822
- */
14823
- 403: string;
14824
14934
  };
14825
14935
  };
14826
14936
  };
@@ -18285,6 +18395,50 @@ export type $OpenApiTs = {
18285
18395
  };
18286
18396
  };
18287
18397
  };
18398
+ '/settings/audit_logs_s3_backfill': {
18399
+ post: {
18400
+ req: {
18401
+ requestBody: {
18402
+ /**
18403
+ * inclusive lower bound of the window to export
18404
+ */
18405
+ from: string;
18406
+ /**
18407
+ * exclusive upper bound of the window to export
18408
+ */
18409
+ to: string;
18410
+ };
18411
+ };
18412
+ res: {
18413
+ /**
18414
+ * backfill started
18415
+ */
18416
+ 202: unknown;
18417
+ };
18418
+ };
18419
+ };
18420
+ '/settings/audit_logs_s3_backfill_status': {
18421
+ get: {
18422
+ res: {
18423
+ /**
18424
+ * current backfill status (null if never run)
18425
+ */
18426
+ 200: {
18427
+ running: boolean;
18428
+ started_at: string;
18429
+ finished_at?: string | null;
18430
+ phase: string;
18431
+ from: string;
18432
+ to: string;
18433
+ rows_written: number;
18434
+ objects_written: number;
18435
+ last_ts?: string | null;
18436
+ errors: number;
18437
+ last_error?: string | null;
18438
+ } | null;
18439
+ };
18440
+ };
18441
+ };
18288
18442
  '/settings/send_stats': {
18289
18443
  post: {
18290
18444
  res: {
@@ -23115,6 +23269,10 @@ export type $OpenApiTs = {
23115
23269
  * preview
23116
23270
  */
23117
23271
  requestBody: Preview;
23272
+ /**
23273
+ * custom timeout in seconds for this preview run
23274
+ */
23275
+ timeout?: number;
23118
23276
  workspace: string;
23119
23277
  };
23120
23278
  res: {
@@ -24234,6 +24392,52 @@ export type $OpenApiTs = {
24234
24392
  };
24235
24393
  };
24236
24394
  };
24395
+ '/w/{workspace}/jobs_u/get_flow_all_logs_structured/{id}': {
24396
+ get: {
24397
+ req: {
24398
+ id: string;
24399
+ workspace: string;
24400
+ };
24401
+ res: {
24402
+ /**
24403
+ * structured logs of all flow steps, one entry per job
24404
+ */
24405
+ 200: Array<{
24406
+ job_id: string;
24407
+ /**
24408
+ * human-readable label describing the job's position in the flow tree
24409
+ */
24410
+ label: string;
24411
+ /**
24412
+ * job kind (script, flow, forloopflow, ...)
24413
+ */
24414
+ kind: string;
24415
+ flow_step_id?: string | null;
24416
+ /**
24417
+ * materialized step path (e.g. "a/b")
24418
+ */
24419
+ step_path?: string | null;
24420
+ /**
24421
+ * depth in the flow tree (0 for the root flow job)
24422
+ */
24423
+ depth: number;
24424
+ /**
24425
+ * parent module type (forloopflow, branchall, ...)
24426
+ */
24427
+ parent_module_type?: string | null;
24428
+ /**
24429
+ * 1-based index of this job among siblings sharing the same step
24430
+ */
24431
+ sibling_index: number;
24432
+ /**
24433
+ * total number of siblings sharing the same step
24434
+ */
24435
+ sibling_count: number;
24436
+ logs: string;
24437
+ }>;
24438
+ };
24439
+ };
24440
+ };
24237
24441
  '/w/{workspace}/jobs_u/get_completed_logs_tail/{id}': {
24238
24442
  get: {
24239
24443
  req: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.739.0",
4
+ "version": "1.741.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "homepage": "https://github.com/windmill-labs/windmill/tree/main/typescript-client#readme",