windmill-client 1.420.1 → 1.421.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.
@@ -39,7 +39,7 @@ exports.OpenAPI = {
39
39
  PASSWORD: undefined,
40
40
  TOKEN: getEnv("WM_TOKEN"),
41
41
  USERNAME: undefined,
42
- VERSION: '1.420.1',
42
+ VERSION: '1.421.1',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -3553,6 +3553,8 @@ export declare class HelpersService {
3553
3553
  * @param data.s3ResourcePath
3554
3554
  * @param data.resourceType
3555
3555
  * @param data.storage
3556
+ * @param data.contentType
3557
+ * @param data.contentDisposition
3556
3558
  * @returns unknown File upload status
3557
3559
  * @throws ApiError
3558
3560
  */
@@ -7178,6 +7178,8 @@ class HelpersService {
7178
7178
  * @param data.s3ResourcePath
7179
7179
  * @param data.resourceType
7180
7180
  * @param data.storage
7181
+ * @param data.contentType
7182
+ * @param data.contentDisposition
7181
7183
  * @returns unknown File upload status
7182
7184
  * @throws ApiError
7183
7185
  */
@@ -7193,7 +7195,9 @@ class HelpersService {
7193
7195
  file_extension: data.fileExtension,
7194
7196
  s3_resource_path: data.s3ResourcePath,
7195
7197
  resource_type: data.resourceType,
7196
- storage: data.storage
7198
+ storage: data.storage,
7199
+ content_type: data.contentType,
7200
+ content_disposition: data.contentDisposition
7197
7201
  },
7198
7202
  body: data.requestBody,
7199
7203
  mediaType: 'application/octet-stream'
@@ -487,6 +487,11 @@ export type HttpTrigger = {
487
487
  edited_at: string;
488
488
  script_path: string;
489
489
  route_path: string;
490
+ static_asset_config?: {
491
+ s3: string;
492
+ storage?: string;
493
+ filename?: string;
494
+ };
490
495
  is_flow: boolean;
491
496
  extra_perms: {
492
497
  [key: string]: (boolean);
@@ -501,6 +506,11 @@ export type NewHttpTrigger = {
501
506
  path: string;
502
507
  script_path: string;
503
508
  route_path: string;
509
+ static_asset_config?: {
510
+ s3: string;
511
+ storage?: string;
512
+ filename?: string;
513
+ };
504
514
  is_flow: boolean;
505
515
  http_method: 'get' | 'post' | 'put' | 'delete' | 'patch';
506
516
  is_async: boolean;
@@ -510,6 +520,11 @@ export type EditHttpTrigger = {
510
520
  path: string;
511
521
  script_path: string;
512
522
  route_path?: string;
523
+ static_asset_config?: {
524
+ s3: string;
525
+ storage?: string;
526
+ filename?: string;
527
+ };
513
528
  is_flow: boolean;
514
529
  http_method: 'get' | 'post' | 'put' | 'delete' | 'patch';
515
530
  is_async: boolean;
@@ -5034,6 +5049,8 @@ export type MoveS3FileData = {
5034
5049
  };
5035
5050
  export type MoveS3FileResponse = unknown;
5036
5051
  export type FileUploadData = {
5052
+ contentDisposition?: string;
5053
+ contentType?: string;
5037
5054
  fileExtension?: string;
5038
5055
  fileKey?: string;
5039
5056
  /**
@@ -12071,6 +12088,8 @@ export type $OpenApiTs = {
12071
12088
  '/w/{workspace}/job_helpers/upload_s3_file': {
12072
12089
  post: {
12073
12090
  req: {
12091
+ contentDisposition?: string;
12092
+ contentType?: string;
12074
12093
  fileExtension?: string;
12075
12094
  fileKey?: string;
12076
12095
  /**
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.420.1",
4
+ "version": "1.421.1",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {