@lyxa.ai/marketing 1.0.4 → 1.0.6
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 +0 -5
- package/dist/types/index.d.ts +862 -6014
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/coupon/routers/coupon.router.d.ts +192 -2380
- package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts +2 -1
- package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/referral-code-coupon.validation.d.ts +14 -0
- package/dist/types/modules/coupon/validations/referral-code-coupon.validation.d.ts.map +1 -1
- package/dist/types/modules/deal-setting/routers/deal-setting.router.d.ts +32 -322
- 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 +32 -410
- 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 +52 -505
- 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 +32 -185
- package/dist/types/modules/marketing/routers/marketing.router.d.ts.map +1 -1
- package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +133 -1407
- package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts.map +1 -1
- package/dist/types/modules/referral-setting/routers/referral-setting.router.d.ts +27 -443
- package/dist/types/modules/referral-setting/routers/referral-setting.router.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -1,84 +1,27 @@
|
|
|
1
|
-
export declare const loyaltyPointSettingRouter: import("@trpc/server").
|
|
2
|
-
ctx: import("@
|
|
1
|
+
export declare const loyaltyPointSettingRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2
|
+
ctx: import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaHTTPContext;
|
|
3
3
|
meta: object;
|
|
4
4
|
errorShape: {
|
|
5
5
|
message: string;
|
|
6
6
|
data: {
|
|
7
7
|
stack: undefined;
|
|
8
8
|
path: undefined;
|
|
9
|
-
code: import("@trpc/server
|
|
9
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
10
10
|
httpStatus: number;
|
|
11
11
|
};
|
|
12
12
|
stack: undefined;
|
|
13
|
-
code: import("@trpc/server
|
|
13
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
14
14
|
};
|
|
15
|
-
transformer:
|
|
16
|
-
}
|
|
17
|
-
create: import("@trpc/server").
|
|
18
|
-
|
|
19
|
-
ctx: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
20
|
-
meta: object;
|
|
21
|
-
errorShape: {
|
|
22
|
-
message: string;
|
|
23
|
-
data: {
|
|
24
|
-
stack: undefined;
|
|
25
|
-
path: undefined;
|
|
26
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
27
|
-
httpStatus: number;
|
|
28
|
-
};
|
|
29
|
-
stack: undefined;
|
|
30
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
31
|
-
};
|
|
32
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
33
|
-
}>;
|
|
34
|
-
_meta: object;
|
|
35
|
-
_ctx_out: {
|
|
36
|
-
requestId: string | undefined;
|
|
37
|
-
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
|
38
|
-
tokenType: import("@lyxa.ai/core/dist/libraries/auth").TokenType | undefined;
|
|
39
|
-
entity: import("@lyxa.ai/core/dist/libraries/trpc/context").EntityContext | undefined;
|
|
40
|
-
req: import("http").IncomingMessage;
|
|
41
|
-
usedRefreshToken: boolean | undefined;
|
|
42
|
-
tokenRenewed: boolean | undefined;
|
|
43
|
-
};
|
|
44
|
-
_input_in: {
|
|
45
|
-
earnedValue: number;
|
|
46
|
-
usedValue: number;
|
|
47
|
-
rewardBundles: number[];
|
|
48
|
-
expirationInDays: number;
|
|
49
|
-
};
|
|
50
|
-
_input_out: {
|
|
15
|
+
transformer: false;
|
|
16
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
17
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
18
|
+
input: {
|
|
51
19
|
earnedValue: number;
|
|
52
20
|
usedValue: number;
|
|
53
21
|
rewardBundles: number[];
|
|
54
22
|
expirationInDays: number;
|
|
55
23
|
};
|
|
56
|
-
|
|
57
|
-
message: string;
|
|
58
|
-
success: boolean;
|
|
59
|
-
data?: import("zod").objectInputType<{
|
|
60
|
-
earnedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
61
|
-
usedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
62
|
-
rewardBundles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
|
|
63
|
-
expirationInDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
64
|
-
_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>]>>;
|
|
65
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
66
|
-
documents: import("zod").objectInputType<{
|
|
67
|
-
earnedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
68
|
-
usedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
69
|
-
rewardBundles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
|
|
70
|
-
expirationInDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
71
|
-
_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>]>>;
|
|
72
|
-
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
73
|
-
metadata?: {
|
|
74
|
-
page: number;
|
|
75
|
-
size: number;
|
|
76
|
-
totalElements: number;
|
|
77
|
-
totalPages: number;
|
|
78
|
-
} | undefined;
|
|
79
|
-
} | undefined;
|
|
80
|
-
};
|
|
81
|
-
_output_out: {
|
|
24
|
+
output: {
|
|
82
25
|
message: string;
|
|
83
26
|
success: boolean;
|
|
84
27
|
data?: import("zod").objectInputType<{
|
|
@@ -103,27 +46,10 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
103
46
|
} | undefined;
|
|
104
47
|
} | undefined;
|
|
105
48
|
};
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
meta: object;
|
|
111
|
-
errorShape: {
|
|
112
|
-
message: string;
|
|
113
|
-
data: {
|
|
114
|
-
stack: undefined;
|
|
115
|
-
path: undefined;
|
|
116
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
117
|
-
httpStatus: number;
|
|
118
|
-
};
|
|
119
|
-
stack: undefined;
|
|
120
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
121
|
-
};
|
|
122
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
123
|
-
}>;
|
|
124
|
-
_meta: object;
|
|
125
|
-
_ctx_out: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
126
|
-
_input_in: {
|
|
49
|
+
meta: object;
|
|
50
|
+
}>;
|
|
51
|
+
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
52
|
+
input: {
|
|
127
53
|
search?: {
|
|
128
54
|
searchKey: string;
|
|
129
55
|
searchFields?: string[] | undefined;
|
|
@@ -135,44 +61,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
135
61
|
populate?: any;
|
|
136
62
|
query?: Record<string, any> | undefined;
|
|
137
63
|
} | undefined;
|
|
138
|
-
|
|
139
|
-
page: number;
|
|
140
|
-
size: number;
|
|
141
|
-
search?: {
|
|
142
|
-
searchKey: string;
|
|
143
|
-
searchFields?: string[] | undefined;
|
|
144
|
-
} | undefined;
|
|
145
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
146
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
147
|
-
populate?: any;
|
|
148
|
-
query?: Record<string, any> | undefined;
|
|
149
|
-
} | undefined;
|
|
150
|
-
_output_in: {
|
|
151
|
-
message: string;
|
|
152
|
-
success: boolean;
|
|
153
|
-
data?: import("zod").objectInputType<{
|
|
154
|
-
earnedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
155
|
-
usedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
156
|
-
rewardBundles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
|
|
157
|
-
expirationInDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
158
|
-
_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>]>>;
|
|
159
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
160
|
-
documents: import("zod").objectInputType<{
|
|
161
|
-
earnedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
162
|
-
usedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
163
|
-
rewardBundles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
|
|
164
|
-
expirationInDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
165
|
-
_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>]>>;
|
|
166
|
-
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
167
|
-
metadata?: {
|
|
168
|
-
page: number;
|
|
169
|
-
size: number;
|
|
170
|
-
totalElements: number;
|
|
171
|
-
totalPages: number;
|
|
172
|
-
} | undefined;
|
|
173
|
-
} | undefined;
|
|
174
|
-
};
|
|
175
|
-
_output_out: {
|
|
64
|
+
output: {
|
|
176
65
|
message: string;
|
|
177
66
|
success: boolean;
|
|
178
67
|
data?: import("zod").objectInputType<{
|
|
@@ -197,35 +86,10 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
197
86
|
} | undefined;
|
|
198
87
|
} | undefined;
|
|
199
88
|
};
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
meta: object;
|
|
205
|
-
errorShape: {
|
|
206
|
-
message: string;
|
|
207
|
-
data: {
|
|
208
|
-
stack: undefined;
|
|
209
|
-
path: undefined;
|
|
210
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
211
|
-
httpStatus: number;
|
|
212
|
-
};
|
|
213
|
-
stack: undefined;
|
|
214
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
215
|
-
};
|
|
216
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
217
|
-
}>;
|
|
218
|
-
_meta: object;
|
|
219
|
-
_ctx_out: {
|
|
220
|
-
requestId: string | undefined;
|
|
221
|
-
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
|
222
|
-
tokenType: import("@lyxa.ai/core/dist/libraries/auth").TokenType | undefined;
|
|
223
|
-
entity: import("@lyxa.ai/core/dist/libraries/trpc/context").EntityContext | undefined;
|
|
224
|
-
req: import("http").IncomingMessage;
|
|
225
|
-
usedRefreshToken: boolean | undefined;
|
|
226
|
-
tokenRenewed: boolean | undefined;
|
|
227
|
-
};
|
|
228
|
-
_input_in: {
|
|
89
|
+
meta: object;
|
|
90
|
+
}>;
|
|
91
|
+
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
92
|
+
input: {
|
|
229
93
|
[x: string]: any;
|
|
230
94
|
} | import("zod").objectInputType<{
|
|
231
95
|
earnedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -234,41 +98,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
234
98
|
expirationInDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
235
99
|
_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>]>>;
|
|
236
100
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
237
|
-
|
|
238
|
-
[x: string]: any;
|
|
239
|
-
} | import("zod").objectOutputType<{
|
|
240
|
-
earnedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
241
|
-
usedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
242
|
-
rewardBundles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
|
|
243
|
-
expirationInDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
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">;
|
|
246
|
-
_output_in: {
|
|
247
|
-
message: string;
|
|
248
|
-
success: boolean;
|
|
249
|
-
data?: import("zod").objectInputType<{
|
|
250
|
-
earnedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
251
|
-
usedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
252
|
-
rewardBundles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
|
|
253
|
-
expirationInDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
254
|
-
_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>]>>;
|
|
255
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
256
|
-
documents: import("zod").objectInputType<{
|
|
257
|
-
earnedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
258
|
-
usedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
259
|
-
rewardBundles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
|
|
260
|
-
expirationInDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
261
|
-
_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>]>>;
|
|
262
|
-
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
263
|
-
metadata?: {
|
|
264
|
-
page: number;
|
|
265
|
-
size: number;
|
|
266
|
-
totalElements: number;
|
|
267
|
-
totalPages: number;
|
|
268
|
-
} | undefined;
|
|
269
|
-
} | undefined;
|
|
270
|
-
};
|
|
271
|
-
_output_out: {
|
|
101
|
+
output: {
|
|
272
102
|
message: string;
|
|
273
103
|
success: boolean;
|
|
274
104
|
data?: import("zod").objectInputType<{
|
|
@@ -293,43 +123,14 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
293
123
|
} | undefined;
|
|
294
124
|
} | undefined;
|
|
295
125
|
};
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
meta: object;
|
|
301
|
-
errorShape: {
|
|
302
|
-
message: string;
|
|
303
|
-
data: {
|
|
304
|
-
stack: undefined;
|
|
305
|
-
path: undefined;
|
|
306
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
307
|
-
httpStatus: number;
|
|
308
|
-
};
|
|
309
|
-
stack: undefined;
|
|
310
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
311
|
-
};
|
|
312
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
313
|
-
}>;
|
|
314
|
-
_meta: object;
|
|
315
|
-
_ctx_out: {
|
|
316
|
-
requestId: string | undefined;
|
|
317
|
-
res: import("http").ServerResponse<import("http").IncomingMessage>;
|
|
318
|
-
tokenType: import("@lyxa.ai/core/dist/libraries/auth").TokenType | undefined;
|
|
319
|
-
entity: import("@lyxa.ai/core/dist/libraries/trpc/context").EntityContext | undefined;
|
|
320
|
-
req: import("http").IncomingMessage;
|
|
321
|
-
usedRefreshToken: boolean | undefined;
|
|
322
|
-
tokenRenewed: boolean | undefined;
|
|
323
|
-
};
|
|
324
|
-
_input_in: {
|
|
126
|
+
meta: object;
|
|
127
|
+
}>;
|
|
128
|
+
deleteById: import("@trpc/server").TRPCMutationProcedure<{
|
|
129
|
+
input: {
|
|
325
130
|
_id: string | import("mongoose").Types.ObjectId;
|
|
326
131
|
softDelete?: boolean | undefined;
|
|
327
132
|
};
|
|
328
|
-
|
|
329
|
-
_id: import("mongoose").Types.ObjectId;
|
|
330
|
-
softDelete: boolean;
|
|
331
|
-
};
|
|
332
|
-
_output_in: {
|
|
133
|
+
output: {
|
|
333
134
|
message: string;
|
|
334
135
|
success: boolean;
|
|
335
136
|
data?: import("zod").objectInputType<{
|
|
@@ -354,85 +155,15 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
354
155
|
} | undefined;
|
|
355
156
|
} | undefined;
|
|
356
157
|
};
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
earnedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
362
|
-
usedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
363
|
-
rewardBundles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
|
|
364
|
-
expirationInDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
365
|
-
_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>]>>;
|
|
366
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
367
|
-
documents: import("zod").objectInputType<{
|
|
368
|
-
earnedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
369
|
-
usedValue: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
370
|
-
rewardBundles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber, "many">>;
|
|
371
|
-
expirationInDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
372
|
-
_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>]>>;
|
|
373
|
-
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
374
|
-
metadata?: {
|
|
375
|
-
page: number;
|
|
376
|
-
size: number;
|
|
377
|
-
totalElements: number;
|
|
378
|
-
totalPages: number;
|
|
379
|
-
} | undefined;
|
|
380
|
-
} | undefined;
|
|
381
|
-
};
|
|
382
|
-
}, unknown>;
|
|
383
|
-
createCategory: import("@trpc/server").BuildProcedure<"mutation", {
|
|
384
|
-
_config: import("@trpc/server").RootConfig<{
|
|
385
|
-
ctx: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
386
|
-
meta: object;
|
|
387
|
-
errorShape: {
|
|
388
|
-
message: string;
|
|
389
|
-
data: {
|
|
390
|
-
stack: undefined;
|
|
391
|
-
path: undefined;
|
|
392
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
393
|
-
httpStatus: number;
|
|
394
|
-
};
|
|
395
|
-
stack: undefined;
|
|
396
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
397
|
-
};
|
|
398
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
399
|
-
}>;
|
|
400
|
-
_meta: object;
|
|
401
|
-
_ctx_out: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
402
|
-
_input_in: {
|
|
158
|
+
meta: object;
|
|
159
|
+
}>;
|
|
160
|
+
createCategory: import("@trpc/server").TRPCMutationProcedure<{
|
|
161
|
+
input: {
|
|
403
162
|
name: string;
|
|
404
163
|
sortingOrder: number;
|
|
405
164
|
status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
|
|
406
165
|
};
|
|
407
|
-
|
|
408
|
-
status: import("@lyxa.ai/core/dist/utilities/enum").Status;
|
|
409
|
-
name: string;
|
|
410
|
-
sortingOrder: number;
|
|
411
|
-
};
|
|
412
|
-
_output_in: {
|
|
413
|
-
message: string;
|
|
414
|
-
success: boolean;
|
|
415
|
-
data?: import("zod").objectInputType<{
|
|
416
|
-
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
417
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
418
|
-
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
419
|
-
_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>]>>;
|
|
420
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
421
|
-
documents: import("zod").objectInputType<{
|
|
422
|
-
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
423
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
424
|
-
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
425
|
-
_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>]>>;
|
|
426
|
-
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
427
|
-
metadata?: {
|
|
428
|
-
page: number;
|
|
429
|
-
size: number;
|
|
430
|
-
totalElements: number;
|
|
431
|
-
totalPages: number;
|
|
432
|
-
} | undefined;
|
|
433
|
-
} | undefined;
|
|
434
|
-
};
|
|
435
|
-
_output_out: {
|
|
166
|
+
output: {
|
|
436
167
|
message: string;
|
|
437
168
|
success: boolean;
|
|
438
169
|
data?: import("zod").objectInputType<{
|
|
@@ -455,29 +186,11 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
455
186
|
} | undefined;
|
|
456
187
|
} | undefined;
|
|
457
188
|
};
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
errorShape: {
|
|
464
|
-
message: string;
|
|
465
|
-
data: {
|
|
466
|
-
stack: undefined;
|
|
467
|
-
path: undefined;
|
|
468
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
469
|
-
httpStatus: number;
|
|
470
|
-
};
|
|
471
|
-
stack: undefined;
|
|
472
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
473
|
-
};
|
|
474
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
475
|
-
}>;
|
|
476
|
-
_meta: object;
|
|
477
|
-
_ctx_out: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
478
|
-
_input_in: string | import("mongoose").Types.ObjectId;
|
|
479
|
-
_input_out: import("mongoose").Types.ObjectId;
|
|
480
|
-
_output_in: {
|
|
189
|
+
meta: object;
|
|
190
|
+
}>;
|
|
191
|
+
getCategoryById: import("@trpc/server").TRPCQueryProcedure<{
|
|
192
|
+
input: string | import("mongoose").Types.ObjectId;
|
|
193
|
+
output: {
|
|
481
194
|
message: string;
|
|
482
195
|
success: boolean;
|
|
483
196
|
data?: import("zod").objectInputType<{
|
|
@@ -500,50 +213,10 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
500
213
|
} | undefined;
|
|
501
214
|
} | undefined;
|
|
502
215
|
};
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
508
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
509
|
-
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
510
|
-
_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>]>>;
|
|
511
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
512
|
-
documents: import("zod").objectInputType<{
|
|
513
|
-
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
514
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
515
|
-
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
516
|
-
_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>]>>;
|
|
517
|
-
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
518
|
-
metadata?: {
|
|
519
|
-
page: number;
|
|
520
|
-
size: number;
|
|
521
|
-
totalElements: number;
|
|
522
|
-
totalPages: number;
|
|
523
|
-
} | undefined;
|
|
524
|
-
} | undefined;
|
|
525
|
-
};
|
|
526
|
-
}, unknown>;
|
|
527
|
-
getCategories: import("@trpc/server").BuildProcedure<"query", {
|
|
528
|
-
_config: import("@trpc/server").RootConfig<{
|
|
529
|
-
ctx: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
530
|
-
meta: object;
|
|
531
|
-
errorShape: {
|
|
532
|
-
message: string;
|
|
533
|
-
data: {
|
|
534
|
-
stack: undefined;
|
|
535
|
-
path: undefined;
|
|
536
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
537
|
-
httpStatus: number;
|
|
538
|
-
};
|
|
539
|
-
stack: undefined;
|
|
540
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
541
|
-
};
|
|
542
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
543
|
-
}>;
|
|
544
|
-
_meta: object;
|
|
545
|
-
_ctx_out: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
546
|
-
_input_in: {
|
|
216
|
+
meta: object;
|
|
217
|
+
}>;
|
|
218
|
+
getCategories: import("@trpc/server").TRPCQueryProcedure<{
|
|
219
|
+
input: {
|
|
547
220
|
search?: {
|
|
548
221
|
searchKey: string;
|
|
549
222
|
searchFields?: string[] | undefined;
|
|
@@ -555,19 +228,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
555
228
|
populate?: any;
|
|
556
229
|
query?: Record<string, any> | undefined;
|
|
557
230
|
} | undefined;
|
|
558
|
-
|
|
559
|
-
page: number;
|
|
560
|
-
size: number;
|
|
561
|
-
search?: {
|
|
562
|
-
searchKey: string;
|
|
563
|
-
searchFields?: string[] | undefined;
|
|
564
|
-
} | undefined;
|
|
565
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
566
|
-
select?: Record<string, 0 | 1> | undefined;
|
|
567
|
-
populate?: any;
|
|
568
|
-
query?: Record<string, any> | undefined;
|
|
569
|
-
} | undefined;
|
|
570
|
-
_output_in: {
|
|
231
|
+
output: {
|
|
571
232
|
message: string;
|
|
572
233
|
success: boolean;
|
|
573
234
|
data?: import("zod").objectInputType<{
|
|
@@ -590,50 +251,10 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
590
251
|
} | undefined;
|
|
591
252
|
} | undefined;
|
|
592
253
|
};
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
598
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
599
|
-
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
600
|
-
_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>]>>;
|
|
601
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
602
|
-
documents: import("zod").objectInputType<{
|
|
603
|
-
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
604
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
605
|
-
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
606
|
-
_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>]>>;
|
|
607
|
-
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
608
|
-
metadata?: {
|
|
609
|
-
page: number;
|
|
610
|
-
size: number;
|
|
611
|
-
totalElements: number;
|
|
612
|
-
totalPages: number;
|
|
613
|
-
} | undefined;
|
|
614
|
-
} | undefined;
|
|
615
|
-
};
|
|
616
|
-
}, unknown>;
|
|
617
|
-
updateCategory: import("@trpc/server").BuildProcedure<"mutation", {
|
|
618
|
-
_config: import("@trpc/server").RootConfig<{
|
|
619
|
-
ctx: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
620
|
-
meta: object;
|
|
621
|
-
errorShape: {
|
|
622
|
-
message: string;
|
|
623
|
-
data: {
|
|
624
|
-
stack: undefined;
|
|
625
|
-
path: undefined;
|
|
626
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
627
|
-
httpStatus: number;
|
|
628
|
-
};
|
|
629
|
-
stack: undefined;
|
|
630
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
631
|
-
};
|
|
632
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
633
|
-
}>;
|
|
634
|
-
_meta: object;
|
|
635
|
-
_ctx_out: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
636
|
-
_input_in: {
|
|
254
|
+
meta: object;
|
|
255
|
+
}>;
|
|
256
|
+
updateCategory: import("@trpc/server").TRPCMutationProcedure<{
|
|
257
|
+
input: {
|
|
637
258
|
[x: string]: any;
|
|
638
259
|
} | import("zod").objectInputType<{
|
|
639
260
|
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
@@ -641,38 +262,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
641
262
|
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
642
263
|
_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>]>>;
|
|
643
264
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
644
|
-
|
|
645
|
-
[x: string]: any;
|
|
646
|
-
} | import("zod").objectOutputType<{
|
|
647
|
-
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
648
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
649
|
-
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
650
|
-
_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>]>>;
|
|
651
|
-
}, import("zod").ZodTypeAny, "passthrough">;
|
|
652
|
-
_output_in: {
|
|
653
|
-
message: string;
|
|
654
|
-
success: boolean;
|
|
655
|
-
data?: import("zod").objectInputType<{
|
|
656
|
-
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
657
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
658
|
-
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
659
|
-
_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>]>>;
|
|
660
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
661
|
-
documents: import("zod").objectInputType<{
|
|
662
|
-
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
663
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
664
|
-
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
665
|
-
_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>]>>;
|
|
666
|
-
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
667
|
-
metadata?: {
|
|
668
|
-
page: number;
|
|
669
|
-
size: number;
|
|
670
|
-
totalElements: number;
|
|
671
|
-
totalPages: number;
|
|
672
|
-
} | undefined;
|
|
673
|
-
} | undefined;
|
|
674
|
-
};
|
|
675
|
-
_output_out: {
|
|
265
|
+
output: {
|
|
676
266
|
message: string;
|
|
677
267
|
success: boolean;
|
|
678
268
|
data?: import("zod").objectInputType<{
|
|
@@ -695,58 +285,14 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
695
285
|
} | undefined;
|
|
696
286
|
} | undefined;
|
|
697
287
|
};
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
meta: object;
|
|
703
|
-
errorShape: {
|
|
704
|
-
message: string;
|
|
705
|
-
data: {
|
|
706
|
-
stack: undefined;
|
|
707
|
-
path: undefined;
|
|
708
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
|
|
709
|
-
httpStatus: number;
|
|
710
|
-
};
|
|
711
|
-
stack: undefined;
|
|
712
|
-
code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
|
|
713
|
-
};
|
|
714
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
715
|
-
}>;
|
|
716
|
-
_meta: object;
|
|
717
|
-
_ctx_out: import("@trpc/server/adapters/standalone").CreateHTTPContextOptions & import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaContextParams;
|
|
718
|
-
_input_in: {
|
|
288
|
+
meta: object;
|
|
289
|
+
}>;
|
|
290
|
+
deleteCategoryById: import("@trpc/server").TRPCMutationProcedure<{
|
|
291
|
+
input: {
|
|
719
292
|
_id: string | import("mongoose").Types.ObjectId;
|
|
720
293
|
softDelete?: boolean | undefined;
|
|
721
294
|
};
|
|
722
|
-
|
|
723
|
-
_id: import("mongoose").Types.ObjectId;
|
|
724
|
-
softDelete: boolean;
|
|
725
|
-
};
|
|
726
|
-
_output_in: {
|
|
727
|
-
message: string;
|
|
728
|
-
success: boolean;
|
|
729
|
-
data?: import("zod").objectInputType<{
|
|
730
|
-
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
731
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
732
|
-
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
733
|
-
_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>]>>;
|
|
734
|
-
}, import("zod").ZodTypeAny, "passthrough"> | {
|
|
735
|
-
documents: import("zod").objectInputType<{
|
|
736
|
-
name: import("zod").ZodOptional<import("zod").ZodString | import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
|
|
737
|
-
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
738
|
-
sortingOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
739
|
-
_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>]>>;
|
|
740
|
-
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
741
|
-
metadata?: {
|
|
742
|
-
page: number;
|
|
743
|
-
size: number;
|
|
744
|
-
totalElements: number;
|
|
745
|
-
totalPages: number;
|
|
746
|
-
} | undefined;
|
|
747
|
-
} | undefined;
|
|
748
|
-
};
|
|
749
|
-
_output_out: {
|
|
295
|
+
output: {
|
|
750
296
|
message: string;
|
|
751
297
|
success: boolean;
|
|
752
298
|
data?: import("zod").objectInputType<{
|
|
@@ -769,6 +315,7 @@ export declare const loyaltyPointSettingRouter: import("@trpc/server").CreateRou
|
|
|
769
315
|
} | undefined;
|
|
770
316
|
} | undefined;
|
|
771
317
|
};
|
|
772
|
-
|
|
773
|
-
}>;
|
|
318
|
+
meta: object;
|
|
319
|
+
}>;
|
|
320
|
+
}>>;
|
|
774
321
|
//# sourceMappingURL=loyalty-point-setting.router.d.ts.map
|