@eway-crm/connector 1.0.92 → 1.0.94

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.
@@ -3,4 +3,6 @@ export declare class ReturnCodes {
3
3
  static readonly rcBadSession = "rcBadSession";
4
4
  static readonly rcWebServiceMoved = "rcWebServiceMoved";
5
5
  static readonly rcAccessDenied = "rcAccessDenied";
6
+ static readonly rcLoginUserNameChanged = "rcLoginUserNameChanged";
7
+ static readonly rcLicenseExpired = "rcLicenseExpired";
6
8
  }
@@ -8,6 +8,8 @@ var ReturnCodes = /** @class */ (function () {
8
8
  ReturnCodes.rcBadSession = 'rcBadSession';
9
9
  ReturnCodes.rcWebServiceMoved = 'rcWebServiceMoved';
10
10
  ReturnCodes.rcAccessDenied = 'rcAccessDenied';
11
+ ReturnCodes.rcLoginUserNameChanged = 'rcLoginUserNameChanged';
12
+ ReturnCodes.rcLicenseExpired = 'rcLicenseExpired';
11
13
  return ReturnCodes;
12
14
  }());
13
15
  exports.ReturnCodes = ReturnCodes;
@@ -320,6 +320,9 @@ export default class FieldNames {
320
320
  readonly TypeEn: "TypeEn";
321
321
  readonly StateEn: "StateEn";
322
322
  };
323
+ static readonly Training: {
324
+ TitleEn: string;
325
+ };
323
326
  static readonly WorkReports: {
324
327
  readonly Task: "Task";
325
328
  readonly ProjectName: "ProjectName";
@@ -374,4 +377,5 @@ export default class FieldNames {
374
377
  readonly Note: "Note";
375
378
  readonly IsSystem: "IsSystem";
376
379
  };
380
+ static allTypeEnNames: readonly ["TypeEn", "DocTypeEn", "WorkReportEn", "TitleEn"];
377
381
  }
@@ -324,6 +324,9 @@ var FieldNames = /** @class */ (function () {
324
324
  TypeEn: 'TypeEn',
325
325
  StateEn: 'StateEn',
326
326
  };
327
+ FieldNames.Training = {
328
+ TitleEn: 'TitleEn'
329
+ };
327
330
  FieldNames.WorkReports = {
328
331
  Task: 'Task',
329
332
  ProjectName: 'ProjectName',
@@ -378,6 +381,7 @@ var FieldNames = /** @class */ (function () {
378
381
  Note: 'Note',
379
382
  IsSystem: 'IsSystem',
380
383
  };
384
+ FieldNames.allTypeEnNames = ['TypeEn', FieldNames.Documents.DocTypeEn, FieldNames.WorkReports.WorkReportEn, 'TitleEn'];
381
385
  return FieldNames;
382
386
  }());
383
387
  exports.default = FieldNames;
@@ -57,5 +57,9 @@ export interface IApiLicense {
57
57
  Expiration: IApiLicenseExpiration | null;
58
58
  Invoices: IApiLicenseKeyInvoices | null;
59
59
  GeneratedDate: string;
60
+ DbSize: IApiLicenseDbSizeModel;
61
+ }
62
+ export interface IApiLicenseDbSizeModel {
63
+ IsFull: boolean;
60
64
  }
61
65
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eway-crm/connector",
3
- "version": "1.0.92",
3
+ "version": "1.0.94",
4
4
  "description": "eWay-CRM API JavaScript connector library.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -52,4 +52,4 @@
52
52
  "es6-promise": "^4.2.8",
53
53
  "jwt-decode": "^3.1.2"
54
54
  }
55
- }
55
+ }