@eway-crm/connector 1.0.111 → 1.0.112
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/lib/ApiConnection.d.ts +1 -0
- package/lib/ApiConnection.js +3 -0
- package/package.json +1 -1
- package/lib/IApiResult.d.ts +0 -4
- package/lib/IApiResult.js +0 -2
package/lib/ApiConnection.d.ts
CHANGED
|
@@ -61,5 +61,6 @@ export declare class ApiConnection {
|
|
|
61
61
|
readonly getItemPreviewGetMethodUrl: (folderName: string, itemGuid: string, itemVersion?: number) => string;
|
|
62
62
|
readonly getEmailAttachmentGetMethodUrl: (itemGuid: string, contentId: string) => string;
|
|
63
63
|
readonly getAllEmailAttachmentsZipGetMethodUrl: (itemGuid: string) => string;
|
|
64
|
+
readonly getActiveSessionId: () => string | null;
|
|
64
65
|
private static handleCallPromise;
|
|
65
66
|
}
|
package/lib/ApiConnection.js
CHANGED
|
@@ -240,6 +240,9 @@ var ApiConnection = /** @class */ (function () {
|
|
|
240
240
|
this.getAllEmailAttachmentsZipGetMethodUrl = function (itemGuid) {
|
|
241
241
|
return _this.svcUri + '/' + ApiMethods_1.ApiMethods.getAllEmailAttachments + '?itemGuid=' + encodeURIComponent(itemGuid);
|
|
242
242
|
};
|
|
243
|
+
this.getActiveSessionId = function () {
|
|
244
|
+
return _this.sessionId;
|
|
245
|
+
};
|
|
243
246
|
if (!apiServiceUri) {
|
|
244
247
|
throw new Error("The argument 'apiServiceUri' cannot be empty.");
|
|
245
248
|
}
|
package/package.json
CHANGED
package/lib/IApiResult.d.ts
DELETED
package/lib/IApiResult.js
DELETED