@lyxa.ai/marketing 1.0.1 → 1.0.4

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 (56) hide show
  1. package/dist/lib/index.js +2 -0
  2. package/dist/types/events/event-initializations.d.ts +2 -0
  3. package/dist/types/events/event-initializations.d.ts.map +1 -0
  4. package/dist/types/index.d.ts +2383 -1043
  5. package/dist/types/index.d.ts.map +1 -1
  6. package/dist/types/modules/coupon/routers/coupon.router.d.ts +2379 -2937
  7. package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  8. package/dist/types/modules/coupon/services/coupon.service.d.ts +21 -2
  9. package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
  10. package/dist/types/modules/coupon/services/custom-coupon.service.d.ts +2 -1
  11. package/dist/types/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
  12. package/dist/types/modules/coupon/services/global-coupon.service.d.ts +2 -1
  13. package/dist/types/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
  14. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts +2 -1
  15. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
  16. package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts +2 -1
  17. package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
  18. package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts +9 -2
  19. package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
  20. package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts +10 -2
  21. package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
  22. package/dist/types/modules/coupon/validations/coupon.validation.d.ts +628 -3
  23. package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  24. package/dist/types/modules/deal-setting/routers/deal-setting.router.d.ts +29 -41
  25. package/dist/types/modules/deal-setting/routers/deal-setting.router.d.ts.map +1 -1
  26. package/dist/types/modules/deal-setting/services/deal-setting.service.d.ts +5 -3
  27. package/dist/types/modules/deal-setting/services/deal-setting.service.d.ts.map +1 -1
  28. package/dist/types/modules/featured-setting/routers/featured-setting.router.d.ts +29 -41
  29. package/dist/types/modules/featured-setting/routers/featured-setting.router.d.ts.map +1 -1
  30. package/dist/types/modules/featured-setting/services/featured-setting.service.d.ts +5 -3
  31. package/dist/types/modules/featured-setting/services/featured-setting.service.d.ts.map +1 -1
  32. package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts +31 -79
  33. package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts.map +1 -1
  34. package/dist/types/modules/loyalty-point-setting/services/loyalty-point-setting.service.d.ts +5 -3
  35. package/dist/types/modules/loyalty-point-setting/services/loyalty-point-setting.service.d.ts.map +1 -1
  36. package/dist/types/modules/marketing/routers/marketing.router.d.ts +16 -81
  37. package/dist/types/modules/marketing/routers/marketing.router.d.ts.map +1 -1
  38. package/dist/types/modules/marketing/services/marketing.service.d.ts +4 -3
  39. package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
  40. package/dist/types/modules/marketing/services/punch-marketing.service.d.ts +2 -2
  41. package/dist/types/modules/marketing/services/punch-marketing.service.d.ts.map +1 -1
  42. package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts +1 -0
  43. package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts.map +1 -1
  44. package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +2076 -62
  45. package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts.map +1 -1
  46. package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts +21 -0
  47. package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts.map +1 -1
  48. package/dist/types/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.d.ts +75 -1
  49. package/dist/types/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.d.ts.map +1 -1
  50. package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +1335 -19
  51. package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts.map +1 -1
  52. package/dist/types/modules/referral-setting/routers/referral-setting.router.d.ts +27 -3
  53. package/dist/types/modules/referral-setting/routers/referral-setting.router.d.ts.map +1 -1
  54. package/dist/types/modules/referral-setting/services/referral-setting.service.d.ts +5 -3
  55. package/dist/types/modules/referral-setting/services/referral-setting.service.d.ts.map +1 -1
  56. package/package.json +2 -2
