@lyxa.ai/marketing 1.0.61 → 1.0.62

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 (372) hide show
  1. package/dist/lib/event/event-initializations.d.ts.map +1 -1
  2. package/dist/lib/event/event-initializations.js +0 -2
  3. package/dist/lib/event/event-initializations.js.map +1 -1
  4. package/dist/lib/event/event-listeners/event-listeners.d.ts +0 -2
  5. package/dist/lib/event/event-listeners/event-listeners.d.ts.map +1 -1
  6. package/dist/lib/event/event-listeners/event-listeners.js +12 -69
  7. package/dist/lib/event/event-listeners/event-listeners.js.map +1 -1
  8. package/dist/lib/event/events/marketing-product-seed.event.d.ts +2 -1
  9. package/dist/lib/event/events/marketing-product-seed.event.d.ts.map +1 -1
  10. package/dist/lib/event/events/marketing-product-seed.event.js.map +1 -1
  11. package/dist/lib/index.d.ts +194 -650
  12. package/dist/lib/index.d.ts.map +1 -1
  13. package/dist/lib/index.js +1 -5
  14. package/dist/lib/index.js.map +1 -1
  15. package/dist/lib/modules/coupon/routers/coupon.router.d.ts +59 -0
  16. package/dist/lib/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  17. package/dist/lib/modules/coupon/routers/coupon.router.js +7 -0
  18. package/dist/lib/modules/coupon/routers/coupon.router.js.map +1 -1
  19. package/dist/lib/modules/coupon/services/coupon.service.d.ts +1 -0
  20. package/dist/lib/modules/coupon/services/coupon.service.d.ts.map +1 -1
  21. package/dist/lib/modules/coupon/services/coupon.service.js +3 -0
  22. package/dist/lib/modules/coupon/services/coupon.service.js.map +1 -1
  23. package/dist/lib/modules/coupon/validations/create-coupon.validation.d.ts.map +1 -1
  24. package/dist/lib/modules/coupon/validations/create-coupon.validation.js +1 -4
  25. package/dist/lib/modules/coupon/validations/create-coupon.validation.js.map +1 -1
  26. package/dist/lib/modules/deal-setting/services/deal-setting.service.d.ts.map +1 -1
  27. package/dist/lib/modules/deal-setting/services/deal-setting.service.js +1 -4
  28. package/dist/lib/modules/deal-setting/services/deal-setting.service.js.map +1 -1
  29. package/dist/lib/modules/featured-setting/services/featured-setting.service.d.ts.map +1 -1
  30. package/dist/lib/modules/featured-setting/services/featured-setting.service.js +0 -3
  31. package/dist/lib/modules/featured-setting/services/featured-setting.service.js.map +1 -1
  32. package/dist/lib/modules/limited-time-offer/campaign/campaign.router.d.ts +8 -54
  33. package/dist/lib/modules/limited-time-offer/campaign/campaign.router.d.ts.map +1 -1
  34. package/dist/lib/modules/limited-time-offer/campaign/campaign.router.js +0 -11
  35. package/dist/lib/modules/limited-time-offer/campaign/campaign.router.js.map +1 -1
  36. package/dist/lib/modules/limited-time-offer/campaign/jobs/index.d.ts.map +1 -1
  37. package/dist/lib/modules/limited-time-offer/campaign/jobs/index.js +0 -6
  38. package/dist/lib/modules/limited-time-offer/campaign/jobs/index.js.map +1 -1
  39. package/dist/lib/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.d.ts +1 -0
  40. package/dist/lib/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.d.ts.map +1 -1
  41. package/dist/lib/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.js +6 -2
  42. package/dist/lib/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.js.map +1 -1
  43. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.d.ts +3 -16
  44. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.d.ts.map +1 -1
  45. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.js +3 -22
  46. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.js.map +1 -1
  47. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.d.ts +0 -2
  48. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.d.ts.map +1 -1
  49. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.js +0 -12
  50. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.js.map +1 -1
  51. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts +35 -242
  52. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts.map +1 -1
  53. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.js +1 -19
  54. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.js.map +1 -1
  55. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.d.ts +1 -8
  56. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.d.ts.map +1 -1
  57. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.js +1 -64
  58. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.js.map +1 -1
  59. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.d.ts +0 -3
  60. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.d.ts.map +1 -1
  61. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.js +8 -66
  62. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.js.map +1 -1
  63. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts +1 -1
  64. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts.map +1 -1
  65. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.js +19 -37
  66. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.js.map +1 -1
  67. package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts +18 -249
  68. package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts.map +1 -1
  69. package/dist/lib/modules/limited-time-offer/limited-time-offer.service.d.ts +0 -2
  70. package/dist/lib/modules/limited-time-offer/limited-time-offer.service.d.ts.map +1 -1
  71. package/dist/lib/modules/limited-time-offer/limited-time-offer.service.js +3 -15
  72. package/dist/lib/modules/limited-time-offer/limited-time-offer.service.js.map +1 -1
  73. package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.constants.d.ts +1 -1
  74. package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.constants.js +1 -1
  75. package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.constants.js.map +1 -1
  76. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.builder.d.ts +3 -24
  77. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.builder.d.ts.map +1 -1
  78. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.builder.js +1 -19
  79. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.builder.js.map +1 -1
  80. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts +0 -10
  81. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts.map +1 -1
  82. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.js +0 -43
  83. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.js.map +1 -1
  84. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +10 -195
  85. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts.map +1 -1
  86. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.js +0 -29
  87. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.js.map +1 -1
  88. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +33 -428
  89. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts.map +1 -1
  90. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.js +6 -16
  91. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.js.map +1 -1
  92. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts +4 -7
  93. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts.map +1 -1
  94. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.js +7 -42
  95. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.js.map +1 -1
  96. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts +3 -14
  97. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts.map +1 -1
  98. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.js +16 -76
  99. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.js.map +1 -1
  100. package/dist/lib/modules/marketing/patterns/repository/MarketingMetricsRepository.d.ts +0 -1
  101. package/dist/lib/modules/marketing/patterns/repository/MarketingMetricsRepository.d.ts.map +1 -1
  102. package/dist/lib/modules/marketing/patterns/repository/MarketingMetricsRepository.js +0 -29
  103. package/dist/lib/modules/marketing/patterns/repository/MarketingMetricsRepository.js.map +1 -1
  104. package/dist/lib/modules/marketing/routers/marketing.router.d.ts +0 -14
  105. package/dist/lib/modules/marketing/routers/marketing.router.d.ts.map +1 -1
  106. package/dist/lib/modules/marketing/routers/marketing.router.js +0 -5
  107. package/dist/lib/modules/marketing/routers/marketing.router.js.map +1 -1
  108. package/dist/lib/modules/marketing/services/index.d.ts +0 -3
  109. package/dist/lib/modules/marketing/services/index.d.ts.map +1 -1
  110. package/dist/lib/modules/marketing/services/index.js +0 -3
  111. package/dist/lib/modules/marketing/services/index.js.map +1 -1
  112. package/dist/lib/modules/marketing/services/marketing.service.d.ts +2 -7
  113. package/dist/lib/modules/marketing/services/marketing.service.d.ts.map +1 -1
  114. package/dist/lib/modules/marketing/services/marketing.service.js +51 -97
  115. package/dist/lib/modules/marketing/services/marketing.service.js.map +1 -1
  116. package/dist/lib/modules/marketing/services/product-marketing.service.d.ts +3 -2
  117. package/dist/lib/modules/marketing/services/product-marketing.service.d.ts.map +1 -1
  118. package/dist/lib/modules/marketing/services/product-marketing.service.js +13 -42
  119. package/dist/lib/modules/marketing/services/product-marketing.service.js.map +1 -1
  120. package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.d.ts.map +1 -1
  121. package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.js +27 -95
  122. package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.js.map +1 -1
  123. package/dist/lib/modules/marketing/validations/all-marketings.validation.d.ts.map +1 -1
  124. package/dist/lib/modules/marketing/validations/all-marketings.validation.js +0 -3
  125. package/dist/lib/modules/marketing/validations/all-marketings.validation.js.map +1 -1
  126. package/dist/lib/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +3 -3
  127. package/dist/lib/modules/marketing/validations/discount-marketing.validation.d.ts +3 -3
  128. package/dist/lib/modules/marketing/validations/index.d.ts +0 -1
  129. package/dist/lib/modules/marketing/validations/index.d.ts.map +1 -1
  130. package/dist/lib/modules/marketing/validations/index.js +0 -1
  131. package/dist/lib/modules/marketing/validations/index.js.map +1 -1
  132. package/dist/lib/modules/marketing/validations/marketing.validation.d.ts +0 -17
  133. package/dist/lib/modules/marketing/validations/marketing.validation.d.ts.map +1 -1
  134. package/dist/lib/modules/marketing/validations/marketing.validation.js +1 -7
  135. package/dist/lib/modules/marketing/validations/marketing.validation.js.map +1 -1
  136. package/dist/lib/modules/marketing/validations/product-marketing.validation.d.ts +2 -2
  137. package/dist/lib/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +1 -1
  138. package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts +1 -0
  139. package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts.map +1 -1
  140. package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.js +49 -2
  141. package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.js.map +1 -1
  142. package/dist/lib/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +2 -2
  143. package/dist/types/event/event-initializations.d.ts.map +1 -1
  144. package/dist/types/event/event-listeners/event-listeners.d.ts +0 -2
  145. package/dist/types/event/event-listeners/event-listeners.d.ts.map +1 -1
  146. package/dist/types/event/events/marketing-product-seed.event.d.ts +2 -1
  147. package/dist/types/event/events/marketing-product-seed.event.d.ts.map +1 -1
  148. package/dist/types/index.d.ts +194 -650
  149. package/dist/types/index.d.ts.map +1 -1
  150. package/dist/types/modules/coupon/routers/coupon.router.d.ts +59 -0
  151. package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  152. package/dist/types/modules/coupon/services/coupon.service.d.ts +1 -0
  153. package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
  154. package/dist/types/modules/coupon/validations/create-coupon.validation.d.ts.map +1 -1
  155. package/dist/types/modules/deal-setting/services/deal-setting.service.d.ts.map +1 -1
  156. package/dist/types/modules/featured-setting/services/featured-setting.service.d.ts.map +1 -1
  157. package/dist/types/modules/limited-time-offer/campaign/campaign.router.d.ts +8 -54
  158. package/dist/types/modules/limited-time-offer/campaign/campaign.router.d.ts.map +1 -1
  159. package/dist/types/modules/limited-time-offer/campaign/jobs/index.d.ts.map +1 -1
  160. package/dist/types/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.d.ts +1 -0
  161. package/dist/types/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.d.ts.map +1 -1
  162. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.d.ts +3 -16
  163. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.d.ts.map +1 -1
  164. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.d.ts +0 -2
  165. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.d.ts.map +1 -1
  166. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts +35 -242
  167. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts.map +1 -1
  168. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.d.ts +1 -8
  169. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.d.ts.map +1 -1
  170. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.d.ts +0 -3
  171. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.d.ts.map +1 -1
  172. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts +1 -1
  173. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts.map +1 -1
  174. package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts +18 -249
  175. package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts.map +1 -1
  176. package/dist/types/modules/limited-time-offer/limited-time-offer.service.d.ts +0 -2
  177. package/dist/types/modules/limited-time-offer/limited-time-offer.service.d.ts.map +1 -1
  178. package/dist/types/modules/limited-time-offer/notification/limited-time-offer-notification.constants.d.ts +1 -1
  179. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.builder.d.ts +3 -24
  180. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.builder.d.ts.map +1 -1
  181. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts +0 -10
  182. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts.map +1 -1
  183. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +10 -195
  184. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts.map +1 -1
  185. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +33 -428
  186. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts.map +1 -1
  187. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts +4 -7
  188. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts.map +1 -1
  189. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts +3 -14
  190. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts.map +1 -1
  191. package/dist/types/modules/marketing/patterns/repository/MarketingMetricsRepository.d.ts +0 -1
  192. package/dist/types/modules/marketing/patterns/repository/MarketingMetricsRepository.d.ts.map +1 -1
  193. package/dist/types/modules/marketing/routers/marketing.router.d.ts +0 -14
  194. package/dist/types/modules/marketing/routers/marketing.router.d.ts.map +1 -1
  195. package/dist/types/modules/marketing/services/index.d.ts +0 -3
  196. package/dist/types/modules/marketing/services/index.d.ts.map +1 -1
  197. package/dist/types/modules/marketing/services/marketing.service.d.ts +2 -7
  198. package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
  199. package/dist/types/modules/marketing/services/product-marketing.service.d.ts +3 -7
  200. package/dist/types/modules/marketing/services/product-marketing.service.d.ts.map +1 -1
  201. package/dist/types/modules/marketing/services/synchronize-product-marketing.service.d.ts.map +1 -1
  202. package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts.map +1 -1
  203. package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +3 -3
  204. package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts +3 -3
  205. package/dist/types/modules/marketing/validations/index.d.ts +0 -1
  206. package/dist/types/modules/marketing/validations/index.d.ts.map +1 -1
  207. package/dist/types/modules/marketing/validations/marketing.validation.d.ts +0 -17
  208. package/dist/types/modules/marketing/validations/marketing.validation.d.ts.map +1 -1
  209. package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts +2 -2
  210. package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +1 -1
  211. package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts +5 -0
  212. package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts.map +1 -1
  213. package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +2 -2
  214. package/package.json +2 -2
  215. package/dist/lib/event/events/marketing-product-sync.event.d.ts +0 -11
  216. package/dist/lib/event/events/marketing-product-sync.event.d.ts.map +0 -1
  217. package/dist/lib/event/events/marketing-product-sync.event.js +0 -12
  218. package/dist/lib/event/events/marketing-product-sync.event.js.map +0 -1
  219. package/dist/lib/modules/limited-time-offer/session/limited-time-offer-campaign-session.repository.d.ts +0 -13
  220. package/dist/lib/modules/limited-time-offer/session/limited-time-offer-campaign-session.repository.d.ts.map +0 -1
  221. package/dist/lib/modules/limited-time-offer/session/limited-time-offer-campaign-session.repository.js +0 -75
  222. package/dist/lib/modules/limited-time-offer/session/limited-time-offer-campaign-session.repository.js.map +0 -1
  223. package/dist/lib/modules/limited-time-offer/session/limited-time-offer-campaign-session.service.d.ts +0 -21
  224. package/dist/lib/modules/limited-time-offer/session/limited-time-offer-campaign-session.service.d.ts.map +0 -1
  225. package/dist/lib/modules/limited-time-offer/session/limited-time-offer-campaign-session.service.js +0 -83
  226. package/dist/lib/modules/limited-time-offer/session/limited-time-offer-campaign-session.service.js.map +0 -1
  227. package/dist/lib/modules/marketing/services/marketing-conflict.repository.d.ts +0 -9
  228. package/dist/lib/modules/marketing/services/marketing-conflict.repository.d.ts.map +0 -1
  229. package/dist/lib/modules/marketing/services/marketing-conflict.repository.js +0 -63
  230. package/dist/lib/modules/marketing/services/marketing-conflict.repository.js.map +0 -1
  231. package/dist/lib/modules/marketing/services/marketing-conflict.service.d.ts +0 -27
  232. package/dist/lib/modules/marketing/services/marketing-conflict.service.d.ts.map +0 -1
  233. package/dist/lib/modules/marketing/services/marketing-conflict.service.js +0 -135
  234. package/dist/lib/modules/marketing/services/marketing-conflict.service.js.map +0 -1
  235. package/dist/lib/modules/marketing/services/spend-to-get-marketing.repository.d.ts +0 -14
  236. package/dist/lib/modules/marketing/services/spend-to-get-marketing.repository.d.ts.map +0 -1
  237. package/dist/lib/modules/marketing/services/spend-to-get-marketing.repository.js +0 -82
  238. package/dist/lib/modules/marketing/services/spend-to-get-marketing.repository.js.map +0 -1
  239. package/dist/lib/modules/marketing/services/spend-to-get-marketing.service.d.ts +0 -11
  240. package/dist/lib/modules/marketing/services/spend-to-get-marketing.service.d.ts.map +0 -1
  241. package/dist/lib/modules/marketing/services/spend-to-get-marketing.service.js +0 -99
  242. package/dist/lib/modules/marketing/services/spend-to-get-marketing.service.js.map +0 -1
  243. package/dist/lib/modules/marketing/services/spend-to-get-progress.repository.d.ts +0 -9
  244. package/dist/lib/modules/marketing/services/spend-to-get-progress.repository.d.ts.map +0 -1
  245. package/dist/lib/modules/marketing/services/spend-to-get-progress.repository.js +0 -69
  246. package/dist/lib/modules/marketing/services/spend-to-get-progress.repository.js.map +0 -1
  247. package/dist/lib/modules/marketing/services/spend-to-get-progress.service.d.ts +0 -31
  248. package/dist/lib/modules/marketing/services/spend-to-get-progress.service.d.ts.map +0 -1
  249. package/dist/lib/modules/marketing/services/spend-to-get-progress.service.js +0 -123
  250. package/dist/lib/modules/marketing/services/spend-to-get-progress.service.js.map +0 -1
  251. package/dist/lib/modules/marketing/validations/spend-to-get-marketing.validation.d.ts +0 -617
  252. package/dist/lib/modules/marketing/validations/spend-to-get-marketing.validation.d.ts.map +0 -1
  253. package/dist/lib/modules/marketing/validations/spend-to-get-marketing.validation.js +0 -119
  254. package/dist/lib/modules/marketing/validations/spend-to-get-marketing.validation.js.map +0 -1
  255. package/dist/lib/modules/spend-to-get-history/routers/index.d.ts +0 -2
  256. package/dist/lib/modules/spend-to-get-history/routers/index.d.ts.map +0 -1
  257. package/dist/lib/modules/spend-to-get-history/routers/index.js +0 -18
  258. package/dist/lib/modules/spend-to-get-history/routers/index.js.map +0 -1
  259. package/dist/lib/modules/spend-to-get-history/routers/spend-to-get-history.router.js +0 -62
  260. package/dist/lib/modules/spend-to-get-history/routers/spend-to-get-history.router.js.map +0 -1
  261. package/dist/lib/modules/spend-to-get-history/services/index.d.ts +0 -2
  262. package/dist/lib/modules/spend-to-get-history/services/index.d.ts.map +0 -1
  263. package/dist/lib/modules/spend-to-get-history/services/index.js +0 -18
  264. package/dist/lib/modules/spend-to-get-history/services/index.js.map +0 -1
  265. package/dist/lib/modules/spend-to-get-history/services/spend-to-get-history.service.d.ts +0 -24
  266. package/dist/lib/modules/spend-to-get-history/services/spend-to-get-history.service.d.ts.map +0 -1
  267. package/dist/lib/modules/spend-to-get-history/services/spend-to-get-history.service.js +0 -136
  268. package/dist/lib/modules/spend-to-get-history/services/spend-to-get-history.service.js.map +0 -1
  269. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.repository.d.ts +0 -24
  270. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.repository.d.ts.map +0 -1
  271. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.repository.js +0 -97
  272. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.repository.js.map +0 -1
  273. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.router.d.ts +0 -271
  274. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.router.d.ts.map +0 -1
  275. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.router.js +0 -62
  276. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.router.js.map +0 -1
  277. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.service.d.ts +0 -24
  278. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.service.d.ts.map +0 -1
  279. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.service.js +0 -116
  280. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.service.js.map +0 -1
  281. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.validation.d.ts +0 -232
  282. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.validation.d.ts.map +0 -1
  283. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.validation.js +0 -30
  284. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.validation.js.map +0 -1
  285. package/dist/lib/modules/spend-to-get-history/validations/index.d.ts +0 -2
  286. package/dist/lib/modules/spend-to-get-history/validations/index.d.ts.map +0 -1
  287. package/dist/lib/modules/spend-to-get-history/validations/index.js +0 -18
  288. package/dist/lib/modules/spend-to-get-history/validations/index.js.map +0 -1
  289. package/dist/lib/modules/spend-to-get-history/validations/spend-to-get-history.validation.d.ts +0 -232
  290. package/dist/lib/modules/spend-to-get-history/validations/spend-to-get-history.validation.d.ts.map +0 -1
  291. package/dist/lib/modules/spend-to-get-history/validations/spend-to-get-history.validation.js +0 -30
  292. package/dist/lib/modules/spend-to-get-history/validations/spend-to-get-history.validation.js.map +0 -1
  293. package/dist/lib/modules/tournament/match/events/match-ended.consumer.d.ts +0 -2
  294. package/dist/lib/modules/tournament/match/events/match-ended.consumer.d.ts.map +0 -1
  295. package/dist/lib/modules/tournament/match/events/match-ended.consumer.js +0 -15
  296. package/dist/lib/modules/tournament/match/events/match-ended.consumer.js.map +0 -1
  297. package/dist/lib/modules/tournament/match/events/match-ended.event.d.ts +0 -14
  298. package/dist/lib/modules/tournament/match/events/match-ended.event.d.ts.map +0 -1
  299. package/dist/lib/modules/tournament/match/events/match-ended.event.js +0 -12
  300. package/dist/lib/modules/tournament/match/events/match-ended.event.js.map +0 -1
  301. package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts +0 -10
  302. package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts.map +0 -1
  303. package/dist/lib/modules/tournament/notification/jobs/notification.producer.js +0 -23
  304. package/dist/lib/modules/tournament/notification/jobs/notification.producer.js.map +0 -1
  305. package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts +0 -9
  306. package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts.map +0 -1
  307. package/dist/lib/modules/tournament/notification/jobs/notification.worker.js +0 -82
  308. package/dist/lib/modules/tournament/notification/jobs/notification.worker.js.map +0 -1
  309. package/dist/lib/modules/tournament/notification/notification.schedule.config.d.ts +0 -10
  310. package/dist/lib/modules/tournament/notification/notification.schedule.config.d.ts.map +0 -1
  311. package/dist/lib/modules/tournament/notification/notification.schedule.config.js +0 -15
  312. package/dist/lib/modules/tournament/notification/notification.schedule.config.js.map +0 -1
  313. package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts +0 -10
  314. package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts.map +0 -1
  315. package/dist/lib/modules/tournament/notification/notification.scheduler.service.js +0 -73
  316. package/dist/lib/modules/tournament/notification/notification.scheduler.service.js.map +0 -1
  317. package/dist/types/event/events/marketing-product-sync.event.d.ts +0 -11
  318. package/dist/types/event/events/marketing-product-sync.event.d.ts.map +0 -1
  319. package/dist/types/events/event-initializations.d.ts +0 -2
  320. package/dist/types/events/event-initializations.d.ts.map +0 -1
  321. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts +0 -1
  322. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts.map +0 -1
  323. package/dist/types/modules/limited-time-offer/session/limited-time-offer-campaign-session.repository.d.ts +0 -13
  324. package/dist/types/modules/limited-time-offer/session/limited-time-offer-campaign-session.repository.d.ts.map +0 -1
  325. package/dist/types/modules/limited-time-offer/session/limited-time-offer-campaign-session.service.d.ts +0 -21
  326. package/dist/types/modules/limited-time-offer/session/limited-time-offer-campaign-session.service.d.ts.map +0 -1
  327. package/dist/types/modules/marketing/services/marketing-conflict.repository.d.ts +0 -9
  328. package/dist/types/modules/marketing/services/marketing-conflict.repository.d.ts.map +0 -1
  329. package/dist/types/modules/marketing/services/marketing-conflict.service.d.ts +0 -41
  330. package/dist/types/modules/marketing/services/marketing-conflict.service.d.ts.map +0 -1
  331. package/dist/types/modules/marketing/services/spend-to-get-marketing.repository.d.ts +0 -14
  332. package/dist/types/modules/marketing/services/spend-to-get-marketing.repository.d.ts.map +0 -1
  333. package/dist/types/modules/marketing/services/spend-to-get-marketing.service.d.ts +0 -20
  334. package/dist/types/modules/marketing/services/spend-to-get-marketing.service.d.ts.map +0 -1
  335. package/dist/types/modules/marketing/services/spend-to-get-progress.repository.d.ts +0 -9
  336. package/dist/types/modules/marketing/services/spend-to-get-progress.repository.d.ts.map +0 -1
  337. package/dist/types/modules/marketing/services/spend-to-get-progress.service.d.ts +0 -37
  338. package/dist/types/modules/marketing/services/spend-to-get-progress.service.d.ts.map +0 -1
  339. package/dist/types/modules/marketing/validations/spend-to-get-marketing.validation.d.ts +0 -630
  340. package/dist/types/modules/marketing/validations/spend-to-get-marketing.validation.d.ts.map +0 -1
  341. package/dist/types/modules/spend-to-get-history/routers/index.d.ts +0 -2
  342. package/dist/types/modules/spend-to-get-history/routers/index.d.ts.map +0 -1
  343. package/dist/types/modules/spend-to-get-history/services/index.d.ts +0 -2
  344. package/dist/types/modules/spend-to-get-history/services/index.d.ts.map +0 -1
  345. package/dist/types/modules/spend-to-get-history/services/spend-to-get-history.service.d.ts +0 -56
  346. package/dist/types/modules/spend-to-get-history/services/spend-to-get-history.service.d.ts.map +0 -1
  347. package/dist/types/modules/spend-to-get-history/spend-to-get-history.repository.d.ts +0 -24
  348. package/dist/types/modules/spend-to-get-history/spend-to-get-history.repository.d.ts.map +0 -1
  349. package/dist/types/modules/spend-to-get-history/spend-to-get-history.router.d.ts +0 -271
  350. package/dist/types/modules/spend-to-get-history/spend-to-get-history.router.d.ts.map +0 -1
  351. package/dist/types/modules/spend-to-get-history/spend-to-get-history.service.d.ts +0 -56
  352. package/dist/types/modules/spend-to-get-history/spend-to-get-history.service.d.ts.map +0 -1
  353. package/dist/types/modules/spend-to-get-history/spend-to-get-history.validation.d.ts +0 -241
  354. package/dist/types/modules/spend-to-get-history/spend-to-get-history.validation.d.ts.map +0 -1
  355. package/dist/types/modules/spend-to-get-history/validations/index.d.ts +0 -2
  356. package/dist/types/modules/spend-to-get-history/validations/index.d.ts.map +0 -1
  357. package/dist/types/modules/spend-to-get-history/validations/spend-to-get-history.validation.d.ts +0 -241
  358. package/dist/types/modules/spend-to-get-history/validations/spend-to-get-history.validation.d.ts.map +0 -1
  359. package/dist/types/modules/tournament/config/tournament-config.validation.d.ts +0 -201
  360. package/dist/types/modules/tournament/config/tournament-config.validation.d.ts.map +0 -1
  361. package/dist/types/modules/tournament/match/events/match-ended.consumer.d.ts +0 -2
  362. package/dist/types/modules/tournament/match/events/match-ended.consumer.d.ts.map +0 -1
  363. package/dist/types/modules/tournament/match/events/match-ended.event.d.ts +0 -14
  364. package/dist/types/modules/tournament/match/events/match-ended.event.d.ts.map +0 -1
  365. package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts +0 -10
  366. package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts.map +0 -1
  367. package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts +0 -9
  368. package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts.map +0 -1
  369. package/dist/types/modules/tournament/notification/notification.schedule.config.d.ts +0 -10
  370. package/dist/types/modules/tournament/notification/notification.schedule.config.d.ts.map +0 -1
  371. package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts +0 -10
  372. package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts.map +0 -1
