curtain-web-api 1.0.16 → 1.0.17

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.
@@ -37,4 +37,5 @@ export declare class CurtainWebAPI {
37
37
  downloadStats(): Promise<import("axios").AxiosResponse<any, any>>;
38
38
  postInteractomeAtlasProxy(genes: string[], filterParameter: string): Promise<import("axios").AxiosResponse<any, any>>;
39
39
  postPrimitiveStatsTest(data: any, type?: string): Promise<import("axios").AxiosResponse<any, any>>;
40
+ getDataAllListCategory(): Promise<import("axios").AxiosResponse<any, any>>;
40
41
  }
@@ -395,5 +395,11 @@ class CurtainWebAPI {
395
395
  return response;
396
396
  });
397
397
  }
398
+ getDataAllListCategory() {
399
+ let headers = new axios_1.AxiosHeaders();
400
+ headers["Accept"] = "application/json";
401
+ headers["Content-Type"] = "application/json";
402
+ return axios_1.default.get(this.baseURL + "/data_filter_list/get_all_category/", { headers: headers, responseType: "json" }).then((response) => { return response; });
403
+ }
398
404
  }
399
405
  exports.CurtainWebAPI = CurtainWebAPI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "curtain-web-api",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -404,5 +404,12 @@ export class CurtainWebAPI {
404
404
  return response;
405
405
  });
406
406
  }
407
+
408
+ getDataAllListCategory() {
409
+ let headers = new AxiosHeaders();
410
+ headers["Accept"] = "application/json";
411
+ headers["Content-Type"] = "application/json";
412
+ return axios.get(this.baseURL + "/data_filter_list/get_all_category/", {headers: headers, responseType: "json"}).then((response) => {return response;});
413
+ }
407
414
  }
408
415