@lyxa.ai/marketing 1.0.1 → 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 +2221 -1021
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/coupon/routers/coupon.router.d.ts +462 -1057
- package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts +16 -2
- 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/validations/coupon.validation.d.ts +172 -3
- package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
- 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/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/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts +4 -76
- package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts.map +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 +1 -0
- 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 +1335 -19
- package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts.map +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;
|
|
@@ -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,25 +541,7 @@ 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;
|
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"}
|
|
@@ -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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DocumentType } from '@typegoose/typegoose';
|
|
1
|
+
import { DocumentType, mongoose } from '@typegoose/typegoose';
|
|
2
2
|
import { PunchMarketing as Model } from '@lyxa.ai/core/dist/libraries/mongo/models';
|
|
3
3
|
import { CreatePunchMarketingDTO as CreateDTO, UpdatePunchMarketingDTO as UpdateDTO } from '@modules/marketing/validations';
|
|
4
4
|
export declare class PunchMarketingService {
|
|
@@ -14,7 +14,7 @@ export declare class PunchMarketingService {
|
|
|
14
14
|
* @param id ID of the record
|
|
15
15
|
* @param data Data to update
|
|
16
16
|
*/
|
|
17
|
-
update(id:
|
|
17
|
+
update(id: mongoose.Types.ObjectId, data: UpdateDTO): Promise<DocumentType<Model>>;
|
|
18
18
|
}
|
|
19
19
|
export declare const punchMarketingService: PunchMarketingService;
|
|
20
20
|
//# sourceMappingURL=punch-marketing.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"punch-marketing.service.d.ts","sourceRoot":"/","sources":["modules/marketing/services/punch-marketing.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"punch-marketing.service.d.ts","sourceRoot":"/","sources":["modules/marketing/services/punch-marketing.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAuB,cAAc,IAAI,KAAK,EAAE,MAAM,2CAA2C,CAAC;AACzG,OAAO,EACN,uBAAuB,IAAI,SAAS,EACpC,uBAAuB,IAAI,SAAS,EACpC,MAAM,gCAAgC,CAAC;AAExC,qBACa,qBAAqB;IACjC,OAAO,CAAC,KAAK,CAAC;;IAMd;;;OAGG;IACU,MAAM,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAIlE;;;;OAIG;IACU,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;CAsB/F;AAED,eAAO,MAAM,qBAAqB,uBAAuC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z, ZodType } from 'zod';
|
|
2
2
|
export declare const AllMarketingsValidationSchema: ZodType;
|
|
3
3
|
export declare const AllMarketingsSchema: ZodType;
|
|
4
|
+
export declare const AllMarketingsUpdateSchema: ZodType;
|
|
4
5
|
export declare const MarketingResponseSchema: z.ZodObject<{
|
|
5
6
|
success: z.ZodBoolean;
|
|
6
7
|
message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-marketings.validation.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/all-marketings.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"all-marketings.validation.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/all-marketings.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAuBjC,eAAO,MAAM,6BAA6B,EAAE,OAO1C,CAAC;AAEH,eAAO,MAAM,mBAAmB,EAAE,OAOhC,CAAC;AAGH,eAAO,MAAM,yBAAyB,EAAE,OAOtC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4C,CAAC;AAGjF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|