curtain-web-api 1.0.60 → 1.0.61

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.
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="TypeScriptCompiler">
4
+ <option name="useServicePoweredTypesWasEnabledByExperiment" value="true" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AskMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Ask2AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="EditMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -35,7 +35,7 @@ export declare class CurtainWebAPI {
35
35
  getSiteProperties(): Promise<import("axios").AxiosResponse<any, any>>;
36
36
  saveDataFilterList(name: string, data: string, category?: string): Promise<import("axios").AxiosResponse<any, any>>;
37
37
  getDataFilterListByID(id: number, limit?: number): Promise<import("axios").AxiosResponse<any, any>>;
38
- getDataFilterList(title?: string, searchTerm?: string, category?: string, limit?: number): Promise<import("axios").AxiosResponse<any, any>>;
38
+ getDataFilterList(title?: string, searchTerm?: string, category?: string, limit?: number, offset?: number): Promise<import("axios").AxiosResponse<any, any>>;
39
39
  getDataFilterListByCategory(category: string): Promise<import("axios").AxiosResponse<any, any>>;
40
40
  deleteDataFilterList(id: number): Promise<import("axios").AxiosResponse<any, any>>;
41
41
  downloadStats(): Promise<import("axios").AxiosResponse<any, any>>;
@@ -452,7 +452,7 @@ class CurtainWebAPI {
452
452
  return response;
453
453
  });
454
454
  }
455
- getDataFilterList(title = "", searchTerm = "", category = "", limit = 99999999) {
455
+ getDataFilterList(title = "", searchTerm = "", category = "", limit = 99999999, offset = 0) {
456
456
  let params = new URLSearchParams();
457
457
  if (title != "") {
458
458
  params.append("name", title);
@@ -464,6 +464,7 @@ class CurtainWebAPI {
464
464
  params.append("category", category);
465
465
  }
466
466
  params.append("limit", limit.toString());
467
+ params.append("offset", offset.toString());
467
468
  return this.axiosInstance.get(this.baseURL + "data_filter_list/", { responseType: "json", params });
468
469
  }
469
470
  getDataFilterListByCategory(category) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "curtain-web-api",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -449,7 +449,8 @@ export class CurtainWebAPI {
449
449
  title: string = "",
450
450
  searchTerm: string = "",
451
451
  category: string = "",
452
- limit: number = 99999999
452
+ limit: number = 99999999,
453
+ offset: number = 0
453
454
  ) {
454
455
  let params = new URLSearchParams();
455
456
  if (title != "") {
@@ -463,6 +464,7 @@ export class CurtainWebAPI {
463
464
  }
464
465
 
465
466
  params.append("limit", limit.toString())
467
+ params.append("offset", offset.toString())
466
468
  return this.axiosInstance.get(this.baseURL + "data_filter_list/", {responseType:"json", params})
467
469
  }
468
470