@@ -7,34 +7,378 @@ declare const PunchMarketingHistoryValidationSchema: z.ZodObject<{
7
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
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
9
  completedOrders: z.ZodNumber;
10
- expiredAt: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
10
+ expiryDate: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
11
+ 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>]>;
12
+ completedAt: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>;
13
+ couponExpiryDate: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>;
14
+ discountApplied: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15
+ marketingSnapshot: z.ZodObject<{
16
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
17
+ targetOrders: z.ZodOptional<z.ZodNumber>;
18
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
19
+ dayLimit: z.ZodOptional<z.ZodNumber>;
20
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
21
+ couponValue: z.ZodOptional<z.ZodNumber>;
22
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
23
+ 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>]>>;
24
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
25
+ duration: z.ZodOptional<z.ZodObject<{
26
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
27
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ start: Date;
30
+ end?: Date | undefined;
31
+ }, {
32
+ start: string | Date;
33
+ end?: string | Date | undefined;
34
+ }>>;
35
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
36
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
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
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
39
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
40
+ targetOrders: z.ZodOptional<z.ZodNumber>;
41
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
42
+ dayLimit: z.ZodOptional<z.ZodNumber>;
43
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
44
+ couponValue: z.ZodOptional<z.ZodNumber>;
45
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
46
+ 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>]>>;
47
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
48
+ duration: z.ZodOptional<z.ZodObject<{
49
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
50
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ start: Date;
53
+ end?: Date | undefined;
54
+ }, {
55
+ start: string | Date;
56
+ end?: string | Date | undefined;
57
+ }>>;
58
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
59
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
60
+ _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>]>>;
61
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
62
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
63
+ targetOrders: z.ZodOptional<z.ZodNumber>;
64
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
65
+ dayLimit: z.ZodOptional<z.ZodNumber>;
66
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
67
+ couponValue: z.ZodOptional<z.ZodNumber>;
68
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
69
+ 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>]>>;
70
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
71
+ duration: z.ZodOptional<z.ZodObject<{
72
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
73
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ start: Date;
76
+ end?: Date | undefined;
77
+ }, {
78
+ start: string | Date;
79
+ end?: string | Date | undefined;
80
+ }>>;
81
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
82
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
83
+ _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>]>>;
84
+ }, z.ZodTypeAny, "passthrough">>;
11
85
  }, "strict", z.ZodTypeAny, {
86
+ shop: import("mongoose").Types.ObjectId;
12
87
  marketing: import("mongoose").Types.ObjectId;
13
88
  user: import("mongoose").Types.ObjectId;
14
89
  completedOrders: number;
15
- expiredAt: Date | null;
90
+ expiryDate: Date;
91
+ completedAt: Date | null;
92
+ couponExpiryDate: Date | null;
93
+ discountApplied: boolean;
94
+ marketingSnapshot: {
95
+ isAppliedByCompany?: boolean | undefined;
96
+ shop?: import("mongoose").Types.ObjectId | undefined;
97
+ status?: import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus | undefined;
98
+ marketingType?: import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING | undefined;
99
+ duration?: {
100
+ start: Date;
101
+ end?: Date | undefined;
102
+ } | undefined;
103
+ pausedAt?: Date | null | undefined;
104
+ _id?: import("mongoose").Types.ObjectId | undefined;
105
+ targetOrders?: number | undefined;
106
+ minimumOrderValue?: number | undefined;
107
+ dayLimit?: number | undefined;
108
+ couponValueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | undefined;
109
+ couponValue?: number | undefined;
110
+ couponDurationInDays?: number | undefined;
111
+ } & {
112
+ [k: string]: unknown;
113
+ };
16
114
  }, {
115
+ shop: string | import("mongoose").Types.ObjectId;
17
116
  marketing: string | import("mongoose").Types.ObjectId;
18
117
  user: string | import("mongoose").Types.ObjectId;
19
118
  completedOrders: number;
20
- expiredAt: string | Date | null;
119
+ expiryDate: string | Date;
120
+ marketingSnapshot: {
121
+ isAppliedByCompany?: boolean | undefined;
122
+ shop?: string | import("mongoose").Types.ObjectId | undefined;
123
+ status?: import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus | undefined;
124
+ marketingType?: import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING | undefined;
125
+ duration?: {
126
+ start: string | Date;
127
+ end?: string | Date | undefined;
128
+ } | undefined;
129
+ pausedAt?: string | Date | null | undefined;
130
+ _id?: string | import("mongoose").Types.ObjectId | undefined;
131
+ targetOrders?: number | undefined;
132
+ minimumOrderValue?: number | undefined;
133
+ dayLimit?: number | undefined;
134
+ couponValueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | undefined;
135
+ couponValue?: number | undefined;
136
+ couponDurationInDays?: number | undefined;
137
+ } & {
138
+ [k: string]: unknown;
139
+ };
140
+ completedAt?: string | Date | null | undefined;
141
+ couponExpiryDate?: string | Date | null | undefined;
142
+ discountApplied?: boolean | undefined;
21
143
  }>, PunchMarketingHistorySchema: z.ZodObject<{
22
144
  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>]>>;
23
145
  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>]>>;
24
146
  completedOrders: z.ZodOptional<z.ZodNumber>;
25
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
147
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
148
+ 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>]>>;
149
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
150
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
151
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
152
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
153
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
154
+ targetOrders: z.ZodOptional<z.ZodNumber>;
155
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
156
+ dayLimit: z.ZodOptional<z.ZodNumber>;
157
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
158
+ couponValue: z.ZodOptional<z.ZodNumber>;
159
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
160
+ 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>]>>;
161
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
162
+ duration: z.ZodOptional<z.ZodObject<{
163
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
164
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ start: Date;
167
+ end?: Date | undefined;
168
+ }, {
169
+ start: string | Date;
170
+ end?: string | Date | undefined;
171
+ }>>;
172
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
173
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
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
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
176
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
177
+ targetOrders: z.ZodOptional<z.ZodNumber>;
178
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
179
+ dayLimit: z.ZodOptional<z.ZodNumber>;
180
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
181
+ couponValue: z.ZodOptional<z.ZodNumber>;
182
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
183
+ 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>]>>;
184
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
185
+ duration: z.ZodOptional<z.ZodObject<{
186
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
187
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ start: Date;
190
+ end?: Date | undefined;
191
+ }, {
192
+ start: string | Date;
193
+ end?: string | Date | undefined;
194
+ }>>;
195
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
196
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
197
+ _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>]>>;
198
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
199
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
200
+ targetOrders: z.ZodOptional<z.ZodNumber>;
201
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
202
+ dayLimit: z.ZodOptional<z.ZodNumber>;
203
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
204
+ couponValue: z.ZodOptional<z.ZodNumber>;
205
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
206
+ 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>]>>;
207
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
208
+ duration: z.ZodOptional<z.ZodObject<{
209
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
210
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ start: Date;
213
+ end?: Date | undefined;
214
+ }, {
215
+ start: string | Date;
216
+ end?: string | Date | undefined;
217
+ }>>;
218
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
219
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
220
+ _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>]>>;
221
+ }, z.ZodTypeAny, "passthrough">>>;
26
222
  _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>]>>;
27
223
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
28
224
  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>]>>;
29
225
  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>]>>;
30
226
  completedOrders: z.ZodOptional<z.ZodNumber>;
