@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.
- package/build/index.d.ts +0 -2
- package/build/index.js +0 -2
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +5125 -5133
- package/build/types/meeting-request-token.interface.d.ts +2 -2
- package/build/types/meeting-token.interface.d.ts +2 -2
- package/build/types/record-type.enum.d.ts +2 -1
- package/build/types/record-type.enum.js +1 -0
- package/build/types/record-type.enum.js.map +1 -1
- package/build/utils/encryptor.d.ts +2 -2
- package/build/utils/encryptor.js.map +1 -1
- package/package.json +1 -1
- package/build/types/encryptRecordType.enum.d.ts +0 -11
- package/build/types/encryptRecordType.enum.js +0 -16
- package/build/types/encryptRecordType.enum.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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?:
|
|
9
|
+
moduleType?: RecordType;
|
|
10
10
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
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?:
|
|
7
|
+
moduleType?: RecordType;
|
|
8
8
|
}
|
|
@@ -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,
|
|
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 {
|
|
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?:
|
|
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,CAAC,QAAQ,CAAC,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|
@@ -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"}
|