curtain-web-api 1.0.90 → 1.0.91
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.
- package/.idea/.name +0 -0
- package/.idea/compiler.xml +0 -0
- package/.idea/copilot.data.migration.agent.xml +0 -0
- package/.idea/copilot.data.migration.ask.xml +0 -0
- package/.idea/copilot.data.migration.ask2agent.xml +0 -0
- package/.idea/copilot.data.migration.edit.xml +0 -0
- package/.idea/curtain-web-api.iml +0 -0
- package/.idea/modules.xml +0 -0
- package/.idea/vcs.xml +0 -0
- package/README.md +0 -0
- package/build/classes/curtain-api.d.ts +1 -1
- package/build/classes/curtain-api.js +2 -1
- package/build/classes/curtain-encryption.d.ts +0 -0
- package/build/classes/curtain-encryption.js +0 -0
- package/build/classes/curtain-login.d.ts +0 -0
- package/build/classes/curtain-login.js +0 -0
- package/build/classes/curtain-user.d.ts +0 -0
- package/build/classes/curtain-user.js +0 -0
- package/build/index.d.ts +0 -0
- package/build/index.js +0 -0
- package/build/utilities.d.ts +0 -0
- package/build/utilities.js +0 -0
- package/package.json +1 -1
- package/src/classes/curtain-api.ts +2 -1
- package/src/classes/curtain-encryption.ts +0 -0
- package/src/classes/curtain-user.ts +0 -0
- package/src/index.ts +0 -0
- package/src/tests/curtain-login.spec.ts +0 -0
- package/src/tests/utilities.spec.ts +0 -0
- package/src/utilities.ts +0 -0
- package/tsconfig.json +0 -0
package/.idea/.name
CHANGED
|
File without changes
|
package/.idea/compiler.xml
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/.idea/modules.xml
CHANGED
|
File without changes
|
package/.idea/vcs.xml
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
|
@@ -190,7 +190,7 @@ export declare class CurtainWebAPI {
|
|
|
190
190
|
getOwners(linkId: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
191
191
|
addOwner(linkId: string, owner: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
192
192
|
removeOwner(linkId: string, owner: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
193
|
-
getCurtainLinks(username: string, sessionName?: string, offset?: number, sessionType?: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
193
|
+
getCurtainLinks(username: string, sessionName?: string, offset?: number, sessionType?: string, limit?: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
194
194
|
getSiteProperties(appType?: string): Promise<import("axios").AxiosResponse<SiteProperties, any, {}>>;
|
|
195
195
|
saveDataFilterList(name: string, data: string, category?: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
196
196
|
getDataFilterListByID(id: number, limit?: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
@@ -414,13 +414,14 @@ export class CurtainWebAPI {
|
|
|
414
414
|
return response;
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
|
-
getCurtainLinks(username, sessionName = "", offset = 0, sessionType = "TP") {
|
|
417
|
+
getCurtainLinks(username, sessionName = "", offset = 0, sessionType = "TP", limit = 10) {
|
|
418
418
|
let headers = new AxiosHeaders();
|
|
419
419
|
headers["Accept"] = "application/json";
|
|
420
420
|
let params = new URLSearchParams();
|
|
421
421
|
params.append("username", username);
|
|
422
422
|
params.append("name", sessionName);
|
|
423
423
|
params.append("offset", offset.toString());
|
|
424
|
+
params.append("limit", limit.toString());
|
|
424
425
|
params.append("curtain_type", sessionType);
|
|
425
426
|
params.append("ordering", "-created");
|
|
426
427
|
return this.axiosInstance.get(this.baseURL + "curtain/", { headers: headers, params: params, responseType: "json" }).then((response) => {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/build/index.d.ts
CHANGED
|
File without changes
|
package/build/index.js
CHANGED
|
File without changes
|
package/build/utilities.d.ts
CHANGED
|
File without changes
|
package/build/utilities.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -625,13 +625,14 @@ export class CurtainWebAPI {
|
|
|
625
625
|
})
|
|
626
626
|
}
|
|
627
627
|
|
|
628
|
-
getCurtainLinks(username: string, sessionName: string = "", offset: number = 0, sessionType: string = "TP") {
|
|
628
|
+
getCurtainLinks(username: string, sessionName: string = "", offset: number = 0, sessionType: string = "TP", limit: number = 10) {
|
|
629
629
|
let headers = new AxiosHeaders();
|
|
630
630
|
headers["Accept"] = "application/json";
|
|
631
631
|
let params: URLSearchParams = new URLSearchParams();
|
|
632
632
|
params.append("username", username);
|
|
633
633
|
params.append("name", sessionName);
|
|
634
634
|
params.append("offset", offset.toString());
|
|
635
|
+
params.append("limit", limit.toString());
|
|
635
636
|
params.append("curtain_type", sessionType);
|
|
636
637
|
params.append("ordering", "-created");
|
|
637
638
|
return this.axiosInstance.get(this.baseURL + "curtain/", {headers: headers, params: params, responseType:"json"}).then((response) => {
|
|
File without changes
|
|
File without changes
|
package/src/index.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/utilities.ts
CHANGED
|
File without changes
|
package/tsconfig.json
CHANGED
|
File without changes
|