curtain-web-api 1.0.21 → 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,4 +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[], sessionId: string): Promise<import("axios").AxiosResponse<any, any>>;
43
44
  }
@@ -415,5 +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, sessionId) {
419
+ let headers = new axios_1.AxiosHeaders();
420
+ headers["Accept"] = "application/json";
421
+ headers["Content-Type"] = "application/json";
422
+ return axios_1.default.post(this.baseURL + "compare-session/", { matchType, studyList, idList, sessionId }, { headers: headers, responseType: "json" }).then((response) => { return response; });
423
+ }
418
424
  }
419
425
  exports.CurtainWebAPI = CurtainWebAPI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "curtain-web-api",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -430,5 +430,12 @@ export class CurtainWebAPI {
430
430
  headers["Content-Type"] = "application/json";
431
431
  return axios.get(this.baseURL + "data_filter_list/get_all_category/", {headers: headers, responseType: "json"}).then((response) => {return response;});
432
432
  }
433
+
434
+ postCompareSession(idList: string[], matchType: string, studyList: string[], sessionId: string) {
435
+ let headers = new AxiosHeaders();
436
+ headers["Accept"] = "application/json";
437
+ headers["Content-Type"] = "application/json";
438
+ return axios.post(this.baseURL + "compare-session/", {matchType, studyList, idList, sessionId}, {headers: headers, responseType: "json"}).then((response) => {return response;});
439
+ }
433
440
  }
434
441
 
Binary file
@@ -1 +0,0 @@
1
- MANIFEST-000002
package/curtainuser/LOCK DELETED
File without changes
package/curtainuser/LOG DELETED
@@ -1 +0,0 @@
1
- 2023/07/26-14:29:40.802 c4f4 Delete type=3 #1
Binary file