31
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
227
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
228
+ 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>]>>;
229
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
230
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
231
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
232
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
233
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
234
+ targetOrders: z.ZodOptional<z.ZodNumber>;
235
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
236
+ dayLimit: z.ZodOptional<z.ZodNumber>;
237
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
238
+ couponValue: z.ZodOptional<z.ZodNumber>;
239
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
240
+ 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>]>>;
241
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
242
+ duration: z.ZodOptional<z.ZodObject<{
243
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
244
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ start: Date;
247
+ end?: Date | undefined;
248
+ }, {
249
+ start: string | Date;
250
+ end?: string | Date | undefined;
251
+ }>>;
252
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
253
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
254
+ _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>]>>;
255
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
256
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
257
+ targetOrders: z.ZodOptional<z.ZodNumber>;
258
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
259
+ dayLimit: z.ZodOptional<z.ZodNumber>;
260
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
261
+ couponValue: z.ZodOptional<z.ZodNumber>;
262
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
263
+ 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>]>>;
264
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
265
+ duration: z.ZodOptional<z.ZodObject<{
266
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
267
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
268
+ }, "strip", z.ZodTypeAny, {
269
+ start: Date;
270
+ end?: Date | undefined;
271
+ }, {
272
+ start: string | Date;
273
+ end?: string | Date | undefined;
274
+ }>>;
275
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
276
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
277
+ _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>]>>;
278
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
279
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
280
+ targetOrders: z.ZodOptional<z.ZodNumber>;
281
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
282
+ dayLimit: z.ZodOptional<z.ZodNumber>;
283
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
284
+ couponValue: z.ZodOptional<z.ZodNumber>;
285
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
286
+ 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>]>>;
287
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
288
+ duration: z.ZodOptional<z.ZodObject<{
289
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
290
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ start: Date;
293
+ end?: Date | undefined;
294
+ }, {
295
+ start: string | Date;
296
+ end?: string | Date | undefined;
297
+ }>>;
298
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
299
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
300
+ _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>]>>;
301
+ }, z.ZodTypeAny, "passthrough">>>;
32
302
  _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>]>>;
33
303
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
34
304
  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>]>>;
35
305
  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>]>>;
36
306
  completedOrders: z.ZodOptional<z.ZodNumber>;
37
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
307
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
308
+ 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>]>>;
309
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
310
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
311
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
312
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
313
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
314
+ targetOrders: z.ZodOptional<z.ZodNumber>;
315
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
316
+ dayLimit: z.ZodOptional<z.ZodNumber>;
317
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
318
+ couponValue: z.ZodOptional<z.ZodNumber>;
319
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
320
+ 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>]>>;
321
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
322
+ duration: z.ZodOptional<z.ZodObject<{
323
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
324
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
325
+ }, "strip", z.ZodTypeAny, {
326
+ start: Date;
327
+ end?: Date | undefined;
328
+ }, {
329
+ start: string | Date;
330
+ end?: string | Date | undefined;
331
+ }>>;
332
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
333
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
334
+ _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>]>>;
335
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
336
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
337
+ targetOrders: z.ZodOptional<z.ZodNumber>;
338
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
339
+ dayLimit: z.ZodOptional<z.ZodNumber>;
340
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
341
+ couponValue: z.ZodOptional<z.ZodNumber>;
342
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
343
+ 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>]>>;
344
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
345
+ duration: z.ZodOptional<z.ZodObject<{
346
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
347
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
348
+ }, "strip", z.ZodTypeAny, {
349
+ start: Date;
350
+ end?: Date | undefined;
351
+ }, {
352
+ start: string | Date;
353
+ end?: string | Date | undefined;
354
+ }>>;
355
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
356
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
357
+ _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>]>>;
358
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
359
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
360
+ targetOrders: z.ZodOptional<z.ZodNumber>;
361
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
362
+ dayLimit: z.ZodOptional<z.ZodNumber>;
363
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
364
+ couponValue: z.ZodOptional<z.ZodNumber>;
365
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
366
+ 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>]>>;
367
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
368
+ duration: z.ZodOptional<z.ZodObject<{
369
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
370
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
371
+ }, "strip", z.ZodTypeAny, {
372
+ start: Date;
373
+ end?: Date | undefined;
374
+ }, {
375
+ start: string | Date;
376
+ end?: string | Date | undefined;
377
+ }>>;
378
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
379
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
380
+ _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>]>>;
381
+ }, z.ZodTypeAny, "passthrough">>>;
38
382
  _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>]>>;
39
383
  }, z.ZodTypeAny, "passthrough">>, PunchMarketingHistoryIdSchema: 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>]>, UpdatePunchMarketingHistorySchema: z.ZodObject<{
40
384
  [x: string]: z.ZodOptional<z.ZodTypeAny>;
@@ -46,25 +390,257 @@ declare const PunchMarketingHistoryValidationSchema: z.ZodObject<{
46
390
  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>]>>;
47
391
  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>]>>;
48
392
  completedOrders: z.ZodOptional<z.ZodNumber>;
49
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
393
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
394
+ 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>]>>;
395
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
396
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
397
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
398
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
399
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
400
+ targetOrders: z.ZodOptional<z.ZodNumber>;
401
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
402
+ dayLimit: z.ZodOptional<z.ZodNumber>;
403
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
404
+ couponValue: z.ZodOptional<z.ZodNumber>;
405
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
406
+ 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>]>>;
407
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
408
+ duration: z.ZodOptional<z.ZodObject<{
409
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
410
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
411
+ }, "strip", z.ZodTypeAny, {
412
+ start: Date;
413
+ end?: Date | undefined;
414
+ }, {
415
+ start: string | Date;
416
+ end?: string | Date | undefined;
417
+ }>>;
418
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
419
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
420
+ _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>]>>;
421
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
422
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
423
+ targetOrders: z.ZodOptional<z.ZodNumber>;
424
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
425
+ dayLimit: z.ZodOptional<z.ZodNumber>;
426
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
427
+ couponValue: z.ZodOptional<z.ZodNumber>;
428
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
429
+ 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>]>>;
430
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
431
+ duration: z.ZodOptional<z.ZodObject<{
432
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
433
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
434
+ }, "strip", z.ZodTypeAny, {
435
+ start: Date;
436
+ end?: Date | undefined;
437
+ }, {
438
+ start: string | Date;
439
+ end?: string | Date | undefined;
440
+ }>>;
441
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
442
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
443
+ _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>]>>;
444
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
445
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
446
+ targetOrders: z.ZodOptional<z.ZodNumber>;
447
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
448
+ dayLimit: z.ZodOptional<z.ZodNumber>;
449
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
450
+ couponValue: z.ZodOptional<z.ZodNumber>;
451
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
452
+ 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>]>>;
453
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
454
+ duration: z.ZodOptional<z.ZodObject<{
455
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
456
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
457
+ }, "strip", z.ZodTypeAny, {
458
+ start: Date;
459
+ end?: Date | undefined;
460
+ }, {
461
+ start: string | Date;
462
+ end?: string | Date | undefined;
463
+ }>>;
464
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
465
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
466
+ _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>]>>;
467
+ }, z.ZodTypeAny, "passthrough">>>;
50
468
  _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>]>>;
