windmill-cli 1.543.0 → 1.544.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/esm/gen/core/OpenAPI.js +1 -1
- package/esm/gen/services.gen.js +28 -69
- package/esm/src/main.js +1 -1
- package/package.json +1 -1
- package/types/gen/services.gen.d.ts +13 -34
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +63 -52
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/src/main.d.ts +1 -1
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +63 -52
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
package/types/src/main.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import { pull as hubPull } from "./commands/hub/hub.js";
|
|
|
22
22
|
import { pull, push } from "./commands/sync/sync.js";
|
|
23
23
|
import { add as workspaceAdd } from "./commands/workspace/workspace.js";
|
|
24
24
|
export { flow, app, script, workspace, resource, resourceType, user, variable, hub, folder, schedule, trigger, sync, gitsyncSettings, instance, dev, hubPull, pull, push, workspaceAdd, };
|
|
25
|
-
export declare const VERSION = "1.
|
|
25
|
+
export declare const VERSION = "1.544.0";
|
|
26
26
|
export declare const WM_FORK_PREFIX = "wm-fork";
|
|
27
27
|
declare const command: Command<{
|
|
28
28
|
workspace?: (import("../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType & string) | undefined;
|
|
@@ -280,6 +280,9 @@ export type AIConfig = {
|
|
|
280
280
|
custom_prompts?: {
|
|
281
281
|
[key: string]: (string);
|
|
282
282
|
};
|
|
283
|
+
max_tokens_per_model?: {
|
|
284
|
+
[key: string]: (number);
|
|
285
|
+
};
|
|
283
286
|
};
|
|
284
287
|
export type Alert = {
|
|
285
288
|
name: string;
|
|
@@ -1316,6 +1319,10 @@ export type GcpTriggerData = {
|
|
|
1316
1319
|
is_flow: boolean;
|
|
1317
1320
|
enabled?: boolean;
|
|
1318
1321
|
auto_acknowledge_msg?: boolean;
|
|
1322
|
+
/**
|
|
1323
|
+
* Time in seconds within which the message must be acknowledged. If not provided, defaults to the subscription's acknowledgment deadline (600 seconds).
|
|
1324
|
+
*/
|
|
1325
|
+
ack_deadline?: number;
|
|
1319
1326
|
error_handler_path?: string;
|
|
1320
1327
|
error_handler_args?: ScriptArgs;
|
|
1321
1328
|
retry?: Retry;
|
|
@@ -1800,6 +1807,7 @@ export type LargeFileStorage = {
|
|
|
1800
1807
|
azure_blob_resource_path?: string;
|
|
1801
1808
|
gcs_resource_path?: string;
|
|
1802
1809
|
public_resource?: boolean;
|
|
1810
|
+
advanced_permissions?: Array<S3PermissionRule>;
|
|
1803
1811
|
secondary_storage?: {
|
|
1804
1812
|
[key: string]: {
|
|
1805
1813
|
type?: 'S3Storage' | 'AzureBlobStorage' | 'AzureWorkloadIdentity' | 'S3AwsOidc' | 'GoogleCloudStorage';
|
|
@@ -1825,6 +1833,34 @@ export type DucklakeSettings = {
|
|
|
1825
1833
|
};
|
|
1826
1834
|
};
|
|
1827
1835
|
};
|
|
1836
|
+
export type DynamicInputData = {
|
|
1837
|
+
/**
|
|
1838
|
+
* Name of the function to execute for dynamic select
|
|
1839
|
+
*/
|
|
1840
|
+
entrypoint_function: string;
|
|
1841
|
+
/**
|
|
1842
|
+
* Arguments to pass to the function
|
|
1843
|
+
*/
|
|
1844
|
+
args?: {
|
|
1845
|
+
[key: string]: unknown;
|
|
1846
|
+
};
|
|
1847
|
+
runnable_ref: ({
|
|
1848
|
+
source: 'deployed';
|
|
1849
|
+
/**
|
|
1850
|
+
* Path to the deployed script or flow
|
|
1851
|
+
*/
|
|
1852
|
+
path: string;
|
|
1853
|
+
runnable_kind: RunnableKind;
|
|
1854
|
+
} | {
|
|
1855
|
+
source: 'inline';
|
|
1856
|
+
/**
|
|
1857
|
+
* Code content for inline execution
|
|
1858
|
+
*/
|
|
1859
|
+
code: string;
|
|
1860
|
+
language?: ScriptLang;
|
|
1861
|
+
});
|
|
1862
|
+
};
|
|
1863
|
+
export type source2 = 'deployed';
|
|
1828
1864
|
export type WindmillLargeFile = {
|
|
1829
1865
|
s3: string;
|
|
1830
1866
|
};
|
|
@@ -1864,6 +1900,10 @@ export type WorkspaceDefaultScripts = {
|
|
|
1864
1900
|
[key: string]: (string);
|
|
1865
1901
|
};
|
|
1866
1902
|
};
|
|
1903
|
+
export type S3PermissionRule = {
|
|
1904
|
+
pattern: string;
|
|
1905
|
+
allow: string;
|
|
1906
|
+
};
|
|
1867
1907
|
export type GitRepositorySettings = {
|
|
1868
1908
|
script_path: string;
|
|
1869
1909
|
git_repo_resource_path: string;
|
|
@@ -2187,6 +2227,10 @@ export type ParameterIncludeHeader = string;
|
|
|
2187
2227
|
*
|
|
2188
2228
|
*/
|
|
2189
2229
|
export type ParameterQueueLimit = string;
|
|
2230
|
+
/**
|
|
2231
|
+
* skip the preprocessor
|
|
2232
|
+
*/
|
|
2233
|
+
export type ParameterSkipPreprocessor = boolean;
|
|
2190
2234
|
/**
|
|
2191
2235
|
* The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
2192
2236
|
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
@@ -2667,7 +2711,6 @@ export type GetRunnableResponse = ({
|
|
|
2667
2711
|
workspace: string;
|
|
2668
2712
|
endpoint_async: string;
|
|
2669
2713
|
endpoint_sync: string;
|
|
2670
|
-
endpoint_openai_sync: string;
|
|
2671
2714
|
summary: string;
|
|
2672
2715
|
description?: string;
|
|
2673
2716
|
kind: string;
|
|
@@ -4210,34 +4253,6 @@ export type RunScriptByPathData = {
|
|
|
4210
4253
|
workspace: string;
|
|
4211
4254
|
};
|
|
4212
4255
|
export type RunScriptByPathResponse = (string);
|
|
4213
|
-
export type OpenaiSyncScriptByPathData = {
|
|
4214
|
-
/**
|
|
4215
|
-
* List of headers's keys (separated with ',') whove value are added to the args
|
|
4216
|
-
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
4217
|
-
*
|
|
4218
|
-
*/
|
|
4219
|
-
includeHeader?: string;
|
|
4220
|
-
/**
|
|
4221
|
-
* 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)
|
|
4222
|
-
*/
|
|
4223
|
-
jobId?: string;
|
|
4224
|
-
/**
|
|
4225
|
-
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
4226
|
-
*/
|
|
4227
|
-
parentJob?: string;
|
|
4228
|
-
path: string;
|
|
4229
|
-
/**
|
|
4230
|
-
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
4231
|
-
*
|
|
4232
|
-
*/
|
|
4233
|
-
queueLimit?: string;
|
|
4234
|
-
/**
|
|
4235
|
-
* script args
|
|
4236
|
-
*/
|
|
4237
|
-
requestBody: ScriptArgs;
|
|
4238
|
-
workspace: string;
|
|
4239
|
-
};
|
|
4240
|
-
export type OpenaiSyncScriptByPathResponse = (unknown);
|
|
4241
4256
|
export type RunWaitResultScriptByPathData = {
|
|
4242
4257
|
/**
|
|
4243
4258
|
* Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
@@ -4267,6 +4282,10 @@ export type RunWaitResultScriptByPathData = {
|
|
|
4267
4282
|
* script args
|
|
4268
4283
|
*/
|
|
4269
4284
|
requestBody: ScriptArgs;
|
|
4285
|
+
/**
|
|
4286
|
+
* skip the preprocessor
|
|
4287
|
+
*/
|
|
4288
|
+
skipPreprocessor?: boolean;
|
|
4270
4289
|
/**
|
|
4271
4290
|
* Override the tag to use
|
|
4272
4291
|
*/
|
|
@@ -4305,6 +4324,10 @@ export type RunWaitResultScriptByPathGetData = {
|
|
|
4305
4324
|
*
|
|
4306
4325
|
*/
|
|
4307
4326
|
queueLimit?: string;
|
|
4327
|
+
/**
|
|
4328
|
+
* skip the preprocessor
|
|
4329
|
+
*/
|
|
4330
|
+
skipPreprocessor?: boolean;
|
|
4308
4331
|
/**
|
|
4309
4332
|
* Override the tag to use
|
|
4310
4333
|
*/
|
|
@@ -4312,7 +4335,7 @@ export type RunWaitResultScriptByPathGetData = {
|
|
|
4312
4335
|
workspace: string;
|
|
4313
4336
|
};
|
|
4314
4337
|
export type RunWaitResultScriptByPathGetResponse = (unknown);
|
|
4315
|
-
export type
|
|
4338
|
+
export type RunWaitResultFlowByPathData = {
|
|
4316
4339
|
/**
|
|
4317
4340
|
* List of headers's keys (separated with ',') whove value are added to the args
|
|
4318
4341
|
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
@@ -4333,30 +4356,10 @@ export type OpenaiSyncFlowByPathData = {
|
|
|
4333
4356
|
* script args
|
|
4334
4357
|
*/
|
|
4335
4358
|
requestBody: ScriptArgs;
|
|
4336
|
-
workspace: string;
|
|
4337
|
-
};
|
|
4338
|
-
export type OpenaiSyncFlowByPathResponse = (unknown);
|
|
4339
|
-
export type RunWaitResultFlowByPathData = {
|
|
4340
4359
|
/**
|
|
4341
|
-
*
|
|
4342
|
-
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
4343
|
-
*
|
|
4344
|
-
*/
|
|
4345
|
-
includeHeader?: string;
|
|
4346
|
-
/**
|
|
4347
|
-
* 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)
|
|
4348
|
-
*/
|
|
4349
|
-
jobId?: string;
|
|
4350
|
-
path: string;
|
|
4351
|
-
/**
|
|
4352
|
-
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
4353
|
-
*
|
|
4354
|
-
*/
|
|
4355
|
-
queueLimit?: string;
|
|
4356
|
-
/**
|
|
4357
|
-
* script args
|
|
4360
|
+
* skip the preprocessor
|
|
4358
4361
|
*/
|
|
4359
|
-
|
|
4362
|
+
skipPreprocessor?: boolean;
|
|
4360
4363
|
workspace: string;
|
|
4361
4364
|
};
|
|
4362
4365
|
export type RunWaitResultFlowByPathResponse = (unknown);
|
|
@@ -5147,6 +5150,14 @@ export type RunFlowPreviewAndWaitResultData = {
|
|
|
5147
5150
|
workspace: string;
|
|
5148
5151
|
};
|
|
5149
5152
|
export type RunFlowPreviewAndWaitResultResponse = (unknown);
|
|
5153
|
+
export type RunDynamicSelectData = {
|
|
5154
|
+
/**
|
|
5155
|
+
* dynamic select request
|
|
5156
|
+
*/
|
|
5157
|
+
requestBody: DynamicInputData;
|
|
5158
|
+
workspace: string;
|
|
5159
|
+
};
|
|
5160
|
+
export type RunDynamicSelectResponse = (string);
|
|
5150
5161
|
export type ListQueueData = {
|
|
5151
5162
|
/**
|
|
5152
5163
|
* allow wildcards (*) in the filter of label, tag, worker
|