windmill-cli 1.660.1 → 1.662.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.
Files changed (2) hide show
  1. package/esm/main.js +38 -2
  2. package/package.json +1 -1
package/esm/main.js CHANGED
@@ -11785,7 +11785,7 @@ var init_OpenAPI = __esm(() => {
11785
11785
  PASSWORD: undefined,
11786
11786
  TOKEN: getEnv2("WM_TOKEN"),
11787
11787
  USERNAME: undefined,
11788
- VERSION: "1.660.1",
11788
+ VERSION: "1.662.0",
11789
11789
  WITH_CREDENTIALS: true,
11790
11790
  interceptors: {
11791
11791
  request: new Interceptors,
@@ -78523,6 +78523,9 @@ properties:
78523
78523
  script_path:
78524
78524
  type: string
78525
78525
  description: Path to the script or flow to execute when triggered
78526
+ permissioned_as:
78527
+ type: string
78528
+ description: The user or group this trigger runs as (permissioned_as)
78526
78529
  is_flow:
78527
78530
  type: boolean
78528
78531
  description: True if script_path points to a flow, false if it points to a script
@@ -78604,6 +78607,7 @@ properties:
78604
78607
  description: Retry configuration for failed module executions
78605
78608
  required:
78606
78609
  - script_path
78610
+ - permissioned_as
78607
78611
  - is_flow
78608
78612
  - gcp_resource_path
78609
78613
  - topic_id
@@ -78616,6 +78620,9 @@ properties:
78616
78620
  script_path:
78617
78621
  type: string
78618
78622
  description: Path to the script or flow to execute when triggered
78623
+ permissioned_as:
78624
+ type: string
78625
+ description: The user or group this trigger runs as (permissioned_as)
78619
78626
  is_flow:
78620
78627
  type: boolean
78621
78628
  description: True if script_path points to a flow, false if it points to a script
@@ -78727,6 +78734,7 @@ properties:
78727
78734
  description: Retry configuration for failed module executions
78728
78735
  required:
78729
78736
  - script_path
78737
+ - permissioned_as
78730
78738
  - is_flow
78731
78739
  - route_path
78732
78740
  - request_type
@@ -78742,6 +78750,9 @@ properties:
78742
78750
  script_path:
78743
78751
  type: string
78744
78752
  description: Path to the script or flow to execute when triggered
78753
+ permissioned_as:
78754
+ type: string
78755
+ description: The user or group this trigger runs as (permissioned_as)
78745
78756
  is_flow:
78746
78757
  type: boolean
78747
78758
  description: True if script_path points to a flow, false if it points to a script
@@ -78819,6 +78830,7 @@ properties:
78819
78830
  description: Retry configuration for failed module executions
78820
78831
  required:
78821
78832
  - script_path
78833
+ - permissioned_as
78822
78834
  - is_flow
78823
78835
  - kafka_resource_path
78824
78836
  - group_id
@@ -78830,6 +78842,9 @@ properties:
78830
78842
  script_path:
78831
78843
  type: string
78832
78844
  description: Path to the script or flow to execute when triggered
78845
+ permissioned_as:
78846
+ type: string
78847
+ description: The user or group this trigger runs as (permissioned_as)
78833
78848
  is_flow:
78834
78849
  type: boolean
78835
78850
  description: True if script_path points to a flow, false if it points to a script
@@ -78907,6 +78922,7 @@ properties:
78907
78922
  description: Retry configuration for failed module executions
78908
78923
  required:
78909
78924
  - script_path
78925
+ - permissioned_as
78910
78926
  - is_flow
78911
78927
  - subscribe_topics
78912
78928
  - mqtt_resource_path
@@ -78916,6 +78932,9 @@ properties:
78916
78932
  script_path:
78917
78933
  type: string
78918
78934
  description: Path to the script or flow to execute when triggered
78935
+ permissioned_as:
78936
+ type: string
78937
+ description: The user or group this trigger runs as (permissioned_as)
78919
78938
  is_flow:
78920
78939
  type: boolean
78921
78940
  description: True if script_path points to a flow, false if it points to a script
@@ -78979,6 +78998,7 @@ properties:
78979
78998
  description: Retry configuration for failed module executions
78980
78999
  required:
78981
79000
  - script_path
79001
+ - permissioned_as
78982
79002
  - is_flow
78983
79003
  - nats_resource_path
78984
79004
  - use_jetstream
@@ -78989,6 +79009,9 @@ properties:
78989
79009
  script_path:
78990
79010
  type: string
78991
79011
  description: Path to the script or flow to execute when triggered
79012
+ permissioned_as:
79013
+ type: string
79014
+ description: The user or group this trigger runs as (permissioned_as)
78992
79015
  is_flow:
78993
79016
  type: boolean
78994
79017
  description: True if script_path points to a flow, false if it points to a script
@@ -79045,6 +79068,7 @@ properties:
79045
79068
  description: Retry configuration for failed module executions
79046
79069
  required:
79047
79070
  - script_path
79071
+ - permissioned_as
79048
79072
  - is_flow
79049
79073
  - postgres_resource_path
79050
79074
  - replication_slot_name
@@ -79071,6 +79095,9 @@ properties:
79071
79095
  args:
79072
79096
  type: object
79073
79097
  description: The arguments to pass to the script or flow
79098
+ permissioned_as:
79099
+ type: string
79100
+ description: The user or group this schedule runs as (e.g., 'u/admin' or 'g/mygroup')
79074
79101
  on_failure:
79075
79102
  type: string
79076
79103
  description: Path to a script or flow to run when the scheduled job fails
@@ -79172,12 +79199,16 @@ required:
79172
79199
  - timezone
79173
79200
  - is_flow
79174
79201
  - enabled
79202
+ - permissioned_as
79175
79203
  `,
79176
79204
  sqs_trigger: `type: object
79177
79205
  properties:
79178
79206
  script_path:
79179
79207
  type: string
79180
79208
  description: Path to the script or flow to execute when triggered
79209
+ permissioned_as:
79210
+ type: string
79211
+ description: The user or group this trigger runs as (permissioned_as)
79181
79212
  is_flow:
79182
79213
  type: boolean
79183
79214
  description: True if script_path points to a flow, false if it points to a script
@@ -79240,6 +79271,7 @@ properties:
79240
79271
  description: Retry configuration for failed module executions
79241
79272
  required:
79242
79273
  - script_path
79274
+ - permissioned_as
79243
79275
  - is_flow
79244
79276
  - queue_url
79245
79277
  - aws_resource_path
@@ -79250,6 +79282,9 @@ properties:
79250
79282
  script_path:
79251
79283
  type: string
79252
79284
  description: Path to the script or flow to execute when triggered
79285
+ permissioned_as:
79286
+ type: string
79287
+ description: The user or group this trigger runs as (permissioned_as)
79253
79288
  is_flow:
79254
79289
  type: boolean
79255
79290
  description: True if script_path points to a flow, false if it points to a script
@@ -79326,6 +79361,7 @@ properties:
79326
79361
  description: Retry configuration for failed module executions
79327
79362
  required:
79328
79363
  - script_path
79364
+ - permissioned_as
79329
79365
  - is_flow
79330
79366
  - url
79331
79367
  - filters
@@ -80014,7 +80050,7 @@ var docs_default = command30;
80014
80050
 
80015
80051
  // src/main.ts
80016
80052
  await init_context();
80017
- var VERSION = "1.660.1";
80053
+ var VERSION = "1.662.0";
80018
80054
  var command31 = new Command().name("wmill").action(() => info(`Welcome to Windmill CLI ${VERSION}. Use -h for help.`)).description("Windmill CLI").globalOption("--workspace <workspace:string>", "Specify the target workspace. This overrides the default workspace.").globalOption("--debug --verbose", "Show debug/verbose logs").globalOption("--show-diffs", "Show diff informations when syncing (may show sensitive informations)").globalOption("--token <token:string>", "Specify an API token. This will override any stored token.").globalOption("--base-url <baseUrl:string>", "Specify the base URL of the API. If used, --token and --workspace are required and no local remote/workspace already set will be used.").globalOption("--config-dir <configDir:string>", "Specify a custom config directory. Overrides WMILL_CONFIG_DIR environment variable and default ~/.config location.").env("HEADERS <headers:string>", `Specify headers to use for all requests. e.g: "HEADERS='h1: v1, h2: v2'"`).version(VERSION).versionOption(false).command("init", init_default).command("app", app_default).command("flow", flow_default).command("script", script_default).command("workspace", workspace_default).command("resource", resource_default).command("resource-type", resource_type_default).command("user", user_default).command("variable", variable_default).command("hub", hub_default).command("folder", folder_default).command("schedule", schedule_default).command("trigger", trigger_default).command("dev", dev_default2).command("sync", sync_default).command("lint", lint_default).command("gitsync-settings", gitsync_settings_default).command("instance", instance_default).command("worker-groups", worker_groups_default).command("workers", workers_default).command("queues", queues_default).command("dependencies", dependencies_default).command("jobs", jobs_default).command("generate-metadata", generate_metadata_default).command("docs", docs_default).command("version --version", "Show version information").action(async (opts) => {
80019
80055
  console.log("CLI version: " + VERSION);
80020
80056
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.660.1",
3
+ "version": "1.662.0",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",