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/gen/types.gen.d.ts
CHANGED
|
@@ -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
|