51
469
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
52
470
  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
471
  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
472
  completedOrders: z.ZodOptional<z.ZodNumber>;
55
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
473
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
474
+ 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>]>>;
475
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
476
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
477
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
478
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
479
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
480
+ targetOrders: z.ZodOptional<z.ZodNumber>;
481
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
482
+ dayLimit: z.ZodOptional<z.ZodNumber>;
483
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
484
+ couponValue: z.ZodOptional<z.ZodNumber>;
485
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
486
+ 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>]>>;
487
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
488
+ duration: z.ZodOptional<z.ZodObject<{
489
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
490
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
491
+ }, "strip", z.ZodTypeAny, {
492
+ start: Date;
493
+ end?: Date | undefined;
494
+ }, {
495
+ start: string | Date;
496
+ end?: string | Date | undefined;
497
+ }>>;
498
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
499
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
500
+ _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>]>>;
501
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
502
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
503
+ targetOrders: z.ZodOptional<z.ZodNumber>;
504
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
505
+ dayLimit: z.ZodOptional<z.ZodNumber>;
506
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
507
+ couponValue: z.ZodOptional<z.ZodNumber>;
508
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
509
+ 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>]>>;
510
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
511
+ duration: z.ZodOptional<z.ZodObject<{
512
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
513
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
514
+ }, "strip", z.ZodTypeAny, {
515
+ start: Date;
516
+ end?: Date | undefined;
517
+ }, {
518
+ start: string | Date;
519
+ end?: string | Date | undefined;
520
+ }>>;
521
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
522
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
523
+ _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>]>>;
524
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
525
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
526
+ targetOrders: z.ZodOptional<z.ZodNumber>;
527
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
528
+ dayLimit: z.ZodOptional<z.ZodNumber>;
529
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
530
+ couponValue: z.ZodOptional<z.ZodNumber>;
531
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
532
+ 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>]>>;
533
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
534
+ duration: z.ZodOptional<z.ZodObject<{
535
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
536
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
537
+ }, "strip", z.ZodTypeAny, {
538
+ start: Date;
539
+ end?: Date | undefined;
540
+ }, {
541
+ start: string | Date;
542
+ end?: string | Date | undefined;
543
+ }>>;
544
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
545
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
546
+ _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>]>>;
547
+ }, z.ZodTypeAny, "passthrough">>>;
56
548
  _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>]>>;
57
549
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
58
550
  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>]>>;
59
551
  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>]>>;
60
552
  completedOrders: z.ZodOptional<z.ZodNumber>;
61
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
553
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
554
+ 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>]>>;
555
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
556
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
557
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
558
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
559
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
560
+ targetOrders: z.ZodOptional<z.ZodNumber>;
561
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
562
+ dayLimit: z.ZodOptional<z.ZodNumber>;
563
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
564
+ couponValue: z.ZodOptional<z.ZodNumber>;
565
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
566
+ 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>]>>;
567
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
568
+ duration: z.ZodOptional<z.ZodObject<{
569
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
570
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
571
+ }, "strip", z.ZodTypeAny, {
572
+ start: Date;
573
+ end?: Date | undefined;
574
+ }, {
575
+ start: string | Date;
576
+ end?: string | Date | undefined;
577
+ }>>;
578
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
579
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
580
+ _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>]>>;
581
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
582
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
583
+ targetOrders: z.ZodOptional<z.ZodNumber>;
584
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
585
+ dayLimit: z.ZodOptional<z.ZodNumber>;
586
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
587
+ couponValue: z.ZodOptional<z.ZodNumber>;
588
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
589
+ 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>]>>;
590
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
591
+ duration: z.ZodOptional<z.ZodObject<{
592
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
593
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ start: Date;
596
+ end?: Date | undefined;
597
+ }, {
598
+ start: string | Date;
599
+ end?: string | Date | undefined;
600
+ }>>;
601
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
602
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
603
+ _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>]>>;
604
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
605
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
606
+ targetOrders: z.ZodOptional<z.ZodNumber>;
607
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
608
+ dayLimit: z.ZodOptional<z.ZodNumber>;
609
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
610
+ couponValue: z.ZodOptional<z.ZodNumber>;
611
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
612
+ 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>]>>;
613
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
614
+ duration: z.ZodOptional<z.ZodObject<{
615
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
616
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
617
+ }, "strip", z.ZodTypeAny, {
618
+ start: Date;
619
+ end?: Date | undefined;
620
+ }, {
621
+ start: string | Date;
622
+ end?: string | Date | undefined;
623
+ }>>;
624
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
625
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
626
+ _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>]>>;
627
+ }, z.ZodTypeAny, "passthrough">>>;
62
628
  _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>]>>;
63
629
  }, z.ZodTypeAny, "passthrough">>;
64
630
  /**
65
631
  * Export schemas
66
632
  */
67
633
  export { PunchMarketingHistoryValidationSchema, PunchMarketingHistorySchema, PunchMarketingHistoryIdSchema as PunchMarketingHistoryIdValidationSchema, UpdatePunchMarketingHistorySchema, };
634
+ export declare const IncrementPunchHistoryForUserSchema: z.ZodObject<{
635
+ 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>]>;
636
+ 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>]>;
637
+ }, "strip", z.ZodTypeAny, {
638
+ user: import("mongoose").Types.ObjectId;
639
+ order: import("mongoose").Types.ObjectId;
640
+ }, {
641
+ user: string | import("mongoose").Types.ObjectId;
642
+ order: string | import("mongoose").Types.ObjectId;
643
+ }>;
68
644
  export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
69
645
  success: z.ZodBoolean;
70
646
  message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -89,13 +665,161 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
89
665
  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>]>>;
90
666
  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>]>>;
91
667
  completedOrders: z.ZodOptional<z.ZodNumber>;
92
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
668
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
669
+ 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>]>>;
670
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
671
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
672
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
673
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
674
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
675
+ targetOrders: z.ZodOptional<z.ZodNumber>;
676
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
677
+ dayLimit: z.ZodOptional<z.ZodNumber>;
678
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
679
+ couponValue: z.ZodOptional<z.ZodNumber>;
680
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
681
+ 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>]>>;
682
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
683
+ duration: z.ZodOptional<z.ZodObject<{
684
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
685
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
686
+ }, "strip", z.ZodTypeAny, {
687
+ start: Date;
688
+ end?: Date | undefined;
689
+ }, {
690
+ start: string | Date;
691
+ end?: string | Date | undefined;
692
+ }>>;
693
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
694
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
695
+ _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>]>>;
696
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
697
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
698
+ targetOrders: z.ZodOptional<z.ZodNumber>;
699
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
700
+ dayLimit: z.ZodOptional<z.ZodNumber>;
701
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
702
+ couponValue: z.ZodOptional<z.ZodNumber>;
703
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
704
+ 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>]>>;
705
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
706
+ duration: z.ZodOptional<z.ZodObject<{
707
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
708
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
709
+ }, "strip", z.ZodTypeAny, {
710
+ start: Date;
711
+ end?: Date | undefined;
712
+ }, {
713
+ start: string | Date;
714
+ end?: string | Date | undefined;
715
+ }>>;
716
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
717
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
718
+ _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>]>>;
719
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
720
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
721
+ targetOrders: z.ZodOptional<z.ZodNumber>;
722
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
723
+ dayLimit: z.ZodOptional<z.ZodNumber>;
724
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
725
+ couponValue: z.ZodOptional<z.ZodNumber>;
726
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
727
+ 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>]>>;
728
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
729
+ duration: z.ZodOptional<z.ZodObject<{
730
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
731
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
732
+ }, "strip", z.ZodTypeAny, {
733
+ start: Date;
734
+ end?: Date | undefined;
735
+ }, {
736
+ start: string | Date;
737
+ end?: string | Date | undefined;
738
+ }>>;
739
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
740
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
741
+ _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>]>>;
742
+ }, z.ZodTypeAny, "passthrough">>>;
93
743
  _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>]>>;
94
744
  }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{
95
745
  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>]>>;
96
746
  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>]>>;
97
747
  completedOrders: z.ZodOptional<z.ZodNumber>;
98
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
748
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
749
+ 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>]>>;
750
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
751
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
752
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
753
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
754
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
755
+ targetOrders: z.ZodOptional<z.ZodNumber>;
756
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
757
+ dayLimit: z.ZodOptional<z.ZodNumber>;
758
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
759
+ couponValue: z.ZodOptional<z.ZodNumber>;
760
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
761
+ 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>]>>;
762
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
763
+ duration: z.ZodOptional<z.ZodObject<{
764
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
765
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
766
+ }, "strip", z.ZodTypeAny, {
767
+ start: Date;
768
+ end?: Date | undefined;
769
+ }, {
770
+ start: string | Date;
771
+ end?: string | Date | undefined;
772
+ }>>;
773
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
774
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
775
+ _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>]>>;
776
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
777
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
778
+ targetOrders: z.ZodOptional<z.ZodNumber>;
779
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
780
+ dayLimit: z.ZodOptional<z.ZodNumber>;
781
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
782
+ couponValue: z.ZodOptional<z.ZodNumber>;
783
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
784
+ 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>]>>;
785
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
786
+ duration: z.ZodOptional<z.ZodObject<{
787
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
788
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
789
+ }, "strip", z.ZodTypeAny, {
790
+ start: Date;
791
+ end?: Date | undefined;
792
+ }, {
793
+ start: string | Date;
794
+ end?: string | Date | undefined;
795
+ }>>;
796
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
797
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
798
+ _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>]>>;
799
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
800
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
801
+ targetOrders: z.ZodOptional<z.ZodNumber>;
802
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
803
+ dayLimit: z.ZodOptional<z.ZodNumber>;
804
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
805
+ couponValue: z.ZodOptional<z.ZodNumber>;
806
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
807
+ 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>]>>;
808
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
809
+ duration: z.ZodOptional<z.ZodObject<{
810
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
811
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
812
+ }, "strip", z.ZodTypeAny, {
813
+ start: Date;
814
+ end?: Date | undefined;
815
+ }, {
816
+ start: string | Date;
817
+ end?: string | Date | undefined;
818
+ }>>;
819
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
820
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
821
+ _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>]>>;
822
+ }, z.ZodTypeAny, "passthrough">>>;
99
823
  _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>]>>;
100
824
  }, z.ZodTypeAny, "passthrough">>, "many">;
101
825
  }, "strip", z.ZodTypeAny, {
@@ -103,7 +827,81 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
103
827
  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>]>>;
104
828
  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>]>>;
105
829
  completedOrders: z.ZodOptional<z.ZodNumber>;
