@lyxa.ai/marketing 1.0.0 → 1.0.1

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 (30) hide show
  1. package/dist/types/index.d.ts +1221 -1073
  2. package/dist/types/index.d.ts.map +1 -1
  3. package/dist/types/modules/coupon/routers/coupon.router.d.ts +1199 -1051
  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 +8 -27
  6. package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
  7. package/dist/types/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
  8. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
  9. package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
  10. package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts +41 -41
  11. package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts +1159 -1120
  12. package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -1
  13. package/dist/types/modules/coupon/validations/coupon.validation.d.ts +67 -67
  14. package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  15. package/dist/types/modules/coupon/validations/custom-coupon.validation.d.ts +57 -57
  16. package/dist/types/modules/coupon/validations/global-coupon.validation.d.ts +57 -57
  17. package/dist/types/modules/coupon/validations/individual-store-coupon.validation.d.ts +57 -57
  18. package/dist/types/modules/coupon/validations/individual-user-coupon.validation.d.ts +57 -57
  19. package/dist/types/modules/coupon/validations/referral-code-coupon.validation.d.ts +7 -7
  20. package/dist/types/modules/coupon/validations/referral-reward-coupon.validation.d.ts +57 -57
  21. package/dist/types/modules/deal-setting/validations/deal-setting.validation.d.ts +1 -1
  22. package/dist/types/modules/featured-setting/validations/featured-setting.validation.d.ts +1 -1
  23. package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts +22 -22
  24. package/dist/types/modules/loyalty-point-setting/transformers/loyalty-point-category.transformer.d.ts +1 -1
  25. package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-category.validation.d.ts +18 -18
  26. package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.d.ts +1 -1
  27. package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts +1 -1
  28. package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +1 -1
  29. package/dist/types/modules/referral-setting/validations/referral-setting.validation.d.ts +1 -1
  30. package/package.json +1 -1
@@ -425,13 +425,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
425
425
  message: string;
426
426
  success: boolean;
427
427
  data?: import("zod").objectInputType<{
428
- name: import("zod").ZodOptional<import("zod").ZodString>;
428
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
429
429
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
430
430
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
431
431
  _id: 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>]>>;
