@aldb2b/common 1.0.2139 → 1.0.2140

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 (157) hide show
  1. package/build/common/utils/get-mx.d.ts +0 -1
  2. package/build/db/CustomModel.d.ts +0 -25
  3. package/build/db/MongooseBase.d.ts +0 -25
  4. package/build/db/aggregate/AggregateConvertor.d.ts +0 -25
  5. package/build/db/aggregate/createAggregateResponse.js +1 -2
  6. package/build/db/aggregate/createAggregateResponse.js.map +1 -1
  7. package/build/db/auditTrail/audit-trail.model.js +3 -4
  8. package/build/db/auditTrail/audit-trail.model.js.map +1 -1
  9. package/build/entities/interfaces/connection-dictionary.interface.d.ts +0 -25
  10. package/build/entities/models/common/common.provider.d.ts +0 -26
  11. package/build/entities/models/common/entities/audit-trail.entity.d.ts +0 -25
  12. package/build/entities/models/common/entities/location.entity.d.ts +0 -25
  13. package/build/entities/models/common/entities/preference-customization.entity.d.ts +0 -25
  14. package/build/entities/models/common/entities/tracing.entity.d.ts +0 -25
  15. package/build/entities/models/companies/companies.provider.d.ts +0 -26
  16. package/build/entities/models/companies/entities/categories/category.schema.d.ts +0 -25
  17. package/build/entities/models/companies/entities/cities/city.schema.d.ts +0 -25
  18. package/build/entities/models/companies/entities/companies/assignee.schema.d.ts +0 -25
  19. package/build/entities/models/companies/entities/companies/company-contact-detail.schema.d.ts +0 -25
  20. package/build/entities/models/companies/entities/companies/company-statistic.entity.d.ts +0 -25
  21. package/build/entities/models/companies/entities/companies/company.entity.d.ts +0 -25
  22. package/build/entities/models/companies/entities/companies/custom-fields.schema.d.ts +0 -25
  23. package/build/entities/models/companies/entities/companies/export-capability.schema.d.ts +0 -25
  24. package/build/entities/models/companies/entities/companies/hr-data.schema.d.ts +0 -25
  25. package/build/entities/models/companies/entities/companies/investor.schema.d.ts +0 -25
  26. package/build/entities/models/companies/entities/companies/manufacturer.schema.d.ts +0 -25
  27. package/build/entities/models/companies/entities/companies/preference.schema.d.ts +0 -25
  28. package/build/entities/models/companies/entities/companies/sector.schema.d.ts +0 -25
  29. package/build/entities/models/companies/entities/companies/status-detail.schema.d.ts +0 -25
  30. package/build/entities/models/companies/entities/contacts/activity-log.schema.d.ts +0 -25
  31. package/build/entities/models/companies/entities/contacts/company-status-detail.schema.d.ts +0 -25
  32. package/build/entities/models/companies/entities/contacts/contact-detail.schema.d.ts +0 -25
  33. package/build/entities/models/companies/entities/contacts/contact.entity.d.ts +0 -25
  34. package/build/entities/models/companies/entities/contacts/device-notification.schema.d.ts +0 -25
  35. package/build/entities/models/companies/entities/contacts/location.schema.d.ts +0 -25
  36. package/build/entities/models/companies/entities/contacts/web-notification-key.schema.d.ts +0 -25
  37. package/build/entities/models/companies/entities/contacts/web-notification.schema.d.ts +0 -25
  38. package/build/entities/models/companies/entities/countries/country.schema.d.ts +0 -25
  39. package/build/entities/models/companies/entities/itps/itp.entity.d.ts +0 -25
  40. package/build/entities/models/events/entities/event/event.entity.d.ts +0 -25
  41. package/build/entities/models/events/entities/event/sponsor.schema.d.ts +0 -25
  42. package/build/entities/models/events/entities/eventProfile/company-profile-item.entity.d.ts +0 -25
  43. package/build/entities/models/events/entities/eventProfile/event-profile.entity.d.ts +0 -25
  44. package/build/entities/models/events/entities/eventType/event-type.entity.d.ts +0 -25
  45. package/build/entities/models/events/entities/timestamp.entity.d.ts +0 -25
  46. package/build/entities/models/events/events.provider.d.ts +0 -26
  47. package/build/entities/models/meetings/entities/meetingRequests/meeting-request.entity.d.ts +0 -25
  48. package/build/entities/models/meetings/entities/meetingRequests/rejected-contact.entity.d.ts +0 -25
  49. package/build/entities/models/meetings/entities/meetings/meeting.entity.d.ts +0 -25
  50. package/build/entities/models/meetings/entities/userAvailabilities/user-availability-timeslot.entity.d.ts +0 -25
  51. package/build/entities/models/meetings/entities/userAvailabilities/user-availability.entity.d.ts +0 -25
  52. package/build/entities/models/meetings/meetings.provider.d.ts +0 -26
  53. package/build/entities/models/model.providers.d.ts +0 -26
  54. package/build/entities/models/subscriptions/entities/companySubscriptions/company-subscription-user.entity.d.ts +0 -25
  55. package/build/entities/models/subscriptions/entities/companySubscriptions/company-subscription.entity.d.ts +0 -25
  56. package/build/entities/models/subscriptions/entities/eventSubscriptions/event-subscription.entity.d.ts +0 -25
  57. package/build/entities/models/subscriptions/entities/features/endpoint.entity.d.ts +0 -25
  58. package/build/entities/models/subscriptions/entities/features/feature.entity.d.ts +0 -25
  59. package/build/entities/models/subscriptions/entities/managedServiceSubscriptions/managed-service-subscription-user.entity.d.ts +0 -25
  60. package/build/entities/models/subscriptions/entities/managedServiceSubscriptions/managed-service-subscription.entity.d.ts +0 -25
  61. package/build/entities/models/subscriptions/entities/subscription/subscription-price.entity.d.ts +0 -25
  62. package/build/entities/models/subscriptions/entities/subscription/subscription.entity.d.ts +0 -25
  63. package/build/entities/models/subscriptions/entities/subscription/user-settin-option.entity.d.ts +0 -25
  64. package/build/entities/models/subscriptions/entities/subscriptionLogs/subscription-log.entity.d.ts +0 -25
  65. package/build/entities/models/subscriptions/subscriptions.provider.d.ts +0 -26
  66. package/build/entities/models/users/entities/rolePermissions/permission.entity.d.ts +0 -25
  67. package/build/entities/models/users/entities/rolePermissions/role-permission.entity.d.ts +0 -25
  68. package/build/entities/models/users/entities/users/chat-info.entity.d.ts +0 -25
  69. package/build/entities/models/users/entities/users/event-info.entity.d.ts +0 -25
  70. package/build/entities/models/users/entities/users/user.entity.d.ts +0 -25
  71. package/build/entities/models/users/users.provider.d.ts +0 -26
  72. package/build/entities/mongoose.providers.d.ts +0 -25
  73. package/build/entities/services/generate-model.d.ts +0 -25
  74. package/build/entities/services/generate-model.js +1 -2
  75. package/build/entities/services/generate-model.js.map +1 -1
  76. package/build/entities/services/get-model-ref.d.ts +0 -25
  77. package/build/entities/services/get-model-ref.js +1 -2
  78. package/build/entities/services/get-model-ref.js.map +1 -1
  79. package/build/enums/data-source.enum.d.ts +2 -1
  80. package/build/enums/data-source.enum.js +1 -0
  81. package/build/enums/data-source.enum.js.map +1 -1
  82. package/build/interceptors/response-with-code.interceptor.js +2 -2
  83. package/build/interceptors/response-with-code.interceptor.js.map +1 -1
  84. package/build/interceptors/response.interceptor.js +2 -2
  85. package/build/interceptors/response.interceptor.js.map +1 -1
  86. package/build/interceptors/serialize.interceptor.js +2 -2
  87. package/build/interceptors/serialize.interceptor.js.map +1 -1
  88. package/build/middlewares/get-external-contacts.middleware.js +1 -2
  89. package/build/middlewares/get-external-contacts.middleware.js.map +1 -1
  90. package/build/middlewares/inject-filter-to-query-based-on-user-type.middleware.js +1 -2
  91. package/build/middlewares/inject-filter-to-query-based-on-user-type.middleware.js.map +1 -1
  92. package/build/middlewares/inject-subscription.middleware.js +1 -2
  93. package/build/middlewares/inject-subscription.middleware.js.map +1 -1
  94. package/build/middlewares/localize-contact.middleware.js +1 -2
  95. package/build/middlewares/localize-contact.middleware.js.map +1 -1
  96. package/build/tsconfig.tsbuildinfo +1 -1
  97. package/build/utils/addDaysToDate.js +1 -2
  98. package/build/utils/addDaysToDate.js.map +1 -1
  99. package/build/utils/addHours.js +1 -2
  100. package/build/utils/addHours.js.map +1 -1
  101. package/build/utils/build-unique-list.js +1 -2
  102. package/build/utils/build-unique-list.js.map +1 -1
  103. package/build/utils/equal-array-object.js +1 -2
  104. package/build/utils/equal-array-object.js.map +1 -1
  105. package/build/utils/equal-object.js +1 -2
  106. package/build/utils/equal-object.js.map +1 -1
  107. package/build/utils/get-entry-value.js +1 -2
  108. package/build/utils/get-entry-value.js.map +1 -1
  109. package/build/utils/get-parsed-query.js +1 -2
  110. package/build/utils/get-parsed-query.js.map +1 -1
  111. package/build/utils/get-presigned-url.js +1 -2
  112. package/build/utils/get-presigned-url.js.map +1 -1
  113. package/build/utils/getEndpoint.js +1 -2
  114. package/build/utils/getEndpoint.js.map +1 -1
  115. package/build/utils/getHeaderParam.js +1 -2
  116. package/build/utils/getHeaderParam.js.map +1 -1
  117. package/build/utils/is-objectId.js +1 -2
  118. package/build/utils/is-objectId.js.map +1 -1
  119. package/build/utils/is-valid-file.js +1 -2
  120. package/build/utils/is-valid-file.js.map +1 -1
  121. package/build/utils/is-valid-url.js +1 -2
  122. package/build/utils/is-valid-url.js.map +1 -1
  123. package/build/utils/makeHeaderUser.js +1 -2
  124. package/build/utils/makeHeaderUser.js.map +1 -1
  125. package/build/utils/normalizeWebsite.js +1 -2
  126. package/build/utils/normalizeWebsite.js.map +1 -1
  127. package/build/utils/parse-query.js +1 -2
  128. package/build/utils/parse-query.js.map +1 -1
  129. package/build/utils/projection.js +1 -2
  130. package/build/utils/projection.js.map +1 -1
  131. package/build/utils/rmq/client/rabbitmq.client.d.ts +0 -1
  132. package/build/utils/timezone.js +2 -3
  133. package/build/utils/timezone.js.map +1 -1
  134. package/build/utils/types.d.ts +2 -2
  135. package/build/utils/types.js +3 -4
  136. package/build/utils/types.js.map +1 -1
  137. package/build/validators/conditional-required.js +1 -2
  138. package/build/validators/conditional-required.js.map +1 -1
  139. package/build/validators/date-validator.js +1 -2
  140. package/build/validators/date-validator.js.map +1 -1
  141. package/build/validators/responses/error-with-code.js +1 -2
  142. package/build/validators/responses/error-with-code.js.map +1 -1
  143. package/build/validators/responses/error.js +1 -2
  144. package/build/validators/responses/error.js.map +1 -1
  145. package/build/validators/responses/success-with-code.js +1 -2
  146. package/build/validators/responses/success-with-code.js.map +1 -1
  147. package/build/validators/responses/success.js +1 -2
  148. package/build/validators/responses/success.js.map +1 -1
  149. package/build/validators/validateNewItem.js +1 -2
  150. package/build/validators/validateNewItem.js.map +1 -1
  151. package/build/validators/validateProjection.js +1 -2
  152. package/build/validators/validateProjection.js.map +1 -1
  153. package/build/validators/validateProjectionResult.js +1 -2
  154. package/build/validators/validateProjectionResult.js.map +1 -1
  155. package/build/validators/validateUpdateItem.js +1 -2
  156. package/build/validators/validateUpdateItem.js.map +1 -1
  157. package/package.json +46 -46
