@aldb2b/common 1.0.104 → 1.0.107
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/create-company-setting.interface.d.ts +4 -2
- package/build/events/send-notifications.interface.d.ts +22 -0
- package/build/events/send-notifications.interface.js +3 -0
- package/build/events/send-notifications.interface.js.map +1 -0
- package/build/events/subjects.d.ts +2 -1
- package/build/events/subjects.js +1 -0
- package/build/events/subjects.js.map +1 -1
- package/build/events/update-company-setting.interface.d.ts +4 -2
- package/build/index.d.ts +8 -1
- package/build/index.js +8 -1
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +102 -28
- package/build/types/analytic-group.interface.d.ts +12 -0
- package/build/types/analytic-group.interface.js +3 -0
- package/build/types/analytic-group.interface.js.map +1 -0
- package/build/types/chat-group.interface.d.ts +4 -0
- package/build/types/{visibility.interface.js → chat-group.interface.js} +1 -1
- package/build/types/chat-group.interface.js.map +1 -0
- package/build/types/{visibility.interface.d.ts → default-visibility.interface.d.ts} +5 -2
- package/build/types/default-visibility.interface.js +3 -0
- package/build/types/default-visibility.interface.js.map +1 -0
- package/build/types/group-visibility.interface.d.ts +13 -0
- package/build/types/group-visibility.interface.js +3 -0
- package/build/types/group-visibility.interface.js.map +1 -0
- package/build/types/notification-event.enum.d.ts +12 -0
- package/build/types/notification-event.enum.js +17 -0
- package/build/types/notification-event.enum.js.map +1 -0
- package/build/types/notification-type.enum.d.ts +6 -0
- package/build/types/notification-type.enum.js +11 -0
- package/build/types/notification-type.enum.js.map +1 -0
- package/package.json +1 -1
- package/build/types/visibility.interface.js.map +0 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Match } from '../types/match.interface';
|
|
2
2
|
import { UserInvitation } from '../types/user-invitations.interface';
|
|
3
|
-
import {
|
|
3
|
+
import { DefaultVisibility } from '../types/default-visibility.interface';
|
|
4
4
|
import { Subjects } from './subjects';
|
|
5
|
+
import { GroupVisibility } from 'src/types/group-visibility.interface';
|
|
5
6
|
export declare namespace CreateCompanySetting {
|
|
6
7
|
interface Context {
|
|
7
8
|
subject: Subjects.CreateCompanySetting;
|
|
@@ -9,7 +10,8 @@ export declare namespace CreateCompanySetting {
|
|
|
9
10
|
}
|
|
10
11
|
interface Data {
|
|
11
12
|
event: string;
|
|
12
|
-
|
|
13
|
+
defaultVisibility: DefaultVisibility;
|
|
14
|
+
groupVisibilities: GroupVisibility[];
|
|
13
15
|
match?: Match;
|
|
14
16
|
userInvitation?: UserInvitation;
|
|
15
17
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NotificationEvent } from '../types/notification-event.enum';
|
|
2
|
+
import { NotificationType } from '../types/notification-type.enum';
|
|
3
|
+
import { Subjects } from './subjects';
|
|
4
|
+
export declare namespace SendNotifications {
|
|
5
|
+
interface Context {
|
|
6
|
+
subject: Subjects.SendNotifications;
|
|
7
|
+
data: Data[];
|
|
8
|
+
}
|
|
9
|
+
interface Data {
|
|
10
|
+
type: NotificationType;
|
|
11
|
+
trigger: NotificationEvent;
|
|
12
|
+
eventId?: string;
|
|
13
|
+
senderCompany?: string;
|
|
14
|
+
senderContact?: string;
|
|
15
|
+
subject?: string;
|
|
16
|
+
content?: string;
|
|
17
|
+
template?: string;
|
|
18
|
+
receiverCompany: string;
|
|
19
|
+
receiver: string;
|
|
20
|
+
attachments?: string[];
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-notifications.interface.js","sourceRoot":"","sources":["../../src/events/send-notifications.interface.ts"],"names":[],"mappings":""}
|
|
@@ -22,5 +22,6 @@ export declare enum Subjects {
|
|
|
22
22
|
DataBySearch = "DataBySearch",
|
|
23
23
|
MeetingRequestedUsers = "meetingRequestedUsers",
|
|
24
24
|
MeetingCount = "MeetingCount",
|
|
25
|
-
GroupsByIds = "groupsByIds:get"
|
|
25
|
+
GroupsByIds = "groupsByIds:get",
|
|
26
|
+
SendNotifications = "notifications:send"
|
|
26
27
|
}
|
package/build/events/subjects.js
CHANGED
|
@@ -27,5 +27,6 @@ var Subjects;
|
|
|
27
27
|
Subjects["MeetingRequestedUsers"] = "meetingRequestedUsers";
|
|
28
28
|
Subjects["MeetingCount"] = "MeetingCount";
|
|
29
29
|
Subjects["GroupsByIds"] = "groupsByIds:get";
|
|
30
|
+
Subjects["SendNotifications"] = "notifications:send";
|
|
30
31
|
})(Subjects = exports.Subjects || (exports.Subjects = {}));
|
|
31
32
|
//# sourceMappingURL=subjects.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subjects.js","sourceRoot":"","sources":["../../src/events/subjects.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"subjects.js","sourceRoot":"","sources":["../../src/events/subjects.ts"],"names":[],"mappings":";;;AAAA,IAAY,QA0BX;AA1BD,WAAY,QAAQ;IAClB,yCAA6B,CAAA;IAC7B,mCAAuB,CAAA;IACvB,4CAAgC,CAAA;IAChC,iCAAqB,CAAA;IACrB,uCAA2B,CAAA;IAC3B,+CAAmC,CAAA;IACnC,+CAAmC,CAAA;IACnC,6CAAiC,CAAA;IACjC,4CAAgC,CAAA;IAChC,4CAAgC,CAAA;IAChC,gDAAoC,CAAA;IACpC,4DAAgD,CAAA;IAChD,wDAA4C,CAAA;IAC5C,yDAA6C,CAAA;IAC7C,qCAAyB,CAAA;IACzB,6CAAiC,CAAA;IACjC,6CAAiC,CAAA;IACjC,2DAA+C,CAAA;IAC/C,2DAA+C,CAAA;IAC/C,iDAAqC,CAAA;IACrC,yCAA6B,CAAA;IAC7B,2DAA+C,CAAA;IAC/C,yCAA6B,CAAA;IAC7B,2CAA+B,CAAA;IAC/B,oDAAwC,CAAA;AAC1C,CAAC,EA1BW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA0BnB"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { UserInvitation } from '../types/user-invitations.interface';
|
|
2
2
|
import { Match } from '../types/match.interface';
|
|
3
|
-
import {
|
|
3
|
+
import { DefaultVisibility } from '../types/default-visibility.interface';
|
|
4
4
|
import { Subjects } from './subjects';
|
|
5
|
+
import { GroupVisibility } from 'src/types/group-visibility.interface';
|
|
5
6
|
export declare namespace UpdateCompanySetting {
|
|
6
7
|
interface Context {
|
|
7
8
|
subject: Subjects.UpdateCompanySetting;
|
|
@@ -9,7 +10,8 @@ export declare namespace UpdateCompanySetting {
|
|
|
9
10
|
}
|
|
10
11
|
interface Data {
|
|
11
12
|
event: string;
|
|
12
|
-
|
|
13
|
+
defaultVisibility?: DefaultVisibility;
|
|
14
|
+
groupVisibilities?: GroupVisibility[];
|
|
13
15
|
match?: Match;
|
|
14
16
|
userInvitation?: UserInvitation;
|
|
15
17
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export * from './events/groups-by-ids.interface';
|
|
|
24
24
|
export * from './events/create-company.interface';
|
|
25
25
|
export * from './events/get-user-by-id.interface';
|
|
26
26
|
export * from './events/create-contact.interface';
|
|
27
|
+
export * from './events/send-notifications.interface';
|
|
27
28
|
export * from './validators/conditional-required';
|
|
28
29
|
export * from './validators/date-validator';
|
|
29
30
|
export * from './validators/validateNewItem';
|
|
@@ -60,7 +61,13 @@ export * from './types/match-group.interface';
|
|
|
60
61
|
export * from './types/match.interface';
|
|
61
62
|
export * from './types/user-invitations.interface';
|
|
62
63
|
export * from './types/visibility-group.interface';
|
|
63
|
-
export * from './types/visibility.interface';
|
|
64
|
+
export * from './types/default-visibility.interface';
|
|
65
|
+
export * from './types/analytic-group.interface';
|
|
66
|
+
export * from './types/chat-group.interface';
|
|
67
|
+
export * from './types/default-visibility.interface';
|
|
68
|
+
export * from './types/group-visibility.interface';
|
|
69
|
+
export * from './types/notification-event.enum';
|
|
70
|
+
export * from './types/notification-type.enum';
|
|
64
71
|
export * from './middlewares/app.middleware';
|
|
65
72
|
export * from './middlewares/authorizer.middleware';
|
|
66
73
|
export * from './utils/create-default-directories';
|
package/build/index.js
CHANGED
|
@@ -36,6 +36,7 @@ __exportStar(require("./events/groups-by-ids.interface"), exports);
|
|
|
36
36
|
__exportStar(require("./events/create-company.interface"), exports);
|
|
37
37
|
__exportStar(require("./events/get-user-by-id.interface"), exports);
|
|
38
38
|
__exportStar(require("./events/create-contact.interface"), exports);
|
|
39
|
+
__exportStar(require("./events/send-notifications.interface"), exports);
|
|
39
40
|
__exportStar(require("./validators/conditional-required"), exports);
|
|
40
41
|
__exportStar(require("./validators/date-validator"), exports);
|
|
41
42
|
__exportStar(require("./validators/validateNewItem"), exports);
|
|
@@ -72,7 +73,13 @@ __exportStar(require("./types/match-group.interface"), exports);
|
|
|
72
73
|
__exportStar(require("./types/match.interface"), exports);
|
|
73
74
|
__exportStar(require("./types/user-invitations.interface"), exports);
|
|
74
75
|
__exportStar(require("./types/visibility-group.interface"), exports);
|
|
75
|
-
__exportStar(require("./types/visibility.interface"), exports);
|
|
76
|
+
__exportStar(require("./types/default-visibility.interface"), exports);
|
|
77
|
+
__exportStar(require("./types/analytic-group.interface"), exports);
|
|
78
|
+
__exportStar(require("./types/chat-group.interface"), exports);
|
|
79
|
+
__exportStar(require("./types/default-visibility.interface"), exports);
|
|
80
|
+
__exportStar(require("./types/group-visibility.interface"), exports);
|
|
81
|
+
__exportStar(require("./types/notification-event.enum"), exports);
|
|
82
|
+
__exportStar(require("./types/notification-type.enum"), exports);
|
|
76
83
|
__exportStar(require("./middlewares/app.middleware"), exports);
|
|
77
84
|
__exportStar(require("./middlewares/authorizer.middleware"), exports);
|
|
78
85
|
__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,oEAAiD;AACjD,6EAA0D;AAC1D,2EAAwD;AACxD,8EAA2D;AAC3D,mEAAgD;AAChD,oEAAiD;AACjD,oEAAiD;AACjD,oEAAiD;
|
|
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,oEAAiD;AACjD,6EAA0D;AAC1D,2EAAwD;AACxD,8EAA2D;AAC3D,mEAAgD;AAChD,oEAAiD;AACjD,oEAAiD;AACjD,oEAAiD;AACjD,wEAAqD;AAErD,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,iEAA8C;AAE9C,+DAA4C;AAC5C,sEAAmD;AAEnD,qEAAkD;AAClD,6DAA0C;AAC1C,uDAAoC;AACpC,sDAAmC;AACnC,qDAAkC;AAClC,mDAAgC"}
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
"affectsGlobalScope": false
|
|
163
163
|
},
|
|
164
164
|
"../src/events/subjects.ts": {
|
|
165
|
-
"version": "
|
|
166
|
-
"signature": "
|
|
165
|
+
"version": "220b3a61268a78f711a8360270a17de61182a261f774bb3841394bac744d6aff",
|
|
166
|
+
"signature": "ec77a74e52617dc7b350366ba12b9d816e6db4d35089d40eb73b8e23fa6611b9",
|
|
167
167
|
"affectsGlobalScope": false
|
|
168
168
|
},
|
|
169
169
|
"../src/events/email-specs.interface.ts": {
|
|
@@ -256,24 +256,39 @@
|
|
|
256
256
|
"signature": "b6f9c830093c6b4308cd4b60b036ede59fe39b0e98985954cfdda07fd6a65203",
|
|
257
257
|
"affectsGlobalScope": false
|
|
258
258
|
},
|
|
259
|
+
"../src/types/analytic-group.interface.ts": {
|
|
260
|
+
"version": "2b3869e9f131c6c9f73fa3f9368fb5769910267aa059d757ff50d7d0aa9fac21",
|
|
261
|
+
"signature": "2bc2d68fc43596d5555e6cd680376cfcd02f2fa1760731dbc70d7b07c3beaa56",
|
|
262
|
+
"affectsGlobalScope": false
|
|
263
|
+
},
|
|
259
264
|
"../src/types/visibility-group.interface.ts": {
|
|
260
265
|
"version": "4758e22760837bd3ec59afa914be9209cb086dd5fbfa7f3d3d27d76c3578a905",
|
|
261
266
|
"signature": "d2f1e262e317d7afcb9e48f64d0f9889afbce250852debcf4e109e9c39dcfad0",
|
|
262
267
|
"affectsGlobalScope": false
|
|
263
268
|
},
|
|
264
|
-
"../src/types/visibility.interface.ts": {
|
|
265
|
-
"version": "
|
|
266
|
-
"signature": "
|
|
269
|
+
"../src/types/default-visibility.interface.ts": {
|
|
270
|
+
"version": "e71efda94f1324ba0e50fc4fd61586995b8caf45825ff7ff43c7d92dbf9f567f",
|
|
271
|
+
"signature": "a918a7487ade07b452fc04876134f197dbfc33c0edc6675c3a7f30a7dd80b33d",
|
|
272
|
+
"affectsGlobalScope": false
|
|
273
|
+
},
|
|
274
|
+
"../src/types/chat-group.interface.ts": {
|
|
275
|
+
"version": "62847f016bdb6acc9605ae9a61d5822a2e8b7b794dc0a9f2100fb3b2b399c40d",
|
|
276
|
+
"signature": "df50644003f1fd398929b852da873ad884c79aefd3dc9a844f7a4c4ab66f3e12",
|
|
277
|
+
"affectsGlobalScope": false
|
|
278
|
+
},
|
|
279
|
+
"../src/types/group-visibility.interface.ts": {
|
|
280
|
+
"version": "290448d6d33320d3bb84ba8b2f5b41768cb7dde568b55303249c7bea098b30f0",
|
|
281
|
+
"signature": "41dff19098e4b14d199ce3b894cdcdb6b3b71eef19299d4a9e5ab1f12206e740",
|
|
267
282
|
"affectsGlobalScope": false
|
|
268
283
|
},
|
|
269
284
|
"../src/events/create-company-setting.interface.ts": {
|
|
270
|
-
"version": "
|
|
271
|
-
"signature": "
|
|
285
|
+
"version": "32ebf8e57b4f90dde3c45a76e318a254b1cb8513e2fbac468b117c2cc44359fe",
|
|
286
|
+
"signature": "dde628836c1d66139e5cec48c6a4752af92514e8a6cdf8e16aa2c0e7a41c75d5",
|
|
272
287
|
"affectsGlobalScope": false
|
|
273
288
|
},
|
|
274
289
|
"../src/events/update-company-setting.interface.ts": {
|
|
275
|
-
"version": "
|
|
276
|
-
"signature": "
|
|
290
|
+
"version": "ed79dff6a10ed5d2c4765b84f5d4fcecc55554be5817fdcc0da281b33a1b5e74",
|
|
291
|
+
"signature": "7d988aa0a8e82e764b8d66aa1b546bab60325a4e7adf3cfe7fdfb2166282ce9f",
|
|
277
292
|
"affectsGlobalScope": false
|
|
278
293
|
},
|
|
279
294
|
"../src/events/contacts-by-search.interface.ts": {
|
|
@@ -321,6 +336,21 @@
|
|
|
321
336
|
"signature": "b858b34c2be10c11a81cf34ef8870897869f9355a8099995695ceea1e1bdf8c4",
|
|
322
337
|
"affectsGlobalScope": false
|
|
323
338
|
},
|
|
339
|
+
"../src/types/notification-event.enum.ts": {
|
|
340
|
+
"version": "6a4b3d8ca1cad275f0b121c7738e1367d9d78e9b49d6c0bad78e4a89fb0c5734",
|
|
341
|
+
"signature": "5754cfecfac7b6b7944d49a5912c543b482ea83609e79ac431cd7b176c405c19",
|
|
342
|
+
"affectsGlobalScope": false
|
|
343
|
+
},
|
|
344
|
+
"../src/types/notification-type.enum.ts": {
|
|
345
|
+
"version": "54dcf54dd5504e71bf82d569c658cfeeb7b7c11d8bedb1ed86e7bd368d3e0130",
|
|
346
|
+
"signature": "621b6c0acabc40a2ab15fa93bdc95c020ddd370525a8c2e5d0c79fe3476ae347",
|
|
347
|
+
"affectsGlobalScope": false
|
|
348
|
+
},
|
|
349
|
+
"../src/events/send-notifications.interface.ts": {
|
|
350
|
+
"version": "e69a286df0a27d9687f3f69b18f5b8fb23ad5c6af423c1992a775d64b8b750ce",
|
|
351
|
+
"signature": "f234378d35783de431b4d0217e719369dce689fa1fa0ce20bf5465c71e474cfe",
|
|
352
|
+
"affectsGlobalScope": false
|
|
353
|
+
},
|
|
324
354
|
"../node_modules/class-validator/types/validation/ValidationError.d.ts": {
|
|
325
355
|
"version": "e69d0b59db23f59172cb087ee44a71438f809bd214d4f4105abd6090b341cbdc",
|
|
326
356
|
"signature": "e69d0b59db23f59172cb087ee44a71438f809bd214d4f4105abd6090b341cbdc",
|
|
@@ -6022,8 +6052,8 @@
|
|
|
6022
6052
|
"affectsGlobalScope": false
|
|
6023
6053
|
},
|
|
6024
6054
|
"../src/index.ts": {
|
|
6025
|
-
"version": "
|
|
6026
|
-
"signature": "
|
|
6055
|
+
"version": "aad3c39aeb3089b7a4eab1efdcf39d528a6d48efd5b197398bcd684737e1d1a4",
|
|
6056
|
+
"signature": "9e0b29213a846a7e020166de410f4960c8024186016bf29b3211cc07a26a462f",
|
|
6027
6057
|
"affectsGlobalScope": false
|
|
6028
6058
|
},
|
|
6029
6059
|
"../node_modules/@types/minimatch/index.d.ts": {
|
|
@@ -10747,9 +10777,10 @@
|
|
|
10747
10777
|
],
|
|
10748
10778
|
"../src/events/create-company-setting.interface.ts": [
|
|
10749
10779
|
"../src/events/subjects.ts",
|
|
10780
|
+
"../src/types/default-visibility.interface.ts",
|
|
10781
|
+
"../src/types/group-visibility.interface.ts",
|
|
10750
10782
|
"../src/types/match.interface.ts",
|
|
10751
|
-
"../src/types/user-invitations.interface.ts"
|
|
10752
|
-
"../src/types/visibility.interface.ts"
|
|
10783
|
+
"../src/types/user-invitations.interface.ts"
|
|
10753
10784
|
],
|
|
10754
10785
|
"../src/events/create-company.interface.ts": [
|
|
10755
10786
|
"../src/events/subjects.ts",
|
|
@@ -10805,11 +10836,17 @@
|
|
|
10805
10836
|
"../src/events/send-emails.interface.ts": [
|
|
10806
10837
|
"../src/events/subjects.ts"
|
|
10807
10838
|
],
|
|
10839
|
+
"../src/events/send-notifications.interface.ts": [
|
|
10840
|
+
"../src/events/subjects.ts",
|
|
10841
|
+
"../src/types/notification-event.enum.ts",
|
|
10842
|
+
"../src/types/notification-type.enum.ts"
|
|
10843
|
+
],
|
|
10808
10844
|
"../src/events/update-company-setting.interface.ts": [
|
|
10809
10845
|
"../src/events/subjects.ts",
|
|
10846
|
+
"../src/types/default-visibility.interface.ts",
|
|
10847
|
+
"../src/types/group-visibility.interface.ts",
|
|
10810
10848
|
"../src/types/match.interface.ts",
|
|
10811
|
-
"../src/types/user-invitations.interface.ts"
|
|
10812
|
-
"../src/types/visibility.interface.ts"
|
|
10849
|
+
"../src/types/user-invitations.interface.ts"
|
|
10813
10850
|
],
|
|
10814
10851
|
"../src/events/update-user-event-info.interface.ts": [
|
|
10815
10852
|
"../src/events/subjects.ts",
|
|
@@ -10846,6 +10883,7 @@
|
|
|
10846
10883
|
"../src/events/meeting-request-created.interface.ts",
|
|
10847
10884
|
"../src/events/meeting-requested-users.interface.ts",
|
|
10848
10885
|
"../src/events/send-emails.interface.ts",
|
|
10886
|
+
"../src/events/send-notifications.interface.ts",
|
|
10849
10887
|
"../src/events/subjects.ts",
|
|
10850
10888
|
"../src/events/update-company-setting.interface.ts",
|
|
10851
10889
|
"../src/events/update-user-event-info.interface.ts",
|
|
@@ -10853,12 +10891,18 @@
|
|
|
10853
10891
|
"../src/interceptors/serialize.interceptor.ts",
|
|
10854
10892
|
"../src/middlewares/app.middleware.ts",
|
|
10855
10893
|
"../src/middlewares/authorizer.middleware.ts",
|
|
10894
|
+
"../src/types/analytic-group.interface.ts",
|
|
10895
|
+
"../src/types/chat-group.interface.ts",
|
|
10896
|
+
"../src/types/default-visibility.interface.ts",
|
|
10856
10897
|
"../src/types/download-presigned-url.interface.ts",
|
|
10898
|
+
"../src/types/group-visibility.interface.ts",
|
|
10857
10899
|
"../src/types/header-user.interface.ts",
|
|
10858
10900
|
"../src/types/match-group.interface.ts",
|
|
10859
10901
|
"../src/types/match.interface.ts",
|
|
10860
10902
|
"../src/types/meeting-request-token.interface.ts",
|
|
10861
10903
|
"../src/types/meeting-type.enum.ts",
|
|
10904
|
+
"../src/types/notification-event.enum.ts",
|
|
10905
|
+
"../src/types/notification-type.enum.ts",
|
|
10862
10906
|
"../src/types/operation-types.ts",
|
|
10863
10907
|
"../src/types/read-result.interface.ts",
|
|
10864
10908
|
"../src/types/update-input-data.interface.ts",
|
|
@@ -10867,7 +10911,6 @@
|
|
|
10867
10911
|
"../src/types/user-role.enum.ts",
|
|
10868
10912
|
"../src/types/user-type.enum.ts",
|
|
10869
10913
|
"../src/types/visibility-group.interface.ts",
|
|
10870
|
-
"../src/types/visibility.interface.ts",
|
|
10871
10914
|
"../src/utils/create-default-directories.ts",
|
|
10872
10915
|
"../src/utils/equal-array-object.ts",
|
|
10873
10916
|
"../src/utils/equal-object.ts",
|
|
@@ -10914,12 +10957,18 @@
|
|
|
10914
10957
|
"../src/events/authorize-user.interface.ts",
|
|
10915
10958
|
"../src/events/subjects.ts"
|
|
10916
10959
|
],
|
|
10917
|
-
"../src/types/
|
|
10918
|
-
"../src/types/
|
|
10960
|
+
"../src/types/default-visibility.interface.ts": [
|
|
10961
|
+
"../src/types/analytic-group.interface.ts",
|
|
10962
|
+
"../src/types/visibility-group.interface.ts"
|
|
10919
10963
|
],
|
|
10920
|
-
"../src/types/visibility.interface.ts": [
|
|
10964
|
+
"../src/types/group-visibility.interface.ts": [
|
|
10965
|
+
"../src/types/analytic-group.interface.ts",
|
|
10966
|
+
"../src/types/chat-group.interface.ts",
|
|
10921
10967
|
"../src/types/visibility-group.interface.ts"
|
|
10922
10968
|
],
|
|
10969
|
+
"../src/types/match.interface.ts": [
|
|
10970
|
+
"../src/types/match-group.interface.ts"
|
|
10971
|
+
],
|
|
10923
10972
|
"../src/utils/create-default-directories.ts": [
|
|
10924
10973
|
"../node_modules/@types/node/fs.d.ts"
|
|
10925
10974
|
],
|
|
@@ -15601,9 +15650,10 @@
|
|
|
15601
15650
|
],
|
|
15602
15651
|
"../src/events/create-company-setting.interface.ts": [
|
|
15603
15652
|
"../src/events/subjects.ts",
|
|
15653
|
+
"../src/types/default-visibility.interface.ts",
|
|
15654
|
+
"../src/types/group-visibility.interface.ts",
|
|
15604
15655
|
"../src/types/match.interface.ts",
|
|
15605
|
-
"../src/types/user-invitations.interface.ts"
|
|
15606
|
-
"../src/types/visibility.interface.ts"
|
|
15656
|
+
"../src/types/user-invitations.interface.ts"
|
|
15607
15657
|
],
|
|
15608
15658
|
"../src/events/create-company.interface.ts": [
|
|
15609
15659
|
"../src/events/subjects.ts",
|
|
@@ -15659,11 +15709,17 @@
|
|
|
15659
15709
|
"../src/events/send-emails.interface.ts": [
|
|
15660
15710
|
"../src/events/subjects.ts"
|
|
15661
15711
|
],
|
|
15712
|
+
"../src/events/send-notifications.interface.ts": [
|
|
15713
|
+
"../src/events/subjects.ts",
|
|
15714
|
+
"../src/types/notification-event.enum.ts",
|
|
15715
|
+
"../src/types/notification-type.enum.ts"
|
|
15716
|
+
],
|
|
15662
15717
|
"../src/events/update-company-setting.interface.ts": [
|
|
15663
15718
|
"../src/events/subjects.ts",
|
|
15719
|
+
"../src/types/default-visibility.interface.ts",
|
|
15720
|
+
"../src/types/group-visibility.interface.ts",
|
|
15664
15721
|
"../src/types/match.interface.ts",
|
|
15665
|
-
"../src/types/user-invitations.interface.ts"
|
|
15666
|
-
"../src/types/visibility.interface.ts"
|
|
15722
|
+
"../src/types/user-invitations.interface.ts"
|
|
15667
15723
|
],
|
|
15668
15724
|
"../src/events/update-user-event-info.interface.ts": [
|
|
15669
15725
|
"../src/events/subjects.ts",
|
|
@@ -15700,6 +15756,7 @@
|
|
|
15700
15756
|
"../src/events/meeting-request-created.interface.ts",
|
|
15701
15757
|
"../src/events/meeting-requested-users.interface.ts",
|
|
15702
15758
|
"../src/events/send-emails.interface.ts",
|
|
15759
|
+
"../src/events/send-notifications.interface.ts",
|
|
15703
15760
|
"../src/events/subjects.ts",
|
|
15704
15761
|
"../src/events/update-company-setting.interface.ts",
|
|
15705
15762
|
"../src/events/update-user-event-info.interface.ts",
|
|
@@ -15707,12 +15764,18 @@
|
|
|
15707
15764
|
"../src/interceptors/serialize.interceptor.ts",
|
|
15708
15765
|
"../src/middlewares/app.middleware.ts",
|
|
15709
15766
|
"../src/middlewares/authorizer.middleware.ts",
|
|
15767
|
+
"../src/types/analytic-group.interface.ts",
|
|
15768
|
+
"../src/types/chat-group.interface.ts",
|
|
15769
|
+
"../src/types/default-visibility.interface.ts",
|
|
15710
15770
|
"../src/types/download-presigned-url.interface.ts",
|
|
15771
|
+
"../src/types/group-visibility.interface.ts",
|
|
15711
15772
|
"../src/types/header-user.interface.ts",
|
|
15712
15773
|
"../src/types/match-group.interface.ts",
|
|
15713
15774
|
"../src/types/match.interface.ts",
|
|
15714
15775
|
"../src/types/meeting-request-token.interface.ts",
|
|
15715
15776
|
"../src/types/meeting-type.enum.ts",
|
|
15777
|
+
"../src/types/notification-event.enum.ts",
|
|
15778
|
+
"../src/types/notification-type.enum.ts",
|
|
15716
15779
|
"../src/types/operation-types.ts",
|
|
15717
15780
|
"../src/types/read-result.interface.ts",
|
|
15718
15781
|
"../src/types/update-input-data.interface.ts",
|
|
@@ -15721,7 +15784,6 @@
|
|
|
15721
15784
|
"../src/types/user-role.enum.ts",
|
|
15722
15785
|
"../src/types/user-type.enum.ts",
|
|
15723
15786
|
"../src/types/visibility-group.interface.ts",
|
|
15724
|
-
"../src/types/visibility.interface.ts",
|
|
15725
15787
|
"../src/utils/create-default-directories.ts",
|
|
15726
15788
|
"../src/utils/equal-array-object.ts",
|
|
15727
15789
|
"../src/utils/equal-object.ts",
|
|
@@ -15759,12 +15821,18 @@
|
|
|
15759
15821
|
"../node_modules/@nestjs/microservices/index.d.ts",
|
|
15760
15822
|
"../node_modules/@types/express/index.d.ts"
|
|
15761
15823
|
],
|
|
15762
|
-
"../src/types/
|
|
15763
|
-
"../src/types/
|
|
15824
|
+
"../src/types/default-visibility.interface.ts": [
|
|
15825
|
+
"../src/types/analytic-group.interface.ts",
|
|
15826
|
+
"../src/types/visibility-group.interface.ts"
|
|
15764
15827
|
],
|
|
15765
|
-
"../src/types/visibility.interface.ts": [
|
|
15828
|
+
"../src/types/group-visibility.interface.ts": [
|
|
15829
|
+
"../src/types/analytic-group.interface.ts",
|
|
15830
|
+
"../src/types/chat-group.interface.ts",
|
|
15766
15831
|
"../src/types/visibility-group.interface.ts"
|
|
15767
15832
|
],
|
|
15833
|
+
"../src/types/match.interface.ts": [
|
|
15834
|
+
"../src/types/match-group.interface.ts"
|
|
15835
|
+
],
|
|
15768
15836
|
"../src/validators/conditional-required.ts": [
|
|
15769
15837
|
"../node_modules/class-validator/types/index.d.ts"
|
|
15770
15838
|
],
|
|
@@ -16953,6 +17021,7 @@
|
|
|
16953
17021
|
"../src/events/meeting-request-created.interface.ts",
|
|
16954
17022
|
"../src/events/meeting-requested-users.interface.ts",
|
|
16955
17023
|
"../src/events/send-emails.interface.ts",
|
|
17024
|
+
"../src/events/send-notifications.interface.ts",
|
|
16956
17025
|
"../src/events/subjects.ts",
|
|
16957
17026
|
"../src/events/update-company-setting.interface.ts",
|
|
16958
17027
|
"../src/events/update-user-event-info.interface.ts",
|
|
@@ -16961,12 +17030,18 @@
|
|
|
16961
17030
|
"../src/interceptors/serialize.interceptor.ts",
|
|
16962
17031
|
"../src/middlewares/app.middleware.ts",
|
|
16963
17032
|
"../src/middlewares/authorizer.middleware.ts",
|
|
17033
|
+
"../src/types/analytic-group.interface.ts",
|
|
17034
|
+
"../src/types/chat-group.interface.ts",
|
|
17035
|
+
"../src/types/default-visibility.interface.ts",
|
|
16964
17036
|
"../src/types/download-presigned-url.interface.ts",
|
|
17037
|
+
"../src/types/group-visibility.interface.ts",
|
|
16965
17038
|
"../src/types/header-user.interface.ts",
|
|
16966
17039
|
"../src/types/match-group.interface.ts",
|
|
16967
17040
|
"../src/types/match.interface.ts",
|
|
16968
17041
|
"../src/types/meeting-request-token.interface.ts",
|
|
16969
17042
|
"../src/types/meeting-type.enum.ts",
|
|
17043
|
+
"../src/types/notification-event.enum.ts",
|
|
17044
|
+
"../src/types/notification-type.enum.ts",
|
|
16970
17045
|
"../src/types/operation-types.ts",
|
|
16971
17046
|
"../src/types/read-result.interface.ts",
|
|
16972
17047
|
"../src/types/update-input-data.interface.ts",
|
|
@@ -16975,7 +17050,6 @@
|
|
|
16975
17050
|
"../src/types/user-role.enum.ts",
|
|
16976
17051
|
"../src/types/user-type.enum.ts",
|
|
16977
17052
|
"../src/types/visibility-group.interface.ts",
|
|
16978
|
-
"../src/types/visibility.interface.ts",
|
|
16979
17053
|
"../src/utils/create-default-directories.ts",
|
|
16980
17054
|
"../src/utils/equal-array-object.ts",
|
|
16981
17055
|
"../src/utils/equal-object.ts",
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface AnalyticGroup {
|
|
2
|
+
scheduledMeetings?: boolean;
|
|
3
|
+
conductedMeetings?: boolean;
|
|
4
|
+
matches?: boolean;
|
|
5
|
+
meetingPerParticipants?: boolean;
|
|
6
|
+
opportunities?: boolean;
|
|
7
|
+
meetingRating?: boolean;
|
|
8
|
+
myWishToMeet?: boolean;
|
|
9
|
+
chat?: boolean;
|
|
10
|
+
totalSwipe?: boolean;
|
|
11
|
+
wishToMeetMe?: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analytic-group.interface.js","sourceRoot":"","sources":["../../src/types/analytic-group.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat-group.interface.js","sourceRoot":"","sources":["../../src/types/chat-group.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { AnalyticGroup } from './analytic-group.interface';
|
|
1
2
|
import { VisibilityGroup } from './visibility-group.interface';
|
|
2
|
-
export interface
|
|
3
|
+
export interface DefaultVisibility {
|
|
3
4
|
name: string;
|
|
4
|
-
batchGroups?: string[];
|
|
5
5
|
exhibitor?: VisibilityGroup;
|
|
6
6
|
visitor?: VisibilityGroup;
|
|
7
7
|
sponsor?: VisibilityGroup;
|
|
8
8
|
RFQ?: VisibilityGroup;
|
|
9
9
|
offer?: VisibilityGroup;
|
|
10
|
+
analyticVisitor?: AnalyticGroup;
|
|
11
|
+
analyticSponsor?: AnalyticGroup;
|
|
12
|
+
analyticExhibitor?: AnalyticGroup;
|
|
10
13
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-visibility.interface.js","sourceRoot":"","sources":["../../src/types/default-visibility.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AnalyticGroup } from './analytic-group.interface';
|
|
2
|
+
import { ChatGroup } from './chat-group.interface';
|
|
3
|
+
import { VisibilityGroup } from './visibility-group.interface';
|
|
4
|
+
export interface GroupVisibility {
|
|
5
|
+
name: string;
|
|
6
|
+
groups: string[];
|
|
7
|
+
visibility?: VisibilityGroup;
|
|
8
|
+
chat?: ChatGroup;
|
|
9
|
+
offer?: boolean;
|
|
10
|
+
RFQ?: boolean;
|
|
11
|
+
requestMeeting?: boolean;
|
|
12
|
+
analytics?: AnalyticGroup;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group-visibility.interface.js","sourceRoot":"","sources":["../../src/types/group-visibility.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum NotificationEvent {
|
|
2
|
+
INFORMATIONAL_MESSAGE = "InformationMessage",
|
|
3
|
+
NEW_REQUEST_MEETING = "NewRequestMeeting",
|
|
4
|
+
ACCEPT_REQUEST_MEETING = "AcceptRequestMeeting",
|
|
5
|
+
REJECT_REQUEST_MEETING = "RejectRequestMeeting",
|
|
6
|
+
RESCHEDULE_REQUEST_MEETING = "RescheduleRequestMeeting",
|
|
7
|
+
CANCEL_REQUEST_MEETING = "CancelRequestMeeting",
|
|
8
|
+
RESCHEDULE_MEETING = "RescheduleMeeting",
|
|
9
|
+
CONFERENCE_AGENDA_SESSION_REMINDER = "ConferenceAgendaSessionReminder",
|
|
10
|
+
SURVEY_NOTIFICATION = "SurveyNotificaiton",
|
|
11
|
+
MEETING_START_SOON = "MeetingStartSoon"
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationEvent = void 0;
|
|
4
|
+
var NotificationEvent;
|
|
5
|
+
(function (NotificationEvent) {
|
|
6
|
+
NotificationEvent["INFORMATIONAL_MESSAGE"] = "InformationMessage";
|
|
7
|
+
NotificationEvent["NEW_REQUEST_MEETING"] = "NewRequestMeeting";
|
|
8
|
+
NotificationEvent["ACCEPT_REQUEST_MEETING"] = "AcceptRequestMeeting";
|
|
9
|
+
NotificationEvent["REJECT_REQUEST_MEETING"] = "RejectRequestMeeting";
|
|
10
|
+
NotificationEvent["RESCHEDULE_REQUEST_MEETING"] = "RescheduleRequestMeeting";
|
|
11
|
+
NotificationEvent["CANCEL_REQUEST_MEETING"] = "CancelRequestMeeting";
|
|
12
|
+
NotificationEvent["RESCHEDULE_MEETING"] = "RescheduleMeeting";
|
|
13
|
+
NotificationEvent["CONFERENCE_AGENDA_SESSION_REMINDER"] = "ConferenceAgendaSessionReminder";
|
|
14
|
+
NotificationEvent["SURVEY_NOTIFICATION"] = "SurveyNotificaiton";
|
|
15
|
+
NotificationEvent["MEETING_START_SOON"] = "MeetingStartSoon";
|
|
16
|
+
})(NotificationEvent = exports.NotificationEvent || (exports.NotificationEvent = {}));
|
|
17
|
+
//# sourceMappingURL=notification-event.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-event.enum.js","sourceRoot":"","sources":["../../src/types/notification-event.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,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,6DAAwC,CAAA;IACxC,2FAAsE,CAAA;IACtE,+DAA0C,CAAA;IAC1C,4DAAuC,CAAA;AACzC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationType = void 0;
|
|
4
|
+
var NotificationType;
|
|
5
|
+
(function (NotificationType) {
|
|
6
|
+
NotificationType["EMAIL"] = "Email";
|
|
7
|
+
NotificationType["PUSH_NOTIFICATION"] = "PushNotification";
|
|
8
|
+
NotificationType["SMS"] = "SMS";
|
|
9
|
+
NotificationType["SYSTEM"] = "System";
|
|
10
|
+
})(NotificationType = exports.NotificationType || (exports.NotificationType = {}));
|
|
11
|
+
//# sourceMappingURL=notification-type.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-type.enum.js","sourceRoot":"","sources":["../../src/types/notification-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,0DAAsC,CAAA;IACtC,+BAAW,CAAA;IACX,qCAAiB,CAAA;AACnB,CAAC,EALW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAK3B"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"visibility.interface.js","sourceRoot":"","sources":["../../src/types/visibility.interface.ts"],"names":[],"mappings":""}
|