@aldb2b/common 1.0.448 → 1.0.451

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,4 @@
1
- import { EncryptRecordType } from "./encryptRecordType.enum";
1
+ import { RecordType } from "./record-type.enum";
2
2
  export interface MeetingRequestToken {
3
3
  stepId?: string;
4
4
  userId: string;
@@ -6,5 +6,5 @@ export interface MeetingRequestToken {
6
6
  id?: string;
7
7
  eventId?: string;
8
8
  companyId?: string;
9
- moduleType?: EncryptRecordType;
9
+ moduleType?: RecordType;
10
10
  }
@@ -1,8 +1,8 @@
1
- import { EncryptRecordType } from "./encryptRecordType.enum";
1
+ import { RecordType } from "./record-type.enum";
2
2
  export interface MeetingToken {
3
3
  userId: string;
4
4
  companyId: string;
5
5
  id: string;
6
6
  eventId: string;
7
- moduleType?: EncryptRecordType;
7
+ moduleType?: RecordType;
8
8
  }
@@ -16,5 +16,6 @@ export declare enum RecordType {
16
16
  NOTIFICATION = "Notification",
17
17
  REGRESSION = "Regression",
18
18
  ORDER = "Order",
19
- SESSION = "Session"
19
+ SESSION = "Session",
20
+ MATCH_LIST = "MatchList"
20
21
  }
@@ -21,5 +21,6 @@ var RecordType;
21
21
  RecordType["REGRESSION"] = "Regression";
22
22
  RecordType["ORDER"] = "Order";
23
23
  RecordType["SESSION"] = "Session";
24
+ RecordType["MATCH_LIST"] = "MatchList";
24
25
  })(RecordType = exports.RecordType || (exports.RecordType = {}));
25
26
  //# sourceMappingURL=record-type.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"record-type.enum.js","sourceRoot":"","sources":["../../src/types/record-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAmBX;AAnBD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,gDAAkC,CAAA;IAClC,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,yBAAW,CAAA;IACX,qCAAuB,CAAA;IACvB,wCAA0B,CAAA;IAC1B,oCAAsB,CAAA;IACtB,+BAAiB,CAAA;IACjB,mCAAqB,CAAA;IACrB,8CAAgC,CAAA;IAChC,2BAAa,CAAA;IACb,2CAA6B,CAAA;IAC7B,uCAAyB,CAAA;IACzB,6BAAe,CAAA;IACf,iCAAmB,CAAA;AACrB,CAAC,EAnBW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAmBrB"}
1
+ {"version":3,"file":"record-type.enum.js","sourceRoot":"","sources":["../../src/types/record-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAoBX;AApBD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,gDAAkC,CAAA;IAClC,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,yBAAW,CAAA;IACX,qCAAuB,CAAA;IACvB,wCAA0B,CAAA;IAC1B,oCAAsB,CAAA;IACtB,+BAAiB,CAAA;IACjB,mCAAqB,CAAA;IACrB,8CAAgC,CAAA;IAChC,2BAAa,CAAA;IACb,2CAA6B,CAAA;IAC7B,uCAAyB,CAAA;IACzB,6BAAe,CAAA;IACf,iCAAmB,CAAA;IACnB,sCAAwB,CAAA;AAC1B,CAAC,EApBW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAoBrB"}
@@ -1,7 +1,7 @@
1
- import { EncryptRecordType } from "../types/encryptRecordType.enum";
1
+ import { RecordType } from "../types/record-type.enum";
2
2
  export declare class Encryptor<T> {
3
3
  private cryptr;
4
4
  constructor(tokenSerializer: string);
5
5
  encrypt(data: T): any;
6
- decrypt(token: string, moduleType?: EncryptRecordType): T;
6
+ decrypt(token: string, moduleType?: RecordType): T;
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"encryptor.js","sourceRoot":"","sources":["../../src/utils/encryptor.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAgE;AAIhE,MAAM,MAAM,GAAG,OAAO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;QAC5C,IAAI;YACF,MAAM,YAAY,GAAQ,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAQ,CAAA;YACvE,IAAI,UAAU,IAAI,UAAU,KAAK,YAAY,CAAC,UAAU,EAAE;gBACxD,MAAM,IAAI,4BAAmB,CAAC,eAAe,CAAC,CAAA;aAC/C;YACD,OAAO,YAAY,CAAA;SACpB;QAAC,OAAO,GAAG,EAAE;YACZ,MAAM,IAAI,4BAAmB,CAAC,eAAe,CAAC,CAAA;SAC/C;IACH,CAAC;CACF,CAAA;AArBY,SAAS;IADrB,mBAAU,EAAE;;GACA,SAAS,CAqBrB;AArBY,8BAAS"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldb2b/common",
3
- "version": "1.0.448",
3
+ "version": "1.0.451",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -1,11 +0,0 @@
1
- export declare enum EncryptRecordType {
2
- COMPANY = "Company",
3
- CONTACT = "Contact",
4
- MEETING = "Meeting",
5
- MEETING_REQUEST = "MeetingRequest",
6
- SHARED_LIST = "SharedList",
7
- MATCH_LIST = "MatchList",
8
- SURVEY = "Survey",
9
- RFQ = "Rfq",
10
- QUOTATION = "Quotation"
11
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EncryptRecordType = void 0;
4
- var EncryptRecordType;
5
- (function (EncryptRecordType) {
6
- EncryptRecordType["COMPANY"] = "Company";
7
- EncryptRecordType["CONTACT"] = "Contact";
8
- EncryptRecordType["MEETING"] = "Meeting";
9
- EncryptRecordType["MEETING_REQUEST"] = "MeetingRequest";
10
- EncryptRecordType["SHARED_LIST"] = "SharedList";
11
- EncryptRecordType["MATCH_LIST"] = "MatchList";
12
- EncryptRecordType["SURVEY"] = "Survey";
13
- EncryptRecordType["RFQ"] = "Rfq";
14
- EncryptRecordType["QUOTATION"] = "Quotation";
15
- })(EncryptRecordType = exports.EncryptRecordType || (exports.EncryptRecordType = {}));
16
- //# sourceMappingURL=encryptRecordType.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"encryptRecordType.enum.js","sourceRoot":"","sources":["../../src/types/encryptRecordType.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAUX;AAVD,WAAY,iBAAiB;IACzB,wCAAmB,CAAA;IACnB,wCAAmB,CAAA;IACnB,wCAAmB,CAAA;IACnB,uDAAkC,CAAA;IAClC,+CAA0B,CAAA;IAC1B,6CAAwB,CAAA;IACxB,sCAAiB,CAAA;IACjB,gCAAW,CAAA;IACX,4CAAuB,CAAA;AAC3B,CAAC,EAVW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAU5B"}