vr-commons 1.0.177 → 1.0.181
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/utils/admin/admin.devicePayments.utils.d.ts +2 -1
- package/dist/utils/admin/admin.devicePayments.utils.js +13 -9
- package/dist/utils/users/users.verification.utils.js +2 -2
- package/dist/validations/admin/admin.devicePayments.validations.d.ts +90 -55
- package/dist/validations/admin/admin.devicePayments.validations.js +14 -2
- package/dist/validations/admin/admin.devices.validations.d.ts +58 -51
- package/dist/validations/admin/admin.devices.validations.js +1 -0
- package/dist/validations/admin/admin.installments.validations.js +1 -1
- package/dist/validations/admin/admin.pricings.validations.d.ts +10 -10
- package/dist/validations/admin/admin.users.validations.d.ts +103 -103
- package/dist/validations/index.d.ts +1 -1
- package/dist/validations/index.js +2 -1
- package/dist/validations/shared/shared.account.validations.d.ts +16 -16
- package/dist/validations/shared/shared.account.validations.js +1 -1
- package/dist/validations/shared/shared.auth.validations.d.ts +34 -34
- package/dist/validations/shared/shared.auth.validations.js +2 -2
- package/package.json +1 -1
|
@@ -5,28 +5,35 @@ export declare const createDevicePairsSchema: z.ZodObject<{
|
|
|
5
5
|
body: z.ZodEffects<z.ZodObject<{
|
|
6
6
|
productId: z.ZodString;
|
|
7
7
|
pairIds: z.ZodArray<z.ZodString, "many">;
|
|
8
|
+
serialPrefix: z.ZodDefault<z.ZodEnum<["VBRD", "VIBERIDE"]>>;
|
|
8
9
|
}, "strip", z.ZodTypeAny, {
|
|
9
10
|
productId: string;
|
|
10
11
|
pairIds: string[];
|
|
12
|
+
serialPrefix: "VBRD" | "VIBERIDE";
|
|
11
13
|
}, {
|
|
12
14
|
productId: string;
|
|
13
15
|
pairIds: string[];
|
|
16
|
+
serialPrefix?: "VBRD" | "VIBERIDE" | undefined;
|
|
14
17
|
}>, {
|
|
15
18
|
pairIds: string[];
|
|
16
19
|
productId: string;
|
|
20
|
+
serialPrefix: "VBRD" | "VIBERIDE";
|
|
17
21
|
}, {
|
|
18
22
|
productId: string;
|
|
19
23
|
pairIds: string[];
|
|
24
|
+
serialPrefix?: "VBRD" | "VIBERIDE" | undefined;
|
|
20
25
|
}>;
|
|
21
26
|
}, "strip", z.ZodTypeAny, {
|
|
22
27
|
body: {
|
|
23
28
|
pairIds: string[];
|
|
24
29
|
productId: string;
|
|
30
|
+
serialPrefix: "VBRD" | "VIBERIDE";
|
|
25
31
|
};
|
|
26
32
|
}, {
|
|
27
33
|
body: {
|
|
28
34
|
productId: string;
|
|
29
35
|
pairIds: string[];
|
|
36
|
+
serialPrefix?: "VBRD" | "VIBERIDE" | undefined;
|
|
30
37
|
};
|
|
31
38
|
}>;
|
|
32
39
|
export declare const getDeviceSchema: z.ZodObject<{
|
|
@@ -59,53 +66,53 @@ export declare const getDevicesSchema: z.ZodObject<{
|
|
|
59
66
|
sortBy: z.ZodOptional<z.ZodEnum<["serialNumber", "status", "createdAt", "updatedAt"]>>;
|
|
60
67
|
sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
|
|
61
68
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
|
|
63
|
-
limit?: number | undefined;
|
|
69
|
+
productId?: string | undefined;
|
|
64
70
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
65
71
|
page?: number | undefined;
|
|
66
|
-
|
|
67
|
-
sortOrder?: "DESC" | "ASC" | undefined;
|
|
68
|
-
productId?: string | undefined;
|
|
72
|
+
limit?: number | undefined;
|
|
69
73
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
|
|
70
74
|
isPermanentlyUnlocked?: "true" | "false" | undefined;
|
|
71
75
|
isAssigned?: "true" | "false" | undefined;
|
|
72
|
-
}, {
|
|
73
76
|
search?: string | undefined;
|
|
74
|
-
|
|
77
|
+
sortBy?: "status" | "serialNumber" | "createdAt" | "updatedAt" | undefined;
|
|
78
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
79
|
+
}, {
|
|
80
|
+
productId?: string | undefined;
|
|
75
81
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
76
82
|
page?: string | undefined;
|
|
77
|
-
|
|
78
|
-
sortOrder?: "DESC" | "ASC" | undefined;
|
|
79
|
-
productId?: string | undefined;
|
|
83
|
+
limit?: string | undefined;
|
|
80
84
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
|
|
81
85
|
isPermanentlyUnlocked?: "true" | "false" | undefined;
|
|
82
86
|
isAssigned?: "true" | "false" | undefined;
|
|
87
|
+
search?: string | undefined;
|
|
88
|
+
sortBy?: "status" | "serialNumber" | "createdAt" | "updatedAt" | undefined;
|
|
89
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
83
90
|
}>;
|
|
84
91
|
}, "strip", z.ZodTypeAny, {
|
|
85
92
|
query: {
|
|
86
|
-
|
|
87
|
-
limit?: number | undefined;
|
|
93
|
+
productId?: string | undefined;
|
|
88
94
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
89
95
|
page?: number | undefined;
|
|
90
|
-
|
|
91
|
-
sortOrder?: "DESC" | "ASC" | undefined;
|
|
92
|
-
productId?: string | undefined;
|
|
96
|
+
limit?: number | undefined;
|
|
93
97
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
|
|
94
98
|
isPermanentlyUnlocked?: "true" | "false" | undefined;
|
|
95
99
|
isAssigned?: "true" | "false" | undefined;
|
|
100
|
+
search?: string | undefined;
|
|
101
|
+
sortBy?: "status" | "serialNumber" | "createdAt" | "updatedAt" | undefined;
|
|
102
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
96
103
|
};
|
|
97
104
|
}, {
|
|
98
105
|
query: {
|
|
99
|
-
|
|
100
|
-
limit?: string | undefined;
|
|
106
|
+
productId?: string | undefined;
|
|
101
107
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
102
108
|
page?: string | undefined;
|
|
103
|
-
|
|
104
|
-
sortOrder?: "DESC" | "ASC" | undefined;
|
|
105
|
-
productId?: string | undefined;
|
|
109
|
+
limit?: string | undefined;
|
|
106
110
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
|
|
107
111
|
isPermanentlyUnlocked?: "true" | "false" | undefined;
|
|
108
112
|
isAssigned?: "true" | "false" | undefined;
|
|
113
|
+
search?: string | undefined;
|
|
114
|
+
sortBy?: "status" | "serialNumber" | "createdAt" | "updatedAt" | undefined;
|
|
115
|
+
sortOrder?: "ASC" | "DESC" | undefined;
|
|
109
116
|
};
|
|
110
117
|
}>;
|
|
111
118
|
export declare const deleteDevicesByPairsSchema: z.ZodObject<{
|
|
@@ -153,32 +160,32 @@ export declare const lockDevicesSchema: z.ZodObject<{
|
|
|
153
160
|
pairIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
154
161
|
serialNumbers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
155
162
|
}, "strip", z.ZodTypeAny, {
|
|
156
|
-
reason?: string | undefined;
|
|
157
163
|
pairIds?: string[] | undefined;
|
|
164
|
+
reason?: string | undefined;
|
|
158
165
|
serialNumbers?: string[] | undefined;
|
|
159
166
|
}, {
|
|
160
|
-
reason?: string | undefined;
|
|
161
167
|
pairIds?: string[] | undefined;
|
|
168
|
+
reason?: string | undefined;
|
|
162
169
|
serialNumbers?: string[] | undefined;
|
|
163
170
|
}>, {
|
|
164
|
-
reason?: string | undefined;
|
|
165
171
|
pairIds?: string[] | undefined;
|
|
172
|
+
reason?: string | undefined;
|
|
166
173
|
serialNumbers?: string[] | undefined;
|
|
167
174
|
}, {
|
|
168
|
-
reason?: string | undefined;
|
|
169
175
|
pairIds?: string[] | undefined;
|
|
176
|
+
reason?: string | undefined;
|
|
170
177
|
serialNumbers?: string[] | undefined;
|
|
171
178
|
}>;
|
|
172
179
|
}, "strip", z.ZodTypeAny, {
|
|
173
180
|
body: {
|
|
174
|
-
reason?: string | undefined;
|
|
175
181
|
pairIds?: string[] | undefined;
|
|
182
|
+
reason?: string | undefined;
|
|
176
183
|
serialNumbers?: string[] | undefined;
|
|
177
184
|
};
|
|
178
185
|
}, {
|
|
179
186
|
body: {
|
|
180
|
-
reason?: string | undefined;
|
|
181
187
|
pairIds?: string[] | undefined;
|
|
188
|
+
reason?: string | undefined;
|
|
182
189
|
serialNumbers?: string[] | undefined;
|
|
183
190
|
};
|
|
184
191
|
}>;
|
|
@@ -328,8 +335,8 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
328
335
|
createdBefore: z.ZodOptional<z.ZodString>;
|
|
329
336
|
createdAfter: z.ZodOptional<z.ZodString>;
|
|
330
337
|
}, "strip", z.ZodTypeAny, {
|
|
331
|
-
status?: string | string[] | undefined;
|
|
332
338
|
productId?: string | string[] | undefined;
|
|
339
|
+
status?: string | string[] | undefined;
|
|
333
340
|
dedicatedUser?: string | string[] | undefined;
|
|
334
341
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
335
342
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -338,8 +345,8 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
338
345
|
createdBefore?: string | undefined;
|
|
339
346
|
createdAfter?: string | undefined;
|
|
340
347
|
}, {
|
|
341
|
-
status?: string | string[] | undefined;
|
|
342
348
|
productId?: string | string[] | undefined;
|
|
349
|
+
status?: string | string[] | undefined;
|
|
343
350
|
dedicatedUser?: string | string[] | undefined;
|
|
344
351
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
345
352
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -356,32 +363,25 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
356
363
|
activatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
357
364
|
}, "strip", z.ZodTypeAny, {
|
|
358
365
|
status?: string | undefined;
|
|
359
|
-
devicePaymentPlanId?: string | null | undefined;
|
|
360
366
|
dedicatedUser?: string | undefined;
|
|
361
367
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
368
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
362
369
|
activatedAt?: string | null | undefined;
|
|
363
370
|
}, {
|
|
364
371
|
status?: string | undefined;
|
|
365
|
-
devicePaymentPlanId?: string | null | undefined;
|
|
366
372
|
dedicatedUser?: string | undefined;
|
|
367
373
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
374
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
368
375
|
activatedAt?: string | null | undefined;
|
|
369
376
|
}>>;
|
|
370
377
|
batchSize: z.ZodOptional<z.ZodNumber>;
|
|
371
378
|
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
372
379
|
}, "strip", z.ZodTypeAny, {
|
|
373
|
-
update?: {
|
|
374
|
-
status?: string | undefined;
|
|
375
|
-
devicePaymentPlanId?: string | null | undefined;
|
|
376
|
-
dedicatedUser?: string | undefined;
|
|
377
|
-
isPermanentlyUnlocked?: boolean | undefined;
|
|
378
|
-
activatedAt?: string | null | undefined;
|
|
379
|
-
} | undefined;
|
|
380
380
|
batchSize?: number | undefined;
|
|
381
381
|
maxRetries?: number | undefined;
|
|
382
382
|
condition?: {
|
|
383
|
-
status?: string | string[] | undefined;
|
|
384
383
|
productId?: string | string[] | undefined;
|
|
384
|
+
status?: string | string[] | undefined;
|
|
385
385
|
dedicatedUser?: string | string[] | undefined;
|
|
386
386
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
387
387
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -390,19 +390,19 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
390
390
|
createdBefore?: string | undefined;
|
|
391
391
|
createdAfter?: string | undefined;
|
|
392
392
|
} | undefined;
|
|
393
|
-
}, {
|
|
394
393
|
update?: {
|
|
395
394
|
status?: string | undefined;
|
|
396
|
-
devicePaymentPlanId?: string | null | undefined;
|
|
397
395
|
dedicatedUser?: string | undefined;
|
|
398
396
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
397
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
399
398
|
activatedAt?: string | null | undefined;
|
|
400
399
|
} | undefined;
|
|
400
|
+
}, {
|
|
401
401
|
batchSize?: number | undefined;
|
|
402
402
|
maxRetries?: number | undefined;
|
|
403
403
|
condition?: {
|
|
404
|
-
status?: string | string[] | undefined;
|
|
405
404
|
productId?: string | string[] | undefined;
|
|
405
|
+
status?: string | string[] | undefined;
|
|
406
406
|
dedicatedUser?: string | string[] | undefined;
|
|
407
407
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
408
408
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -411,21 +411,21 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
411
411
|
createdBefore?: string | undefined;
|
|
412
412
|
createdAfter?: string | undefined;
|
|
413
413
|
} | undefined;
|
|
414
|
-
}>;
|
|
415
|
-
}, "strip", z.ZodTypeAny, {
|
|
416
|
-
body: {
|
|
417
414
|
update?: {
|
|
418
415
|
status?: string | undefined;
|
|
419
|
-
devicePaymentPlanId?: string | null | undefined;
|
|
420
416
|
dedicatedUser?: string | undefined;
|
|
421
417
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
418
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
422
419
|
activatedAt?: string | null | undefined;
|
|
423
420
|
} | undefined;
|
|
421
|
+
}>;
|
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
|
+
body: {
|
|
424
424
|
batchSize?: number | undefined;
|
|
425
425
|
maxRetries?: number | undefined;
|
|
426
426
|
condition?: {
|
|
427
|
-
status?: string | string[] | undefined;
|
|
428
427
|
productId?: string | string[] | undefined;
|
|
428
|
+
status?: string | string[] | undefined;
|
|
429
429
|
dedicatedUser?: string | string[] | undefined;
|
|
430
430
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
431
431
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -434,21 +434,21 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
434
434
|
createdBefore?: string | undefined;
|
|
435
435
|
createdAfter?: string | undefined;
|
|
436
436
|
} | undefined;
|
|
437
|
-
};
|
|
438
|
-
}, {
|
|
439
|
-
body: {
|
|
440
437
|
update?: {
|
|
441
438
|
status?: string | undefined;
|
|
442
|
-
devicePaymentPlanId?: string | null | undefined;
|
|
443
439
|
dedicatedUser?: string | undefined;
|
|
444
440
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
441
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
445
442
|
activatedAt?: string | null | undefined;
|
|
446
443
|
} | undefined;
|
|
444
|
+
};
|
|
445
|
+
}, {
|
|
446
|
+
body: {
|
|
447
447
|
batchSize?: number | undefined;
|
|
448
448
|
maxRetries?: number | undefined;
|
|
449
449
|
condition?: {
|
|
450
|
-
status?: string | string[] | undefined;
|
|
451
450
|
productId?: string | string[] | undefined;
|
|
451
|
+
status?: string | string[] | undefined;
|
|
452
452
|
dedicatedUser?: string | string[] | undefined;
|
|
453
453
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
454
454
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -457,5 +457,12 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
457
457
|
createdBefore?: string | undefined;
|
|
458
458
|
createdAfter?: string | undefined;
|
|
459
459
|
} | undefined;
|
|
460
|
+
update?: {
|
|
461
|
+
status?: string | undefined;
|
|
462
|
+
dedicatedUser?: string | undefined;
|
|
463
|
+
isPermanentlyUnlocked?: boolean | undefined;
|
|
464
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
465
|
+
activatedAt?: string | null | undefined;
|
|
466
|
+
} | undefined;
|
|
460
467
|
};
|
|
461
468
|
}>;
|
|
@@ -24,6 +24,7 @@ exports.createDevicePairsSchema = zod_1.z.object({
|
|
|
24
24
|
.array(zod_1.z.string().regex(exports.PAIR_ID_REGEX, PAIR_ID_ERROR))
|
|
25
25
|
.min(1, "At least one pair ID required")
|
|
26
26
|
.max(100, "Cannot create more than 100 pairs at once"),
|
|
27
|
+
serialPrefix: zod_1.z.enum(["VBRD", "VIBERIDE"]).default("VIBERIDE"),
|
|
27
28
|
})
|
|
28
29
|
.transform((data) => {
|
|
29
30
|
// ✅ Remove duplicates and keep unique pair IDs
|
|
@@ -26,7 +26,7 @@ exports.payInstallmentSchema = zod_1.z.object({
|
|
|
26
26
|
body: zod_1.z.object({
|
|
27
27
|
amount: zod_1.z.number().min(0.01, "Amount must be greater than 0"),
|
|
28
28
|
provider: zod_1.z.enum([...vr_models_1.PAYMENT_PROVIDER]).default("MOMO_PAY"),
|
|
29
|
-
providerReference: zod_1.z.string(),
|
|
29
|
+
providerReference: zod_1.z.string().trim().min(1).max(255),
|
|
30
30
|
customerPhone: zod_1.z
|
|
31
31
|
.string()
|
|
32
32
|
.regex(phoneRegex, "Invalid MTN Rwanda phone number"),
|
|
@@ -16,8 +16,8 @@ export declare const createPricingSchema: z.ZodObject<{
|
|
|
16
16
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
type: "HIRE_PURCHASE" | "FULL_PAYMENT";
|
|
19
|
-
name: string;
|
|
20
19
|
productId: string;
|
|
20
|
+
name: string;
|
|
21
21
|
unitPrice: number;
|
|
22
22
|
isActive?: boolean | undefined;
|
|
23
23
|
downPayment?: number | undefined;
|
|
@@ -30,8 +30,8 @@ export declare const createPricingSchema: z.ZodObject<{
|
|
|
30
30
|
maxOrderQuantity?: number | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
type: "HIRE_PURCHASE" | "FULL_PAYMENT";
|
|
33
|
-
name: string;
|
|
34
33
|
productId: string;
|
|
34
|
+
name: string;
|
|
35
35
|
unitPrice: number;
|
|
36
36
|
isActive?: boolean | undefined;
|
|
37
37
|
downPayment?: number | undefined;
|
|
@@ -44,8 +44,8 @@ export declare const createPricingSchema: z.ZodObject<{
|
|
|
44
44
|
maxOrderQuantity?: number | undefined;
|
|
45
45
|
}>, {
|
|
46
46
|
type: "HIRE_PURCHASE" | "FULL_PAYMENT";
|
|
47
|
-
name: string;
|
|
48
47
|
productId: string;
|
|
48
|
+
name: string;
|
|
49
49
|
unitPrice: number;
|
|
50
50
|
isActive?: boolean | undefined;
|
|
51
51
|
downPayment?: number | undefined;
|
|
@@ -58,8 +58,8 @@ export declare const createPricingSchema: z.ZodObject<{
|
|
|
58
58
|
maxOrderQuantity?: number | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
type: "HIRE_PURCHASE" | "FULL_PAYMENT";
|
|
61
|
-
name: string;
|
|
62
61
|
productId: string;
|
|
62
|
+
name: string;
|
|
63
63
|
unitPrice: number;
|
|
64
64
|
isActive?: boolean | undefined;
|
|
65
65
|
downPayment?: number | undefined;
|
|
@@ -74,8 +74,8 @@ export declare const createPricingSchema: z.ZodObject<{
|
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
body: {
|
|
76
76
|
type: "HIRE_PURCHASE" | "FULL_PAYMENT";
|
|
77
|
-
name: string;
|
|
78
77
|
productId: string;
|
|
78
|
+
name: string;
|
|
79
79
|
unitPrice: number;
|
|
80
80
|
isActive?: boolean | undefined;
|
|
81
81
|
downPayment?: number | undefined;
|
|
@@ -90,8 +90,8 @@ export declare const createPricingSchema: z.ZodObject<{
|
|
|
90
90
|
}, {
|
|
91
91
|
body: {
|
|
92
92
|
type: "HIRE_PURCHASE" | "FULL_PAYMENT";
|
|
93
|
-
name: string;
|
|
94
93
|
productId: string;
|
|
94
|
+
name: string;
|
|
95
95
|
unitPrice: number;
|
|
96
96
|
isActive?: boolean | undefined;
|
|
97
97
|
downPayment?: number | undefined;
|
|
@@ -249,10 +249,10 @@ export declare const getPricingsSchema: z.ZodObject<{
|
|
|
249
249
|
type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
|
|
250
250
|
limit?: number | undefined;
|
|
251
251
|
isActive?: "true" | "false" | undefined;
|
|
252
|
+
productId?: string | undefined;
|
|
252
253
|
page?: number | undefined;
|
|
253
254
|
sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
|
|
254
255
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
255
|
-
productId?: string | undefined;
|
|
256
256
|
minAmount?: number | undefined;
|
|
257
257
|
maxAmount?: number | undefined;
|
|
258
258
|
}, {
|
|
@@ -260,10 +260,10 @@ export declare const getPricingsSchema: z.ZodObject<{
|
|
|
260
260
|
type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
|
|
261
261
|
limit?: string | undefined;
|
|
262
262
|
isActive?: "true" | "false" | undefined;
|
|
263
|
+
productId?: string | undefined;
|
|
263
264
|
page?: string | undefined;
|
|
264
265
|
sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
|
|
265
266
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
266
|
-
productId?: string | undefined;
|
|
267
267
|
minAmount?: string | undefined;
|
|
268
268
|
maxAmount?: string | undefined;
|
|
269
269
|
}>;
|
|
@@ -273,10 +273,10 @@ export declare const getPricingsSchema: z.ZodObject<{
|
|
|
273
273
|
type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
|
|
274
274
|
limit?: number | undefined;
|
|
275
275
|
isActive?: "true" | "false" | undefined;
|
|
276
|
+
productId?: string | undefined;
|
|
276
277
|
page?: number | undefined;
|
|
277
278
|
sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
|
|
278
279
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
279
|
-
productId?: string | undefined;
|
|
280
280
|
minAmount?: number | undefined;
|
|
281
281
|
maxAmount?: number | undefined;
|
|
282
282
|
};
|
|
@@ -286,10 +286,10 @@ export declare const getPricingsSchema: z.ZodObject<{
|
|
|
286
286
|
type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
|
|
287
287
|
limit?: string | undefined;
|
|
288
288
|
isActive?: "true" | "false" | undefined;
|
|
289
|
+
productId?: string | undefined;
|
|
289
290
|
page?: string | undefined;
|
|
290
291
|
sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
|
|
291
292
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
292
|
-
productId?: string | undefined;
|
|
293
293
|
minAmount?: string | undefined;
|
|
294
294
|
maxAmount?: string | undefined;
|
|
295
295
|
};
|