@lyxa.ai/marketing 1.0.12 → 1.0.14

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 (45) hide show
  1. package/dist/types/index.d.ts +202 -994
  2. package/dist/types/index.d.ts.map +1 -1
  3. package/dist/types/modules/coupon/routers/coupon.router.d.ts +2 -0
  4. package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  5. package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
  6. package/dist/types/modules/deal-setting/routers/deal-setting.router.d.ts.map +1 -1
  7. package/dist/types/modules/featured-setting/routers/featured-setting.router.d.ts.map +1 -1
  8. package/dist/types/modules/marketing/routers/marketing.router.d.ts.map +1 -1
  9. package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +200 -994
  10. package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts.map +1 -1
  11. package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts +6 -1
  12. package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts.map +1 -1
  13. package/dist/types/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.d.ts +11 -75
  14. package/dist/types/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.d.ts.map +1 -1
  15. package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +221 -1325
  16. package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts.map +1 -1
  17. package/package.json +2 -2
  18. package/dist/types/modules/loyalty-point-setting/routers/index.d.ts +0 -2
  19. package/dist/types/modules/loyalty-point-setting/routers/index.d.ts.map +0 -1
  20. package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts +0 -321
  21. package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts.map +0 -1
  22. package/dist/types/modules/loyalty-point-setting/services/index.d.ts +0 -3
  23. package/dist/types/modules/loyalty-point-setting/services/index.d.ts.map +0 -1
  24. package/dist/types/modules/loyalty-point-setting/services/loyalty-point-category.service.d.ts +0 -37
  25. package/dist/types/modules/loyalty-point-setting/services/loyalty-point-category.service.d.ts.map +0 -1
  26. package/dist/types/modules/loyalty-point-setting/services/loyalty-point-setting.service.d.ts +0 -34
  27. package/dist/types/modules/loyalty-point-setting/services/loyalty-point-setting.service.d.ts.map +0 -1
  28. package/dist/types/modules/loyalty-point-setting/transformers/index.d.ts +0 -3
  29. package/dist/types/modules/loyalty-point-setting/transformers/index.d.ts.map +0 -1
  30. package/dist/types/modules/loyalty-point-setting/transformers/loyalty-point-category.transformer.d.ts +0 -8
  31. package/dist/types/modules/loyalty-point-setting/transformers/loyalty-point-category.transformer.d.ts.map +0 -1
  32. package/dist/types/modules/loyalty-point-setting/transformers/loyalty-point-setting.transformer.d.ts +0 -9
  33. package/dist/types/modules/loyalty-point-setting/transformers/loyalty-point-setting.transformer.d.ts.map +0 -1
  34. package/dist/types/modules/loyalty-point-setting/validations/index.d.ts +0 -3
  35. package/dist/types/modules/loyalty-point-setting/validations/index.d.ts.map +0 -1
  36. package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-category.validation.d.ts +0 -179
  37. package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-category.validation.d.ts.map +0 -1
  38. package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.d.ts +0 -197
  39. package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.d.ts.map +0 -1
  40. package/dist/types/modules/marketing/services/loyalty-point-marketing.service.d.ts +0 -21
  41. package/dist/types/modules/marketing/services/loyalty-point-marketing.service.d.ts.map +0 -1
  42. package/dist/types/modules/marketing/transformers/loyalty-point-marketing.transformer.d.ts +0 -47
  43. package/dist/types/modules/marketing/transformers/loyalty-point-marketing.transformer.d.ts.map +0 -1
  44. package/dist/types/modules/marketing/validations/loyalty-point-marketing.validation.d.ts +0 -513
  45. package/dist/types/modules/marketing/validations/loyalty-point-marketing.validation.d.ts.map +0 -1
@@ -1,384 +1,101 @@
1
1
  import { z } from 'zod';
2
2
  import { DTO } from '@lyxa.ai/core/dist/utilities/validation/global-validation';
