curtain-web-api 1.0.22 → 1.0.23

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.
@@ -40,5 +40,5 @@ export declare class CurtainWebAPI {
40
40
  postInteractomeAtlasProxy(genes: string[], filterParameter: string): Promise<import("axios").AxiosResponse<any, any>>;
41
41
  postPrimitiveStatsTest(data: any, type?: string): Promise<import("axios").AxiosResponse<any, any>>;
42
42
  getDataAllListCategory(): Promise<import("axios").AxiosResponse<any, any>>;
43
- postCompareSession(idList: string[], matchType: string, studyList: string[]): Promise<import("axios").AxiosResponse<any, any>>;
43
+ postCompareSession(idList: string[], matchType: string, studyList: string[], sessionId: string): Promise<import("axios").AxiosResponse<any, any>>;
44
44
  }
@@ -415,11 +415,11 @@ class CurtainWebAPI {
415
415
  headers["Content-Type"] = "application/json";
416
416
  return axios_1.default.get(this.baseURL + "data_filter_list/get_all_category/", { headers: headers, responseType: "json" }).then((response) => { return response; });
417
417
  }
418
- postCompareSession(idList, matchType, studyList) {
418
+ postCompareSession(idList, matchType, studyList, sessionId) {
419
419
  let headers = new axios_1.AxiosHeaders();
420
420
  headers["Accept"] = "application/json";
421
421
  headers["Content-Type"] = "application/json";
422
- return axios_1.default.post(this.baseURL + "compare-session/", { matchType, studyList, idList }, { headers: headers, responseType: "json" }).then((response) => { return response; });
422
+ return axios_1.default.post(this.baseURL + "compare-session/", { matchType, studyList, idList, sessionId }, { headers: headers, responseType: "json" }).then((response) => { return response; });
423
423
  }
424
424
  }
425
425
  exports.CurtainWebAPI = CurtainWebAPI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "curtain-web-api",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -431,11 +431,11 @@ export class CurtainWebAPI {
431
431
  return axios.get(this.baseURL + "data_filter_list/get_all_category/", {headers: headers, responseType: "json"}).then((response) => {return response;});
432
432
  }
433
433
 
434
- postCompareSession(idList: string[], matchType: string, studyList: string[]) {
434
+ postCompareSession(idList: string[], matchType: string, studyList: string[], sessionId: string) {
435
435
  let headers = new AxiosHeaders();
436
436
  headers["Accept"] = "application/json";
437
437
  headers["Content-Type"] = "application/json";
438
- return axios.post(this.baseURL + "compare-session/", {matchType, studyList, idList}, {headers: headers, responseType: "json"}).then((response) => {return response;});
438
+ return axios.post(this.baseURL + "compare-session/", {matchType, studyList, idList, sessionId}, {headers: headers, responseType: "json"}).then((response) => {return response;});
439
439
  }
440
440
  }
441
441