@lyxa.ai/core 1.0.15 → 1.0.17

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 (290) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/dist/index.js +6 -7
  3. package/dist/index.js.map +1 -1
  4. package/dist/libraries/auth/index.d.ts +3 -3
  5. package/dist/libraries/auth/index.js +26 -26
  6. package/dist/libraries/auth/index.js.map +1 -1
  7. package/dist/libraries/auth/refreshtoken.d.ts +1 -1
  8. package/dist/libraries/auth/refreshtoken.js +6 -10
  9. package/dist/libraries/auth/refreshtoken.js.map +1 -1
  10. package/dist/libraries/auth/repository.d.ts +3 -3
  11. package/dist/libraries/auth/repository.js +1 -5
  12. package/dist/libraries/auth/repository.js.map +1 -1
  13. package/dist/libraries/configuration/index.d.ts +2 -2
  14. package/dist/libraries/configuration/index.js +20 -20
  15. package/dist/libraries/configuration/index.js.map +1 -1
  16. package/dist/libraries/configuration/types/EnvironmentConfigurationType.js.map +1 -1
  17. package/dist/libraries/dispatcher/index.d.ts +2 -2
  18. package/dist/libraries/dispatcher/index.js +2 -2
  19. package/dist/libraries/dispatcher/index.js.map +1 -1
  20. package/dist/libraries/event/BaseEvent.js.map +1 -1
  21. package/dist/libraries/event/decorators/metadata.d.ts +1 -1
  22. package/dist/libraries/event/decorators/metadata.js.map +1 -1
  23. package/dist/libraries/event/decorators/subscribe.js.map +1 -1
  24. package/dist/libraries/event/index.d.ts +1 -1
  25. package/dist/libraries/event/index.js +6 -6
  26. package/dist/libraries/event/index.js.map +1 -1
  27. package/dist/libraries/event/registry/SubscriptionRegistry.js.map +1 -1
  28. package/dist/libraries/event/test/OrderCreationEvent.d.ts +1 -1
  29. package/dist/libraries/event/test/OrderCreationEvent.js +9 -6
  30. package/dist/libraries/event/test/OrderCreationEvent.js.map +1 -1
  31. package/dist/libraries/firebase/index.d.ts +1 -1
  32. package/dist/libraries/firebase/index.js.map +1 -1
  33. package/dist/libraries/index.d.ts +9 -9
  34. package/dist/libraries/index.js +1 -1
  35. package/dist/libraries/index.js.map +1 -1
  36. package/dist/libraries/logger/index.d.ts +1 -1
  37. package/dist/libraries/logger/index.js +9 -9
  38. package/dist/libraries/logger/index.js.map +1 -1
  39. package/dist/libraries/mongo/index.d.ts +1 -1
  40. package/dist/libraries/mongo/index.js +11 -11
  41. package/dist/libraries/mongo/index.js.map +1 -1
  42. package/dist/libraries/mongo/models/activity-log.model.d.ts +1 -2
  43. package/dist/libraries/mongo/models/activity-log.model.js +1 -2
  44. package/dist/libraries/mongo/models/activity-log.model.js.map +1 -1
  45. package/dist/libraries/mongo/models/admin-access-control.model.d.ts +1 -2
  46. package/dist/libraries/mongo/models/admin-access-control.model.js +1 -2
  47. package/dist/libraries/mongo/models/admin-access-control.model.js.map +1 -1
  48. package/dist/libraries/mongo/models/admin.model.d.ts +3 -2
  49. package/dist/libraries/mongo/models/admin.model.js +20 -3
  50. package/dist/libraries/mongo/models/admin.model.js.map +1 -1
  51. package/dist/libraries/mongo/models/app-screen-setting.model.d.ts +0 -2
  52. package/dist/libraries/mongo/models/app-screen-setting.model.js +1 -2
  53. package/dist/libraries/mongo/models/app-screen-setting.model.js.map +1 -1
  54. package/dist/libraries/mongo/models/attribute.model.d.ts +1 -2
  55. package/dist/libraries/mongo/models/attribute.model.js +1 -2
  56. package/dist/libraries/mongo/models/attribute.model.js.map +1 -1
  57. package/dist/libraries/mongo/models/banner.model.d.ts +1 -2
  58. package/dist/libraries/mongo/models/banner.model.js +1 -2
  59. package/dist/libraries/mongo/models/banner.model.js.map +1 -1
  60. package/dist/libraries/mongo/models/base/base-coupon.model.js.map +1 -1
  61. package/dist/libraries/mongo/models/base/base-review.model.d.ts +1 -1
  62. package/dist/libraries/mongo/models/base/base-review.model.js +2 -2
  63. package/dist/libraries/mongo/models/base/base-review.model.js.map +1 -1
  64. package/dist/libraries/mongo/models/bob-finance.model.d.ts +2 -3
  65. package/dist/libraries/mongo/models/bob-finance.model.js +2 -3
  66. package/dist/libraries/mongo/models/bob-finance.model.js.map +1 -1
  67. package/dist/libraries/mongo/models/brand.model.d.ts +0 -2
  68. package/dist/libraries/mongo/models/brand.model.js +1 -2
  69. package/dist/libraries/mongo/models/brand.model.js.map +1 -1
  70. package/dist/libraries/mongo/models/category.model.d.ts +1 -2
  71. package/dist/libraries/mongo/models/category.model.js +1 -2
  72. package/dist/libraries/mongo/models/category.model.js.map +1 -1
  73. package/dist/libraries/mongo/models/core-auth-identity.model.js.map +1 -1
  74. package/dist/libraries/mongo/models/core-user.model.js.map +1 -1
  75. package/dist/libraries/mongo/models/counter.model.d.ts +0 -2
  76. package/dist/libraries/mongo/models/counter.model.js +1 -2
  77. package/dist/libraries/mongo/models/counter.model.js.map +1 -1
  78. package/dist/libraries/mongo/models/coupon.model.d.ts +0 -2
  79. package/dist/libraries/mongo/models/coupon.model.js +4 -3
  80. package/dist/libraries/mongo/models/coupon.model.js.map +1 -1
  81. package/dist/libraries/mongo/models/deal-setting.model.d.ts +0 -2
  82. package/dist/libraries/mongo/models/deal-setting.model.js +1 -2
  83. package/dist/libraries/mongo/models/deal-setting.model.js.map +1 -1
  84. package/dist/libraries/mongo/models/dish.model.d.ts +1 -2
  85. package/dist/libraries/mongo/models/dish.model.js +1 -2
  86. package/dist/libraries/mongo/models/dish.model.js.map +1 -1
  87. package/dist/libraries/mongo/models/embedded/attribute-item.model.js.map +1 -1
  88. package/dist/libraries/mongo/models/embedded/attribute-map.model.js.map +1 -1
  89. package/dist/libraries/mongo/models/embedded/business-development-setting.model.js.map +1 -1
  90. package/dist/libraries/mongo/models/embedded/charge-setting.model.js.map +1 -1
  91. package/dist/libraries/mongo/models/embedded/charge.model.js.map +1 -1
  92. package/dist/libraries/mongo/models/embedded/courier-setting.model.js.map +1 -1
  93. package/dist/libraries/mongo/models/embedded/currency-setting.model.js.map +1 -1
  94. package/dist/libraries/mongo/models/embedded/currency.model.js.map +1 -1
  95. package/dist/libraries/mongo/models/embedded/featured-item.mode.js.map +1 -1
  96. package/dist/libraries/mongo/models/embedded/otp-fields.model.js.map +1 -1
  97. package/dist/libraries/mongo/models/embedded/package.model.js.map +1 -1
  98. package/dist/libraries/mongo/models/embedded/parent-document.model.js.map +1 -1
  99. package/dist/libraries/mongo/models/embedded/payout-setting.model.js.map +1 -1
  100. package/dist/libraries/mongo/models/embedded/price.model.js.map +1 -1
  101. package/dist/libraries/mongo/models/embedded/product-nutrition.model.js.map +1 -1
  102. package/dist/libraries/mongo/models/embedded/referral-discount-config.model.js.map +1 -1
  103. package/dist/libraries/mongo/models/embedded/rider-setting.model.js.map +1 -1
  104. package/dist/libraries/mongo/models/embedded/service-fee-setting.model.js.map +1 -1
  105. package/dist/libraries/mongo/models/embedded/shop-document.model.js.map +1 -1
  106. package/dist/libraries/mongo/models/embedded/subscription-summary.model.js.map +1 -1
  107. package/dist/libraries/mongo/models/embedded/zone-geometry.mode.js.map +1 -1
  108. package/dist/libraries/mongo/models/faq.model.d.ts +0 -2
  109. package/dist/libraries/mongo/models/faq.model.js +1 -2
  110. package/dist/libraries/mongo/models/faq.model.js.map +1 -1
  111. package/dist/libraries/mongo/models/favourite.model.d.ts +3 -4
  112. package/dist/libraries/mongo/models/favourite.model.js +3 -4
  113. package/dist/libraries/mongo/models/favourite.model.js.map +1 -1
  114. package/dist/libraries/mongo/models/featured-setting.model.d.ts +0 -2
  115. package/dist/libraries/mongo/models/featured-setting.model.js +1 -2
  116. package/dist/libraries/mongo/models/featured-setting.model.js.map +1 -1
  117. package/dist/libraries/mongo/models/filter-container.model.d.ts +0 -1
  118. package/dist/libraries/mongo/models/filter-container.model.js +1 -2
  119. package/dist/libraries/mongo/models/filter-container.model.js.map +1 -1
  120. package/dist/libraries/mongo/models/index.d.ts +114 -7
  121. package/dist/libraries/mongo/models/index.js +118 -7
  122. package/dist/libraries/mongo/models/index.js.map +1 -1
  123. package/dist/libraries/mongo/models/list-container.model.d.ts +2 -3
  124. package/dist/libraries/mongo/models/list-container.model.js +2 -3
  125. package/dist/libraries/mongo/models/list-container.model.js.map +1 -1
  126. package/dist/libraries/mongo/models/loyalty-point-category.model.d.ts +0 -2
  127. package/dist/libraries/mongo/models/loyalty-point-category.model.js +1 -2
  128. package/dist/libraries/mongo/models/loyalty-point-category.model.js.map +1 -1
  129. package/dist/libraries/mongo/models/loyalty-point-setting.model.d.ts +0 -2
  130. package/dist/libraries/mongo/models/loyalty-point-setting.model.js +1 -2
  131. package/dist/libraries/mongo/models/loyalty-point-setting.model.js.map +1 -1
  132. package/dist/libraries/mongo/models/marketing.model.d.ts +2 -3
  133. package/dist/libraries/mongo/models/marketing.model.js +13 -5
  134. package/dist/libraries/mongo/models/marketing.model.js.map +1 -1
  135. package/dist/libraries/mongo/models/meal-plan.model.d.ts +0 -2
  136. package/dist/libraries/mongo/models/meal-plan.model.js +1 -2
  137. package/dist/libraries/mongo/models/meal-plan.model.js.map +1 -1
  138. package/dist/libraries/mongo/models/notification.model.d.ts +8 -9
  139. package/dist/libraries/mongo/models/notification.model.js +8 -9
  140. package/dist/libraries/mongo/models/notification.model.js.map +1 -1
  141. package/dist/libraries/mongo/models/nutrition.model.d.ts +0 -2
  142. package/dist/libraries/mongo/models/nutrition.model.js +1 -2
  143. package/dist/libraries/mongo/models/nutrition.model.js.map +1 -1
  144. package/dist/libraries/mongo/models/order.model.js.map +1 -1
  145. package/dist/libraries/mongo/models/parent.model.d.ts +3 -4
  146. package/dist/libraries/mongo/models/parent.model.js +8 -5
  147. package/dist/libraries/mongo/models/parent.model.js.map +1 -1
  148. package/dist/libraries/mongo/models/payout.model.js.map +1 -1
  149. package/dist/libraries/mongo/models/product-marketing.model.d.ts +3 -4
  150. package/dist/libraries/mongo/models/product-marketing.model.js +3 -4
  151. package/dist/libraries/mongo/models/product-marketing.model.js.map +1 -1
  152. package/dist/libraries/mongo/models/product.model.d.ts +1 -3
  153. package/dist/libraries/mongo/models/product.model.js +8 -4
  154. package/dist/libraries/mongo/models/product.model.js.map +1 -1
  155. package/dist/libraries/mongo/models/providers/buy1-get1-marketing.model.d.ts +1 -2
  156. package/dist/libraries/mongo/models/providers/buy1-get1-marketing.model.js +1 -2
  157. package/dist/libraries/mongo/models/providers/buy1-get1-marketing.model.js.map +1 -1
  158. package/dist/libraries/mongo/models/providers/core-apple-auth-identity.model.js.map +1 -1
  159. package/dist/libraries/mongo/models/providers/core-email-auth-identity.model.js.map +1 -1
  160. package/dist/libraries/mongo/models/providers/core-google-auth-identity.model.js.map +1 -1
  161. package/dist/libraries/mongo/models/providers/core-phone-auth-identity.model.js.map +1 -1
  162. package/dist/libraries/mongo/models/providers/custom-coupon.model.d.ts +1 -2
  163. package/dist/libraries/mongo/models/providers/custom-coupon.model.js +1 -3
  164. package/dist/libraries/mongo/models/providers/custom-coupon.model.js.map +1 -1
  165. package/dist/libraries/mongo/models/providers/discount-marketing.model.d.ts +1 -2
  166. package/dist/libraries/mongo/models/providers/discount-marketing.model.js +1 -2
  167. package/dist/libraries/mongo/models/providers/discount-marketing.model.js.map +1 -1
  168. package/dist/libraries/mongo/models/providers/featured-marketing.model.d.ts +0 -2
  169. package/dist/libraries/mongo/models/providers/featured-marketing.model.js +1 -2
  170. package/dist/libraries/mongo/models/providers/featured-marketing.model.js.map +1 -1
  171. package/dist/libraries/mongo/models/providers/free-delivery-marketing.model.d.ts +0 -2
  172. package/dist/libraries/mongo/models/providers/free-delivery-marketing.model.js +1 -2
  173. package/dist/libraries/mongo/models/providers/free-delivery-marketing.model.js.map +1 -1
  174. package/dist/libraries/mongo/models/providers/global-coupon.model.d.ts +0 -2
  175. package/dist/libraries/mongo/models/providers/global-coupon.model.js +1 -4
  176. package/dist/libraries/mongo/models/providers/global-coupon.model.js.map +1 -1
  177. package/dist/libraries/mongo/models/providers/individual-store-coupon.model.d.ts +1 -2
  178. package/dist/libraries/mongo/models/providers/individual-store-coupon.model.js +1 -3
  179. package/dist/libraries/mongo/models/providers/individual-store-coupon.model.js.map +1 -1
  180. package/dist/libraries/mongo/models/providers/individual-user-coupon.model.d.ts +1 -2
  181. package/dist/libraries/mongo/models/providers/individual-user-coupon.model.js +1 -3
  182. package/dist/libraries/mongo/models/providers/individual-user-coupon.model.js.map +1 -1
  183. package/dist/libraries/mongo/models/providers/loyalty-point-marketing.model.d.ts +1 -2
  184. package/dist/libraries/mongo/models/providers/loyalty-point-marketing.model.js +1 -2
  185. package/dist/libraries/mongo/models/providers/loyalty-point-marketing.model.js.map +1 -1
  186. package/dist/libraries/mongo/models/providers/punch-marketing.model.d.ts +0 -2
  187. package/dist/libraries/mongo/models/providers/punch-marketing.model.js +1 -2
  188. package/dist/libraries/mongo/models/providers/punch-marketing.model.js.map +1 -1
  189. package/dist/libraries/mongo/models/providers/referral-code-coupon.model.d.ts +1 -2
  190. package/dist/libraries/mongo/models/providers/referral-code-coupon.model.js +1 -2
  191. package/dist/libraries/mongo/models/providers/referral-code-coupon.model.js.map +1 -1
  192. package/dist/libraries/mongo/models/providers/referral-reward-coupon.model.d.ts +1 -2
  193. package/dist/libraries/mongo/models/providers/referral-reward-coupon.model.js +1 -3
  194. package/dist/libraries/mongo/models/providers/referral-reward-coupon.model.js.map +1 -1
  195. package/dist/libraries/mongo/models/punch-marketing-history.model.d.ts +1 -2
  196. package/dist/libraries/mongo/models/punch-marketing-history.model.js +1 -2
  197. package/dist/libraries/mongo/models/punch-marketing-history.model.js.map +1 -1
  198. package/dist/libraries/mongo/models/rating-setting.model.d.ts +0 -2
  199. package/dist/libraries/mongo/models/rating-setting.model.js +1 -2
  200. package/dist/libraries/mongo/models/rating-setting.model.js.map +1 -1
  201. package/dist/libraries/mongo/models/referral-setting.model.d.ts +0 -2
  202. package/dist/libraries/mongo/models/referral-setting.model.js +1 -2
  203. package/dist/libraries/mongo/models/referral-setting.model.js.map +1 -1
  204. package/dist/libraries/mongo/models/request-area.model.d.ts +1 -2
  205. package/dist/libraries/mongo/models/request-area.model.js +1 -2
  206. package/dist/libraries/mongo/models/request-area.model.js.map +1 -1
  207. package/dist/libraries/mongo/models/rider-review.model.d.ts +1 -2
  208. package/dist/libraries/mongo/models/rider-review.model.js +1 -2
  209. package/dist/libraries/mongo/models/rider-review.model.js.map +1 -1
  210. package/dist/libraries/mongo/models/rider.model.js.map +1 -1
  211. package/dist/libraries/mongo/models/role.model.d.ts +0 -2
  212. package/dist/libraries/mongo/models/role.model.js +1 -3
  213. package/dist/libraries/mongo/models/role.model.js.map +1 -1
  214. package/dist/libraries/mongo/models/setting.model.d.ts +6 -8
  215. package/dist/libraries/mongo/models/setting.model.js +7 -8
  216. package/dist/libraries/mongo/models/setting.model.js.map +1 -1
  217. package/dist/libraries/mongo/models/shared/address.model.d.ts +1 -1
  218. package/dist/libraries/mongo/models/shared/address.model.js.map +1 -1
  219. package/dist/libraries/mongo/models/shared/duration.model.js.map +1 -1
  220. package/dist/libraries/mongo/models/shared/work-hour.model.d.ts +1 -1
  221. package/dist/libraries/mongo/models/shared/work-hour.model.js +1 -1
  222. package/dist/libraries/mongo/models/shared/work-hour.model.js.map +1 -1
  223. package/dist/libraries/mongo/models/shop-access-control.model.d.ts +1 -2
  224. package/dist/libraries/mongo/models/shop-access-control.model.js +1 -2
  225. package/dist/libraries/mongo/models/shop-access-control.model.js.map +1 -1
  226. package/dist/libraries/mongo/models/shop-category.model.d.ts +2 -3
  227. package/dist/libraries/mongo/models/shop-category.model.js +2 -3
  228. package/dist/libraries/mongo/models/shop-category.model.js.map +1 -1
  229. package/dist/libraries/mongo/models/shop-meal-plan.model.d.ts +2 -3
  230. package/dist/libraries/mongo/models/shop-meal-plan.model.js +2 -3
  231. package/dist/libraries/mongo/models/shop-meal-plan.model.js.map +1 -1
  232. package/dist/libraries/mongo/models/shop-product.model.d.ts +4 -5
  233. package/dist/libraries/mongo/models/shop-product.model.js +4 -5
  234. package/dist/libraries/mongo/models/shop-product.model.js.map +1 -1
  235. package/dist/libraries/mongo/models/shop-review.model.d.ts +1 -2
  236. package/dist/libraries/mongo/models/shop-review.model.js +1 -2
  237. package/dist/libraries/mongo/models/shop-review.model.js.map +1 -1
  238. package/dist/libraries/mongo/models/shop.model.d.ts +3 -4
  239. package/dist/libraries/mongo/models/shop.model.js +12 -6
  240. package/dist/libraries/mongo/models/shop.model.js.map +1 -1
  241. package/dist/libraries/mongo/models/subscription-setting.model.d.ts +0 -2
  242. package/dist/libraries/mongo/models/subscription-setting.model.js +7 -3
  243. package/dist/libraries/mongo/models/subscription-setting.model.js.map +1 -1
  244. package/dist/libraries/mongo/models/subscription.model.d.ts +3 -4
  245. package/dist/libraries/mongo/models/subscription.model.js +13 -6
  246. package/dist/libraries/mongo/models/subscription.model.js.map +1 -1
  247. package/dist/libraries/mongo/models/tag.model.d.ts +0 -2
  248. package/dist/libraries/mongo/models/tag.model.js +1 -2
  249. package/dist/libraries/mongo/models/tag.model.js.map +1 -1
  250. package/dist/libraries/mongo/models/transaction.model.js.map +1 -1
  251. package/dist/libraries/mongo/models/zone.model.d.ts +0 -2
  252. package/dist/libraries/mongo/models/zone.model.js +1 -2
  253. package/dist/libraries/mongo/models/zone.model.js.map +1 -1
  254. package/dist/libraries/mongo/plugins/soft-delete-plugin.d.ts +8 -7
  255. package/dist/libraries/mongo/plugins/soft-delete-plugin.js +6 -6
  256. package/dist/libraries/mongo/plugins/soft-delete-plugin.js.map +1 -1
  257. package/dist/libraries/redis/index.d.ts +1 -1
  258. package/dist/libraries/redis/index.js +4 -1
  259. package/dist/libraries/redis/index.js.map +1 -1
  260. package/dist/libraries/secrets/index.d.ts +2 -2
  261. package/dist/libraries/secrets/index.js +13 -13
  262. package/dist/libraries/secrets/index.js.map +1 -1
  263. package/dist/libraries/trpc/context.d.ts +4 -4
  264. package/dist/libraries/trpc/context.js +1 -1
  265. package/dist/libraries/trpc/context.js.map +1 -1
  266. package/dist/libraries/trpc/index.js.map +1 -1
  267. package/dist/libraries/trpc/middlewares/auth.d.ts +1 -1
  268. package/dist/libraries/trpc/middlewares/auth.js +12 -13
  269. package/dist/libraries/trpc/middlewares/auth.js.map +1 -1
  270. package/dist/libraries/trpc/middlewares/cors.d.ts +12 -0
  271. package/dist/libraries/trpc/middlewares/cors.js +50 -0
  272. package/dist/libraries/trpc/middlewares/cors.js.map +1 -0
  273. package/dist/libraries/twilio/index.d.ts +1 -1
  274. package/dist/libraries/twilio/index.js +2 -3
  275. package/dist/libraries/twilio/index.js.map +1 -1
  276. package/dist/libraries/upload/index.js +3 -3
  277. package/dist/libraries/upload/index.js.map +1 -1
  278. package/dist/utilities/enum.js.map +1 -1
  279. package/dist/utilities/error-handler.js.map +1 -1
  280. package/dist/utilities/error-middleware.js.map +1 -1
  281. package/dist/utilities/pagination.d.ts +4 -4
  282. package/dist/utilities/pagination.js +3 -8
  283. package/dist/utilities/pagination.js.map +1 -1
  284. package/dist/utilities/transformers.d.ts +2 -2
  285. package/dist/utilities/transformers.js +6 -6
  286. package/dist/utilities/transformers.js.map +1 -1
  287. package/dist/utilities/validation/common-validation.js.map +1 -1
  288. package/dist/utilities/validation/global-validation.js.map +1 -1
  289. package/dist/utilities/validation/index.js.map +1 -1
  290. package/package.json +44 -41
@@ -1,66 +1,173 @@
1
+ import { ReturnModelType } from '@typegoose/typegoose';
2
+ import { Admin } from './admin.model';
3
+ import { AdminAccessControl } from './admin-access-control.model';
4
+ import { ActivityLog } from './activity-log.model';
5
+ import { AppScreenSetting } from './app-screen-setting.model';
6
+ import { Attribute } from './attribute.model';
7
+ import { Banner } from './banner.model';
8
+ import { BOBFinance } from './bob-finance.model';
9
+ import { Brand } from './brand.model';
10
+ import { Category } from './category.model';
11
+ import { Counter } from './counter.model';
12
+ import { Coupon } from './coupon.model';
13
+ import { DealSetting } from './deal-setting.model';
14
+ import { Dish } from './dish.model';
15
+ import { Faq } from './faq.model';
16
+ import { Favourite } from './favourite.model';
17
+ import { FeaturedSetting } from './featured-setting.model';
18
+ import { FilterContainer } from './filter-container.model';
19
+ import { ListContainer } from './list-container.model';
20
+ import { LoyaltyPointCategory } from './loyalty-point-category.model';
21
+ import { LoyaltyPointSetting } from './loyalty-point-setting.model';
22
+ import { Marketing } from './marketing.model';
23
+ import { MealPlan } from './meal-plan.model';
24
+ import { Nutrition } from './nutrition.model';
25
+ import { Parent } from './parent.model';
26
+ import { ProductMarketing } from './product-marketing.model';
27
+ import { Product } from './product.model';
28
+ import { PunchMarketingHistory } from './punch-marketing-history.model';
29
+ import { RatingSetting } from './rating-setting.model';
30
+ import { ReferralSetting } from './referral-setting.model';
31
+ import { RequestArea } from './request-area.model';
32
+ import { RiderReview } from './rider-review.model';
33
+ import { Role } from './role.model';
34
+ import { Setting } from './setting.model';
35
+ import { ShopAccessControl } from './shop-access-control.model';
36
+ import { ShopCategory } from './shop-category.model';
37
+ import { ShopMealPlan } from './shop-meal-plan.model';
38
+ import { ShopProduct } from './shop-product.model';
39
+ import { ShopReview } from './shop-review.model';
40
+ import { Shop } from './shop.model';
41
+ import { SubscriptionSetting } from './subscription-setting.model';
42
+ import { Subscription } from './subscription.model';
43
+ import { Tag } from './tag.model';
44
+ import { Zone } from './zone.model';
45
+ import { Buy1Get1Marketing } from './providers/buy1-get1-marketing.model';
46
+ import { CustomCoupon } from './providers/custom-coupon.model';
47
+ import { DiscountMarketing } from './providers/discount-marketing.model';
48
+ import { FeaturedMarketing } from './providers/featured-marketing.model';
49
+ import { FreeDeliveryMarketing } from './providers/free-delivery-marketing.model';
50
+ import { GlobalCoupon } from './providers/global-coupon.model';
51
+ import { IndividualStoreCoupon } from './providers/individual-store-coupon.model';
52
+ import { IndividualUserCoupon } from './providers/individual-user-coupon.model';
53
+ import { LoyaltyPointMarketing } from './providers/loyalty-point-marketing.model';
54
+ import { PunchMarketing } from './providers/punch-marketing.model';
55
+ import { ReferralCodeCoupon } from './providers/referral-code-coupon.model';
56
+ import { ReferralRewardCoupon } from './providers/referral-reward-coupon.model';
57
+ import { Notification } from './notification.model';
58
+ export declare const ActivityLogModel: ReturnModelType<typeof ActivityLog>;
1
59
  export * from './activity-log.model';
