windmill-client 1.172.1 → 1.174.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.
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: '/api',
6
- VERSION: '1.172.1',
6
+ VERSION: '1.174.0',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -124,6 +124,15 @@ export declare class AppService {
124
124
  workspace: string;
125
125
  path: string;
126
126
  }): CancelablePromise<AppWithLastVersion>;
127
+ /**
128
+ * get public resource
129
+ * @returns any resource value
130
+ * @throws ApiError
131
+ */
132
+ static getPublicResource({ workspace, path, }: {
133
+ workspace: string;
134
+ path: string;
135
+ }): CancelablePromise<any>;
127
136
  /**
128
137
  * get public secret of app
129
138
  * @returns string app secret
@@ -128,6 +128,21 @@ class AppService {
128
128
  },
129
129
  });
130
130
  }
131
+ /**
132
+ * get public resource
133
+ * @returns any resource value
134
+ * @throws ApiError
135
+ */
136
+ static getPublicResource({ workspace, path, }) {
137
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
138
+ method: 'GET',
139
+ url: '/w/{workspace}/apps_u/public_resource/{path}',
140
+ path: {
141
+ 'workspace': workspace,
142
+ 'path': path,
143
+ },
144
+ });
145
+ }
131
146
  /**
132
147
  * get public secret of app
133
148
  * @returns string app secret
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.172.1",
4
+ "version": "1.174.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {