@aldb2b/common 1.0.177 → 1.0.178
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/events/send-notifications.interface.d.ts +3 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +16 -6
- package/build/types/record-type.enum.d.ts +10 -0
- package/build/types/record-type.enum.js +15 -0
- package/build/types/record-type.enum.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RecordType } from 'src/types/record-type.enum';
|
|
1
2
|
import { NotificationEvent } from '../types/notification-event.enum';
|
|
2
3
|
import { NotificationType } from '../types/notification-type.enum';
|
|
3
4
|
import { Subjects } from './subjects';
|
|
@@ -21,5 +22,7 @@ export declare namespace SendNotifications {
|
|
|
21
22
|
receiver: string;
|
|
22
23
|
attachments?: string[];
|
|
23
24
|
links?: any;
|
|
25
|
+
relatedRecordType?: RecordType;
|
|
26
|
+
relatedRecordId?: string;
|
|
24
27
|
}
|
|
25
28
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -118,6 +118,7 @@ export * from './types/group-visibility.interface';
|
|
|
118
118
|
export * from './types/notification-event.enum';
|
|
119
119
|
export * from './types/calendar-source-type.enum';
|
|
120
120
|
export * from './types/notification-type.enum';
|
|
121
|
+
export * from './types/record-type.enum';
|
|
121
122
|
export * from './middlewares/app.middleware';
|
|
122
123
|
export * from './middlewares/authorizer.middleware';
|
|
123
124
|
export * from './utils/create-default-directories';
|
package/build/index.js
CHANGED
|
@@ -130,6 +130,7 @@ __exportStar(require("./types/group-visibility.interface"), exports);
|
|
|
130
130
|
__exportStar(require("./types/notification-event.enum"), exports);
|
|
131
131
|
__exportStar(require("./types/calendar-source-type.enum"), exports);
|
|
132
132
|
__exportStar(require("./types/notification-type.enum"), exports);
|
|
133
|
+
__exportStar(require("./types/record-type.enum"), exports);
|
|
133
134
|
__exportStar(require("./middlewares/app.middleware"), exports);
|
|
134
135
|
__exportStar(require("./middlewares/authorizer.middleware"), exports);
|
|
135
136
|
__exportStar(require("./utils/create-default-directories"), exports);
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiC;AACjC,iEAA8C;AAC9C,mEAAgD;AAChD,+DAA4C;AAC5C,oEAAiD;AACjD,qEAAkD;AAClD,oEAAiD;AACjD,sEAAmD;AACnD,6EAA0D;AAC1D,uEAAoD;AACpD,sEAAmD;AACnD,6EAA0D;AAC1D,2EAAwD;AACxD,4EAAyD;AACzD,iEAA8C;AAC9C,4EAAyD;AACzD,4EAAyD;AACzD,wEAAqD;AACrD,yEAAsD;AACtD,yEAAsD;AACtD,oEAAiD;AACjD,6EAA0D;AAC1D,2EAAwD;AACxD,8EAA2D;AAC3D,mEAAgD;AAChD,oEAAiD;AACjD,oEAAiD;AACjD,oEAAiD;AACjD,wEAAqD;AACrD,2EAAwD;AACxD,0EAAuD;AACvD,mEAAgD;AAChD,kDAA+B;AAC/B,oEAAiD;AACjD,2EAAwD;AACxD,oEAAiD;AACjD,qEAAkD;AAClD,qEAAkD;AAClD,wEAAqD;AACrD,sEAAmD;AACnD,0EAAuD;AACvD,wEAAqD;AACrD,4EAAyD;AACzD,oEAAiD;AACjD,oEAAiD;AACjD,wEAAqD;AACrD,0EAAuD;AACvD,2EAAwD;AACxD,yEAAsD;AACtD,kFAA+D;AAC/D,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,mEAAgD;AAChD,mEAAgD;AAChD,qEAAkD;AAClD,6EAA0D;AAC1D,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,uEAAoD;AACpD,uEAAoD;AACpD,iEAA8C;AAC9C,iEAA8C;AAC9C,qEAAkD;AAClD,qEAAkD;AAClD,4EAAyD;AACzD,4EAAyD;AACzD,0EAAuD;AACvD,qDAAkC;AAClC,yEAAsD;AACtD,iFAA8D;AAC9D,sFAAmE;AACnE,sEAAmD;AACnD,iFAA8D;AAE9D,oEAAiD;AACjD,8DAA2C;AAC3C,+DAA4C;AAC5C,kEAA+C;AAC/C,wEAAqD;AACrD,kEAA+C;AAC/C,gFAA6D;AAC7D,+DAA4C;AAC5C,yEAAsD;AACtD,mFAAgE;AAChE,iFAA8D;AAC9D,iEAA8C;AAC9C,2EAAwD;AAExD,kEAA+C;AAC/C,sEAAmD;AAEnD,sEAAmD;AACnD,uEAAoD;AAEpD,mDAAgC;AAChC,oDAAiC;AACjC,6DAA0C;AAC1C,oEAAiD;AACjD,yEAAsD;AAEtD,gEAA6C;AAC7C,sEAAmD;AACnD,yDAAsC;AACtC,yDAAsC;AACtC,gEAA6C;AAC7C,yEAAsD;AACtD,2EAAwD;AACxD,4DAAyC;AACzC,0EAAuD;AACvD,0DAAuC;AACvC,gEAA6C;AAC7C,0DAAuC;AACvC,qEAAkD;AAClD,qEAAkD;AAClD,uEAAoD;AACpD,mEAAgD;AAChD,+DAA4C;AAC5C,uEAAoD;AACpD,qEAAkD;AAClD,kEAA+C;AAC/C,oEAAiD;AACjD,iEAA8C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiC;AACjC,iEAA8C;AAC9C,mEAAgD;AAChD,+DAA4C;AAC5C,oEAAiD;AACjD,qEAAkD;AAClD,oEAAiD;AACjD,sEAAmD;AACnD,6EAA0D;AAC1D,uEAAoD;AACpD,sEAAmD;AACnD,6EAA0D;AAC1D,2EAAwD;AACxD,4EAAyD;AACzD,iEAA8C;AAC9C,4EAAyD;AACzD,4EAAyD;AACzD,wEAAqD;AACrD,yEAAsD;AACtD,yEAAsD;AACtD,oEAAiD;AACjD,6EAA0D;AAC1D,2EAAwD;AACxD,8EAA2D;AAC3D,mEAAgD;AAChD,oEA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C7C,0DAAuC;AACvC,qEAAkD;AAClD,qEAAkD;AAClD,uEAAoD;AACpD,mEAAgD;AAChD,+DAA4C;AAC5C,uEAAoD;AACpD,qEAAkD;AAClD,kEAA+C;AAC/C,oEAAiD;AACjD,iEAA8C;AAC9C,2DAAwC;AAExC,+DAA4C;AAC5C,sEAAmD;AAEnD,qEAAkD;AAClD,6DAA0C;AAC1C,uDAAoC;AACpC,sDAAmC;AACnC,qDAAkC;AAClC,mDAAgC;AAChC,4DAAyC;AACzC,2DAAwC;AACxC,oDAAiC;AACjC,uDAAoC"}
|
|
@@ -346,6 +346,11 @@
|
|
|
346
346
|
"signature": "b858b34c2be10c11a81cf34ef8870897869f9355a8099995695ceea1e1bdf8c4",
|
|
347
347
|
"affectsGlobalScope": false
|
|
348
348
|
},
|
|
349
|
+
"../src/types/record-type.enum.ts": {
|
|
350
|
+
"version": "24ae6ec51b7f6d32720b4361fbd2976b7940dc3156fababf2c202bbaf2a36c8f",
|
|
351
|
+
"signature": "86ced70cac74c24452bc233bb8f054f8918276c228eccb1b8e1de21b44f602bf",
|
|
352
|
+
"affectsGlobalScope": false
|
|
353
|
+
},
|
|
349
354
|
"../src/types/notification-event.enum.ts": {
|
|
350
355
|
"version": "d857cd78bca1efc847646f652eb4d7238f70cf74b3020360632a47c814e51bd4",
|
|
351
356
|
"signature": "31410ca280de02a8895b6476f3c60f176e39391021ac7ceb4cfae54292aaaf60",
|
|
@@ -357,8 +362,8 @@
|
|
|
357
362
|
"affectsGlobalScope": false
|
|
358
363
|
},
|
|
359
364
|
"../src/events/send-notifications.interface.ts": {
|
|
360
|
-
"version": "
|
|
361
|
-
"signature": "
|
|
365
|
+
"version": "5228f0899a57968c2ecfb39c9bcedebfdaf99213d47659ea3c9d37225faff702",
|
|
366
|
+
"signature": "9b1aed21580451e09223f934638c2876e3c71dbfd36b83cb36d7cd1337bd611c",
|
|
362
367
|
"affectsGlobalScope": false
|
|
363
368
|
},
|
|
364
369
|
"../src/events/get-contacts-by-query.interface.ts": {
|
|
@@ -6372,8 +6377,8 @@
|
|
|
6372
6377
|
"affectsGlobalScope": false
|
|
6373
6378
|
},
|
|
6374
6379
|
"../src/index.ts": {
|
|
6375
|
-
"version": "
|
|
6376
|
-
"signature": "
|
|
6380
|
+
"version": "00f2cea03175c410406bf0cf31fc81702064c77e869811a103573ee6452ff4e2",
|
|
6381
|
+
"signature": "83eadbd81783af90770b7da097211f38bc072b56cf33ddb53267ebe38fc356d3",
|
|
6377
6382
|
"affectsGlobalScope": false
|
|
6378
6383
|
},
|
|
6379
6384
|
"../src/events/meeting-request-updated.interface.ts": {
|
|
@@ -11317,7 +11322,8 @@
|
|
|
11317
11322
|
"../src/events/send-notifications.interface.ts": [
|
|
11318
11323
|
"../src/events/subjects.ts",
|
|
11319
11324
|
"../src/types/notification-event.enum.ts",
|
|
11320
|
-
"../src/types/notification-type.enum.ts"
|
|
11325
|
+
"../src/types/notification-type.enum.ts",
|
|
11326
|
+
"../src/types/record-type.enum.ts"
|
|
11321
11327
|
],
|
|
11322
11328
|
"../src/events/service-created.interface.ts": [
|
|
11323
11329
|
"../src/events/subjects.ts"
|
|
@@ -11453,6 +11459,7 @@
|
|
|
11453
11459
|
"../src/types/notification-type.enum.ts",
|
|
11454
11460
|
"../src/types/operation-types.ts",
|
|
11455
11461
|
"../src/types/read-result.interface.ts",
|
|
11462
|
+
"../src/types/record-type.enum.ts",
|
|
11456
11463
|
"../src/types/update-input-data.interface.ts",
|
|
11457
11464
|
"../src/types/upload-presigned-url.interface.ts",
|
|
11458
11465
|
"../src/types/user-invitations.interface.ts",
|
|
@@ -16449,7 +16456,8 @@
|
|
|
16449
16456
|
"../src/events/send-notifications.interface.ts": [
|
|
16450
16457
|
"../src/events/subjects.ts",
|
|
16451
16458
|
"../src/types/notification-event.enum.ts",
|
|
16452
|
-
"../src/types/notification-type.enum.ts"
|
|
16459
|
+
"../src/types/notification-type.enum.ts",
|
|
16460
|
+
"../src/types/record-type.enum.ts"
|
|
16453
16461
|
],
|
|
16454
16462
|
"../src/events/service-created.interface.ts": [
|
|
16455
16463
|
"../src/events/subjects.ts"
|
|
@@ -16585,6 +16593,7 @@
|
|
|
16585
16593
|
"../src/types/notification-type.enum.ts",
|
|
16586
16594
|
"../src/types/operation-types.ts",
|
|
16587
16595
|
"../src/types/read-result.interface.ts",
|
|
16596
|
+
"../src/types/record-type.enum.ts",
|
|
16588
16597
|
"../src/types/update-input-data.interface.ts",
|
|
16589
16598
|
"../src/types/upload-presigned-url.interface.ts",
|
|
16590
16599
|
"../src/types/user-invitations.interface.ts",
|
|
@@ -17947,6 +17956,7 @@
|
|
|
17947
17956
|
"../src/types/notification-type.enum.ts",
|
|
17948
17957
|
"../src/types/operation-types.ts",
|
|
17949
17958
|
"../src/types/read-result.interface.ts",
|
|
17959
|
+
"../src/types/record-type.enum.ts",
|
|
17950
17960
|
"../src/types/update-input-data.interface.ts",
|
|
17951
17961
|
"../src/types/upload-presigned-url.interface.ts",
|
|
17952
17962
|
"../src/types/user-invitations.interface.ts",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RecordType = void 0;
|
|
4
|
+
var RecordType;
|
|
5
|
+
(function (RecordType) {
|
|
6
|
+
RecordType["COMPANY"] = "Company";
|
|
7
|
+
RecordType["CONTACT"] = "Contact";
|
|
8
|
+
RecordType["MEETING"] = "Meeting";
|
|
9
|
+
RecordType["MEETING_REQUEST"] = "MeetingRequest";
|
|
10
|
+
RecordType["PRODUCT"] = "Product";
|
|
11
|
+
RecordType["SERVICE"] = "Service";
|
|
12
|
+
RecordType["RFQ"] = "RFQ";
|
|
13
|
+
RecordType["QUOTATION"] = "Quotation";
|
|
14
|
+
})(RecordType = exports.RecordType || (exports.RecordType = {}));
|
|
15
|
+
//# sourceMappingURL=record-type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-type.enum.js","sourceRoot":"","sources":["../../src/types/record-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UASX;AATD,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;AACzB,CAAC,EATW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QASrB"}
|