windmill-cli 1.593.1 → 1.595.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.
@@ -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.593.1";
25
+ export declare const VERSION = "1.595.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;
@@ -1 +1 @@
1
- {"version":3,"file":"windmill_parser_wasm.d.ts","sourceRoot":"","sources":["../../../src/wasm/py/windmill_parser_wasm.js"],"names":[],"mappings":"AAuEA;;;;GAIG;AACH,mCAJW,MAAM,8CAEJ,MAAM,CAiBlB;AAED;;;GAGG;AACH,sCAHW,MAAM,GACJ,MAAM,CAelB;AAkCD,yBAA2B"}
1
+ {"version":3,"file":"windmill_parser_wasm.d.ts","sourceRoot":"","sources":["../../../src/wasm/py/windmill_parser_wasm.js"],"names":[],"mappings":"AA2EA;;;;GAIG;AACH,mCAJW,MAAM,8CAEJ,MAAM,CAiBlB;AAED;;;GAGG;AACH,sCAHW,MAAM,GACJ,MAAM,CAelB;AAkCD,yBAA2B"}
@@ -613,6 +613,7 @@ export type FlowStatusModule = {
613
613
  iterator?: {
614
614
  index?: number;
615
615
  itered?: Array<unknown>;
616
+ itered_len?: number;
616
617
  args?: unknown;
617
618
  };
618
619
  flow_jobs?: Array<(string)>;
@@ -2498,6 +2499,7 @@ export type RestartedFrom = {
2498
2499
  flow_job_id?: string;
2499
2500
  step_id?: string;
2500
2501
  branch_or_iteration_n?: number;
2502
+ flow_version?: number;
2501
2503
  };
2502
2504
  export type Policy = {
2503
2505
  triggerables?: {
@@ -3914,6 +3916,7 @@ export type GetSettingsResponse = ({
3914
3916
  teams_team_id?: string;
3915
3917
  teams_command_script?: string;
3916
3918
  teams_team_name?: string;
3919
+ teams_team_guid?: string;
3917
3920
  auto_invite_domain?: string;
3918
3921
  auto_invite_operator?: boolean;
3919
3922
  auto_add?: boolean;
@@ -4053,30 +4056,47 @@ export type EditTeamsCommandData = {
4053
4056
  export type EditTeamsCommandResponse = (string);
4054
4057
  export type ListAvailableTeamsIdsData = {
4055
4058
  /**
4056
- * Search teams by name
4059
+ * Pagination cursor URL from previous response. Pass this to fetch the next page of results.
4060
+ */
4061
+ nextLink?: string;
4062
+ /**
4063
+ * Search teams by name. If omitted, returns first page of all teams.
4057
4064
  */
4058
4065
  search?: string;
4059
4066
  workspace: string;
4060
4067
  };
4061
- export type ListAvailableTeamsIdsResponse = (Array<{
4062
- team_name?: string;
4063
- team_id?: string;
4064
- }>);
4065
- export type ListAvailableTeamsChannelsData = {
4068
+ export type ListAvailableTeamsIdsResponse = ({
4069
+ teams?: Array<{
4070
+ team_name?: string;
4071
+ team_id?: string;
4072
+ }>;
4066
4073
  /**
4067
- * Search channels by name
4074
+ * Total number of teams across all pages
4068
4075
  */
4069
- search?: string;
4076
+ total_count?: number;
4077
+ /**
4078
+ * Number of teams per page (configurable via TEAMS_PER_PAGE env var)
4079
+ */
4080
+ per_page?: number;
4081
+ /**
4082
+ * URL to fetch next page of results. Null if no more pages.
4083
+ */
4084
+ next_link?: (string) | null;
4085
+ });
4086
+ export type ListAvailableTeamsChannelsData = {
4070
4087
  /**
4071
4088
  * Microsoft Teams team ID
4072
4089
  */
4073
4090
  teamId: string;
4074
4091
  workspace: string;
4075
4092
  };
4076
- export type ListAvailableTeamsChannelsResponse = (Array<{
4077
- channel_name?: string;
4078
- channel_id?: string;
4079
- }>);
4093
+ export type ListAvailableTeamsChannelsResponse = ({
4094
+ channels?: Array<{
4095
+ channel_name?: string;
4096
+ channel_id?: string;
4097
+ }>;
4098
+ total_count?: number;
4099
+ });
4080
4100
  export type ConnectTeamsData = {
4081
4101
  /**
4082
4102
  * connect teams
@@ -6640,10 +6660,6 @@ export type BatchReRunJobsData = {
6640
6660
  };
6641
6661
  export type BatchReRunJobsResponse = (string);
6642
6662
  export type RestartFlowAtStepData = {
6643
- /**
6644
- * for branchall or loop, the iteration at which the flow should restart
6645
- */
6646
- branchOrIterationN: number;
6647
6663
  id: string;
6648
6664
  /**
6649
6665
  * List of headers's keys (separated with ',') whove value are added to the args
@@ -6664,9 +6680,22 @@ export type RestartFlowAtStepData = {
6664
6680
  */
6665
6681
  parentJob?: string;
6666
6682
  /**
6667
- * flow args
6683
+ * restart flow parameters
6668
6684
  */
6669
- requestBody: ScriptArgs;
6685
+ requestBody: {
6686
+ /**
6687
+ * step id to restart the flow from
6688
+ */
6689
+ step_id: string;
6690
+ /**
6691
+ * for branchall or loop, the iteration at which the flow should restart (optional)
6692
+ */
6693
+ branch_or_iteration_n?: number;
6694
+ /**
6695
+ * specific flow version to use for restart (optional, uses current version if not specified)
6696
+ */
6697
+ flow_version?: number;
6698
+ };
6670
6699
  /**
6671
6700
  * when to schedule this job (leave empty for immediate run)
6672
6701
  */
@@ -6675,10 +6704,6 @@ export type RestartFlowAtStepData = {
6675
6704
  * schedule the script to execute in the number of seconds starting now
6676
6705
  */
6677
6706
  scheduledInSecs?: number;
6678
- /**
6679
- * step id to restart the flow from
6680
- */
6681
- stepId: string;
6682
6707
  /**
6683
6708
  * Override the tag to use
6684
6709
  */