vr-commons 1.0.148 → 1.0.150

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.
@@ -49,19 +49,19 @@ export declare const getUserRestrictionsSchema: z.ZodObject<{
49
49
  includeResolved?: "true" | "false" | undefined;
50
50
  }>;
51
51
  }, "strip", z.ZodTypeAny, {
52
- query: {
53
- includeResolved?: "true" | "false" | undefined;
54
- };
55
52
  params: {
56
53
  userId: string;
57
54
  };
58
- }, {
59
55
  query: {
60
56
  includeResolved?: "true" | "false" | undefined;
61
57
  };
58
+ }, {
62
59
  params: {
63
60
  userId: string;
64
61
  };
62
+ query: {
63
+ includeResolved?: "true" | "false" | undefined;
64
+ };
65
65
  }>;
66
66
  export declare const getUserBansSchema: z.ZodObject<{
67
67
  params: z.ZodObject<{
@@ -79,19 +79,19 @@ export declare const getUserBansSchema: z.ZodObject<{
79
79
  includeResolved?: "true" | "false" | undefined;
80
80
  }>;
81
81
  }, "strip", z.ZodTypeAny, {
82
- query: {
83
- includeResolved?: "true" | "false" | undefined;
84
- };
85
82
  params: {
86
83
  userId: string;
87
84
  };
88
- }, {
89
85
  query: {
90
86
  includeResolved?: "true" | "false" | undefined;
91
87
  };
88
+ }, {
92
89
  params: {
93
90
  userId: string;
94
91
  };
92
+ query: {
93
+ includeResolved?: "true" | "false" | undefined;
94
+ };
95
95
  }>;
96
96
  export declare const getUserSuspensionsSchema: z.ZodObject<{
97
97
  params: z.ZodObject<{
@@ -112,21 +112,21 @@ export declare const getUserSuspensionsSchema: z.ZodObject<{
112
112
  includeResolved?: "true" | "false" | undefined;
113
113
  }>;
114
114
  }, "strip", z.ZodTypeAny, {
115
+ params: {
116
+ userId: string;
117
+ };
115
118
  query: {
116
119
  status?: "active" | "expired" | "revoked" | undefined;
117
120
  includeResolved?: "true" | "false" | undefined;
118
121
  };
122
+ }, {
119
123
  params: {
120
124
  userId: string;
121
125
  };
122
- }, {
123
126
  query: {
124
127
  status?: "active" | "expired" | "revoked" | undefined;
125
128
  includeResolved?: "true" | "false" | undefined;
126
129
  };
127
- params: {
128
- userId: string;
129
- };
130
130
  }>;
131
131
  export declare const submitBanAppealSchema: z.ZodObject<{
132
132
  params: z.ZodObject<{
@@ -144,19 +144,19 @@ export declare const submitBanAppealSchema: z.ZodObject<{
144
144
  appealReason: string;
145
145
  }>;
146
146
  }, "strip", z.ZodTypeAny, {
147
- body: {
148
- appealReason: string;
149
- };
150
147
  params: {
151
148
  banId: string;
152
149
  };
153
- }, {
154
150
  body: {
155
151
  appealReason: string;
156
152
  };
153
+ }, {
157
154
  params: {
158
155
  banId: string;
159
156
  };
157
+ body: {
158
+ appealReason: string;
159
+ };
160
160
  }>;
161
161
  export declare const submitSuspensionAppealSchema: z.ZodObject<{
162
162
  params: z.ZodObject<{
@@ -174,19 +174,19 @@ export declare const submitSuspensionAppealSchema: z.ZodObject<{
174
174
  appealReason: string;
175
175
  }>;
176
176
  }, "strip", z.ZodTypeAny, {
177
- body: {
178
- appealReason: string;
179
- };
180
177
  params: {
181
178
  suspensionId: string;
182
179
  };
183
- }, {
184
180
  body: {
185
181
  appealReason: string;
186
182
  };
183
+ }, {
187
184
  params: {
188
185
  suspensionId: string;
189
186
  };
187
+ body: {
188
+ appealReason: string;
189
+ };
190
190
  }>;
191
191
  export declare const createBanSchema: z.ZodObject<{
192
192
  params: z.ZodObject<{
@@ -207,21 +207,21 @@ export declare const createBanSchema: z.ZodObject<{
207
207
  isPermanent?: boolean | undefined;
208
208
  }>;
209
209
  }, "strip", z.ZodTypeAny, {
210
+ params: {
211
+ userId: string;
212
+ };
210
213
  body: {
211
214
  reason: string;
212
215
  isPermanent: boolean;
213
216
  };
217
+ }, {
214
218
  params: {
215
219
  userId: string;
216
220
  };
217
- }, {
218
221
  body: {
219
222
  reason: string;
220
223
  isPermanent?: boolean | undefined;
221
224
  };
222
- params: {
223
- userId: string;
224
- };
225
225
  }>;
226
226
  export declare const createSuspensionSchema: z.ZodObject<{
227
227
  params: z.ZodObject<{
@@ -242,21 +242,21 @@ export declare const createSuspensionSchema: z.ZodObject<{
242
242
  endsAt: string;
243
243
  }>;
244
244
  }, "strip", z.ZodTypeAny, {
245
+ params: {
246
+ userId: string;
247
+ };
245
248
  body: {
246
249
  reason: string;
247
250
  endsAt: string;
248
251
  };
252
+ }, {
249
253
  params: {
250
254
  userId: string;
251
255
  };
252
- }, {
253
256
  body: {
254
257
  reason: string;
255
258
  endsAt: string;
256
259
  };
257
- params: {
258
- userId: string;
259
- };
260
260
  }>;
261
261
  export declare const listBansSchema: z.ZodObject<{
262
262
  query: z.ZodEffects<z.ZodObject<{
@@ -273,81 +273,81 @@ export declare const listBansSchema: z.ZodObject<{
273
273
  sortBy: z.ZodOptional<z.ZodEnum<["bannedAt", "createdAt", "reason"]>>;
274
274
  sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
275
275
  }, "strip", z.ZodTypeAny, {
276
- limit: number;
277
276
  page: number;
278
- search?: string | undefined;
277
+ limit: number;
279
278
  status?: "active" | "revoked" | undefined;
279
+ search?: string | undefined;
280
+ sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
281
+ sortOrder?: "ASC" | "DESC" | undefined;
280
282
  userId?: string | undefined;
281
283
  isPermanent?: "true" | "false" | undefined;
282
284
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
283
- sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
284
285
  fromDate?: string | undefined;
285
286
  toDate?: string | undefined;
286
- sortOrder?: "DESC" | "ASC" | undefined;
287
287
  }, {
288
+ status?: "active" | "revoked" | undefined;
289
+ page?: string | undefined;
288
290
  limit?: string | undefined;
289
291
  search?: string | undefined;
290
- status?: "active" | "revoked" | undefined;
292
+ sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
293
+ sortOrder?: "ASC" | "DESC" | undefined;
291
294
  userId?: string | undefined;
292
295
  isPermanent?: "true" | "false" | undefined;
293
296
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
294
- page?: string | undefined;
295
- sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
296
297
  fromDate?: string | undefined;
297
298
  toDate?: string | undefined;
298
- sortOrder?: "DESC" | "ASC" | undefined;
299
299
  }>, {
300
- limit: number;
301
300
  page: number;
302
- search?: string | undefined;
301
+ limit: number;
303
302
  status?: "active" | "revoked" | undefined;
303
+ search?: string | undefined;
304
+ sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
305
+ sortOrder?: "ASC" | "DESC" | undefined;
304
306
  userId?: string | undefined;
305
307
  isPermanent?: "true" | "false" | undefined;
306
308
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
307
- sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
308
309
  fromDate?: string | undefined;
309
310
  toDate?: string | undefined;
310
- sortOrder?: "DESC" | "ASC" | undefined;
311
311
  }, {
312
+ status?: "active" | "revoked" | undefined;
313
+ page?: string | undefined;
312
314
  limit?: string | undefined;
313
315
  search?: string | undefined;
314
- status?: "active" | "revoked" | undefined;
316
+ sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
317
+ sortOrder?: "ASC" | "DESC" | undefined;
315
318
  userId?: string | undefined;
316
319
  isPermanent?: "true" | "false" | undefined;
317
320
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
318
- page?: string | undefined;
319
- sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
320
321
  fromDate?: string | undefined;
321
322
  toDate?: string | undefined;
322
- sortOrder?: "DESC" | "ASC" | undefined;
323
323
  }>;
324
324
  }, "strip", z.ZodTypeAny, {
325
325
  query: {
326
- limit: number;
327
326
  page: number;
328
- search?: string | undefined;
327
+ limit: number;
329
328
  status?: "active" | "revoked" | undefined;
329
+ search?: string | undefined;
330
+ sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
331
+ sortOrder?: "ASC" | "DESC" | undefined;
330
332
  userId?: string | undefined;
331
333
  isPermanent?: "true" | "false" | undefined;
332
334
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
333
- sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
334
335
  fromDate?: string | undefined;
335
336
  toDate?: string | undefined;
336
- sortOrder?: "DESC" | "ASC" | undefined;
337
337
  };
338
338
  }, {
339
339
  query: {
340
+ status?: "active" | "revoked" | undefined;
341
+ page?: string | undefined;
340
342
  limit?: string | undefined;
341
343
  search?: string | undefined;
342
- status?: "active" | "revoked" | undefined;
344
+ sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
345
+ sortOrder?: "ASC" | "DESC" | undefined;
343
346
  userId?: string | undefined;
344
347
  isPermanent?: "true" | "false" | undefined;
345
348
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
346
- page?: string | undefined;
347
- sortBy?: "createdAt" | "reason" | "bannedAt" | undefined;
348
349
  fromDate?: string | undefined;
349
350
  toDate?: string | undefined;
350
- sortOrder?: "DESC" | "ASC" | undefined;
351
351
  };
352
352
  }>;
353
353
  export declare const listSuspensionsSchema: z.ZodObject<{
@@ -364,75 +364,75 @@ export declare const listSuspensionsSchema: z.ZodObject<{
364
364
  sortBy: z.ZodOptional<z.ZodEnum<["startedAt", "endsAt", "createdAt", "reason"]>>;
365
365
  sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
366
366
  }, "strip", z.ZodTypeAny, {
367
- limit: number;
368
367
  page: number;
369
- search?: string | undefined;
368
+ limit: number;
370
369
  status?: "active" | "expired" | "revoked" | undefined;
370
+ search?: string | undefined;
371
+ sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
372
+ sortOrder?: "ASC" | "DESC" | undefined;
371
373
  userId?: string | undefined;
372
374
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
373
- sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
374
375
  fromDate?: string | undefined;
375
376
  toDate?: string | undefined;
376
- sortOrder?: "DESC" | "ASC" | undefined;
377
377
  }, {
378
+ status?: "active" | "expired" | "revoked" | undefined;
379
+ page?: string | undefined;
378
380
  limit?: string | undefined;
379
381
  search?: string | undefined;
380
- status?: "active" | "expired" | "revoked" | undefined;
382
+ sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
383
+ sortOrder?: "ASC" | "DESC" | undefined;
381
384
  userId?: string | undefined;
382
385
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
383
- page?: string | undefined;
384
- sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
385
386
  fromDate?: string | undefined;
386
387
  toDate?: string | undefined;
387
- sortOrder?: "DESC" | "ASC" | undefined;
388
388
  }>, {
389
- limit: number;
390
389
  page: number;
391
- search?: string | undefined;
390
+ limit: number;
392
391
  status?: "active" | "expired" | "revoked" | undefined;
392
+ search?: string | undefined;
393
+ sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
394
+ sortOrder?: "ASC" | "DESC" | undefined;
393
395
  userId?: string | undefined;
394
396
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
395
- sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
396
397
  fromDate?: string | undefined;
397
398
  toDate?: string | undefined;
398
- sortOrder?: "DESC" | "ASC" | undefined;
399
399
  }, {
400
+ status?: "active" | "expired" | "revoked" | undefined;
401
+ page?: string | undefined;
400
402
  limit?: string | undefined;
401
403
  search?: string | undefined;
402
- status?: "active" | "expired" | "revoked" | undefined;
404
+ sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
405
+ sortOrder?: "ASC" | "DESC" | undefined;
403
406
  userId?: string | undefined;
404
407
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
405
- page?: string | undefined;
406
- sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
407
408
  fromDate?: string | undefined;
408
409
  toDate?: string | undefined;
409
- sortOrder?: "DESC" | "ASC" | undefined;
410
410
  }>;
411
411
  }, "strip", z.ZodTypeAny, {
412
412
  query: {
413
- limit: number;
414
413
  page: number;
415
- search?: string | undefined;
414
+ limit: number;
416
415
  status?: "active" | "expired" | "revoked" | undefined;
416
+ search?: string | undefined;
417
+ sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
418
+ sortOrder?: "ASC" | "DESC" | undefined;
417
419
  userId?: string | undefined;
418
420
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
419
- sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
420
421
  fromDate?: string | undefined;
421
422
  toDate?: string | undefined;
422
- sortOrder?: "DESC" | "ASC" | undefined;
423
423
  };
424
424
  }, {
425
425
  query: {
426
+ status?: "active" | "expired" | "revoked" | undefined;
427
+ page?: string | undefined;
426
428
  limit?: string | undefined;
427
429
  search?: string | undefined;
428
- status?: "active" | "expired" | "revoked" | undefined;
430
+ sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
431
+ sortOrder?: "ASC" | "DESC" | undefined;
429
432
  userId?: string | undefined;
430
433
  appealStatus?: "pending" | "approved" | "rejected" | undefined;
431
- page?: string | undefined;
432
- sortBy?: "createdAt" | "reason" | "endsAt" | "startedAt" | undefined;
433
434
  fromDate?: string | undefined;
434
435
  toDate?: string | undefined;
435
- sortOrder?: "DESC" | "ASC" | undefined;
436
436
  };
437
437
  }>;
438
438
  export declare const listPendingAppealsSchema: z.ZodObject<{
@@ -444,43 +444,43 @@ export declare const listPendingAppealsSchema: z.ZodObject<{
444
444
  fromDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
445
445
  toDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
446
446
  }, "strip", z.ZodTypeAny, {
447
- limit: number;
448
447
  page: number;
448
+ limit: number;
449
449
  type?: "ban" | "suspension" | undefined;
450
450
  fromDate?: string | undefined;
451
451
  toDate?: string | undefined;
452
452
  }, {
453
- limit?: string | undefined;
454
453
  type?: "ban" | "suspension" | undefined;
455
454
  page?: string | undefined;
455
+ limit?: string | undefined;
456
456
  fromDate?: string | undefined;
457
457
  toDate?: string | undefined;
458
458
  }>, {
459
- limit: number;
460
459
  page: number;
460
+ limit: number;
461
461
  type?: "ban" | "suspension" | undefined;
462
462
  fromDate?: string | undefined;
463
463
  toDate?: string | undefined;
464
464
  }, {
465
- limit?: string | undefined;
466
465
  type?: "ban" | "suspension" | undefined;
467
466
  page?: string | undefined;
467
+ limit?: string | undefined;
468
468
  fromDate?: string | undefined;
469
469
  toDate?: string | undefined;
470
470
  }>;
471
471
  }, "strip", z.ZodTypeAny, {
472
472
  query: {
473
- limit: number;
474
473
  page: number;
474
+ limit: number;
475
475
  type?: "ban" | "suspension" | undefined;
476
476
  fromDate?: string | undefined;
477
477
  toDate?: string | undefined;
478
478
  };
479
479
  }, {
480
480
  query: {
481
- limit?: string | undefined;
482
481
  type?: "ban" | "suspension" | undefined;
483
482
  page?: string | undefined;
483
+ limit?: string | undefined;
484
484
  fromDate?: string | undefined;
485
485
  toDate?: string | undefined;
486
486
  };
@@ -501,19 +501,19 @@ export declare const revokeBanSchema: z.ZodObject<{
501
501
  revocationReason?: string | undefined;
502
502
  }>;
503
503
  }, "strip", z.ZodTypeAny, {
504
- body: {
505
- revocationReason?: string | undefined;
506
- };
507
504
  params: {
508
505
  banId: string;
509
506
  };
510
- }, {
511
507
  body: {
512
508
  revocationReason?: string | undefined;
513
509
  };
510
+ }, {
514
511
  params: {
515
512
  banId: string;
516
513
  };
514
+ body: {
515
+ revocationReason?: string | undefined;
516
+ };
517
517
  }>;
518
518
  export declare const revokeSuspensionSchema: z.ZodObject<{
519
519
  params: z.ZodObject<{
@@ -531,19 +531,19 @@ export declare const revokeSuspensionSchema: z.ZodObject<{
531
531
  revocationReason?: string | undefined;
532
532
  }>;
533
533
  }, "strip", z.ZodTypeAny, {
534
- body: {
535
- revocationReason?: string | undefined;
536
- };
537
534
  params: {
538
535
  suspensionId: string;
539
536
  };
540
- }, {
541
537
  body: {
542
538
  revocationReason?: string | undefined;
543
539
  };
540
+ }, {
544
541
  params: {
545
542
  suspensionId: string;
546
543
  };
544
+ body: {
545
+ revocationReason?: string | undefined;
546
+ };
547
547
  }>;
548
548
  export declare const extendSuspensionSchema: z.ZodObject<{
549
549
  params: z.ZodObject<{
@@ -570,21 +570,21 @@ export declare const extendSuspensionSchema: z.ZodObject<{
570
570
  extensionReason?: string | undefined;
571
571
  }>;
572
572
  }, "strip", z.ZodTypeAny, {
573
+ params: {
574
+ suspensionId: string;
575
+ };
573
576
  body: {
574
577
  newEndDate: string;
575
578
  extensionReason?: string | undefined;
576
579
  };
580
+ }, {
577
581
  params: {
578
582
  suspensionId: string;
579
583
  };
580
- }, {
581
584
  body: {
582
585
  newEndDate: string;
583
586
  extensionReason?: string | undefined;
584
587
  };
585
- params: {
586
- suspensionId: string;
587
- };
588
588
  }>;
589
589
  export declare const reviewAppealSchema: z.ZodObject<{
590
590
  params: z.ZodObject<{
@@ -608,23 +608,23 @@ export declare const reviewAppealSchema: z.ZodObject<{
608
608
  adminNotes?: string | undefined;
609
609
  }>;
610
610
  }, "strip", z.ZodTypeAny, {
611
- body: {
612
- appealStatus: "approved" | "rejected";
613
- adminNotes?: string | undefined;
614
- };
615
611
  params: {
616
612
  banId?: string | undefined;
617
613
  suspensionId?: string | undefined;
618
614
  };
619
- }, {
620
615
  body: {
621
616
  appealStatus: "approved" | "rejected";
622
617
  adminNotes?: string | undefined;
623
618
  };
619
+ }, {
624
620
  params: {
625
621
  banId?: string | undefined;
626
622
  suspensionId?: string | undefined;
627
623
  };
624
+ body: {
625
+ appealStatus: "approved" | "rejected";
626
+ adminNotes?: string | undefined;
627
+ };
628
628
  }>;
629
629
  export declare const exportBansSchema: z.ZodObject<{
630
630
  query: z.ZodEffects<z.ZodObject<{
@@ -15,9 +15,9 @@ export declare const createPricingSchema: z.ZodObject<{
15
15
  maxOrderQuantity: z.ZodOptional<z.ZodNumber>;
16
16
  isActive: z.ZodOptional<z.ZodBoolean>;
17
17
  }, "strip", z.ZodTypeAny, {
18
+ productId: string;
18
19
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
19
20
  name: string;
20
- productId: string;
21
21
  unitPrice: number;
22
22
  isActive?: boolean | undefined;
23
23
  downPayment?: number | undefined;
@@ -29,9 +29,9 @@ export declare const createPricingSchema: z.ZodObject<{
29
29
  minOrderQuantity?: number | undefined;
30
30
  maxOrderQuantity?: number | undefined;
31
31
  }, {
32
+ productId: string;
32
33
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
33
34
  name: string;
34
- productId: string;
35
35
  unitPrice: number;
36
36
  isActive?: boolean | undefined;
37
37
  downPayment?: number | undefined;
@@ -43,9 +43,9 @@ export declare const createPricingSchema: z.ZodObject<{
43
43
  minOrderQuantity?: number | undefined;
44
44
  maxOrderQuantity?: number | undefined;
45
45
  }>, {
46
+ productId: string;
46
47
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
47
48
  name: string;
48
- productId: string;
49
49
  unitPrice: number;
50
50
  isActive?: boolean | undefined;
51
51
  downPayment?: number | undefined;
@@ -57,9 +57,9 @@ export declare const createPricingSchema: z.ZodObject<{
57
57
  minOrderQuantity?: number | undefined;
58
58
  maxOrderQuantity?: number | undefined;
59
59
  }, {
60
+ productId: string;
60
61
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
61
62
  name: string;
62
- productId: string;
63
63
  unitPrice: number;
64
64
  isActive?: boolean | undefined;
65
65
  downPayment?: number | undefined;
@@ -73,9 +73,9 @@ export declare const createPricingSchema: z.ZodObject<{
73
73
  }>;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  body: {
76
+ productId: string;
76
77
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
77
78
  name: string;
78
- productId: string;
79
79
  unitPrice: number;
80
80
  isActive?: boolean | undefined;
81
81
  downPayment?: number | undefined;
@@ -89,9 +89,9 @@ export declare const createPricingSchema: z.ZodObject<{
89
89
  };
90
90
  }, {
91
91
  body: {
92
+ productId: string;
92
93
  type: "HIRE_PURCHASE" | "FULL_PAYMENT";
93
94
  name: string;
94
- productId: string;
95
95
  unitPrice: number;
96
96
  isActive?: boolean | undefined;
97
97
  downPayment?: number | undefined;
@@ -179,6 +179,9 @@ export declare const updatePricingSchema: z.ZodObject<{
179
179
  maxOrderQuantity?: number | undefined;
180
180
  }>;
181
181
  }, "strip", z.ZodTypeAny, {
182
+ params: {
183
+ id: string;
184
+ };
182
185
  body: {
183
186
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
184
187
  name?: string | undefined;
@@ -193,10 +196,10 @@ export declare const updatePricingSchema: z.ZodObject<{
193
196
  minOrderQuantity?: number | undefined;
194
197
  maxOrderQuantity?: number | undefined;
195
198
  };
199
+ }, {
196
200
  params: {
197
201
  id: string;
198
202
  };
199
- }, {
200
203
  body: {
201
204
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
202
205
  name?: string | undefined;
@@ -211,9 +214,6 @@ export declare const updatePricingSchema: z.ZodObject<{
211
214
  minOrderQuantity?: number | undefined;
212
215
  maxOrderQuantity?: number | undefined;
213
216
  };
214
- params: {
215
- id: string;
216
- };
217
217
  }>;
218
218
  export declare const getPricingSchema: z.ZodObject<{
219
219
  params: z.ZodObject<{
@@ -245,51 +245,51 @@ export declare const getPricingsSchema: z.ZodObject<{
245
245
  sortBy: z.ZodOptional<z.ZodEnum<["name", "unitPrice", "createdAt", "updatedAt"]>>;
246
246
  sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
247
247
  }, "strip", z.ZodTypeAny, {
248
- limit?: number | undefined;
248
+ productId?: string | undefined;
249
249
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
250
+ page?: number | undefined;
251
+ limit?: number | undefined;
250
252
  search?: string | undefined;
253
+ sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
254
+ sortOrder?: "ASC" | "DESC" | undefined;
251
255
  isActive?: "true" | "false" | undefined;
252
- productId?: string | undefined;
253
- page?: number | undefined;
254
- sortBy?: "name" | "createdAt" | "updatedAt" | "unitPrice" | undefined;
255
- sortOrder?: "DESC" | "ASC" | undefined;
256
256
  minAmount?: number | undefined;
257
257
  maxAmount?: number | undefined;
258
258
  }, {
259
- limit?: string | undefined;
259
+ productId?: string | undefined;
260
260
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
261
+ page?: string | undefined;
262
+ limit?: string | undefined;
261
263
  search?: string | undefined;
264
+ sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
265
+ sortOrder?: "ASC" | "DESC" | undefined;
262
266
  isActive?: "true" | "false" | undefined;
263
- productId?: string | undefined;
264
- page?: string | undefined;
265
- sortBy?: "name" | "createdAt" | "updatedAt" | "unitPrice" | undefined;
266
- sortOrder?: "DESC" | "ASC" | undefined;
267
267
  minAmount?: string | undefined;
268
268
  maxAmount?: string | undefined;
269
269
  }>;
270
270
  }, "strip", z.ZodTypeAny, {
271
271
  query: {
272
- limit?: number | undefined;
272
+ productId?: string | undefined;
273
273
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
274
+ page?: number | undefined;
275
+ limit?: number | undefined;
274
276
  search?: string | undefined;
277
+ sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
278
+ sortOrder?: "ASC" | "DESC" | undefined;
275
279
  isActive?: "true" | "false" | undefined;
276
- productId?: string | undefined;
277
- page?: number | undefined;
278
- sortBy?: "name" | "createdAt" | "updatedAt" | "unitPrice" | undefined;
279
- sortOrder?: "DESC" | "ASC" | undefined;
280
280
  minAmount?: number | undefined;
281
281
  maxAmount?: number | undefined;
282
282
  };
283
283
  }, {
284
284
  query: {
285
- limit?: string | undefined;
285
+ productId?: string | undefined;
286
286
  type?: "HIRE_PURCHASE" | "FULL_PAYMENT" | undefined;
287
+ page?: string | undefined;
288
+ limit?: string | undefined;
287
289
  search?: string | undefined;
290
+ sortBy?: "createdAt" | "updatedAt" | "name" | "unitPrice" | undefined;
291
+ sortOrder?: "ASC" | "DESC" | undefined;
288
292
  isActive?: "true" | "false" | undefined;
289
- productId?: string | undefined;
290
- page?: string | undefined;
291
- sortBy?: "name" | "createdAt" | "updatedAt" | "unitPrice" | undefined;
292
- sortOrder?: "DESC" | "ASC" | undefined;
293
293
  minAmount?: string | undefined;
294
294
  maxAmount?: string | undefined;
295
295
  };