2
- export * from './admin-access-control.model';
60
+ export declare const AdminModel: ReturnModelType<typeof Admin>;
3
61
  export * from './admin.model';
62
+ export declare const AdminAccessControlModel: ReturnModelType<typeof AdminAccessControl>;
63
+ export * from './admin-access-control.model';
64
+ export declare const AppScreenSettingModel: ReturnModelType<typeof AppScreenSetting>;
4
65
  export * from './app-screen-setting.model';
66
+ export declare const AttributeModel: ReturnModelType<typeof Attribute>;
5
67
  export * from './attribute.model';
68
+ export declare const BannerModel: ReturnModelType<typeof Banner>;
6
69
  export * from './banner.model';
70
+ export declare const BOBFinanceModel: ReturnModelType<typeof BOBFinance>;
7
71
  export * from './bob-finance.model';
72
+ export declare const BrandModel: ReturnModelType<typeof Brand>;
8
73
  export * from './brand.model';
74
+ export declare const CategoryModel: ReturnModelType<typeof Category>;
9
75
  export * from './category.model';
10
- export * from './core-auth-identity.model';
11
- export * from './core-user.model';
76
+ export declare const CounterModel: ReturnModelType<typeof Counter>;
12
77
  export * from './counter.model';
78
+ export declare const CouponModel: ReturnModelType<typeof Coupon>;
13
79
  export * from './coupon.model';
80
+ export declare const DealSettingModel: ReturnModelType<typeof DealSetting>;
14
81
  export * from './deal-setting.model';
82
+ export declare const DishModel: ReturnModelType<typeof Dish>;
15
83
  export * from './dish.model';
84
+ export declare const FaqModel: ReturnModelType<typeof Faq>;
16
85
  export * from './faq.model';
86
+ export declare const FavouriteModel: ReturnModelType<typeof Favourite>;
17
87
  export * from './favourite.model';
88
+ export declare const FeaturedSettingModel: ReturnModelType<typeof FeaturedSetting>;
18
89
  export * from './featured-setting.model';
90
+ export declare const FilterContainerModel: ReturnModelType<typeof FilterContainer>;
19
91
  export * from './filter-container.model';
92
+ export declare const ListContainerModel: ReturnModelType<typeof ListContainer>;
20
93
  export * from './list-container.model';
94
+ export declare const LoyaltyPointCategoryModel: ReturnModelType<typeof LoyaltyPointCategory>;
21
95
  export * from './loyalty-point-category.model';
96
+ export declare const LoyaltyPointSettingModel: ReturnModelType<typeof LoyaltyPointSetting>;
22
97
  export * from './loyalty-point-setting.model';
98
+ export declare const MarketingModel: ReturnModelType<typeof Marketing>;
23
99
  export * from './marketing.model';
100
+ export declare const MealPlanModel: ReturnModelType<typeof MealPlan>;
24
101
  export * from './meal-plan.model';
102
+ export declare const NotificationModel: ReturnModelType<typeof Notification>;
25
103
  export * from './notification.model';
104
+ export declare const NutritionModel: ReturnModelType<typeof Nutrition>;
26
105
  export * from './nutrition.model';
27
106
  export * from './order.model';
107
+ export declare const ParentModel: ReturnModelType<typeof Parent>;
28
108
  export * from './parent.model';
29
109
  export * from './payout.model';
110
+ export declare const ProductMarketingModel: ReturnModelType<typeof ProductMarketing>;
30
111
  export * from './product-marketing.model';
112
+ export declare const ProductModel: ReturnModelType<typeof Product>;
31
113
  export * from './product.model';
114
+ export declare const PunchMarketingHistoryModel: ReturnModelType<typeof PunchMarketingHistory>;
32
115
  export * from './punch-marketing-history.model';
116
+ export declare const RatingSettingModel: ReturnModelType<typeof RatingSetting>;
33
117
  export * from './rating-setting.model';
118
+ export declare const ReferralSettingModel: ReturnModelType<typeof ReferralSetting>;
34
119
  export * from './referral-setting.model';
120
+ export declare const RequestAreaModel: ReturnModelType<typeof RequestArea>;
35
121
  export * from './request-area.model';
122
+ export declare const RiderReviewModel: ReturnModelType<typeof RiderReview>;
36
123
  export * from './rider-review.model';
37
124
  export * from './rider.model';
125
+ export declare const RoleModel: ReturnModelType<typeof Role>;
38
126
  export * from './role.model';
127
+ export declare const SettingModel: ReturnModelType<typeof Setting>;
39
128
  export * from './setting.model';
129
+ export declare const ShopAccessControlModel: ReturnModelType<typeof ShopAccessControl>;
40
130
  export * from './shop-access-control.model';
131
+ export declare const ShopCategoryModel: ReturnModelType<typeof ShopCategory>;
41
132
  export * from './shop-category.model';
133
+ export declare const ShopMealPlanModel: ReturnModelType<typeof ShopMealPlan>;
42
134
  export * from './shop-meal-plan.model';
135
+ export declare const ShopProductModel: ReturnModelType<typeof ShopProduct>;
43
136
  export * from './shop-product.model';
137
+ export declare const ShopReviewModel: ReturnModelType<typeof ShopReview>;
44
138
  export * from './shop-review.model';
139
+ export declare const ShopModel: ReturnModelType<typeof Shop>;
45
140
  export * from './shop.model';
141
+ export declare const SubscriptionSettingModel: ReturnModelType<typeof SubscriptionSetting>;
46
142
  export * from './subscription-setting.model';
143
+ export declare const SubscriptionModel: ReturnModelType<typeof Subscription>;
47
144
  export * from './subscription.model';
145
+ export declare const TagModel: ReturnModelType<typeof Tag>;
48
146
  export * from './tag.model';
49
147
  export * from './transaction.model';
148
+ export declare const ZoneModel: ReturnModelType<typeof Zone>;
50
149
  export * from './zone.model';
150
+ export declare const Buy1Get1MarketingModel: ReturnModelType<typeof Buy1Get1Marketing>;
51
151
  export * from './providers/buy1-get1-marketing.model';
52
- export * from './providers/core-apple-auth-identity.model';
53
- export * from './providers/core-email-auth-identity.model';
54
- export * from './providers/core-google-auth-identity.model';
55
- export * from './providers/core-phone-auth-identity.model';
152
+ export declare const CustomCouponModel: ReturnModelType<typeof CustomCoupon>;
56
153
  export * from './providers/custom-coupon.model';
154
+ export declare const DiscountMarketingModel: ReturnModelType<typeof DiscountMarketing>;
57
155
  export * from './providers/discount-marketing.model';
156
+ export declare const FeaturedMarketingModel: ReturnModelType<typeof FeaturedMarketing>;
58
157
  export * from './providers/featured-marketing.model';
158
+ export declare const FreeDeliveryMarketingModel: ReturnModelType<typeof FreeDeliveryMarketing>;
59
159
  export * from './providers/free-delivery-marketing.model';
160
+ export declare const GlobalCouponModel: ReturnModelType<typeof GlobalCoupon>;
60
161
  export * from './providers/global-coupon.model';
162
+ export declare const IndividualStoreCouponModel: ReturnModelType<typeof IndividualStoreCoupon>;
61
163
  export * from './providers/individual-store-coupon.model';
164
+ export declare const IndividualUserCouponModel: ReturnModelType<typeof IndividualUserCoupon>;
62
165
  export * from './providers/individual-user-coupon.model';
166
+ export declare const LoyaltyPointMarketingModel: ReturnModelType<typeof LoyaltyPointMarketing>;
63
167
  export * from './providers/loyalty-point-marketing.model';
168
+ export declare const PunchMarketingModel: ReturnModelType<typeof PunchMarketing>;
64
169
  export * from './providers/punch-marketing.model';
170
+ export declare const ReferralCodeCouponModel: ReturnModelType<typeof ReferralCodeCoupon>;
65
171
  export * from './providers/referral-code-coupon.model';
172
+ export declare const ReferralRewardCouponModel: ReturnModelType<typeof ReferralRewardCoupon>;
66
173
  export * from './providers/referral-reward-coupon.model';
@@ -14,70 +14,181 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.GlobalCouponModel = exports.FreeDeliveryMarketingModel = exports.FeaturedMarketingModel = exports.DiscountMarketingModel = exports.CustomCouponModel = exports.Buy1Get1MarketingModel = exports.ZoneModel = exports.TagModel = exports.SubscriptionModel = exports.SubscriptionSettingModel = exports.ShopModel = exports.ShopReviewModel = exports.ShopProductModel = exports.ShopMealPlanModel = exports.ShopCategoryModel = exports.ShopAccessControlModel = exports.SettingModel = exports.RoleModel = exports.RiderReviewModel = exports.RequestAreaModel = exports.ReferralSettingModel = exports.RatingSettingModel = exports.PunchMarketingHistoryModel = exports.ProductModel = exports.ProductMarketingModel = exports.ParentModel = exports.NutritionModel = exports.NotificationModel = exports.MealPlanModel = exports.MarketingModel = exports.LoyaltyPointSettingModel = exports.LoyaltyPointCategoryModel = exports.ListContainerModel = exports.FilterContainerModel = exports.FeaturedSettingModel = exports.FavouriteModel = exports.FaqModel = exports.DishModel = exports.DealSettingModel = exports.CouponModel = exports.CounterModel = exports.CategoryModel = exports.BrandModel = exports.BOBFinanceModel = exports.BannerModel = exports.AttributeModel = exports.AppScreenSettingModel = exports.AdminAccessControlModel = exports.AdminModel = exports.ActivityLogModel = void 0;
18
+ exports.ReferralRewardCouponModel = exports.ReferralCodeCouponModel = exports.PunchMarketingModel = exports.LoyaltyPointMarketingModel = exports.IndividualUserCouponModel = exports.IndividualStoreCouponModel = void 0;
19
+ const typegoose_1 = require("@typegoose/typegoose");
20
+ const admin_model_1 = require("./admin.model");
21
+ const admin_access_control_model_1 = require("./admin-access-control.model");
22
+ const activity_log_model_1 = require("./activity-log.model");
23
+ const app_screen_setting_model_1 = require("./app-screen-setting.model");
24
+ const attribute_model_1 = require("./attribute.model");
25
+ const banner_model_1 = require("./banner.model");
26
+ const bob_finance_model_1 = require("./bob-finance.model");
27
+ const brand_model_1 = require("./brand.model");
28
+ const category_model_1 = require("./category.model");
29
+ const counter_model_1 = require("./counter.model");
30
+ const coupon_model_1 = require("./coupon.model");
31
+ const deal_setting_model_1 = require("./deal-setting.model");
32
+ const dish_model_1 = require("./dish.model");
33
+ const faq_model_1 = require("./faq.model");
34
+ const favourite_model_1 = require("./favourite.model");
35
+ const featured_setting_model_1 = require("./featured-setting.model");
36
+ const filter_container_model_1 = require("./filter-container.model");
37
+ const list_container_model_1 = require("./list-container.model");
38
+ const loyalty_point_category_model_1 = require("./loyalty-point-category.model");
39
+ const loyalty_point_setting_model_1 = require("./loyalty-point-setting.model");
40
+ const marketing_model_1 = require("./marketing.model");
41
+ const meal_plan_model_1 = require("./meal-plan.model");
42
+ const nutrition_model_1 = require("./nutrition.model");
43
+ const parent_model_1 = require("./parent.model");
44
+ const product_marketing_model_1 = require("./product-marketing.model");
45
+ const product_model_1 = require("./product.model");
46
+ const punch_marketing_history_model_1 = require("./punch-marketing-history.model");
47
+ const rating_setting_model_1 = require("./rating-setting.model");
48
+ const referral_setting_model_1 = require("./referral-setting.model");
49
+ const request_area_model_1 = require("./request-area.model");
50
+ const rider_review_model_1 = require("./rider-review.model");
51
+ const role_model_1 = require("./role.model");
52
+ const mongo_1 = require("../../mongo");
53
+ const setting_model_1 = require("./setting.model");
54
+ const shop_access_control_model_1 = require("./shop-access-control.model");
55
+ const shop_category_model_1 = require("./shop-category.model");
56
+ const shop_meal_plan_model_1 = require("./shop-meal-plan.model");
57
+ const shop_product_model_1 = require("./shop-product.model");
58
+ const shop_review_model_1 = require("./shop-review.model");
59
+ const shop_model_1 = require("./shop.model");
60
+ const subscription_setting_model_1 = require("./subscription-setting.model");
61
+ const subscription_model_1 = require("./subscription.model");
62
+ const tag_model_1 = require("./tag.model");
63
+ const zone_model_1 = require("./zone.model");
64
+ const buy1_get1_marketing_model_1 = require("./providers/buy1-get1-marketing.model");
65
+ const enum_1 = require("../../../utilities/enum");
66
+ const custom_coupon_model_1 = require("./providers/custom-coupon.model");
67
+ const discount_marketing_model_1 = require("./providers/discount-marketing.model");
68
+ const featured_marketing_model_1 = require("./providers/featured-marketing.model");
69
+ const free_delivery_marketing_model_1 = require("./providers/free-delivery-marketing.model");
70
+ const global_coupon_model_1 = require("./providers/global-coupon.model");
71
+ const individual_store_coupon_model_1 = require("./providers/individual-store-coupon.model");
72
+ const individual_user_coupon_model_1 = require("./providers/individual-user-coupon.model");
73
+ const loyalty_point_marketing_model_1 = require("./providers/loyalty-point-marketing.model");
74
+ const punch_marketing_model_1 = require("./providers/punch-marketing.model");
75
+ const referral_code_coupon_model_1 = require("./providers/referral-code-coupon.model");
76
+ const referral_reward_coupon_model_1 = require("./providers/referral-reward-coupon.model");
77
+ const notification_model_1 = require("./notification.model");
78
+ exports.ActivityLogModel = (0, typegoose_1.getModelForClass)(activity_log_model_1.ActivityLog);
17
79
  __exportStar(require("./activity-log.model"), exports);