106
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
830
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
831
+ 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>]>>;
832
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
833
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
834
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
835
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
836
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
837
+ targetOrders: z.ZodOptional<z.ZodNumber>;
838
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
839
+ dayLimit: z.ZodOptional<z.ZodNumber>;
840
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
841
+ couponValue: z.ZodOptional<z.ZodNumber>;
842
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
843
+ 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>]>>;
844
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
845
+ duration: z.ZodOptional<z.ZodObject<{
846
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
847
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
848
+ }, "strip", z.ZodTypeAny, {
849
+ start: Date;
850
+ end?: Date | undefined;
851
+ }, {
852
+ start: string | Date;
853
+ end?: string | Date | undefined;
854
+ }>>;
855
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
856
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
857
+ _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>]>>;
858
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
859
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
860
+ targetOrders: z.ZodOptional<z.ZodNumber>;
861
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
862
+ dayLimit: z.ZodOptional<z.ZodNumber>;
863
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
864
+ couponValue: z.ZodOptional<z.ZodNumber>;
865
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
866
+ 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>]>>;
867
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
868
+ duration: z.ZodOptional<z.ZodObject<{
869
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
870
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
871
+ }, "strip", z.ZodTypeAny, {
872
+ start: Date;
873
+ end?: Date | undefined;
874
+ }, {
875
+ start: string | Date;
876
+ end?: string | Date | undefined;
877
+ }>>;
878
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
879
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
880
+ _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>]>>;
881
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
882
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
883
+ targetOrders: z.ZodOptional<z.ZodNumber>;
884
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
885
+ dayLimit: z.ZodOptional<z.ZodNumber>;
886
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
887
+ couponValue: z.ZodOptional<z.ZodNumber>;
888
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
889
+ 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>]>>;
890
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
891
+ duration: z.ZodOptional<z.ZodObject<{
892
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
893
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
894
+ }, "strip", z.ZodTypeAny, {
895
+ start: Date;
896
+ end?: Date | undefined;
897
+ }, {
898
+ start: string | Date;
899
+ end?: string | Date | undefined;
900
+ }>>;
901
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
902
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
903
+ _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>]>>;
904
+ }, z.ZodTypeAny, "passthrough">>>;
107
905
  _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>]>>;
108
906
  }, z.ZodTypeAny, "passthrough">[];
109
907
  metadata?: {
@@ -117,7 +915,81 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
117
915
  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>]>>;
118
916
  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>]>>;
119
917
  completedOrders: z.ZodOptional<z.ZodNumber>;
120
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
918
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
919
+ 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>]>>;
920
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
921
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
922
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
923
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
924
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
925
+ targetOrders: z.ZodOptional<z.ZodNumber>;
926
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
927
+ dayLimit: z.ZodOptional<z.ZodNumber>;
928
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
929
+ couponValue: z.ZodOptional<z.ZodNumber>;
930
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
931
+ 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>]>>;
932
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
933
+ duration: z.ZodOptional<z.ZodObject<{
934
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
935
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
936
+ }, "strip", z.ZodTypeAny, {
937
+ start: Date;
938
+ end?: Date | undefined;
939
+ }, {
940
+ start: string | Date;
941
+ end?: string | Date | undefined;
942
+ }>>;
943
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
944
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
945
+ _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>]>>;
946
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
947
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
948
+ targetOrders: z.ZodOptional<z.ZodNumber>;
949
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
950
+ dayLimit: z.ZodOptional<z.ZodNumber>;
951
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
952
+ couponValue: z.ZodOptional<z.ZodNumber>;
953
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
954
+ 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>]>>;
955
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
956
+ duration: z.ZodOptional<z.ZodObject<{
957
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
958
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
959
+ }, "strip", z.ZodTypeAny, {
960
+ start: Date;
961
+ end?: Date | undefined;
962
+ }, {
963
+ start: string | Date;
964
+ end?: string | Date | undefined;
965
+ }>>;
966
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
967
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
968
+ _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>]>>;
969
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
970
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
971
+ targetOrders: z.ZodOptional<z.ZodNumber>;
972
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
973
+ dayLimit: z.ZodOptional<z.ZodNumber>;
974
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
975
+ couponValue: z.ZodOptional<z.ZodNumber>;
976
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
977
+ 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>]>>;
978
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
979
+ duration: z.ZodOptional<z.ZodObject<{
980
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
981
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
982
+ }, "strip", z.ZodTypeAny, {
983
+ start: Date;
984
+ end?: Date | undefined;
985
+ }, {
986
+ start: string | Date;
987
+ end?: string | Date | undefined;
988
+ }>>;
989
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
990
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
991
+ _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>]>>;
992
+ }, z.ZodTypeAny, "passthrough">>>;
121
993
  _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>]>>;
122
994
  }, z.ZodTypeAny, "passthrough">[];
123
995
  metadata?: {
@@ -130,13 +1002,161 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
130
1002
  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>]>>;
131
1003
  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>]>>;
132
1004
  completedOrders: z.ZodOptional<z.ZodNumber>;
133
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
1005
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1006
+ 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>]>>;
1007
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1008
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1009
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
1010
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
1011
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1012
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1013
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1014
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1015
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1016
+ couponValue: z.ZodOptional<z.ZodNumber>;
1017
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1018
+ 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>]>>;
1019
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1020
+ duration: z.ZodOptional<z.ZodObject<{
1021
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1022
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1023
+ }, "strip", z.ZodTypeAny, {
1024
+ start: Date;
1025
+ end?: Date | undefined;
1026
+ }, {
1027
+ start: string | Date;
1028
+ end?: string | Date | undefined;
1029
+ }>>;
1030
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1031
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1032
+ _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>]>>;
1033
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1034
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1035
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1036
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1037
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1038
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1039
+ couponValue: z.ZodOptional<z.ZodNumber>;
1040
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1041
+ 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>]>>;
1042
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1043
+ duration: z.ZodOptional<z.ZodObject<{
1044
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1045
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1046
+ }, "strip", z.ZodTypeAny, {
1047
+ start: Date;
1048
+ end?: Date | undefined;
1049
+ }, {
1050
+ start: string | Date;
1051
+ end?: string | Date | undefined;
1052
+ }>>;
1053
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1054
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1055
+ _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>]>>;
1056
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1057
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1058
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1059
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1060
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1061
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1062
+ couponValue: z.ZodOptional<z.ZodNumber>;
1063
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1064
+ 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>]>>;
1065
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1066
+ duration: z.ZodOptional<z.ZodObject<{
1067
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1068
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1069
+ }, "strip", z.ZodTypeAny, {
1070
+ start: Date;
1071
+ end?: Date | undefined;
1072
+ }, {
1073
+ start: string | Date;
1074
+ end?: string | Date | undefined;
1075
+ }>>;
1076
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1077
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1078
+ _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>]>>;
1079
+ }, z.ZodTypeAny, "passthrough">>>;
134
1080
  _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
1081
  }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{
136
1082
  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>]>>;
137
1083
  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>]>>;
138
1084
  completedOrders: z.ZodOptional<z.ZodNumber>;
139
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
1085
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1086
+ 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>]>>;
1087
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1088
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1089
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
1090
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
1091
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1092
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1093
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1094
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1095
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1096
+ couponValue: z.ZodOptional<z.ZodNumber>;
1097
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1098
+ 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>]>>;
1099
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1100
+ duration: z.ZodOptional<z.ZodObject<{
1101
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1102
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1103
+ }, "strip", z.ZodTypeAny, {
1104
+ start: Date;
1105
+ end?: Date | undefined;
1106
+ }, {
1107
+ start: string | Date;
1108
+ end?: string | Date | undefined;
1109
+ }>>;
1110
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1111
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1112
+ _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>]>>;
1113
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1114
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1115
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1116
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1117
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1118
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1119
+ couponValue: z.ZodOptional<z.ZodNumber>;
1120
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1121
+ 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>]>>;
1122
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1123
+ duration: z.ZodOptional<z.ZodObject<{
1124
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1125
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1126
+ }, "strip", z.ZodTypeAny, {
1127
+ start: Date;
1128
+ end?: Date | undefined;
1129
+ }, {
1130
+ start: string | Date;
1131
+ end?: string | Date | undefined;
1132
+ }>>;
1133
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1134
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1135
+ _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>]>>;
1136
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1137
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1138
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1139
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1140
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1141
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1142
+ couponValue: z.ZodOptional<z.ZodNumber>;
1143
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1144
+ 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>]>>;
1145
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1146
+ duration: z.ZodOptional<z.ZodObject<{
1147
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1148
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1149
+ }, "strip", z.ZodTypeAny, {
1150
+ start: Date;
1151
+ end?: Date | undefined;
1152
+ }, {
1153
+ start: string | Date;
1154
+ end?: string | Date | undefined;
1155
+ }>>;
1156
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1157
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1158
+ _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>]>>;
1159
+ }, z.ZodTypeAny, "passthrough">>>;
140
1160
  _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>]>>;
141
1161
  }, z.ZodTypeAny, "passthrough">>]>>;
142
1162
  }, "strip", z.ZodTypeAny, {
@@ -146,14 +1166,162 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
146
1166
  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>]>>;
147
1167
  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>]>>;
148
1168
  completedOrders: z.ZodOptional<z.ZodNumber>;
149
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
1169
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1170
+ 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>]>>;
1171
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1172
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1173
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
1174
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
1175
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1176
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1177
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1178
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1179
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1180
+ couponValue: z.ZodOptional<z.ZodNumber>;
1181
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1182
+ 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>]>>;
1183
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1184
+ duration: z.ZodOptional<z.ZodObject<{
1185
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1186
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1187
+ }, "strip", z.ZodTypeAny, {
1188
+ start: Date;
1189
+ end?: Date | undefined;
1190
+ }, {
1191
+ start: string | Date;
1192
+ end?: string | Date | undefined;
1193
+ }>>;
1194
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1195
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1196
+ _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>]>>;
1197
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1198
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1199
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1200
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1201
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1202
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1203
+ couponValue: z.ZodOptional<z.ZodNumber>;
1204
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1205
+ 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>]>>;
1206
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1207
+ duration: z.ZodOptional<z.ZodObject<{
1208
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1209
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1210
+ }, "strip", z.ZodTypeAny, {
1211
+ start: Date;
1212
+ end?: Date | undefined;
1213
+ }, {
1214
+ start: string | Date;
1215
+ end?: string | Date | undefined;
1216
+ }>>;
1217
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1218
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1219
+ _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>]>>;
1220
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1221
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1222
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1223
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1224
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1225
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1226
+ couponValue: z.ZodOptional<z.ZodNumber>;
1227
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1228
+ 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>]>>;
1229
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1230
+ duration: z.ZodOptional<z.ZodObject<{
1231
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1232
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1233
+ }, "strip", z.ZodTypeAny, {
1234
+ start: Date;
1235
+ end?: Date | undefined;
1236
+ }, {
1237
+ start: string | Date;
1238
+ end?: string | Date | undefined;
1239
+ }>>;
1240
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1241
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1242
+ _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>]>>;
1243
+ }, z.ZodTypeAny, "passthrough">>>;
150
1244
  _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>]>>;
151
1245
  }, z.ZodTypeAny, "passthrough"> | {
152
1246
  documents: z.objectInputType<{
153
1247
  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>]>>;
154
1248
  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>]>>;
155
1249
  completedOrders: z.ZodOptional<z.ZodNumber>;
156
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
1250
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1251
+ 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>]>>;
1252
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1253
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1254
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
1255
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
1256
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1257
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1258
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1259
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1260
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1261
+ couponValue: z.ZodOptional<z.ZodNumber>;
1262
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1263
+ 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>]>>;
1264
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1265
+ duration: z.ZodOptional<z.ZodObject<{
1266
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1267
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1268
+ }, "strip", z.ZodTypeAny, {
1269
+ start: Date;
1270
+ end?: Date | undefined;
1271
+ }, {
1272
+ start: string | Date;
1273
+ end?: string | Date | undefined;
1274
+ }>>;
1275
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1276
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1277
+ _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>]>>;
1278
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1279
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1280
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1281
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1282
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1283
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1284
+ couponValue: z.ZodOptional<z.ZodNumber>;
1285
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1286
+ 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>]>>;
1287
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1288
+ duration: z.ZodOptional<z.ZodObject<{
1289
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1290
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1291
+ }, "strip", z.ZodTypeAny, {
1292
+ start: Date;
1293
+ end?: Date | undefined;
1294
+ }, {
1295
+ start: string | Date;
1296
+ end?: string | Date | undefined;
1297
+ }>>;
1298
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1299
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1300
+ _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>]>>;
1301
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1302
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1303
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1304
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1305
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1306
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1307
+ couponValue: z.ZodOptional<z.ZodNumber>;
1308
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1309
+ 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>]>>;
1310
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1311
+ duration: z.ZodOptional<z.ZodObject<{
1312
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1313
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1314
+ }, "strip", z.ZodTypeAny, {
1315
+ start: Date;
1316
+ end?: Date | undefined;
1317
+ }, {
1318
+ start: string | Date;
1319
+ end?: string | Date | undefined;
1320
+ }>>;
1321
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1322
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1323
+ _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>]>>;
1324
+ }, z.ZodTypeAny, "passthrough">>>;
157
1325
  _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>]>>;
