windmill-cli 1.593.1 → 1.594.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 +8 -12
- package/esm/src/main.js +1 -1
- package/package.json +1 -1
- package/types/gen/services.gen.d.ts +3 -5
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +45 -22
- 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 +45 -22
- 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.594.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;
|
|
@@ -2498,6 +2498,7 @@ export type RestartedFrom = {
|
|
|
2498
2498
|
flow_job_id?: string;
|
|
2499
2499
|
step_id?: string;
|
|
2500
2500
|
branch_or_iteration_n?: number;
|
|
2501
|
+
flow_version?: number;
|
|
2501
2502
|
};
|
|
2502
2503
|
export type Policy = {
|
|
2503
2504
|
triggerables?: {
|
|
@@ -4053,30 +4054,47 @@ export type EditTeamsCommandData = {
|
|
|
4053
4054
|
export type EditTeamsCommandResponse = (string);
|
|
4054
4055
|
export type ListAvailableTeamsIdsData = {
|
|
4055
4056
|
/**
|
|
4056
|
-
*
|
|
4057
|
+
* Pagination cursor URL from previous response. Pass this to fetch the next page of results.
|
|
4058
|
+
*/
|
|
4059
|
+
nextLink?: string;
|
|
4060
|
+
/**
|
|
4061
|
+
* Search teams by name. If omitted, returns first page of all teams.
|
|
4057
4062
|
*/
|
|
4058
4063
|
search?: string;
|
|
4059
4064
|
workspace: string;
|
|
4060
4065
|
};
|
|
4061
|
-
export type ListAvailableTeamsIdsResponse = (
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
+
export type ListAvailableTeamsIdsResponse = ({
|
|
4067
|
+
teams?: Array<{
|
|
4068
|
+
team_name?: string;
|
|
4069
|
+
team_id?: string;
|
|
4070
|
+
}>;
|
|
4066
4071
|
/**
|
|
4067
|
-
*
|
|
4072
|
+
* Total number of teams across all pages
|
|
4068
4073
|
*/
|
|
4069
|
-
|
|
4074
|
+
total_count?: number;
|
|
4075
|
+
/**
|
|
4076
|
+
* Number of teams per page (configurable via TEAMS_PER_PAGE env var)
|
|
4077
|
+
*/
|
|
4078
|
+
per_page?: number;
|
|
4079
|
+
/**
|
|
4080
|
+
* URL to fetch next page of results. Null if no more pages.
|
|
4081
|
+
*/
|
|
4082
|
+
next_link?: (string) | null;
|
|
4083
|
+
});
|
|
4084
|
+
export type ListAvailableTeamsChannelsData = {
|
|
4070
4085
|
/**
|
|
4071
4086
|
* Microsoft Teams team ID
|
|
4072
4087
|
*/
|
|
4073
4088
|
teamId: string;
|
|
4074
4089
|
workspace: string;
|
|
4075
4090
|
};
|
|
4076
|
-
export type ListAvailableTeamsChannelsResponse = (
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4091
|
+
export type ListAvailableTeamsChannelsResponse = ({
|
|
4092
|
+
channels?: Array<{
|
|
4093
|
+
channel_name?: string;
|
|
4094
|
+
channel_id?: string;
|
|
4095
|
+
}>;
|
|
4096
|
+
total_count?: number;
|
|
4097
|
+
});
|
|
4080
4098
|
export type ConnectTeamsData = {
|
|
4081
4099
|
/**
|
|
4082
4100
|
* connect teams
|
|
@@ -6640,10 +6658,6 @@ export type BatchReRunJobsData = {
|
|
|
6640
6658
|
};
|
|
6641
6659
|
export type BatchReRunJobsResponse = (string);
|
|
6642
6660
|
export type RestartFlowAtStepData = {
|
|
6643
|
-
/**
|
|
6644
|
-
* for branchall or loop, the iteration at which the flow should restart
|
|
6645
|
-
*/
|
|
6646
|
-
branchOrIterationN: number;
|
|
6647
6661
|
id: string;
|
|
6648
6662
|
/**
|
|
6649
6663
|
* List of headers's keys (separated with ',') whove value are added to the args
|
|
@@ -6664,9 +6678,22 @@ export type RestartFlowAtStepData = {
|
|
|
6664
6678
|
*/
|
|
6665
6679
|
parentJob?: string;
|
|
6666
6680
|
/**
|
|
6667
|
-
* flow
|
|
6681
|
+
* restart flow parameters
|
|
6668
6682
|
*/
|
|
6669
|
-
requestBody:
|
|
6683
|
+
requestBody: {
|
|
6684
|
+
/**
|
|
6685
|
+
* step id to restart the flow from
|
|
6686
|
+
*/
|
|
6687
|
+
step_id: string;
|
|
6688
|
+
/**
|
|
6689
|
+
* for branchall or loop, the iteration at which the flow should restart (optional)
|
|
6690
|
+
*/
|
|
6691
|
+
branch_or_iteration_n?: number;
|
|
6692
|
+
/**
|
|
6693
|
+
* specific flow version to use for restart (optional, uses current version if not specified)
|
|
6694
|
+
*/
|
|
6695
|
+
flow_version?: number;
|
|
6696
|
+
};
|
|
6670
6697
|
/**
|
|
6671
6698
|
* when to schedule this job (leave empty for immediate run)
|
|
6672
6699
|
*/
|
|
@@ -6675,10 +6702,6 @@ export type RestartFlowAtStepData = {
|
|
|
6675
6702
|
* schedule the script to execute in the number of seconds starting now
|
|
6676
6703
|
*/
|
|
6677
6704
|
scheduledInSecs?: number;
|
|
6678
|
-
/**
|
|
6679
|
-
* step id to restart the flow from
|
|
6680
|
-
*/
|
|
6681
|
-
stepId: string;
|
|
6682
6705
|
/**
|
|
6683
6706
|
* Override the tag to use
|
|
6684
6707
|
*/
|