3
+ import { PunchMarketingStatus, ValueType } from '@lyxa.ai/core/dist/utilities/enum';
3
4
  /**
4
5
  * Get all schemas for the Parent entity
5
6
  */
6
7
  declare const PunchMarketingHistoryValidationSchema: z.ZodObject<{
7
8
  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
9
  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
- completedOrders: z.ZodNumber;
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
10
  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
+ targetOrder: z.ZodNumber;
12
+ minimumOrderValue: z.ZodNumber;
13
+ completedOrder: z.ZodOptional<z.ZodNumber>;
14
+ startDate: 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>>;
15
+ 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>>;
16
+ completedAt: 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>>;
17
+ status: z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>;
18
+ couponValueType: z.ZodNativeEnum<typeof ValueType>;
19
+ couponValue: z.ZodNumber;
20
+ couponDurationInDays: z.ZodNumber;
21
+ couponExpiryDate: 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>>;
85
22
  }, "strict", z.ZodTypeAny, {
86
23
  shop: import("mongoose").Types.ObjectId;
87
24
  marketing: import("mongoose").Types.ObjectId;
25
+ minimumOrderValue: number;
26
+ couponValueType: ValueType;
27
+ couponValue: number;
28
+ couponDurationInDays: number;
88
29
  user: import("mongoose").Types.ObjectId;
89
- completedOrders: number;
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
- };
30
+ targetOrder: number;
31
+ status?: PunchMarketingStatus | undefined;
32
+ completedOrder?: number | undefined;
33
+ startDate?: Date | undefined;
34
+ expiryDate?: Date | undefined;
35
+ completedAt?: Date | undefined;
36
+ couponExpiryDate?: Date | undefined;
114
37
  }, {
115
38
  shop: string | import("mongoose").Types.ObjectId;
116
39
  marketing: string | import("mongoose").Types.ObjectId;
40
+ minimumOrderValue: number;
41
+ couponValueType: ValueType;
42
+ couponValue: number;
43
+ couponDurationInDays: number;
117
44
  user: string | import("mongoose").Types.ObjectId;
118
- completedOrders: number;
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;
45
+ targetOrder: number;
46
+ status?: PunchMarketingStatus | undefined;
47
+ completedOrder?: number | undefined;
48
+ startDate?: string | Date | undefined;
49
+ expiryDate?: string | Date | undefined;
50
+ completedAt?: string | Date | undefined;
51
+ couponExpiryDate?: string | Date | undefined;
143
52
  }>, PunchMarketingHistorySchema: z.ZodObject<{
144
53
  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>]>>;
145
54
  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>]>>;
146
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
55
  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">>>;
56
+ targetOrder: z.ZodOptional<z.ZodNumber>;
57
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
58
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
59
+ startDate: z.ZodOptional<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
+ expiryDate: z.ZodOptional<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>>>;
61
+ completedAt: z.ZodOptional<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>>>;
62
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
63
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
64
+ couponValue: z.ZodOptional<z.ZodNumber>;
65
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
66
+ couponExpiryDate: z.ZodOptional<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>>>;
222
67
  _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>]>>;
223
68
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
224
69
  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>]>>;
225
70
  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>]>>;
226
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
71
  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">>>;
72
+ targetOrder: z.ZodOptional<z.ZodNumber>;
73
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
74
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
75
+ startDate: z.ZodOptional<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>>>;
76
+ expiryDate: z.ZodOptional<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>>>;
77
+ completedAt: z.ZodOptional<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>>>;
78
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
79
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
80
+ couponValue: z.ZodOptional<z.ZodNumber>;
81
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
82
+ couponExpiryDate: z.ZodOptional<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>>>;
302
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>]>>;
303
84
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
304
85
  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>]>>;
305
86
  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>]>>;
306
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
87
  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">>>;