@@ -1,28 +1,3 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose/types/inferschematype" />
25
- /// <reference types="mongoose/types/inferrawdoctype" />
26
1
  import { Schema } from 'mongoose';
27
2
  import { CustomModel } from '../../../../../db/CustomModel';
28
3
  export type UserSetterOptionModel = CustomModel<UserSetterOption>;
@@ -1,28 +1,3 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose/types/inferschematype" />
25
- /// <reference types="mongoose/types/inferrawdoctype" />
26
1
  import { Connection } from 'mongoose';
27
2
  import { Company, Contact } from '../../../companies';
28
3
  import { CustomModel } from '../../../../../db/CustomModel';
@@ -1,29 +1,3 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose" />
25
- /// <reference types="mongoose/types/inferschematype" />
26
- /// <reference types="mongoose/types/inferrawdoctype" />
27
1
  import { DatabaseModel } from "../../../enums/database-model.enum";
28
2
  import { DatabaseConnection } from "../../../enums/database-connection.enum";
29
3
  import { CompanySubscription } from "./entities/companySubscriptions";
@@ -1,28 +1,3 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose/types/inferschematype" />
25
- /// <reference types="mongoose/types/inferrawdoctype" />
26
1
  import { Schema } from 'mongoose';
27
2
  import { CustomModel } from '../../../../../db/CustomModel';
