@lyxa.ai/marketing 1.0.11 → 1.0.13
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.js +6 -8
- package/dist/types/index.d.ts +223 -1314
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/coupon/routers/coupon.router.d.ts +23 -0
- package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts +2 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/patterns/repository/CouponRepository.d.ts +1 -0
- package/dist/types/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -1
- package/dist/types/modules/deal-setting/routers/deal-setting.router.d.ts.map +1 -1
- package/dist/types/modules/featured-setting/routers/featured-setting.router.d.ts.map +1 -1
- package/dist/types/modules/marketing/routers/marketing.router.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/index.d.ts +0 -1
- package/dist/types/modules/marketing/services/index.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/transformers/buy1-get1-marketing.transformer.d.ts +0 -3
- package/dist/types/modules/marketing/transformers/buy1-get1-marketing.transformer.d.ts.map +1 -1
- package/dist/types/modules/marketing/transformers/discount-marketing.transformer.d.ts +0 -3
- package/dist/types/modules/marketing/transformers/discount-marketing.transformer.d.ts.map +1 -1
- package/dist/types/modules/marketing/transformers/index.d.ts +0 -1
- package/dist/types/modules/marketing/transformers/index.d.ts.map +1 -1
- package/dist/types/modules/marketing/transformers/product-marketing.transformer.d.ts +0 -1
- package/dist/types/modules/marketing/transformers/product-marketing.transformer.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +0 -30
- package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts +0 -30
- package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/index.d.ts +0 -1
- package/dist/types/modules/marketing/validations/index.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts +0 -19
- package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts.map +1 -1
- package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +200 -994
- package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts.map +1 -1
- package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts +6 -1
- package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts.map +1 -1
- package/dist/types/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.d.ts +11 -75
- package/dist/types/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.d.ts.map +1 -1
- package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +221 -1325
- package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":"AAiBA,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAe2D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAjCn26B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAR3F,CAAC;AAmCH,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC"}
|
|
@@ -2646,5 +2646,28 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2646
2646
|
output: import("@typegoose/typegoose").DocumentType<import("@lyxa.ai/core/dist/libraries/mongo/models").Coupon>;
|
|
2647
2647
|
meta: object;
|
|
2648
2648
|
}>;
|
|
2649
|
+
getShareableLink: import("@trpc/server").TRPCQueryProcedure<{
|
|
2650
|
+
input: string;
|
|
2651
|
+
output: {
|
|
2652
|
+
message: string;
|
|
2653
|
+
success: boolean;
|
|
2654
|
+
data?: {
|
|
2655
|
+
link: string;
|
|
2656
|
+
message: string;
|
|
2657
|
+
} | {
|
|
2658
|
+
documents: {
|
|
2659
|
+
link: string;
|
|
2660
|
+
message: string;
|
|
2661
|
+
}[];
|
|
2662
|
+
metadata?: {
|
|
2663
|
+
page: number;
|
|
2664
|
+
size: number;
|
|
2665
|
+
totalElements: number;
|
|
2666
|
+
totalPages: number;
|
|
2667
|
+
} | undefined;
|
|
2668
|
+
} | undefined;
|
|
2669
|
+
};
|
|
2670
|
+
meta: object;
|
|
2671
|
+
}>;
|
|
2649
2672
|
}>>;
|
|
2650
2673
|
//# sourceMappingURL=coupon.router.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coupon.router.d.ts","sourceRoot":"/","sources":["modules/coupon/routers/coupon.router.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"coupon.router.d.ts","sourceRoot":"/","sources":["modules/coupon/routers/coupon.router.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA0Gu41B,CAAC;;;;;;;;;;GADp51B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DocumentType, mongoose } from '@typegoose/typegoose';
|
|
2
2
|
import { Coupon as Model } from '@lyxa.ai/core/dist/libraries/mongo/models';
|
|
3
3
|
import { AllCouponsValidationDTO, CouponValidationOutputDTO, ValidateCouponDTO } from '@modules/coupon/validations';
|
|
4
|
-
import { FilterDTO, PaginatedResponse, DeleteDTO } from '@lyxa.ai/core/dist/utilities/validation';
|
|
4
|
+
import { FilterDTO, PaginatedResponse, DeleteDTO, ShareableLinkDTO } from '@lyxa.ai/core/dist/utilities/validation';
|
|
5
5
|
import { ModelType } from '@typegoose/typegoose/lib/types';
|
|
6
6
|
export declare class CouponService {
|
|
7
7
|
private model;
|
|
@@ -68,6 +68,7 @@ export declare class CouponService {
|
|
|
68
68
|
addCouponToUser(user: any, couponCode: string): Promise<DocumentType<Model>>;
|
|
69
69
|
private hasUserAlreadyAppliedCoupon;
|
|
70
70
|
private exchangeCouponForMultipleUser;
|
|
71
|
+
getShareableLink: (code: string) => Promise<ShareableLinkDTO>;
|
|
71
72
|
}
|
|
72
73
|
export declare const couponService: CouponService;
|
|
73
74
|
//# sourceMappingURL=coupon.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coupon.service.d.ts","sourceRoot":"/","sources":["modules/coupon/services/coupon.service.ts"],"names":[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ouponRepository.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CouponRepository.d.ts","sourceRoot":"/","sources":["modules/coupon/services/patterns/repository/CouponRepository.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,qBAAa,gBAAgB;IAC5B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA+C;IACrE,OAAO,CAAC,QAAQ,CAAC,SAAS,CAA2C;IACrE,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAiD;IAC9E,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAiE;IACvG,OAAO,CAAC,cAAc,CAAoD;;IAU1E,OAAO,KAAK,aAAa,GAKxB;IAEY,cAAc,CAC1B,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,SAAS,EACzC,IAAI,GAAE,MAAU,EAChB,IAAI,GAAE,MAAU,GACd,OAAO,CAAC,GAAG,CAAC;CAmVf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deal-setting.router.d.ts","sourceRoot":"/","sources":["modules/deal-setting/routers/deal-setting.router.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"deal-setting.router.d.ts","sourceRoot":"/","sources":["modules/deal-setting/routers/deal-setting.router.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAkBmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkChD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featured-setting.router.d.ts","sourceRoot":"/","sources":["modules/featured-setting/routers/featured-setting.router.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"featured-setting.router.d.ts","sourceRoot":"/","sources":["modules/featured-setting/routers/featured-setting.router.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAkBzB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCR,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketing.router.d.ts","sourceRoot":"/","sources":["modules/marketing/routers/marketing.router.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"marketing.router.d.ts","sourceRoot":"/","sources":["modules/marketing/routers/marketing.router.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAiBX,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoChB,CAAC"}
|
|
@@ -2,7 +2,6 @@ export * from './buy1-get1-marketing.service';
|
|
|
2
2
|
export * from './discount-marketing.service';
|
|
3
3
|
export * from './featured-marketing.service';
|
|
4
4
|
export * from './free-delivery-marketing.service';
|
|
5
|
-
export * from './loyalty-point-marketing.service';
|
|
6
5
|
export * from './punch-marketing.service';
|
|
7
6
|
export * from './product-marketing.service';
|
|
8
7
|
export * from './marketing.service';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/marketing/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/marketing/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketing.service.d.ts","sourceRoot":"/","sources":["modules/marketing/services/marketing.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAmB,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAEN,SAAS,IAAI,KAAK,EAElB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEN,0BAA0B,EAE1B,kBAAkB,IAAI,SAAS,EAC/B,MAAM,gCAAgC,CAAC;AACxC,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7B,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;YAmGjB,uBAAuB;IAerC;;;OAGG;IACU,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC;CA2B1F;AAED,eAAO,MAAM,gBAAgB,kBAAkC,CAAC"}
|
|
@@ -5,7 +5,6 @@ export declare const buy1Get1MarketingTransformer: import("@lyxa.ai/core/dist/ut
|
|
|
5
5
|
products: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
6
6
|
product: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
7
7
|
marketing: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
8
|
-
loyaltyPointCategory: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
9
8
|
isBuy1Get1: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
10
9
|
valueType: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>>>;
|
|
11
10
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -13,14 +12,12 @@ export declare const buy1Get1MarketingTransformer: import("@lyxa.ai/core/dist/ut
|
|
|
13
12
|
product: import("mongoose").Types.ObjectId;
|
|
14
13
|
value?: number | undefined;
|
|
15
14
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
16
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
17
15
|
isBuy1Get1?: boolean | undefined;
|
|
18
16
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
19
17
|
}, {
|
|
20
18
|
product: string | import("mongoose").Types.ObjectId;
|
|
21
19
|
value?: number | undefined;
|
|
22
20
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
23
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
24
21
|
isBuy1Get1?: boolean | undefined;
|
|
25
22
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
26
23
|
}>, "many">>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buy1-get1-marketing.transformer.d.ts","sourceRoot":"/","sources":["modules/marketing/transformers/buy1-get1-marketing.transformer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,IAAI,KAAK,EAAE,MAAM,+EAA+E,CAAC;AAM3H,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"buy1-get1-marketing.transformer.d.ts","sourceRoot":"/","sources":["modules/marketing/transformers/buy1-get1-marketing.transformer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,IAAI,KAAK,EAAE,MAAM,+EAA+E,CAAC;AAM3H,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAwC,CAAC"}
|
|
@@ -7,7 +7,6 @@ export declare const discountMarketingTransformer: import("@lyxa.ai/core/dist/ut
|
|
|
7
7
|
products: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
8
8
|
product: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
9
9
|
marketing: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
10
|
-
loyaltyPointCategory: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
11
10
|
isBuy1Get1: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
12
11
|
valueType: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>>>;
|
|
13
12
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -15,14 +14,12 @@ export declare const discountMarketingTransformer: import("@lyxa.ai/core/dist/ut
|
|
|
15
14
|
product: import("mongoose").Types.ObjectId;
|
|
16
15
|
value?: number | undefined;
|
|
17
16
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
18
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
19
17
|
isBuy1Get1?: boolean | undefined;
|
|
20
18
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
21
19
|
}, {
|
|
22
20
|
product: string | import("mongoose").Types.ObjectId;
|
|
23
21
|
value?: number | undefined;
|
|
24
22
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
25
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
26
23
|
isBuy1Get1?: boolean | undefined;
|
|
27
24
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
28
25
|
}>, "many">>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discount-marketing.transformer.d.ts","sourceRoot":"/","sources":["modules/marketing/transformers/discount-marketing.transformer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,IAAI,KAAK,EAAE,MAAM,8EAA8E,CAAC;AAM1H,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"discount-marketing.transformer.d.ts","sourceRoot":"/","sources":["modules/marketing/transformers/discount-marketing.transformer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,IAAI,KAAK,EAAE,MAAM,8EAA8E,CAAC;AAM1H,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAwC,CAAC"}
|
|
@@ -2,7 +2,6 @@ export * from './buy1-get1-marketing.transformer';
|
|
|
2
2
|
export * from './discount-marketing.transformer';
|
|
3
3
|
export * from './featured-marketing.transformer';
|
|
4
4
|
export * from './free-delivery-marketing.transformer';
|
|
5
|
-
export * from './loyalty-point-marketing.transformer';
|
|
6
5
|
export * from './punch-marketing.transformer';
|
|
7
6
|
export * from './product-marketing.transformer';
|
|
8
7
|
export * from './marketing.transformer';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/marketing/transformers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/marketing/transformers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC"}
|
|
@@ -2,7 +2,6 @@ import { ProductMarketing as Model } from '@lyxa.ai/core/dist/libraries/mongo/mo
|
|
|
2
2
|
export declare const productMarketingTransformer: import("@lyxa.ai/core/dist/utilities/transformers").GlobalTransformer<Model, import("zod").objectOutputType<{
|
|
3
3
|
product: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
4
4
|
marketing: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
|
|
5
|
-
loyaltyPointCategory: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
|
|
6
5
|
isBuy1Get1: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>>;
|
|
7
6
|
valueType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>>>>;
|
|
8
7
|
value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-marketing.transformer.d.ts","sourceRoot":"/","sources":["modules/marketing/transformers/product-marketing.transformer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,IAAI,KAAK,EAAE,MAAM,mEAAmE,CAAC;AAM9G,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"product-marketing.transformer.d.ts","sourceRoot":"/","sources":["modules/marketing/transformers/product-marketing.transformer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,IAAI,KAAK,EAAE,MAAM,mEAAmE,CAAC;AAM9G,eAAO,MAAM,2BAA2B;;;;;;;4CAAwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-marketings.validation.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/all-marketings.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"all-marketings.validation.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/all-marketings.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAoBjC,eAAO,MAAM,6BAA6B,EAAE,OAM1C,CAAC;AAEH,eAAO,MAAM,mBAAmB,EAAE,OAMhC,CAAC;AAEH,eAAO,MAAM,yBAAyB,EAAE,OAMtC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4C,CAAC;AAEjF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -10,7 +10,6 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
10
10
|
products: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11
11
|
product: z.ZodUnion<[z.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
12
|
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>]>>;
|
|
13
|
-
loyaltyPointCategory: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
14
13
|
isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
15
14
|
valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>>>;
|
|
16
15
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -18,14 +17,12 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
18
17
|
product: import("mongoose").Types.ObjectId;
|
|
19
18
|
value?: number | undefined;
|
|
20
19
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
21
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
22
20
|
isBuy1Get1?: boolean | undefined;
|
|
23
21
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
24
22
|
}, {
|
|
25
23
|
product: string | import("mongoose").Types.ObjectId;
|
|
26
24
|
value?: number | undefined;
|
|
27
25
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
28
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
29
26
|
isBuy1Get1?: boolean | undefined;
|
|
30
27
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
31
28
|
}>, "many">>>;
|
|
@@ -59,7 +56,6 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
59
56
|
product: import("mongoose").Types.ObjectId;
|
|
60
57
|
value?: number | undefined;
|
|
61
58
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
62
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
63
59
|
isBuy1Get1?: boolean | undefined;
|
|
64
60
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
65
61
|
}[];
|
|
@@ -80,7 +76,6 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
80
76
|
product: string | import("mongoose").Types.ObjectId;
|
|
81
77
|
value?: number | undefined;
|
|
82
78
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
83
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
84
79
|
isBuy1Get1?: boolean | undefined;
|
|
85
80
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
86
81
|
}[] | undefined;
|
|
@@ -93,7 +88,6 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
93
88
|
products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
94
89
|
product: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
95
90
|
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>]>>;
|
|
96
|
-
loyaltyPointCategory: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
97
91
|
isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
98
92
|
valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>>>;
|
|
99
93
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -101,14 +95,12 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
101
95
|
product: import("mongoose").Types.ObjectId;
|
|
102
96
|
value?: number | undefined;
|
|
103
97
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
104
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
105
98
|
isBuy1Get1?: boolean | undefined;
|
|
106
99
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
107
100
|
}, {
|
|
108
101
|
product: string | import("mongoose").Types.ObjectId;
|
|
109
102
|
value?: number | undefined;
|
|
110
103
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
111
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
112
104
|
isBuy1Get1?: boolean | undefined;
|
|
113
105
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
114
106
|
}>, "many">>>>;
|
|
@@ -135,7 +127,6 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
135
127
|
products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
136
128
|
product: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
137
129
|
marketing: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
138
|
-
loyaltyPointCategory: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
139
130
|
isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
140
131
|
valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>>>;
|
|
141
132
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -143,14 +134,12 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
143
134
|
product: import("mongoose").Types.ObjectId;
|
|
144
135
|
value?: number | undefined;
|
|
145
136
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
146
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
147
137
|
isBuy1Get1?: boolean | undefined;
|
|
148
138
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
149
139
|
}, {
|
|
150
140
|
product: string | import("mongoose").Types.ObjectId;
|
|
151
141
|
value?: number | undefined;
|
|
152
142
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
153
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
154
143
|
isBuy1Get1?: boolean | undefined;
|
|
155
144
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
156
145
|
}>, "many">>>>;
|
|
@@ -177,7 +166,6 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
177
166
|
products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
178
167
|
product: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
179
168
|
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>]>>;
|
|
180
|
-
loyaltyPointCategory: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
181
169
|
isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
182
170
|
valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>>>;
|
|
183
171
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -185,14 +173,12 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
185
173
|
product: import("mongoose").Types.ObjectId;
|
|
186
174
|
value?: number | undefined;
|
|
187
175
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
188
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
189
176
|
isBuy1Get1?: boolean | undefined;
|
|
190
177
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
191
178
|
}, {
|
|
192
179
|
product: string | import("mongoose").Types.ObjectId;
|
|
193
180
|
value?: number | undefined;
|
|
194
181
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
195
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
196
182
|
isBuy1Get1?: boolean | undefined;
|
|
197
183
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
198
184
|
}>, "many">>>>;
|
|
@@ -225,7 +211,6 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
225
211
|
products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
226
212
|
product: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
227
213
|
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>]>>;
|
|
228
|
-
loyaltyPointCategory: z.ZodOptional<z.ZodUnion<[z.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
214
|
isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
230
215
|
valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>>>;
|
|
231
216
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -233,14 +218,12 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
233
218
|
product: import("mongoose").Types.ObjectId;
|
|
234
219
|
value?: number | undefined;
|
|
235
220
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
236
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
237
221
|
isBuy1Get1?: boolean | undefined;
|
|
238
222
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
239
223
|
}, {
|
|
240
224
|
product: string | import("mongoose").Types.ObjectId;
|
|
241
225
|
value?: number | undefined;
|
|
242
226
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
243
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
244
227
|
isBuy1Get1?: boolean | undefined;
|
|
245
228
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
246
229
|
}>, "many">>>>;
|
|
@@ -267,7 +250,6 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
267
250
|
products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
268
251
|
product: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
269
252
|
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>]>>;
|
|
270
|
-
loyaltyPointCategory: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
271
253
|
isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
272
254
|
valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>>>;
|
|
273
255
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -275,14 +257,12 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
275
257
|
product: import("mongoose").Types.ObjectId;
|
|
276
258
|
value?: number | undefined;
|
|
277
259
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
278
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
279
260
|
isBuy1Get1?: boolean | undefined;
|
|
280
261
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
281
262
|
}, {
|
|
282
263
|
product: string | import("mongoose").Types.ObjectId;
|
|
283
264
|
value?: number | undefined;
|
|
284
265
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
285
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
286
266
|
isBuy1Get1?: boolean | undefined;
|
|
287
267
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
288
268
|
}>, "many">>>>;
|
|
@@ -309,7 +289,6 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
309
289
|
products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
310
290
|
product: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
311
291
|
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>]>>;
|
|
312
|
-
loyaltyPointCategory: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
313
292
|
isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
314
293
|
valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>>>;
|
|
315
294
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -317,14 +296,12 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
317
296
|
product: import("mongoose").Types.ObjectId;
|
|
318
297
|
value?: number | undefined;
|
|
319
298
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
320
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
321
299
|
isBuy1Get1?: boolean | undefined;
|
|
322
300
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
323
301
|
}, {
|
|
324
302
|
product: string | import("mongoose").Types.ObjectId;
|
|
325
303
|
value?: number | undefined;
|
|
326
304
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
327
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
328
305
|
isBuy1Get1?: boolean | undefined;
|
|
329
306
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
330
307
|
}>, "many">>>>;
|
|
@@ -352,7 +329,6 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
352
329
|
products: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
353
330
|
product: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
354
331
|
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>]>>;
|
|
355
|
-
loyaltyPointCategory: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
356
332
|
isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
357
333
|
valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>>>;
|
|
358
334
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -360,14 +336,12 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
360
336
|
product: import("mongoose").Types.ObjectId;
|
|
361
337
|
value?: number | undefined;
|
|
362
338
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
363
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
364
339
|
isBuy1Get1?: boolean | undefined;
|
|
365
340
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
366
341
|
}, {
|
|
367
342
|
product: string | import("mongoose").Types.ObjectId;
|
|
368
343
|
value?: number | undefined;
|
|
369
344
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
370
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
371
345
|
isBuy1Get1?: boolean | undefined;
|
|
372
346
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
373
347
|
}>, "many">>>;
|
|
@@ -401,7 +375,6 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
401
375
|
product: import("mongoose").Types.ObjectId;
|
|
402
376
|
value?: number | undefined;
|
|
403
377
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
404
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
405
378
|
isBuy1Get1?: boolean | undefined;
|
|
406
379
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
407
380
|
}[];
|
|
@@ -422,7 +395,6 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
422
395
|
product: string | import("mongoose").Types.ObjectId;
|
|
423
396
|
value?: number | undefined;
|
|
424
397
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
425
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
426
398
|
isBuy1Get1?: boolean | undefined;
|
|
427
399
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
428
400
|
}[] | undefined;
|
|
@@ -443,7 +415,6 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
443
415
|
product: import("mongoose").Types.ObjectId;
|
|
444
416
|
value?: number | undefined;
|
|
445
417
|
marketing?: import("mongoose").Types.ObjectId | undefined;
|
|
446
|
-
loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
|
|
447
418
|
isBuy1Get1?: boolean | undefined;
|
|
448
419
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
449
420
|
}[];
|
|
@@ -464,7 +435,6 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
464
435
|
product: string | import("mongoose").Types.ObjectId;
|
|
465
436
|
value?: number | undefined;
|
|
466
437
|
marketing?: string | import("mongoose").Types.ObjectId | undefined;
|
|
467
|
-
loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
|
|
468
438
|
isBuy1Get1?: boolean | undefined;
|
|
469
439
|
valueType?: import("@lyxa.ai/core/dist/utilities/enum").ValueType | null | undefined;
|
|
470
440
|
}[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buy1-get1-marketing.validation.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/buy1-get1-marketing.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AAEnE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAsBlE;;GAEG;AACH,QAAA,MACa,iCAAiC
|
|
1
|
+
{"version":3,"file":"buy1-get1-marketing.validation.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/buy1-get1-marketing.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AAEnE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAsBlE;;GAEG;AACH,QAAA,MACa,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAC/B,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAC3B,yBAAyB,mNACrB,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCACQ,CAAC;AAErD,QAAA,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA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