@@ -1,241 +0,0 @@
1
- import { z } from 'zod';
2
- import { DTO } from '@lyxa.ai/core/dist/utilities/validation/global-validation';
3
- /**
4
- * Get all schemas for the Parent entity
5
- */
6
- declare const SpendToGetHistoryValidationSchema: z.ZodObject<{
7
- user: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
8
- marketing: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
9
- shop: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
10
- redemptionCount: z.ZodOptional<z.ZodNumber>;
11
- lastOrder: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
12
- }, "strict", z.ZodTypeAny, {
13
- user: import("mongoose").Types.ObjectId;
14
- shop: import("mongoose").Types.ObjectId;
15
- marketing: import("mongoose").Types.ObjectId;
16
- redemptionCount?: number | undefined;
17
- lastOrder?: import("mongoose").Types.ObjectId | null | undefined;
18
- }, {
19
- user: string | import("mongoose").Types.ObjectId;
20
- shop: string | import("mongoose").Types.ObjectId;
21
- marketing: string | import("mongoose").Types.ObjectId;
22
- redemptionCount?: number | undefined;
23
- lastOrder?: string | import("mongoose").Types.ObjectId | null | undefined;
24
- }>, SpendToGetHistorySchema: z.ZodObject<{
25
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
26
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
27
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
28
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
29
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
30
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
31
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
33
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
34
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
35
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
36
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
37
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
38
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
39
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
40
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
41
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
42
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
43
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
44
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
45
- }, z.ZodTypeAny, "passthrough">>, SpendToGetHistoryIdSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, UpdateSpendToGetHistorySchema: z.ZodObject<{
46
- [x: string]: z.ZodOptional<z.ZodTypeAny>;
47
- }, "strict", z.ZodTypeAny, {
48
- [x: string]: any;
49
- }, {
50
- [x: string]: any;
51
- }> | z.ZodObject<{
52
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
53
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
54
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
55
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
56
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
57
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
58
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
59
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
60
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
61
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
62
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
63
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
64
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
65
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
66
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
67
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
68
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
69
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
70
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
71
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
72
- }, z.ZodTypeAny, "passthrough">>;
73
- /**
74
- * Export schemas
75
- */
76
- export { SpendToGetHistoryValidationSchema, SpendToGetHistorySchema, SpendToGetHistoryIdSchema as SpendToGetHistoryIdValidationSchema, UpdateSpendToGetHistorySchema, };
77
- export declare const SpendToGetHistoryResponseSchema: z.ZodObject<{
78
- success: z.ZodBoolean;
79
- message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
80
- data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
81
- metadata: z.ZodOptional<z.ZodObject<{
82
- page: z.ZodNumber;
83
- size: z.ZodNumber;
84
- totalElements: z.ZodNumber;
85
- totalPages: z.ZodNumber;
86
- }, "strip", z.ZodTypeAny, {
87
- page: number;
88
- size: number;
89
- totalElements: number;
90
- totalPages: number;
91
- }, {
92
- page: number;
93
- size: number;
94
- totalElements: number;
95
- totalPages: number;
96
- }>>;
97
- documents: z.ZodArray<z.ZodType<z.objectInputType<{
98
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
99
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
100
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
101
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
102
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
103
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
104
- }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{
105
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
106
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
107
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
108
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
109
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
110
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
111
- }, z.ZodTypeAny, "passthrough">>, "many">;
112
- }, "strip", z.ZodTypeAny, {
113
- documents: z.objectInputType<{
114
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
115
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
116
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
117
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
118
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
119
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
120
- }, z.ZodTypeAny, "passthrough">[];
121
- metadata?: {
122
- page: number;
123
- size: number;
124
- totalElements: number;
125
- totalPages: number;
126
- } | undefined;
127
- }, {
128
- documents: z.objectInputType<{
129
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
130
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
131
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
132
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
133
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
134
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
135
- }, z.ZodTypeAny, "passthrough">[];
136
- metadata?: {
137
- page: number;
138
- size: number;
139
- totalElements: number;
140
- totalPages: number;
141
- } | undefined;
142
- }>, z.ZodType<z.objectInputType<{
143
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
144
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
145
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
146
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
147
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
148
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
149
- }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{
150
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
151
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
152
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
153
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
154
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
155
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
156
- }, z.ZodTypeAny, "passthrough">>]>>;
157
- }, "strip", z.ZodTypeAny, {
158
- message: string;
159
- success: boolean;
160
- data?: z.objectInputType<{
161
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
162
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
163
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
164
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
165
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
166
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
167
- }, z.ZodTypeAny, "passthrough"> | {
168
- documents: z.objectInputType<{
169
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
170
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
171
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
172
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
173
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
174
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
175
- }, z.ZodTypeAny, "passthrough">[];
176
- metadata?: {
177
- page: number;
178
- size: number;
179
- totalElements: number;
180
- totalPages: number;
181
- } | undefined;
182
- } | undefined;
183
- }, {
184
- message: string;
185
- success: boolean;
186
- data?: z.objectInputType<{
187
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
188
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
189
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
190
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
191
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
192
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
193
- }, z.ZodTypeAny, "passthrough"> | {
194
- documents: z.objectInputType<{
195
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
196
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
197
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
198
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
199
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
200
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
201
- }, z.ZodTypeAny, "passthrough">[];
202
- metadata?: {
203
- page: number;
204
- size: number;
205
- totalElements: number;
206
- totalPages: number;
207
- } | undefined;
208
- } | undefined;
209
- }>;
210
- export declare const RecordSpendToGetRedemptionSchema: z.ZodObject<{
211
- user: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
212
- shop: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
213
- marketing: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
214
- order: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
215
- }, "strip", z.ZodTypeAny, {
216
- user: import("mongoose").Types.ObjectId;
217
- shop: import("mongoose").Types.ObjectId;
218
- order: import("mongoose").Types.ObjectId;
219
- marketing: import("mongoose").Types.ObjectId;
220
- }, {
221
- user: string | import("mongoose").Types.ObjectId;
222
- shop: string | import("mongoose").Types.ObjectId;
223
- order: string | import("mongoose").Types.ObjectId;
224
- marketing: string | import("mongoose").Types.ObjectId;
225
- }>;
226
- export declare const ReturnSpendToGetRedemptionSchema: z.ZodObject<{
227
- order: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
228
- }, "strip", z.ZodTypeAny, {
229
- order: import("mongoose").Types.ObjectId;
230
- }, {
231
- order: string | import("mongoose").Types.ObjectId;
232
- }>;
233
- /**
234
- * Export DTO types
235
- */
236
- export type CreateSpendToGetHistoryDTO = DTO<typeof SpendToGetHistoryValidationSchema>;
237
- export type SpendToGetHistoryDTO = DTO<typeof SpendToGetHistorySchema>;
238
- export type UpdateSpendToGetHistoryDTO = DTO<typeof UpdateSpendToGetHistorySchema>;
239
- export type RecordSpendToGetRedemptionDTO = DTO<typeof RecordSpendToGetRedemptionSchema>;
240
- export type ReturnSpendToGetRedemptionDTO = DTO<typeof ReturnSpendToGetRedemptionSchema>;
241
- //# sourceMappingURL=spend-to-get-history.validation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spend-to-get-history.validation.d.ts","sourceRoot":"/","sources":["modules/spend-to-get-history/spend-to-get-history.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AAqBnE;;GAEG;AACH,QAAA,MACa,iCAAiC;;;;;;;;;;;;;;;;;;IAC/B,uBAAuB;;;;;;;;;;;;;;;;;;;;;kCAC3B,yBAAyB,mNACrB,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;gCACQ,CAAC;AAErD;;GAEG;AACH,OAAO,EACN,iCAAiC,EACjC,uBAAuB,EACvB,yBAAyB,IAAI,mCAAmC,EAChE,6BAA6B,GAC7B,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgD,CAAC;AAE7F,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;EAE3C,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,GAAG,CAAC,OAAO,iCAAiC,CAAC,CAAC;AACvF,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACvE,MAAM,MAAM,0BAA0B,GAAG,GAAG,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACnF,MAAM,MAAM,6BAA6B,GAAG,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC;AACzF,MAAM,MAAM,6BAA6B,GAAG,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './spend-to-get-history.validation';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/spend-to-get-history/validations/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC"}
@@ -1,241 +0,0 @@
1
- import { z } from 'zod';
2
- import { DTO } from '@lyxa.ai/core/dist/utilities/validation/global-validation';
3
- /**
4
- * Get all schemas for the Parent entity
5
- */
6
- declare const SpendToGetHistoryValidationSchema: z.ZodObject<{
7
- user: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
8
- marketing: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
9
- shop: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
10
- redemptionCount: z.ZodOptional<z.ZodNumber>;
11
- lastOrder: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
12
- }, "strict", z.ZodTypeAny, {
13
- user: import("mongoose").Types.ObjectId;
14
- shop: import("mongoose").Types.ObjectId;
15
- marketing: import("mongoose").Types.ObjectId;
16
- redemptionCount?: number | undefined;
17
- lastOrder?: import("mongoose").Types.ObjectId | null | undefined;
18
- }, {
19
- user: string | import("mongoose").Types.ObjectId;
20
- shop: string | import("mongoose").Types.ObjectId;
21
- marketing: string | import("mongoose").Types.ObjectId;
22
- redemptionCount?: number | undefined;
23
- lastOrder?: string | import("mongoose").Types.ObjectId | null | undefined;
24
- }>, SpendToGetHistorySchema: z.ZodObject<{
25
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
26
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
27
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
28
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
29
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
30
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
31
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
32
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
33
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
34
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
35
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
36
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
37
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
38
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
39
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
40
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
41
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
42
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
43
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
44
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
45
- }, z.ZodTypeAny, "passthrough">>, SpendToGetHistoryIdSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, UpdateSpendToGetHistorySchema: z.ZodObject<{
46
- [x: string]: z.ZodOptional<z.ZodTypeAny>;
47
- }, "strict", z.ZodTypeAny, {
48
- [x: string]: any;
49
- }, {
50
- [x: string]: any;
51
- }> | z.ZodObject<{
52
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
53
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
54
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
55
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
56
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
57
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
58
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
59
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
60
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
61
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
62
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
63
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
64
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
65
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
66
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
67
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
68
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
69
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
70
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
71
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
72
- }, z.ZodTypeAny, "passthrough">>;
73
- /**
74
- * Export schemas
75
- */
76
- export { SpendToGetHistoryValidationSchema, SpendToGetHistorySchema, SpendToGetHistoryIdSchema as SpendToGetHistoryIdValidationSchema, UpdateSpendToGetHistorySchema, };
77
- export declare const SpendToGetHistoryResponseSchema: z.ZodObject<{
78
- success: z.ZodBoolean;
79
- message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
80
- data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
81
- metadata: z.ZodOptional<z.ZodObject<{
82
- page: z.ZodNumber;
83
- size: z.ZodNumber;
84
- totalElements: z.ZodNumber;
85
- totalPages: z.ZodNumber;
86
- }, "strip", z.ZodTypeAny, {
87
- page: number;
88
- size: number;
89
- totalElements: number;
90
- totalPages: number;
91
- }, {
92
- page: number;
93
- size: number;
94
- totalElements: number;
95
- totalPages: number;
96
- }>>;
97
- documents: z.ZodArray<z.ZodType<z.objectInputType<{
98
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
99
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
100
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
101
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
102
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
103
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
104
- }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{
105
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
106
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
107
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
108
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
109
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
110
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
111
- }, z.ZodTypeAny, "passthrough">>, "many">;
112
- }, "strip", z.ZodTypeAny, {
113
- documents: z.objectInputType<{
114
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
115
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
116
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
117
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
118
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
119
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
120
- }, z.ZodTypeAny, "passthrough">[];
121
- metadata?: {
122
- page: number;
123
- size: number;
124
- totalElements: number;
125
- totalPages: number;
126
- } | undefined;
127
- }, {
128
- documents: z.objectInputType<{
129
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
130
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
131
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
132
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
133
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
134
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
135
- }, z.ZodTypeAny, "passthrough">[];
136
- metadata?: {
137
- page: number;
138
- size: number;
139
- totalElements: number;
140
- totalPages: number;
141
- } | undefined;
142
- }>, z.ZodType<z.objectInputType<{
143
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
144
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
145
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
146
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
147
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
148
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
149
- }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{
150
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
151
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
152
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
153
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
154
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
155
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
156
- }, z.ZodTypeAny, "passthrough">>]>>;
157
- }, "strip", z.ZodTypeAny, {
158
- message: string;
159
- success: boolean;
160
- data?: z.objectInputType<{
161
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
162
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
163
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
164
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
165
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
166
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
167
- }, z.ZodTypeAny, "passthrough"> | {
168
- documents: z.objectInputType<{
169
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
170
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
171
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
172
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
173
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
174
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
175
- }, z.ZodTypeAny, "passthrough">[];
176
- metadata?: {
177
- page: number;
178
- size: number;
179
- totalElements: number;
180
- totalPages: number;
181
- } | undefined;
182
- } | undefined;
183
- }, {
184
- message: string;
185
- success: boolean;
186
- data?: z.objectInputType<{
187
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
188
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
189
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
190
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
191
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
192
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
193
- }, z.ZodTypeAny, "passthrough"> | {
194
- documents: z.objectInputType<{
195
- user: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
196
- marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
197
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
198
- redemptionCount: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
199
- lastOrder: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>>;
200
- _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
201
- }, z.ZodTypeAny, "passthrough">[];
202
- metadata?: {
203
- page: number;
204
- size: number;
205
- totalElements: number;
206
- totalPages: number;
207
- } | undefined;
208
- } | undefined;
209
- }>;
210
- export declare const RecordSpendToGetRedemptionSchema: z.ZodObject<{
211
- user: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
212
- shop: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
213
- marketing: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
214
- order: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
215
- }, "strip", z.ZodTypeAny, {
216
- user: import("mongoose").Types.ObjectId;
217
- shop: import("mongoose").Types.ObjectId;
218
- order: import("mongoose").Types.ObjectId;
219
- marketing: import("mongoose").Types.ObjectId;
220
- }, {
221
- user: string | import("mongoose").Types.ObjectId;
222
- shop: string | import("mongoose").Types.ObjectId;
223
- order: string | import("mongoose").Types.ObjectId;
224
- marketing: string | import("mongoose").Types.ObjectId;
225
- }>;
226
- export declare const ReturnSpendToGetRedemptionSchema: z.ZodObject<{
227
- order: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
228
- }, "strip", z.ZodTypeAny, {
229
- order: import("mongoose").Types.ObjectId;
230
- }, {
231
- order: string | import("mongoose").Types.ObjectId;
232
- }>;
233
- /**
234
- * Export DTO types
235
- */
236
- export type CreateSpendToGetHistoryDTO = DTO<typeof SpendToGetHistoryValidationSchema>;
237
- export type SpendToGetHistoryDTO = DTO<typeof SpendToGetHistorySchema>;
238
- export type UpdateSpendToGetHistoryDTO = DTO<typeof UpdateSpendToGetHistorySchema>;
239
- export type RecordSpendToGetRedemptionDTO = DTO<typeof RecordSpendToGetRedemptionSchema>;
240
- export type ReturnSpendToGetRedemptionDTO = DTO<typeof ReturnSpendToGetRedemptionSchema>;
241
- //# sourceMappingURL=spend-to-get-history.validation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spend-to-get-history.validation.d.ts","sourceRoot":"/","sources":["modules/spend-to-get-history/validations/spend-to-get-history.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AAqBnE;;GAEG;AACH,QAAA,MACa,iCAAiC;;;;;;;;;;;;;;;;;;IAC/B,uBAAuB;;;;;;;;;;;;;;;;;;;;;kCAC3B,yBAAyB,mNACrB,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;gCACQ,CAAC;AAErD;;GAEG;AACH,OAAO,EACN,iCAAiC,EACjC,uBAAuB,EACvB,yBAAyB,IAAI,mCAAmC,EAChE,6BAA6B,GAC7B,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgD,CAAC;AAE7F,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;EAE3C,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,GAAG,CAAC,OAAO,iCAAiC,CAAC,CAAC;AACvF,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACvE,MAAM,MAAM,0BAA0B,GAAG,GAAG,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACnF,MAAM,MAAM,6BAA6B,GAAG,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC;AACzF,MAAM,MAAM,6BAA6B,GAAG,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC"}