@aldb2b/common 1.0.103 → 1.0.106

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.
Files changed (168) hide show
  1. package/build/db/CustomModel.d.ts +4 -4
  2. package/build/db/CustomModel.js +7 -7
  3. package/build/db/MongooseBase.d.ts +37 -37
  4. package/build/db/MongooseBase.js +321 -321
  5. package/build/db/aggregate/AggregateConvertor.d.ts +23 -23
  6. package/build/db/aggregate/AggregateConvertor.js +211 -211
  7. package/build/db/aggregate/createAggregateResponse.d.ts +2 -2
  8. package/build/db/aggregate/createAggregateResponse.js +49 -49
  9. package/build/db/mongoose-find-options.d.ts +12 -12
  10. package/build/db/mongoose-find-options.js +67 -67
  11. package/build/decorators/get-event-id-decorator.d.ts +1 -1
  12. package/build/decorators/get-event-id-decorator.js +9 -9
  13. package/build/decorators/get-user-decorator.d.ts +1 -1
  14. package/build/decorators/get-user-decorator.js +12 -12
  15. package/build/events/attendee-contact.interface.d.ts +10 -10
  16. package/build/events/attendee-contact.interface.js +2 -2
  17. package/build/events/authorize-user.interface.d.ts +13 -13
  18. package/build/events/authorize-user.interface.js +2 -2
  19. package/build/events/campaign-users.interface.d.ts +11 -11
  20. package/build/events/campaign-users.interface.js +2 -2
  21. package/build/events/compute-calendar.interface.d.ts +14 -14
  22. package/build/events/compute-calendar.interface.js +2 -2
  23. package/build/events/contacts-by-search.interface.d.ts +10 -10
  24. package/build/events/contacts-by-search.interface.js +2 -2
  25. package/build/events/create-company-setting.interface.d.ts +18 -16
  26. package/build/events/create-company-setting.interface.js +2 -2
  27. package/build/events/create-company.interface.d.ts +15 -15
  28. package/build/events/create-company.interface.js +2 -2
  29. package/build/events/create-contact.interface.d.ts +17 -17
  30. package/build/events/create-contact.interface.js +2 -2
  31. package/build/events/data-by-search.interface.d.ts +10 -10
  32. package/build/events/data-by-search.interface.js +2 -2
  33. package/build/events/edit-list-users.interface.d.ts +10 -10
  34. package/build/events/edit-list-users.interface.js +2 -2
  35. package/build/events/email-specs.interface.d.ts +18 -18
  36. package/build/events/email-specs.interface.js +2 -2
  37. package/build/events/get-companies.interface.d.ts +10 -10
  38. package/build/events/get-companies.interface.js +2 -2
  39. package/build/events/get-event.interface.d.ts +10 -10
  40. package/build/events/get-event.interface.js +2 -2
  41. package/build/events/get-unavailable-by-user.interface.d.ts +13 -13
  42. package/build/events/get-unavailable-by-user.interface.js +2 -2
  43. package/build/events/get-user-by-id.interface.d.ts +10 -10
  44. package/build/events/get-user-by-id.interface.js +2 -2
  45. package/build/events/groups-by-company.interface.d.ts +13 -13
  46. package/build/events/groups-by-company.interface.js +2 -2
  47. package/build/events/groups-by-ids.interface.d.ts +10 -10
  48. package/build/events/groups-by-ids.interface.js +2 -2
  49. package/build/events/manage-asseccibillity.interface.d.ts +13 -13
  50. package/build/events/manage-asseccibillity.interface.js +2 -2
  51. package/build/events/meeting-count-by-company.interface.d.ts +10 -10
  52. package/build/events/meeting-count-by-company.interface.js +2 -2
  53. package/build/events/meeting-count-by-user.interface.d.ts +10 -10
  54. package/build/events/meeting-count-by-user.interface.js +2 -2
  55. package/build/events/meeting-request-created.interface.d.ts +20 -20
  56. package/build/events/meeting-request-created.interface.js +2 -2
  57. package/build/events/meeting-requested-users.interface.d.ts +10 -10
  58. package/build/events/meeting-requested-users.interface.js +2 -2
  59. package/build/events/send-emails.interface.d.ts +21 -21
  60. package/build/events/send-emails.interface.js +2 -2
  61. package/build/events/send-notifications.interface.d.ts +19 -0
  62. package/build/events/send-notifications.interface.js +3 -0
  63. package/build/events/send-notifications.interface.js.map +1 -0
  64. package/build/events/subjects.d.ts +27 -26
  65. package/build/events/subjects.js +31 -30
  66. package/build/events/subjects.js.map +1 -1
  67. package/build/events/update-company-setting.interface.d.ts +18 -16
  68. package/build/events/update-company-setting.interface.js +2 -2
  69. package/build/events/update-user-event-info.interface.d.ts +17 -17
  70. package/build/events/update-user-event-info.interface.js +2 -2
  71. package/build/index.d.ts +78 -71
  72. package/build/index.js +90 -83
  73. package/build/index.js.map +1 -1
  74. package/build/interceptors/response.interceptor.d.ts +6 -6
  75. package/build/interceptors/response.interceptor.js +30 -30
  76. package/build/interceptors/serialize.interceptor.d.ts +12 -12
  77. package/build/interceptors/serialize.interceptor.js +24 -24
  78. package/build/middlewares/app.middleware.d.ts +6 -6
  79. package/build/middlewares/app.middleware.js +29 -29
  80. package/build/middlewares/authorizer.middleware.d.ts +10 -10
  81. package/build/middlewares/authorizer.middleware.js +102 -102
  82. package/build/tsconfig.tsbuildinfo +5085 -5015
  83. package/build/types/analytic-group.interface.d.ts +12 -0
  84. package/build/types/analytic-group.interface.js +3 -0
  85. package/build/types/analytic-group.interface.js.map +1 -0
  86. package/build/types/chat-group.interface.d.ts +4 -0
  87. package/build/types/{visibility.interface.js → chat-group.interface.js} +3 -3
  88. package/build/types/chat-group.interface.js.map +1 -0
  89. package/build/types/{visibility.interface.d.ts → default-visibility.interface.d.ts} +13 -10
  90. package/build/types/default-visibility.interface.js +3 -0
  91. package/build/types/default-visibility.interface.js.map +1 -0
  92. package/build/types/download-presigned-url.interface.d.ts +4 -4
  93. package/build/types/download-presigned-url.interface.js +2 -2
  94. package/build/types/group-visibility.interface.d.ts +13 -0
  95. package/build/types/group-visibility.interface.js +3 -0
  96. package/build/types/group-visibility.interface.js.map +1 -0
  97. package/build/types/header-user.interface.d.ts +8 -8
  98. package/build/types/header-user.interface.js +2 -2
  99. package/build/types/match-group.interface.d.ts +7 -7
  100. package/build/types/match-group.interface.js +2 -2
  101. package/build/types/match.interface.d.ts +6 -6
  102. package/build/types/match.interface.js +2 -2
  103. package/build/types/meeting-request-token.interface.d.ts +7 -6
  104. package/build/types/meeting-request-token.interface.js +2 -2
  105. package/build/types/meeting-type.enum.d.ts +6 -6
  106. package/build/types/meeting-type.enum.js +10 -10
  107. package/build/types/notification-event.enum.d.ts +12 -0
  108. package/build/types/notification-event.enum.js +17 -0
  109. package/build/types/notification-event.enum.js.map +1 -0
  110. package/build/types/notification-type.enum.d.ts +6 -0
  111. package/build/types/notification-type.enum.js +11 -0
  112. package/build/types/notification-type.enum.js.map +1 -0
  113. package/build/types/operation-types.d.ts +5 -5
  114. package/build/types/operation-types.js +9 -9
  115. package/build/types/read-result.interface.d.ts +5 -5
  116. package/build/types/read-result.interface.js +2 -2
  117. package/build/types/update-input-data.interface.d.ts +10 -10
  118. package/build/types/update-input-data.interface.js +2 -2
  119. package/build/types/upload-presigned-url.interface.d.ts +4 -4
  120. package/build/types/upload-presigned-url.interface.js +2 -2
  121. package/build/types/user-invitations.interface.d.ts +6 -6
  122. package/build/types/user-invitations.interface.js +2 -2
  123. package/build/types/user-role.enum.d.ts +7 -7
  124. package/build/types/user-role.enum.js +11 -11
  125. package/build/types/user-type.enum.d.ts +5 -5
  126. package/build/types/user-type.enum.js +9 -9
  127. package/build/types/visibility-group.interface.d.ts +6 -6
  128. package/build/types/visibility-group.interface.js +2 -2
  129. package/build/utils/create-default-directories.d.ts +1 -1
  130. package/build/utils/create-default-directories.js +23 -23
  131. package/build/utils/equal-array-object.d.ts +1 -1
  132. package/build/utils/equal-array-object.js +9 -9
  133. package/build/utils/equal-object.d.ts +1 -1
  134. package/build/utils/equal-object.js +8 -8
  135. package/build/utils/parse-query.d.ts +1 -1
  136. package/build/utils/parse-query.js +30 -30
  137. package/build/utils/projection.d.ts +1 -1
  138. package/build/utils/projection.js +25 -25
  139. package/build/utils/timezone.d.ts +2 -2
  140. package/build/utils/timezone.js +14 -14
  141. package/build/validators/conditional-required.d.ts +2 -2
  142. package/build/validators/conditional-required.js +23 -23
  143. package/build/validators/date-validator.d.ts +2 -2
  144. package/build/validators/date-validator.js +20 -20
  145. package/build/validators/responses/customizeArrayResponse.d.ts +3 -3
  146. package/build/validators/responses/customizeArrayResponse.js +23 -23
  147. package/build/validators/responses/error.d.ts +2 -2
  148. package/build/validators/responses/error.interface.d.ts +4 -4
  149. package/build/validators/responses/error.interface.js +2 -2
  150. package/build/validators/responses/error.js +28 -28
  151. package/build/validators/responses/response-option.interface.d.ts +7 -7
  152. package/build/validators/responses/response-option.interface.js +2 -2
  153. package/build/validators/responses/succes-result.interface.d.ts +10 -10
  154. package/build/validators/responses/succes-result.interface.js +2 -2
  155. package/build/validators/responses/success.d.ts +3 -3
  156. package/build/validators/responses/success.interface.d.ts +4 -4
  157. package/build/validators/responses/success.interface.js +2 -2
  158. package/build/validators/responses/success.js +14 -14
  159. package/build/validators/validateNewItem.d.ts +1 -1
  160. package/build/validators/validateNewItem.js +22 -22
  161. package/build/validators/validateProjection.d.ts +1 -1
  162. package/build/validators/validateProjection.js +32 -32
  163. package/build/validators/validateProjectionResult.d.ts +1 -1
  164. package/build/validators/validateProjectionResult.js +36 -36
  165. package/build/validators/validateUpdateItem.d.ts +1 -1
  166. package/build/validators/validateUpdateItem.js +22 -22
  167. package/package.json +35 -35
  168. package/build/types/visibility.interface.js.map +0 -1
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=analytic-group.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analytic-group.interface.js","sourceRoot":"","sources":["../../src/types/analytic-group.interface.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface ChatGroup {
2
+ afterInterest?: boolean;
3
+ withoutInterest?: boolean;
4
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=visibility.interface.js.map
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=chat-group.interface.js.map
@@ -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 { VisibilityGroup } from './visibility-group.interface';
2
- export interface Visibility {
3
- name: string;
4
- batchGroups?: string[];
5
- exhibitor?: VisibilityGroup;
6
- visitor?: VisibilityGroup;
7
- sponsor?: VisibilityGroup;
8
- RFQ?: VisibilityGroup;
9
- offer?: VisibilityGroup;
10
- }
1
+ import { AnalyticGroup } from './analytic-group.interface';
2
+ import { VisibilityGroup } from './visibility-group.interface';
3
+ export interface DefaultVisibility {
4
+ name: string;
5
+ exhibitor?: VisibilityGroup;
6
+ visitor?: VisibilityGroup;
7
+ sponsor?: VisibilityGroup;
8
+ RFQ?: VisibilityGroup;
9
+ offer?: VisibilityGroup;
10
+ analyticVisitor?: AnalyticGroup;
11
+ analyticSponsor?: AnalyticGroup;
12
+ analyticExhibitor?: AnalyticGroup;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=default-visibility.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-visibility.interface.js","sourceRoot":"","sources":["../../src/types/default-visibility.interface.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export interface DownloadPresignedURL {
2
- file: string;
3
- downloadURL: string;
4
- }
1
+ export interface DownloadPresignedURL {
2
+ file: string;
3
+ downloadURL: string;
4
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=download-presigned-url.interface.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=group-visibility.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"group-visibility.interface.js","sourceRoot":"","sources":["../../src/types/group-visibility.interface.ts"],"names":[],"mappings":""}
@@ -1,8 +1,8 @@
1
- export interface HeaderUser {
2
- id: string;
3
- email: string;
4
- role: string;
5
- type: string;
6
- company?: string;
7
- contactId?: string;
8
- }
1
+ export interface HeaderUser {
2
+ id: string;
3
+ email: string;
4
+ role: string;
5
+ type: string;
6
+ company?: string;
7
+ contactId?: string;
8
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=header-user.interface.js.map
@@ -1,7 +1,7 @@
1
- export interface MatchGroup {
2
- itp: boolean;
3
- finalProductMatch: boolean;
4
- hostMatch: boolean;
5
- guestMatch: boolean;
6
- perfectMatch: boolean;
7
- }
1
+ export interface MatchGroup {
2
+ itp: boolean;
3
+ finalProductMatch: boolean;
4
+ hostMatch: boolean;
5
+ guestMatch: boolean;
6
+ perfectMatch: boolean;
7
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=match-group.interface.js.map
@@ -1,6 +1,6 @@
1
- import { MatchGroup } from './match-group.interface';
2
- export interface Match {
3
- host: MatchGroup;
4
- guest: MatchGroup;
5
- sponsor: MatchGroup;
6
- }
1
+ import { MatchGroup } from './match-group.interface';
2
+ export interface Match {
3
+ host: MatchGroup;
4
+ guest: MatchGroup;
5
+ sponsor: MatchGroup;
6
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=match.interface.js.map
@@ -1,6 +1,7 @@
1
- export interface MeetingRequestToken {
2
- stepId: string;
3
- userId: string;
4
- type: string;
5
- meetingRequestDate?: string;
6
- }
1
+ export interface MeetingRequestToken {
2
+ stepId?: string;
3
+ userId: string;
4
+ type: string;
5
+ meetingRequestDate?: string;
6
+ id?: string;
7
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=meeting-request-token.interface.js.map
@@ -1,6 +1,6 @@
1
- export declare enum MeetingType {
2
- IN_PERSON = "In-person",
3
- ZOOM = "Zoom",
4
- TEAMS = "Teams",
5
- ALADDIN_MEETING = "Aladdin Meeting"
6
- }
1
+ export declare enum MeetingType {
2
+ IN_PERSON = "In-person",
3
+ ZOOM = "Zoom",
4
+ TEAMS = "Teams",
5
+ ALADDIN_MEETING = "Aladdin Meeting"
6
+ }
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MeetingType = void 0;
4
- var MeetingType;
5
- (function (MeetingType) {
6
- MeetingType["IN_PERSON"] = "In-person";
7
- MeetingType["ZOOM"] = "Zoom";
8
- MeetingType["TEAMS"] = "Teams";
9
- MeetingType["ALADDIN_MEETING"] = "Aladdin Meeting";
10
- })(MeetingType = exports.MeetingType || (exports.MeetingType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MeetingType = void 0;
4
+ var MeetingType;
5
+ (function (MeetingType) {
6
+ MeetingType["IN_PERSON"] = "In-person";
7
+ MeetingType["ZOOM"] = "Zoom";
8
+ MeetingType["TEAMS"] = "Teams";
9
+ MeetingType["ALADDIN_MEETING"] = "Aladdin Meeting";
10
+ })(MeetingType = exports.MeetingType || (exports.MeetingType = {}));
11
11
  //# sourceMappingURL=meeting-type.enum.js.map
@@ -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,6 @@
1
+ export declare enum NotificationType {
2
+ EMAIL = "Email",
3
+ PUSH_NOTIFICATION = "PushNotification",
4
+ SMS = "SMS",
5
+ SYSTEM = "System"
6
+ }
@@ -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"}
@@ -1,5 +1,5 @@
1
- export declare enum operationTypes {
2
- CREATE = "create",
3
- UPDATE = "update",
4
- DELETE = "delete"
5
- }
1
+ export declare enum operationTypes {
2
+ CREATE = "create",
3
+ UPDATE = "update",
4
+ DELETE = "delete"
5
+ }
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.operationTypes = void 0;
4
- var operationTypes;
5
- (function (operationTypes) {
6
- operationTypes["CREATE"] = "create";
7
- operationTypes["UPDATE"] = "update";
8
- operationTypes["DELETE"] = "delete";
9
- })(operationTypes = exports.operationTypes || (exports.operationTypes = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.operationTypes = void 0;
4
+ var operationTypes;
5
+ (function (operationTypes) {
6
+ operationTypes["CREATE"] = "create";
7
+ operationTypes["UPDATE"] = "update";
8
+ operationTypes["DELETE"] = "delete";
9
+ })(operationTypes = exports.operationTypes || (exports.operationTypes = {}));
10
10
  //# sourceMappingURL=operation-types.js.map
@@ -1,5 +1,5 @@
1
- export interface ReadResult<T> {
2
- data?: T[];
3
- hasTotal?: boolean;
4
- total?: number;
5
- }
1
+ export interface ReadResult<T> {
2
+ data?: T[];
3
+ hasTotal?: boolean;
4
+ total?: number;
5
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=read-result.interface.js.map
@@ -1,10 +1,10 @@
1
- export interface UpdateInputData {
2
- query: object;
3
- data: object;
4
- necessaryProjectionArray?: string[];
5
- $set?: string;
6
- $unset?: string;
7
- $pull?: string;
8
- $push?: string;
9
- $addToSet?: object;
10
- }
1
+ export interface UpdateInputData {
2
+ query: object;
3
+ data: object;
4
+ necessaryProjectionArray?: string[];
5
+ $set?: string;
6
+ $unset?: string;
7
+ $pull?: string;
8
+ $push?: string;
9
+ $addToSet?: object;
10
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=update-input-data.interface.js.map
@@ -1,4 +1,4 @@
1
- export interface UploadPresignedURL {
2
- file: string;
3
- uploadURL: string;
4
- }
1
+ export interface UploadPresignedURL {
2
+ file: string;
3
+ uploadURL: string;
4
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=upload-presigned-url.interface.js.map
@@ -1,6 +1,6 @@
1
- export interface UserInvitation {
2
- exhibitorCompanyUser?: number;
3
- sponsorCompanyUser?: number;
4
- visitorCompanyUser?: number;
5
- hostExhibitorCompanyUser?: number;
6
- }
1
+ export interface UserInvitation {
2
+ exhibitorCompanyUser?: number;
3
+ sponsorCompanyUser?: number;
4
+ visitorCompanyUser?: number;
5
+ hostExhibitorCompanyUser?: number;
6
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=user-invitations.interface.js.map
@@ -1,7 +1,7 @@
1
- export declare enum UserRole {
2
- ADMIN = "Admin",
3
- MANAGER = "Manager",
4
- OPERATION = "Operation",
5
- ONGROUND = "Onground",
6
- USER = "User"
7
- }
1
+ export declare enum UserRole {
2
+ ADMIN = "Admin",
3
+ MANAGER = "Manager",
4
+ OPERATION = "Operation",
5
+ ONGROUND = "Onground",
6
+ USER = "User"
7
+ }
@@ -1,12 +1,12 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserRole = void 0;
4
- var UserRole;
5
- (function (UserRole) {
6
- UserRole["ADMIN"] = "Admin";
7
- UserRole["MANAGER"] = "Manager";
8
- UserRole["OPERATION"] = "Operation";
9
- UserRole["ONGROUND"] = "Onground";
10
- UserRole["USER"] = "User";
11
- })(UserRole = exports.UserRole || (exports.UserRole = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserRole = void 0;
4
+ var UserRole;
5
+ (function (UserRole) {
6
+ UserRole["ADMIN"] = "Admin";
7
+ UserRole["MANAGER"] = "Manager";
8
+ UserRole["OPERATION"] = "Operation";
9
+ UserRole["ONGROUND"] = "Onground";
10
+ UserRole["USER"] = "User";
11
+ })(UserRole = exports.UserRole || (exports.UserRole = {}));
12
12
  //# sourceMappingURL=user-role.enum.js.map
@@ -1,5 +1,5 @@
1
- export declare enum UserType {
2
- ADMIN = "Admin",
3
- ORGANIZER = "Organizer",
4
- USER = "User"
5
- }
1
+ export declare enum UserType {
2
+ ADMIN = "Admin",
3
+ ORGANIZER = "Organizer",
4
+ USER = "User"
5
+ }
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserType = void 0;
4
- var UserType;
5
- (function (UserType) {
6
- UserType["ADMIN"] = "Admin";
7
- UserType["ORGANIZER"] = "Organizer";
8
- UserType["USER"] = "User";
9
- })(UserType = exports.UserType || (exports.UserType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserType = void 0;
4
+ var UserType;
5
+ (function (UserType) {
6
+ UserType["ADMIN"] = "Admin";
7
+ UserType["ORGANIZER"] = "Organizer";
8
+ UserType["USER"] = "User";
9
+ })(UserType = exports.UserType || (exports.UserType = {}));
10
10
  //# sourceMappingURL=user-type.enum.js.map
@@ -1,6 +1,6 @@
1
- export interface VisibilityGroup {
2
- exhibitor?: boolean;
3
- visitor?: boolean;
4
- sponsor?: boolean;
5
- batches?: boolean;
6
- }
1
+ export interface VisibilityGroup {
2
+ exhibitor?: boolean;
3
+ visitor?: boolean;
4
+ sponsor?: boolean;
5
+ batches?: boolean;
6
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=visibility-group.interface.js.map
@@ -1 +1 @@
1
- export declare const createDefaultDirectories: (requiredDirs: any) => void;
1
+ export declare const createDefaultDirectories: (requiredDirs: any) => void;
@@ -1,24 +1,24 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createDefaultDirectories = void 0;
4
- const fs = require("fs");
5
- const createDefaultDirectories = (requiredDirs) => {
6
- const initialDirectory = './uploads';
7
- if (!fs.existsSync(initialDirectory)) {
8
- fs.mkdirSync(initialDirectory);
9
- }
10
- const createFiles = (requiredDirs, initialRoute) => {
11
- requiredDirs.forEach(file => {
12
- let finalRoute = `${initialRoute}/${file.name}`;
13
- if (!fs.existsSync(finalRoute)) {
14
- fs.mkdirSync(finalRoute);
15
- }
16
- if (file.subDirs.length) {
17
- createFiles(file.subDirs, finalRoute);
18
- }
19
- });
20
- };
21
- createFiles(requiredDirs, initialDirectory);
22
- };
23
- exports.createDefaultDirectories = createDefaultDirectories;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createDefaultDirectories = void 0;
4
+ const fs = require("fs");
5
+ const createDefaultDirectories = (requiredDirs) => {
6
+ const initialDirectory = './uploads';
7
+ if (!fs.existsSync(initialDirectory)) {
8
+ fs.mkdirSync(initialDirectory);
9
+ }
10
+ const createFiles = (requiredDirs, initialRoute) => {
11
+ requiredDirs.forEach(file => {
12
+ let finalRoute = `${initialRoute}/${file.name}`;
13
+ if (!fs.existsSync(finalRoute)) {
14
+ fs.mkdirSync(finalRoute);
15
+ }
16
+ if (file.subDirs.length) {
17
+ createFiles(file.subDirs, finalRoute);
18
+ }
19
+ });
20
+ };
21
+ createFiles(requiredDirs, initialDirectory);
22
+ };
23
+ exports.createDefaultDirectories = createDefaultDirectories;
24
24
  //# sourceMappingURL=create-default-directories.js.map
@@ -1 +1 @@
1
- export declare function equalArrayObject(arr1: object[], arr2: object[]): boolean;
1
+ export declare function equalArrayObject(arr1: object[], arr2: object[]): boolean;
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.equalArrayObject = void 0;
4
- const equal_object_1 = require("./equal-object");
5
- function equalArrayObject(arr1, arr2) {
6
- return (arr1.length === arr2.length &&
7
- arr1.every((o, idx) => equal_object_1.equalObject(o, arr2[idx])));
8
- }
9
- exports.equalArrayObject = equalArrayObject;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.equalArrayObject = void 0;
4
+ const equal_object_1 = require("./equal-object");
5
+ function equalArrayObject(arr1, arr2) {
6
+ return (arr1.length === arr2.length &&
7
+ arr1.every((o, idx) => equal_object_1.equalObject(o, arr2[idx])));
8
+ }
9
+ exports.equalArrayObject = equalArrayObject;
10
10
  //# sourceMappingURL=equal-array-object.js.map
@@ -1 +1 @@
1
- export declare function equalObject(obj1: object, obj2: object): boolean;
1
+ export declare function equalObject(obj1: object, obj2: object): boolean;
@@ -1,9 +1,9 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.equalObject = void 0;
4
- function equalObject(obj1, obj2) {
5
- return (Object.keys(obj1).length === Object.keys(obj2).length &&
6
- Object.keys(obj1).every((p) => obj1[p] === obj2[p]));
7
- }
8
- exports.equalObject = equalObject;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.equalObject = void 0;
4
+ function equalObject(obj1, obj2) {
5
+ return (Object.keys(obj1).length === Object.keys(obj2).length &&
6
+ Object.keys(obj1).every((p) => obj1[p] === obj2[p]));
7
+ }
8
+ exports.equalObject = equalObject;
9
9
  //# sourceMappingURL=equal-object.js.map
@@ -1 +1 @@
1
- export declare function parseQuery(filterDto: any): any;
1
+ export declare function parseQuery(filterDto: any): any;