@lyxa.ai/marketing 1.0.0 → 1.0.3
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/types/index.d.ts +3300 -1952
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/coupon/routers/coupon.router.d.ts +1477 -1924
- package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts +23 -28
- package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/custom-coupon.service.d.ts +2 -1
- package/dist/types/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/global-coupon.service.d.ts +2 -1
- package/dist/types/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts +2 -1
- package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts +2 -1
- package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts +9 -2
- package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts +10 -2
- package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts +41 -41
- package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts +1159 -1120
- package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/coupon.validation.d.ts +239 -70
- package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/custom-coupon.validation.d.ts +57 -57
- package/dist/types/modules/coupon/validations/global-coupon.validation.d.ts +57 -57
- package/dist/types/modules/coupon/validations/individual-store-coupon.validation.d.ts +57 -57
- package/dist/types/modules/coupon/validations/individual-user-coupon.validation.d.ts +57 -57
- package/dist/types/modules/coupon/validations/referral-code-coupon.validation.d.ts +7 -7
- package/dist/types/modules/coupon/validations/referral-reward-coupon.validation.d.ts +57 -57
- package/dist/types/modules/deal-setting/routers/deal-setting.router.d.ts +2 -38
- package/dist/types/modules/deal-setting/routers/deal-setting.router.d.ts.map +1 -1
- package/dist/types/modules/deal-setting/validations/deal-setting.validation.d.ts +1 -1
- package/dist/types/modules/featured-setting/routers/featured-setting.router.d.ts +2 -38
- package/dist/types/modules/featured-setting/routers/featured-setting.router.d.ts.map +1 -1
- package/dist/types/modules/featured-setting/validations/featured-setting.validation.d.ts +1 -1
- package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts +26 -98
- package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts.map +1 -1
- package/dist/types/modules/loyalty-point-setting/transformers/loyalty-point-category.transformer.d.ts +1 -1
- package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-category.validation.d.ts +18 -18
- package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.d.ts +1 -1
- package/dist/types/modules/marketing/routers/marketing.router.d.ts +4 -78
- package/dist/types/modules/marketing/routers/marketing.router.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/punch-marketing.service.d.ts +2 -2
- package/dist/types/modules/marketing/services/punch-marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts +2 -1
- package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts.map +1 -1
- package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +2076 -62
- 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 +21 -0
- 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 +75 -1
- 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 +1336 -20
- package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts.map +1 -1
- package/dist/types/modules/referral-setting/validations/referral-setting.validation.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DocumentType } from '@typegoose/typegoose';
|
|
1
|
+
import { DocumentType, mongoose } from '@typegoose/typegoose';
|
|
2
2
|
import { PunchMarketing as Model } from '@lyxa.ai/core/dist/libraries/mongo/models';
|
|
3
3
|
import { CreatePunchMarketingDTO as CreateDTO, UpdatePunchMarketingDTO as UpdateDTO } from '@modules/marketing/validations';
|
|
4
4
|
export declare class PunchMarketingService {
|
|
@@ -14,7 +14,7 @@ export declare class PunchMarketingService {
|
|
|
14
14
|
* @param id ID of the record
|
|
15
15
|
* @param data Data to update
|
|
16
16
|
*/
|
|
17
|
-
update(id:
|
|
17
|
+
update(id: mongoose.Types.ObjectId, data: UpdateDTO): Promise<DocumentType<Model>>;
|
|
18
18
|
}
|
|
19
19
|
export declare const punchMarketingService: PunchMarketingService;
|
|
20
20
|
//# sourceMappingURL=punch-marketing.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"punch-marketing.service.d.ts","sourceRoot":"/","sources":["modules/marketing/services/punch-marketing.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"punch-marketing.service.d.ts","sourceRoot":"/","sources":["modules/marketing/services/punch-marketing.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAuB,cAAc,IAAI,KAAK,EAAE,MAAM,2CAA2C,CAAC;AACzG,OAAO,EACN,uBAAuB,IAAI,SAAS,EACpC,uBAAuB,IAAI,SAAS,EACpC,MAAM,gCAAgC,CAAC;AAExC,qBACa,qBAAqB;IACjC,OAAO,CAAC,KAAK,CAAC;;IAMd;;;OAGG;IACU,MAAM,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAIlE;;;;OAIG;IACU,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;CAsB/F;AAED,eAAO,MAAM,qBAAqB,uBAAuC,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { z, ZodType } from 'zod';
|
|
2
2
|
export declare const AllMarketingsValidationSchema: ZodType;
|
|
3
3
|
export declare const AllMarketingsSchema: ZodType;
|
|
4
|
+
export declare const AllMarketingsUpdateSchema: ZodType;
|
|
4
5
|
export declare const MarketingResponseSchema: z.ZodObject<{
|
|
5
6
|
success: z.ZodBoolean;
|
|
6
|
-
message: z.ZodString
|
|
7
|
+
message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
7
8
|
data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
8
9
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
9
10
|
page: z.ZodNumber;
|
|
@@ -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;AAuBjC,eAAO,MAAM,6BAA6B,EAAE,OAO1C,CAAC;AAEH,eAAO,MAAM,mBAAmB,EAAE,OAOhC,CAAC;AAGH,eAAO,MAAM,yBAAyB,EAAE,OAOtC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4C,CAAC;AAGjF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|