@aldb2b/common 1.0.1076 → 1.0.1079
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/decorators/get-localized-company-ids-decorator.d.ts +1 -0
- package/build/decorators/get-localized-company-ids-decorator.js +12 -0
- package/build/decorators/get-localized-company-ids-decorator.js.map +1 -0
- package/build/decorators/get-localized-contact-ids-decorator.d.ts +1 -0
- package/build/decorators/get-localized-contact-ids-decorator.js +12 -0
- package/build/decorators/get-localized-contact-ids-decorator.js.map +1 -0
- package/build/decorators/get-user-decorator.js +6 -6
- package/build/decorators/get-user-decorator.js.map +1 -1
- package/build/enums/data-source.enum.d.ts +4 -0
- package/build/enums/data-source.enum.js +9 -0
- package/build/enums/data-source.enum.js.map +1 -0
- package/build/events/get-external-contact-info.interface.d.ts +12 -0
- package/build/events/get-external-contact-info.interface.js +3 -0
- package/build/events/get-external-contact-info.interface.js.map +1 -0
- package/build/events/localize-contact.interface.d.ts +15 -0
- package/build/events/{badge-send-email.interface.js → localize-contact.interface.js} +1 -1
- package/build/events/localize-contact.interface.js.map +1 -0
- package/build/events/queues.d.ts +2 -1
- package/build/events/queues.js +2 -1
- package/build/events/queues.js.map +1 -1
- package/build/events/subjects.d.ts +2 -1
- package/build/events/subjects.js +2 -1
- package/build/events/subjects.js.map +1 -1
- package/build/index.d.ts +15 -9
- package/build/index.js +15 -9
- package/build/index.js.map +1 -1
- package/build/middlewares/get-external-contacts.middleware.d.ts +21 -0
- package/build/middlewares/get-external-contacts.middleware.js +69 -0
- package/build/middlewares/get-external-contacts.middleware.js.map +1 -0
- package/build/middlewares/inject-subscription.middleware.js +1 -1
- package/build/middlewares/inject-subscription.middleware.js.map +1 -1
- package/build/middlewares/localize-contact.middleware.d.ts +21 -0
- package/build/middlewares/localize-contact.middleware.js +114 -0
- package/build/middlewares/localize-contact.middleware.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/types/notification-event.enum.d.ts +1 -2
- package/build/types/notification-event.enum.js +0 -1
- package/build/types/notification-event.enum.js.map +1 -1
- package/package.json +1 -1
- package/build/events/badge-send-email.interface.d.ts +0 -22
- package/build/events/badge-send-email.interface.js.map +0 -1
|
@@ -22,6 +22,5 @@ export declare enum NotificationEvent {
|
|
|
22
22
|
ON_REQUEST_ORDER = "OnRequestOrder",
|
|
23
23
|
APPROVE_ORDER = "ApproveOrder",
|
|
24
24
|
REJECT_ORDER = "RejectOrder",
|
|
25
|
-
MEETING_CONFIRMATION = "MeetingConfirmation"
|
|
26
|
-
CONTACT_BADGE = "ContactBadge"
|
|
25
|
+
MEETING_CONFIRMATION = "MeetingConfirmation"
|
|
27
26
|
}
|
|
@@ -27,6 +27,5 @@ var NotificationEvent;
|
|
|
27
27
|
NotificationEvent["APPROVE_ORDER"] = "ApproveOrder";
|
|
28
28
|
NotificationEvent["REJECT_ORDER"] = "RejectOrder";
|
|
29
29
|
NotificationEvent["MEETING_CONFIRMATION"] = "MeetingConfirmation";
|
|
30
|
-
NotificationEvent["CONTACT_BADGE"] = "ContactBadge";
|
|
31
30
|
})(NotificationEvent || (exports.NotificationEvent = NotificationEvent = {}));
|
|
32
31
|
//# sourceMappingURL=notification-event.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-event.enum.js","sourceRoot":"","sources":["../../src/types/notification-event.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"notification-event.enum.js","sourceRoot":"","sources":["../../src/types/notification-event.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAyBX;AAzBD,WAAY,iBAAiB;IAC3B,iEAA4C,CAAA;IAC5C,8DAAyC,CAAA;IACzC,oEAA+C,CAAA;IAC/C,oEAA+C,CAAA;IAC/C,4EAAuD,CAAA;IACvD,oEAA+C,CAAA;IAC/C,oEAA+C,CAAA;IAC/C,2FAAsE,CAAA;IACtE,+DAA0C,CAAA;IAC1C,4DAAuC,CAAA;IACvC,yDAAoC,CAAA;IACpC,6DAAwC,CAAA;IACxC,qDAAgC,CAAA;IAChC,yDAAoC,CAAA;IACpC,kEAA6C,CAAA;IAC7C,yEAAoD,CAAA;IACpD,8DAAyC,CAAA;IACzC,yCAAoB,CAAA;IACpB,mDAA8B,CAAA;IAC9B,uDAAkC,CAAA;IAClC,wDAAmC,CAAA;IACnC,mDAA8B,CAAA;IAC9B,iDAA4B,CAAA;IAC5B,iEAA4C,CAAA;AAC9C,CAAC,EAzBW,iBAAiB,iCAAjB,iBAAiB,QAyB5B"}
|
package/package.json
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Subjects } from './subjects';
|
|
2
|
-
import { NotificationType } from "../types/notification-type.enum";
|
|
3
|
-
import { NotificationEvent } from "../types/notification-event.enum";
|
|
4
|
-
export declare namespace BadgeSendEmailInterface {
|
|
5
|
-
interface Context {
|
|
6
|
-
subject: Subjects.BadgeSendEmail;
|
|
7
|
-
data: any;
|
|
8
|
-
}
|
|
9
|
-
interface Data {
|
|
10
|
-
type: NotificationType;
|
|
11
|
-
trigger: NotificationEvent;
|
|
12
|
-
badgeId: string;
|
|
13
|
-
eventId: string;
|
|
14
|
-
receiver: string;
|
|
15
|
-
receiverCompany: string;
|
|
16
|
-
senderCompany?: string;
|
|
17
|
-
senderContact?: string;
|
|
18
|
-
subject?: string;
|
|
19
|
-
content?: string;
|
|
20
|
-
template?: string;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"badge-send-email.interface.js","sourceRoot":"","sources":["../../src/events/badge-send-email.interface.ts"],"names":[],"mappings":""}
|