@lyxa.ai/marketing 1.0.65 → 1.0.67

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 (195) hide show
  1. package/dist/lib/index.d.ts +11810 -21
  2. package/dist/lib/index.d.ts.map +1 -1
  3. package/dist/lib/index.js +0 -2
  4. package/dist/lib/index.js.map +1 -1
  5. package/dist/lib/modules/coupon/routers/coupon.router.d.ts +0 -1074
  6. package/dist/lib/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  7. package/dist/lib/modules/coupon/services/coupon.service.d.ts +1 -1
  8. package/dist/lib/modules/coupon/services/coupon.service.js +1 -1
  9. package/dist/lib/modules/coupon/services/coupon.service.js.map +1 -1
  10. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js +3 -3
  11. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js.map +1 -1
  12. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
  13. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js +0 -1
  14. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js.map +1 -1
  15. package/dist/lib/modules/coupon/transformers/coupon.transformer.d.ts +0 -50
  16. package/dist/lib/modules/coupon/transformers/coupon.transformer.d.ts.map +1 -1
  17. package/dist/lib/modules/coupon/validations/all-coupons.validation.d.ts +0 -822
  18. package/dist/lib/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -1
  19. package/dist/lib/modules/coupon/validations/create-coupon.validation.d.ts +0 -98
  20. package/dist/lib/modules/coupon/validations/create-coupon.validation.d.ts.map +1 -1
  21. package/dist/lib/modules/coupon/validations/create-coupon.validation.js +1 -4
  22. package/dist/lib/modules/coupon/validations/create-coupon.validation.js.map +1 -1
  23. package/dist/lib/modules/coupon/validations/referral-reward-coupon.validation.d.ts +0 -374
  24. package/dist/lib/modules/coupon/validations/referral-reward-coupon.validation.d.ts.map +1 -1
  25. package/dist/lib/modules/coupon/validations/referral-reward-coupon.validation.js +0 -2
  26. package/dist/lib/modules/coupon/validations/referral-reward-coupon.validation.js.map +1 -1
  27. package/dist/lib/modules/deal-setting/services/deal-setting.service.d.ts.map +1 -1
  28. package/dist/lib/modules/deal-setting/services/deal-setting.service.js +1 -4
  29. package/dist/lib/modules/deal-setting/services/deal-setting.service.js.map +1 -1
  30. package/dist/lib/modules/featured-setting/services/featured-setting.service.d.ts.map +1 -1
  31. package/dist/lib/modules/featured-setting/services/featured-setting.service.js +0 -3
  32. package/dist/lib/modules/featured-setting/services/featured-setting.service.js.map +1 -1
  33. package/dist/lib/modules/limited-time-offer/campaign/campaign.router.d.ts +8 -54
  34. package/dist/lib/modules/limited-time-offer/campaign/campaign.router.d.ts.map +1 -1
  35. package/dist/lib/modules/limited-time-offer/campaign/campaign.router.js +0 -13
  36. package/dist/lib/modules/limited-time-offer/campaign/campaign.router.js.map +1 -1
  37. package/dist/lib/modules/limited-time-offer/campaign/jobs/index.d.ts.map +1 -1
  38. package/dist/lib/modules/limited-time-offer/campaign/jobs/index.js +0 -9
  39. package/dist/lib/modules/limited-time-offer/campaign/jobs/index.js.map +1 -1
  40. package/dist/lib/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.d.ts +1 -0
  41. package/dist/lib/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.d.ts.map +1 -1
  42. package/dist/lib/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.js +6 -2
  43. package/dist/lib/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.js.map +1 -1
  44. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.d.ts +3 -16
  45. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.d.ts.map +1 -1
  46. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.js +3 -22
  47. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.js.map +1 -1
  48. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.d.ts +0 -2
  49. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.d.ts.map +1 -1
  50. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.js +0 -12
  51. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.js.map +1 -1
  52. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts +35 -242
  53. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts.map +1 -1
  54. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.js +1 -19
  55. package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.js.map +1 -1
  56. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.d.ts +1 -10
  57. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.d.ts.map +1 -1
  58. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.js +1 -83
  59. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.js.map +1 -1
  60. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.d.ts +0 -4
  61. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.d.ts.map +1 -1
  62. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.js +6 -75
  63. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.js.map +1 -1
  64. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts +1 -1
  65. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts.map +1 -1
  66. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.js +19 -46
  67. package/dist/lib/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.js.map +1 -1
  68. package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts +10 -241
  69. package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts.map +1 -1
  70. package/dist/lib/modules/limited-time-offer/limited-time-offer.service.d.ts +0 -2
  71. package/dist/lib/modules/limited-time-offer/limited-time-offer.service.d.ts.map +1 -1
  72. package/dist/lib/modules/limited-time-offer/limited-time-offer.service.js +4 -13
  73. package/dist/lib/modules/limited-time-offer/limited-time-offer.service.js.map +1 -1
  74. package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.constants.d.ts +1 -1
  75. package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.constants.js +1 -1
  76. package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.constants.js.map +1 -1
  77. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.builder.d.ts +3 -30
  78. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.builder.d.ts.map +1 -1
  79. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.builder.js +1 -23
  80. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.builder.js.map +1 -1
  81. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts +0 -18
  82. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts.map +1 -1
  83. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.js +0 -103
  84. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.js.map +1 -1
  85. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +2 -187
  86. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts.map +1 -1
  87. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.js +0 -34
  88. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.js.map +1 -1
  89. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +116 -515
  90. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts.map +1 -1
  91. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.js +6 -16
  92. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.js.map +1 -1
  93. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts +4 -11
  94. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts.map +1 -1
  95. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.js +7 -48
  96. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.js.map +1 -1
  97. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts +5 -19
  98. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts.map +1 -1
  99. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.js +16 -114
  100. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.js.map +1 -1
  101. package/dist/lib/modules/marketing/services/marketing.service.d.ts +3 -7
  102. package/dist/lib/modules/marketing/services/marketing.service.d.ts.map +1 -1
  103. package/dist/lib/modules/marketing/services/marketing.service.js +32 -76
  104. package/dist/lib/modules/marketing/services/marketing.service.js.map +1 -1
  105. package/dist/lib/modules/marketing/services/product-marketing.service.d.ts +0 -1
  106. package/dist/lib/modules/marketing/services/product-marketing.service.d.ts.map +1 -1
  107. package/dist/lib/modules/marketing/services/product-marketing.service.js +0 -32
  108. package/dist/lib/modules/marketing/services/product-marketing.service.js.map +1 -1
  109. package/dist/lib/modules/marketing/validations/punch-marketing.validation.d.ts +4 -4
  110. package/dist/lib/modules/referral-setting/validations/referral-setting.validation.d.ts.map +1 -1
  111. package/dist/lib/modules/referral-setting/validations/referral-setting.validation.js.map +1 -1
  112. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.repository.d.ts +2 -3
  113. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.repository.d.ts.map +1 -1
  114. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.repository.js +3 -11
  115. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.repository.js.map +1 -1
  116. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.router.d.ts +0 -16
  117. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.router.d.ts.map +1 -1
  118. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.service.d.ts +2 -2
  119. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.service.d.ts.map +1 -1
  120. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.service.js.map +1 -1
  121. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.validation.d.ts +0 -19
  122. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.validation.d.ts.map +1 -1
  123. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.validation.js +0 -1
  124. package/dist/lib/modules/spend-to-get-history/spend-to-get-history.validation.js.map +1 -1
  125. package/dist/types/index.d.ts +11810 -21
  126. package/dist/types/index.d.ts.map +1 -1
  127. package/dist/types/modules/coupon/routers/coupon.router.d.ts +0 -1074
  128. package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  129. package/dist/types/modules/coupon/services/coupon.service.d.ts +1 -1
  130. package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
  131. package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts +0 -50
  132. package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts.map +1 -1
  133. package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts +0 -822
  134. package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -1
  135. package/dist/types/modules/coupon/validations/create-coupon.validation.d.ts +0 -98
  136. package/dist/types/modules/coupon/validations/create-coupon.validation.d.ts.map +1 -1
  137. package/dist/types/modules/coupon/validations/referral-reward-coupon.validation.d.ts +0 -374
  138. package/dist/types/modules/coupon/validations/referral-reward-coupon.validation.d.ts.map +1 -1
  139. package/dist/types/modules/deal-setting/services/deal-setting.service.d.ts.map +1 -1
  140. package/dist/types/modules/featured-setting/services/featured-setting.service.d.ts.map +1 -1
  141. package/dist/types/modules/limited-time-offer/campaign/campaign.router.d.ts +8 -54
  142. package/dist/types/modules/limited-time-offer/campaign/campaign.router.d.ts.map +1 -1
  143. package/dist/types/modules/limited-time-offer/campaign/jobs/index.d.ts.map +1 -1
  144. package/dist/types/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.d.ts +1 -0
  145. package/dist/types/modules/limited-time-offer/campaign/jobs/limited-time-offer-campaign.worker.d.ts.map +1 -1
  146. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.d.ts +3 -16
  147. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.builder.d.ts.map +1 -1
  148. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.d.ts +0 -2
  149. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.repository.d.ts.map +1 -1
  150. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts +35 -242
  151. package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts.map +1 -1
  152. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.d.ts +1 -10
  153. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-lifecycle.service.d.ts.map +1 -1
  154. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.d.ts +0 -4
  155. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign-scheduler.service.d.ts.map +1 -1
  156. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts +1 -1
  157. package/dist/types/modules/limited-time-offer/campaign/services/limited-time-offer-campaign.service.d.ts.map +1 -1
  158. package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts +10 -241
  159. package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts.map +1 -1
  160. package/dist/types/modules/limited-time-offer/limited-time-offer.service.d.ts +0 -2
  161. package/dist/types/modules/limited-time-offer/limited-time-offer.service.d.ts.map +1 -1
  162. package/dist/types/modules/limited-time-offer/notification/limited-time-offer-notification.constants.d.ts +1 -1
  163. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.builder.d.ts +3 -30
  164. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.builder.d.ts.map +1 -1
  165. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts +0 -18
  166. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts.map +1 -1
  167. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +2 -187
  168. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts.map +1 -1
  169. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +116 -515
  170. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts.map +1 -1
  171. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts +4 -11
  172. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts.map +1 -1
  173. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts +5 -19
  174. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts.map +1 -1
  175. package/dist/types/modules/marketing/services/marketing.service.d.ts +3 -7
  176. package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
  177. package/dist/types/modules/marketing/services/product-marketing.service.d.ts +0 -6
  178. package/dist/types/modules/marketing/services/product-marketing.service.d.ts.map +1 -1
  179. package/dist/types/modules/marketing/validations/punch-marketing.validation.d.ts +4 -4
  180. package/dist/types/modules/referral-setting/validations/referral-setting.validation.d.ts.map +1 -1
  181. package/dist/types/modules/spend-to-get-history/spend-to-get-history.repository.d.ts +2 -3
  182. package/dist/types/modules/spend-to-get-history/spend-to-get-history.repository.d.ts.map +1 -1
  183. package/dist/types/modules/spend-to-get-history/spend-to-get-history.router.d.ts +0 -16
  184. package/dist/types/modules/spend-to-get-history/spend-to-get-history.router.d.ts.map +1 -1
  185. package/dist/types/modules/spend-to-get-history/spend-to-get-history.service.d.ts +2 -2
  186. package/dist/types/modules/spend-to-get-history/spend-to-get-history.service.d.ts.map +1 -1
  187. package/dist/types/modules/spend-to-get-history/spend-to-get-history.validation.d.ts +0 -19
  188. package/dist/types/modules/spend-to-get-history/spend-to-get-history.validation.d.ts.map +1 -1
  189. package/package.json +1 -1
  190. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts +0 -1
  191. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts.map +0 -1
  192. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.js +0 -2
  193. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.js.map +0 -1
  194. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts +0 -1
  195. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts.map +0 -1
