@eway-crm/connector 1.0.98 → 1.0.99

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.
@@ -1,4 +1,10 @@
1
+ export declare type TRelationType = 'GENERAL' | 'GROUP' | 'CONTACTPERSON' | 'CONTACT' | 'CUSTOMER' | 'COMPANY' | 'SUPERVISOR';
1
2
  export default class RelationTypes {
2
- static group: string;
3
- static supervisor: string;
3
+ static readonly general: TRelationType;
4
+ static readonly group: TRelationType;
5
+ static readonly contactPerson: TRelationType;
6
+ static readonly contact: TRelationType;
7
+ static readonly customer: TRelationType;
8
+ static readonly company: TRelationType;
9
+ static readonly supervisor: TRelationType;
4
10
  }
@@ -3,7 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var RelationTypes = /** @class */ (function () {
4
4
  function RelationTypes() {
5
5
  }
6
+ RelationTypes.general = 'GENERAL';
6
7
  RelationTypes.group = 'GROUP';
8
+ RelationTypes.contactPerson = 'CONTACTPERSON';
9
+ RelationTypes.contact = 'CONTACT';
10
+ RelationTypes.customer = 'CUSTOMER';
11
+ RelationTypes.company = 'COMPANY';
7
12
  RelationTypes.supervisor = 'SUPERVISOR';
8
13
  return RelationTypes;
9
14
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eway-crm/connector",
3
- "version": "1.0.98",
3
+ "version": "1.0.99",
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
+ }