curtain-web-api 1.0.13 → 1.0.14

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.
@@ -35,4 +35,5 @@ export declare class CurtainWebAPI {
35
35
  getDataFilterList(categoryName?: string, searchTerm?: string, limit?: number): Promise<import("axios").AxiosResponse<any, any>>;
36
36
  deleteDataFilterList(id: number): Promise<import("axios").AxiosResponse<any, any>>;
37
37
  downloadStats(): Promise<import("axios").AxiosResponse<any, any>>;
38
+ postInteractomeAtlasProxy(data: any): Promise<import("axios").AxiosResponse<any, any>>;
38
39
  }
@@ -356,5 +356,13 @@ class CurtainWebAPI {
356
356
  return response;
357
357
  });
358
358
  }
359
+ postInteractomeAtlasProxy(data) {
360
+ let headers = new axios_1.AxiosHeaders();
361
+ headers["Accept"] = "application/json";
362
+ headers["Content-Type"] = "application/json";
363
+ return axios_1.default.post(this.baseURL + "interactome-atlas-proxy/", data, { headers: headers, responseType: "json" }).then((response) => {
364
+ return response;
365
+ });
366
+ }
359
367
  }
360
368
  exports.CurtainWebAPI = CurtainWebAPI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "curtain-web-api",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -363,5 +363,14 @@ export class CurtainWebAPI {
363
363
  return response;
364
364
  });
365
365
  }
366
+
367
+ postInteractomeAtlasProxy(data: any) {
368
+ let headers = new AxiosHeaders();
369
+ headers["Accept"] = "application/json";
370
+ headers["Content-Type"] = "application/json";
371
+ return axios.post(this.baseURL + "interactome-atlas-proxy/", data, {headers: headers, responseType: "json"}).then((response) => {
372
+ return response;
373
+ });
374
+ }
366
375
  }
367
376