windmill-client 1.259.1 → 1.260.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.259.1',
6
+ VERSION: '1.260.0',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -25,6 +25,7 @@ export type FlowModule = {
25
25
  };
26
26
  user_auth_required?: boolean;
27
27
  user_groups_required?: InputTransform;
28
+ self_approval_disabled?: boolean;
28
29
  };
29
30
  priority?: number;
30
31
  retry?: Retry;
@@ -1,10 +1,12 @@
1
1
  export type LargeFileStorage = {
2
2
  type?: LargeFileStorage.type;
3
3
  s3_resource_path?: string;
4
+ azure_blob_resource_path?: string;
4
5
  public_resource?: boolean;
5
6
  };
6
7
  export declare namespace LargeFileStorage {
7
8
  enum type {
8
- S3STORAGE = "S3Storage"
9
+ S3STORAGE = "S3Storage",
10
+ AZURE_BLOB_STORAGE = "AzureBlobStorage"
9
11
  }
10
12
  }
@@ -6,5 +6,6 @@ var LargeFileStorage;
6
6
  let type;
7
7
  (function (type) {
8
8
  type["S3STORAGE"] = "S3Storage";
9
+ type["AZURE_BLOB_STORAGE"] = "AzureBlobStorage";
9
10
  })(type = LargeFileStorage.type || (LargeFileStorage.type = {}));
10
11
  })(LargeFileStorage || (exports.LargeFileStorage = LargeFileStorage = {}));
@@ -188,7 +188,7 @@ export declare class HelpersService {
188
188
  * @returns any File upload status
189
189
  * @throws ApiError
190
190
  */
191
- static fileUpload({ workspace, requestBody, fileKey, fileExtension, s3ResourcePath, }: {
191
+ static fileUpload({ workspace, requestBody, fileKey, fileExtension, s3ResourcePath, resourceType, }: {
192
192
  workspace: string;
193
193
  /**
194
194
  * File content
@@ -197,6 +197,7 @@ export declare class HelpersService {
197
197
  fileKey?: string;
198
198
  fileExtension?: string;
199
199
  s3ResourcePath?: string;
200
+ resourceType?: string;
200
201
  }): CancelablePromise<{
201
202
  file_key: string;
202
203
  }>;
@@ -205,9 +206,10 @@ export declare class HelpersService {
205
206
  * @returns binary Chunk of the downloaded file
206
207
  * @throws ApiError
207
208
  */
208
- static fileDownload({ workspace, fileKey, s3ResourcePath, }: {
209
+ static fileDownload({ workspace, fileKey, s3ResourcePath, resourceType, }: {
209
210
  workspace: string;
210
211
  fileKey: string;
211
212
  s3ResourcePath?: string;
213
+ resourceType?: string;
212
214
  }): CancelablePromise<Blob>;
213
215
  }
@@ -220,7 +220,7 @@ class HelpersService {
220
220
  * @returns any File upload status
221
221
  * @throws ApiError
222
222
  */
223
- static fileUpload({ workspace, requestBody, fileKey, fileExtension, s3ResourcePath, }) {
223
+ static fileUpload({ workspace, requestBody, fileKey, fileExtension, s3ResourcePath, resourceType, }) {
224
224
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
225
225
  method: 'POST',
226
226
  url: '/w/{workspace}/job_helpers/upload_s3_file',
@@ -231,6 +231,7 @@ class HelpersService {
231
231
  'file_key': fileKey,
232
232
  'file_extension': fileExtension,
233
233
  's3_resource_path': s3ResourcePath,
234
+ 'resource_type': resourceType,
234
235
  },
235
236
  body: requestBody,
236
237
  mediaType: 'application/octet-stream',
@@ -241,7 +242,7 @@ class HelpersService {
241
242
  * @returns binary Chunk of the downloaded file
242
243
  * @throws ApiError
243
244
  */
244
- static fileDownload({ workspace, fileKey, s3ResourcePath, }) {
245
+ static fileDownload({ workspace, fileKey, s3ResourcePath, resourceType, }) {
245
246
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
246
247
  method: 'GET',
247
248
  url: '/w/{workspace}/job_helpers/download_s3_file',
@@ -251,6 +252,7 @@ class HelpersService {
251
252
  query: {
252
253
  'file_key': fileKey,
253
254
  's3_resource_path': s3ResourcePath,
255
+ 'resource_type': resourceType,
254
256
  },
255
257
  });
256
258
  }
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.259.1",
4
+ "version": "1.260.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {