@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.
@@ -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
  }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eway-crm/connector",
3
- "version": "1.0.111",
3
+ "version": "1.0.112",
4
4
  "description": "eWay-CRM API JavaScript connector library.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -1,4 +0,0 @@
1
- export interface IApiResult {
2
- ReturnCode: string;
3
- Description: string;
4
- }
package/lib/IApiResult.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });