curtain-web-api 1.0.90 → 1.0.92
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 +2 -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 +3 -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
|
|
@@ -104,6 +104,7 @@ export interface CreatePermanentLinkRequest {
|
|
|
104
104
|
export interface AccessibleCurtain {
|
|
105
105
|
id: number;
|
|
106
106
|
link_id: string;
|
|
107
|
+
name: string;
|
|
107
108
|
description: string;
|
|
108
109
|
created: string;
|
|
109
110
|
curtain_type: string;
|
|
@@ -190,7 +191,7 @@ export declare class CurtainWebAPI {
|
|
|
190
191
|
getOwners(linkId: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
191
192
|
addOwner(linkId: string, owner: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
192
193
|
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, {}>>;
|
|
194
|
+
getCurtainLinks(username: string, sessionName?: string, offset?: number, sessionType?: string, limit?: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
194
195
|
getSiteProperties(appType?: string): Promise<import("axios").AxiosResponse<SiteProperties, any, {}>>;
|
|
195
196
|
saveDataFilterList(name: string, data: string, category?: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
196
197
|
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
|
@@ -143,6 +143,7 @@ export interface CreatePermanentLinkRequest {
|
|
|
143
143
|
export interface AccessibleCurtain {
|
|
144
144
|
id: number;
|
|
145
145
|
link_id: string;
|
|
146
|
+
name: string;
|
|
146
147
|
description: string;
|
|
147
148
|
created: string;
|
|
148
149
|
curtain_type: string;
|
|
@@ -625,13 +626,14 @@ export class CurtainWebAPI {
|
|
|
625
626
|
})
|
|
626
627
|
}
|
|
627
628
|
|
|
628
|
-
getCurtainLinks(username: string, sessionName: string = "", offset: number = 0, sessionType: string = "TP") {
|
|
629
|
+
getCurtainLinks(username: string, sessionName: string = "", offset: number = 0, sessionType: string = "TP", limit: number = 10) {
|
|
629
630
|
let headers = new AxiosHeaders();
|
|
630
631
|
headers["Accept"] = "application/json";
|
|
631
632
|
let params: URLSearchParams = new URLSearchParams();
|
|
632
633
|
params.append("username", username);
|
|
633
634
|
params.append("name", sessionName);
|
|
634
635
|
params.append("offset", offset.toString());
|
|
636
|
+
params.append("limit", limit.toString());
|
|
635
637
|
params.append("curtain_type", sessionType);
|
|
636
638
|
params.append("ordering", "-created");
|
|
637
639
|
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
|