windmill-cli 1.793.0 → 1.794.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.
Files changed (2) hide show
  1. package/esm/main.js +74 -11
  2. package/package.json +1 -1
package/esm/main.js CHANGED
@@ -16769,7 +16769,7 @@ var init_OpenAPI = __esm(() => {
16769
16769
  PASSWORD: undefined,
16770
16770
  TOKEN: getEnv3("WM_TOKEN"),
16771
16771
  USERNAME: undefined,
16772
- VERSION: "1.793.0",
16772
+ VERSION: "1.794.1",
16773
16773
  WITH_CREDENTIALS: true,
16774
16774
  interceptors: {
16775
16775
  request: new Interceptors,
@@ -17166,6 +17166,7 @@ __export(exports_services_gen, {
17166
17166
  deleteFolder: () => deleteFolder,
17167
17167
  deleteFromWorkspace: () => deleteFromWorkspace,
17168
17168
  deleteGcpSubscription: () => deleteGcpSubscription,
17169
+ deleteGcpSubscriptionWithDefaultCredentials: () => deleteGcpSubscriptionWithDefaultCredentials,
17169
17170
  deleteGcpTrigger: () => deleteGcpTrigger,
17170
17171
  deleteGitSyncRepository: () => deleteGitSyncRepository,
17171
17172
  deleteGroup: () => deleteGroup,
@@ -17509,6 +17510,7 @@ __export(exports_services_gen, {
17509
17510
  listAiSkills: () => listAiSkills,
17510
17511
  listAllDedicatedWithDeps: () => listAllDedicatedWithDeps,
17511
17512
  listAllTgoogleTopicSubscriptions: () => listAllTgoogleTopicSubscriptions,
17513
+ listAllTgoogleTopicSubscriptionsWithDefaultCredentials: () => listAllTgoogleTopicSubscriptionsWithDefaultCredentials,
17512
17514
  listAllWorkspaceDependencies: () => listAllWorkspaceDependencies,
17513
17515
  listAmqpTriggers: () => listAmqpTriggers,
17514
17516
  listAppPathsFromWorkspaceRunnable: () => listAppPathsFromWorkspaceRunnable,
@@ -17568,6 +17570,7 @@ __export(exports_services_gen, {
17568
17570
  listGoogleDriveFiles: () => listGoogleDriveFiles,
17569
17571
  listGoogleSharedDrives: () => listGoogleSharedDrives,
17570
17572
  listGoogleTopics: () => listGoogleTopics,
17573
+ listGoogleTopicsWithDefaultCredentials: () => listGoogleTopicsWithDefaultCredentials,
17571
17574
  listGroupNames: () => listGroupNames,
17572
17575
  listGroups: () => listGroups,
17573
17576
  listHttpTriggers: () => listHttpTriggers,
@@ -17849,6 +17852,7 @@ __export(exports_services_gen, {
17849
17852
  updateResourceType: () => updateResourceType,
17850
17853
  updateResourceValue: () => updateResourceValue,
17851
17854
  updateSchedule: () => updateSchedule,
17855
+ updateScript: () => updateScript,
17852
17856
  updateScriptHistory: () => updateScriptHistory,
17853
17857
  updateSharedUi: () => updateSharedUi,
17854
17858
  updateSqsTrigger: () => updateSqsTrigger,
@@ -20860,6 +20864,17 @@ var backendVersion = () => {
20860
20864
  body: data3.requestBody,
20861
20865
  mediaType: "application/json"
20862
20866
  });
20867
+ }, updateScript = (data3) => {
20868
+ return request(OpenAPI, {
20869
+ method: "POST",
20870
+ url: "/w/{workspace}/scripts/update/{path}",
20871
+ path: {
20872
+ workspace: data3.workspace,
20873
+ path: data3.path
20874
+ },
20875
+ body: data3.requestBody,
20876
+ mediaType: "application/json"
20877
+ });
20863
20878
  }, toggleWorkspaceErrorHandlerForScript = (data3) => {
20864
20879
  return request(OpenAPI, {
20865
20880
  method: "POST",
@@ -24470,6 +24485,16 @@ var backendVersion = () => {
24470
24485
  body: data3.requestBody,
24471
24486
  mediaType: "application/json"
24472
24487
  });
24488
+ }, deleteGcpSubscriptionWithDefaultCredentials = (data3) => {
24489
+ return request(OpenAPI, {
24490
+ method: "DELETE",
24491
+ url: "/w/{workspace}/gcp_triggers/subscriptions/delete",
24492
+ path: {
24493
+ workspace: data3.workspace
24494
+ },
24495
+ body: data3.requestBody,
24496
+ mediaType: "application/json"
24497
+ });
24473
24498
  }, listGoogleTopics = (data3) => {
24474
24499
  return request(OpenAPI, {
24475
24500
  method: "GET",
@@ -24477,6 +24502,20 @@ var backendVersion = () => {
24477
24502
  path: {
24478
24503
  workspace: data3.workspace,
24479
24504
  path: data3.path
24505
+ },
24506
+ query: {
24507
+ project_id: data3.projectId
24508
+ }
24509
+ });
24510
+ }, listGoogleTopicsWithDefaultCredentials = (data3) => {
24511
+ return request(OpenAPI, {
24512
+ method: "GET",
24513
+ url: "/w/{workspace}/gcp_triggers/topics/list",
24514
+ path: {
24515
+ workspace: data3.workspace
24516
+ },
24517
+ query: {
24518
+ project_id: data3.projectId
24480
24519
  }
24481
24520
  });
24482
24521
  }, listAllTgoogleTopicSubscriptions = (data3) => {
@@ -24490,6 +24529,16 @@ var backendVersion = () => {
24490
24529
  body: data3.requestBody,
24491
24530
  mediaType: "application/json"
24492
24531
  });
24532
+ }, listAllTgoogleTopicSubscriptionsWithDefaultCredentials = (data3) => {
24533
+ return request(OpenAPI, {
24534
+ method: "POST",
24535
+ url: "/w/{workspace}/gcp_triggers/subscriptions/list",
24536
+ path: {
24537
+ workspace: data3.workspace
24538
+ },
24539
+ body: data3.requestBody,
24540
+ mediaType: "application/json"
24541
+ });
24493
24542
  }, createAzureTrigger = (data3) => {
24494
24543
  return request(OpenAPI, {
24495
24544
  method: "POST",
@@ -26669,6 +26718,7 @@ __export(exports_gen, {
26669
26718
  deleteFolder: () => deleteFolder,
26670
26719
  deleteFromWorkspace: () => deleteFromWorkspace,
26671
26720
  deleteGcpSubscription: () => deleteGcpSubscription,
26721
+ deleteGcpSubscriptionWithDefaultCredentials: () => deleteGcpSubscriptionWithDefaultCredentials,
26672
26722
  deleteGcpTrigger: () => deleteGcpTrigger,
26673
26723
  deleteGitSyncRepository: () => deleteGitSyncRepository,
26674
26724
  deleteGroup: () => deleteGroup,
@@ -27012,6 +27062,7 @@ __export(exports_gen, {
27012
27062
  listAiSkills: () => listAiSkills,
27013
27063
  listAllDedicatedWithDeps: () => listAllDedicatedWithDeps,
27014
27064
  listAllTgoogleTopicSubscriptions: () => listAllTgoogleTopicSubscriptions,
27065
+ listAllTgoogleTopicSubscriptionsWithDefaultCredentials: () => listAllTgoogleTopicSubscriptionsWithDefaultCredentials,
27015
27066
  listAllWorkspaceDependencies: () => listAllWorkspaceDependencies,
27016
27067
  listAmqpTriggers: () => listAmqpTriggers,
27017
27068
  listAppPathsFromWorkspaceRunnable: () => listAppPathsFromWorkspaceRunnable,
@@ -27071,6 +27122,7 @@ __export(exports_gen, {
27071
27122
  listGoogleDriveFiles: () => listGoogleDriveFiles,
27072
27123
  listGoogleSharedDrives: () => listGoogleSharedDrives,
27073
27124
  listGoogleTopics: () => listGoogleTopics,
27125
+ listGoogleTopicsWithDefaultCredentials: () => listGoogleTopicsWithDefaultCredentials,
27074
27126
  listGroupNames: () => listGroupNames,
27075
27127
  listGroups: () => listGroups,
27076
27128
  listHttpTriggers: () => listHttpTriggers,
@@ -27352,6 +27404,7 @@ __export(exports_gen, {
27352
27404
  updateResourceType: () => updateResourceType,
27353
27405
  updateResourceValue: () => updateResourceValue,
27354
27406
  updateSchedule: () => updateSchedule,
27407
+ updateScript: () => updateScript,
27355
27408
  updateScriptHistory: () => updateScriptHistory,
27356
27409
  updateSharedUi: () => updateSharedUi,
27357
27410
  updateSqsTrigger: () => updateSqsTrigger,
@@ -27494,7 +27547,7 @@ var init_auth = __esm(async () => {
27494
27547
  });
27495
27548
 
27496
27549
  // src/core/constants.ts
27497
- var WM_FORK_PREFIX = "wm-fork", VERSION = "1.793.0";
27550
+ var WM_FORK_PREFIX = "wm-fork", VERSION = "1.794.1";
27498
27551
 
27499
27552
  // src/utils/git.ts
27500
27553
  var exports_git = {};
@@ -65558,7 +65611,7 @@ var init_openflow = __esm(() => {
65558
65611
  openflow_default = {
65559
65612
  openapi: "3.0.3",
65560
65613
  info: {
65561
- version: "1.793.0",
65614
+ version: "1.794.1",
65562
65615
  title: "OpenFlow Spec",
65563
65616
  contact: {
65564
65617
  name: "Ruben Fiszel",
@@ -67642,15 +67695,19 @@ Frontend appends a \`*\` to the displayed name.
67642
67695
  },
67643
67696
  gcp_resource_path: {
67644
67697
  type: "string",
67645
- description: "Path to the GCP resource containing service account credentials for authentication."
67698
+ description: "Path to the GCP resource containing service account credentials for authentication. Omit to authenticate with the instance's application default credentials."
67699
+ },
67700
+ project_id: {
67701
+ type: "string",
67702
+ description: "GCP project the client operates in. Defaults to the project of the credentials. Topics and subscriptions given as fully qualified names are reached whatever it is."
67646
67703
  },
67647
67704
  topic_id: {
67648
67705
  type: "string",
67649
- description: "Google Cloud Pub/Sub topic ID to subscribe to."
67706
+ description: "Google Cloud Pub/Sub topic ID to subscribe to. Accepts a bare ID or a fully qualified name (projects/<project>/topics/<id>)."
67650
67707
  },
67651
67708
  subscription_id: {
67652
67709
  type: "string",
67653
- description: "Google Cloud Pub/Sub subscription ID."
67710
+ description: "Google Cloud Pub/Sub subscription ID. Accepts a bare ID or a fully qualified name (projects/<project>/subscriptions/<id>)."
67654
67711
  },
67655
67712
  delivery_type: {
67656
67713
  type: "string",
@@ -67758,7 +67815,6 @@ Frontend appends a \`*\` to the displayed name.
67758
67815
  required: [
67759
67816
  "script_path",
67760
67817
  "is_flow",
67761
- "gcp_resource_path",
67762
67818
  "topic_id",
67763
67819
  "subscription_id",
67764
67820
  "delivery_type",
@@ -95567,13 +95623,21 @@ properties:
95567
95623
  gcp_resource_path:
95568
95624
  type: string
95569
95625
  description: Path to the GCP resource containing service account credentials for
95570
- authentication.
95626
+ authentication. Omit to authenticate with the instance's application default
95627
+ credentials.
95628
+ project_id:
95629
+ type: string
95630
+ description: GCP project the client operates in. Defaults to the project of the
95631
+ credentials. Topics and subscriptions given as fully qualified names are reached
95632
+ whatever it is.
95571
95633
  topic_id:
95572
95634
  type: string
95573
- description: Google Cloud Pub/Sub topic ID to subscribe to.
95635
+ description: Google Cloud Pub/Sub topic ID to subscribe to. Accepts a bare ID
95636
+ or a fully qualified name (projects/<project>/topics/<id>).
95574
95637
  subscription_id:
95575
95638
  type: string
95576
- description: Google Cloud Pub/Sub subscription ID.
95639
+ description: Google Cloud Pub/Sub subscription ID. Accepts a bare ID or a fully
95640
+ qualified name (projects/<project>/subscriptions/<id>).
95577
95641
  delivery_type:
95578
95642
  type: string
95579
95643
  enum:
@@ -95643,7 +95707,6 @@ properties:
95643
95707
  required:
95644
95708
  - script_path
95645
95709
  - is_flow
95646
- - gcp_resource_path
95647
95710
  - topic_id
95648
95711
  - subscription_id
95649
95712
  - delivery_type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.793.0",
3
+ "version": "1.794.1",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",