@zimyo/engage 0.3.6-pms → 0.3.7-pms

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.
@@ -8,4 +8,5 @@ export type HttpServiceType = {
8
8
  export declare const getService: ({ url, token, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
9
9
  export declare const postService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
10
10
  export declare const patchService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
11
+ export declare const putService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
11
12
  export declare const deleteService: ({ url, token, data, params }: HttpServiceType) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -30,4 +30,18 @@ export declare class util {
30
30
  generated_on: Date;
31
31
  }) => void;
32
32
  static openPopup: (url: string, name: string, width: number, height: number) => Window | null;
33
+ static getFilePresignedUrl: ({ path, file, token, asset_url, base_url, }: {
34
+ asset_url: string;
35
+ base_url: string;
36
+ path: string;
37
+ file: File;
38
+ token: string;
39
+ }) => Promise<{
40
+ s3_path: string;
41
+ path: string;
42
+ name: string;
43
+ original_name: string;
44
+ size: number;
45
+ type: string;
46
+ }>;
33
47
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zimyo/engage",
3
3
  "private": false,
4
- "version": "0.3.6-pms",
4
+ "version": "0.3.7-pms",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },