windmill-cli 1.677.0 → 1.679.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 +76 -2
  2. package/package.json +1 -1
package/esm/main.js CHANGED
@@ -11812,7 +11812,7 @@ var init_OpenAPI = __esm(() => {
11812
11812
  PASSWORD: undefined,
11813
11813
  TOKEN: getEnv2("WM_TOKEN"),
11814
11814
  USERNAME: undefined,
11815
- VERSION: "1.677.0",
11815
+ VERSION: "1.679.0",
11816
11816
  WITH_CREDENTIALS: true,
11817
11817
  interceptors: {
11818
11818
  request: new Interceptors,
@@ -12380,6 +12380,7 @@ __export(exports_services_gen, {
12380
12380
  inviteUser: () => inviteUser,
12381
12381
  installFromWorkspace: () => installFromWorkspace,
12382
12382
  importQueuedJobs: () => importQueuedJobs,
12383
+ importPgDatabase: () => importPgDatabase,
12383
12384
  importInstallation: () => importInstallation,
12384
12385
  importCompletedJobs: () => importCompletedJobs,
12385
12386
  impersonateServiceAccount: () => impersonateServiceAccount,
@@ -12514,6 +12515,7 @@ __export(exports_services_gen, {
12514
12515
  getFlowDebugInfo: () => getFlowDebugInfo,
12515
12516
  getFlowByPathWithDraft: () => getFlowByPathWithDraft,
12516
12517
  getFlowByPath: () => getFlowByPath,
12518
+ getFlowAllLogs: () => getFlowAllLogs,
12517
12519
  getEmailTrigger: () => getEmailTrigger,
12518
12520
  getDeployTo: () => getDeployTo,
12519
12521
  getDependentsAmounts: () => getDependentsAmounts,
@@ -12521,6 +12523,7 @@ __export(exports_services_gen, {
12521
12523
  getDependencyMap: () => getDependencyMap,
12522
12524
  getDefaultScripts: () => getDefaultScripts,
12523
12525
  getDbClock: () => getDbClock,
12526
+ getDatatableFullSchema: () => getDatatableFullSchema,
12524
12527
  getCustomTagsForWorkspace: () => getCustomTagsForWorkspace,
12525
12528
  getCustomTags: () => getCustomTags,
12526
12529
  getCurrentEmail: () => getCurrentEmail,
@@ -12559,6 +12562,7 @@ __export(exports_services_gen, {
12559
12562
  fileDownloadParquetAsCsv: () => fileDownloadParquetAsCsv,
12560
12563
  fileDownload: () => fileDownload,
12561
12564
  exportQueuedJobs: () => exportQueuedJobs,
12565
+ exportPgSchema: () => exportPgSchema,
12562
12566
  exportInstanceGroups: () => exportInstanceGroups,
12563
12567
  exportInstallation: () => exportInstallation,
12564
12568
  exportCompletedJobs: () => exportCompletedJobs,
@@ -12608,6 +12612,8 @@ __export(exports_services_gen, {
12608
12612
  editAutoInvite: () => editAutoInvite,
12609
12613
  duckdbConnectionSettingsV2: () => duckdbConnectionSettingsV2,
12610
12614
  duckdbConnectionSettings: () => duckdbConnectionSettings,
12615
+ dropForkedDatatableDatabases: () => dropForkedDatatableDatabases,
12616
+ dropCustomInstanceDb: () => dropCustomInstanceDb,
12611
12617
  downloadOpenapiSpec: () => downloadOpenapiSpec,
12612
12618
  discoverMcpOauth: () => discoverMcpOauth,
12613
12619
  disconnectTeams: () => disconnectTeams,
@@ -12686,6 +12692,7 @@ __export(exports_services_gen, {
12686
12692
  createPostgresTrigger: () => createPostgresTrigger,
12687
12693
  createPostgresReplicationSlot: () => createPostgresReplicationSlot,
12688
12694
  createPostgresPublication: () => createPostgresPublication,
12695
+ createPgDatabase: () => createPgDatabase,
12689
12696
  createNatsTrigger: () => createNatsTrigger,
12690
12697
  createNativeTriggerService: () => createNativeTriggerService,
12691
12698
  createNativeTrigger: () => createNativeTrigger,
@@ -13103,6 +13110,14 @@ var backendVersion = () => {
13103
13110
  body: data2.requestBody,
13104
13111
  mediaType: "application/json"
13105
13112
  });
13113
+ }, dropCustomInstanceDb = (data2) => {
13114
+ return request(OpenAPI, {
13115
+ method: "POST",
13116
+ url: "/settings/drop_custom_instance_pg_database/{name}",
13117
+ path: {
13118
+ name: data2.name
13119
+ }
13120
+ });
13106
13121
  }, getGlobal = (data2) => {
13107
13122
  return request(OpenAPI, {
13108
13123
  method: "GET",
@@ -14000,6 +14015,56 @@ var backendVersion = () => {
14000
14015
  body: data2.requestBody,
14001
14016
  mediaType: "application/json"
14002
14017
  });
14018
+ }, createPgDatabase = (data2) => {
14019
+ return request(OpenAPI, {
14020
+ method: "POST",
14021
+ url: "/w/{workspace}/workspaces/create_pg_database",
14022
+ path: {
14023
+ workspace: data2.workspace
14024
+ },
14025
+ body: data2.requestBody,
14026
+ mediaType: "application/json"
14027
+ });
14028
+ }, dropForkedDatatableDatabases = (data2) => {
14029
+ return request(OpenAPI, {
14030
+ method: "POST",
14031
+ url: "/w/{workspace}/workspaces/drop_forked_datatable_databases",
14032
+ path: {
14033
+ workspace: data2.workspace
14034
+ },
14035
+ body: data2.requestBody,
14036
+ mediaType: "application/json"
14037
+ });
14038
+ }, importPgDatabase = (data2) => {
14039
+ return request(OpenAPI, {
14040
+ method: "POST",
14041
+ url: "/w/{workspace}/workspaces/import_pg_database",
14042
+ path: {
14043
+ workspace: data2.workspace
14044
+ },
14045
+ body: data2.requestBody,
14046
+ mediaType: "application/json"
14047
+ });
14048
+ }, exportPgSchema = (data2) => {
14049
+ return request(OpenAPI, {
14050
+ method: "POST",
14051
+ url: "/w/{workspace}/workspaces/export_pg_schema",
14052
+ path: {
14053
+ workspace: data2.workspace
14054
+ },
14055
+ body: data2.requestBody,
14056
+ mediaType: "application/json"
14057
+ });
14058
+ }, getDatatableFullSchema = (data2) => {
14059
+ return request(OpenAPI, {
14060
+ method: "POST",
14061
+ url: "/w/{workspace}/workspaces/get_datatable_full_schema",
14062
+ path: {
14063
+ workspace: data2.workspace
14064
+ },
14065
+ body: data2.requestBody,
14066
+ mediaType: "application/json"
14067
+ });
14003
14068
  }, getGitSyncEnabled = (data2) => {
14004
14069
  return request(OpenAPI, {
14005
14070
  method: "GET",
@@ -16740,6 +16805,15 @@ var backendVersion = () => {
16740
16805
  remove_ansi_warnings: data2.removeAnsiWarnings
16741
16806
  }
16742
16807
  });
16808
+ }, getFlowAllLogs = (data2) => {
16809
+ return request(OpenAPI, {
16810
+ method: "GET",
16811
+ url: "/w/{workspace}/jobs_u/get_flow_all_logs/{id}",
16812
+ path: {
16813
+ workspace: data2.workspace,
16814
+ id: data2.id
16815
+ }
16816
+ });
16743
16817
  }, getCompletedJobLogsTail = (data2) => {
16744
16818
  return request(OpenAPI, {
16745
16819
  method: "GET",
@@ -82863,7 +82937,7 @@ var config_default = command35;
82863
82937
 
82864
82938
  // src/main.ts
82865
82939
  await init_context();
82866
- var VERSION = "1.677.0";
82940
+ var VERSION = "1.679.0";
82867
82941
  var command36 = 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("job", job_default).command("group", group_default).command("audit", audit_default).command("token", token_default).command("generate-metadata", generate_metadata_default).command("docs", docs_default).command("config", config_default).command("version --version", "Show version information").action(async (opts) => {
82868
82942
  console.log("CLI version: " + VERSION);
82869
82943
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.677.0",
3
+ "version": "1.679.0",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",