@lyxa.ai/marketing 1.0.46 → 1.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/index.d.ts +68 -6
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/modules/coupon/routers/coupon.router.d.ts +68 -6
- package/dist/lib/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/lib/modules/coupon/routers/coupon.router.js +12 -3
- package/dist/lib/modules/coupon/routers/coupon.router.js.map +1 -1
- package/dist/lib/modules/coupon/services/coupon.service.d.ts +1 -0
- package/dist/lib/modules/coupon/services/coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/coupon.service.js +101 -3
- package/dist/lib/modules/coupon/services/coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts +10 -4
- package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js +88 -9
- package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js.map +1 -1
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js +15 -4
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/validations/coupon.validation.d.ts +346 -34
- package/dist/lib/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
- package/dist/lib/modules/coupon/validations/coupon.validation.js +15 -3
- package/dist/lib/modules/coupon/validations/coupon.validation.js.map +1 -1
- package/dist/lib/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +6 -6
- package/dist/lib/modules/marketing/validations/discount-marketing.validation.d.ts +6 -6
- package/dist/lib/modules/marketing/validations/product-marketing.validation.d.ts +2 -2
- package/dist/types/index.d.ts +68 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/coupon/routers/coupon.router.d.ts +68 -6
- package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts +1 -0
- package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts +10 -4
- package/dist/types/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/coupon.validation.d.ts +346 -34
- package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +6 -6
- package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts +6 -6
- package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts +2 -2
- package/package.json +1 -1
|
@@ -55,6 +55,7 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
55
55
|
spendLimit: number;
|
|
56
56
|
isSpendLimitEnabled: boolean;
|
|
57
57
|
shop: import("mongoose").Types.ObjectId;
|
|
58
|
+
categories: import("mongoose").Types.ObjectId[];
|
|
58
59
|
products: {
|
|
59
60
|
product: import("mongoose").Types.ObjectId;
|
|
60
61
|
value?: number | undefined;
|
|
@@ -66,7 +67,6 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
66
67
|
marketingType: MarketingType.BUY1GET1;
|
|
67
68
|
isAppliedByCompany: boolean;
|
|
68
69
|
pausedAt: Date | null;
|
|
69
|
-
categories: import("mongoose").Types.ObjectId[];
|
|
70
70
|
isEntireMenu: boolean;
|
|
71
71
|
excludeProducts: import("mongoose").Types.ObjectId[];
|
|
72
72
|
isOnlyForSubscriber: boolean;
|
|
@@ -82,6 +82,7 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
82
82
|
status?: import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus | undefined;
|
|
83
83
|
spendLimit?: number | undefined;
|
|
84
84
|
isSpendLimitEnabled?: boolean | undefined;
|
|
85
|
+
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
85
86
|
admin?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
86
87
|
products?: {
|
|
87
88
|
product: string | import("mongoose").Types.ObjectId;
|
|
@@ -92,7 +93,6 @@ declare const Buy1Get1MarketingValidationSchema: z.ZodObject<{
|
|
|
92
93
|
isBuy1Get1?: boolean | undefined;
|
|
93
94
|
}[] | undefined;
|
|
94
95
|
pausedAt?: string | Date | null | undefined;
|
|
95
|
-
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
96
96
|
isEntireMenu?: boolean | undefined;
|
|
97
97
|
excludeProducts?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
98
98
|
isOnlyForSubscriber?: boolean | undefined;
|
|
@@ -433,6 +433,7 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
433
433
|
spendLimit: number;
|
|
434
434
|
isSpendLimitEnabled: boolean;
|
|
435
435
|
shop: import("mongoose").Types.ObjectId;
|
|
436
|
+
categories: import("mongoose").Types.ObjectId[];
|
|
436
437
|
products: {
|
|
437
438
|
product: import("mongoose").Types.ObjectId;
|
|
438
439
|
value?: number | undefined;
|
|
@@ -444,7 +445,6 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
444
445
|
marketingType: MarketingType.BUY1GET1;
|
|
445
446
|
isAppliedByCompany: boolean;
|
|
446
447
|
pausedAt: Date | null;
|
|
447
|
-
categories: import("mongoose").Types.ObjectId[];
|
|
448
448
|
isEntireMenu: boolean;
|
|
449
449
|
excludeProducts: import("mongoose").Types.ObjectId[];
|
|
450
450
|
isOnlyForSubscriber: boolean;
|
|
@@ -460,6 +460,7 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
460
460
|
status?: import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus | undefined;
|
|
461
461
|
spendLimit?: number | undefined;
|
|
462
462
|
isSpendLimitEnabled?: boolean | undefined;
|
|
463
|
+
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
463
464
|
admin?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
464
465
|
products?: {
|
|
465
466
|
product: string | import("mongoose").Types.ObjectId;
|
|
@@ -470,7 +471,6 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
470
471
|
isBuy1Get1?: boolean | undefined;
|
|
471
472
|
}[] | undefined;
|
|
472
473
|
pausedAt?: string | Date | null | undefined;
|
|
473
|
-
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
474
474
|
isEntireMenu?: boolean | undefined;
|
|
475
475
|
excludeProducts?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
476
476
|
isOnlyForSubscriber?: boolean | undefined;
|
|
@@ -483,6 +483,7 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
483
483
|
spendLimit: number;
|
|
484
484
|
isSpendLimitEnabled: boolean;
|
|
485
485
|
shop: import("mongoose").Types.ObjectId;
|
|
486
|
+
categories: import("mongoose").Types.ObjectId[];
|
|
486
487
|
products: {
|
|
487
488
|
product: import("mongoose").Types.ObjectId;
|
|
488
489
|
value?: number | undefined;
|
|
@@ -494,7 +495,6 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
494
495
|
marketingType: MarketingType.BUY1GET1;
|
|
495
496
|
isAppliedByCompany: boolean;
|
|
496
497
|
pausedAt: Date | null;
|
|
497
|
-
categories: import("mongoose").Types.ObjectId[];
|
|
498
498
|
isEntireMenu: boolean;
|
|
499
499
|
excludeProducts: import("mongoose").Types.ObjectId[];
|
|
500
500
|
isOnlyForSubscriber: boolean;
|
|
@@ -510,6 +510,7 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
510
510
|
status?: import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus | undefined;
|
|
511
511
|
spendLimit?: number | undefined;
|
|
512
512
|
isSpendLimitEnabled?: boolean | undefined;
|
|
513
|
+
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
513
514
|
admin?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
514
515
|
products?: {
|
|
515
516
|
product: string | import("mongoose").Types.ObjectId;
|
|
@@ -520,7 +521,6 @@ declare const Buy1Get1MarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
520
521
|
isBuy1Get1?: boolean | undefined;
|
|
521
522
|
}[] | undefined;
|
|
522
523
|
pausedAt?: string | Date | null | undefined;
|
|
523
|
-
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
524
524
|
isEntireMenu?: boolean | undefined;
|
|
525
525
|
excludeProducts?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
526
526
|
isOnlyForSubscriber?: boolean | undefined;
|
|
@@ -61,6 +61,7 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
|
|
|
61
61
|
spendLimit: number;
|
|
62
62
|
isSpendLimitEnabled: boolean;
|
|
63
63
|
shop: import("mongoose").Types.ObjectId;
|
|
64
|
+
categories: import("mongoose").Types.ObjectId[];
|
|
64
65
|
products: {
|
|
65
66
|
product: import("mongoose").Types.ObjectId;
|
|
66
67
|
value?: number | undefined;
|
|
@@ -72,7 +73,6 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
|
|
|
72
73
|
marketingType: MarketingType.DISCOUNT;
|
|
73
74
|
isAppliedByCompany: boolean;
|
|
74
75
|
pausedAt: Date | null;
|
|
75
|
-
categories: import("mongoose").Types.ObjectId[];
|
|
76
76
|
isEntireMenu: boolean;
|
|
77
77
|
excludeProducts: import("mongoose").Types.ObjectId[];
|
|
78
78
|
isOnlyForSubscriber: boolean;
|
|
@@ -96,6 +96,7 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
|
|
|
96
96
|
valueType?: ValueType | undefined;
|
|
97
97
|
spendLimit?: number | undefined;
|
|
98
98
|
isSpendLimitEnabled?: boolean | undefined;
|
|
99
|
+
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
99
100
|
admin?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
100
101
|
products?: {
|
|
101
102
|
product: string | import("mongoose").Types.ObjectId;
|
|
@@ -106,7 +107,6 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
|
|
|
106
107
|
isBuy1Get1?: boolean | undefined;
|
|
107
108
|
}[] | undefined;
|
|
108
109
|
pausedAt?: string | Date | null | undefined;
|
|
109
|
-
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
110
110
|
isEntireMenu?: boolean | undefined;
|
|
111
111
|
categoryValue?: number | undefined;
|
|
112
112
|
categoryValueType?: ValueType | undefined;
|
|
@@ -331,6 +331,7 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
331
331
|
spendLimit: number;
|
|
332
332
|
isSpendLimitEnabled: boolean;
|
|
333
333
|
shop: import("mongoose").Types.ObjectId;
|
|
334
|
+
categories: import("mongoose").Types.ObjectId[];
|
|
334
335
|
products: {
|
|
335
336
|
product: import("mongoose").Types.ObjectId;
|
|
336
337
|
value?: number | undefined;
|
|
@@ -342,7 +343,6 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
342
343
|
marketingType: MarketingType.DISCOUNT;
|
|
343
344
|
isAppliedByCompany: boolean;
|
|
344
345
|
pausedAt: Date | null;
|
|
345
|
-
categories: import("mongoose").Types.ObjectId[];
|
|
346
346
|
isEntireMenu: boolean;
|
|
347
347
|
excludeProducts: import("mongoose").Types.ObjectId[];
|
|
348
348
|
isOnlyForSubscriber: boolean;
|
|
@@ -366,6 +366,7 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
366
366
|
valueType?: ValueType | undefined;
|
|
367
367
|
spendLimit?: number | undefined;
|
|
368
368
|
isSpendLimitEnabled?: boolean | undefined;
|
|
369
|
+
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
369
370
|
admin?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
370
371
|
products?: {
|
|
371
372
|
product: string | import("mongoose").Types.ObjectId;
|
|
@@ -376,7 +377,6 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
376
377
|
isBuy1Get1?: boolean | undefined;
|
|
377
378
|
}[] | undefined;
|
|
378
379
|
pausedAt?: string | Date | null | undefined;
|
|
379
|
-
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
380
380
|
isEntireMenu?: boolean | undefined;
|
|
381
381
|
categoryValue?: number | undefined;
|
|
382
382
|
categoryValueType?: ValueType | undefined;
|
|
@@ -393,6 +393,7 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
393
393
|
spendLimit: number;
|
|
394
394
|
isSpendLimitEnabled: boolean;
|
|
395
395
|
shop: import("mongoose").Types.ObjectId;
|
|
396
|
+
categories: import("mongoose").Types.ObjectId[];
|
|
396
397
|
products: {
|
|
397
398
|
product: import("mongoose").Types.ObjectId;
|
|
398
399
|
value?: number | undefined;
|
|
@@ -404,7 +405,6 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
404
405
|
marketingType: MarketingType.DISCOUNT;
|
|
405
406
|
isAppliedByCompany: boolean;
|
|
406
407
|
pausedAt: Date | null;
|
|
407
|
-
categories: import("mongoose").Types.ObjectId[];
|
|
408
408
|
isEntireMenu: boolean;
|
|
409
409
|
excludeProducts: import("mongoose").Types.ObjectId[];
|
|
410
410
|
isOnlyForSubscriber: boolean;
|
|
@@ -428,6 +428,7 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
428
428
|
valueType?: ValueType | undefined;
|
|
429
429
|
spendLimit?: number | undefined;
|
|
430
430
|
isSpendLimitEnabled?: boolean | undefined;
|
|
431
|
+
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
431
432
|
admin?: string | import("mongoose").Types.ObjectId | null | undefined;
|
|
432
433
|
products?: {
|
|
433
434
|
product: string | import("mongoose").Types.ObjectId;
|
|
@@ -438,7 +439,6 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
|
|
|
438
439
|
isBuy1Get1?: boolean | undefined;
|
|
439
440
|
}[] | undefined;
|
|
440
441
|
pausedAt?: string | Date | null | undefined;
|
|
441
|
-
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
442
442
|
isEntireMenu?: boolean | undefined;
|
|
443
443
|
categoryValue?: number | undefined;
|
|
444
444
|
categoryValueType?: ValueType | undefined;
|
|
@@ -185,6 +185,7 @@ export declare const BatchCreateProductMarketingsInputSchema: z.ZodObject<{
|
|
|
185
185
|
isBuy1Get1: z.ZodBoolean;
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
187
187
|
shop: import("mongoose").Types.ObjectId;
|
|
188
|
+
categories: import("mongoose").Types.ObjectId[];
|
|
188
189
|
products: {
|
|
189
190
|
product: import("mongoose").Types.ObjectId;
|
|
190
191
|
value?: number | undefined;
|
|
@@ -192,7 +193,6 @@ export declare const BatchCreateProductMarketingsInputSchema: z.ZodObject<{
|
|
|
192
193
|
}[];
|
|
193
194
|
marketingId: import("mongoose").Types.ObjectId;
|
|
194
195
|
isBuy1Get1: boolean;
|
|
195
|
-
categories: import("mongoose").Types.ObjectId[];
|
|
196
196
|
isEntireMenu: boolean;
|
|
197
197
|
value?: number | undefined;
|
|
198
198
|
valueType?: ValueType | undefined;
|
|
@@ -206,13 +206,13 @@ export declare const BatchCreateProductMarketingsInputSchema: z.ZodObject<{
|
|
|
206
206
|
isEntireMenu: boolean;
|
|
207
207
|
value?: number | undefined;
|
|
208
208
|
valueType?: ValueType | undefined;
|
|
209
|
+
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
209
210
|
products?: {
|
|
210
211
|
product: string | import("mongoose").Types.ObjectId;
|
|
211
212
|
value?: number | undefined;
|
|
212
213
|
valueType?: ValueType | null | undefined;
|
|
213
214
|
}[] | undefined;
|
|
214
215
|
isAppliedByCompany?: boolean | undefined;
|
|
215
|
-
categories?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
216
216
|
categoryValue?: number | undefined;
|
|
217
217
|
categoryValueType?: ValueType | undefined;
|
|
218
218
|
}>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -6364,9 +6364,29 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
6364
6364
|
itemType?: import("@lyxa.ai/core/dist/utilities/enum").ItemType | undefined;
|
|
6365
6365
|
};
|
|
6366
6366
|
output: {
|
|
6367
|
-
success: boolean;
|
|
6368
6367
|
message: string;
|
|
6369
|
-
|
|
6368
|
+
success: boolean;
|
|
6369
|
+
data?: {
|
|
6370
|
+
categories: string[];
|
|
6371
|
+
series: {
|
|
6372
|
+
name: string;
|
|
6373
|
+
data: number[];
|
|
6374
|
+
}[];
|
|
6375
|
+
} | {
|
|
6376
|
+
documents: {
|
|
6377
|
+
categories: string[];
|
|
6378
|
+
series: {
|
|
6379
|
+
name: string;
|
|
6380
|
+
data: number[];
|
|
6381
|
+
}[];
|
|
6382
|
+
}[];
|
|
6383
|
+
metadata?: {
|
|
6384
|
+
page: number;
|
|
6385
|
+
size: number;
|
|
6386
|
+
totalElements: number;
|
|
6387
|
+
totalPages: number;
|
|
6388
|
+
} | undefined;
|
|
6389
|
+
} | undefined;
|
|
6370
6390
|
};
|
|
6371
6391
|
meta: object;
|
|
6372
6392
|
}>;
|
|
@@ -6378,9 +6398,29 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
6378
6398
|
itemType?: import("@lyxa.ai/core/dist/utilities/enum").ItemType | undefined;
|
|
6379
6399
|
};
|
|
6380
6400
|
output: {
|
|
6381
|
-
success: boolean;
|
|
6382
6401
|
message: string;
|
|
6383
|
-
|
|
6402
|
+
success: boolean;
|
|
6403
|
+
data?: {
|
|
6404
|
+
categories: string[];
|
|
6405
|
+
series: {
|
|
6406
|
+
name: string;
|
|
6407
|
+
data: number[];
|
|
6408
|
+
}[];
|
|
6409
|
+
} | {
|
|
6410
|
+
documents: {
|
|
6411
|
+
categories: string[];
|
|
6412
|
+
series: {
|
|
6413
|
+
name: string;
|
|
6414
|
+
data: number[];
|
|
6415
|
+
}[];
|
|
6416
|
+
}[];
|
|
6417
|
+
metadata?: {
|
|
6418
|
+
page: number;
|
|
6419
|
+
size: number;
|
|
6420
|
+
totalElements: number;
|
|
6421
|
+
totalPages: number;
|
|
6422
|
+
} | undefined;
|
|
6423
|
+
} | undefined;
|
|
6384
6424
|
};
|
|
6385
6425
|
meta: object;
|
|
6386
6426
|
}>;
|
|
@@ -6392,9 +6432,31 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
6392
6432
|
itemType?: import("@lyxa.ai/core/dist/utilities/enum").ItemType | undefined;
|
|
6393
6433
|
};
|
|
6394
6434
|
output: {
|
|
6395
|
-
success: boolean;
|
|
6396
6435
|
message: string;
|
|
6397
|
-
|
|
6436
|
+
success: boolean;
|
|
6437
|
+
data?: {
|
|
6438
|
+
categories: string[];
|
|
6439
|
+
series: {
|
|
6440
|
+
name: string;
|
|
6441
|
+
data: number[];
|
|
6442
|
+
}[];
|
|
6443
|
+
totalProfit?: number | undefined;
|
|
6444
|
+
} | {
|
|
6445
|
+
documents: {
|
|
6446
|
+
categories: string[];
|
|
6447
|
+
series: {
|
|
6448
|
+
name: string;
|
|
6449
|
+
data: number[];
|
|
6450
|
+
}[];
|
|
6451
|
+
totalProfit?: number | undefined;
|
|
6452
|
+
}[];
|
|
6453
|
+
metadata?: {
|
|
6454
|
+
page: number;
|
|
6455
|
+
size: number;
|
|
6456
|
+
totalElements: number;
|
|
6457
|
+
totalPages: number;
|
|
6458
|
+
} | undefined;
|
|
6459
|
+
} | undefined;
|
|
6398
6460
|
};
|
|
6399
6461
|
meta: object;
|
|
6400
6462
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":"AAmBA,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAaL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAL3B,CAAC;AAuCH,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC"}
|
|
@@ -5562,9 +5562,29 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5562
5562
|
itemType?: import("@lyxa.ai/core/dist/utilities/enum").ItemType | undefined;
|
|
5563
5563
|
};
|
|
5564
5564
|
output: {
|
|
5565
|
-
success: boolean;
|
|
5566
5565
|
message: string;
|
|
5567
|
-
|
|
5566
|
+
success: boolean;
|
|
5567
|
+
data?: {
|
|
5568
|
+
categories: string[];
|
|
5569
|
+
series: {
|
|
5570
|
+
name: string;
|
|
5571
|
+
data: number[];
|
|
5572
|
+
}[];
|
|
5573
|
+
} | {
|
|
5574
|
+
documents: {
|
|
5575
|
+
categories: string[];
|
|
5576
|
+
series: {
|
|
5577
|
+
name: string;
|
|
5578
|
+
data: number[];
|
|
5579
|
+
}[];
|
|
5580
|
+
}[];
|
|
5581
|
+
metadata?: {
|
|
5582
|
+
page: number;
|
|
5583
|
+
size: number;
|
|
5584
|
+
totalElements: number;
|
|
5585
|
+
totalPages: number;
|
|
5586
|
+
} | undefined;
|
|
5587
|
+
} | undefined;
|
|
5568
5588
|
};
|
|
5569
5589
|
meta: object;
|
|
5570
5590
|
}>;
|
|
@@ -5576,9 +5596,29 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5576
5596
|
itemType?: import("@lyxa.ai/core/dist/utilities/enum").ItemType | undefined;
|
|
5577
5597
|
};
|
|
5578
5598
|
output: {
|
|
5579
|
-
success: boolean;
|
|
5580
5599
|
message: string;
|
|
5581
|
-
|
|
5600
|
+
success: boolean;
|
|
5601
|
+
data?: {
|
|
5602
|
+
categories: string[];
|
|
5603
|
+
series: {
|
|
5604
|
+
name: string;
|
|
5605
|
+
data: number[];
|
|
5606
|
+
}[];
|
|
5607
|
+
} | {
|
|
5608
|
+
documents: {
|
|
5609
|
+
categories: string[];
|
|
5610
|
+
series: {
|
|
5611
|
+
name: string;
|
|
5612
|
+
data: number[];
|
|
5613
|
+
}[];
|
|
5614
|
+
}[];
|
|
5615
|
+
metadata?: {
|
|
5616
|
+
page: number;
|
|
5617
|
+
size: number;
|
|
5618
|
+
totalElements: number;
|
|
5619
|
+
totalPages: number;
|
|
5620
|
+
} | undefined;
|
|
5621
|
+
} | undefined;
|
|
5582
5622
|
};
|
|
5583
5623
|
meta: object;
|
|
5584
5624
|
}>;
|
|
@@ -5590,9 +5630,31 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5590
5630
|
itemType?: import("@lyxa.ai/core/dist/utilities/enum").ItemType | undefined;
|
|
5591
5631
|
};
|
|
5592
5632
|
output: {
|
|
5593
|
-
success: boolean;
|
|
5594
5633
|
message: string;
|
|
5595
|
-
|
|
5634
|
+
success: boolean;
|
|
5635
|
+
data?: {
|
|
5636
|
+
categories: string[];
|
|
5637
|
+
series: {
|
|
5638
|
+
name: string;
|
|
5639
|
+
data: number[];
|
|
5640
|
+
}[];
|
|
5641
|
+
totalProfit?: number | undefined;
|
|
5642
|
+
} | {
|
|
5643
|
+
documents: {
|
|
5644
|
+
categories: string[];
|
|
5645
|
+
series: {
|
|
5646
|
+
name: string;
|
|
5647
|
+
data: number[];
|
|
5648
|
+
}[];
|
|
5649
|
+
totalProfit?: number | undefined;
|
|
5650
|
+
}[];
|
|
5651
|
+
metadata?: {
|
|
5652
|
+
page: number;
|
|
5653
|
+
size: number;
|
|
5654
|
+
totalElements: number;
|
|
5655
|
+
totalPages: number;
|
|
5656
|
+
} | undefined;
|
|
5657
|
+
} | undefined;
|
|
5596
5658
|
};
|
|
5597
5659
|
meta: object;
|
|
5598
5660
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coupon.router.d.ts","sourceRoot":"/","sources":["modules/coupon/routers/coupon.router.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"coupon.router.d.ts","sourceRoot":"/","sources":["modules/coupon/routers/coupon.router.ts"],"names":[],"mappings":"AAoCA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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@@ -93,6 +93,7 @@ export declare class CouponService {
|
|
|
93
93
|
handleCouponGiftBox(deviceId: string, userId: mongoose.Types.ObjectId | null): Promise<DocumentType<GlobalCoupon>[]>;
|
|
94
94
|
private updateNewUserCouponField;
|
|
95
95
|
updateCouponGiftBoxShown(userId: mongoose.Types.ObjectId, data: any): Promise<number>;
|
|
96
|
+
private notifyForCoupon;
|
|
96
97
|
}
|
|
97
98
|
export declare const couponService: CouponService;
|
|
98
99
|
//# sourceMappingURL=coupon.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coupon.service.d.ts","sourceRoot":"/","sources":["modules/coupon/services/coupon.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAmB,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAKN,YAAY,EAGZ,MAAM,IAAI,KAAK,EAef,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACN,uBAAuB,EACvB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,mCAAmC,EACnC,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACN,SAAS,EACT,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EAChB,MAAM,yCAAyC,CAAC;AAMjD,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAS3D,OAAO,EAON,MAAM,EAEN,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAmB,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"coupon.service.d.ts","sourceRoot":"/","sources":["modules/coupon/services/coupon.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAmB,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAKN,YAAY,EAGZ,MAAM,IAAI,KAAK,EAef,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACN,uBAAuB,EACvB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,mCAAmC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AC,CAAC;YA+C3E,2BAA2B;YAc3B,6BAA6B;IASpC,gBAAgB,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,gBAAgB,CAAC,CAUvE;IAEW,iBAAiB,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAC;IAgIvF,2BAA2B,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ;IAsC3D,sBAAsB,IAAI,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;IAqBlE,2CAA2C,IAAI,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;IAgGvF,0BAA0B,IAAI,OAAO,CAAC,mCAAmC,CAAC;YAUzE,YAAY;IAQb,mBAAmB,CAC/B,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,GACpC,OAAO,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,CAAC;YAkD1B,wBAAwB;IAczB,wBAAwB,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;YAuBpF,eAAe;CA+G7B;AAED,eAAO,MAAM,aAAa,eAA+B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ItemType, OrderType, RegularOrderStatus } from '@lyxa.ai/core/dist/utilities/enum';
|
|
2
|
-
import { CouponMetricsOutputDTO, DateInputDTO, GraphInputDTO } from '@modules/coupon/validations/coupon.validation';
|
|
2
|
+
import { CouponMetricsOutputDTO, DateInputDTO, GraphDTO, GraphInputDTO, TotalProfitGraphDTO } from '@modules/coupon/validations/coupon.validation';
|
|
3
3
|
export declare class CouponMetricsRepository {
|
|
4
4
|
private readonly model;
|
|
5
5
|
private orderModel;
|
|
@@ -10,6 +10,9 @@ export declare class CouponMetricsRepository {
|
|
|
10
10
|
private getActiveCouponsCount;
|
|
11
11
|
private getTotalCreatedCoupons;
|
|
12
12
|
private getCouponUsageMetrics;
|
|
13
|
+
private getEffectiveGraphType;
|
|
14
|
+
private getPeriodKeys;
|
|
15
|
+
private formatPeriodLabel;
|
|
13
16
|
getCouponMetricsByType(duration: DateInputDTO): Promise<any[]>;
|
|
14
17
|
private getCouponTypeTitle;
|
|
15
18
|
private fillMissingRows;
|
|
@@ -25,8 +28,11 @@ export declare class CouponMetricsRepository {
|
|
|
25
28
|
orderType: OrderType;
|
|
26
29
|
status: RegularOrderStatus;
|
|
27
30
|
};
|
|
28
|
-
getCouponOrdersGraphData(data: GraphInputDTO): Promise<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
getCouponOrdersGraphData(data: GraphInputDTO): Promise<GraphDTO>;
|
|
32
|
+
private convertToCouponOrdersGraphFormat;
|
|
33
|
+
getUsersNewVsReturningGraphData(data: GraphInputDTO): Promise<GraphDTO>;
|
|
34
|
+
private convertToUsersNewVsReturningGraphFormat;
|
|
35
|
+
getCouponProfitGraphData(data: GraphInputDTO): Promise<TotalProfitGraphDTO>;
|
|
36
|
+
private convertToCouponProfitGraphFormat;
|
|
31
37
|
}
|
|
32
38
|
//# sourceMappingURL=CouponMetricsRepository.d.ts.map
|
package/dist/types/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CouponMetricsRepository.d.ts","sourceRoot":"/","sources":["modules/coupon/services/patterns/repository/CouponMetricsRepository.ts"],"names":[],"mappings":"AAGA,OAAO,EAGN,QAAQ,EACR,SAAS,EACT,kBAAkB,EAElB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EAEN,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACb,MAAM,+CAA+C,CAAC;AAIvD,qBAAa,uBAAuB;IACnC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAqB;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AE,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC;IA4HpF,OAAO,CAAC,uCAAuC;IA0BlC,wBAAwB,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC;IA0DxF,OAAO,CAAC,gCAAgC;CAsBxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"referral-reward-coupon.service.d.ts","sourceRoot":"/","sources":["modules/coupon/services/referral-reward-coupon.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAEN,oBAAoB,IAAI,KAAK,EAU7B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACN,yBAAyB,EACzB,6BAA6B,IAAI,SAAS,EAC1C,6BAA6B,IAAI,SAAS,EAC1C,iBAAiB,EACjB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"referral-reward-coupon.service.d.ts","sourceRoot":"/","sources":["modules/coupon/services/referral-reward-coupon.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAEN,oBAAoB,IAAI,KAAK,EAU7B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACN,yBAAyB,EACzB,6BAA6B,IAAI,SAAS,EAC1C,6BAA6B,IAAI,SAAS,EAC1C,iBAAiB,EACjB,MAAM,6BAA6B,CAAC;AAUrC,qBACa,2BAA2B;IACvC,OAAO,CAAC,KAAK,CAA4D;IACzE,OAAO,CAAC,WAAW,CAA+C;IAClE,OAAO,CAAC,aAAa,CAAiE;IACtF,OAAO,CAAC,SAAS,CAA2C;IAC5D,OAAO,CAAC,UAAU,CAA2D;;IAW7E;;;OAGG;IACU,MAAM,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAIlE;;;;OAIG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAuB9E,OAAO,CAAC,YAAY;YASN,kBAAkB;IAanB,4BAA4B,CAAC,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ;IAyE7D,cAAc,CAC1B,IAAI,EAAE,iBAAiB,EACvB,cAAc,EAAE,YAAY,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,yBAAyB,CAAC;YAmEvB,mBAAmB;CAUjC;AAED,eAAO,MAAM,2BAA2B,6BAA6C,CAAC"}
|