28
3
  export type PermissionModel = CustomModel<Permission>;
@@ -1,28 +1,3 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose/types/inferschematype" />
25
- /// <reference types="mongoose/types/inferrawdoctype" />
26
1
  import { Connection } from 'mongoose';
27
2
  import { Permission } from './permission.entity';
28
3
  import { UserRole } from '../../../../../types/user-role.enum';
@@ -1,28 +1,3 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose/types/inferschematype" />
25
- /// <reference types="mongoose/types/inferrawdoctype" />
26
1
  import { Schema, Document } from 'mongoose';
27
2
  import { CustomModel } from '../../../../../db/CustomModel';
28
3
  export type ChatInfoModel = CustomModel<ChatInfo>;
@@ -1,28 +1,3 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose/types/inferschematype" />
25
- /// <reference types="mongoose/types/inferrawdoctype" />
26
1
  import { Contact, Company } from '../../../companies';
27
2
  import { OnboardedThru } from '../../../../../types/onboarded-thru.enum';
28
3
  import { RolePermission } from '../rolePermissions/role-permission.entity';
@@ -1,28 +1,3 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose/types/inferschematype" />
25
- /// <reference types="mongoose/types/inferrawdoctype" />
26
1
  import { Connection } from 'mongoose';
27
2
  import { ChatPreferences } from '../../../../../enums/chat-preferences-enum';
28
3
  import { UserLanguage } from '../../../../../types/user-language.enum';
@@ -1,29 +1,3 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose" />
25
- /// <reference types="mongoose/types/inferschematype" />
26
- /// <reference types="mongoose/types/inferrawdoctype" />
27
1
  import { DatabaseModel } from '../../../enums/database-model.enum';
28
2
  import { DatabaseConnection } from '../../../enums/database-connection.enum';
29
3
  import { User } from './entities/users';
@@ -1,28 +1,3 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose/types/inferschematype" />
25
- /// <reference types="mongoose/types/inferrawdoctype" />
26
1
  import { Connection } from 'mongoose';
27
2
  import { DatabaseConnection } from '../enums/database-connection.enum';