18
- __exportStar(require("./admin-access-control.model"), exports);
80
+ exports.AdminModel = (0, typegoose_1.getModelForClass)(admin_model_1.Admin);
19
81
  __exportStar(require("./admin.model"), exports);
82
+ exports.AdminAccessControlModel = (0, typegoose_1.getModelForClass)(admin_access_control_model_1.AdminAccessControl);
83
+ __exportStar(require("./admin-access-control.model"), exports);
84
+ exports.AppScreenSettingModel = (0, typegoose_1.getModelForClass)(app_screen_setting_model_1.AppScreenSetting);
20
85
  __exportStar(require("./app-screen-setting.model"), exports);
86
+ exports.AttributeModel = (0, typegoose_1.getModelForClass)(attribute_model_1.Attribute);
21
87
  __exportStar(require("./attribute.model"), exports);
88
+ exports.BannerModel = (0, typegoose_1.getModelForClass)(banner_model_1.Banner);
22
89
  __exportStar(require("./banner.model"), exports);
90
+ exports.BOBFinanceModel = (0, typegoose_1.getModelForClass)(bob_finance_model_1.BOBFinance);
23
91
  __exportStar(require("./bob-finance.model"), exports);
92
+ exports.BrandModel = (0, typegoose_1.getModelForClass)(brand_model_1.Brand);
24
93
  __exportStar(require("./brand.model"), exports);
94
+ exports.CategoryModel = (0, typegoose_1.getModelForClass)(category_model_1.Category);
25
95
  __exportStar(require("./category.model"), exports);
26
- __exportStar(require("./core-auth-identity.model"), exports);
27
- __exportStar(require("./core-user.model"), exports);
96
+ exports.CounterModel = (0, typegoose_1.getModelForClass)(counter_model_1.Counter);
28
97
  __exportStar(require("./counter.model"), exports);
98
+ exports.CouponModel = (0, typegoose_1.getModelForClass)(coupon_model_1.Coupon);
29
99
  __exportStar(require("./coupon.model"), exports);
100
+ exports.DealSettingModel = (0, typegoose_1.getModelForClass)(deal_setting_model_1.DealSetting);
30
101
  __exportStar(require("./deal-setting.model"), exports);
102
+ exports.DishModel = (0, typegoose_1.getModelForClass)(dish_model_1.Dish);
31
103
  __exportStar(require("./dish.model"), exports);
104
+ exports.FaqModel = (0, typegoose_1.getModelForClass)(faq_model_1.Faq);
32
105
  __exportStar(require("./faq.model"), exports);
106
+ exports.FavouriteModel = (0, typegoose_1.getModelForClass)(favourite_model_1.Favourite);
33
107
  __exportStar(require("./favourite.model"), exports);
108
+ exports.FeaturedSettingModel = (0, typegoose_1.getModelForClass)(featured_setting_model_1.FeaturedSetting);
34
109
  __exportStar(require("./featured-setting.model"), exports);
110
+ exports.FilterContainerModel = (0, typegoose_1.getModelForClass)(filter_container_model_1.FilterContainer);
35
111
  __exportStar(require("./filter-container.model"), exports);
112
+ exports.ListContainerModel = (0, typegoose_1.getModelForClass)(list_container_model_1.ListContainer);
36
113
  __exportStar(require("./list-container.model"), exports);
114
+ exports.LoyaltyPointCategoryModel = (0, typegoose_1.getModelForClass)(loyalty_point_category_model_1.LoyaltyPointCategory);
37
115
  __exportStar(require("./loyalty-point-category.model"), exports);
116
+ exports.LoyaltyPointSettingModel = (0, typegoose_1.getModelForClass)(loyalty_point_setting_model_1.LoyaltyPointSetting);
38
117
  __exportStar(require("./loyalty-point-setting.model"), exports);
118
+ exports.MarketingModel = (0, typegoose_1.getModelForClass)(marketing_model_1.Marketing);
39
119
  __exportStar(require("./marketing.model"), exports);
120
+ exports.MealPlanModel = (0, typegoose_1.getModelForClass)(meal_plan_model_1.MealPlan);
40
121
  __exportStar(require("./meal-plan.model"), exports);
122
+ exports.NotificationModel = (0, typegoose_1.getModelForClass)(notification_model_1.Notification);
41
123
  __exportStar(require("./notification.model"), exports);
124
+ exports.NutritionModel = (0, typegoose_1.getModelForClass)(nutrition_model_1.Nutrition);
42
125
  __exportStar(require("./nutrition.model"), exports);
43
126
  __exportStar(require("./order.model"), exports);
127
+ exports.ParentModel = (0, typegoose_1.getModelForClass)(parent_model_1.Parent);
44
128
  __exportStar(require("./parent.model"), exports);
45
129
  __exportStar(require("./payout.model"), exports);
130
+ exports.ProductMarketingModel = (0, typegoose_1.getModelForClass)(product_marketing_model_1.ProductMarketing);
46
131
  __exportStar(require("./product-marketing.model"), exports);
132
+ exports.ProductModel = (0, typegoose_1.getModelForClass)(product_model_1.Product);
47
133
  __exportStar(require("./product.model"), exports);
134
+ exports.PunchMarketingHistoryModel = (0, typegoose_1.getModelForClass)(punch_marketing_history_model_1.PunchMarketingHistory);
48
135
  __exportStar(require("./punch-marketing-history.model"), exports);
136
+ exports.RatingSettingModel = (0, typegoose_1.getModelForClass)(rating_setting_model_1.RatingSetting);
49
137
  __exportStar(require("./rating-setting.model"), exports);
138
+ exports.ReferralSettingModel = (0, typegoose_1.getModelForClass)(referral_setting_model_1.ReferralSetting);
50
139
  __exportStar(require("./referral-setting.model"), exports);
140
+ exports.RequestAreaModel = (0, typegoose_1.getModelForClass)(request_area_model_1.RequestArea);
51
141
  __exportStar(require("./request-area.model"), exports);
142
+ exports.RiderReviewModel = (0, typegoose_1.getModelForClass)(rider_review_model_1.RiderReview);
52
143
  __exportStar(require("./rider-review.model"), exports);
53
144
  __exportStar(require("./rider.model"), exports);
145
+ exports.RoleModel = (0, mongo_1.createGlobalModel)(role_model_1.Role);
54
146
  __exportStar(require("./role.model"), exports);
147
+ exports.SettingModel = (0, typegoose_1.getModelForClass)(setting_model_1.Setting);
55
148
  __exportStar(require("./setting.model"), exports);
149
+ exports.ShopAccessControlModel = (0, typegoose_1.getModelForClass)(shop_access_control_model_1.ShopAccessControl);
56
150
  __exportStar(require("./shop-access-control.model"), exports);
151
+ exports.ShopCategoryModel = (0, typegoose_1.getModelForClass)(shop_category_model_1.ShopCategory);
57
152
  __exportStar(require("./shop-category.model"), exports);
153
+ exports.ShopMealPlanModel = (0, typegoose_1.getModelForClass)(shop_meal_plan_model_1.ShopMealPlan);
58
154
  __exportStar(require("./shop-meal-plan.model"), exports);
155
+ exports.ShopProductModel = (0, typegoose_1.getModelForClass)(shop_product_model_1.ShopProduct);
59
156
  __exportStar(require("./shop-product.model"), exports);
157
+ exports.ShopReviewModel = (0, typegoose_1.getModelForClass)(shop_review_model_1.ShopReview);
60
158
  __exportStar(require("./shop-review.model"), exports);
159
+ exports.ShopModel = (0, typegoose_1.getModelForClass)(shop_model_1.Shop);
61
160
  __exportStar(require("./shop.model"), exports);
161
+ exports.SubscriptionSettingModel = (0, typegoose_1.getModelForClass)(subscription_setting_model_1.SubscriptionSetting);
62
162
  __exportStar(require("./subscription-setting.model"), exports);
163
+ exports.SubscriptionModel = (0, typegoose_1.getModelForClass)(subscription_model_1.Subscription);
63
164
  __exportStar(require("./subscription.model"), exports);
165
+ exports.TagModel = (0, typegoose_1.getModelForClass)(tag_model_1.Tag);
64
166
  __exportStar(require("./tag.model"), exports);
65
167
  __exportStar(require("./transaction.model"), exports);
168
+ exports.ZoneModel = (0, typegoose_1.getModelForClass)(zone_model_1.Zone);
66
169
  __exportStar(require("./zone.model"), exports);
170
+ exports.Buy1Get1MarketingModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.MarketingModel, buy1_get1_marketing_model_1.Buy1Get1Marketing, enum_1.MarketingType.BUY1GET1);
67
171
  __exportStar(require("./providers/buy1-get1-marketing.model"), exports);
68
- __exportStar(require("./providers/core-apple-auth-identity.model"), exports);
69
- __exportStar(require("./providers/core-email-auth-identity.model"), exports);
70
- __exportStar(require("./providers/core-google-auth-identity.model"), exports);
71
- __exportStar(require("./providers/core-phone-auth-identity.model"), exports);
172
+ exports.CustomCouponModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.CouponModel, custom_coupon_model_1.CustomCoupon, enum_1.CouponType.CUSTOM_COUPON);
72
173
  __exportStar(require("./providers/custom-coupon.model"), exports);
174
+ exports.DiscountMarketingModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.MarketingModel, discount_marketing_model_1.DiscountMarketing, enum_1.MarketingType.DISCOUNT);
73
175
  __exportStar(require("./providers/discount-marketing.model"), exports);
176
+ exports.FeaturedMarketingModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.MarketingModel, featured_marketing_model_1.FeaturedMarketing, enum_1.MarketingType.FEATURED);
74
177
  __exportStar(require("./providers/featured-marketing.model"), exports);
178
+ exports.FreeDeliveryMarketingModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.MarketingModel, free_delivery_marketing_model_1.FreeDeliveryMarketing, enum_1.MarketingType.FREE_DELIVERY);
75
179
  __exportStar(require("./providers/free-delivery-marketing.model"), exports);
180
+ exports.GlobalCouponModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.CouponModel, global_coupon_model_1.GlobalCoupon, enum_1.CouponType.GLOBAL);
76
181
  __exportStar(require("./providers/global-coupon.model"), exports);
182
+ exports.IndividualStoreCouponModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.CouponModel, individual_store_coupon_model_1.IndividualStoreCoupon, enum_1.CouponType.INDIVIDUAL_STORE);
77
183
  __exportStar(require("./providers/individual-store-coupon.model"), exports);
