@lyxa.ai/core 1.4.295 → 1.4.297-test-1
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/libraries/socket/events/chatlist-message-send.socket.event.d.ts +16 -16
- package/dist/libraries/socket/events/chatroom-message-send.socket.event.d.ts +40 -40
- package/dist/libraries/socket/events/order-actions.socket.event.d.ts +16 -16
- package/dist/libraries/socket/events/ticket-actions.socket.event.d.ts +18 -18
- package/dist/libraries/socket/events/ticket-assign.socket.event.d.ts +38 -38
- package/dist/libraries/trpc/middlewares/auth.d.ts +2 -2
- package/dist/libraries/trpc/middlewares/createRoleProtectedProcedure.d.ts +2 -2
- package/dist/libraries/trpc/middlewares/phone-verified.d.ts +2 -2
- package/dist/libraries/trpc/middlewares/publicUserDecoder.d.ts +2 -2
- package/dist/types/README.md +1 -1
- package/dist/types/package.json +1 -1
- package/dist/types/utilities/enum.d.ts +1 -0
- package/dist/types/utilities/enum.js +1 -0
- package/dist/types/utilities/enum.js.map +1 -1
- package/dist/types/utilities/validation/common-validation.d.ts +100 -100
- package/dist/utilities/enum.d.ts +1 -0
- package/dist/utilities/enum.js +1 -0
- package/dist/utilities/enum.js.map +1 -1
- package/dist/utilities/pagination.d.ts +6 -6
- package/dist/utilities/validation/common-validation.d.ts +115 -115
- package/package.json +4 -2
|
@@ -19,26 +19,26 @@ export declare const FilterSchema: z.ZodOptional<z.ZodObject<{
|
|
|
19
19
|
searchFields?: string[] | undefined;
|
|
20
20
|
}>>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
page: number;
|
|
23
22
|
size: number;
|
|
23
|
+
page: number;
|
|
24
|
+
sort?: Record<string, 1 | -1> | undefined;
|
|
24
25
|
search?: {
|
|
25
26
|
searchKey: string;
|
|
26
27
|
searchFields?: string[] | undefined;
|
|
27
28
|
} | undefined;
|
|
28
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
29
29
|
select?: Record<string, 0 | 1> | undefined;
|
|
30
30
|
populate?: any;
|
|
31
31
|
query?: Record<string, any> | undefined;
|
|
32
32
|
}, {
|
|
33
|
+
sort?: Record<string, 1 | -1> | undefined;
|
|
33
34
|
search?: {
|
|
34
35
|
searchKey: string;
|
|
35
36
|
searchFields?: string[] | undefined;
|
|
36
37
|
} | undefined;
|
|
37
|
-
sort?: Record<string, 1 | -1> | undefined;
|
|
38
|
-
page?: number | undefined;
|
|
39
38
|
select?: Record<string, 0 | 1> | undefined;
|
|
40
|
-
size?: number | undefined;
|
|
41
39
|
populate?: any;
|
|
40
|
+
size?: number | undefined;
|
|
41
|
+
page?: number | undefined;
|
|
42
42
|
query?: Record<string, any> | undefined;
|
|
43
43
|
}>>;
|
|
44
44
|
export type FilterDTO = z.infer<typeof FilterSchema>;
|
|
@@ -63,30 +63,30 @@ export declare const AddressSchema: z.ZodObject<{
|
|
|
63
63
|
longitude: z.ZodNumber;
|
|
64
64
|
zone: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
address: string;
|
|
67
|
+
country: string;
|
|
66
68
|
location: {
|
|
67
69
|
type: GeoLocationType;
|
|
68
70
|
coordinates: [number, number];
|
|
69
71
|
};
|
|
70
|
-
address: string;
|
|
71
|
-
country: string;
|
|
72
72
|
latitude: number;
|
|
73
73
|
longitude: number;
|
|
74
|
-
state?: string | undefined;
|
|
75
74
|
description?: string | undefined;
|
|
76
75
|
city?: string | undefined;
|
|
76
|
+
state?: string | undefined;
|
|
77
77
|
zone?: import("mongoose").Types.ObjectId | undefined;
|
|
78
78
|
}, {
|
|
79
|
+
address: string;
|
|
80
|
+
country: string;
|
|
79
81
|
location: {
|
|
80
82
|
coordinates: [number, number];
|
|
81
83
|
type?: GeoLocationType | undefined;
|
|
82
84
|
};
|
|
83
|
-
address: string;
|
|
84
|
-
country: string;
|
|
85
85
|
latitude: number;
|
|
86
86
|
longitude: number;
|
|
87
|
-
state?: string | undefined;
|
|
88
87
|
description?: string | undefined;
|
|
89
88
|
city?: string | undefined;
|
|
89
|
+
state?: string | undefined;
|
|
90
90
|
zone?: string | import("mongoose").Types.ObjectId | undefined;
|
|
91
91
|
}>;
|
|
92
92
|
export type AddressDTO = DTO<typeof AddressSchema>;
|
|
@@ -116,38 +116,38 @@ export declare const UserAddressSchema: z.ZodObject<{
|
|
|
116
116
|
deliveryOption: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
117
117
|
instructions: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
address: string;
|
|
120
|
+
country: string;
|
|
119
121
|
location: {
|
|
120
122
|
type: GeoLocationType;
|
|
121
123
|
coordinates: [number, number];
|
|
122
124
|
};
|
|
123
|
-
address: string;
|
|
124
|
-
country: string;
|
|
125
125
|
latitude: number;
|
|
126
126
|
longitude: number;
|
|
127
127
|
addressLabel: string;
|
|
128
128
|
apartment: string;
|
|
129
129
|
buildingName: string;
|
|
130
|
-
state?: string | undefined;
|
|
131
130
|
description?: string | undefined;
|
|
132
131
|
city?: string | undefined;
|
|
132
|
+
state?: string | undefined;
|
|
133
133
|
zone?: import("mongoose").Types.ObjectId | undefined;
|
|
134
134
|
deliveryOption?: string | undefined;
|
|
135
135
|
instructions?: string | undefined;
|
|
136
136
|
}, {
|
|
137
|
+
address: string;
|
|
138
|
+
country: string;
|
|
137
139
|
location: {
|
|
138
140
|
coordinates: [number, number];
|
|
139
141
|
type?: GeoLocationType | undefined;
|
|
140
142
|
};
|
|
141
|
-
address: string;
|
|
142
|
-
country: string;
|
|
143
143
|
latitude: number;
|
|
144
144
|
longitude: number;
|
|
145
145
|
addressLabel: string;
|
|
146
146
|
apartment: string;
|
|
147
147
|
buildingName: string;
|
|
148
|
-
state?: string | undefined;
|
|
149
148
|
description?: string | undefined;
|
|
150
149
|
city?: string | undefined;
|
|
150
|
+
state?: string | undefined;
|
|
151
151
|
zone?: string | import("mongoose").Types.ObjectId | undefined;
|
|
152
152
|
deliveryOption?: string | undefined;
|
|
153
153
|
instructions?: string | undefined;
|
|
@@ -181,40 +181,40 @@ export declare const RegularOrderAddressSchema: z.ZodObject<{
|
|
|
181
181
|
} & {
|
|
182
182
|
_id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
_id: import("mongoose").Types.ObjectId;
|
|
185
|
+
address: string;
|
|
186
|
+
country: string;
|
|
184
187
|
location: {
|
|
185
188
|
type: GeoLocationType;
|
|
186
189
|
coordinates: [number, number];
|
|
187
190
|
};
|
|
188
|
-
address: string;
|
|
189
|
-
country: string;
|
|
190
|
-
_id: import("mongoose").Types.ObjectId;
|
|
191
191
|
latitude: number;
|
|
192
192
|
longitude: number;
|
|
193
193
|
addressLabel: string;
|
|
194
194
|
apartment: string;
|
|
195
195
|
buildingName: string;
|
|
196
|
-
state?: string | undefined;
|
|
197
196
|
description?: string | undefined;
|
|
198
197
|
city?: string | undefined;
|
|
198
|
+
state?: string | undefined;
|
|
199
199
|
zone?: import("mongoose").Types.ObjectId | undefined;
|
|
200
200
|
deliveryOption?: string | undefined;
|
|
201
201
|
instructions?: string | undefined;
|
|
202
202
|
}, {
|
|
203
|
+
_id: string | import("mongoose").Types.ObjectId;
|
|
204
|
+
address: string;
|
|
205
|
+
country: string;
|
|
203
206
|
location: {
|
|
204
207
|
coordinates: [number, number];
|
|
205
208
|
type?: GeoLocationType | undefined;
|
|
206
209
|
};
|
|
207
|
-
address: string;
|
|
208
|
-
country: string;
|
|
209
|
-
_id: string | import("mongoose").Types.ObjectId;
|
|
210
210
|
latitude: number;
|
|
211
211
|
longitude: number;
|
|
212
212
|
addressLabel: string;
|
|
213
213
|
apartment: string;
|
|
214
214
|
buildingName: string;
|
|
215
|
-
state?: string | undefined;
|
|
216
215
|
description?: string | undefined;
|
|
217
216
|
city?: string | undefined;
|
|
217
|
+
state?: string | undefined;
|
|
218
218
|
zone?: string | import("mongoose").Types.ObjectId | undefined;
|
|
219
219
|
deliveryOption?: string | undefined;
|
|
220
220
|
instructions?: string | undefined;
|
|
@@ -248,40 +248,40 @@ export declare const CourierAddressSchema: z.ZodObject<{
|
|
|
248
248
|
apartment: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
249
249
|
buildingName: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
|
|
251
|
+
address: string;
|
|
252
|
+
country: string;
|
|
252
253
|
location: {
|
|
253
254
|
type: GeoLocationType;
|
|
254
255
|
coordinates: [number, number];
|
|
255
256
|
};
|
|
256
|
-
address: string;
|
|
257
|
-
country: string;
|
|
258
257
|
latitude: number;
|
|
259
258
|
longitude: number;
|
|
260
259
|
addressLabel: string;
|
|
260
|
+
name: string;
|
|
261
261
|
phoneNumber: string;
|
|
262
|
-
state?: string | undefined;
|
|
263
262
|
description?: string | undefined;
|
|
264
263
|
city?: string | undefined;
|
|
264
|
+
state?: string | undefined;
|
|
265
265
|
zone?: import("mongoose").Types.ObjectId | undefined;
|
|
266
266
|
apartment?: string | undefined;
|
|
267
267
|
buildingName?: string | undefined;
|
|
268
268
|
deliveryOption?: string | undefined;
|
|
269
269
|
instructions?: string | undefined;
|
|
270
270
|
}, {
|
|
271
|
-
|
|
271
|
+
address: string;
|
|
272
|
+
country: string;
|
|
272
273
|
location: {
|
|
273
274
|
coordinates: [number, number];
|
|
274
275
|
type?: GeoLocationType | undefined;
|
|
275
276
|
};
|
|
276
|
-
address: string;
|
|
277
|
-
country: string;
|
|
278
277
|
latitude: number;
|
|
279
278
|
longitude: number;
|
|
280
279
|
addressLabel: string;
|
|
280
|
+
name: string;
|
|
281
281
|
phoneNumber: string;
|
|
282
|
-
state?: string | undefined;
|
|
283
282
|
description?: string | undefined;
|
|
284
283
|
city?: string | undefined;
|
|
284
|
+
state?: string | undefined;
|
|
285
285
|
zone?: string | import("mongoose").Types.ObjectId | undefined;
|
|
286
286
|
apartment?: string | undefined;
|
|
287
287
|
buildingName?: string | undefined;
|
|
@@ -306,43 +306,43 @@ export declare const NormalHourSchema: z.ZodObject<{
|
|
|
306
306
|
start: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
307
307
|
end: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
|
-
end: string;
|
|
310
309
|
start: string;
|
|
311
|
-
}, {
|
|
312
310
|
end: string;
|
|
311
|
+
}, {
|
|
313
312
|
start: string;
|
|
314
|
-
}>, {
|
|
315
313
|
end: string;
|
|
314
|
+
}>, {
|
|
316
315
|
start: string;
|
|
317
|
-
}, {
|
|
318
316
|
end: string;
|
|
317
|
+
}, {
|
|
319
318
|
start: string;
|
|
320
|
-
}>, {
|
|
321
319
|
end: string;
|
|
320
|
+
}>, {
|
|
322
321
|
start: string;
|
|
323
|
-
}, {
|
|
324
322
|
end: string;
|
|
323
|
+
}, {
|
|
325
324
|
start: string;
|
|
326
|
-
}>, "many">>, {
|
|
327
325
|
end: string;
|
|
326
|
+
}>, "many">>, {
|
|
328
327
|
start: string;
|
|
329
|
-
}[], {
|
|
330
328
|
end: string;
|
|
329
|
+
}[], {
|
|
331
330
|
start: string;
|
|
331
|
+
end: string;
|
|
332
332
|
}[] | undefined>;
|
|
333
333
|
}, "strip", z.ZodTypeAny, {
|
|
334
334
|
status: WorkStatus;
|
|
335
335
|
day: WeekDay;
|
|
336
336
|
openingHours: {
|
|
337
|
-
end: string;
|
|
338
337
|
start: string;
|
|
338
|
+
end: string;
|
|
339
339
|
}[];
|
|
340
340
|
}, {
|
|
341
341
|
status: WorkStatus;
|
|
342
342
|
day: WeekDay;
|
|
343
343
|
openingHours?: {
|
|
344
|
-
end: string;
|
|
345
344
|
start: string;
|
|
345
|
+
end: string;
|
|
346
346
|
}[] | undefined;
|
|
347
347
|
}>;
|
|
348
348
|
export declare const HolidayHourSchema: z.ZodObject<{
|
|
@@ -352,37 +352,37 @@ export declare const HolidayHourSchema: z.ZodObject<{
|
|
|
352
352
|
start: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
353
353
|
end: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
354
354
|
}, "strip", z.ZodTypeAny, {
|
|
355
|
-
end: string;
|
|
356
355
|
start: string;
|
|
357
|
-
}, {
|
|
358
356
|
end: string;
|
|
357
|
+
}, {
|
|
359
358
|
start: string;
|
|
360
|
-
}>, {
|
|
361
359
|
end: string;
|
|
360
|
+
}>, {
|
|
362
361
|
start: string;
|
|
363
|
-
}, {
|
|
364
362
|
end: string;
|
|
363
|
+
}, {
|
|
365
364
|
start: string;
|
|
366
|
-
}>, {
|
|
367
365
|
end: string;
|
|
366
|
+
}>, {
|
|
368
367
|
start: string;
|
|
369
|
-
}, {
|
|
370
368
|
end: string;
|
|
369
|
+
}, {
|
|
371
370
|
start: string;
|
|
371
|
+
end: string;
|
|
372
372
|
}>;
|
|
373
373
|
}, "strip", z.ZodTypeAny, {
|
|
374
374
|
status: HolidayWorkStatus;
|
|
375
375
|
date: Date;
|
|
376
376
|
closingHour: {
|
|
377
|
-
end: string;
|
|
378
377
|
start: string;
|
|
378
|
+
end: string;
|
|
379
379
|
};
|
|
380
380
|
}, {
|
|
381
381
|
status: HolidayWorkStatus;
|
|
382
382
|
date: string | Date;
|
|
383
383
|
closingHour: {
|
|
384
|
-
end: string;
|
|
385
384
|
start: string;
|
|
385
|
+
end: string;
|
|
386
386
|
};
|
|
387
387
|
}>;
|
|
388
388
|
export declare const WorkHourSettingSchema: z.ZodObject<{
|
|
@@ -393,43 +393,43 @@ export declare const WorkHourSettingSchema: z.ZodObject<{
|
|
|
393
393
|
start: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
394
394
|
end: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
395
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
end: string;
|
|
397
396
|
start: string;
|
|
398
|
-
}, {
|
|
399
397
|
end: string;
|
|
398
|
+
}, {
|
|
400
399
|
start: string;
|
|
401
|
-
}>, {
|
|
402
400
|
end: string;
|
|
401
|
+
}>, {
|
|
403
402
|
start: string;
|
|
404
|
-
}, {
|
|
405
403
|
end: string;
|
|
404
|
+
}, {
|
|
406
405
|
start: string;
|
|
407
|
-
}>, {
|
|
408
406
|
end: string;
|
|
407
|
+
}>, {
|
|
409
408
|
start: string;
|
|
410
|
-
}, {
|
|
411
409
|
end: string;
|
|
410
|
+
}, {
|
|
412
411
|
start: string;
|
|
413
|
-
}>, "many">>, {
|
|
414
412
|
end: string;
|
|
413
|
+
}>, "many">>, {
|
|
415
414
|
start: string;
|
|
416
|
-
}[], {
|
|
417
415
|
end: string;
|
|
416
|
+
}[], {
|
|
418
417
|
start: string;
|
|
418
|
+
end: string;
|
|
419
419
|
}[] | undefined>;
|
|
420
420
|
}, "strip", z.ZodTypeAny, {
|
|
421
421
|
status: WorkStatus;
|
|
422
422
|
day: WeekDay;
|
|
423
423
|
openingHours: {
|
|
424
|
-
end: string;
|
|
425
424
|
start: string;
|
|
425
|
+
end: string;
|
|
426
426
|
}[];
|
|
427
427
|
}, {
|
|
428
428
|
status: WorkStatus;
|
|
429
429
|
day: WeekDay;
|
|
430
430
|
openingHours?: {
|
|
431
|
-
end: string;
|
|
432
431
|
start: string;
|
|
432
|
+
end: string;
|
|
433
433
|
}[] | undefined;
|
|
434
434
|
}>, "many">>;
|
|
435
435
|
holidayHours: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -439,37 +439,37 @@ export declare const WorkHourSettingSchema: z.ZodObject<{
|
|
|
439
439
|
start: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
440
440
|
end: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
441
441
|
}, "strip", z.ZodTypeAny, {
|
|
442
|
-
end: string;
|
|
443
442
|
start: string;
|
|
444
|
-
}, {
|
|
445
443
|
end: string;
|
|
444
|
+
}, {
|
|
446
445
|
start: string;
|
|
447
|
-
}>, {
|
|
448
446
|
end: string;
|
|
447
|
+
}>, {
|
|
449
448
|
start: string;
|
|
450
|
-
}, {
|
|
451
449
|
end: string;
|
|
450
|
+
}, {
|
|
452
451
|
start: string;
|
|
453
|
-
}>, {
|
|
454
452
|
end: string;
|
|
453
|
+
}>, {
|
|
455
454
|
start: string;
|
|
456
|
-
}, {
|
|
457
455
|
end: string;
|
|
456
|
+
}, {
|
|
458
457
|
start: string;
|
|
458
|
+
end: string;
|
|
459
459
|
}>;
|
|
460
460
|
}, "strip", z.ZodTypeAny, {
|
|
461
461
|
status: HolidayWorkStatus;
|
|
462
462
|
date: Date;
|
|
463
463
|
closingHour: {
|
|
464
|
-
end: string;
|
|
465
464
|
start: string;
|
|
465
|
+
end: string;
|
|
466
466
|
};
|
|
467
467
|
}, {
|
|
468
468
|
status: HolidayWorkStatus;
|
|
469
469
|
date: string | Date;
|
|
470
470
|
closingHour: {
|
|
471
|
-
end: string;
|
|
472
471
|
start: string;
|
|
472
|
+
end: string;
|
|
473
473
|
};
|
|
474
474
|
}>, "many">>;
|
|
475
475
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -477,16 +477,16 @@ export declare const WorkHourSettingSchema: z.ZodObject<{
|
|
|
477
477
|
status: WorkStatus;
|
|
478
478
|
day: WeekDay;
|
|
479
479
|
openingHours: {
|
|
480
|
-
end: string;
|
|
481
480
|
start: string;
|
|
481
|
+
end: string;
|
|
482
482
|
}[];
|
|
483
483
|
}[];
|
|
484
484
|
holidayHours: {
|
|
485
485
|
status: HolidayWorkStatus;
|
|
486
486
|
date: Date;
|
|
487
487
|
closingHour: {
|
|
488
|
-
end: string;
|
|
489
488
|
start: string;
|
|
489
|
+
end: string;
|
|
490
490
|
};
|
|
491
491
|
}[];
|
|
492
492
|
}, {
|
|
@@ -494,16 +494,16 @@ export declare const WorkHourSettingSchema: z.ZodObject<{
|
|
|
494
494
|
status: WorkStatus;
|
|
495
495
|
day: WeekDay;
|
|
496
496
|
openingHours?: {
|
|
497
|
-
end: string;
|
|
498
497
|
start: string;
|
|
498
|
+
end: string;
|
|
499
499
|
}[] | undefined;
|
|
500
500
|
}[] | undefined;
|
|
501
501
|
holidayHours?: {
|
|
502
502
|
status: HolidayWorkStatus;
|
|
503
503
|
date: string | Date;
|
|
504
504
|
closingHour: {
|
|
505
|
-
end: string;
|
|
506
505
|
start: string;
|
|
506
|
+
end: string;
|
|
507
507
|
};
|
|
508
508
|
}[] | undefined;
|
|
509
509
|
}>;
|
|
@@ -527,13 +527,13 @@ declare const metadataSchema: z.ZodObject<{
|
|
|
527
527
|
totalElements: z.ZodNumber;
|
|
528
528
|
totalPages: z.ZodNumber;
|
|
529
529
|
}, "strip", z.ZodTypeAny, {
|
|
530
|
-
page: number;
|
|
531
530
|
size: number;
|
|
531
|
+
page: number;
|
|
532
532
|
totalElements: number;
|
|
533
533
|
totalPages: number;
|
|
534
534
|
}, {
|
|
535
|
-
page: number;
|
|
536
535
|
size: number;
|
|
536
|
+
page: number;
|
|
537
537
|
totalElements: number;
|
|
538
538
|
totalPages: number;
|
|
539
539
|
}>;
|
|
@@ -544,13 +544,13 @@ export declare const createPaginatedSchema: <T>(documentSchema: z.ZodSchema<T>)
|
|
|
544
544
|
totalElements: z.ZodNumber;
|
|
545
545
|
totalPages: z.ZodNumber;
|
|
546
546
|
}, "strip", z.ZodTypeAny, {
|
|
547
|
-
page: number;
|
|
548
547
|
size: number;
|
|
548
|
+
page: number;
|
|
549
549
|
totalElements: number;
|
|
550
550
|
totalPages: number;
|
|
551
551
|
}, {
|
|
552
|
-
page: number;
|
|
553
552
|
size: number;
|
|
553
|
+
page: number;
|
|
554
554
|
totalElements: number;
|
|
555
555
|
totalPages: number;
|
|
556
556
|
}>>;
|
|
@@ -558,16 +558,16 @@ export declare const createPaginatedSchema: <T>(documentSchema: z.ZodSchema<T>)
|
|
|
558
558
|
}, "strip", z.ZodTypeAny, {
|
|
559
559
|
documents: T[];
|
|
560
560
|
metadata?: {
|
|
561
|
-
page: number;
|
|
562
561
|
size: number;
|
|
562
|
+
page: number;
|
|
563
563
|
totalElements: number;
|
|
564
564
|
totalPages: number;
|
|
565
565
|
} | undefined;
|
|
566
566
|
}, {
|
|
567
567
|
documents: T[];
|
|
568
568
|
metadata?: {
|
|
569
|
-
page: number;
|
|
570
569
|
size: number;
|
|
570
|
+
page: number;
|
|
571
571
|
totalElements: number;
|
|
572
572
|
totalPages: number;
|
|
573
573
|
} | undefined;
|
|
@@ -582,13 +582,13 @@ export declare const createResponseSchema: <T>(schema: z.ZodSchema<T>) => z.ZodO
|
|
|
582
582
|
totalElements: z.ZodNumber;
|
|
583
583
|
totalPages: z.ZodNumber;
|
|
584
584
|
}, "strip", z.ZodTypeAny, {
|
|
585
|
-
page: number;
|
|
586
585
|
size: number;
|
|
586
|
+
page: number;
|
|
587
587
|
totalElements: number;
|
|
588
588
|
totalPages: number;
|
|
589
589
|
}, {
|
|
590
|
-
page: number;
|
|
591
590
|
size: number;
|
|
591
|
+
page: number;
|
|
592
592
|
totalElements: number;
|
|
593
593
|
totalPages: number;
|
|
594
594
|
}>>;
|
|
@@ -596,16 +596,16 @@ export declare const createResponseSchema: <T>(schema: z.ZodSchema<T>) => z.ZodO
|
|
|
596
596
|
}, "strip", z.ZodTypeAny, {
|
|
597
597
|
documents: T[];
|
|
598
598
|
metadata?: {
|
|
599
|
-
page: number;
|
|
600
599
|
size: number;
|
|
600
|
+
page: number;
|
|
601
601
|
totalElements: number;
|
|
602
602
|
totalPages: number;
|
|
603
603
|
} | undefined;
|
|
604
604
|
}, {
|
|
605
605
|
documents: T[];
|
|
606
606
|
metadata?: {
|
|
607
|
-
page: number;
|
|
608
607
|
size: number;
|
|
608
|
+
page: number;
|
|
609
609
|
totalElements: number;
|
|
610
610
|
totalPages: number;
|
|
611
611
|
} | undefined;
|
|
@@ -620,13 +620,13 @@ export declare const createResponseSchema: <T>(schema: z.ZodSchema<T>) => z.ZodO
|
|
|
620
620
|
totalElements: z.ZodNumber;
|
|
621
621
|
totalPages: z.ZodNumber;
|
|
622
622
|
}, "strip", z.ZodTypeAny, {
|
|
623
|
-
page: number;
|
|
624
623
|
size: number;
|
|
624
|
+
page: number;
|
|
625
625
|
totalElements: number;
|
|
626
626
|
totalPages: number;
|
|
627
627
|
}, {
|
|
628
|
-
page: number;
|
|
629
628
|
size: number;
|
|
629
|
+
page: number;
|
|
630
630
|
totalElements: number;
|
|
631
631
|
totalPages: number;
|
|
632
632
|
}>>;
|
|
@@ -634,16 +634,16 @@ export declare const createResponseSchema: <T>(schema: z.ZodSchema<T>) => z.ZodO
|
|
|
634
634
|
}, "strip", z.ZodTypeAny, {
|
|
635
635
|
documents: T[];
|
|
636
636
|
metadata?: {
|
|
637
|
-
page: number;
|
|
638
637
|
size: number;
|
|
638
|
+
page: number;
|
|
639
639
|
totalElements: number;
|
|
640
640
|
totalPages: number;
|
|
641
641
|
} | undefined;
|
|
642
642
|
}, {
|
|
643
643
|
documents: T[];
|
|
644
644
|
metadata?: {
|
|
645
|
-
page: number;
|
|
646
645
|
size: number;
|
|
646
|
+
page: number;
|
|
647
647
|
totalElements: number;
|
|
648
648
|
totalPages: number;
|
|
649
649
|
} | undefined;
|
|
@@ -658,13 +658,13 @@ export declare const createResponseSchema: <T>(schema: z.ZodSchema<T>) => z.ZodO
|
|
|
658
658
|
totalElements: z.ZodNumber;
|
|
659
659
|
totalPages: z.ZodNumber;
|
|
660
660
|
}, "strip", z.ZodTypeAny, {
|
|
661
|
-
page: number;
|
|
662
661
|
size: number;
|
|
662
|
+
page: number;
|
|
663
663
|
totalElements: number;
|
|
664
664
|
totalPages: number;
|
|
665
665
|
}, {
|
|
666
|
-
page: number;
|
|
667
666
|
size: number;
|
|
667
|
+
page: number;
|
|
668
668
|
totalElements: number;
|
|
669
669
|
totalPages: number;
|
|
670
670
|
}>>;
|
|
@@ -672,16 +672,16 @@ export declare const createResponseSchema: <T>(schema: z.ZodSchema<T>) => z.ZodO
|
|
|
672
672
|
}, "strip", z.ZodTypeAny, {
|
|
673
673
|
documents: T[];
|
|
674
674
|
metadata?: {
|
|
675
|
-
page: number;
|
|
676
675
|
size: number;
|
|
676
|
+
page: number;
|
|
677
677
|
totalElements: number;
|
|
678
678
|
totalPages: number;
|
|
679
679
|
} | undefined;
|
|
680
680
|
}, {
|
|
681
681
|
documents: T[];
|
|
682
682
|
metadata?: {
|
|
683
|
-
page: number;
|
|
684
683
|
size: number;
|
|
684
|
+
page: number;
|
|
685
685
|
totalElements: number;
|
|
686
686
|
totalPages: number;
|
|
687
687
|
} | undefined;
|
|
@@ -816,11 +816,11 @@ declare const ShareableLinkSchema: z.ZodObject<{
|
|
|
816
816
|
link: z.ZodString;
|
|
817
817
|
message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
818
818
|
}, "strip", z.ZodTypeAny, {
|
|
819
|
-
link: string;
|
|
820
819
|
message: string;
|
|
821
|
-
}, {
|
|
822
820
|
link: string;
|
|
821
|
+
}, {
|
|
823
822
|
message: string;
|
|
823
|
+
link: string;
|
|
824
824
|
}>;
|
|
825
825
|
export declare const ShareableLinkResponseSchema: z.ZodObject<{
|
|
826
826
|
success: z.ZodBoolean;
|
|
@@ -832,66 +832,66 @@ export declare const ShareableLinkResponseSchema: z.ZodObject<{
|
|
|
832
832
|
totalElements: z.ZodNumber;
|
|
833
833
|
totalPages: z.ZodNumber;
|
|
834
834
|
}, "strip", z.ZodTypeAny, {
|
|
835
|
-
page: number;
|
|
836
835
|
size: number;
|
|
836
|
+
page: number;
|
|
837
837
|
totalElements: number;
|
|
838
838
|
totalPages: number;
|
|
839
839
|
}, {
|
|
840
|
-
page: number;
|
|
841
840
|
size: number;
|
|
841
|
+
page: number;
|
|
842
842
|
totalElements: number;
|
|
843
843
|
totalPages: number;
|
|
844
844
|
}>>;
|
|
845
845
|
documents: z.ZodArray<z.ZodType<{
|
|
846
|
-
link: string;
|
|
847
846
|
message: string;
|
|
848
|
-
}, z.ZodTypeDef, {
|
|
849
847
|
link: string;
|
|
848
|
+
}, z.ZodTypeDef, {
|
|
850
849
|
message: string;
|
|
850
|
+
link: string;
|
|
851
851
|
}>, "many">;
|
|
852
852
|
}, "strip", z.ZodTypeAny, {
|
|
853
853
|
documents: {
|
|
854
|
-
link: string;
|
|
855
854
|
message: string;
|
|
855
|
+
link: string;
|
|
856
856
|
}[];
|
|
857
857
|
metadata?: {
|
|
858
|
-
page: number;
|
|
859
858
|
size: number;
|
|
859
|
+
page: number;
|
|
860
860
|
totalElements: number;
|
|
861
861
|
totalPages: number;
|
|
862
862
|
} | undefined;
|
|
863
863
|
}, {
|
|
864
864
|
documents: {
|
|
865
|
-
link: string;
|
|
866
865
|
message: string;
|
|
866
|
+
link: string;
|
|
867
867
|
}[];
|
|
868
868
|
metadata?: {
|
|
869
|
-
page: number;
|
|
870
869
|
size: number;
|
|
870
|
+
page: number;
|
|
871
871
|
totalElements: number;
|
|
872
872
|
totalPages: number;
|
|
873
873
|
} | undefined;
|
|
874
874
|
}>, z.ZodType<{
|
|
875
|
-
link: string;
|
|
876
875
|
message: string;
|
|
877
|
-
}, z.ZodTypeDef, {
|
|
878
876
|
link: string;
|
|
877
|
+
}, z.ZodTypeDef, {
|
|
879
878
|
message: string;
|
|
879
|
+
link: string;
|
|
880
880
|
}>]>>;
|
|
881
881
|
}, "strip", z.ZodTypeAny, {
|
|
882
882
|
message: string;
|
|
883
883
|
success: boolean;
|
|
884
884
|
data?: {
|
|
885
|
-
link: string;
|
|
886
885
|
message: string;
|
|
886
|
+
link: string;
|
|
887
887
|
} | {
|
|
888
888
|
documents: {
|
|
889
|
-
link: string;
|
|
890
889
|
message: string;
|
|
890
|
+
link: string;
|
|
891
891
|
}[];
|
|
892
892
|
metadata?: {
|
|
893
|
-
page: number;
|
|
894
893
|
size: number;
|
|
894
|
+
page: number;
|
|
895
895
|
totalElements: number;
|
|
896
896
|
totalPages: number;
|
|
897
897
|
} | undefined;
|
|
@@ -900,16 +900,16 @@ export declare const ShareableLinkResponseSchema: z.ZodObject<{
|
|
|
900
900
|
message: string;
|
|
901
901
|
success: boolean;
|
|
902
902
|
data?: {
|
|
903
|
-
link: string;
|
|
904
903
|
message: string;
|
|
904
|
+
link: string;
|
|
905
905
|
} | {
|
|
906
906
|
documents: {
|
|
907
|
-
link: string;
|
|
908
907
|
message: string;
|
|
908
|
+
link: string;
|
|
909
909
|
}[];
|
|
910
910
|
metadata?: {
|
|
911
|
-
page: number;
|
|
912
911
|
size: number;
|
|
912
|
+
page: number;
|
|
913
913
|
totalElements: number;
|
|
914
914
|
totalPages: number;
|
|
915
915
|
} | undefined;
|
|
@@ -923,16 +923,16 @@ export declare const UpdateFcmTokenInputSchema: z.ZodObject<{
|
|
|
923
923
|
appVersion: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
924
924
|
deviceId: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
925
925
|
}, "strip", z.ZodTypeAny, {
|
|
926
|
-
action: ActionType;
|
|
927
926
|
fcmToken: string;
|
|
928
|
-
|
|
927
|
+
action: ActionType;
|
|
929
928
|
deviceId?: string | undefined;
|
|
929
|
+
platform?: AppPlatform | undefined;
|
|
930
930
|
appVersion?: string | undefined;
|
|
931
931
|
}, {
|
|
932
|
-
action: ActionType;
|
|
933
932
|
fcmToken: string;
|
|
934
|
-
|
|
933
|
+
action: ActionType;
|
|
935
934
|
deviceId?: string | undefined;
|
|
935
|
+
platform?: AppPlatform | undefined;
|
|
936
936
|
appVersion?: string | undefined;
|
|
937
937
|
}>;
|
|
938
938
|
export type UpdateFcmTokenInputDTO = DTO<typeof UpdateFcmTokenInputSchema>;
|
|
@@ -940,11 +940,11 @@ export declare const AssignRiderSchema: z.ZodObject<{
|
|
|
940
940
|
_id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
941
941
|
language: z.ZodNativeEnum<typeof Language>;
|
|
942
942
|
}, "strip", z.ZodTypeAny, {
|
|
943
|
-
language: Language;
|
|
944
943
|
_id: import("mongoose").Types.ObjectId;
|
|
945
|
-
}, {
|
|
946
944
|
language: Language;
|
|
945
|
+
}, {
|
|
947
946
|
_id: string | import("mongoose").Types.ObjectId;
|
|
947
|
+
language: Language;
|
|
948
948
|
}>;
|
|
949
949
|
export type AssignRiderDTO = DTO<typeof AssignRiderSchema>;
|
|
950
950
|
export declare const PaymentInformationSchema: z.ZodObject<{
|