@@ -1,5 +1,4 @@
1
1
  import { z } from 'zod';
2
- import { Types } from 'mongoose';
3
2
  import { DTO } from '@lyxa.ai/core/dist/utilities/validation';
4
3
  export declare enum LtoCardState {
5
4
  NONE = "NONE",
@@ -9,51 +8,51 @@ export declare enum LtoCardState {
9
8
  }
10
9
  export declare const JoinLtoCampaignSchema: z.ZodEffects<z.ZodObject<{
11
10
  isEntireMenu: z.ZodBoolean;
12
- products: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>, "many">>;
13
- shopCategories: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>, "many">>;
11
+ products: z.ZodDefault<z.ZodArray<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>]>, "many">>;
12
+ shopCategories: z.ZodDefault<z.ZodArray<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>]>, "many">>;
14
13
  discountPercentage: z.ZodNumber;
15
14
  maxDiscountCap: z.ZodNumber;
16
15
  isOrderCapacityEnabled: z.ZodBoolean;
17
16
  maxOrderCapacity: z.ZodOptional<z.ZodNumber>;
18
17
  }, "strip", z.ZodTypeAny, {
19
18
  isEntireMenu: boolean;
20
- products: Types.ObjectId[];
19
+ products: import("mongoose").Types.ObjectId[];
21
20
  maxDiscountCap: number;
22
21
  discountPercentage: number;
23
22
  isOrderCapacityEnabled: boolean;
24
- shopCategories: Types.ObjectId[];
23
+ shopCategories: import("mongoose").Types.ObjectId[];
25
24
  maxOrderCapacity?: number | undefined;
26
25
  }, {
27
26
  isEntireMenu: boolean;
28
27
  maxDiscountCap: number;
29
28
  discountPercentage: number;
30
29
  isOrderCapacityEnabled: boolean;
31
- products?: (string | Types.ObjectId)[] | undefined;
30
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
32
31
  maxOrderCapacity?: number | undefined;
33
- shopCategories?: (string | Types.ObjectId)[] | undefined;
32
+ shopCategories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
34
33
  }>, {
35
34
  isEntireMenu: boolean;
36
- products: Types.ObjectId[];
35
+ products: import("mongoose").Types.ObjectId[];
37
36
  maxDiscountCap: number;
38
37
  discountPercentage: number;
39
38
  isOrderCapacityEnabled: boolean;
40
- shopCategories: Types.ObjectId[];
39
+ shopCategories: import("mongoose").Types.ObjectId[];
41
40
  maxOrderCapacity?: number | undefined;
42
41
  }, {
43
42
  isEntireMenu: boolean;
44
43
  maxDiscountCap: number;
45
44
  discountPercentage: number;
46
45
  isOrderCapacityEnabled: boolean;
47
- products?: (string | Types.ObjectId)[] | undefined;
46
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
48
47
  maxOrderCapacity?: number | undefined;
49
- shopCategories?: (string | Types.ObjectId)[] | undefined;
48
+ shopCategories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
50
49
  }>;
51
50
  export declare const ParticipantSchema: z.ZodObject<{
52
- _id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>;
53
- campaign: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>;
54
- shop: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>;
51
+ _id: 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>]>;
52
+ campaign: 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
+ 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>]>;
55
54
  joinedAt: z.ZodDate;
56
- products: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>, "many">>;
55
+ products: z.ZodDefault<z.ZodArray<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>]>, "many">>;
57
56
  isEntireMenu: z.ZodBoolean;
58
57
  discountPercentage: z.ZodOptional<z.ZodNumber>;
59
58
  maxDiscountCap: z.ZodOptional<z.ZodNumber>;