158
1326
  }, z.ZodTypeAny, "passthrough">[];
159
1327
  metadata?: {
@@ -170,14 +1338,162 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
170
1338
  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>]>>;
171
1339
  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>]>>;
172
1340
  completedOrders: z.ZodOptional<z.ZodNumber>;
173
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
1341
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1342
+ 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>]>>;
1343
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1344
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1345
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
1346
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
1347
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1348
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1349
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1350
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1351
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1352
+ couponValue: z.ZodOptional<z.ZodNumber>;
1353
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1354
+ 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>]>>;
1355
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1356
+ duration: z.ZodOptional<z.ZodObject<{
1357
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1358
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1359
+ }, "strip", z.ZodTypeAny, {
1360
+ start: Date;
1361
+ end?: Date | undefined;
1362
+ }, {
1363
+ start: string | Date;
1364
+ end?: string | Date | undefined;
1365
+ }>>;
1366
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1367
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1368
+ _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>]>>;
1369
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1370
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1371
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1372
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1373
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1374
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1375
+ couponValue: z.ZodOptional<z.ZodNumber>;
1376
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1377
+ 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>]>>;
1378
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1379
+ duration: z.ZodOptional<z.ZodObject<{
1380
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1381
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1382
+ }, "strip", z.ZodTypeAny, {
1383
+ start: Date;
1384
+ end?: Date | undefined;
1385
+ }, {
1386
+ start: string | Date;
1387
+ end?: string | Date | undefined;
1388
+ }>>;
1389
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1390
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1391
+ _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>]>>;
1392
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1393
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1394
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1395
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1396
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1397
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1398
+ couponValue: z.ZodOptional<z.ZodNumber>;
1399
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1400
+ 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>]>>;
1401
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1402
+ duration: z.ZodOptional<z.ZodObject<{
1403
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1404
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1405
+ }, "strip", z.ZodTypeAny, {
1406
+ start: Date;
1407
+ end?: Date | undefined;
1408
+ }, {
1409
+ start: string | Date;
1410
+ end?: string | Date | undefined;
1411
+ }>>;
1412
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1413
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1414
+ _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>]>>;
1415
+ }, z.ZodTypeAny, "passthrough">>>;
174
1416
  _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
1417
  }, z.ZodTypeAny, "passthrough"> | {
176
1418
  documents: z.objectInputType<{
177
1419
  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>]>>;
178
1420
  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>]>>;
179
1421
  completedOrders: z.ZodOptional<z.ZodNumber>;
180
- expiredAt: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>;
1422
+ expiryDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1423
+ 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>]>>;
1424
+ completedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1425
+ couponExpiryDate: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1426
+ discountApplied: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
1427
+ marketingSnapshot: z.ZodOptional<z.ZodObject<{
1428
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1429
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1430
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1431
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1432
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1433
+ couponValue: z.ZodOptional<z.ZodNumber>;
1434
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1435
+ 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>]>>;
1436
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1437
+ duration: z.ZodOptional<z.ZodObject<{
1438
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1439
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1440
+ }, "strip", z.ZodTypeAny, {
1441
+ start: Date;
1442
+ end?: Date | undefined;
1443
+ }, {
1444
+ start: string | Date;
1445
+ end?: string | Date | undefined;
1446
+ }>>;
1447
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1448
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1449
+ _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>]>>;
1450
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1451
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1452
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1453
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1454
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1455
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1456
+ couponValue: z.ZodOptional<z.ZodNumber>;
1457
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1458
+ 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>]>>;
1459
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1460
+ duration: z.ZodOptional<z.ZodObject<{
1461
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1462
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1463
+ }, "strip", z.ZodTypeAny, {
1464
+ start: Date;
1465
+ end?: Date | undefined;
1466
+ }, {
1467
+ start: string | Date;
1468
+ end?: string | Date | undefined;
1469
+ }>>;
1470
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1471
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1472
+ _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>]>>;
1473
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1474
+ marketingType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").MarketingType.PUNCH_MARKETING>>;
1475
+ targetOrders: z.ZodOptional<z.ZodNumber>;
1476
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
1477
+ dayLimit: z.ZodOptional<z.ZodNumber>;
1478
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1479
+ couponValue: z.ZodOptional<z.ZodNumber>;
1480
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
1481
+ 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>]>>;
1482
+ isAppliedByCompany: z.ZodOptional<z.ZodBoolean>;
1483
+ duration: z.ZodOptional<z.ZodObject<{
1484
+ start: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
1485
+ end: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
1486
+ }, "strip", z.ZodTypeAny, {
1487
+ start: Date;
1488
+ end?: Date | undefined;
1489
+ }, {
1490
+ start: string | Date;
1491
+ end?: string | Date | undefined;
1492
+ }>>;
1493
+ status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
1494
+ pausedAt: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
1495
+ _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>]>>;
1496
+ }, z.ZodTypeAny, "passthrough">>>;
181
1497
  _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>]>>;
182
1498
  }, z.ZodTypeAny, "passthrough">[];
183
1499
  metadata?: {