@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
|
@@ -125,25 +125,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
125
125
|
select?: Record<string, 0 | 1> | undefined;
|
|
126
126
|
size?: number | undefined;
|
|
127
127
|
query?: Record<string, any> | undefined;
|
|
128
|
-
populate?:
|
|
129
|
-
path: string;
|
|
130
|
-
match?: Record<string, any> | undefined;
|
|
131
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
132
|
-
options?: {
|
|
133
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
134
|
-
skip?: number | undefined;
|
|
135
|
-
limit?: number | undefined;
|
|
136
|
-
} | undefined;
|
|
137
|
-
} | {
|
|
138
|
-
path: string;
|
|
139
|
-
match?: Record<string, any> | undefined;
|
|
140
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
141
|
-
options?: {
|
|
142
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
143
|
-
skip?: number | undefined;
|
|
144
|
-
limit?: number | undefined;
|
|
145
|
-
} | undefined;
|
|
146
|
-
}[] | undefined;
|
|
128
|
+
populate?: any;
|
|
147
129
|
} | undefined;
|
|
148
130
|
_input_out: {
|
|
149
131
|
page: number;
|
|
@@ -155,25 +137,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
155
137
|
sort?: Record<string, 1 | -1> | undefined;
|
|
156
138
|
select?: Record<string, 0 | 1> | undefined;
|
|
157
139
|
query?: Record<string, any> | undefined;
|
|
158
|
-
populate?:
|
|
159
|
-
path: string;
|
|
160
|
-
match?: Record<string, any> | undefined;
|
|
161
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
162
|
-
options?: {
|
|
163
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
164
|
-
skip?: number | undefined;
|
|
165
|
-
limit?: number | undefined;
|
|
166
|
-
} | undefined;
|
|
167
|
-
} | {
|
|
168
|
-
path: string;
|
|
169
|
-
match?: Record<string, any> | undefined;
|
|
170
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
171
|
-
options?: {
|
|
172
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
173
|
-
skip?: number | undefined;
|
|
174
|
-
limit?: number | undefined;
|
|
175
|
-
} | undefined;
|
|
176
|
-
}[] | undefined;
|
|
140
|
+
populate?: any;
|
|
177
141
|
} | undefined;
|
|
178
142
|
_output_in: {
|
|
179
143
|
message: string;
|
|
@@ -425,13 +389,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
425
389
|
message: string;
|
|
426
390
|
success: boolean;
|
|
427
391
|
data?: import("zod").objectInputType<{
|
|
428
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
392
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
429
393
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
430
394
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
431
395
|
_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
396
|
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
433
397
|
documents: import("zod").objectInputType<{
|
|
434
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
398
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
435
399
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
436
400
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
437
401
|
_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 +412,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
448
412
|
message: string;
|
|
449
413
|
success: boolean;
|
|
450
414
|
data?: import("zod").objectInputType<{
|
|
451
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
415
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
452
416
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
453
417
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
454
418
|
_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
419
|
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
456
420
|
documents: import("zod").objectInputType<{
|
|
457
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
421
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
458
422
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
459
423
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
460
424
|
_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 +457,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
493
457
|
message: string;
|
|
494
458
|
success: boolean;
|
|
495
459
|
data?: import("zod").objectInputType<{
|
|
496
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
460
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
497
461
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
498
462
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
499
463
|
_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
464
|
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
501
465
|
documents: import("zod").objectInputType<{
|
|
502
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
466
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
503
467
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
504
468
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
505
469
|
_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 +480,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
516
480
|
message: string;
|
|
517
481
|
success: boolean;
|
|
518
482
|
data?: import("zod").objectInputType<{
|
|
519
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
483
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
520
484
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
521
485
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
522
486
|
_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
487
|
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
524
488
|
documents: import("zod").objectInputType<{
|
|
525
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
489
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
526
490
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
527
491
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
528
492
|
_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>]>>;
|
|
@@ -565,25 +529,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
565
529
|
select?: Record<string, 0 | 1> | undefined;
|
|
566
530
|
size?: number | undefined;
|
|
567
531
|
query?: Record<string, any> | undefined;
|
|
568
|
-
populate?:
|
|
569
|
-
path: string;
|
|
570
|
-
match?: Record<string, any> | undefined;
|
|
571
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
572
|
-
options?: {
|
|
573
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
574
|
-
skip?: number | undefined;
|
|
575
|
-
limit?: number | undefined;
|
|
576
|
-
} | undefined;
|
|
577
|
-
} | {
|
|
578
|
-
path: string;
|
|
579
|
-
match?: Record<string, any> | undefined;
|
|
580
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
581
|
-
options?: {
|
|
582
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
583
|
-
skip?: number | undefined;
|
|
584
|
-
limit?: number | undefined;
|
|
585
|
-
} | undefined;
|
|
586
|
-
}[] | undefined;
|
|
532
|
+
populate?: any;
|
|
587
533
|
} | undefined;
|
|
588
534
|
_input_out: {
|
|
589
535
|
page: number;
|
|
@@ -595,37 +541,19 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
595
541
|
sort?: Record<string, 1 | -1> | undefined;
|
|
596
542
|
select?: Record<string, 0 | 1> | undefined;
|
|
597
543
|
query?: Record<string, any> | undefined;
|
|
598
|
-
populate?:
|
|
599
|
-
path: string;
|
|
600
|
-
match?: Record<string, any> | undefined;
|
|
601
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
602
|
-
options?: {
|
|
603
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
604
|
-
skip?: number | undefined;
|
|
605
|
-
limit?: number | undefined;
|
|
606
|
-
} | undefined;
|
|
607
|
-
} | {
|
|
608
|
-
path: string;
|
|
609
|
-
match?: Record<string, any> | undefined;
|
|
610
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
611
|
-
options?: {
|
|
612
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
613
|
-
skip?: number | undefined;
|
|
614
|
-
limit?: number | undefined;
|
|
615
|
-
} | undefined;
|
|
616
|
-
}[] | undefined;
|
|
544
|
+
populate?: any;
|
|
617
545
|
} | undefined;
|
|
618
546
|
_output_in: {
|
|
619
547
|
message: string;
|
|
620
548
|
success: boolean;
|
|
621
549
|
data?: import("zod").objectInputType<{
|
|
622
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
550
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
623
551
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
624
552
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
625
553
|
_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
554
|
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
627
555
|
documents: import("zod").objectInputType<{
|
|
628
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
556
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
629
557
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
630
558
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
631
559
|
_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 +570,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
642
570
|
message: string;
|
|
643
571
|
success: boolean;
|
|
644
572
|
data?: import("zod").objectInputType<{
|
|
645
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
573
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
646
574
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
647
575
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
648
576
|
_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
577
|
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
650
578
|
documents: import("zod").objectInputType<{
|
|
651
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
579
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
652
580
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
653
581
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
654
582
|
_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 +612,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
684
612
|
_input_in: {
|
|
685
613
|
[x: string]: any;
|
|
686
614
|
} | import("zod").objectInputType<{
|
|
687
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
615
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
688
616
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
689
617
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
690
618
|
_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 +620,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
692
620
|
_input_out: {
|
|
693
621
|
[x: string]: any;
|
|
694
622
|
} | import("zod").objectOutputType<{
|
|
695
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
623
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
696
624
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
697
625
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
698
626
|
_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 +629,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
701
629
|
message: string;
|
|
702
630
|
success: boolean;
|
|
703
631
|
data?: import("zod").objectInputType<{
|
|
704
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
632
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
705
633
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
706
634
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
707
635
|
_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
636
|
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
709
637
|
documents: import("zod").objectInputType<{
|
|
710
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
638
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
711
639
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
712
640
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
713
641
|
_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 +652,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
724
652
|
message: string;
|
|
725
653
|
success: boolean;
|
|
726
654
|
data?: import("zod").objectInputType<{
|
|
727
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
655
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
728
656
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
729
657
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
730
658
|
_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
659
|
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
732
660
|
documents: import("zod").objectInputType<{
|
|
733
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
661
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
734
662
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
735
663
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
736
664
|
_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 +703,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
775
703
|
message: string;
|
|
776
704
|
success: boolean;
|
|
777
705
|
data?: import("zod").objectInputType<{
|
|
778
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
706
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
779
707
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
780
708
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
781
709
|
_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
710
|
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
783
711
|
documents: import("zod").objectInputType<{
|
|
784
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
712
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
785
713
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
786
714
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
787
715
|
_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 +726,13 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
798
726
|
message: string;
|
|
799
727
|
success: boolean;
|
|
800
728
|
data?: import("zod").objectInputType<{
|
|
801
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
729
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
802
730
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
803
731
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
804
732
|
_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
733
|
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
806
734
|
documents: import("zod").objectInputType<{
|
|
807
|
-
name: import("zod").ZodOptional<import("zod").ZodString
|
|
735
|
+
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
808
736
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
809
737
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
810
738
|
_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>]>>;
|
package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loyalty-point-setting.router.d.ts","sourceRoot":"/","sources":["modules/loyalty-point-setting/routers/loyalty-point-setting.router.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"loyalty-point-setting.router.d.ts","sourceRoot":"/","sources":["modules/loyalty-point-setting/routers/loyalty-point-setting.router.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAevB,CAAC;;;;;;;;;;;;;;4BAXW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAWb,CAAC;;;;;;;;;;;;;;4BAXW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0F1B,CAAC"}
|
|
@@ -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>]>>;
|
package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-category.validation.d.ts
CHANGED
|
@@ -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>]>>;
|
package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.d.ts
CHANGED
|
@@ -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;
|
|
@@ -115,25 +115,7 @@ export declare const marketingRouter: import("@trpc/server").CreateRouterInner<i
|
|
|
115
115
|
select?: Record<string, 0 | 1> | undefined;
|
|
116
116
|
size?: number | undefined;
|
|
117
117
|
query?: Record<string, any> | undefined;
|
|
118
|
-
populate?:
|
|
119
|
-
path: string;
|
|
120
|
-
match?: Record<string, any> | undefined;
|
|
121
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
122
|
-
options?: {
|
|
123
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
124
|
-
skip?: number | undefined;
|
|
125
|
-
limit?: number | undefined;
|
|
126
|
-
} | undefined;
|
|
127
|
-
} | {
|
|
128
|
-
path: string;
|
|
129
|
-
match?: Record<string, any> | undefined;
|
|
130
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
131
|
-
options?: {
|
|
132
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
133
|
-
skip?: number | undefined;
|
|
134
|
-
limit?: number | undefined;
|
|
135
|
-
} | undefined;
|
|
136
|
-
}[] | undefined;
|
|
118
|
+
populate?: any;
|
|
137
119
|
} | undefined;
|
|
138
120
|
_input_out: {
|
|
139
121
|
page: number;
|
|
@@ -145,25 +127,7 @@ export declare const marketingRouter: import("@trpc/server").CreateRouterInner<i
|
|
|
145
127
|
sort?: Record<string, 1 | -1> | undefined;
|
|
146
128
|
select?: Record<string, 0 | 1> | undefined;
|
|
147
129
|
query?: Record<string, any> | undefined;
|
|
148
|
-
populate?:
|
|
149
|
-
path: string;
|
|
150
|
-
match?: Record<string, any> | undefined;
|
|
151
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
152
|
-
options?: {
|
|
153
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
154
|
-
skip?: number | undefined;
|
|
155
|
-
limit?: number | undefined;
|
|
156
|
-
} | undefined;
|
|
157
|
-
} | {
|
|
158
|
-
path: string;
|
|
159
|
-
match?: Record<string, any> | undefined;
|
|
160
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
161
|
-
options?: {
|
|
162
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
163
|
-
skip?: number | undefined;
|
|
164
|
-
limit?: number | undefined;
|
|
165
|
-
} | undefined;
|
|
166
|
-
}[] | undefined;
|
|
130
|
+
populate?: any;
|
|
167
131
|
} | undefined;
|
|
168
132
|
_output_in: {
|
|
169
133
|
message: string;
|
|
@@ -203,46 +167,8 @@ export declare const marketingRouter: import("@trpc/server").CreateRouterInner<i
|
|
|
203
167
|
usedRefreshToken: boolean | undefined;
|
|
204
168
|
tokenRenewed: boolean | undefined;
|
|
205
169
|
};
|
|
206
|
-
_input_in:
|
|
207
|
-
|
|
208
|
-
} | import("zod").objectInputType<{
|
|
209
|
-
shop: 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>]>>;
|
|
210
|
-
marketingType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingType>>;
|
|
211
|
-
isAppliedByCompany: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
212
|
-
duration: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
213
|
-
start: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, Date, string>, import("zod").ZodDate]>, Date, string | Date>, Date, string | Date>;
|
|
214
|
-
end: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, Date, string>, import("zod").ZodDate]>, Date, string | Date>, Date, string | Date>>;
|
|
215
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
216
|
-
start: Date;
|
|
217
|
-
end?: Date | undefined;
|
|
218
|
-
}, {
|
|
219
|
-
start: string | Date;
|
|
220
|
-
end?: string | Date | undefined;
|
|
221
|
-
}>>;
|
|
222
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
|
|
223
|
-
pausedAt: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, Date, string>, import("zod").ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
|
|
224
|
-
_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>]>>;
|
|
225
|
-
}, import("zod").ZodTypeAny, "passthrough">;
|
|
226
|
-
_input_out: {
|
|
227
|
-
[x: string]: any;
|
|
228
|
-
} | import("zod").objectOutputType<{
|
|
229
|
-
shop: 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>]>>;
|
|
230
|
-
marketingType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingType>>;
|
|
231
|
-
isAppliedByCompany: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
232
|
-
duration: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
233
|
-
start: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, Date, string>, import("zod").ZodDate]>, Date, string | Date>, Date, string | Date>;
|
|
234
|
-
end: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, Date, string>, import("zod").ZodDate]>, Date, string | Date>, Date, string | Date>>;
|
|
235
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
236
|
-
start: Date;
|
|
237
|
-
end?: Date | undefined;
|
|
238
|
-
}, {
|
|
239
|
-
start: string | Date;
|
|
240
|
-
end?: string | Date | undefined;
|
|
241
|
-
}>>;
|
|
242
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus>>>;
|
|
243
|
-
pausedAt: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, Date, string>, import("zod").ZodDate]>, Date, string | Date>, Date, string | Date>>>>>;
|
|
244
|
-
_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>]>>;
|
|
245
|
-
}, import("zod").ZodTypeAny, "passthrough">;
|
|
170
|
+
_input_in: any;
|
|
171
|
+
_input_out: any;
|
|
246
172
|
_output_in: {
|
|
247
173
|
message: string;
|
|
248
174
|
success: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketing.router.d.ts","sourceRoot":"/","sources":["modules/marketing/routers/marketing.router.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"marketing.router.d.ts","sourceRoot":"/","sources":["modules/marketing/routers/marketing.router.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAkBf,CAAC;;;;;;;;;;;;;;4BAVV,CAAH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CC,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,
|
|
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,EACN,gBAAgB,EAChB,kBAAkB,IAAI,SAAS,EAC/B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGlG,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAa3D,qBACa,gBAAgB;IAC5B,OAAO,CAAC,KAAK,CAAiD;;IAM9D;;;OAGG;IACU,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,UAAQ,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAkE1F;;;OAGG;IACU,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAczF;;;OAGG;IACU,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,iBAAiB,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAqBxG;;;;OAIG;IACU,MAAM,CAClB,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAC5B,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,OAAO,GACd,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAuE/B;;;OAGG;IACU,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC;CAezD;AAED,eAAO,MAAM,gBAAgB,kBAAkC,CAAC"}
|