@@ -64,12 +63,12 @@ export declare const ParticipantSchema: z.ZodObject<{
64
63
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
65
64
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
66
65
  }, "strip", z.ZodTypeAny, {
67
- _id: Types.ObjectId;
68
- shop: Types.ObjectId;
66
+ _id: import("mongoose").Types.ObjectId;
67
+ shop: import("mongoose").Types.ObjectId;
69
68
  isEntireMenu: boolean;
70
- products: Types.ObjectId[];
69
+ products: import("mongoose").Types.ObjectId[];
71
70
  joinedAt: Date;
72
- campaign: Types.ObjectId;
71
+ campaign: import("mongoose").Types.ObjectId;
73
72
  isOrderCapacityEnabled: boolean;
74
73
  isWithdrawn: boolean;
75
74
  createdAt?: Date | null | undefined;
@@ -79,23 +78,23 @@ export declare const ParticipantSchema: z.ZodObject<{
79
78
  maxOrderCapacity?: number | undefined;
80
79
  withdrawnAt?: Date | null | undefined;
81
80
  }, {
82
- _id: string | Types.ObjectId;
83
- shop: string | Types.ObjectId;
81
+ _id: string | import("mongoose").Types.ObjectId;
82
+ shop: string | import("mongoose").Types.ObjectId;
84
83
  isEntireMenu: boolean;
85
84
  joinedAt: Date;
86
- campaign: string | Types.ObjectId;
85
+ campaign: string | import("mongoose").Types.ObjectId;
87
86
  isOrderCapacityEnabled: boolean;
88
87
  isWithdrawn: boolean;
89
88
  createdAt?: Date | null | undefined;
90
89
  updatedAt?: Date | null | undefined;
91
- products?: (string | Types.ObjectId)[] | undefined;
90
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
92
91
  maxDiscountCap?: number | undefined;
93
92
  discountPercentage?: number | undefined;
94
93
  maxOrderCapacity?: number | undefined;
95
94
  withdrawnAt?: Date | null | undefined;
96
95
  }>;
97
96
  export declare const CampaignSummarySchema: z.ZodObject<{
98
- _id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>;
97
+ _id: 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
98
  title: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
100
99
  subTitle: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
101
100
  startDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -103,7 +102,7 @@ export declare const CampaignSummarySchema: z.ZodObject<{
103
102
  discountOptions: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
104
103
  maxDiscountCaps: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
105
104
  }, "strip", z.ZodTypeAny, {
106
- _id: Types.ObjectId;
105
+ _id: import("mongoose").Types.ObjectId;
107
106
  discountOptions: number[];
108
107
  maxDiscountCaps: number[];
109
108
  startDate?: Date | null | undefined;
@@ -111,7 +110,7 @@ export declare const CampaignSummarySchema: z.ZodObject<{
111
110
  title?: string | undefined;
112
111
  subTitle?: string | undefined;
113
112
  }, {
114
- _id: string | Types.ObjectId;
113
+ _id: string | import("mongoose").Types.ObjectId;
115
114
  startDate?: Date | null | undefined;
116
115
  endDate?: Date | null | undefined;
117
116
  title?: string | undefined;
@@ -126,14 +125,14 @@ export declare const ParticipantSummarySchema: z.ZodObject<{
126
125
  isEntireMenu: z.ZodBoolean;
127
126
  isOrderCapacityEnabled: z.ZodBoolean;
128
127
  maxOrderCapacity: z.ZodOptional<z.ZodNumber>;
129
- productIds: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>, "many">>;
130
- marketingId: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>>;
128
+ productIds: z.ZodDefault<z.ZodArray<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>]>, "many">>;
129
+ marketingId: 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
130
  }, "strip", z.ZodTypeAny, {
132
131
  isEntireMenu: boolean;
133
132
  joinedAt: Date;
134
- productIds: Types.ObjectId[];
133
+ productIds: import("mongoose").Types.ObjectId[];
135
134
  isOrderCapacityEnabled: boolean;
136
- marketingId?: Types.ObjectId | undefined;
135
+ marketingId?: import("mongoose").Types.ObjectId | undefined;
137
136
  maxDiscountCap?: number | undefined;
138
137
  discountPercentage?: number | undefined;
139
138
  maxOrderCapacity?: number | undefined;
@@ -141,8 +140,8 @@ export declare const ParticipantSummarySchema: z.ZodObject<{
141
140
  isEntireMenu: boolean;
142
141
  joinedAt: Date;
143
142
  isOrderCapacityEnabled: boolean;
144
- productIds?: (string | Types.ObjectId)[] | undefined;
145
- marketingId?: string | Types.ObjectId | undefined;
143
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
144
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
146
145
  maxDiscountCap?: number | undefined;
147
146
  discountPercentage?: number | undefined;
148
147
  maxOrderCapacity?: number | undefined;
@@ -150,7 +149,7 @@ export declare const ParticipantSummarySchema: z.ZodObject<{
150
149
  export declare const ParticipantStatusSchema: z.ZodObject<{
151
150
  campaignState: z.ZodNativeEnum<typeof LtoCardState>;
152
151
  campaign: z.ZodOptional<z.ZodObject<{
153
- _id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>;
152
+ _id: 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>]>;
154
153
  title: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
155
154
  subTitle: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
156
155
  startDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -158,7 +157,7 @@ export declare const ParticipantStatusSchema: z.ZodObject<{
158
157
  discountOptions: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
159
158
  maxDiscountCaps: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
160
159
  }, "strip", z.ZodTypeAny, {
161
- _id: Types.ObjectId;
160
+ _id: import("mongoose").Types.ObjectId;
162
161
  discountOptions: number[];
163
162
  maxDiscountCaps: number[];
164
163
  startDate?: Date | null | undefined;
@@ -166,7 +165,7 @@ export declare const ParticipantStatusSchema: z.ZodObject<{
166
165
  title?: string | undefined;
167
166
  subTitle?: string | undefined;
168
167
  }, {
169
- _id: string | Types.ObjectId;
168
+ _id: string | import("mongoose").Types.ObjectId;
170
169
  startDate?: Date | null | undefined;
171
170
  endDate?: Date | null | undefined;
172
171
  title?: string | undefined;
@@ -181,14 +180,14 @@ export declare const ParticipantStatusSchema: z.ZodObject<{
181
180
  isEntireMenu: z.ZodBoolean;
182
181
  isOrderCapacityEnabled: z.ZodBoolean;
183
182
  maxOrderCapacity: z.ZodOptional<z.ZodNumber>;
184
- productIds: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>, "many">>;
185
- marketingId: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>>;
183
+ productIds: z.ZodDefault<z.ZodArray<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>]>, "many">>;
184
+ marketingId: 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>]>>;
186
185
  }, "strip", z.ZodTypeAny, {
187
186
  isEntireMenu: boolean;
188
187
  joinedAt: Date;
189
- productIds: Types.ObjectId[];
188
+ productIds: import("mongoose").Types.ObjectId[];
190
189
  isOrderCapacityEnabled: boolean;
191
- marketingId?: Types.ObjectId | undefined;
190
+ marketingId?: import("mongoose").Types.ObjectId | undefined;
192
191
  maxDiscountCap?: number | undefined;
193
192
  discountPercentage?: number | undefined;
194
193
  maxOrderCapacity?: number | undefined;
@@ -196,8 +195,8 @@ export declare const ParticipantStatusSchema: z.ZodObject<{
196
195
  isEntireMenu: boolean;
197
196
  joinedAt: Date;
198
197
  isOrderCapacityEnabled: boolean;
199
- productIds?: (string | Types.ObjectId)[] | undefined;
200
- marketingId?: string | Types.ObjectId | undefined;
198
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
199
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
201
200
  maxDiscountCap?: number | undefined;
202
201
  discountPercentage?: number | undefined;
203
202
  maxOrderCapacity?: number | undefined;
@@ -205,7 +204,7 @@ export declare const ParticipantStatusSchema: z.ZodObject<{
205
204
  }, "strip", z.ZodTypeAny, {
206
205
  campaignState: LtoCardState;
207
206
  campaign?: {
208
- _id: Types.ObjectId;
207
+ _id: import("mongoose").Types.ObjectId;
209
208
  discountOptions: number[];
210
209
  maxDiscountCaps: number[];
211
210
  startDate?: Date | null | undefined;
@@ -216,9 +215,9 @@ export declare const ParticipantStatusSchema: z.ZodObject<{
216
215
  participant?: {
217
216
  isEntireMenu: boolean;
218
217
  joinedAt: Date;
219
- productIds: Types.ObjectId[];
218
+ productIds: import("mongoose").Types.ObjectId[];
220
219
  isOrderCapacityEnabled: boolean;
221
- marketingId?: Types.ObjectId | undefined;
220
+ marketingId?: import("mongoose").Types.ObjectId | undefined;
222
221
  maxDiscountCap?: number | undefined;
223
222
  discountPercentage?: number | undefined;
224
223
  maxOrderCapacity?: number | undefined;
@@ -226,7 +225,7 @@ export declare const ParticipantStatusSchema: z.ZodObject<{
226
225
  }, {
227
226
  campaignState: LtoCardState;
228
227
  campaign?: {
229
- _id: string | Types.ObjectId;
228
+ _id: string | import("mongoose").Types.ObjectId;
230
229
  startDate?: Date | null | undefined;
231
230
  endDate?: Date | null | undefined;
232
231
  title?: string | undefined;
@@ -238,8 +237,8 @@ export declare const ParticipantStatusSchema: z.ZodObject<{
238
237
  isEntireMenu: boolean;
239
238
  joinedAt: Date;
240
239
  isOrderCapacityEnabled: boolean;
241
- productIds?: (string | Types.ObjectId)[] | undefined;
242
- marketingId?: string | Types.ObjectId | undefined;
240
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
241
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
243
242
  maxDiscountCap?: number | undefined;
244
243
  discountPercentage?: number | undefined;
245
244
  maxOrderCapacity?: number | undefined;
@@ -266,31 +265,31 @@ export declare const ParticipantResponseSchema: z.ZodObject<{
266
265
  totalPages: number;
267
266
  }>>;
268
267
  documents: z.ZodArray<z.ZodType<{
269
- _id: string | Types.ObjectId;
270
- shop: string | Types.ObjectId;
268
+ _id: string | import("mongoose").Types.ObjectId;
269
+ shop: string | import("mongoose").Types.ObjectId;
271
270
  isEntireMenu: boolean;
272
271
  joinedAt: Date;
273
- campaign: string | Types.ObjectId;
272
+ campaign: string | import("mongoose").Types.ObjectId;
274
273
  isOrderCapacityEnabled: boolean;
275
274
  isWithdrawn: boolean;
276
275
  createdAt?: Date | null | undefined;
277
276
  updatedAt?: Date | null | undefined;
278
- products?: (string | Types.ObjectId)[] | undefined;
277
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
279
278
  maxDiscountCap?: number | undefined;
280
279
  discountPercentage?: number | undefined;
281
280
  maxOrderCapacity?: number | undefined;
282
281
  withdrawnAt?: Date | null | undefined;
283
282
  }, z.ZodTypeDef, {
284
- _id: string | Types.ObjectId;
285
- shop: string | Types.ObjectId;
283
+ _id: string | import("mongoose").Types.ObjectId;
284
+ shop: string | import("mongoose").Types.ObjectId;
286
285
  isEntireMenu: boolean;
287
286
  joinedAt: Date;
288
- campaign: string | Types.ObjectId;
287
+ campaign: string | import("mongoose").Types.ObjectId;
289
288
  isOrderCapacityEnabled: boolean;
290
289
  isWithdrawn: boolean;
291
290
  createdAt?: Date | null | undefined;
292
291
  updatedAt?: Date | null | undefined;
293
- products?: (string | Types.ObjectId)[] | undefined;
292
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
294
293
  maxDiscountCap?: number | undefined;
295
294
  discountPercentage?: number | undefined;
296
295
  maxOrderCapacity?: number | undefined;
@@ -298,16 +297,16 @@ export declare const ParticipantResponseSchema: z.ZodObject<{
298
297
  }>, "many">;
299
298
  }, "strip", z.ZodTypeAny, {
300
299
  documents: {
301
- _id: string | Types.ObjectId;
302
- shop: string | Types.ObjectId;
300
+ _id: string | import("mongoose").Types.ObjectId;
301
+ shop: string | import("mongoose").Types.ObjectId;
303
302
  isEntireMenu: boolean;
304
303
  joinedAt: Date;
305
- campaign: string | Types.ObjectId;
304
+ campaign: string | import("mongoose").Types.ObjectId;
306
305
  isOrderCapacityEnabled: boolean;
307
306
  isWithdrawn: boolean;
308
307
  createdAt?: Date | null | undefined;
309
308
  updatedAt?: Date | null | undefined;
310
- products?: (string | Types.ObjectId)[] | undefined;
309
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
311
310
  maxDiscountCap?: number | undefined;
312
311
  discountPercentage?: number | undefined;
313
312
  maxOrderCapacity?: number | undefined;
@@ -321,16 +320,16 @@ export declare const ParticipantResponseSchema: z.ZodObject<{
321
320
  } | undefined;
322
321
  }, {
323
322
  documents: {
324
- _id: string | Types.ObjectId;
325
- shop: string | Types.ObjectId;
323
+ _id: string | import("mongoose").Types.ObjectId;
324
+ shop: string | import("mongoose").Types.ObjectId;
326
325
  isEntireMenu: boolean;
327
326
  joinedAt: Date;
328
- campaign: string | Types.ObjectId;
327
+ campaign: string | import("mongoose").Types.ObjectId;
329
328
  isOrderCapacityEnabled: boolean;
330
329
  isWithdrawn: boolean;
331
330
  createdAt?: Date | null | undefined;
332
331
  updatedAt?: Date | null | undefined;
333
- products?: (string | Types.ObjectId)[] | undefined;
332
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
334
333
  maxDiscountCap?: number | undefined;
335
334
  discountPercentage?: number | undefined;
336
335
  maxOrderCapacity?: number | undefined;
@@ -343,31 +342,31 @@ export declare const ParticipantResponseSchema: z.ZodObject<{
343
342
  totalPages: number;
344
343
  } | undefined;
345
344
  }>, z.ZodType<{
346
- _id: string | Types.ObjectId;
347
- shop: string | Types.ObjectId;
345
+ _id: string | import("mongoose").Types.ObjectId;
346
+ shop: string | import("mongoose").Types.ObjectId;
348
347
  isEntireMenu: boolean;
349
348
  joinedAt: Date;
350
- campaign: string | Types.ObjectId;
349
+ campaign: string | import("mongoose").Types.ObjectId;
351
350
  isOrderCapacityEnabled: boolean;
352
351
  isWithdrawn: boolean;
353
352
  createdAt?: Date | null | undefined;
354
353
  updatedAt?: Date | null | undefined;
355
- products?: (string | Types.ObjectId)[] | undefined;
354
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
356
355
  maxDiscountCap?: number | undefined;
357
356
  discountPercentage?: number | undefined;
358
357
  maxOrderCapacity?: number | undefined;
359
358
  withdrawnAt?: Date | null | undefined;
360
359
  }, z.ZodTypeDef, {
361
- _id: string | Types.ObjectId;
362
- shop: string | Types.ObjectId;
360
+ _id: string | import("mongoose").Types.ObjectId;
361
+ shop: string | import("mongoose").Types.ObjectId;
363
362
  isEntireMenu: boolean;
364
363
  joinedAt: Date;
365
- campaign: string | Types.ObjectId;
364
+ campaign: string | import("mongoose").Types.ObjectId;
366
365
  isOrderCapacityEnabled: boolean;
367
366
  isWithdrawn: boolean;
368
367
  createdAt?: Date | null | undefined;
369
368
  updatedAt?: Date | null | undefined;
370
- products?: (string | Types.ObjectId)[] | undefined;
369
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
371
370
  maxDiscountCap?: number | undefined;
372
371
  discountPercentage?: number | undefined;
373
372
  maxOrderCapacity?: number | undefined;
@@ -377,32 +376,32 @@ export declare const ParticipantResponseSchema: z.ZodObject<{
377
376
  message: string;
378
377
  success: boolean;
379
378
  data?: {
380
- _id: string | Types.ObjectId;
381
- shop: string | Types.ObjectId;
379
+ _id: string | import("mongoose").Types.ObjectId;
380
+ shop: string | import("mongoose").Types.ObjectId;
382
381
  isEntireMenu: boolean;
383
382
  joinedAt: Date;
384
- campaign: string | Types.ObjectId;
383
+ campaign: string | import("mongoose").Types.ObjectId;
385
384
  isOrderCapacityEnabled: boolean;
386
385
  isWithdrawn: boolean;
387
386
  createdAt?: Date | null | undefined;
388
387
  updatedAt?: Date | null | undefined;
389
- products?: (string | Types.ObjectId)[] | undefined;
388
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
390
389
  maxDiscountCap?: number | undefined;
391
390
  discountPercentage?: number | undefined;
392
391
  maxOrderCapacity?: number | undefined;
393
392
  withdrawnAt?: Date | null | undefined;
394
393
  } | {
395
394
  documents: {
396
- _id: string | Types.ObjectId;
397
- shop: string | Types.ObjectId;
395
+ _id: string | import("mongoose").Types.ObjectId;
396
+ shop: string | import("mongoose").Types.ObjectId;
398
397
  isEntireMenu: boolean;
399
398
  joinedAt: Date;
400
- campaign: string | Types.ObjectId;
399
+ campaign: string | import("mongoose").Types.ObjectId;
401
400
  isOrderCapacityEnabled: boolean;
402
401
  isWithdrawn: boolean;
403
402
  createdAt?: Date | null | undefined;
404
403
  updatedAt?: Date | null | undefined;
405
- products?: (string | Types.ObjectId)[] | undefined;
404
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
406
405
  maxDiscountCap?: number | undefined;
407
406
  discountPercentage?: number | undefined;
408
407
  maxOrderCapacity?: number | undefined;
@@ -419,32 +418,32 @@ export declare const ParticipantResponseSchema: z.ZodObject<{
419
418
  message: string;
420
419
  success: boolean;
421
420
  data?: {
422
- _id: string | Types.ObjectId;
423
- shop: string | Types.ObjectId;
421
+ _id: string | import("mongoose").Types.ObjectId;
422
+ shop: string | import("mongoose").Types.ObjectId;
424
423
  isEntireMenu: boolean;
425
424
  joinedAt: Date;
426
- campaign: string | Types.ObjectId;
425
+ campaign: string | import("mongoose").Types.ObjectId;
427
426
  isOrderCapacityEnabled: boolean;
428
427
  isWithdrawn: boolean;
429
428
  createdAt?: Date | null | undefined;
430
429
  updatedAt?: Date | null | undefined;
431
- products?: (string | Types.ObjectId)[] | undefined;
430
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
432
431
  maxDiscountCap?: number | undefined;
433
432
  discountPercentage?: number | undefined;
434
433
  maxOrderCapacity?: number | undefined;
435
434
  withdrawnAt?: Date | null | undefined;
436
435
  } | {
437
436
  documents: {
438
- _id: string | Types.ObjectId;
439
- shop: string | Types.ObjectId;
437
+ _id: string | import("mongoose").Types.ObjectId;
438
+ shop: string | import("mongoose").Types.ObjectId;
440
439
  isEntireMenu: boolean;
441
440
  joinedAt: Date;
442
- campaign: string | Types.ObjectId;
441
+ campaign: string | import("mongoose").Types.ObjectId;
443
442
  isOrderCapacityEnabled: boolean;
444
443
  isWithdrawn: boolean;
445
444
  createdAt?: Date | null | undefined;
446
445
  updatedAt?: Date | null | undefined;
447
- products?: (string | Types.ObjectId)[] | undefined;
446
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
448
447
  maxDiscountCap?: number | undefined;
449
448
  discountPercentage?: number | undefined;
450
449
  maxOrderCapacity?: number | undefined;
@@ -481,7 +480,7 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
481
480
  documents: z.ZodArray<z.ZodType<{
482
481
  campaignState: LtoCardState;
483
482
  campaign?: {
484
- _id: string | Types.ObjectId;
483
+ _id: string | import("mongoose").Types.ObjectId;
485
484
  startDate?: Date | null | undefined;
486
485
  endDate?: Date | null | undefined;
487
486
  title?: string | undefined;
@@ -493,8 +492,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
493
492
  isEntireMenu: boolean;
494
493
  joinedAt: Date;
495
494
  isOrderCapacityEnabled: boolean;
496
- productIds?: (string | Types.ObjectId)[] | undefined;
497
- marketingId?: string | Types.ObjectId | undefined;
495
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
496
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
498
497
  maxDiscountCap?: number | undefined;
499
498
  discountPercentage?: number | undefined;
500
499
  maxOrderCapacity?: number | undefined;
@@ -502,7 +501,7 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
502
501
  }, z.ZodTypeDef, {
503
502
  campaignState: LtoCardState;
504
503
  campaign?: {
505
- _id: string | Types.ObjectId;
504
+ _id: string | import("mongoose").Types.ObjectId;
506
505
  startDate?: Date | null | undefined;
507
506
  endDate?: Date | null | undefined;
508
507
  title?: string | undefined;
@@ -514,8 +513,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
514
513
  isEntireMenu: boolean;
515
514
  joinedAt: Date;
516
515
  isOrderCapacityEnabled: boolean;
517
- productIds?: (string | Types.ObjectId)[] | undefined;
518
- marketingId?: string | Types.ObjectId | undefined;
516
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
517
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
519
518
  maxDiscountCap?: number | undefined;
520
519
  discountPercentage?: number | undefined;
521
520
  maxOrderCapacity?: number | undefined;
@@ -525,7 +524,7 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
525
524
  documents: {
526
525
  campaignState: LtoCardState;
527
526
  campaign?: {
528
- _id: string | Types.ObjectId;
527
+ _id: string | import("mongoose").Types.ObjectId;
529
528
  startDate?: Date | null | undefined;
530
529
  endDate?: Date | null | undefined;
531
530
  title?: string | undefined;
@@ -537,8 +536,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
537
536
  isEntireMenu: boolean;
538
537
  joinedAt: Date;
539
538
  isOrderCapacityEnabled: boolean;
540
- productIds?: (string | Types.ObjectId)[] | undefined;
541
- marketingId?: string | Types.ObjectId | undefined;
539
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
540
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
542
541
  maxDiscountCap?: number | undefined;
543
542
  discountPercentage?: number | undefined;
544
543
  maxOrderCapacity?: number | undefined;
@@ -554,7 +553,7 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
554
553
  documents: {
555
554
  campaignState: LtoCardState;
556
555
  campaign?: {
557
- _id: string | Types.ObjectId;
556
+ _id: string | import("mongoose").Types.ObjectId;
558
557
  startDate?: Date | null | undefined;
559
558
  endDate?: Date | null | undefined;
560
559
  title?: string | undefined;
@@ -566,8 +565,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
566
565
  isEntireMenu: boolean;
567
566
  joinedAt: Date;
568
567
  isOrderCapacityEnabled: boolean;
569
- productIds?: (string | Types.ObjectId)[] | undefined;
570
- marketingId?: string | Types.ObjectId | undefined;
568
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
569
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
571
570
  maxDiscountCap?: number | undefined;
572
571
  discountPercentage?: number | undefined;
573
572
  maxOrderCapacity?: number | undefined;
@@ -582,7 +581,7 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
582
581
  }>, z.ZodType<{
583
582
  campaignState: LtoCardState;
584
583
  campaign?: {
585
- _id: string | Types.ObjectId;
584
+ _id: string | import("mongoose").Types.ObjectId;
586
585
  startDate?: Date | null | undefined;
587
586
  endDate?: Date | null | undefined;
588
587
  title?: string | undefined;
@@ -594,8 +593,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
594
593
  isEntireMenu: boolean;
595
594
  joinedAt: Date;
596
595
  isOrderCapacityEnabled: boolean;
597
- productIds?: (string | Types.ObjectId)[] | undefined;
598
- marketingId?: string | Types.ObjectId | undefined;
596
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
597
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
599
598
  maxDiscountCap?: number | undefined;
600
599
  discountPercentage?: number | undefined;
601
600
  maxOrderCapacity?: number | undefined;
@@ -603,7 +602,7 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
603
602
  }, z.ZodTypeDef, {
604
603
  campaignState: LtoCardState;
605
604
  campaign?: {
606
- _id: string | Types.ObjectId;
605
+ _id: string | import("mongoose").Types.ObjectId;
607
606
  startDate?: Date | null | undefined;
608
607
  endDate?: Date | null | undefined;
609
608
  title?: string | undefined;
@@ -615,8 +614,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
615
614
  isEntireMenu: boolean;
616
615
  joinedAt: Date;
617
616
  isOrderCapacityEnabled: boolean;
618
- productIds?: (string | Types.ObjectId)[] | undefined;
619
- marketingId?: string | Types.ObjectId | undefined;
617
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
618
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
620
619
  maxDiscountCap?: number | undefined;
621
620
  discountPercentage?: number | undefined;
622
621
  maxOrderCapacity?: number | undefined;
@@ -628,7 +627,7 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
628
627
  data?: {
629
628
  campaignState: LtoCardState;
630
629
  campaign?: {
631
- _id: string | Types.ObjectId;
630
+ _id: string | import("mongoose").Types.ObjectId;
632
631
  startDate?: Date | null | undefined;
633
632
  endDate?: Date | null | undefined;
634
633
  title?: string | undefined;
@@ -640,8 +639,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
640
639
  isEntireMenu: boolean;
641
640
  joinedAt: Date;
642
641
  isOrderCapacityEnabled: boolean;
643
- productIds?: (string | Types.ObjectId)[] | undefined;
644
- marketingId?: string | Types.ObjectId | undefined;
642
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
643
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
645
644
  maxDiscountCap?: number | undefined;
646
645
  discountPercentage?: number | undefined;
647
646
  maxOrderCapacity?: number | undefined;
@@ -650,7 +649,7 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
650
649
  documents: {
651
650
  campaignState: LtoCardState;
652
651
  campaign?: {
653
- _id: string | Types.ObjectId;
652
+ _id: string | import("mongoose").Types.ObjectId;
654
653
  startDate?: Date | null | undefined;
655
654
  endDate?: Date | null | undefined;
656
655
  title?: string | undefined;
@@ -662,8 +661,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
662
661
  isEntireMenu: boolean;
663
662
  joinedAt: Date;
664
663
  isOrderCapacityEnabled: boolean;
665
- productIds?: (string | Types.ObjectId)[] | undefined;
666
- marketingId?: string | Types.ObjectId | undefined;
664
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
665
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
667
666
  maxDiscountCap?: number | undefined;
668
667
  discountPercentage?: number | undefined;
669
668
  maxOrderCapacity?: number | undefined;
@@ -682,7 +681,7 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
682
681
  data?: {
683
682
  campaignState: LtoCardState;
684
683
  campaign?: {
685
- _id: string | Types.ObjectId;
684
+ _id: string | import("mongoose").Types.ObjectId;
686
685
  startDate?: Date | null | undefined;
687
686
  endDate?: Date | null | undefined;
688
687
  title?: string | undefined;
@@ -694,8 +693,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
694
693
  isEntireMenu: boolean;
695
694
  joinedAt: Date;
696
695
  isOrderCapacityEnabled: boolean;
697
- productIds?: (string | Types.ObjectId)[] | undefined;
698
- marketingId?: string | Types.ObjectId | undefined;
696
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
697
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
699
698
  maxDiscountCap?: number | undefined;
700
699
  discountPercentage?: number | undefined;
701
700
  maxOrderCapacity?: number | undefined;
@@ -704,7 +703,7 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
704
703
  documents: {
705
704
  campaignState: LtoCardState;
706
705
  campaign?: {
707
- _id: string | Types.ObjectId;
706
+ _id: string | import("mongoose").Types.ObjectId;
708
707
  startDate?: Date | null | undefined;
709
708
  endDate?: Date | null | undefined;
710
709
  title?: string | undefined;
@@ -716,8 +715,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
716
715
  isEntireMenu: boolean;
717
716
  joinedAt: Date;
718
717
  isOrderCapacityEnabled: boolean;
719
- productIds?: (string | Types.ObjectId)[] | undefined;
720
- marketingId?: string | Types.ObjectId | undefined;
718
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
719
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
721
720
  maxDiscountCap?: number | undefined;
722
721
  discountPercentage?: number | undefined;
723
722
  maxOrderCapacity?: number | undefined;
@@ -731,401 +730,6 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
731
730
  } | undefined;
732
731
  } | undefined;
733
732
  }>;
734
- export declare const AdminEnrollShopEntrySchema: z.ZodEffects<z.ZodObject<{
735
- isEntireMenu: z.ZodBoolean;
736
- products: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>, "many">>;
737
- shopCategories: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>, "many">>;
738
- discountPercentage: z.ZodNumber;
739
- maxDiscountCap: z.ZodNumber;
740
- isOrderCapacityEnabled: z.ZodBoolean;
741
- maxOrderCapacity: z.ZodOptional<z.ZodNumber>;
742
- } & {
743
- shopId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>;
744
- }, "strip", z.ZodTypeAny, {
745
- isEntireMenu: boolean;
746
- shopId: Types.ObjectId;
747
- products: Types.ObjectId[];
748
- maxDiscountCap: number;
749
- discountPercentage: number;
750
- isOrderCapacityEnabled: boolean;
751
- shopCategories: Types.ObjectId[];
752
- maxOrderCapacity?: number | undefined;
753
- }, {
754
- isEntireMenu: boolean;
755
- shopId: string | Types.ObjectId;
756
- maxDiscountCap: number;
757
- discountPercentage: number;
758
- isOrderCapacityEnabled: boolean;
759
- products?: (string | Types.ObjectId)[] | undefined;
760
- maxOrderCapacity?: number | undefined;
761
- shopCategories?: (string | Types.ObjectId)[] | undefined;
762
- }>, {
763
- isEntireMenu: boolean;
764
- shopId: Types.ObjectId;
765
- products: Types.ObjectId[];
766
- maxDiscountCap: number;
767
- discountPercentage: number;
768
- isOrderCapacityEnabled: boolean;
769
- shopCategories: Types.ObjectId[];
770
- maxOrderCapacity?: number | undefined;
771
- }, {
772
- isEntireMenu: boolean;
773
- shopId: string | Types.ObjectId;
774
- maxDiscountCap: number;
775
- discountPercentage: number;
776
- isOrderCapacityEnabled: boolean;
777
- products?: (string | Types.ObjectId)[] | undefined;
778
- maxOrderCapacity?: number | undefined;
779
- shopCategories?: (string | Types.ObjectId)[] | undefined;
780
- }>;
781
- export declare const AdminEnrollShopsSchema: z.ZodObject<{
782
- shops: z.ZodArray<z.ZodEffects<z.ZodObject<{
783
- isEntireMenu: z.ZodBoolean;
784
- products: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>, "many">>;
785
- shopCategories: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>, "many">>;
786
- discountPercentage: z.ZodNumber;
787
- maxDiscountCap: z.ZodNumber;
788
- isOrderCapacityEnabled: z.ZodBoolean;
789
- maxOrderCapacity: z.ZodOptional<z.ZodNumber>;
790
- } & {
791
- shopId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>;
792
- }, "strip", z.ZodTypeAny, {
793
- isEntireMenu: boolean;
794
- shopId: Types.ObjectId;
795
- products: Types.ObjectId[];
796
- maxDiscountCap: number;
797
- discountPercentage: number;
798
- isOrderCapacityEnabled: boolean;
799
- shopCategories: Types.ObjectId[];
800
- maxOrderCapacity?: number | undefined;
801
- }, {
802
- isEntireMenu: boolean;
803
- shopId: string | Types.ObjectId;
804
- maxDiscountCap: number;
805
- discountPercentage: number;
806
- isOrderCapacityEnabled: boolean;
807
- products?: (string | Types.ObjectId)[] | undefined;
808
- maxOrderCapacity?: number | undefined;
809
- shopCategories?: (string | Types.ObjectId)[] | undefined;
810
- }>, {
811
- isEntireMenu: boolean;
812
- shopId: Types.ObjectId;
813
- products: Types.ObjectId[];
814
- maxDiscountCap: number;
815
- discountPercentage: number;
816
- isOrderCapacityEnabled: boolean;
817
- shopCategories: Types.ObjectId[];
818
- maxOrderCapacity?: number | undefined;
819
- }, {
820
- isEntireMenu: boolean;
821
- shopId: string | Types.ObjectId;
822
- maxDiscountCap: number;
823
- discountPercentage: number;
824
- isOrderCapacityEnabled: boolean;
825
- products?: (string | Types.ObjectId)[] | undefined;
826
- maxOrderCapacity?: number | undefined;
827
- shopCategories?: (string | Types.ObjectId)[] | undefined;
828
- }>, "many">;
829
- }, "strip", z.ZodTypeAny, {
830
- shops: {
831
- isEntireMenu: boolean;
832
- shopId: Types.ObjectId;
833
- products: Types.ObjectId[];
834
- maxDiscountCap: number;
835
- discountPercentage: number;
836
- isOrderCapacityEnabled: boolean;
837
- shopCategories: Types.ObjectId[];
838
- maxOrderCapacity?: number | undefined;
839
- }[];
840
- }, {
841
- shops: {
842
- isEntireMenu: boolean;
843
- shopId: string | Types.ObjectId;
844
- maxDiscountCap: number;
845
- discountPercentage: number;
846
- isOrderCapacityEnabled: boolean;
847
- products?: (string | Types.ObjectId)[] | undefined;
848
- maxOrderCapacity?: number | undefined;
849
- shopCategories?: (string | Types.ObjectId)[] | undefined;
850
- }[];
851
- }>;
852
- export declare const AdminJoinParticipantsResponseSchema: z.ZodObject<{
853
- success: z.ZodBoolean;
854
- message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
855
- data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
856
- metadata: z.ZodOptional<z.ZodObject<{
857
- page: z.ZodNumber;
858
- size: z.ZodNumber;
859
- totalElements: z.ZodNumber;
860
- totalPages: z.ZodNumber;
861
- }, "strip", z.ZodTypeAny, {
862
- size: number;
863
- page: number;
864
- totalElements: number;
865
- totalPages: number;
866
- }, {
867
- size: number;
868
- page: number;
869
- totalElements: number;
870
- totalPages: number;
871
- }>>;
872
- documents: z.ZodArray<z.ZodType<{
873
- _id: string | Types.ObjectId;
874
- shop: string | Types.ObjectId;
875
- isEntireMenu: boolean;
876
- joinedAt: Date;
877
- campaign: string | Types.ObjectId;
878
- isOrderCapacityEnabled: boolean;
879
- isWithdrawn: boolean;
880
- createdAt?: Date | null | undefined;
881
- updatedAt?: Date | null | undefined;
882
- products?: (string | Types.ObjectId)[] | undefined;
883
- maxDiscountCap?: number | undefined;
884
- discountPercentage?: number | undefined;
885
- maxOrderCapacity?: number | undefined;
886
- withdrawnAt?: Date | null | undefined;
887
- }[], z.ZodTypeDef, {
888
- _id: string | Types.ObjectId;
889
- shop: string | Types.ObjectId;
890
- isEntireMenu: boolean;
891
- joinedAt: Date;
892
- campaign: string | Types.ObjectId;
893
- isOrderCapacityEnabled: boolean;
894
- isWithdrawn: boolean;
895
- createdAt?: Date | null | undefined;
896
- updatedAt?: Date | null | undefined;
897
- products?: (string | Types.ObjectId)[] | undefined;
898
- maxDiscountCap?: number | undefined;
899
- discountPercentage?: number | undefined;
900
- maxOrderCapacity?: number | undefined;
901
- withdrawnAt?: Date | null | undefined;
902
- }[]>, "many">;
903
- }, "strip", z.ZodTypeAny, {
904
- documents: {
905
- _id: string | Types.ObjectId;
906
- shop: string | Types.ObjectId;
907
- isEntireMenu: boolean;
908
- joinedAt: Date;
909
- campaign: string | Types.ObjectId;
910
- isOrderCapacityEnabled: boolean;
911
- isWithdrawn: boolean;
912
- createdAt?: Date | null | undefined;
913
- updatedAt?: Date | null | undefined;
914
- products?: (string | Types.ObjectId)[] | undefined;
915
- maxDiscountCap?: number | undefined;
916
- discountPercentage?: number | undefined;
917
- maxOrderCapacity?: number | undefined;
918
- withdrawnAt?: Date | null | undefined;
919
- }[][];
920
- metadata?: {
921
- size: number;
922
- page: number;
923
- totalElements: number;
924
- totalPages: number;
925
- } | undefined;
926
- }, {
927
- documents: {
928
- _id: string | Types.ObjectId;
929
- shop: string | Types.ObjectId;
930
- isEntireMenu: boolean;
931
- joinedAt: Date;
932
- campaign: string | Types.ObjectId;
933
- isOrderCapacityEnabled: boolean;
934
- isWithdrawn: boolean;
935
- createdAt?: Date | null | undefined;
936
- updatedAt?: Date | null | undefined;
937
- products?: (string | Types.ObjectId)[] | undefined;
938
- maxDiscountCap?: number | undefined;
939
- discountPercentage?: number | undefined;
940
- maxOrderCapacity?: number | undefined;
941
- withdrawnAt?: Date | null | undefined;
942
- }[][];
943
- metadata?: {
944
- size: number;
945
- page: number;
946
- totalElements: number;
947
- totalPages: number;
948
- } | undefined;
949
- }>, z.ZodType<{
950
- _id: string | Types.ObjectId;
951
- shop: string | Types.ObjectId;
952
- isEntireMenu: boolean;
953
- joinedAt: Date;
954
- campaign: string | Types.ObjectId;
955
- isOrderCapacityEnabled: boolean;
956
- isWithdrawn: boolean;
957
- createdAt?: Date | null | undefined;
958
- updatedAt?: Date | null | undefined;
959
- products?: (string | Types.ObjectId)[] | undefined;
960
- maxDiscountCap?: number | undefined;
961
- discountPercentage?: number | undefined;
962
- maxOrderCapacity?: number | undefined;
963
- withdrawnAt?: Date | null | undefined;
964
- }[], z.ZodTypeDef, {
965
- _id: string | Types.ObjectId;
966
- shop: string | Types.ObjectId;
967
- isEntireMenu: boolean;
968
- joinedAt: Date;
969
- campaign: string | Types.ObjectId;
970
- isOrderCapacityEnabled: boolean;
971
- isWithdrawn: boolean;
972
- createdAt?: Date | null | undefined;
973
- updatedAt?: Date | null | undefined;
974
- products?: (string | Types.ObjectId)[] | undefined;
975
- maxDiscountCap?: number | undefined;
976
- discountPercentage?: number | undefined;
977
- maxOrderCapacity?: number | undefined;
978
- withdrawnAt?: Date | null | undefined;
979
- }[]>]>>;
980
- }, "strip", z.ZodTypeAny, {
981
- message: string;
982
- success: boolean;
983
- data?: {
984
- _id: string | Types.ObjectId;
985
- shop: string | Types.ObjectId;
986
- isEntireMenu: boolean;
987
- joinedAt: Date;
988
- campaign: string | Types.ObjectId;
989
- isOrderCapacityEnabled: boolean;
990
- isWithdrawn: boolean;
991
- createdAt?: Date | null | undefined;
992
- updatedAt?: Date | null | undefined;
993
- products?: (string | Types.ObjectId)[] | undefined;
994
- maxDiscountCap?: number | undefined;
995
- discountPercentage?: number | undefined;
996
- maxOrderCapacity?: number | undefined;
997
- withdrawnAt?: Date | null | undefined;
998
- }[] | {
999
- documents: {
1000
- _id: string | Types.ObjectId;
1001
- shop: string | Types.ObjectId;
1002
- isEntireMenu: boolean;
1003
- joinedAt: Date;
1004
- campaign: string | Types.ObjectId;
1005
- isOrderCapacityEnabled: boolean;
1006
- isWithdrawn: boolean;
1007
- createdAt?: Date | null | undefined;
1008
- updatedAt?: Date | null | undefined;
1009
- products?: (string | Types.ObjectId)[] | undefined;
1010
- maxDiscountCap?: number | undefined;
1011
- discountPercentage?: number | undefined;
1012
- maxOrderCapacity?: number | undefined;
1013
- withdrawnAt?: Date | null | undefined;
1014
- }[][];
1015
- metadata?: {
1016
- size: number;
1017
- page: number;
1018
- totalElements: number;
1019
- totalPages: number;
1020
- } | undefined;
1021
- } | undefined;
1022
- }, {
1023
- message: string;
1024
- success: boolean;
1025
- data?: {
1026
- _id: string | Types.ObjectId;
1027
- shop: string | Types.ObjectId;
1028
- isEntireMenu: boolean;
1029
- joinedAt: Date;
1030
- campaign: string | Types.ObjectId;
1031
- isOrderCapacityEnabled: boolean;
1032
- isWithdrawn: boolean;
1033
- createdAt?: Date | null | undefined;
1034
- updatedAt?: Date | null | undefined;
1035
- products?: (string | Types.ObjectId)[] | undefined;
1036
- maxDiscountCap?: number | undefined;
1037
- discountPercentage?: number | undefined;
1038
- maxOrderCapacity?: number | undefined;
1039
- withdrawnAt?: Date | null | undefined;
1040
- }[] | {
1041
- documents: {
1042
- _id: string | Types.ObjectId;
1043
- shop: string | Types.ObjectId;
1044
- isEntireMenu: boolean;
1045
- joinedAt: Date;
1046
- campaign: string | Types.ObjectId;
1047
- isOrderCapacityEnabled: boolean;
1048
- isWithdrawn: boolean;
1049
- createdAt?: Date | null | undefined;
1050
- updatedAt?: Date | null | undefined;
1051
- products?: (string | Types.ObjectId)[] | undefined;
1052
- maxDiscountCap?: number | undefined;
1053
- discountPercentage?: number | undefined;
1054
- maxOrderCapacity?: number | undefined;
1055
- withdrawnAt?: Date | null | undefined;
1056
- }[][];
1057
- metadata?: {
1058
- size: number;
1059
- page: number;
1060
- totalElements: number;
1061
- totalPages: number;
1062
- } | undefined;
1063
- } | undefined;
1064
- }>;
1065
- export declare const AdminUpdateShopSchema: z.ZodEffects<z.ZodObject<{
1066
- isEntireMenu: z.ZodBoolean;
1067
- products: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>, "many">>;
1068
- shopCategories: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>, "many">>;
1069
- discountPercentage: z.ZodNumber;
1070
- maxDiscountCap: z.ZodNumber;
1071
- isOrderCapacityEnabled: z.ZodBoolean;
1072
- maxOrderCapacity: z.ZodOptional<z.ZodNumber>;
1073
- } & {
1074
- shopId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>;
1075
- }, "strip", z.ZodTypeAny, {
1076
- isEntireMenu: boolean;
1077
- shopId: Types.ObjectId;
1078
- products: Types.ObjectId[];
1079
- maxDiscountCap: number;
1080
- discountPercentage: number;
1081
- isOrderCapacityEnabled: boolean;
1082
- shopCategories: Types.ObjectId[];
1083
- maxOrderCapacity?: number | undefined;
1084
- }, {
1085
- isEntireMenu: boolean;
1086
- shopId: string | Types.ObjectId;
1087
- maxDiscountCap: number;
1088
- discountPercentage: number;
1089
- isOrderCapacityEnabled: boolean;
1090
- products?: (string | Types.ObjectId)[] | undefined;
1091
- maxOrderCapacity?: number | undefined;
1092
- shopCategories?: (string | Types.ObjectId)[] | undefined;
1093
- }>, {
1094
- isEntireMenu: boolean;
1095
- shopId: Types.ObjectId;
1096
- products: Types.ObjectId[];
1097
- maxDiscountCap: number;
1098
- discountPercentage: number;
1099
- isOrderCapacityEnabled: boolean;
1100
- shopCategories: Types.ObjectId[];
1101
- maxOrderCapacity?: number | undefined;
1102
- }, {
1103
- isEntireMenu: boolean;
1104
- shopId: string | Types.ObjectId;
1105
- maxDiscountCap: number;
1106
- discountPercentage: number;
1107
- isOrderCapacityEnabled: boolean;
1108
- products?: (string | Types.ObjectId)[] | undefined;
1109
- maxOrderCapacity?: number | undefined;
1110
- shopCategories?: (string | Types.ObjectId)[] | undefined;
1111
- }>;
1112
- export declare const AdminWithdrawShopSchema: z.ZodObject<{
1113
- shopId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>;
1114
- }, "strip", z.ZodTypeAny, {
1115
- shopId: Types.ObjectId;
1116
- }, {
1117
- shopId: string | Types.ObjectId;
1118
- }>;
1119
- export declare const AdminGetParticipantByShopSchema: z.ZodObject<{
1120
- shopId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Types.ObjectId, string>, z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>]>;
1121
- }, "strip", z.ZodTypeAny, {
1122
- shopId: Types.ObjectId;
1123
- }, {
1124
- shopId: string | Types.ObjectId;
1125
- }>;
1126
- export type AdminWithdrawShopDTO = DTO<typeof AdminWithdrawShopSchema>;
1127
- export type AdminEnrollShopEntryDTO = DTO<typeof AdminEnrollShopEntrySchema>;
1128
- export type AdminEnrollShopsDTO = DTO<typeof AdminEnrollShopsSchema>;
1129
733
  export type JoinLtoCampaignDTO = DTO<typeof JoinLtoCampaignSchema>;
1130
734
  export type ParticipantDTO = DTO<typeof ParticipantSchema>;
1131
735
  export type CampaignSummaryDTO = DTO<typeof CampaignSummarySchema>;
@@ -1134,8 +738,5 @@ export type ParticipantStatusDTO = DTO<typeof ParticipantStatusSchema>;
1134
738
  export type ActiveParticipantMarketingDTO = Pick<ParticipantSummaryDTO, 'marketingId'>;
1135
739
  export type UpdateParticipantDataDTO = Omit<JoinLtoCampaignDTO, 'shopCategories'> & {
1136
740
  marketing: ParticipantSummaryDTO['marketingId'];
1137
- pausedMarketings?: Types.ObjectId[];
1138
- pausedOrderCapacity?: number;
1139
- pausedOrderCapacityEnabled?: boolean;
1140
741
  };
1141
742
  //# sourceMappingURL=limited-time-offer-participant.validation.d.ts.map