88
+ targetOrder: z.ZodOptional<z.ZodNumber>;
89
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
90
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
91
+ startDate: z.ZodOptional<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>>>;
92
+ expiryDate: z.ZodOptional<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>>>;
93
+ completedAt: z.ZodOptional<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>>>;
94
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
95
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
96
+ couponValue: z.ZodOptional<z.ZodNumber>;
97
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
98
+ couponExpiryDate: z.ZodOptional<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>>>;
382
99
  _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>]>>;
383
100
  }, 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<{
384
101
  [x: string]: z.ZodOptional<z.ZodTypeAny>;
@@ -389,242 +106,50 @@ declare const PunchMarketingHistoryValidationSchema: z.ZodObject<{
389
106
  }> | z.ZodObject<{
390
107
  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>]>>;
391
108
  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>]>>;
392
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
109
  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">>>;
110
+ targetOrder: z.ZodOptional<z.ZodNumber>;
111
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
112
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
113
+ startDate: z.ZodOptional<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>>>;
114
+ expiryDate: z.ZodOptional<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>>>;
115
+ completedAt: z.ZodOptional<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>>>;
116
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
117
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
118
+ couponValue: z.ZodOptional<z.ZodNumber>;
119
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
120
+ couponExpiryDate: z.ZodOptional<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>>>;
468
121
  _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>]>>;
469
122
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
470
123
  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>]>>;
471
124
  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>]>>;
472
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
125
  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">>>;
126
+ targetOrder: z.ZodOptional<z.ZodNumber>;
127
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
128
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
129
+ startDate: z.ZodOptional<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>>>;
130
+ expiryDate: z.ZodOptional<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>>>;
131
+ completedAt: z.ZodOptional<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>>>;
132
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
133
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
134
+ couponValue: z.ZodOptional<z.ZodNumber>;
135
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
136
+ couponExpiryDate: z.ZodOptional<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>>>;
548
137
  _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>]>>;
549
138
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
550
139
  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>]>>;
551
140
  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>]>>;
552
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
141
  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">>>;
142
+ targetOrder: z.ZodOptional<z.ZodNumber>;
143
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
144
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
145
+ startDate: z.ZodOptional<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>>>;
146
+ expiryDate: z.ZodOptional<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>>>;
147
+ completedAt: z.ZodOptional<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
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
149
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
150
+ couponValue: z.ZodOptional<z.ZodNumber>;
151
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
152
+ couponExpiryDate: z.ZodOptional<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>>>;
628
153
  _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>]>>;
629
154
  }, z.ZodTypeAny, "passthrough">>;