28
3
  export declare const mongooseProviders: {
@@ -1,27 +1,2 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose/types/inferschematype" />
25
- /// <reference types="mongoose/types/inferrawdoctype" />
26
1
  import { Connection, Schema, Model } from 'mongoose';
27
2
  export declare function generateModel<T, M>(name: string, connection: Connection, schema: Schema<T, M>): Model<T>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.generateModel = void 0;
3
+ exports.generateModel = generateModel;
4
4
  function generateModel(name, connection, schema) {
5
5
  let model = connection.models[name];
6
6
  if (model) {
@@ -11,5 +11,4 @@ function generateModel(name, connection, schema) {
11
11
  }
12
12
  return model;
13
13
  }
14
- exports.generateModel = generateModel;
15
14
  //# sourceMappingURL=generate-model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate-model.js","sourceRoot":"","sources":["../../../src/entities/services/generate-model.ts"],"names":[],"mappings":";;;AAEA,SAAgB,aAAa,CAC3B,IAAY,EACZ,UAAsB,EACtB,MAAoB;IAEpB,IAAI,KAAK,GAAa,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IAC7C,IAAI,KAAK,EAAE,CAAC;QACV,KAAK,GAAG,UAAU,CAAC,KAAK,CAAI,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,CAAA;IAC5E,CAAC;SAAM,CAAC;QACN,KAAK,GAAG,UAAU,CAAC,KAAK,CAAI,IAAI,EAAE,MAAM,CAAC,CAAA;IAC3C,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC;AAZD,sCAYC"}
1
+ {"version":3,"file":"generate-model.js","sourceRoot":"","sources":["../../../src/entities/services/generate-model.ts"],"names":[],"mappings":";;AAEA,sCAYC;AAZD,SAAgB,aAAa,CAC3B,IAAY,EACZ,UAAsB,EACtB,MAAoB;IAEpB,IAAI,KAAK,GAAa,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IAC7C,IAAI,KAAK,EAAE,CAAC;QACV,KAAK,GAAG,UAAU,CAAC,KAAK,CAAI,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,CAAA;IAC5E,CAAC;SAAM,CAAC;QACN,KAAK,GAAG,UAAU,CAAC,KAAK,CAAI,IAAI,EAAE,MAAM,CAAC,CAAA;IAC3C,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC"}
@@ -1,27 +1,2 @@
1
- /// <reference types="mongoose/types/aggregate" />
2
- /// <reference types="mongoose/types/callback" />
3
- /// <reference types="mongoose/types/collection" />
4
- /// <reference types="mongoose/types/connection" />
5
- /// <reference types="mongoose/types/cursor" />
6
- /// <reference types="mongoose/types/document" />
7
- /// <reference types="mongoose/types/error" />
8
- /// <reference types="mongoose/types/expressions" />
9
- /// <reference types="mongoose/types/helpers" />
10
- /// <reference types="mongoose/types/middlewares" />
11
- /// <reference types="mongoose/types/indexes" />
12
- /// <reference types="mongoose/types/models" />
13
- /// <reference types="mongoose/types/mongooseoptions" />
14
- /// <reference types="mongoose/types/pipelinestage" />
15
- /// <reference types="mongoose/types/populate" />
16
- /// <reference types="mongoose/types/query" />
17
- /// <reference types="mongoose/types/schemaoptions" />
18
- /// <reference types="mongoose/types/schematypes" />
19
- /// <reference types="mongoose/types/session" />
20
- /// <reference types="mongoose/types/types" />
21
- /// <reference types="mongoose/types/utility" />
22
- /// <reference types="mongoose/types/validation" />
23
- /// <reference types="mongoose/types/virtuals" />
24
- /// <reference types="mongoose/types/inferschematype" />
25
- /// <reference types="mongoose/types/inferrawdoctype" />
26
1
  import { Connection, Model } from 'mongoose';
27
2
  export declare function getModelRef<T, M>(ref: string, connection: Connection): Model<T>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getModelRef = void 0;
3
+ exports.getModelRef = getModelRef;
4
4
  const mongoose_1 = require("mongoose");
5
5
  function getModelRef(ref, connection) {
6
6
  const refModel = connection.models[ref];
@@ -11,5 +11,4 @@ function getModelRef(ref, connection) {
11
11
  return connection.model(ref, new mongoose_1.Schema({}));
12
12
  }
13
13
  }
14
- exports.getModelRef = getModelRef;
15
14
  //# sourceMappingURL=get-model-ref.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-model-ref.js","sourceRoot":"","sources":["../../../src/entities/services/get-model-ref.ts"],"names":[],"mappings":";;;AAAA,uCAAoD;AAEpD,SAAgB,WAAW,CACzB,GAAW,EACX,UAAsB;IAEtB,MAAM,QAAQ,GAAa,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACjD,IAAI,QAAQ,EAAE,CAAC;QACb,OAAO,QAAQ,CAAA;IACjB,CAAC;SAAM,CAAC;QACN,OAAO,UAAU,CAAC,KAAK,CAAI,GAAG,EAAE,IAAI,iBAAM,CAAO,EAAE,CAAC,CAAC,CAAA;IACvD,CAAC;AACH,CAAC;AAVD,kCAUC"}
1
+ {"version":3,"file":"get-model-ref.js","sourceRoot":"","sources":["../../../src/entities/services/get-model-ref.ts"],"names":[],"mappings":";;AAEA,kCAUC;AAZD,uCAAoD;AAEpD,SAAgB,WAAW,CACzB,GAAW,EACX,UAAsB;IAEtB,MAAM,QAAQ,GAAa,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACjD,IAAI,QAAQ,EAAE,CAAC;QACb,OAAO,QAAQ,CAAA;IACjB,CAAC;SAAM,CAAC;QACN,OAAO,UAAU,CAAC,KAAK,CAAI,GAAG,EAAE,IAAI,iBAAM,CAAO,EAAE,CAAC,CAAC,CAAA;IACvD,CAAC;AACH,CAAC"}
@@ -1,5 +1,6 @@
1
1
  export declare enum DataSourceEnum {
2
2
  ALADDINB2B = "AladdinB2B",
3
3
  SALUTARY = "Salutary",
4
- CLIENT_API = "Client API"
4
+ CLIENT_API = "Client API",
5
+ USA_DATA_HUB = "UsaDataHub"
5
6
  }
@@ -6,5 +6,6 @@ var DataSourceEnum;
6
6
  DataSourceEnum["ALADDINB2B"] = "AladdinB2B";
7
7
  DataSourceEnum["SALUTARY"] = "Salutary";
8
8
  DataSourceEnum["CLIENT_API"] = "Client API";
9
+ DataSourceEnum["USA_DATA_HUB"] = "UsaDataHub";
9
10
  })(DataSourceEnum || (exports.DataSourceEnum = DataSourceEnum = {}));