184
+ exports.IndividualUserCouponModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.CouponModel, individual_user_coupon_model_1.IndividualUserCoupon, enum_1.CouponType.INDIVIDUAL_USER);
78
185
  __exportStar(require("./providers/individual-user-coupon.model"), exports);
186
+ exports.LoyaltyPointMarketingModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.MarketingModel, loyalty_point_marketing_model_1.LoyaltyPointMarketing, enum_1.MarketingType.LOYALTY_POINT);
79
187
  __exportStar(require("./providers/loyalty-point-marketing.model"), exports);
188
+ exports.PunchMarketingModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.MarketingModel, punch_marketing_model_1.PunchMarketing, enum_1.MarketingType.PUNCH_MARKETING);
80
189
  __exportStar(require("./providers/punch-marketing.model"), exports);
190
+ exports.ReferralCodeCouponModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.CouponModel, referral_code_coupon_model_1.ReferralCodeCoupon, enum_1.CouponType.REFERRAL_CODE);
81
191
  __exportStar(require("./providers/referral-code-coupon.model"), exports);
192
+ exports.ReferralRewardCouponModel = (0, typegoose_1.getDiscriminatorModelForClass)(exports.CouponModel, referral_reward_coupon_model_1.ReferralRewardCoupon, enum_1.CouponType.REFERRAL_REWARD);
82
193
  __exportStar(require("./providers/referral-reward-coupon.model"), exports);
