@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.
Files changed (57) hide show
  1. package/dist/types/index.d.ts +3300 -1952
  2. package/dist/types/index.d.ts.map +1 -1
  3. package/dist/types/modules/coupon/routers/coupon.router.d.ts +1477 -1924
  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 +23 -28
  6. package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
  7. package/dist/types/modules/coupon/services/custom-coupon.service.d.ts +2 -1
  8. package/dist/types/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
  9. package/dist/types/modules/coupon/services/global-coupon.service.d.ts +2 -1
  10. package/dist/types/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
  11. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts +2 -1
  12. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
  13. package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts +2 -1
  14. package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
  15. package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts +9 -2
  16. package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
  17. package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts +10 -2
  18. package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
  19. package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts +41 -41
  20. package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts +1159 -1120
  21. package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -1
  22. package/dist/types/modules/coupon/validations/coupon.validation.d.ts +239 -70
  23. package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  24. package/dist/types/modules/coupon/validations/custom-coupon.validation.d.ts +57 -57
  25. package/dist/types/modules/coupon/validations/global-coupon.validation.d.ts +57 -57
  26. package/dist/types/modules/coupon/validations/individual-store-coupon.validation.d.ts +57 -57
  27. package/dist/types/modules/coupon/validations/individual-user-coupon.validation.d.ts +57 -57
  28. package/dist/types/modules/coupon/validations/referral-code-coupon.validation.d.ts +7 -7
  29. package/dist/types/modules/coupon/validations/referral-reward-coupon.validation.d.ts +57 -57
  30. package/dist/types/modules/deal-setting/routers/deal-setting.router.d.ts +2 -38
  31. package/dist/types/modules/deal-setting/routers/deal-setting.router.d.ts.map +1 -1
  32. package/dist/types/modules/deal-setting/validations/deal-setting.validation.d.ts +1 -1
  33. package/dist/types/modules/featured-setting/routers/featured-setting.router.d.ts +2 -38
  34. package/dist/types/modules/featured-setting/routers/featured-setting.router.d.ts.map +1 -1
  35. package/dist/types/modules/featured-setting/validations/featured-setting.validation.d.ts +1 -1
  36. package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts +26 -98
  37. package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts.map +1 -1
  38. package/dist/types/modules/loyalty-point-setting/transformers/loyalty-point-category.transformer.d.ts +1 -1
  39. package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-category.validation.d.ts +18 -18
  40. package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.d.ts +1 -1
  41. package/dist/types/modules/marketing/routers/marketing.router.d.ts +4 -78
  42. package/dist/types/modules/marketing/routers/marketing.router.d.ts.map +1 -1
  43. package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
  44. package/dist/types/modules/marketing/services/punch-marketing.service.d.ts +2 -2
  45. package/dist/types/modules/marketing/services/punch-marketing.service.d.ts.map +1 -1
  46. package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts +2 -1
  47. package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts.map +1 -1
  48. package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +2076 -62
  49. package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts.map +1 -1
  50. package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts +21 -0
  51. package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts.map +1 -1
  52. package/dist/types/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.d.ts +75 -1
  53. package/dist/types/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.d.ts.map +1 -1
  54. package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +1336 -20
  55. package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts.map +1 -1
  56. package/dist/types/modules/referral-setting/validations/referral-setting.validation.d.ts +1 -1
  57. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"punch-marketing-history.validation.d.ts","sourceRoot":"/","sources":["modules/punch-marketing-history/validations/punch-marketing-history.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AAoBnE;;GAEG;AACH,QAAA,MACa,qCAAqC;;;;;;;;;;;;;;;IACnC,2BAA2B;;;;;;;;;;;;;;;;;;kCAC/B,6BAA6B,mNACzB,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;gCACI,CAAC;AAErD;;GAEG;AACH,OAAO,EACN,qCAAqC,EACrC,2BAA2B,EAC3B,6BAA6B,IAAI,uCAAuC,EACxE,iCAAiC,GACjC,CAAC;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAoD,CAAC;AAErG;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,GAAG,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAC/F,MAAM,MAAM,wBAAwB,GAAG,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAC/E,MAAM,MAAM,8BAA8B,GAAG,GAAG,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
1
+ {"version":3,"file":"punch-marketing-history.validation.d.ts","sourceRoot":"/","sources":["modules/punch-marketing-history/validations/punch-marketing-history.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AA0BnE;;GAEG;AACH,QAAA,MACa,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACnC,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAC/B,6BAA6B,mNACzB,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCACI,CAAC;AAErD;;GAEG;AACH,OAAO,EACN,qCAAqC,EACrC,2BAA2B,EA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AC,OAAO,qCAAqC,CAAC,CAAC;AAC/F,MAAM,MAAM,wBAAwB,GAAG,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAC/E,MAAM,MAAM,8BAA8B,GAAG,GAAG,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
@@ -234,7 +234,7 @@ declare const ReferralSettingValidationSchema: z.ZodObject<{
234
234
  export { ReferralSettingValidationSchema, ReferralSettingSchema, ReferralSettingIdSchema as ReferralSettingIdValidationSchema, UpdateReferralSettingSchema, };
235
235
  export declare const ReferralSettingResponseSchema: z.ZodObject<{
236
236
  success: z.ZodBoolean;
237
- message: z.ZodString;
237
+ message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
238
238
  data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
239
239
  metadata: z.ZodOptional<z.ZodObject<{
240
240
  page: z.ZodNumber;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/marketing",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "The Lyxa Marketing microservice",
5
5
  "license": "MIT",
6
6
  "main": "dist/lib/index.js",
@@ -20,7 +20,7 @@
20
20
  "test:watch": "jest --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@lyxa.ai/core": "^1.0.79",
23
+ "@lyxa.ai/core": "^1.0.113",
24
24
  "dayjs": "^1.11.13",
25
25
  "@typegoose/typegoose": "^12.9.1",
26
26
  "@types/bcryptjs": "^2.4.6",