windmill-cli 1.575.4 → 1.576.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/gen/core/OpenAPI.js +1 -1
- package/esm/gen/services.gen.js +193 -0
- package/esm/src/main.js +1 -1
- package/esm/wasm/regex/windmill_parser_wasm.js +37 -37
- package/esm/wasm/regex/windmill_parser_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- package/types/gen/services.gen.d.ts +100 -1
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +203 -0
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/src/main.d.ts +1 -1
- package/types/wasm/regex/windmill_parser_wasm.d.ts +14 -14
- package/types/wasm/regex/windmill_parser_wasm.d.ts.map +1 -1
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +203 -0
- 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.576.1";
|
|
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;
|
|
@@ -2,61 +2,61 @@
|
|
|
2
2
|
* @param {string} code
|
|
3
3
|
* @returns {string}
|
|
4
4
|
*/
|
|
5
|
-
export function
|
|
5
|
+
export function parse_mssql(code: string): string;
|
|
6
6
|
/**
|
|
7
7
|
* @param {string} code
|
|
8
|
-
* @returns {string
|
|
8
|
+
* @returns {string}
|
|
9
9
|
*/
|
|
10
|
-
export function
|
|
10
|
+
export function parse_powershell(code: string): string;
|
|
11
11
|
/**
|
|
12
12
|
* @param {string} code
|
|
13
13
|
* @returns {string}
|
|
14
14
|
*/
|
|
15
|
-
export function
|
|
15
|
+
export function parse_oracledb(code: string): string;
|
|
16
16
|
/**
|
|
17
17
|
* @param {string} code
|
|
18
18
|
* @returns {string}
|
|
19
19
|
*/
|
|
20
|
-
export function
|
|
20
|
+
export function parse_graphql(code: string): string;
|
|
21
21
|
/**
|
|
22
22
|
* @param {string} code
|
|
23
23
|
* @returns {string}
|
|
24
24
|
*/
|
|
25
|
-
export function
|
|
25
|
+
export function parse_assets_sql(code: string): string;
|
|
26
26
|
/**
|
|
27
27
|
* @param {string} code
|
|
28
28
|
* @returns {string}
|
|
29
29
|
*/
|
|
30
|
-
export function
|
|
30
|
+
export function parse_mysql(code: string): string;
|
|
31
31
|
/**
|
|
32
32
|
* @param {string} code
|
|
33
33
|
* @returns {string}
|
|
34
34
|
*/
|
|
35
|
-
export function
|
|
35
|
+
export function parse_bash(code: string): string;
|
|
36
36
|
/**
|
|
37
37
|
* @param {string} code
|
|
38
38
|
* @returns {string}
|
|
39
39
|
*/
|
|
40
|
-
export function
|
|
40
|
+
export function parse_duckdb(code: string): string;
|
|
41
41
|
/**
|
|
42
42
|
* @param {string} code
|
|
43
|
-
* @returns {string}
|
|
43
|
+
* @returns {string | undefined}
|
|
44
44
|
*/
|
|
45
|
-
export function
|
|
45
|
+
export function parse_db_resource(code: string): string | undefined;
|
|
46
46
|
/**
|
|
47
47
|
* @param {string} code
|
|
48
48
|
* @returns {string}
|
|
49
49
|
*/
|
|
50
|
-
export function
|
|
50
|
+
export function parse_bigquery(code: string): string;
|
|
51
51
|
/**
|
|
52
52
|
* @param {string} code
|
|
53
53
|
* @returns {string}
|
|
54
54
|
*/
|
|
55
|
-
export function
|
|
55
|
+
export function parse_snowflake(code: string): string;
|
|
56
56
|
/**
|
|
57
57
|
* @param {string} code
|
|
58
58
|
* @returns {string}
|
|
59
59
|
*/
|
|
60
|
-
export function
|
|
60
|
+
export function parse_sql(code: string): string;
|
|
61
61
|
export const __wasm: any;
|
|
62
62
|
//# sourceMappingURL=windmill_parser_wasm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"windmill_parser_wasm.d.ts","sourceRoot":"","sources":["../../../src/wasm/regex/windmill_parser_wasm.js"],"names":[],"mappings":"AAuEA;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"windmill_parser_wasm.d.ts","sourceRoot":"","sources":["../../../src/wasm/regex/windmill_parser_wasm.js"],"names":[],"mappings":"AAuEA;;;GAGG;AACH,kCAHW,MAAM,GACJ,MAAM,CAelB;AAED;;;GAGG;AACH,uCAHW,MAAM,GACJ,MAAM,CAelB;AAED;;;GAGG;AACH,qCAHW,MAAM,GACJ,MAAM,CAelB;AAED;;;GAGG;AACH,oCAHW,MAAM,GACJ,MAAM,CAelB;AAED;;;GAGG;AACH,uCAHW,MAAM,GACJ,MAAM,CAelB;AAED;;;GAGG;AACH,kCAHW,MAAM,GACJ,MAAM,CAelB;AAED;;;GAGG;AACH,iCAHW,MAAM,GACJ,MAAM,CAelB;AAED;;;GAGG;AACH,mCAHW,MAAM,GACJ,MAAM,CAelB;AAED;;;GAGG;AACH,wCAHW,MAAM,GACJ,MAAM,GAAG,SAAS,CAY9B;AAED;;;GAGG;AACH,qCAHW,MAAM,GACJ,MAAM,CAelB;AAED;;;GAGG;AACH,sCAHW,MAAM,GACJ,MAAM,CAelB;AAED;;;GAGG;AACH,gCAHW,MAAM,GACJ,MAAM,CAelB;AAkCD,yBAA2B"}
|
|
@@ -1809,6 +1809,7 @@ export type GlobalUserInfo = {
|
|
|
1809
1809
|
export type login_type = 'password' | 'github';
|
|
1810
1810
|
export type Flow = OpenFlow & FlowMetadata & {
|
|
1811
1811
|
lock_error_logs?: string;
|
|
1812
|
+
version_id?: number;
|
|
1812
1813
|
};
|
|
1813
1814
|
export type ExtraPerms = {
|
|
1814
1815
|
[key: string]: (boolean);
|
|
@@ -4641,6 +4642,78 @@ export type RunWaitResultFlowByPathData = {
|
|
|
4641
4642
|
workspace: string;
|
|
4642
4643
|
};
|
|
4643
4644
|
export type RunWaitResultFlowByPathResponse = (unknown);
|
|
4645
|
+
export type RunWaitResultFlowByVersionData = {
|
|
4646
|
+
/**
|
|
4647
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
4648
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
4649
|
+
*
|
|
4650
|
+
*/
|
|
4651
|
+
includeHeader?: string;
|
|
4652
|
+
/**
|
|
4653
|
+
* 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)
|
|
4654
|
+
*/
|
|
4655
|
+
jobId?: string;
|
|
4656
|
+
/**
|
|
4657
|
+
* memory ID for chat-enabled flows
|
|
4658
|
+
*/
|
|
4659
|
+
memoryId?: string;
|
|
4660
|
+
/**
|
|
4661
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
4662
|
+
*
|
|
4663
|
+
*/
|
|
4664
|
+
queueLimit?: string;
|
|
4665
|
+
/**
|
|
4666
|
+
* script args
|
|
4667
|
+
*/
|
|
4668
|
+
requestBody: ScriptArgs;
|
|
4669
|
+
/**
|
|
4670
|
+
* skip the preprocessor
|
|
4671
|
+
*/
|
|
4672
|
+
skipPreprocessor?: boolean;
|
|
4673
|
+
/**
|
|
4674
|
+
* flow version ID
|
|
4675
|
+
*/
|
|
4676
|
+
version: number;
|
|
4677
|
+
workspace: string;
|
|
4678
|
+
};
|
|
4679
|
+
export type RunWaitResultFlowByVersionResponse = (unknown);
|
|
4680
|
+
export type RunWaitResultFlowByVersionGetData = {
|
|
4681
|
+
/**
|
|
4682
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
4683
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
4684
|
+
*
|
|
4685
|
+
*/
|
|
4686
|
+
includeHeader?: string;
|
|
4687
|
+
/**
|
|
4688
|
+
* 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)
|
|
4689
|
+
*/
|
|
4690
|
+
jobId?: string;
|
|
4691
|
+
/**
|
|
4692
|
+
* memory ID for chat-enabled flows
|
|
4693
|
+
*/
|
|
4694
|
+
memoryId?: string;
|
|
4695
|
+
/**
|
|
4696
|
+
* The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
4697
|
+
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
4698
|
+
*
|
|
4699
|
+
*/
|
|
4700
|
+
payload?: string;
|
|
4701
|
+
/**
|
|
4702
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
4703
|
+
*
|
|
4704
|
+
*/
|
|
4705
|
+
queueLimit?: string;
|
|
4706
|
+
/**
|
|
4707
|
+
* skip the preprocessor
|
|
4708
|
+
*/
|
|
4709
|
+
skipPreprocessor?: boolean;
|
|
4710
|
+
/**
|
|
4711
|
+
* flow version ID
|
|
4712
|
+
*/
|
|
4713
|
+
version: number;
|
|
4714
|
+
workspace: string;
|
|
4715
|
+
};
|
|
4716
|
+
export type RunWaitResultFlowByVersionGetResponse = (unknown);
|
|
4644
4717
|
export type RunAndStreamFlowByPathData = {
|
|
4645
4718
|
/**
|
|
4646
4719
|
* List of headers's keys (separated with ',') whove value are added to the args
|
|
@@ -4715,6 +4788,86 @@ export type RunAndStreamFlowByPathGetData = {
|
|
|
4715
4788
|
workspace: string;
|
|
4716
4789
|
};
|
|
4717
4790
|
export type RunAndStreamFlowByPathGetResponse = (string);
|
|
4791
|
+
export type RunAndStreamFlowByVersionData = {
|
|
4792
|
+
/**
|
|
4793
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
4794
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
4795
|
+
*
|
|
4796
|
+
*/
|
|
4797
|
+
includeHeader?: string;
|
|
4798
|
+
/**
|
|
4799
|
+
* 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)
|
|
4800
|
+
*/
|
|
4801
|
+
jobId?: string;
|
|
4802
|
+
/**
|
|
4803
|
+
* memory ID for chat-enabled flows
|
|
4804
|
+
*/
|
|
4805
|
+
memoryId?: string;
|
|
4806
|
+
/**
|
|
4807
|
+
* delay between polling for job updates in milliseconds
|
|
4808
|
+
*/
|
|
4809
|
+
pollDelayMs?: number;
|
|
4810
|
+
/**
|
|
4811
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
4812
|
+
*
|
|
4813
|
+
*/
|
|
4814
|
+
queueLimit?: string;
|
|
4815
|
+
/**
|
|
4816
|
+
* flow args
|
|
4817
|
+
*/
|
|
4818
|
+
requestBody: ScriptArgs;
|
|
4819
|
+
/**
|
|
4820
|
+
* skip the preprocessor
|
|
4821
|
+
*/
|
|
4822
|
+
skipPreprocessor?: boolean;
|
|
4823
|
+
/**
|
|
4824
|
+
* flow version ID
|
|
4825
|
+
*/
|
|
4826
|
+
version: number;
|
|
4827
|
+
workspace: string;
|
|
4828
|
+
};
|
|
4829
|
+
export type RunAndStreamFlowByVersionResponse = (string);
|
|
4830
|
+
export type RunAndStreamFlowByVersionGetData = {
|
|
4831
|
+
/**
|
|
4832
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
4833
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
4834
|
+
*
|
|
4835
|
+
*/
|
|
4836
|
+
includeHeader?: string;
|
|
4837
|
+
/**
|
|
4838
|
+
* 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)
|
|
4839
|
+
*/
|
|
4840
|
+
jobId?: string;
|
|
4841
|
+
/**
|
|
4842
|
+
* memory ID for chat-enabled flows
|
|
4843
|
+
*/
|
|
4844
|
+
memoryId?: string;
|
|
4845
|
+
/**
|
|
4846
|
+
* The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
|
|
4847
|
+
* `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
|
|
4848
|
+
*
|
|
4849
|
+
*/
|
|
4850
|
+
payload?: string;
|
|
4851
|
+
/**
|
|
4852
|
+
* delay between polling for job updates in milliseconds
|
|
4853
|
+
*/
|
|
4854
|
+
pollDelayMs?: number;
|
|
4855
|
+
/**
|
|
4856
|
+
* The maximum size of the queue for which the request would get rejected if that job would push it above that limit
|
|
4857
|
+
*
|
|
4858
|
+
*/
|
|
4859
|
+
queueLimit?: string;
|
|
4860
|
+
/**
|
|
4861
|
+
* skip the preprocessor
|
|
4862
|
+
*/
|
|
4863
|
+
skipPreprocessor?: boolean;
|
|
4864
|
+
/**
|
|
4865
|
+
* flow version ID
|
|
4866
|
+
*/
|
|
4867
|
+
version: number;
|
|
4868
|
+
workspace: string;
|
|
4869
|
+
};
|
|
4870
|
+
export type RunAndStreamFlowByVersionGetResponse = (string);
|
|
4718
4871
|
export type RunAndStreamScriptByPathData = {
|
|
4719
4872
|
/**
|
|
4720
4873
|
* Override the cache time to live (in seconds). Can not be used to disable caching, only override with a new cache ttl
|
|
@@ -5530,6 +5683,56 @@ export type RunFlowByPathData = {
|
|
|
5530
5683
|
workspace: string;
|
|
5531
5684
|
};
|
|
5532
5685
|
export type RunFlowByPathResponse = (string);
|
|
5686
|
+
export type RunFlowByVersionData = {
|
|
5687
|
+
/**
|
|
5688
|
+
* List of headers's keys (separated with ',') whove value are added to the args
|
|
5689
|
+
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
5690
|
+
*
|
|
5691
|
+
*/
|
|
5692
|
+
includeHeader?: string;
|
|
5693
|
+
/**
|
|
5694
|
+
* make the run invisible to the the flow owner (default false)
|
|
5695
|
+
*/
|
|
5696
|
+
invisibleToOwner?: boolean;
|
|
5697
|
+
/**
|
|
5698
|
+
* 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)
|
|
5699
|
+
*/
|
|
5700
|
+
jobId?: string;
|
|
5701
|
+
/**
|
|
5702
|
+
* memory ID for chat-enabled flows
|
|
5703
|
+
*/
|
|
5704
|
+
memoryId?: string;
|
|
5705
|
+
/**
|
|
5706
|
+
* The parent job that is at the origin and responsible for the execution of this script if any
|
|
5707
|
+
*/
|
|
5708
|
+
parentJob?: string;
|
|
5709
|
+
/**
|
|
5710
|
+
* flow args
|
|
5711
|
+
*/
|
|
5712
|
+
requestBody: ScriptArgs;
|
|
5713
|
+
/**
|
|
5714
|
+
* when to schedule this job (leave empty for immediate run)
|
|
5715
|
+
*/
|
|
5716
|
+
scheduledFor?: string;
|
|
5717
|
+
/**
|
|
5718
|
+
* schedule the script to execute in the number of seconds starting now
|
|
5719
|
+
*/
|
|
5720
|
+
scheduledInSecs?: number;
|
|
5721
|
+
/**
|
|
5722
|
+
* skip the preprocessor
|
|
5723
|
+
*/
|
|
5724
|
+
skipPreprocessor?: boolean;
|
|
5725
|
+
/**
|
|
5726
|
+
* Override the tag to use
|
|
5727
|
+
*/
|
|
5728
|
+
tag?: string;
|
|
5729
|
+
/**
|
|
5730
|
+
* flow version ID
|
|
5731
|
+
*/
|
|
5732
|
+
version: number;
|
|
5733
|
+
workspace: string;
|
|
5734
|
+
};
|
|
5735
|
+
export type RunFlowByVersionResponse = (string);
|
|
5533
5736
|
export type BatchReRunJobsData = {
|
|
5534
5737
|
/**
|
|
5535
5738
|
* list of job ids to re run and arg tranforms
|