83
194
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"/","sources":["libraries/mongo/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,+DAA6C;AAC7C,gDAA8B;AAC9B,6DAA2C;AAC3C,oDAAkC;AAClC,iDAA+B;AAC/B,sDAAoC;AACpC,gDAA8B;AAC9B,mDAAiC;AACjC,6DAA2C;AAC3C,oDAAkC;AAClC,kDAAgC;AAChC,iDAA+B;AAC/B,uDAAqC;AACrC,+CAA6B;AAC7B,8CAA4B;AAC5B,oDAAkC;AAClC,2DAAyC;AACzC,2DAAyC;AACzC,yDAAuC;AACvC,iEAA+C;AAC/C,gEAA8C;AAC9C,oDAAkC;AAClC,oDAAkC;AAClC,uDAAqC;AACrC,oDAAkC;AAClC,gDAA8B;AAC9B,iDAA+B;AAC/B,iDAA+B;AAC/B,4DAA0C;AAC1C,kDAAgC;AAChC,kEAAgD;AAChD,yDAAuC;AACvC,2DAAyC;AACzC,uDAAqC;AACrC,uDAAqC;AACrC,gDAA8B;AAC9B,+CAA6B;AAC7B,kDAAgC;AAChC,8DAA4C;AAC5C,wDAAsC;AACtC,yDAAuC;AACvC,uDAAqC;AACrC,sDAAoC;AACpC,+CAA6B;AAC7B,+DAA6C;AAC7C,uDAAqC;AACrC,8CAA4B;AAC5B,sDAAoC;AACpC,+CAA6B;AAC7B,wEAAsD;AACtD,6EAA2D;AAC3D,6EAA2D;AAC3D,8EAA4D;AAC5D,6EAA2D;AAC3D,kEAAgD;AAChD,uEAAqD;AACrD,uEAAqD;AACrD,4EAA0D;AAC1D,kEAAgD;AAChD,4EAA0D;AAC1D,2EAAyD;AACzD,4EAA0D;AAC1D,oEAAkD;AAClD,yEAAuD;AACvD,2EAAyD","sourcesContent":["export * from './activity-log.model';\r\nexport * from './admin-access-control.model';\r\nexport * from './admin.model';\r\nexport * from './app-screen-setting.model';\r\nexport * from './attribute.model';\r\nexport * from './banner.model';\r\nexport * from './bob-finance.model';\r\nexport * from './brand.model';\r\nexport * from './category.model';\r\nexport * from './core-auth-identity.model';\r\nexport * from './core-user.model';\r\nexport * from './counter.model';\r\nexport * from './coupon.model';\r\nexport * from './deal-setting.model';\r\nexport * from './dish.model';\r\nexport * from './faq.model';\r\nexport * from './favourite.model';\r\nexport * from './featured-setting.model';\r\nexport * from './filter-container.model';\r\nexport * from './list-container.model';\r\nexport * from './loyalty-point-category.model';\r\nexport * from './loyalty-point-setting.model';\r\nexport * from './marketing.model';\r\nexport * from './meal-plan.model';\r\nexport * from './notification.model';\r\nexport * from './nutrition.model';\r\nexport * from './order.model';\r\nexport * from './parent.model';\r\nexport * from './payout.model';\r\nexport * from './product-marketing.model';\r\nexport * from './product.model';\r\nexport * from './punch-marketing-history.model';\r\nexport * from './rating-setting.model';\r\nexport * from './referral-setting.model';\r\nexport * from './request-area.model';\r\nexport * from './rider-review.model';\r\nexport * from './rider.model';\r\nexport * from './role.model';\r\nexport * from './setting.model';\r\nexport * from './shop-access-control.model';\r\nexport * from './shop-category.model';\r\nexport * from './shop-meal-plan.model';\r\nexport * from './shop-product.model';\r\nexport * from './shop-review.model';\r\nexport * from './shop.model';\r\nexport * from './subscription-setting.model';\r\nexport * from './subscription.model';\r\nexport * from './tag.model';\r\nexport * from './transaction.model';\r\nexport * from './zone.model';\r\nexport * from './providers/buy1-get1-marketing.model';\r\nexport * from './providers/core-apple-auth-identity.model';\r\nexport * from './providers/core-email-auth-identity.model';\r\nexport * from './providers/core-google-auth-identity.model';\r\nexport * from './providers/core-phone-auth-identity.model';\r\nexport * from './providers/custom-coupon.model';\r\nexport * from './providers/discount-marketing.model';\r\nexport * from './providers/featured-marketing.model';\r\nexport * from './providers/free-delivery-marketing.model';\r\nexport * from './providers/global-coupon.model';\r\nexport * from './providers/individual-store-coupon.model';\r\nexport * from './providers/individual-user-coupon.model';\r\nexport * from './providers/loyalty-point-marketing.model';\r\nexport * from './providers/punch-marketing.model';\r\nexport * from './providers/referral-code-coupon.model';\r\nexport * from './providers/referral-reward-coupon.model';\r\n\r\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"/","sources":["libraries/mongo/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,oDAAwG;AACxG,+CAAsC;AACtC,6EAAkE;AAClE,6DAAmD;AACnD,yEAA8D;AAC9D,uDAA8C;AAC9C,iDAAwC;AACxC,2DAAiD;AACjD,+CAAsC;AACtC,qDAA4C;AAC5C,mDAA0C;AAC1C,iDAAwC;AACxC,6DAAmD;AACnD,6CAAoC;AACpC,2CAAkC;AAClC,uDAA8C;AAC9C,qEAA2D;AAC3D,qEAA2D;AAC3D,iEAAuD;AACvD,iFAAsE;AACtE,+EAAoE;AACpE,uDAA8C;AAC9C,uDAA6C;AAC7C,uDAA8C;AAC9C,iDAAwC;AACxC,uEAA6D;AAC7D,mDAA0C;AAC1C,mFAAwE;AACxE,iEAAuD;AACvD,qEAA2D;AAC3D,6DAAmD;AACnD,6DAAmD;AACnD,6CAAoC;AACpC,uCAAgD;AAChD,mDAA0C;AAC1C,2EAAgE;AAChE,+DAAqD;AACrD,iEAAsD;AACtD,6DAAmD;AACnD,2DAAiD;AACjD,6CAAoC;AACpC,6EAAmE;AACnE,6DAAoD;AACpD,2CAAkC;AAClC,6CAAoC;AACpC,qFAA0E;AAC1E,kDAAoE;AACpE,yEAA+D;AAC/D,mFAAyE;AACzE,mFAAyE;AACzE,6FAAkF;AAClF,yEAA+D;AAC/D,6FAAkF;AAClF,2FAAgF;AAChF,6FAAkF;AAClF,6EAAmE;AACnE,uFAA4E;AAC5E,2FAAgF;AAChF,6DAAoD;AAEvC,QAAA,gBAAgB,GAAwC,IAAA,4BAAgB,EAAC,gCAAW,CAAC,CAAC;AACnG,uDAAqC;AAExB,QAAA,UAAU,GAAkC,IAAA,4BAAgB,EAAC,mBAAK,CAAC,CAAC;AACjF,gDAA8B;AAEjB,QAAA,uBAAuB,GACnC,IAAA,4BAAgB,EAAC,+CAAkB,CAAC,CAAC;AACtC,+DAA6C;AAEhC,QAAA,qBAAqB,GACjC,IAAA,4BAAgB,EAAC,2CAAgB,CAAC,CAAC;AACpC,6DAA2C;AAE9B,QAAA,cAAc,GAAsC,IAAA,4BAAgB,EAAC,2BAAS,CAAC,CAAC;AAC7F,oDAAkC;AAErB,QAAA,WAAW,GAAmC,IAAA,4BAAgB,EAAC,qBAAM,CAAC,CAAC;AACpF,iDAA+B;AAElB,QAAA,eAAe,GAAuC,IAAA,4BAAgB,EAAC,8BAAU,CAAC,CAAC;AAChG,sDAAoC;AAEvB,QAAA,UAAU,GAAkC,IAAA,4BAAgB,EAAC,mBAAK,CAAC,CAAC;AACjF,gDAA8B;AAEjB,QAAA,aAAa,GAAqC,IAAA,4BAAgB,EAAC,yBAAQ,CAAC,CAAC;AAC1F,mDAAiC;AAKpB,QAAA,YAAY,GAAoC,IAAA,4BAAgB,EAAC,uBAAO,CAAC,CAAC;AACvF,kDAAgC;AAEnB,QAAA,WAAW,GAAmC,IAAA,4BAAgB,EAAC,qBAAM,CAAC,CAAC;AACpF,iDAA+B;AAElB,QAAA,gBAAgB,GAAwC,IAAA,4BAAgB,EAAC,gCAAW,CAAC,CAAC;AACnG,uDAAqC;AAExB,QAAA,SAAS,GAAiC,IAAA,4BAAgB,EAAC,iBAAI,CAAC,CAAC;AAC9E,+CAA6B;AAEhB,QAAA,QAAQ,GAAgC,IAAA,4BAAgB,EAAC,eAAG,CAAC,CAAC;AAC3E,8CAA4B;AAEf,QAAA,cAAc,GAAsC,IAAA,4BAAgB,EAAC,2BAAS,CAAC,CAAC;AAC7F,oDAAkC;AAErB,QAAA,oBAAoB,GAChC,IAAA,4BAAgB,EAAC,wCAAe,CAAC,CAAC;AACnC,2DAAyC;AAE5B,QAAA,oBAAoB,GAChC,IAAA,4BAAgB,EAAC,wCAAe,CAAC,CAAC;AACnC,2DAAyC;AAE5B,QAAA,kBAAkB,GAA0C,IAAA,4BAAgB,EAAC,oCAAa,CAAC,CAAC;AACzG,yDAAuC;AAE1B,QAAA,yBAAyB,GACrC,IAAA,4BAAgB,EAAC,mDAAoB,CAAC,CAAC;AACxC,iEAA+C;AAElC,QAAA,wBAAwB,GACpC,IAAA,4BAAgB,EAAC,iDAAmB,CAAC,CAAC;AACvC,gEAA8C;AAEjC,QAAA,cAAc,GAAsC,IAAA,4BAAgB,EAAC,2BAAS,CAAC,CAAC;AAC7F,oDAAkC;AAErB,QAAA,aAAa,GAAqC,IAAA,4BAAgB,EAAC,0BAAQ,CAAC,CAAC;AAC1F,oDAAkC;AAErB,QAAA,iBAAiB,GAAyC,IAAA,4BAAgB,EAAC,iCAAY,CAAC,CAAC;AACtG,uDAAqC;AAExB,QAAA,cAAc,GAAsC,IAAA,4BAAgB,EAAC,2BAAS,CAAC,CAAC;AAC7F,oDAAkC;AAElC,gDAA8B;AAEjB,QAAA,WAAW,GAAmC,IAAA,4BAAgB,EAAC,qBAAM,CAAC,CAAC;AACpF,iDAA+B;AAE/B,iDAA+B;AAElB,QAAA,qBAAqB,GACjC,IAAA,4BAAgB,EAAC,0CAAgB,CAAC,CAAC;AACpC,4DAA0C;AAE7B,QAAA,YAAY,GAAoC,IAAA,4BAAgB,EAAC,uBAAO,CAAC,CAAC;AACvF,kDAAgC;AAEnB,QAAA,0BAA0B,GACtC,IAAA,4BAAgB,EAAC,qDAAqB,CAAC,CAAC;AACzC,kEAAgD;AAEnC,QAAA,kBAAkB,GAA0C,IAAA,4BAAgB,EAAC,oCAAa,CAAC,CAAC;AACzG,yDAAuC;AAE1B,QAAA,oBAAoB,GAChC,IAAA,4BAAgB,EAAC,wCAAe,CAAC,CAAC;AACnC,2DAAyC;AAE5B,QAAA,gBAAgB,GAAwC,IAAA,4BAAgB,EAAC,gCAAW,CAAC,CAAC;AACnG,uDAAqC;AAExB,QAAA,gBAAgB,GAAwC,IAAA,4BAAgB,EAAC,gCAAW,CAAC,CAAC;AACnG,uDAAqC;AAErC,gDAA8B;AAEjB,QAAA,SAAS,GAAiC,IAAA,yBAAiB,EAAC,iBAAI,CAAC,CAAC;AAC/E,+CAA6B;AAEhB,QAAA,YAAY,GAAoC,IAAA,4BAAgB,EAAC,uBAAO,CAAC,CAAC;AACvF,kDAAgC;AAEnB,QAAA,sBAAsB,GAClC,IAAA,4BAAgB,EAAC,6CAAiB,CAAC,CAAC;AACrC,8DAA4C;AAE/B,QAAA,iBAAiB,GAAyC,IAAA,4BAAgB,EAAC,kCAAY,CAAC,CAAC;AACtG,wDAAsC;AAEzB,QAAA,iBAAiB,GAAyC,IAAA,4BAAgB,EAAC,mCAAY,CAAC,CAAC;AACtG,yDAAuC;AAE1B,QAAA,gBAAgB,GAAwC,IAAA,4BAAgB,EAAC,gCAAW,CAAC,CAAC;AACnG,uDAAqC;AAExB,QAAA,eAAe,GAAuC,IAAA,4BAAgB,EAAC,8BAAU,CAAC,CAAC;AAChG,sDAAoC;AAEvB,QAAA,SAAS,GAAiC,IAAA,4BAAgB,EAAC,iBAAI,CAAC,CAAC;AAC9E,+CAA6B;AAEhB,QAAA,wBAAwB,GACpC,IAAA,4BAAgB,EAAC,gDAAmB,CAAC,CAAC;AACvC,+DAA6C;AAEhC,QAAA,iBAAiB,GAAyC,IAAA,4BAAgB,EAAC,iCAAY,CAAC,CAAC;AACtG,uDAAqC;AAExB,QAAA,QAAQ,GAAgC,IAAA,4BAAgB,EAAC,eAAG,CAAC,CAAC;AAC3E,8CAA4B;AAE5B,sDAAoC;AAEvB,QAAA,SAAS,GAAiC,IAAA,4BAAgB,EAAC,iBAAI,CAAC,CAAC;AAC9E,+CAA6B;AAEhB,QAAA,sBAAsB,GAClC,IAAA,yCAA6B,EAAC,sBAAc,EAAE,6CAAiB,EAAE,oBAAa,CAAC,QAAQ,CAAC,CAAC;AAC1F,wEAAsD;AAMzC,QAAA,iBAAiB,GAAyC,IAAA,yCAA6B,EACnG,mBAAW,EACX,kCAAY,EACZ,iBAAU,CAAC,aAAa,CACxB,CAAC;AACF,kEAAgD;AAEnC,QAAA,sBAAsB,GAClC,IAAA,yCAA6B,EAAC,sBAAc,EAAE,4CAAiB,EAAE,oBAAa,CAAC,QAAQ,CAAC,CAAC;AAC1F,uEAAqD;AAExC,QAAA,sBAAsB,GAClC,IAAA,yCAA6B,EAAC,sBAAc,EAAE,4CAAiB,EAAE,oBAAa,CAAC,QAAQ,CAAC,CAAC;AAC1F,uEAAqD;AAExC,QAAA,0BAA0B,GACtC,IAAA,yCAA6B,EAAC,sBAAc,EAAE,qDAAqB,EAAE,oBAAa,CAAC,aAAa,CAAC,CAAC;AACnG,4EAA0D;AAE7C,QAAA,iBAAiB,GAAyC,IAAA,yCAA6B,EACnG,mBAAW,EACX,kCAAY,EACZ,iBAAU,CAAC,MAAM,CACjB,CAAC;AACF,kEAAgD;AAEnC,QAAA,0BAA0B,GACtC,IAAA,yCAA6B,EAAC,mBAAW,EAAE,qDAAqB,EAAE,iBAAU,CAAC,gBAAgB,CAAC,CAAC;AAChG,4EAA0D;AAE7C,QAAA,yBAAyB,GACrC,IAAA,yCAA6B,EAAC,mBAAW,EAAE,mDAAoB,EAAE,iBAAU,CAAC,eAAe,CAAC,CAAC;AAC9F,2EAAyD;AAE5C,QAAA,0BAA0B,GACtC,IAAA,yCAA6B,EAAC,sBAAc,EAAE,qDAAqB,EAAE,oBAAa,CAAC,aAAa,CAAC,CAAC;AACnG,4EAA0D;AAE7C,QAAA,mBAAmB,GAA2C,IAAA,yCAA6B,EACvG,sBAAc,EACd,sCAAc,EACd,oBAAa,CAAC,eAAe,CAC7B,CAAC;AACF,oEAAkD;AAErC,QAAA,uBAAuB,GACnC,IAAA,yCAA6B,EAAC,mBAAW,EAAE,+CAAkB,EAAE,iBAAU,CAAC,aAAa,CAAC,CAAC;AAC1F,yEAAuD;AAE1C,QAAA,yBAAyB,GACrC,IAAA,yCAA6B,EAAC,mBAAW,EAAE,mDAAoB,EAAE,iBAAU,CAAC,eAAe,CAAC,CAAC;AAC9F,2EAAyD","sourcesContent":["import { getDiscriminatorModelForClass, getModelForClass, ReturnModelType } from '@typegoose/typegoose';\r\nimport { Admin } from './admin.model';\r\nimport { AdminAccessControl } from './admin-access-control.model';\r\nimport { ActivityLog } from './activity-log.model';\r\nimport { AppScreenSetting } from './app-screen-setting.model';\r\nimport { Attribute } from './attribute.model';\r\nimport { Banner } from './banner.model';\r\nimport { BOBFinance } from './bob-finance.model';\r\nimport { Brand } from './brand.model';\r\nimport { Category } from './category.model';\r\nimport { Counter } from './counter.model';\r\nimport { Coupon } from './coupon.model';\r\nimport { DealSetting } from './deal-setting.model';\r\nimport { Dish } from './dish.model';\r\nimport { Faq } from './faq.model';\r\nimport { Favourite } from './favourite.model';\r\nimport { FeaturedSetting } from './featured-setting.model';\r\nimport { FilterContainer } from './filter-container.model';\r\nimport { ListContainer } from './list-container.model';\r\nimport { LoyaltyPointCategory } from './loyalty-point-category.model';\r\nimport { LoyaltyPointSetting } from './loyalty-point-setting.model';\r\nimport { Marketing } from './marketing.model';\r\nimport { MealPlan } from './meal-plan.model';\r\nimport { Nutrition } from './nutrition.model';\r\nimport { Parent } from './parent.model';\r\nimport { ProductMarketing } from './product-marketing.model';\r\nimport { Product } from './product.model';\r\nimport { PunchMarketingHistory } from './punch-marketing-history.model';\r\nimport { RatingSetting } from './rating-setting.model';\r\nimport { ReferralSetting } from './referral-setting.model';\r\nimport { RequestArea } from './request-area.model';\r\nimport { RiderReview } from './rider-review.model';\r\nimport { Role } from './role.model';\r\nimport { createGlobalModel } from '../../mongo';\r\nimport { Setting } from './setting.model';\r\nimport { ShopAccessControl } from './shop-access-control.model';\r\nimport { ShopCategory } from './shop-category.model';\r\nimport { ShopMealPlan } from './shop-meal-plan.model';\r\nimport { ShopProduct } from './shop-product.model';\r\nimport { ShopReview } from './shop-review.model';\r\nimport { Shop } from './shop.model';\r\nimport { SubscriptionSetting } from './subscription-setting.model';\r\nimport { Subscription } from './subscription.model';\r\nimport { Tag } from './tag.model';\r\nimport { Zone } from './zone.model';\r\nimport { Buy1Get1Marketing } from './providers/buy1-get1-marketing.model';\r\nimport { CouponType, MarketingType } from '../../../utilities/enum';\r\nimport { CustomCoupon } from './providers/custom-coupon.model';\r\nimport { DiscountMarketing } from './providers/discount-marketing.model';\r\nimport { FeaturedMarketing } from './providers/featured-marketing.model';\r\nimport { FreeDeliveryMarketing } from './providers/free-delivery-marketing.model';\r\nimport { GlobalCoupon } from './providers/global-coupon.model';\r\nimport { IndividualStoreCoupon } from './providers/individual-store-coupon.model';\r\nimport { IndividualUserCoupon } from './providers/individual-user-coupon.model';\r\nimport { LoyaltyPointMarketing } from './providers/loyalty-point-marketing.model';\r\nimport { PunchMarketing } from './providers/punch-marketing.model';\r\nimport { ReferralCodeCoupon } from './providers/referral-code-coupon.model';\r\nimport { ReferralRewardCoupon } from './providers/referral-reward-coupon.model';\r\nimport { Notification } from './notification.model';\r\n\r\nexport const ActivityLogModel: ReturnModelType<typeof ActivityLog> = getModelForClass(ActivityLog);\r\nexport * from './activity-log.model';\r\n\r\nexport const AdminModel: ReturnModelType<typeof Admin> = getModelForClass(Admin);\r\nexport * from './admin.model';\r\n\r\nexport const AdminAccessControlModel: ReturnModelType<typeof AdminAccessControl> =\r\n\tgetModelForClass(AdminAccessControl);\r\nexport * from './admin-access-control.model';\r\n\r\nexport const AppScreenSettingModel: ReturnModelType<typeof AppScreenSetting> =\r\n\tgetModelForClass(AppScreenSetting);\r\nexport * from './app-screen-setting.model';\r\n\r\nexport const AttributeModel: ReturnModelType<typeof Attribute> = getModelForClass(Attribute);\r\nexport * from './attribute.model';\r\n\r\nexport const BannerModel: ReturnModelType<typeof Banner> = getModelForClass(Banner);\r\nexport * from './banner.model';\r\n\r\nexport const BOBFinanceModel: ReturnModelType<typeof BOBFinance> = getModelForClass(BOBFinance);\r\nexport * from './bob-finance.model';\r\n\r\nexport const BrandModel: ReturnModelType<typeof Brand> = getModelForClass(Brand);\r\nexport * from './brand.model';\r\n\r\nexport const CategoryModel: ReturnModelType<typeof Category> = getModelForClass(Category);\r\nexport * from './category.model';\r\n\r\n// export * from './core-auth-identity.model';\r\n// export * from './core-user.model';\r\n\r\nexport const CounterModel: ReturnModelType<typeof Counter> = getModelForClass(Counter);\r\nexport * from './counter.model';\r\n\r\nexport const CouponModel: ReturnModelType<typeof Coupon> = getModelForClass(Coupon);\r\nexport * from './coupon.model';\r\n\r\nexport const DealSettingModel: ReturnModelType<typeof DealSetting> = getModelForClass(DealSetting);\r\nexport * from './deal-setting.model';\r\n\r\nexport const DishModel: ReturnModelType<typeof Dish> = getModelForClass(Dish);\r\nexport * from './dish.model';\r\n\r\nexport const FaqModel: ReturnModelType<typeof Faq> = getModelForClass(Faq);\r\nexport * from './faq.model';\r\n\r\nexport const FavouriteModel: ReturnModelType<typeof Favourite> = getModelForClass(Favourite);\r\nexport * from './favourite.model';\r\n\r\nexport const FeaturedSettingModel: ReturnModelType<typeof FeaturedSetting> =\r\n\tgetModelForClass(FeaturedSetting);\r\nexport * from './featured-setting.model';\r\n\r\nexport const FilterContainerModel: ReturnModelType<typeof FilterContainer> =\r\n\tgetModelForClass(FilterContainer);\r\nexport * from './filter-container.model';\r\n\r\nexport const ListContainerModel: ReturnModelType<typeof ListContainer> = getModelForClass(ListContainer);\r\nexport * from './list-container.model';\r\n\r\nexport const LoyaltyPointCategoryModel: ReturnModelType<typeof LoyaltyPointCategory> =\r\n\tgetModelForClass(LoyaltyPointCategory);\r\nexport * from './loyalty-point-category.model';\r\n\r\nexport const LoyaltyPointSettingModel: ReturnModelType<typeof LoyaltyPointSetting> =\r\n\tgetModelForClass(LoyaltyPointSetting);\r\nexport * from './loyalty-point-setting.model';\r\n\r\nexport const MarketingModel: ReturnModelType<typeof Marketing> = getModelForClass(Marketing);\r\nexport * from './marketing.model';\r\n\r\nexport const MealPlanModel: ReturnModelType<typeof MealPlan> = getModelForClass(MealPlan);\r\nexport * from './meal-plan.model';\r\n\r\nexport const NotificationModel: ReturnModelType<typeof Notification> = getModelForClass(Notification);\r\nexport * from './notification.model';\r\n\r\nexport const NutritionModel: ReturnModelType<typeof Nutrition> = getModelForClass(Nutrition);\r\nexport * from './nutrition.model';\r\n\r\nexport * from './order.model';\r\n\r\nexport const ParentModel: ReturnModelType<typeof Parent> = getModelForClass(Parent);\r\nexport * from './parent.model';\r\n\r\nexport * from './payout.model';\r\n\r\nexport const ProductMarketingModel: ReturnModelType<typeof ProductMarketing> =\r\n\tgetModelForClass(ProductMarketing);\r\nexport * from './product-marketing.model';\r\n\r\nexport const ProductModel: ReturnModelType<typeof Product> = getModelForClass(Product);\r\nexport * from './product.model';\r\n\r\nexport const PunchMarketingHistoryModel: ReturnModelType<typeof PunchMarketingHistory> =\r\n\tgetModelForClass(PunchMarketingHistory);\r\nexport * from './punch-marketing-history.model';\r\n\r\nexport const RatingSettingModel: ReturnModelType<typeof RatingSetting> = getModelForClass(RatingSetting);\r\nexport * from './rating-setting.model';\r\n\r\nexport const ReferralSettingModel: ReturnModelType<typeof ReferralSetting> =\r\n\tgetModelForClass(ReferralSetting);\r\nexport * from './referral-setting.model';\r\n\r\nexport const RequestAreaModel: ReturnModelType<typeof RequestArea> = getModelForClass(RequestArea);\r\nexport * from './request-area.model';\r\n\r\nexport const RiderReviewModel: ReturnModelType<typeof RiderReview> = getModelForClass(RiderReview);\r\nexport * from './rider-review.model';\r\n\r\nexport * from './rider.model';\r\n\r\nexport const RoleModel: ReturnModelType<typeof Role> = createGlobalModel(Role);\r\nexport * from './role.model';\r\n\r\nexport const SettingModel: ReturnModelType<typeof Setting> = getModelForClass(Setting);\r\nexport * from './setting.model';\r\n\r\nexport const ShopAccessControlModel: ReturnModelType<typeof ShopAccessControl> =\r\n\tgetModelForClass(ShopAccessControl);\r\nexport * from './shop-access-control.model';\r\n\r\nexport const ShopCategoryModel: ReturnModelType<typeof ShopCategory> = getModelForClass(ShopCategory);\r\nexport * from './shop-category.model';\r\n\r\nexport const ShopMealPlanModel: ReturnModelType<typeof ShopMealPlan> = getModelForClass(ShopMealPlan);\r\nexport * from './shop-meal-plan.model';\r\n\r\nexport const ShopProductModel: ReturnModelType<typeof ShopProduct> = getModelForClass(ShopProduct);\r\nexport * from './shop-product.model';\r\n\r\nexport const ShopReviewModel: ReturnModelType<typeof ShopReview> = getModelForClass(ShopReview);\r\nexport * from './shop-review.model';\r\n\r\nexport const ShopModel: ReturnModelType<typeof Shop> = getModelForClass(Shop);\r\nexport * from './shop.model';\r\n\r\nexport const SubscriptionSettingModel: ReturnModelType<typeof SubscriptionSetting> =\r\n\tgetModelForClass(SubscriptionSetting);\r\nexport * from './subscription-setting.model';\r\n\r\nexport const SubscriptionModel: ReturnModelType<typeof Subscription> = getModelForClass(Subscription);\r\nexport * from './subscription.model';\r\n\r\nexport const TagModel: ReturnModelType<typeof Tag> = getModelForClass(Tag);\r\nexport * from './tag.model';\r\n\r\nexport * from './transaction.model';\r\n\r\nexport const ZoneModel: ReturnModelType<typeof Zone> = getModelForClass(Zone);\r\nexport * from './zone.model';\r\n\r\nexport const Buy1Get1MarketingModel: ReturnModelType<typeof Buy1Get1Marketing> =\r\n\tgetDiscriminatorModelForClass(MarketingModel, Buy1Get1Marketing, MarketingType.BUY1GET1);\r\nexport * from './providers/buy1-get1-marketing.model';\r\n// export * from './providers/core-apple-auth-identity.model';\r\n// export * from './providers/core-email-auth-identity.model';\r\n// export * from './providers/core-google-auth-identity.model';\r\n// export * from './providers/core-phone-auth-identity.model';\r\n\r\nexport const CustomCouponModel: ReturnModelType<typeof CustomCoupon> = getDiscriminatorModelForClass(\r\n\tCouponModel,\r\n\tCustomCoupon,\r\n\tCouponType.CUSTOM_COUPON\r\n);\r\nexport * from './providers/custom-coupon.model';\r\n\r\nexport const DiscountMarketingModel: ReturnModelType<typeof DiscountMarketing> =\r\n\tgetDiscriminatorModelForClass(MarketingModel, DiscountMarketing, MarketingType.DISCOUNT);\r\nexport * from './providers/discount-marketing.model';\r\n\r\nexport const FeaturedMarketingModel: ReturnModelType<typeof FeaturedMarketing> =\r\n\tgetDiscriminatorModelForClass(MarketingModel, FeaturedMarketing, MarketingType.FEATURED);\r\nexport * from './providers/featured-marketing.model';\r\n\r\nexport const FreeDeliveryMarketingModel: ReturnModelType<typeof FreeDeliveryMarketing> =\r\n\tgetDiscriminatorModelForClass(MarketingModel, FreeDeliveryMarketing, MarketingType.FREE_DELIVERY);\r\nexport * from './providers/free-delivery-marketing.model';\r\n\r\nexport const GlobalCouponModel: ReturnModelType<typeof GlobalCoupon> = getDiscriminatorModelForClass(\r\n\tCouponModel,\r\n\tGlobalCoupon,\r\n\tCouponType.GLOBAL\r\n);\r\nexport * from './providers/global-coupon.model';\r\n\r\nexport const IndividualStoreCouponModel: ReturnModelType<typeof IndividualStoreCoupon> =\r\n\tgetDiscriminatorModelForClass(CouponModel, IndividualStoreCoupon, CouponType.INDIVIDUAL_STORE);\r\nexport * from './providers/individual-store-coupon.model';\r\n\r\nexport const IndividualUserCouponModel: ReturnModelType<typeof IndividualUserCoupon> =\r\n\tgetDiscriminatorModelForClass(CouponModel, IndividualUserCoupon, CouponType.INDIVIDUAL_USER);\r\nexport * from './providers/individual-user-coupon.model';\r\n\r\nexport const LoyaltyPointMarketingModel: ReturnModelType<typeof LoyaltyPointMarketing> =\r\n\tgetDiscriminatorModelForClass(MarketingModel, LoyaltyPointMarketing, MarketingType.LOYALTY_POINT);\r\nexport * from './providers/loyalty-point-marketing.model';\r\n\r\nexport const PunchMarketingModel: ReturnModelType<typeof PunchMarketing> = getDiscriminatorModelForClass(\r\n\tMarketingModel,\r\n\tPunchMarketing,\r\n\tMarketingType.PUNCH_MARKETING\r\n);\r\nexport * from './providers/punch-marketing.model';\r\n\r\nexport const ReferralCodeCouponModel: ReturnModelType<typeof ReferralCodeCoupon> =\r\n\tgetDiscriminatorModelForClass(CouponModel, ReferralCodeCoupon, CouponType.REFERRAL_CODE);\r\nexport * from './providers/referral-code-coupon.model';\r\n\r\nexport const ReferralRewardCouponModel: ReturnModelType<typeof ReferralRewardCoupon> =\r\n\tgetDiscriminatorModelForClass(CouponModel, ReferralRewardCoupon, CouponType.REFERRAL_REWARD);\r\nexport * from './providers/referral-reward-coupon.model';\r\n"]}
@@ -1,8 +1,8 @@
1
- import { ReturnModelType, Ref } from '@typegoose/typegoose';
1
+ import { Ref } from '@typegoose/typegoose';
2
2
  import { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';
3
3
  import { ItemType, Status } from '../../../utilities/enum';
4
- import { Tag } from './tag.model';
5
4
  import { Shop } from './shop.model';
5
+ import { Tag } from './tag.model';
6
6
  export declare class ListContainer extends TimeStamps {
7
7
  name: string;
8
8
  image: string;
@@ -14,4 +14,3 @@ export declare class ListContainer extends TimeStamps {
14
14
  status?: Status;
15
15
  sortingOrder?: number;
16
16
  }
17
- export declare const ListContainerModel: ReturnModelType<typeof ListContainer>;
@@ -9,12 +9,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ListContainerModel = exports.ListContainer = void 0;
12
+ exports.ListContainer = void 0;
13
13
  const typegoose_1 = require("@typegoose/typegoose");
14
14
  const defaultClasses_1 = require("@typegoose/typegoose/lib/defaultClasses");
15
15
  const enum_1 = require("../../../utilities/enum");
16
- const tag_model_1 = require("./tag.model");
17
16
  const shop_model_1 = require("./shop.model");
17
+ const tag_model_1 = require("./tag.model");
18
18
  let ListContainer = class ListContainer extends defaultClasses_1.TimeStamps {
19
19
  name;
20
20
  image;
@@ -66,5 +66,4 @@ __decorate([
66
66
  exports.ListContainer = ListContainer = __decorate([
67
67
  (0, typegoose_1.modelOptions)({ schemaOptions: { collection: 'listContainers' } })
68
68
  ], ListContainer);
69
- exports.ListContainerModel = (0, typegoose_1.getModelForClass)(ListContainer);
70
69
  //# sourceMappingURL=list-container.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-container.model.js","sourceRoot":"/","sources":["libraries/mongo/models/list-container.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA4G;AAC5G,4EAAqE;AACrE,kDAA2D;AAC3D,2CAAkC;AAClC,6CAAoC;AAG7B,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,2BAAU;IAErC,IAAI,CAAU;IAGd,KAAK,CAAU;IAGf,MAAM,CAAU;IAGhB,KAAK,CAAY;IAGjB,IAAI,CAAc;IAGlB,KAAK,CAAe;IAGpB,QAAQ,CAAY;IAGpB,MAAM,CAAU;IAGhB,YAAY,CAAU;CAC7B,CAAA;AA3BY,sCAAa;AAElB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2CAClB;AAGd;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACjB;AAGf;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CAChB;AAGhB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;4CACpB;AAGjB;IADN,IAAA,gBAAI,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,eAAG,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;2CACb;AAGlB;IADN,IAAA,gBAAI,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,iBAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;4CACZ;AAGpB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,eAAQ,EAAE,CAAC;;+CACZ;AAGpB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,aAAM,EAAE,OAAO,EAAE,aAAM,CAAC,MAAM,EAAE,CAAC;;6CACxB;AAGhB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;mDACN;wBA1BjB,aAAa;IADzB,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,gBAAgB,EAAE,EAAE,CAAC;GACrD,aAAa,CA2BzB;AAEY,QAAA,kBAAkB,GAA0C,IAAA,4BAAgB,EAAC,aAAa,CAAC,CAAC","sourcesContent":["import { getModelForClass, modelOptions, prop, ReturnModelType, mongoose, Ref } from '@typegoose/typegoose';\r\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\r\nimport { ItemType, Status } from '../../../utilities/enum';\r\nimport { Tag } from './tag.model';\r\nimport { Shop } from './shop.model';\r\n\r\n@modelOptions({ schemaOptions: { collection: 'listContainers' } })\r\nexport class ListContainer extends TimeStamps {\r\n\t@prop({ required: true, type: String })\r\n\tpublic name!: string;\r\n\r\n\t@prop({ required: true, type: String })\r\n\tpublic image!: string;\r\n\r\n\t@prop({ required: true, type: String })\r\n\tpublic banner!: string;\r\n\r\n\t@prop({ type: () => [String], default: [] })\r\n\tpublic deals?: string[];\r\n\r\n\t@prop({ ref: () => Tag, default: [] })\r\n\tpublic tags?: Ref<Tag>[];\r\n\r\n\t@prop({ ref: () => Shop, default: [] })\r\n\tpublic shops?: Ref<Shop>[];\r\n\r\n\t@prop({ type: String, enum: ItemType })\r\n\tpublic itemType?: ItemType;\r\n\r\n\t@prop({ enum: Status, default: Status.ACTIVE })\r\n\tpublic status?: Status;\r\n\r\n\t@prop({ type: Number, default: 0 })\r\n\tpublic sortingOrder?: number;\r\n}\r\n\r\nexport const ListContainerModel: ReturnModelType<typeof ListContainer> = getModelForClass(ListContainer);\r\n"]}
1
+ {"version":3,"file":"list-container.model.js","sourceRoot":"/","sources":["libraries/mongo/models/list-container.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA+D;AAC/D,4EAAqE;AACrE,kDAA2D;AAC3D,6CAAoC;AACpC,2CAAkC;AAG3B,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,2BAAU;IAErC,IAAI,CAAU;IAGd,KAAK,CAAU;IAGf,MAAM,CAAU;IAGhB,KAAK,CAAY;IAGjB,IAAI,CAAc;IAGlB,KAAK,CAAe;IAGpB,QAAQ,CAAY;IAGpB,MAAM,CAAU;IAGhB,YAAY,CAAU;CAC7B,CAAA;AA3BY,sCAAa;AAElB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;2CAClB;AAGd;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACjB;AAGf;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CAChB;AAGhB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;4CACpB;AAGjB;IADN,IAAA,gBAAI,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,eAAG,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;2CACb;AAGlB;IADN,IAAA,gBAAI,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,iBAAI,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;;4CACZ;AAGpB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,eAAQ,EAAE,CAAC;;+CACZ;AAGpB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,aAAM,EAAE,OAAO,EAAE,aAAM,CAAC,MAAM,EAAE,CAAC;;6CACxB;AAGhB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;mDACN;wBA1BjB,aAAa;IADzB,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,gBAAgB,EAAE,EAAE,CAAC;GACrD,aAAa,CA2BzB","sourcesContent":["import { modelOptions, prop, Ref } from '@typegoose/typegoose';\r\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\r\nimport { ItemType, Status } from '../../../utilities/enum';\r\nimport { Shop } from './shop.model';\r\nimport { Tag } from './tag.model';\r\n\r\n@modelOptions({ schemaOptions: { collection: 'listContainers' } })\r\nexport class ListContainer extends TimeStamps {\r\n\t@prop({ required: true, type: String })\r\n\tpublic name!: string;\r\n\r\n\t@prop({ required: true, type: String })\r\n\tpublic image!: string;\r\n\r\n\t@prop({ required: true, type: String })\r\n\tpublic banner!: string;\r\n\r\n\t@prop({ type: () => [String], default: [] })\r\n\tpublic deals?: string[];\r\n\r\n\t@prop({ ref: () => Tag, default: [] })\r\n\tpublic tags?: Ref<Tag>[];\r\n\r\n\t@prop({ ref: () => Shop, default: [] })\r\n\tpublic shops?: Ref<Shop>[];\r\n\r\n\t@prop({ type: String, enum: ItemType })\r\n\tpublic itemType?: ItemType;\r\n\r\n\t@prop({ enum: Status, default: Status.ACTIVE })\r\n\tpublic status?: Status;\r\n\r\n\t@prop({ type: Number, default: 0 })\r\n\tpublic sortingOrder?: number;\r\n}\r\n"]}
@@ -1,4 +1,3 @@
1
- import { ReturnModelType } from '@typegoose/typegoose';
2
1
  import { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';
3
2
  import { Status } from '../../../utilities/enum';
4
3
  export declare class LoyaltyPointCategory extends TimeStamps {
@@ -6,4 +5,3 @@ export declare class LoyaltyPointCategory extends TimeStamps {
6
5
  status?: Status;
7
6
  sortingOrder?: number;
8
7
  }
9
- export declare const LoyaltyPointCategoryModel: ReturnModelType<typeof LoyaltyPointCategory>;
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.LoyaltyPointCategoryModel = exports.LoyaltyPointCategory = void 0;
12
+ exports.LoyaltyPointCategory = void 0;
13
13
  const typegoose_1 = require("@typegoose/typegoose");
14
14
  const defaultClasses_1 = require("@typegoose/typegoose/lib/defaultClasses");
15
15
  const enum_1 = require("../../../utilities/enum");
@@ -34,5 +34,4 @@ __decorate([
34
34
  exports.LoyaltyPointCategory = LoyaltyPointCategory = __decorate([
35
35
  (0, typegoose_1.modelOptions)({ schemaOptions: { collection: 'loyaltyPointCategories' } })
36
36
  ], LoyaltyPointCategory);
37
- exports.LoyaltyPointCategoryModel = (0, typegoose_1.getModelForClass)(LoyaltyPointCategory);
38
37
  //# sourceMappingURL=loyalty-point-category.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loyalty-point-category.model.js","sourceRoot":"/","sources":["libraries/mongo/models/loyalty-point-category.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA6F;AAC7F,4EAAqE;AACrE,kDAAiD;AAG1C,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,2BAAU;IAE5C,IAAI,CAAU;IAGd,MAAM,CAAU;IAGhB,YAAY,CAAU;CAC7B,CAAA;AATY,oDAAoB;AAEzB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;kDAClB;AAGd;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,aAAM,EAAE,OAAO,EAAE,aAAM,CAAC,MAAM,EAAE,CAAC;;oDACtC;AAGhB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;0DACN;+BARjB,oBAAoB;IADhC,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,wBAAwB,EAAE,EAAE,CAAC;GAC7D,oBAAoB,CAShC;AAEY,QAAA,yBAAyB,GACrC,IAAA,4BAAgB,EAAC,oBAAoB,CAAC,CAAC","sourcesContent":["import { getModelForClass, modelOptions, prop, ReturnModelType } from '@typegoose/typegoose';\r\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\r\nimport { Status } from '../../../utilities/enum';\r\n\r\n@modelOptions({ schemaOptions: { collection: 'loyaltyPointCategories' } })\r\nexport class LoyaltyPointCategory extends TimeStamps {\r\n\t@prop({ required: true, type: String })\r\n\tpublic name!: string;\r\n\r\n\t@prop({ type: String, enum: Status, default: Status.ACTIVE })\r\n\tpublic status?: Status;\r\n\r\n\t@prop({ type: Number, default: 0 })\r\n\tpublic sortingOrder?: number;\r\n}\r\n\r\nexport const LoyaltyPointCategoryModel: ReturnModelType<typeof LoyaltyPointCategory> =\r\n\tgetModelForClass(LoyaltyPointCategory);\r\n"]}
1
+ {"version":3,"file":"loyalty-point-category.model.js","sourceRoot":"/","sources":["libraries/mongo/models/loyalty-point-category.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA0D;AAC1D,4EAAqE;AACrE,kDAAiD;AAG1C,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,2BAAU;IAE5C,IAAI,CAAU;IAGd,MAAM,CAAU;IAGhB,YAAY,CAAU;CAC7B,CAAA;AATY,oDAAoB;AAEzB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;kDAClB;AAGd;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,aAAM,EAAE,OAAO,EAAE,aAAM,CAAC,MAAM,EAAE,CAAC;;oDACtC;AAGhB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;0DACN;+BARjB,oBAAoB;IADhC,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,wBAAwB,EAAE,EAAE,CAAC;GAC7D,oBAAoB,CAShC","sourcesContent":["import { modelOptions, prop } from '@typegoose/typegoose';\r\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\r\nimport { Status } from '../../../utilities/enum';\r\n\r\n@modelOptions({ schemaOptions: { collection: 'loyaltyPointCategories' } })\r\nexport class LoyaltyPointCategory extends TimeStamps {\r\n\t@prop({ required: true, type: String })\r\n\tpublic name!: string;\r\n\r\n\t@prop({ type: String, enum: Status, default: Status.ACTIVE })\r\n\tpublic status?: Status;\r\n\r\n\t@prop({ type: Number, default: 0 })\r\n\tpublic sortingOrder?: number;\r\n}\r\n"]}
@@ -1,4 +1,3 @@
1
- import { ReturnModelType } from '@typegoose/typegoose';
2
1
  import { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';
3
2
  export declare class LoyaltyPointSetting extends TimeStamps {
4
3
  earnedValue: number;
@@ -6,4 +5,3 @@ export declare class LoyaltyPointSetting extends TimeStamps {
6
5
  rewardBundles: number[];
7
6
  expirationInDays?: number;
8
7
  }
9
- export declare const LoyaltyPointSettingModel: ReturnModelType<typeof LoyaltyPointSetting>;
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.LoyaltyPointSettingModel = exports.LoyaltyPointSetting = void 0;
12
+ exports.LoyaltyPointSetting = void 0;
13
13
  const typegoose_1 = require("@typegoose/typegoose");
14
14
  const defaultClasses_1 = require("@typegoose/typegoose/lib/defaultClasses");
15
15
  let LoyaltyPointSetting = class LoyaltyPointSetting extends defaultClasses_1.TimeStamps {
@@ -38,5 +38,4 @@ __decorate([
38
38
  exports.LoyaltyPointSetting = LoyaltyPointSetting = __decorate([
39
39
  (0, typegoose_1.modelOptions)({ schemaOptions: { collection: 'loyaltyPointSettings' } })
40
40
  ], LoyaltyPointSetting);
41
- exports.LoyaltyPointSettingModel = (0, typegoose_1.getModelForClass)(LoyaltyPointSetting);
42
41
  //# sourceMappingURL=loyalty-point-setting.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loyalty-point-setting.model.js","sourceRoot":"/","sources":["libraries/mongo/models/loyalty-point-setting.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA6F;AAC7F,4EAAqE;AAG9D,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,2BAAU;IAE3C,WAAW,CAAU;IAGrB,SAAS,CAAU;IAGnB,aAAa,CAAY;IAGzB,gBAAgB,CAAU;CACjC,CAAA;AAZY,kDAAmB;AAExB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;wDACX;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;sDACb;AAGnB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;;0DACT;AAGzB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;6DACF;8BAXrB,mBAAmB;IAD/B,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,sBAAsB,EAAE,EAAE,CAAC;GAC3D,mBAAmB,CAY/B;AAEY,QAAA,wBAAwB,GACpC,IAAA,4BAAgB,EAAC,mBAAmB,CAAC,CAAC","sourcesContent":["import { getModelForClass, modelOptions, prop, ReturnModelType } from '@typegoose/typegoose';\r\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\r\n\r\n@modelOptions({ schemaOptions: { collection: 'loyaltyPointSettings' } })\r\nexport class LoyaltyPointSetting extends TimeStamps {\r\n\t@prop({ required: true, type: Number })\r\n\tpublic earnedValue!: number;\r\n\r\n\t@prop({ required: true, type: Number })\r\n\tpublic usedValue!: number;\r\n\r\n\t@prop({ required: true, type: [Number] })\r\n\tpublic rewardBundles!: number[];\r\n\r\n\t@prop({ type: Number, default: 1 })\r\n\tpublic expirationInDays?: number;\r\n}\r\n\r\nexport const LoyaltyPointSettingModel: ReturnModelType<typeof LoyaltyPointSetting> =\r\n\tgetModelForClass(LoyaltyPointSetting);\r\n"]}
1
+ {"version":3,"file":"loyalty-point-setting.model.js","sourceRoot":"/","sources":["libraries/mongo/models/loyalty-point-setting.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA0D;AAC1D,4EAAqE;AAG9D,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,2BAAU;IAE3C,WAAW,CAAU;IAGrB,SAAS,CAAU;IAGnB,aAAa,CAAY;IAGzB,gBAAgB,CAAU;CACjC,CAAA;AAZY,kDAAmB;AAExB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;wDACX;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;sDACb;AAGnB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;;0DACT;AAGzB;IADN,IAAA,gBAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;6DACF;8BAXrB,mBAAmB;IAD/B,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,sBAAsB,EAAE,EAAE,CAAC;GAC3D,mBAAmB,CAY/B","sourcesContent":["import { modelOptions, prop } from '@typegoose/typegoose';\r\nimport { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';\r\n\r\n@modelOptions({ schemaOptions: { collection: 'loyaltyPointSettings' } })\r\nexport class LoyaltyPointSetting extends TimeStamps {\r\n\t@prop({ required: true, type: Number })\r\n\tpublic earnedValue!: number;\r\n\r\n\t@prop({ required: true, type: Number })\r\n\tpublic usedValue!: number;\r\n\r\n\t@prop({ required: true, type: [Number] })\r\n\tpublic rewardBundles!: number[];\r\n\r\n\t@prop({ type: Number, default: 1 })\r\n\tpublic expirationInDays?: number;\r\n}\r\n"]}
@@ -1,8 +1,8 @@
1
- import { Ref, ReturnModelType } from '@typegoose/typegoose';
1
+ import { Ref } from '@typegoose/typegoose';
2
2
  import { TimeStamps } from '@typegoose/typegoose/lib/defaultClasses';
3
- import { Shop } from './shop.model';
4
3
  import { MarketingStatus, MarketingType } from '../../../utilities/enum';
5
4
  import { Duration } from './shared/duration.model';
5
+ import { Shop } from './shop.model';
6
6
  export declare class Marketing extends TimeStamps {
7
7
  shop: Ref<Shop>;
8
8
  marketingType: MarketingType;
@@ -11,4 +11,3 @@ export declare class Marketing extends TimeStamps {
11
11
  status?: MarketingStatus;
12
12
  pausedAt?: Date | null;
13
13
  }
14
- export declare const MarketingModel: ReturnModelType<typeof Marketing>;