10
11
  //# sourceMappingURL=data-source.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-source.enum.js","sourceRoot":"","sources":["../../src/enums/data-source.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,2CAAyB,CAAA;IACzB,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;AAC3B,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB"}
1
+ {"version":3,"file":"data-source.enum.js","sourceRoot":"","sources":["../../src/enums/data-source.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,2CAAyB,CAAA;IACzB,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;IACzB,6CAA2B,CAAA;AAC7B,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResponseWithCodeInterceptor = exports.SerializeResponseWithCode = void 0;
3
+ exports.ResponseWithCodeInterceptor = void 0;
4
+ exports.SerializeResponseWithCode = SerializeResponseWithCode;
4
5
  const common_1 = require("@nestjs/common");
5
6
  const rxjs_1 = require("rxjs");
6
7
  const operators_1 = require("rxjs/operators");
@@ -9,7 +10,6 @@ const error_with_code_1 = require("../validators/responses/error-with-code");
9
10
  function SerializeResponseWithCode() {
10
11
  return (0, common_1.UseInterceptors)(new ResponseWithCodeInterceptor());
11
12
  }
12
- exports.SerializeResponseWithCode = SerializeResponseWithCode;
13
13
  class ResponseWithCodeInterceptor {
14
14
  intercept(context, handler) {
15
15
  return handler.handle().pipe((0, operators_1.catchError)((err) => {
@@ -1 +1 @@
1
- {"version":3,"file":"response-with-code.interceptor.js","sourceRoot":"","sources":["../../src/interceptors/response-with-code.interceptor.ts"],"names":[],"mappings":";;;AAAA,2CAMwB;AACxB,+BAA8C;AAC9C,8CAAiD;AACjD,iFAA4E;AAC5E,6EAAwE;AAExE,SAAgB,yBAAyB;IACvC,OAAO,IAAA,wBAAe,EAAC,IAAI,2BAA2B,EAAE,CAAC,CAAC;AAC5D,CAAC;AAFD,8DAEC;AAED,MAAa,2BAA2B;IACtC,SAAS,CAAC,OAAyB,EAAE,OAAoB;QACvD,OAAO,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,CAC1B,IAAA,sBAAU,EAAC,CAAC,GAAG,EAAE,EAAE;YACjB,MAAM,QAAQ,GAAG,IAAA,+BAAa,EAAC,GAAG,CAAC,CAAC;YACpC,GAAG;gBACD,QAAQ,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM;oBAC5B,CAAC,CAAC,IAAI,4BAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC;oBACzC,CAAC,CAAC,GAAG,CAAC;YACV,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAC;YACxB,GAAG,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;YACrC,OAAO,IAAA,iBAAU,EAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;QAC/B,CAAC,CAAC,EACF,IAAA,eAAG,EAAC,CAAC,IAAS,EAAE,EAAE;YAChB,OAAO,IAAA,mCAAe,EAAC,IAAI,CAAC,CAAC;QAC/B,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;CACF;AAlBD,kEAkBC"}
1
+ {"version":3,"file":"response-with-code.interceptor.js","sourceRoot":"","sources":["../../src/interceptors/response-with-code.interceptor.ts"],"names":[],"mappings":";;;AAYA,8DAEC;AAdD,2CAMwB;AACxB,+BAA8C;AAC9C,8CAAiD;AACjD,iFAA4E;AAC5E,6EAAwE;AAExE,SAAgB,yBAAyB;IACvC,OAAO,IAAA,wBAAe,EAAC,IAAI,2BAA2B,EAAE,CAAC,CAAC;AAC5D,CAAC;AAED,MAAa,2BAA2B;IACtC,SAAS,CAAC,OAAyB,EAAE,OAAoB;QACvD,OAAO,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,CAC1B,IAAA,sBAAU,EAAC,CAAC,GAAG,EAAE,EAAE;YACjB,MAAM,QAAQ,GAAG,IAAA,+BAAa,EAAC,GAAG,CAAC,CAAC;YACpC,GAAG;gBACD,QAAQ,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM;oBAC5B,CAAC,CAAC,IAAI,4BAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC;oBACzC,CAAC,CAAC,GAAG,CAAC;YACV,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAC;YACxB,GAAG,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;YACrC,OAAO,IAAA,iBAAU,EAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;QAC/B,CAAC,CAAC,EACF,IAAA,eAAG,EAAC,CAAC,IAAS,EAAE,EAAE;YAChB,OAAO,IAAA,mCAAe,EAAC,IAAI,CAAC,CAAC;QAC/B,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;CACF;AAlBD,kEAkBC"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResponseInterceptor = exports.SerializeResponse = void 0;
3
+ exports.ResponseInterceptor = void 0;
4
+ exports.SerializeResponse = SerializeResponse;
4
5
  const common_1 = require("@nestjs/common");
5
6
  const rxjs_1 = require("rxjs");
6
7
  const operators_1 = require("rxjs/operators");
@@ -9,7 +10,6 @@ const error_1 = require("../validators/responses/error");
9
10
  function SerializeResponse() {
10
11
  return (0, common_1.UseInterceptors)(new ResponseInterceptor());
11
12
  }
12
- exports.SerializeResponse = SerializeResponse;
13
13
  class ResponseInterceptor {
14
14
  intercept(context, handler) {
15
15
  return handler.handle().pipe((0, operators_1.catchError)((err) => {
@@ -1 +1 @@
1
- {"version":3,"file":"response.interceptor.js","sourceRoot":"","sources":["../../src/interceptors/response.interceptor.ts"],"names":[],"mappings":";;;AAAA,2CAMwB;AACxB,+BAA8C;AAC9C,8CAAiD;AACjD,6DAA0D;AAC1D,yDAAsD;AAEtD,SAAgB,iBAAiB;IAC/B,OAAO,IAAA,wBAAe,EAAC,IAAI,mBAAmB,EAAE,CAAC,CAAC;AACpD,CAAC;AAFD,8CAEC;AAED,MAAa,mBAAmB;IAC9B,SAAS,CAAC,OAAyB,EAAE,OAAoB;QACvD,OAAO,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,CAC1B,IAAA,sBAAU,EAAC,CAAC,GAAG,EAAE,EAAE;YACjB,MAAM,QAAQ,GAAG,IAAA,aAAK,EAAC,GAAG,CAAC,CAAC;YAC5B,GAAG;gBACD,QAAQ,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM;oBAC5B,CAAC,CAAC,IAAI,4BAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC;oBACzC,CAAC,CAAC,GAAG,CAAC;YACV,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAA;YACvB,OAAO,IAAA,iBAAU,EAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;QAC/B,CAAC,CAAC,EACF,IAAA,eAAG,EAAC,CAAC,IAAS,EAAE,EAAE;YAChB,OAAO,IAAA,iBAAO,EAAC,IAAI,CAAC,CAAC;QACvB,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;CACF;AAjBD,kDAiBC"}
1
+ {"version":3,"file":"response.interceptor.js","sourceRoot":"","sources":["../../src/interceptors/response.interceptor.ts"],"names":[],"mappings":";;;AAYA,8CAEC;AAdD,2CAMwB;AACxB,+BAA8C;AAC9C,8CAAiD;AACjD,6DAA0D;AAC1D,yDAAsD;AAEtD,SAAgB,iBAAiB;IAC/B,OAAO,IAAA,wBAAe,EAAC,IAAI,mBAAmB,EAAE,CAAC,CAAC;AACpD,CAAC;AAED,MAAa,mBAAmB;IAC9B,SAAS,CAAC,OAAyB,EAAE,OAAoB;QACvD,OAAO,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,CAC1B,IAAA,sBAAU,EAAC,CAAC,GAAG,EAAE,EAAE;YACjB,MAAM,QAAQ,GAAG,IAAA,aAAK,EAAC,GAAG,CAAC,CAAC;YAC5B,GAAG;gBACD,QAAQ,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM;oBAC5B,CAAC,CAAC,IAAI,4BAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC;oBACzC,CAAC,CAAC,GAAG,CAAC;YACV,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAA;YACvB,OAAO,IAAA,iBAAU,EAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;QAC/B,CAAC,CAAC,EACF,IAAA,eAAG,EAAC,CAAC,IAAS,EAAE,EAAE;YAChB,OAAO,IAAA,iBAAO,EAAC,IAAI,CAAC,CAAC;QACvB,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;CACF;AAjBD,kDAiBC"}
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SerializeInterceptor = exports.Serialize = void 0;
3
+ exports.SerializeInterceptor = void 0;
4
+ exports.Serialize = Serialize;
4
5
  const common_1 = require("@nestjs/common");
5
6
  const operators_1 = require("rxjs/operators");
6
7
  const class_transformer_1 = require("class-transformer");
7
8
  function Serialize(dto) {
8
9
  return (0, common_1.UseInterceptors)(new SerializeInterceptor(dto));
9
10
  }
10
- exports.Serialize = Serialize;
11
11
  class SerializeInterceptor {
12
12
  constructor(dto) {
13
13
  this.dto = dto;
@@ -1 +1 @@
1
- {"version":3,"file":"serialize.interceptor.js","sourceRoot":"","sources":["../../src/interceptors/serialize.interceptor.ts"],"names":[],"mappings":";;;AAAA,2CAKwB;AAExB,8CAAqC;AACrC,yDAAiD;AAMjD,SAAgB,SAAS,CAAC,GAAqB;IAC7C,OAAO,IAAA,wBAAe,EAAC,IAAI,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC;AACxD,CAAC;AAFD,8BAEC;AAED,MAAa,oBAAoB;IAC/B,YAAoB,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;IAAG,CAAC;IAEhC,SAAS,CAAC,OAAyB,EAAE,OAAoB;QACvD,OAAO,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,CAC1B,IAAA,eAAG,EAAC,CAAC,IAAS,EAAE,EAAE;YAChB,MAAM,eAAe,GACnB,IAAI,EAAE,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;YAC7D,OAAO,IAAA,gCAAY,EAAC,IAAI,CAAC,GAAG,EAAE,eAAe,EAAE;gBAC7C,uBAAuB,EAAE,IAAI;aAC9B,CAAC,CAAC;QACL,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;CACF;AAdD,oDAcC"}
1
+ {"version":3,"file":"serialize.interceptor.js","sourceRoot":"","sources":["../../src/interceptors/serialize.interceptor.ts"],"names":[],"mappings":";;;AAcA,8BAEC;AAhBD,2CAKwB;AAExB,8CAAqC;AACrC,yDAAiD;AAMjD,SAAgB,SAAS,CAAC,GAAqB;IAC7C,OAAO,IAAA,wBAAe,EAAC,IAAI,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC;AACxD,CAAC;AAED,MAAa,oBAAoB;IAC/B,YAAoB,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;IAAG,CAAC;IAEhC,SAAS,CAAC,OAAyB,EAAE,OAAoB;QACvD,OAAO,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,CAC1B,IAAA,eAAG,EAAC,CAAC,IAAS,EAAE,EAAE;YAChB,MAAM,eAAe,GACnB,IAAI,EAAE,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;YAC7D,OAAO,IAAA,gCAAY,EAAC,IAAI,CAAC,GAAG,EAAE,eAAe,EAAE;gBAC7C,uBAAuB,EAAE,IAAI;aAC9B,CAAC,CAAC;QACL,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;CACF;AAdD,oDAcC"}
@@ -12,7 +12,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
12
  return function (target, key) { decorator(target, key, paramIndex); }
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.createGetExternalContactInfoMiddleware = void 0;
15
+ exports.createGetExternalContactInfoMiddleware = createGetExternalContactInfoMiddleware;
16
16
  const common_1 = require("@nestjs/common");
17
17
  const subjects_1 = require("../events/subjects");
18
18
  const microservices_1 = require("@nestjs/microservices");
@@ -65,5 +65,4 @@ function createGetExternalContactInfoMiddleware(option = defaultOption) {
65
65
  ], GetExteralContactInfoMiddleware);
66
66
  return GetExteralContactInfoMiddleware;
67
67
  }
68
- exports.createGetExternalContactInfoMiddleware = createGetExternalContactInfoMiddleware;
69
68
  //# sourceMappingURL=get-external-contacts.middleware.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-external-contacts.middleware.js","sourceRoot":"","sources":["../../src/middlewares/get-external-contacts.middleware.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAMwB;AAGxB,iDAA8C;AAC9C,yDAAoD;AACpD,+BAAsC;AAStC,MAAM,eAAe,GAAa,CAAC,GAAY,EAAE,EAAE;IACjD,OAAO,CACL,GAAG,CAAC,IAAI,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC,eAAoB,EAAE,EAAE,CAAC,CAAC;QACxD,EAAE,EAAE,eAAe,CAAC,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C,CACH,CAAC;oBAEF,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;wBACzC,GAAG,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;;wBACpC,GAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBAC5C,CAAC;gBAED,IAAI,EAAE,CAAC;YACT,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,IAAI,CAAC,KAAK,CAAC,CAAC;YACd,CAAC;QACH,CAAC;KACF,CAAA;IAhCK,+BAA+B;QADpC,IAAA,mBAAU,GAAE;QAIE,WAAA,IAAA,eAAM,EAAC,2BAA2B,CAAC,CAAA;yCAAgB,2BAAW;OAHvE,+BAA+B,CAgCpC;IAED,OAAO,+BAA+B,CAAC;AACzC,CAAC;AAvCD,wFAuCC"}
1
+ {"version":3,"file":"get-external-contacts.middleware.js","sourceRoot":"","sources":["../../src/middlewares/get-external-contacts.middleware.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAuCA,wFAuCC;AA9ED,2CAMwB;AAGxB,iDAA8C;AAC9C,yDAAoD;AACpD,+BAAsC;AAStC,MAAM,eAAe,GAAa,CAAC,GAAY,EAAE,EAAE;IACjD,OAAO,CACL,GAAG,CAAC,IAAI,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC,eAAoB,EAAE,EAAE,CAAC,CAAC;QACxD,EAAE,EAAE,eAAe,CAAC,EAAE;QACtB,UAAU,EAAE,eAAe,CAAC,UAA4B;KACzD,CAAC,CAAC,IAAK,EAA6B,CACtC,CAAC;AACJ,CAAC,CAAC;AAOF,MAAM,aAAa,GAA2C;IAC5D,QAAQ,EAAE,eAAe;IACzB,QAAQ,EAAE,KAAK;CAChB,CAAA;AAED,SAAgB,sCAAsC,CAAC,SAAiD,aAAa;;IACnH,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,aAAa,EAAE,GA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AC,KAAK,CAAC,CAAC;YACd,CAAC;QACH,CAAC;KACF,CAAA;IAhCK,+BAA+B;QADpC,IAAA,mBAAU,GAAE;QAIE,WAAA,IAAA,eAAM,EAAC,2BAA2B,CAAC,CAAA;yCAAgB,2BAAW;OAHvE,+BAA+B,CAgCpC;IAED,OAAO,+BAA+B,CAAC;AACzC,CAAC"}
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.InjectFilterToQueryBasedOnUserTypeMiddleware = void 0;
9
+ exports.InjectFilterToQueryBasedOnUserTypeMiddleware = InjectFilterToQueryBasedOnUserTypeMiddleware;
10
10
  const common_1 = require("@nestjs/common");
11
11
  const get_parsed_query_1 = require("../utils/get-parsed-query");
12
12
  const getHeaderParam_1 = require("../utils/getHeaderParam");
@@ -63,5 +63,4 @@ function InjectFilterToQueryBasedOnUserTypeMiddleware(name, value, userType, que
63
63
  ], InjectFilterToQueryBasedOnUserType);
64
64
  return InjectFilterToQueryBasedOnUserType;
65
65
  }
66
- exports.InjectFilterToQueryBasedOnUserTypeMiddleware = InjectFilterToQueryBasedOnUserTypeMiddleware;
67
66
  //# sourceMappingURL=inject-filter-to-query-based-on-user-type.middleware.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"inject-filter-to-query-based-on-user-type.middleware.js","sourceRoot":"","sources":["../../src/middlewares/inject-filter-to-query-based-on-user-type.middleware.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA2D;AAE3D,gEAA0D;AAC1D,4DAAwD;AAExD,8DAAwD;AAExD,SAAgB,4CAA4C,CAC1D,IAAY,EACZ,KAAU,EACV,QAAkB,EAClB,gBAA+B,+BAAa,CAAC,KAAK;IAGlD,IAAM,kCAAkC,GAAxC,MAAM,kCAAkC;QACtC,KAAK,CAAC,GAAG,CACP,OAAgB,EAChB,QAAkB,EAClB,IAAk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,eAAe,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAA;gCACjD,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,eAAe,CAAA;4BACjD,CAAC;wBACH,CAAC;6BAAM,CAAC;4BACN,OAAO,CAAC,KAAK,GAAG;gCACd,YAAY,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;6BAC9C,CAAA;wBACH,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;YACD,IAAI,EAAE,CAAA;QACR,CAAC;KACF,CAAA;IA/CK,kCAAkC;QADvC,IAAA,mBAAU,GAAE;OACP,kCAAkC,CA+CvC;IACD,OAAO,kCAAkC,CAAA;AAC3C,CAAC;AAxDD,oGAwDC"}
1
+ {"version":3,"file":"inject-filter-to-query-based-on-user-type.middleware.js","sourceRoot":"","sources":["../../src/middlewares/inject-filter-to-query-based-on-user-type.middleware.ts"],"names":[],"mappings":";;;;;;;;AAOA,oGAwDC;AA/DD,2CAA2D;AAE3D,gEAA0D;AAC1D,4DAAwD;AAExD,8DAAwD;AAExD,SAAgB,4CAA4C,CAC1D,IAAY,EACZ,KAAU,EACV,QAAkB,EAClB,gBAA+B,+BAAa,CAAC,KAAK;IAGlD,IAAM,kCAAkC,GAAxC,MAAM,kCAAkC;QACtC,KAAK,CAAC,GAAG,CACP,OAAgB,EAChB,QAAkB,EAClB,IAAkB;YAElB,IAAI,OAAO,CAAC,MAAM,KAAK,KAAK,EAAE,CAAC;gBAC7B,MAAM,IAAI,GAAG,IAAA,+BAAc,EAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;gBACpD,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;oBACtB,IAAI,aAAa,KAAK,+BAAa,CAAC,KAAK,EAAE,CAAC;wBAC1C,IAAI,OAAO,CAAC,KAAK,EAAE,CA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,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;6BAC9C,CAAA;wBACH,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;YACD,IAAI,EAAE,CAAA;QACR,CAAC;KACF,CAAA;IA/CK,kCAAkC;QADvC,IAAA,mBAAU,GAAE;OACP,kCAAkC,CA+CvC;IACD,OAAO,kCAAkC,CAAA;AAC3C,CAAC"}
@@ -12,7 +12,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
12
  return function (target, key) { decorator(target, key, paramIndex); }
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.InjectSubscriptionLogMiddleware = void 0;
15
+ exports.InjectSubscriptionLogMiddleware = InjectSubscriptionLogMiddleware;
16
16
  const common_1 = require("@nestjs/common");
17
17
  const getHeaderParam_1 = require("../utils/getHeaderParam");
18
18
  const get_parsed_query_1 = require("../utils/get-parsed-query");
@@ -192,7 +192,6 @@ function InjectSubscriptionLogMiddleware(hasParamId = false) {
192
192
  ], SubscriptionLogMiddleware);
193
193
  return SubscriptionLogMiddleware;
194
194
  }
195
- exports.InjectSubscriptionLogMiddleware = InjectSubscriptionLogMiddleware;
196
195
  const validateSubscription = (features, remainingPoints, method, path) => {
197
196
  const { endpoint, feature, exceptionResp } = (0, getEndpoint_1.getEndpoint)(features, method, path);
198
197
  if (exceptionResp) {