630
155
  /**
@@ -641,6 +166,16 @@ export declare const IncrementPunchHistoryForUserSchema: z.ZodObject<{
641
166
  user: string | import("mongoose").Types.ObjectId;
642
167
  order: string | import("mongoose").Types.ObjectId;
643
168
  }>;
169
+ export declare const GetByUserAndShopSchema: z.ZodObject<{
170
+ userId: z.ZodUnion<[z.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
+ shopId: z.ZodUnion<[z.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
+ }, "strip", z.ZodTypeAny, {
173
+ shopId: import("mongoose").Types.ObjectId;
174
+ userId: import("mongoose").Types.ObjectId;
175
+ }, {
176
+ shopId: string | import("mongoose").Types.ObjectId;
177
+ userId: string | import("mongoose").Types.ObjectId;
178
+ }>;
644
179
  export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
645
180
  success: z.ZodBoolean;
646
181
  message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -664,244 +199,52 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
664
199
  documents: z.ZodArray<z.ZodType<z.objectInputType<{
665
200
  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>]>>;
666
201
  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>]>>;
667
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
202
  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">>>;
203
+ targetOrder: z.ZodOptional<z.ZodNumber>;
204
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
205
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
206
+ startDate: z.ZodOptional<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>>>;
207
+ expiryDate: z.ZodOptional<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>>>;
208
+ completedAt: z.ZodOptional<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>>>;
209
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
210
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
211
+ couponValue: z.ZodOptional<z.ZodNumber>;
212
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
213
+ couponExpiryDate: z.ZodOptional<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>>>;
743
214
  _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>]>>;
744
215
  }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{
745
216
  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>]>>;
746
217
  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>]>>;
747
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
218
  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">>>;
219
+ targetOrder: z.ZodOptional<z.ZodNumber>;
220
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
221
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
222
+ startDate: z.ZodOptional<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>>>;
223
+ expiryDate: z.ZodOptional<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>>>;
224
+ completedAt: z.ZodOptional<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>>>;
225
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
226
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
227
+ couponValue: z.ZodOptional<z.ZodNumber>;
228
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
229
+ couponExpiryDate: z.ZodOptional<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>>>;
823
230
  _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>]>>;
824
231
  }, z.ZodTypeAny, "passthrough">>, "many">;
825
232
  }, "strip", z.ZodTypeAny, {
826
233
  documents: z.objectInputType<{
827
234
  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>]>>;
828
235
  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>]>>;
829
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
236
  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">>>;
237
+ targetOrder: z.ZodOptional<z.ZodNumber>;
238
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
239
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
240
+ startDate: z.ZodOptional<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>>>;
241
+ expiryDate: z.ZodOptional<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>>>;
242
+ completedAt: z.ZodOptional<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>>>;
243
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
244
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
245
+ couponValue: z.ZodOptional<z.ZodNumber>;
246
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
247
+ couponExpiryDate: z.ZodOptional<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>>>;
905
248
  _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>]>>;
906
249
  }, z.ZodTypeAny, "passthrough">[];
907
250
  metadata?: {
@@ -914,82 +257,18 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
914
257
  documents: z.objectInputType<{
915
258
  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>]>>;
916
259
  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>]>>;
917
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
260
  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">>>;
261
+ targetOrder: z.ZodOptional<z.ZodNumber>;
262
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
263
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
264
+ startDate: z.ZodOptional<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>>>;
265
+ expiryDate: z.ZodOptional<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>>>;
266
+ completedAt: z.ZodOptional<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>>>;
267
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
268
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
269
+ couponValue: z.ZodOptional<z.ZodNumber>;
270
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
271
+ couponExpiryDate: z.ZodOptional<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>>>;
993
272
  _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>]>>;
994
273
  }, z.ZodTypeAny, "passthrough">[];
995
274
  metadata?: {
@@ -1001,162 +280,34 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
1001
280
  }>, z.ZodType<z.objectInputType<{
1002
281
  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>]>>;
1003
282
  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>]>>;
1004
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
283
  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">>>;
284
+ targetOrder: z.ZodOptional<z.ZodNumber>;
285
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
286
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
287
+ startDate: z.ZodOptional<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>>>;
288
+ expiryDate: z.ZodOptional<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>>>;
289
+ completedAt: z.ZodOptional<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>>>;
290
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
291
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
292
+ couponValue: z.ZodOptional<z.ZodNumber>;
293
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
294
+ couponExpiryDate: z.ZodOptional<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>>>;
1080
295
  _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>]>>;
1081
296
  }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{
1082
297
  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>]>>;
1083
298
  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>]>>;
1084
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
299
  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">>>;
300
+ targetOrder: z.ZodOptional<z.ZodNumber>;
301
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
302
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
303
+ startDate: z.ZodOptional<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>>>;
304
+ expiryDate: z.ZodOptional<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>>>;
305
+ completedAt: z.ZodOptional<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>>>;
306
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
307
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
308
+ couponValue: z.ZodOptional<z.ZodNumber>;
309
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
310
+ couponExpiryDate: z.ZodOptional<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>>>;
1160
311
  _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>]>>;
1161
312
  }, z.ZodTypeAny, "passthrough">>]>>;
1162
313
  }, "strip", z.ZodTypeAny, {
@@ -1165,163 +316,35 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
1165
316
  data?: z.objectInputType<{
1166
317
  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>]>>;
1167
318
  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>]>>;
1168
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
319
  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">>>;
320
+ targetOrder: z.ZodOptional<z.ZodNumber>;
321
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
322
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
323
+ startDate: z.ZodOptional<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>>>;
324
+ expiryDate: z.ZodOptional<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
+ completedAt: z.ZodOptional<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>>>;
326
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
327
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
328
+ couponValue: z.ZodOptional<z.ZodNumber>;
329
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
330
+ couponExpiryDate: z.ZodOptional<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>>>;
1244
331
  _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>]>>;
1245
332
  }, z.ZodTypeAny, "passthrough"> | {
1246
333
  documents: z.objectInputType<{
1247
334
  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>]>>;
1248
335
  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>]>>;
1249
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
336
  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">>>;
337
+ targetOrder: z.ZodOptional<z.ZodNumber>;
338
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
339
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
340
+ startDate: z.ZodOptional<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>>>;
341
+ expiryDate: z.ZodOptional<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>>>;
342
+ completedAt: z.ZodOptional<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>>>;
343
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
344
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
345
+ couponValue: z.ZodOptional<z.ZodNumber>;
346
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
347
+ couponExpiryDate: z.ZodOptional<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>>>;
1325
348
  _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>]>>;
1326
349
  }, z.ZodTypeAny, "passthrough">[];
1327
350
  metadata?: {
@@ -1337,163 +360,35 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
1337
360
  data?: z.objectInputType<{
1338
361
  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>]>>;
1339
362
  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>]>>;
1340
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
363
  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">>>;
364
+ targetOrder: z.ZodOptional<z.ZodNumber>;
365
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
366
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
367
+ startDate: z.ZodOptional<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>>>;
368
+ expiryDate: z.ZodOptional<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>>>;
369
+ completedAt: z.ZodOptional<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>>>;
370
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
371
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
372
+ couponValue: z.ZodOptional<z.ZodNumber>;
373
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
374
+ couponExpiryDate: z.ZodOptional<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>>>;
1416
375
  _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>]>>;
1417
376
  }, z.ZodTypeAny, "passthrough"> | {
1418
377
  documents: z.objectInputType<{
1419
378
  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>]>>;
1420
379
  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>]>>;
1421
- completedOrders: z.ZodOptional<z.ZodNumber>;
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
380
  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">>>;
381
+ targetOrder: z.ZodOptional<z.ZodNumber>;
382
+ minimumOrderValue: z.ZodOptional<z.ZodNumber>;
383
+ completedOrder: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
384
+ startDate: z.ZodOptional<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>>>;
385
+ expiryDate: z.ZodOptional<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>>>;
386
+ completedAt: z.ZodOptional<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>>>;
387
+ status: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PunchMarketingStatus>>>;
388
+ couponValueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
389
+ couponValue: z.ZodOptional<z.ZodNumber>;
390
+ couponDurationInDays: z.ZodOptional<z.ZodNumber>;
391
+ couponExpiryDate: z.ZodOptional<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>>>;
1497
392
  _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>]>>;
1498
393
  }, z.ZodTypeAny, "passthrough">[];
1499
394
  metadata?: {
@@ -1510,4 +405,5 @@ export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
1510
405
  export type CreatePunchMarketingHistoryDTO = DTO<typeof PunchMarketingHistoryValidationSchema>;
1511
406
  export type PunchMarketingHistoryDTO = DTO<typeof PunchMarketingHistorySchema>;
1512
407
  export type UpdatePunchMarketingHistoryDTO = DTO<typeof UpdatePunchMarketingHistorySchema>;
408
+ export type GetByUserAndShopDTO = DTO<typeof GetByUserAndShopSchema>;
1513
409
  //# sourceMappingURL=punch-marketing-history.validation.d.ts.map