432
432
  }, import("zod").ZodTypeAny, "passthrough"> | {
433
433
  documents: import("zod").objectInputType<{
434
- name: import("zod").ZodOptional<import("zod").ZodString>;
434
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
435
435
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
436
436
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
437
437
  _id: 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>]>>;
@@ -448,13 +448,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
448
448
  message: string;
449
449
  success: boolean;
450
450
  data?: import("zod").objectInputType<{
451
- name: import("zod").ZodOptional<import("zod").ZodString>;
451
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
452
452
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
453
453
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
454
454
  _id: 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>]>>;
455
455
  }, import("zod").ZodTypeAny, "passthrough"> | {
456
456
  documents: import("zod").objectInputType<{
457
- name: import("zod").ZodOptional<import("zod").ZodString>;
457
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
458
458
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
459
459
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
460
460
  _id: 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>]>>;
@@ -493,13 +493,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
493
493
  message: string;
494
494
  success: boolean;
495
495
  data?: import("zod").objectInputType<{
496
- name: import("zod").ZodOptional<import("zod").ZodString>;
496
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
497
497
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
498
498
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
499
499
  _id: 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>]>>;
500
500
  }, import("zod").ZodTypeAny, "passthrough"> | {
501
501
  documents: import("zod").objectInputType<{
502
- name: import("zod").ZodOptional<import("zod").ZodString>;
502
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
503
503
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
504
504
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
505
505
  _id: 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>]>>;
@@ -516,13 +516,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
516
516
  message: string;
517
517
  success: boolean;
518
518
  data?: import("zod").objectInputType<{
519
- name: import("zod").ZodOptional<import("zod").ZodString>;
519
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
520
520
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
521
521
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
522
522
  _id: 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>]>>;
523
523
  }, import("zod").ZodTypeAny, "passthrough"> | {
524
524
  documents: import("zod").objectInputType<{
525
- name: import("zod").ZodOptional<import("zod").ZodString>;
525
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
526
526
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
527
527
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
528
528
  _id: 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>]>>;
@@ -619,13 +619,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
619
619
  message: string;
620
620
  success: boolean;
621
621
  data?: import("zod").objectInputType<{
622
- name: import("zod").ZodOptional<import("zod").ZodString>;
622
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
623
623
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
624
624
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
625
625
  _id: 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>]>>;
626
626
  }, import("zod").ZodTypeAny, "passthrough"> | {
627
627
  documents: import("zod").objectInputType<{
628
- name: import("zod").ZodOptional<import("zod").ZodString>;
628
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
629
629
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
630
630
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
631
631
  _id: 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>]>>;
@@ -642,13 +642,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
642
642
  message: string;
643
643
  success: boolean;
644
644
  data?: import("zod").objectInputType<{
645
- name: import("zod").ZodOptional<import("zod").ZodString>;
645
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
646
646
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
647
647
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
648
648
  _id: 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>]>>;
649
649
  }, import("zod").ZodTypeAny, "passthrough"> | {
650
650
  documents: import("zod").objectInputType<{
651
- name: import("zod").ZodOptional<import("zod").ZodString>;
651
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
652
652
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
653
653
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
654
654
  _id: 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>]>>;
@@ -684,7 +684,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
684
684
  _input_in: {
685
685
  [x: string]: any;
686
686
  } | import("zod").objectInputType<{
687
- name: import("zod").ZodOptional<import("zod").ZodString>;
687
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
688
688
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
689
689
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
690
690
  _id: 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>]>>;
@@ -692,7 +692,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
692
692
  _input_out: {
693
693
  [x: string]: any;
694
694
  } | import("zod").objectOutputType<{
695
- name: import("zod").ZodOptional<import("zod").ZodString>;
695
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
696
696
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
697
697
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
698
698
  _id: 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>]>>;
@@ -701,13 +701,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
701
701
  message: string;
702
702
  success: boolean;
703
703
  data?: import("zod").objectInputType<{
704
- name: import("zod").ZodOptional<import("zod").ZodString>;
704
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
705
705
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
706
706
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
707
707
  _id: 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>]>>;
708
708
  }, import("zod").ZodTypeAny, "passthrough"> | {
709
709
  documents: import("zod").objectInputType<{
710
- name: import("zod").ZodOptional<import("zod").ZodString>;
710
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
711
711
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
712
712
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
713
713
  _id: 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>]>>;
@@ -724,13 +724,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
724
724
  message: string;
725
725
  success: boolean;
726
726
  data?: import("zod").objectInputType<{
727
- name: import("zod").ZodOptional<import("zod").ZodString>;
727
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
728
728
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
729
729
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
730
730
  _id: 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>]>>;
731
731
  }, import("zod").ZodTypeAny, "passthrough"> | {
732
732
  documents: import("zod").objectInputType<{
733
- name: import("zod").ZodOptional<import("zod").ZodString>;
733
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
734
734
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
735
735
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
736
736
  _id: 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>]>>;
@@ -775,13 +775,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
775
775
  message: string;
776
776
  success: boolean;
777
777
  data?: import("zod").objectInputType<{
778
- name: import("zod").ZodOptional<import("zod").ZodString>;
778
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
779
779
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
780
780
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
781
781
  _id: 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>]>>;
782
782
  }, import("zod").ZodTypeAny, "passthrough"> | {
783
783
  documents: import("zod").objectInputType<{
784
- name: import("zod").ZodOptional<import("zod").ZodString>;
784
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
785
785
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
786
786
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
787
787
  _id: 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>]>>;
@@ -798,13 +798,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
798
798
  message: string;
799
799
  success: boolean;
800
800
  data?: import("zod").objectInputType<{
801
- name: import("zod").ZodOptional<import("zod").ZodString>;
801
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
802
802
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
803
803
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
804
804
  _id: 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>]>>;
805
805
  }, import("zod").ZodTypeAny, "passthrough"> | {
806
806
  documents: import("zod").objectInputType<{
807
- name: import("zod").ZodOptional<import("zod").ZodString>;
807
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
808
808
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
809
809
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
810
810
  _id: 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>]>>;
@@ -1,6 +1,6 @@
1
1
  import { LoyaltyPointCategory as Model } from '@lyxa.ai/core/dist/libraries/mongo/models/loyalty-point-category.model';
2
2
  export declare const loyaltyPointCategoryTransformer: import("@lyxa.ai/core/dist/utilities/transformers").GlobalTransformer<Model, import("zod").objectOutputType<{
3
- name: import("zod").ZodOptional<import("zod").ZodString>;
3
+ name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
4
4
  status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
5
5
  sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
6
6
  _id: 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,7 +5,7 @@ import { Status } from '@lyxa.ai/core/dist/utilities/enum';
5
5
  * Get all schemas for the Parent entity
6
6
  */
7
7
  declare const LoyaltyPointCategoryValidationSchema: z.ZodObject<{
8
- name: z.ZodString;
8
+ name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
9
9
  status: z.ZodDefault<z.ZodNativeEnum<typeof Status>>;
10
10
  sortingOrder: z.ZodNumber;
11
11
  }, "strict", z.ZodTypeAny, {
@@ -17,17 +17,17 @@ declare const LoyaltyPointCategoryValidationSchema: z.ZodObject<{
17
17
  sortingOrder: number;
18
18
  status?: Status | undefined;
19
19
  }>, LoyaltyPointCategorySchema: z.ZodObject<{
20
- name: z.ZodOptional<z.ZodString>;
20
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
21
21
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
22
22
  sortingOrder: z.ZodOptional<z.ZodNumber>;
23
23
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
24
24
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
25
- name: z.ZodOptional<z.ZodString>;
25
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
26
26
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
27
27
  sortingOrder: z.ZodOptional<z.ZodNumber>;
28
28
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
29
29
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
30
- name: z.ZodOptional<z.ZodString>;
30
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
31
31
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
32
32
  sortingOrder: z.ZodOptional<z.ZodNumber>;
33
33
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
@@ -38,17 +38,17 @@ declare const LoyaltyPointCategoryValidationSchema: z.ZodObject<{
38
38
  }, {
39
39
  [x: string]: any;
40
40
  }> | z.ZodObject<{
41
- name: z.ZodOptional<z.ZodString>;
41
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
42
42
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
43
43
  sortingOrder: z.ZodOptional<z.ZodNumber>;
44
44
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
45
45
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
46
- name: z.ZodOptional<z.ZodString>;
46
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
47
47
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
48
48
  sortingOrder: z.ZodOptional<z.ZodNumber>;
49
49
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
50
50
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
51
- name: z.ZodOptional<z.ZodString>;
51
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
52
52
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
53
53
  sortingOrder: z.ZodOptional<z.ZodNumber>;
54
54
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
@@ -59,7 +59,7 @@ declare const LoyaltyPointCategoryValidationSchema: z.ZodObject<{
59
59
  export { LoyaltyPointCategoryValidationSchema, LoyaltyPointCategorySchema, LoyaltyPointCategoryIdSchema as LoyaltyPointCategoryIdValidationSchema, UpdateLoyaltyPointCategorySchema, };
60
60
  export declare const LoyaltyPointCategoryResponseSchema: z.ZodObject<{
61
61
  success: z.ZodBoolean;
62
- message: z.ZodString;
62
+ message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
63
63
  data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
64
64
  metadata: z.ZodOptional<z.ZodObject<{
65
65
  page: z.ZodNumber;
@@ -78,19 +78,19 @@ export declare const LoyaltyPointCategoryResponseSchema: z.ZodObject<{
78
78
  totalPages: number;
79
79
  }>>;
80
80
  documents: z.ZodArray<z.ZodType<z.objectInputType<{
81
- name: z.ZodOptional<z.ZodString>;
81
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
82
82
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
83
83
  sortingOrder: z.ZodOptional<z.ZodNumber>;
84
84
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
85
85
  }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{
86
- name: z.ZodOptional<z.ZodString>;
86
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
87
87
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
88
88
  sortingOrder: z.ZodOptional<z.ZodNumber>;
89
89
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
90
90
  }, z.ZodTypeAny, "passthrough">>, "many">;
91
91
  }, "strip", z.ZodTypeAny, {
92
92
  documents: z.objectInputType<{
93
- name: z.ZodOptional<z.ZodString>;
93
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
94
94
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
95
95
  sortingOrder: z.ZodOptional<z.ZodNumber>;
96
96
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
@@ -103,7 +103,7 @@ export declare const LoyaltyPointCategoryResponseSchema: z.ZodObject<{
103
103
  } | undefined;
104
104
  }, {
105
105
  documents: z.objectInputType<{
106
- name: z.ZodOptional<z.ZodString>;
106
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
107
107
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
108
108
  sortingOrder: z.ZodOptional<z.ZodNumber>;
109
109
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
@@ -115,12 +115,12 @@ export declare const LoyaltyPointCategoryResponseSchema: z.ZodObject<{
115
115
  totalPages: number;
116
116
  } | undefined;
117
117
  }>, z.ZodType<z.objectInputType<{
118
- name: z.ZodOptional<z.ZodString>;
118
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
119
119
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
120
120
  sortingOrder: z.ZodOptional<z.ZodNumber>;
121
121
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
122
122
  }, z.ZodTypeAny, "passthrough">, z.ZodTypeDef, z.objectInputType<{
123
- name: z.ZodOptional<z.ZodString>;
123
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
124
124
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
125
125
  sortingOrder: z.ZodOptional<z.ZodNumber>;
126
126
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
@@ -129,13 +129,13 @@ export declare const LoyaltyPointCategoryResponseSchema: z.ZodObject<{
129
129
  message: string;
130
130
  success: boolean;
131
131
  data?: z.objectInputType<{
132
- name: z.ZodOptional<z.ZodString>;
132
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
133
133
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
134
134
  sortingOrder: z.ZodOptional<z.ZodNumber>;
135
135
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
136
136
  }, z.ZodTypeAny, "passthrough"> | {
137
137
  documents: z.objectInputType<{
138
- name: z.ZodOptional<z.ZodString>;
138
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
139
139
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
140
140
  sortingOrder: z.ZodOptional<z.ZodNumber>;
141
141
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
@@ -151,13 +151,13 @@ export declare const LoyaltyPointCategoryResponseSchema: z.ZodObject<{
151
151
  message: string;
152
152
  success: boolean;
153
153
  data?: z.objectInputType<{
154
- name: z.ZodOptional<z.ZodString>;
154
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
155
155
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
156
156
  sortingOrder: z.ZodOptional<z.ZodNumber>;
157
157
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
158
158
  }, z.ZodTypeAny, "passthrough"> | {
159
159
  documents: z.objectInputType<{
160
- name: z.ZodOptional<z.ZodString>;
160
+ name: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
161
161
  status: z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof Status>>>;
162
162
  sortingOrder: z.ZodOptional<z.ZodNumber>;
163
163
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
@@ -67,7 +67,7 @@ declare const LoyaltyPointSettingValidationSchema: z.ZodObject<{
67
67
  export { LoyaltyPointSettingValidationSchema, LoyaltyPointSettingSchema, LoyaltyPointSettingIdSchema as LoyaltyPointSettingIdValidationSchema, UpdateLoyaltyPointSettingSchema, };
68
68
  export declare const LoyaltyPointSettingResponseSchema: z.ZodObject<{
69
69
  success: z.ZodBoolean;
70
- message: z.ZodString;
70
+ message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
71
71
  data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
72
72
  metadata: z.ZodOptional<z.ZodObject<{
73
73
  page: z.ZodNumber;
@@ -3,7 +3,7 @@ export declare const AllMarketingsValidationSchema: ZodType;
3
3
  export declare const AllMarketingsSchema: ZodType;
4
4
  export declare const MarketingResponseSchema: z.ZodObject<{
5
5
  success: z.ZodBoolean;
6
- message: z.ZodString;
6
+ message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
7
7
  data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
8
8
  metadata: z.ZodOptional<z.ZodObject<{
9
9
  page: z.ZodNumber;
@@ -67,7 +67,7 @@ declare const PunchMarketingHistoryValidationSchema: z.ZodObject<{
67
67
  export { PunchMarketingHistoryValidationSchema, PunchMarketingHistorySchema, PunchMarketingHistoryIdSchema as PunchMarketingHistoryIdValidationSchema, UpdatePunchMarketingHistorySchema, };
68
68
  export declare const PunchMarketingHistoryResponseSchema: z.ZodObject<{
69
69
  success: z.ZodBoolean;
70
- message: z.ZodString;
70
+ message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
71
71
  data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
72
72
  metadata: z.ZodOptional<z.ZodObject<{
73
73
  page: z.ZodNumber;
@@ -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.1",
4
4
  "description": "The Lyxa Marketing microservice",
5
5
  "license": "MIT",
6
6
  "main": "dist/lib/index.js",