@lyxa.ai/marketing 1.0.1 → 1.0.4
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.js +2 -0
- package/dist/types/events/event-initializations.d.ts +2 -0
- package/dist/types/events/event-initializations.d.ts.map +1 -0
- package/dist/types/index.d.ts +2383 -1043
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/coupon/routers/coupon.router.d.ts +2379 -2937
- package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts +21 -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 +628 -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 +29 -41
- package/dist/types/modules/deal-setting/routers/deal-setting.router.d.ts.map +1 -1
- package/dist/types/modules/deal-setting/services/deal-setting.service.d.ts +5 -3
- package/dist/types/modules/deal-setting/services/deal-setting.service.d.ts.map +1 -1
- package/dist/types/modules/featured-setting/routers/featured-setting.router.d.ts +29 -41
- package/dist/types/modules/featured-setting/routers/featured-setting.router.d.ts.map +1 -1
- package/dist/types/modules/featured-setting/services/featured-setting.service.d.ts +5 -3
- package/dist/types/modules/featured-setting/services/featured-setting.service.d.ts.map +1 -1
- package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts +31 -79
- package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts.map +1 -1
- package/dist/types/modules/loyalty-point-setting/services/loyalty-point-setting.service.d.ts +5 -3
- package/dist/types/modules/loyalty-point-setting/services/loyalty-point-setting.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/routers/marketing.router.d.ts +16 -81
- package/dist/types/modules/marketing/routers/marketing.router.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/marketing.service.d.ts +4 -3
- 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/dist/types/modules/referral-setting/routers/referral-setting.router.d.ts +27 -3
- package/dist/types/modules/referral-setting/routers/referral-setting.router.d.ts.map +1 -1
- package/dist/types/modules/referral-setting/services/referral-setting.service.d.ts +5 -3
- package/dist/types/modules/referral-setting/services/referral-setting.service.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { mongoose } from '@typegoose/typegoose';
|
|
1
2
|
export declare const marketingRouter: import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
|
|
2
3
|
ctx: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
3
4
|
meta: object;
|
|
@@ -73,8 +74,8 @@ export declare const marketingRouter: import("@trpc/server").CreateRouterInner<i
|
|
|
73
74
|
}>;
|
|
74
75
|
_meta: object;
|
|
75
76
|
_ctx_out: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
76
|
-
_input_in: string |
|
|
77
|
-
_input_out:
|
|
77
|
+
_input_in: string | mongoose.Types.ObjectId;
|
|
78
|
+
_input_out: mongoose.Types.ObjectId;
|
|
78
79
|
_output_in: {
|
|
79
80
|
message: string;
|
|
80
81
|
success: boolean;
|
|
@@ -114,26 +115,8 @@ export declare const marketingRouter: import("@trpc/server").CreateRouterInner<i
|
|
|
114
115
|
page?: number | undefined;
|
|
115
116
|
select?: Record<string, 0 | 1> | undefined;
|
|
116
117
|
size?: number | undefined;
|
|
118
|
+
populate?: any;
|
|
117
119
|
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;
|
|
137
120
|
} | undefined;
|
|
138
121
|
_input_out: {
|
|
139
122
|
page: number;
|
|
@@ -144,26 +127,8 @@ export declare const marketingRouter: import("@trpc/server").CreateRouterInner<i
|
|
|
144
127
|
} | undefined;
|
|
145
128
|
sort?: Record<string, 1 | -1> | undefined;
|
|
146
129
|
select?: Record<string, 0 | 1> | undefined;
|
|
130
|
+
populate?: any;
|
|
147
131
|
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;
|
|
167
132
|
} | undefined;
|
|
168
133
|
_output_in: {
|
|
169
134
|
message: string;
|
|
@@ -203,46 +168,8 @@ export declare const marketingRouter: import("@trpc/server").CreateRouterInner<i
|
|
|
203
168
|
usedRefreshToken: boolean | undefined;
|
|
204
169
|
tokenRenewed: boolean | undefined;
|
|
205
170
|
};
|
|
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">;
|
|
171
|
+
_input_in: any;
|
|
172
|
+
_input_out: any;
|
|
246
173
|
_output_in: {
|
|
247
174
|
message: string;
|
|
248
175
|
success: boolean;
|
|
@@ -272,7 +199,15 @@ export declare const marketingRouter: import("@trpc/server").CreateRouterInner<i
|
|
|
272
199
|
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
273
200
|
}>;
|
|
274
201
|
_meta: object;
|
|
275
|
-
_ctx_out:
|
|
202
|
+
_ctx_out: {
|
|
203
|
+
requestId: string | undefined;
|
|
204
|
+
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
|
205
|
+
tokenType: import("@lyxa.ai/core/dist/libraries/auth").TokenType | undefined;
|
|
206
|
+
entity: import("@lyxa.ai/core/dist/libraries/trpc/context").EntityContext | undefined;
|
|
207
|
+
req: import("http").IncomingMessage;
|
|
208
|
+
usedRefreshToken: boolean | undefined;
|
|
209
|
+
tokenRenewed: boolean | undefined;
|
|
210
|
+
};
|
|
276
211
|
_input_in: {
|
|
277
212
|
_id: string | import("mongoose").Types.ObjectId;
|
|
278
213
|
softDelete?: boolean | undefined;
|
|
@@ -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":"AAaA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAeD,CAAA;;;;;;;;;;;;;;4BAT0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDpD,CAAC"}
|
|
@@ -10,7 +10,7 @@ export declare class MarketingService {
|
|
|
10
10
|
* Create a new record
|
|
11
11
|
* @param data Data for the new record
|
|
12
12
|
*/
|
|
13
|
-
create(data: AllMarketingsDTO,
|
|
13
|
+
create(data: AllMarketingsDTO, admin?: mongoose.Types.ObjectId): Promise<DocumentType<Model>>;
|
|
14
14
|
/**
|
|
15
15
|
* Get record by ID
|
|
16
16
|
* @param id ID of the record
|
|
@@ -26,12 +26,13 @@ export declare class MarketingService {
|
|
|
26
26
|
* @param id ID of the record
|
|
27
27
|
* @param data Data to update
|
|
28
28
|
*/
|
|
29
|
-
update(_id: mongoose.Types.ObjectId, data: UpdateDTO,
|
|
29
|
+
update(_id: mongoose.Types.ObjectId, data: UpdateDTO, admin?: mongoose.Types.ObjectId): Promise<DocumentType<Model>>;
|
|
30
|
+
private logMarketingAdminAction;
|
|
30
31
|
/**
|
|
31
32
|
* Delete record
|
|
32
33
|
* @param data Data for delete
|
|
33
34
|
*/
|
|
34
|
-
deleteById(data: DeleteDTO): Promise<string>;
|
|
35
|
+
deleteById(data: DeleteDTO, admin?: mongoose.Types.ObjectId): Promise<string>;
|
|
35
36
|
}
|
|
36
37
|
export declare const marketingService: MarketingService;
|
|
37
38
|
//# sourceMappingURL=marketing.service.d.ts.map
|
|
@@ -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,EAAE,gBAAgB,EAAE,kBAAkB,IAAI,SAAS,EAAE,MAAM,gCAAgC,CAAC;AACnG,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGlG,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAqB3D,qBACa,gBAAgB;IAC5B,OAAO,CAAC,KAAK,CAAiD;;IAM9D;;;OAGG;IACU,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IA4E1G;;;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,KAAK,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAC7B,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;YA8GjB,uBAAuB;IAerC;;;OAGG;IACU,UAAU,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC;CA2B1F;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"}
|