@lyxa.ai/marketing 1.0.53 → 1.0.54
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.
- package/dist/lib/index.d.ts +675 -28
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/modules/coupon/routers/coupon.router.d.ts +647 -0
- package/dist/lib/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/lib/modules/coupon/routers/coupon.router.js +8 -1
- package/dist/lib/modules/coupon/routers/coupon.router.js.map +1 -1
- package/dist/lib/modules/coupon/services/coupon.service.d.ts +8 -1
- package/dist/lib/modules/coupon/services/coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/coupon.service.js +231 -27
- package/dist/lib/modules/coupon/services/coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js +2 -2
- package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js.map +1 -1
- package/dist/lib/modules/coupon/validations/all-coupons.validation.d.ts +293 -1125
- package/dist/lib/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -1
- package/dist/lib/modules/coupon/validations/all-coupons.validation.js +2 -16
- package/dist/lib/modules/coupon/validations/all-coupons.validation.js.map +1 -1
- package/dist/lib/modules/coupon/validations/coupon.validation.d.ts +26 -0
- package/dist/lib/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
- package/dist/lib/modules/coupon/validations/coupon.validation.js +10 -1
- package/dist/lib/modules/coupon/validations/coupon.validation.js.map +1 -1
- package/dist/lib/modules/coupon/validations/index.d.ts +1 -0
- package/dist/lib/modules/coupon/validations/index.d.ts.map +1 -1
- package/dist/lib/modules/coupon/validations/index.js +1 -0
- package/dist/lib/modules/coupon/validations/index.js.map +1 -1
- package/dist/lib/modules/limited-time-offer/campaign/campaign.router.d.ts +8 -8
- package/dist/lib/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts +34 -34
- package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts +28 -28
- package/dist/lib/modules/limited-time-offer/limited-time-offer.service.d.ts +1 -0
- package/dist/lib/modules/limited-time-offer/limited-time-offer.service.d.ts.map +1 -1
- package/dist/lib/modules/limited-time-offer/limited-time-offer.service.js +6 -0
- package/dist/lib/modules/limited-time-offer/limited-time-offer.service.js.map +1 -1
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.builder.d.ts +13 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.builder.d.ts.map +1 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.builder.js +22 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.builder.js.map +1 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.constants.d.ts +20 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.constants.d.ts.map +1 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.constants.js +26 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.constants.js.map +1 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.service.d.ts +8 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.service.d.ts.map +1 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.service.js +60 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.service.js.map +1 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.type.d.ts +5 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.type.d.ts.map +1 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.type.js +3 -0
- package/dist/lib/modules/limited-time-offer/notification/limited-time-offer-notification.type.js.map +1 -0
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.builder.js +1 -1
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.builder.js.map +1 -1
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts +1 -0
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts.map +1 -1
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.js +8 -1
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.js.map +1 -1
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +20 -20
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +82 -82
- package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts +2 -1
- package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts.map +1 -1
- package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.js +12 -5
- package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.js.map +1 -1
- package/dist/lib/modules/marketing/services/marketing.service.d.ts +1 -0
- package/dist/lib/modules/marketing/services/marketing.service.d.ts.map +1 -1
- package/dist/lib/modules/marketing/services/marketing.service.js +9 -0
- package/dist/lib/modules/marketing/services/marketing.service.js.map +1 -1
- package/dist/types/index.d.ts +675 -28
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/coupon/routers/coupon.router.d.ts +647 -0
- package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts +8 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts +293 -1125
- package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/coupon.validation.d.ts +26 -0
- package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/index.d.ts +1 -0
- package/dist/types/modules/coupon/validations/index.d.ts.map +1 -1
- package/dist/types/modules/limited-time-offer/campaign/campaign.router.d.ts +8 -8
- package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts +34 -34
- package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts +28 -28
- package/dist/types/modules/limited-time-offer/limited-time-offer.service.d.ts +1 -0
- package/dist/types/modules/limited-time-offer/limited-time-offer.service.d.ts.map +1 -1
- package/dist/types/modules/limited-time-offer/notification/limited-time-offer-notification.builder.d.ts +13 -0
- package/dist/types/modules/limited-time-offer/notification/limited-time-offer-notification.builder.d.ts.map +1 -0
- package/dist/types/modules/limited-time-offer/notification/limited-time-offer-notification.constants.d.ts +20 -0
- package/dist/types/modules/limited-time-offer/notification/limited-time-offer-notification.constants.d.ts.map +1 -0
- package/dist/types/modules/limited-time-offer/notification/limited-time-offer-notification.service.d.ts +8 -0
- package/dist/types/modules/limited-time-offer/notification/limited-time-offer-notification.service.d.ts.map +1 -0
- package/dist/types/modules/limited-time-offer/notification/limited-time-offer-notification.type.d.ts +5 -0
- package/dist/types/modules/limited-time-offer/notification/limited-time-offer-notification.type.d.ts.map +1 -0
- package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts +1 -0
- package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts.map +1 -1
- package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +20 -20
- package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +82 -82
- package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts +2 -1
- package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/marketing.service.d.ts +1 -0
- package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-coupons.validation.d.ts","sourceRoot":"/","sources":["modules/coupon/validations/all-coupons.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyC,CAAC;AAE3E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC7D,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AACjF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -1722,6 +1722,31 @@ export declare const TotalProfitGraphSchema: z.ZodObject<{
|
|
|
1722
1722
|
}[];
|
|
1723
1723
|
totalProfit?: number | undefined;
|
|
1724
1724
|
}>;
|
|
1725
|
+
export declare const CouponListRequestSchema: z.ZodObject<{
|
|
1726
|
+
page: z.ZodNumber;
|
|
1727
|
+
size: z.ZodNumber;
|
|
1728
|
+
couponTypes: z.ZodArray<z.ZodNativeEnum<typeof CouponType>, "many">;
|
|
1729
|
+
fromDate: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
|
|
1730
|
+
toDate: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
|
|
1731
|
+
status: z.ZodOptional<z.ZodNativeEnum<typeof Status>>;
|
|
1732
|
+
searchKey: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1733
|
+
}, "strip", z.ZodTypeAny, {
|
|
1734
|
+
page: number;
|
|
1735
|
+
size: number;
|
|
1736
|
+
couponTypes: CouponType[];
|
|
1737
|
+
fromDate: Date;
|
|
1738
|
+
toDate: Date;
|
|
1739
|
+
status?: Status | undefined;
|
|
1740
|
+
searchKey?: string | undefined;
|
|
1741
|
+
}, {
|
|
1742
|
+
page: number;
|
|
1743
|
+
size: number;
|
|
1744
|
+
couponTypes: CouponType[];
|
|
1745
|
+
fromDate: string | Date;
|
|
1746
|
+
toDate: string | Date;
|
|
1747
|
+
status?: Status | undefined;
|
|
1748
|
+
searchKey?: string | undefined;
|
|
1749
|
+
}>;
|
|
1725
1750
|
export declare const CouponMetricsResponseSchema: z.ZodObject<{
|
|
1726
1751
|
success: z.ZodBoolean;
|
|
1727
1752
|
message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -2304,4 +2329,5 @@ export type CouponMetricsOutputDTO = DTO<typeof CouponMetricsOutputSchema>;
|
|
|
2304
2329
|
export type CouponMetricsByTypeDTO = DTO<typeof CouponMetricsByTypeSchema>;
|
|
2305
2330
|
export type GraphDTO = DTO<typeof GraphSchema>;
|
|
2306
2331
|
export type TotalProfitGraphDTO = DTO<typeof TotalProfitGraphSchema>;
|
|
2332
|
+
export type CouponListRequestDTO = DTO<typeof CouponListRequestSchema>;
|
|
2307
2333
|
//# sourceMappingURL=coupon.validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coupon.validation.d.ts","sourceRoot":"/","sources":["modules/coupon/validations/coupon.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AACnE,OAAO,EACN,sBAAsB,EACtB,UAAU,EACV,SAAS,EACT,QAAQ,EACR,MAAM,EACN,SAAS,EACT,MAAM,mCAAmC,CAAC;AAO3C;;GAEG;AACH,eAAO,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CAAC,OAAO,cAAc,CAAC,CAAC;AACrD,MAAM,MAAM,wBAAwB,GAAG,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAC/E,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC;AACvD,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACzD,MAAM,MAAM,sBAAsB,GAAG,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC3E,MAAM,MAAM,sBAAsB,GAAG,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC3E,MAAM,MAAM,QAAQ,GAAG,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC;AAC/C,MAAM,MAAM,mBAAmB,GAAG,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACrE,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/coupon/validations/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/coupon/validations/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC"}
|
|
@@ -34,9 +34,9 @@ export declare const campaignRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
34
34
|
updatedAt?: Date | null | undefined;
|
|
35
35
|
title?: string | undefined;
|
|
36
36
|
subTitle?: string | undefined;
|
|
37
|
+
archivedAt?: Date | null | undefined;
|
|
37
38
|
discountOptions?: number[] | undefined;
|
|
38
39
|
maxDiscountCaps?: number[] | undefined;
|
|
39
|
-
archivedAt?: Date | null | undefined;
|
|
40
40
|
} | {
|
|
41
41
|
documents: {
|
|
42
42
|
status: import("@lyxa.ai/core/dist/utilities/enum").LimitedTimeOfferCampaignStatus;
|
|
@@ -48,9 +48,9 @@ export declare const campaignRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
48
48
|
updatedAt?: Date | null | undefined;
|
|
49
49
|
title?: string | undefined;
|
|
50
50
|
subTitle?: string | undefined;
|
|
51
|
+
archivedAt?: Date | null | undefined;
|
|
51
52
|
discountOptions?: number[] | undefined;
|
|
52
53
|
maxDiscountCaps?: number[] | undefined;
|
|
53
|
-
archivedAt?: Date | null | undefined;
|
|
54
54
|
}[];
|
|
55
55
|
metadata?: {
|
|
56
56
|
page: number;
|
|
@@ -77,9 +77,9 @@ export declare const campaignRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
77
77
|
updatedAt?: Date | null | undefined;
|
|
78
78
|
title?: string | undefined;
|
|
79
79
|
subTitle?: string | undefined;
|
|
80
|
+
archivedAt?: Date | null | undefined;
|
|
80
81
|
discountOptions?: number[] | undefined;
|
|
81
82
|
maxDiscountCaps?: number[] | undefined;
|
|
82
|
-
archivedAt?: Date | null | undefined;
|
|
83
83
|
} | {
|
|
84
84
|
documents: ({
|
|
85
85
|
status: import("@lyxa.ai/core/dist/utilities/enum").LimitedTimeOfferCampaignStatus;
|
|
@@ -91,9 +91,9 @@ export declare const campaignRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
91
91
|
updatedAt?: Date | null | undefined;
|
|
92
92
|
title?: string | undefined;
|
|
93
93
|
subTitle?: string | undefined;
|
|
94
|
+
archivedAt?: Date | null | undefined;
|
|
94
95
|
discountOptions?: number[] | undefined;
|
|
95
96
|
maxDiscountCaps?: number[] | undefined;
|
|
96
|
-
archivedAt?: Date | null | undefined;
|
|
97
97
|
} | null)[];
|
|
98
98
|
metadata?: {
|
|
99
99
|
page: number;
|
|
@@ -122,9 +122,9 @@ export declare const campaignRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
122
122
|
updatedAt?: Date | null | undefined;
|
|
123
123
|
title?: string | undefined;
|
|
124
124
|
subTitle?: string | undefined;
|
|
125
|
+
archivedAt?: Date | null | undefined;
|
|
125
126
|
discountOptions?: number[] | undefined;
|
|
126
127
|
maxDiscountCaps?: number[] | undefined;
|
|
127
|
-
archivedAt?: Date | null | undefined;
|
|
128
128
|
} | {
|
|
129
129
|
documents: {
|
|
130
130
|
status: import("@lyxa.ai/core/dist/utilities/enum").LimitedTimeOfferCampaignStatus;
|
|
@@ -136,9 +136,9 @@ export declare const campaignRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
136
136
|
updatedAt?: Date | null | undefined;
|
|
137
137
|
title?: string | undefined;
|
|
138
138
|
subTitle?: string | undefined;
|
|
139
|
+
archivedAt?: Date | null | undefined;
|
|
139
140
|
discountOptions?: number[] | undefined;
|
|
140
141
|
maxDiscountCaps?: number[] | undefined;
|
|
141
|
-
archivedAt?: Date | null | undefined;
|
|
142
142
|
}[];
|
|
143
143
|
metadata?: {
|
|
144
144
|
page: number;
|
|
@@ -211,9 +211,9 @@ export declare const campaignRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
211
211
|
updatedAt?: Date | null | undefined;
|
|
212
212
|
title?: string | undefined;
|
|
213
213
|
subTitle?: string | undefined;
|
|
214
|
+
archivedAt?: Date | null | undefined;
|
|
214
215
|
discountOptions?: number[] | undefined;
|
|
215
216
|
maxDiscountCaps?: number[] | undefined;
|
|
216
|
-
archivedAt?: Date | null | undefined;
|
|
217
217
|
} | {
|
|
218
218
|
documents: {
|
|
219
219
|
status: import("@lyxa.ai/core/dist/utilities/enum").LimitedTimeOfferCampaignStatus;
|
|
@@ -225,9 +225,9 @@ export declare const campaignRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
225
225
|
updatedAt?: Date | null | undefined;
|
|
226
226
|
title?: string | undefined;
|
|
227
227
|
subTitle?: string | undefined;
|
|
228
|
+
archivedAt?: Date | null | undefined;
|
|
228
229
|
discountOptions?: number[] | undefined;
|
|
229
230
|
maxDiscountCaps?: number[] | undefined;
|
|
230
|
-
archivedAt?: Date | null | undefined;
|
|
231
231
|
}[];
|
|
232
232
|
metadata?: {
|
|
233
233
|
page: number;
|
package/dist/types/modules/limited-time-offer/campaign/limited-time-offer-campaign.validation.d.ts
CHANGED
|
@@ -134,9 +134,9 @@ export declare const LtoCampaignSchema: z.ZodObject<{
|
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
135
|
status: LimitedTimeOfferCampaignStatus;
|
|
136
136
|
_id: import("mongoose").Types.ObjectId;
|
|
137
|
+
campaignNumber: number;
|
|
137
138
|
discountOptions: number[];
|
|
138
139
|
maxDiscountCaps: number[];
|
|
139
|
-
campaignNumber: number;
|
|
140
140
|
createdAt?: Date | null | undefined;
|
|
141
141
|
startDate?: Date | null | undefined;
|
|
142
142
|
endDate?: Date | null | undefined;
|
|
@@ -154,9 +154,9 @@ export declare const LtoCampaignSchema: z.ZodObject<{
|
|
|
154
154
|
updatedAt?: Date | null | undefined;
|
|
155
155
|
title?: string | undefined;
|
|
156
156
|
subTitle?: string | undefined;
|
|
157
|
+
archivedAt?: Date | null | undefined;
|
|
157
158
|
discountOptions?: number[] | undefined;
|
|
158
159
|
maxDiscountCaps?: number[] | undefined;
|
|
159
|
-
archivedAt?: Date | null | undefined;
|
|
160
160
|
}>;
|
|
161
161
|
export declare const LtoCampaignHistoryItemSchema: z.ZodObject<{
|
|
162
162
|
id: z.ZodString;
|
|
@@ -191,16 +191,16 @@ export declare const LtoCampaignParticipantItemSchema: z.ZodObject<{
|
|
|
191
191
|
shopId: import("mongoose").Types.ObjectId;
|
|
192
192
|
joinedAt: Date;
|
|
193
193
|
shopName: string | null;
|
|
194
|
-
shopPhoto?: string | null | undefined;
|
|
195
194
|
discountPercentage?: number | undefined;
|
|
196
195
|
maxDiscountCap?: number | undefined;
|
|
196
|
+
shopPhoto?: string | null | undefined;
|
|
197
197
|
}, {
|
|
198
198
|
shopId: string | import("mongoose").Types.ObjectId;
|
|
199
199
|
joinedAt: Date;
|
|
200
200
|
shopName: string | null;
|
|
201
|
-
shopPhoto?: string | null | undefined;
|
|
202
201
|
discountPercentage?: number | undefined;
|
|
203
202
|
maxDiscountCap?: number | undefined;
|
|
203
|
+
shopPhoto?: string | null | undefined;
|
|
204
204
|
}>;
|
|
205
205
|
export declare const LtoActiveCampaignSchema: z.ZodObject<{
|
|
206
206
|
_id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
@@ -251,9 +251,9 @@ export declare const LtoCampaignResponseSchema: z.ZodObject<{
|
|
|
251
251
|
updatedAt?: Date | null | undefined;
|
|
252
252
|
title?: string | undefined;
|
|
253
253
|
subTitle?: string | undefined;
|
|
254
|
+
archivedAt?: Date | null | undefined;
|
|
254
255
|
discountOptions?: number[] | undefined;
|
|
255
256
|
maxDiscountCaps?: number[] | undefined;
|
|
256
|
-
archivedAt?: Date | null | undefined;
|
|
257
257
|
}, z.ZodTypeDef, {
|
|
258
258
|
status: LimitedTimeOfferCampaignStatus;
|
|
259
259
|
_id: string | import("mongoose").Types.ObjectId;
|
|
@@ -264,9 +264,9 @@ export declare const LtoCampaignResponseSchema: z.ZodObject<{
|
|
|
264
264
|
updatedAt?: Date | null | undefined;
|
|
265
265
|
title?: string | undefined;
|
|
266
266
|
subTitle?: string | undefined;
|
|
267
|
+
archivedAt?: Date | null | undefined;
|
|
267
268
|
discountOptions?: number[] | undefined;
|
|
268
269
|
maxDiscountCaps?: number[] | undefined;
|
|
269
|
-
archivedAt?: Date | null | undefined;
|
|
270
270
|
}>, "many">;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
272
|
documents: {
|
|
@@ -279,9 +279,9 @@ export declare const LtoCampaignResponseSchema: z.ZodObject<{
|
|
|
279
279
|
updatedAt?: Date | null | undefined;
|
|
280
280
|
title?: string | undefined;
|
|
281
281
|
subTitle?: string | undefined;
|
|
282
|
+
archivedAt?: Date | null | undefined;
|
|
282
283
|
discountOptions?: number[] | undefined;
|
|
283
284
|
maxDiscountCaps?: number[] | undefined;
|
|
284
|
-
archivedAt?: Date | null | undefined;
|
|
285
285
|
}[];
|
|
286
286
|
metadata?: {
|
|
287
287
|
page: number;
|
|
@@ -300,9 +300,9 @@ export declare const LtoCampaignResponseSchema: z.ZodObject<{
|
|
|
300
300
|
updatedAt?: Date | null | undefined;
|
|
301
301
|
title?: string | undefined;
|
|
302
302
|
subTitle?: string | undefined;
|
|
303
|
+
archivedAt?: Date | null | undefined;
|
|
303
304
|
discountOptions?: number[] | undefined;
|
|
304
305
|
maxDiscountCaps?: number[] | undefined;
|
|
305
|
-
archivedAt?: Date | null | undefined;
|
|
306
306
|
}[];
|
|
307
307
|
metadata?: {
|
|
308
308
|
page: number;
|
|
@@ -320,9 +320,9 @@ export declare const LtoCampaignResponseSchema: z.ZodObject<{
|
|
|
320
320
|
updatedAt?: Date | null | undefined;
|
|
321
321
|
title?: string | undefined;
|
|
322
322
|
subTitle?: string | undefined;
|
|
323
|
+
archivedAt?: Date | null | undefined;
|
|
323
324
|
discountOptions?: number[] | undefined;
|
|
324
325
|
maxDiscountCaps?: number[] | undefined;
|
|
325
|
-
archivedAt?: Date | null | undefined;
|
|
326
326
|
}, z.ZodTypeDef, {
|
|
327
327
|
status: LimitedTimeOfferCampaignStatus;
|
|
328
328
|
_id: string | import("mongoose").Types.ObjectId;
|
|
@@ -333,9 +333,9 @@ export declare const LtoCampaignResponseSchema: z.ZodObject<{
|
|
|
333
333
|
updatedAt?: Date | null | undefined;
|
|
334
334
|
title?: string | undefined;
|
|
335
335
|
subTitle?: string | undefined;
|
|
336
|
+
archivedAt?: Date | null | undefined;
|
|
336
337
|
discountOptions?: number[] | undefined;
|
|
337
338
|
maxDiscountCaps?: number[] | undefined;
|
|
338
|
-
archivedAt?: Date | null | undefined;
|
|
339
339
|
}>]>>;
|
|
340
340
|
}, "strip", z.ZodTypeAny, {
|
|
341
341
|
message: string;
|
|
@@ -350,9 +350,9 @@ export declare const LtoCampaignResponseSchema: z.ZodObject<{
|
|
|
350
350
|
updatedAt?: Date | null | undefined;
|
|
351
351
|
title?: string | undefined;
|
|
352
352
|
subTitle?: string | undefined;
|
|
353
|
+
archivedAt?: Date | null | undefined;
|
|
353
354
|
discountOptions?: number[] | undefined;
|
|
354
355
|
maxDiscountCaps?: number[] | undefined;
|
|
355
|
-
archivedAt?: Date | null | undefined;
|
|
356
356
|
} | {
|
|
357
357
|
documents: {
|
|
358
358
|
status: LimitedTimeOfferCampaignStatus;
|
|
@@ -364,9 +364,9 @@ export declare const LtoCampaignResponseSchema: z.ZodObject<{
|
|
|
364
364
|
updatedAt?: Date | null | undefined;
|
|
365
365
|
title?: string | undefined;
|
|
366
366
|
subTitle?: string | undefined;
|
|
367
|
+
archivedAt?: Date | null | undefined;
|
|
367
368
|
discountOptions?: number[] | undefined;
|
|
368
369
|
maxDiscountCaps?: number[] | undefined;
|
|
369
|
-
archivedAt?: Date | null | undefined;
|
|
370
370
|
}[];
|
|
371
371
|
metadata?: {
|
|
372
372
|
page: number;
|
|
@@ -388,9 +388,9 @@ export declare const LtoCampaignResponseSchema: z.ZodObject<{
|
|
|
388
388
|
updatedAt?: Date | null | undefined;
|
|
389
389
|
title?: string | undefined;
|
|
390
390
|
subTitle?: string | undefined;
|
|
391
|
+
archivedAt?: Date | null | undefined;
|
|
391
392
|
discountOptions?: number[] | undefined;
|
|
392
393
|
maxDiscountCaps?: number[] | undefined;
|
|
393
|
-
archivedAt?: Date | null | undefined;
|
|
394
394
|
} | {
|
|
395
395
|
documents: {
|
|
396
396
|
status: LimitedTimeOfferCampaignStatus;
|
|
@@ -402,9 +402,9 @@ export declare const LtoCampaignResponseSchema: z.ZodObject<{
|
|
|
402
402
|
updatedAt?: Date | null | undefined;
|
|
403
403
|
title?: string | undefined;
|
|
404
404
|
subTitle?: string | undefined;
|
|
405
|
+
archivedAt?: Date | null | undefined;
|
|
405
406
|
discountOptions?: number[] | undefined;
|
|
406
407
|
maxDiscountCaps?: number[] | undefined;
|
|
407
|
-
archivedAt?: Date | null | undefined;
|
|
408
408
|
}[];
|
|
409
409
|
metadata?: {
|
|
410
410
|
page: number;
|
|
@@ -444,9 +444,9 @@ export declare const LtoCampaignNullableResponseSchema: z.ZodObject<{
|
|
|
444
444
|
updatedAt?: Date | null | undefined;
|
|
445
445
|
title?: string | undefined;
|
|
446
446
|
subTitle?: string | undefined;
|
|
447
|
+
archivedAt?: Date | null | undefined;
|
|
447
448
|
discountOptions?: number[] | undefined;
|
|
448
449
|
maxDiscountCaps?: number[] | undefined;
|
|
449
|
-
archivedAt?: Date | null | undefined;
|
|
450
450
|
} | null, z.ZodTypeDef, {
|
|
451
451
|
status: LimitedTimeOfferCampaignStatus;
|
|
452
452
|
_id: string | import("mongoose").Types.ObjectId;
|
|
@@ -457,9 +457,9 @@ export declare const LtoCampaignNullableResponseSchema: z.ZodObject<{
|
|
|
457
457
|
updatedAt?: Date | null | undefined;
|
|
458
458
|
title?: string | undefined;
|
|
459
459
|
subTitle?: string | undefined;
|
|
460
|
+
archivedAt?: Date | null | undefined;
|
|
460
461
|
discountOptions?: number[] | undefined;
|
|
461
462
|
maxDiscountCaps?: number[] | undefined;
|
|
462
|
-
archivedAt?: Date | null | undefined;
|
|
463
463
|
} | null>, "many">;
|
|
464
464
|
}, "strip", z.ZodTypeAny, {
|
|
465
465
|
documents: ({
|
|
@@ -472,9 +472,9 @@ export declare const LtoCampaignNullableResponseSchema: z.ZodObject<{
|
|
|
472
472
|
updatedAt?: Date | null | undefined;
|
|
473
473
|
title?: string | undefined;
|
|
474
474
|
subTitle?: string | undefined;
|
|
475
|
+
archivedAt?: Date | null | undefined;
|
|
475
476
|
discountOptions?: number[] | undefined;
|
|
476
477
|
maxDiscountCaps?: number[] | undefined;
|
|
477
|
-
archivedAt?: Date | null | undefined;
|
|
478
478
|
} | null)[];
|
|
479
479
|
metadata?: {
|
|
480
480
|
page: number;
|
|
@@ -493,9 +493,9 @@ export declare const LtoCampaignNullableResponseSchema: z.ZodObject<{
|
|
|
493
493
|
updatedAt?: Date | null | undefined;
|
|
494
494
|
title?: string | undefined;
|
|
495
495
|
subTitle?: string | undefined;
|
|
496
|
+
archivedAt?: Date | null | undefined;
|
|
496
497
|
discountOptions?: number[] | undefined;
|
|
497
498
|
maxDiscountCaps?: number[] | undefined;
|
|
498
|
-
archivedAt?: Date | null | undefined;
|
|
499
499
|
} | null)[];
|
|
500
500
|
metadata?: {
|
|
501
501
|
page: number;
|
|
@@ -513,9 +513,9 @@ export declare const LtoCampaignNullableResponseSchema: z.ZodObject<{
|
|
|
513
513
|
updatedAt?: Date | null | undefined;
|
|
514
514
|
title?: string | undefined;
|
|
515
515
|
subTitle?: string | undefined;
|
|
516
|
+
archivedAt?: Date | null | undefined;
|
|
516
517
|
discountOptions?: number[] | undefined;
|
|
517
518
|
maxDiscountCaps?: number[] | undefined;
|
|
518
|
-
archivedAt?: Date | null | undefined;
|
|
519
519
|
} | null, z.ZodTypeDef, {
|
|
520
520
|
status: LimitedTimeOfferCampaignStatus;
|
|
521
521
|
_id: string | import("mongoose").Types.ObjectId;
|
|
@@ -526,9 +526,9 @@ export declare const LtoCampaignNullableResponseSchema: z.ZodObject<{
|
|
|
526
526
|
updatedAt?: Date | null | undefined;
|
|
527
527
|
title?: string | undefined;
|
|
528
528
|
subTitle?: string | undefined;
|
|
529
|
+
archivedAt?: Date | null | undefined;
|
|
529
530
|
discountOptions?: number[] | undefined;
|
|
530
531
|
maxDiscountCaps?: number[] | undefined;
|
|
531
|
-
archivedAt?: Date | null | undefined;
|
|
532
532
|
} | null>]>>;
|
|
533
533
|
}, "strip", z.ZodTypeAny, {
|
|
534
534
|
message: string;
|
|
@@ -543,9 +543,9 @@ export declare const LtoCampaignNullableResponseSchema: z.ZodObject<{
|
|
|
543
543
|
updatedAt?: Date | null | undefined;
|
|
544
544
|
title?: string | undefined;
|
|
545
545
|
subTitle?: string | undefined;
|
|
546
|
+
archivedAt?: Date | null | undefined;
|
|
546
547
|
discountOptions?: number[] | undefined;
|
|
547
548
|
maxDiscountCaps?: number[] | undefined;
|
|
548
|
-
archivedAt?: Date | null | undefined;
|
|
549
549
|
} | {
|
|
550
550
|
documents: ({
|
|
551
551
|
status: LimitedTimeOfferCampaignStatus;
|
|
@@ -557,9 +557,9 @@ export declare const LtoCampaignNullableResponseSchema: z.ZodObject<{
|
|
|
557
557
|
updatedAt?: Date | null | undefined;
|
|
558
558
|
title?: string | undefined;
|
|
559
559
|
subTitle?: string | undefined;
|
|
560
|
+
archivedAt?: Date | null | undefined;
|
|
560
561
|
discountOptions?: number[] | undefined;
|
|
561
562
|
maxDiscountCaps?: number[] | undefined;
|
|
562
|
-
archivedAt?: Date | null | undefined;
|
|
563
563
|
} | null)[];
|
|
564
564
|
metadata?: {
|
|
565
565
|
page: number;
|
|
@@ -581,9 +581,9 @@ export declare const LtoCampaignNullableResponseSchema: z.ZodObject<{
|
|
|
581
581
|
updatedAt?: Date | null | undefined;
|
|
582
582
|
title?: string | undefined;
|
|
583
583
|
subTitle?: string | undefined;
|
|
584
|
+
archivedAt?: Date | null | undefined;
|
|
584
585
|
discountOptions?: number[] | undefined;
|
|
585
586
|
maxDiscountCaps?: number[] | undefined;
|
|
586
|
-
archivedAt?: Date | null | undefined;
|
|
587
587
|
} | {
|
|
588
588
|
documents: ({
|
|
589
589
|
status: LimitedTimeOfferCampaignStatus;
|
|
@@ -595,9 +595,9 @@ export declare const LtoCampaignNullableResponseSchema: z.ZodObject<{
|
|
|
595
595
|
updatedAt?: Date | null | undefined;
|
|
596
596
|
title?: string | undefined;
|
|
597
597
|
subTitle?: string | undefined;
|
|
598
|
+
archivedAt?: Date | null | undefined;
|
|
598
599
|
discountOptions?: number[] | undefined;
|
|
599
600
|
maxDiscountCaps?: number[] | undefined;
|
|
600
|
-
archivedAt?: Date | null | undefined;
|
|
601
601
|
} | null)[];
|
|
602
602
|
metadata?: {
|
|
603
603
|
page: number;
|
|
@@ -887,25 +887,25 @@ export declare const LtoCampaignParticipantsResponseSchema: z.ZodObject<{
|
|
|
887
887
|
shopId: string | import("mongoose").Types.ObjectId;
|
|
888
888
|
joinedAt: Date;
|
|
889
889
|
shopName: string | null;
|
|
890
|
-
shopPhoto?: string | null | undefined;
|
|
891
890
|
discountPercentage?: number | undefined;
|
|
892
891
|
maxDiscountCap?: number | undefined;
|
|
892
|
+
shopPhoto?: string | null | undefined;
|
|
893
893
|
}, z.ZodTypeDef, {
|
|
894
894
|
shopId: string | import("mongoose").Types.ObjectId;
|
|
895
895
|
joinedAt: Date;
|
|
896
896
|
shopName: string | null;
|
|
897
|
-
shopPhoto?: string | null | undefined;
|
|
898
897
|
discountPercentage?: number | undefined;
|
|
899
898
|
maxDiscountCap?: number | undefined;
|
|
899
|
+
shopPhoto?: string | null | undefined;
|
|
900
900
|
}>, "many">;
|
|
901
901
|
}, "strip", z.ZodTypeAny, {
|
|
902
902
|
documents: {
|
|
903
903
|
shopId: string | import("mongoose").Types.ObjectId;
|
|
904
904
|
joinedAt: Date;
|
|
905
905
|
shopName: string | null;
|
|
906
|
-
shopPhoto?: string | null | undefined;
|
|
907
906
|
discountPercentage?: number | undefined;
|
|
908
907
|
maxDiscountCap?: number | undefined;
|
|
908
|
+
shopPhoto?: string | null | undefined;
|
|
909
909
|
}[];
|
|
910
910
|
metadata?: {
|
|
911
911
|
page: number;
|
|
@@ -918,9 +918,9 @@ export declare const LtoCampaignParticipantsResponseSchema: z.ZodObject<{
|
|
|
918
918
|
shopId: string | import("mongoose").Types.ObjectId;
|
|
919
919
|
joinedAt: Date;
|
|
920
920
|
shopName: string | null;
|
|
921
|
-
shopPhoto?: string | null | undefined;
|
|
922
921
|
discountPercentage?: number | undefined;
|
|
923
922
|
maxDiscountCap?: number | undefined;
|
|
923
|
+
shopPhoto?: string | null | undefined;
|
|
924
924
|
}[];
|
|
925
925
|
metadata?: {
|
|
926
926
|
page: number;
|
|
@@ -932,16 +932,16 @@ export declare const LtoCampaignParticipantsResponseSchema: z.ZodObject<{
|
|
|
932
932
|
shopId: string | import("mongoose").Types.ObjectId;
|
|
933
933
|
joinedAt: Date;
|
|
934
934
|
shopName: string | null;
|
|
935
|
-
shopPhoto?: string | null | undefined;
|
|
936
935
|
discountPercentage?: number | undefined;
|
|
937
936
|
maxDiscountCap?: number | undefined;
|
|
937
|
+
shopPhoto?: string | null | undefined;
|
|
938
938
|
}, z.ZodTypeDef, {
|
|
939
939
|
shopId: string | import("mongoose").Types.ObjectId;
|
|
940
940
|
joinedAt: Date;
|
|
941
941
|
shopName: string | null;
|
|
942
|
-
shopPhoto?: string | null | undefined;
|
|
943
942
|
discountPercentage?: number | undefined;
|
|
944
943
|
maxDiscountCap?: number | undefined;
|
|
944
|
+
shopPhoto?: string | null | undefined;
|
|
945
945
|
}>]>>;
|
|
946
946
|
}, "strip", z.ZodTypeAny, {
|
|
947
947
|
message: string;
|
|
@@ -950,17 +950,17 @@ export declare const LtoCampaignParticipantsResponseSchema: z.ZodObject<{
|
|
|
950
950
|
shopId: string | import("mongoose").Types.ObjectId;
|
|
951
951
|
joinedAt: Date;
|
|
952
952
|
shopName: string | null;
|
|
953
|
-
shopPhoto?: string | null | undefined;
|
|
954
953
|
discountPercentage?: number | undefined;
|
|
955
954
|
maxDiscountCap?: number | undefined;
|
|
955
|
+
shopPhoto?: string | null | undefined;
|
|
956
956
|
} | {
|
|
957
957
|
documents: {
|
|
958
958
|
shopId: string | import("mongoose").Types.ObjectId;
|
|
959
959
|
joinedAt: Date;
|
|
960
960
|
shopName: string | null;
|
|
961
|
-
shopPhoto?: string | null | undefined;
|
|
962
961
|
discountPercentage?: number | undefined;
|
|
963
962
|
maxDiscountCap?: number | undefined;
|
|
963
|
+
shopPhoto?: string | null | undefined;
|
|
964
964
|
}[];
|
|
965
965
|
metadata?: {
|
|
966
966
|
page: number;
|
|
@@ -976,17 +976,17 @@ export declare const LtoCampaignParticipantsResponseSchema: z.ZodObject<{
|
|
|
976
976
|
shopId: string | import("mongoose").Types.ObjectId;
|
|
977
977
|
joinedAt: Date;
|
|
978
978
|
shopName: string | null;
|
|
979
|
-
shopPhoto?: string | null | undefined;
|
|
980
979
|
discountPercentage?: number | undefined;
|
|
981
980
|
maxDiscountCap?: number | undefined;
|
|
981
|
+
shopPhoto?: string | null | undefined;
|
|
982
982
|
} | {
|
|
983
983
|
documents: {
|
|
984
984
|
shopId: string | import("mongoose").Types.ObjectId;
|
|
985
985
|
joinedAt: Date;
|
|
986
986
|
shopName: string | null;
|
|
987
|
-
shopPhoto?: string | null | undefined;
|
|
988
987
|
discountPercentage?: number | undefined;
|
|
989
988
|
maxDiscountCap?: number | undefined;
|
|
989
|
+
shopPhoto?: string | null | undefined;
|
|
990
990
|
}[];
|
|
991
991
|
metadata?: {
|
|
992
992
|
page: number;
|