vr-commons 1.0.133 → 1.0.134

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.
@@ -280,21 +280,21 @@ export declare const loginSchema: z.ZodObject<{
280
280
  contactValue: z.ZodEffects<z.ZodString, string, string>;
281
281
  password: z.ZodString;
282
282
  }, "strip", z.ZodTypeAny, {
283
- contactValue: string;
284
283
  password: string;
285
- }, {
286
284
  contactValue: string;
285
+ }, {
287
286
  password: string;
287
+ contactValue: string;
288
288
  }>;
289
289
  }, "strip", z.ZodTypeAny, {
290
290
  body: {
291
- contactValue: string;
292
291
  password: string;
292
+ contactValue: string;
293
293
  };
294
294
  }, {
295
295
  body: {
296
- contactValue: string;
297
296
  password: string;
297
+ contactValue: string;
298
298
  };
299
299
  }>;
300
300
  export declare const forgotPasswordSchema: z.ZodObject<{
@@ -367,9 +367,9 @@ export declare const registerRiderSchema: z.ZodObject<{
367
367
  birthMonth: number;
368
368
  birthYear: number;
369
369
  phoneNumber: string;
370
- plateNumber?: string | null | undefined;
371
- password?: string | undefined;
372
370
  jacketId?: string | null | undefined;
371
+ password?: string | undefined;
372
+ plateNumber?: string | null | undefined;
373
373
  }, {
374
374
  firstName: string;
375
375
  lastName: string;
@@ -378,9 +378,9 @@ export declare const registerRiderSchema: z.ZodObject<{
378
378
  birthMonth: number;
379
379
  birthYear: number;
380
380
  phoneNumber: string;
381
- plateNumber?: string | null | undefined;
382
- password?: string | undefined;
383
381
  jacketId?: string | null | undefined;
382
+ password?: string | undefined;
383
+ plateNumber?: string | null | undefined;
384
384
  }>, {
385
385
  firstName: string;
386
386
  lastName: string;
@@ -389,9 +389,9 @@ export declare const registerRiderSchema: z.ZodObject<{
389
389
  birthMonth: number;
390
390
  birthYear: number;
391
391
  phoneNumber: string;
392
- plateNumber?: string | null | undefined;
393
- password?: string | undefined;
394
392
  jacketId?: string | null | undefined;
393
+ password?: string | undefined;
394
+ plateNumber?: string | null | undefined;
395
395
  }, {
396
396
  firstName: string;
397
397
  lastName: string;
@@ -400,9 +400,9 @@ export declare const registerRiderSchema: z.ZodObject<{
400
400
  birthMonth: number;
401
401
  birthYear: number;
402
402
  phoneNumber: string;
403
- plateNumber?: string | null | undefined;
404
- password?: string | undefined;
405
403
  jacketId?: string | null | undefined;
404
+ password?: string | undefined;
405
+ plateNumber?: string | null | undefined;
406
406
  }>;
407
407
  }, "strip", z.ZodTypeAny, {
408
408
  body: {
@@ -413,9 +413,9 @@ export declare const registerRiderSchema: z.ZodObject<{
413
413
  birthMonth: number;
414
414
  birthYear: number;
415
415
  phoneNumber: string;
416
- plateNumber?: string | null | undefined;
417
- password?: string | undefined;
418
416
  jacketId?: string | null | undefined;
417
+ password?: string | undefined;
418
+ plateNumber?: string | null | undefined;
419
419
  };
420
420
  }, {
421
421
  body: {
@@ -426,9 +426,9 @@ export declare const registerRiderSchema: z.ZodObject<{
426
426
  birthMonth: number;
427
427
  birthYear: number;
428
428
  phoneNumber: string;
429
- plateNumber?: string | null | undefined;
430
- password?: string | undefined;
431
429
  jacketId?: string | null | undefined;
430
+ password?: string | undefined;
431
+ plateNumber?: string | null | undefined;
432
432
  };
433
433
  }>;
434
434
  export type UpdateProfileSchema = z.infer<typeof updateProfileSchema>;
@@ -7,28 +7,28 @@ export declare const createPlanSchema: z.ZodObject<{
7
7
  productId: z.ZodString;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  userId: string;
10
- productId: string;
11
10
  deviceIds: string[];
12
11
  pricingId: string;
12
+ productId: string;
13
13
  }, {
14
14
  userId: string;
15
- productId: string;
16
15
  deviceIds: string[];
17
16
  pricingId: string;
17
+ productId: string;
18
18
  }>;
19
19
  }, "strip", z.ZodTypeAny, {
20
20
  body: {
21
21
  userId: string;
22
- productId: string;
23
22
  deviceIds: string[];
24
23
  pricingId: string;
24
+ productId: string;
25
25
  };
26
26
  }, {
27
27
  body: {
28
28
  userId: string;
29
- productId: string;
30
29
  deviceIds: string[];
31
30
  pricingId: string;
31
+ productId: string;
32
32
  };
33
33
  }>;
34
34
  export declare const listPlansSchema: z.ZodObject<{
@@ -43,49 +43,49 @@ export declare const listPlansSchema: z.ZodObject<{
43
43
  sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "nextInstallmentDueAt", "paidAmount", "outstandingAmount"]>>;
44
44
  sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
45
45
  }, "strip", z.ZodTypeAny, {
46
- limit: number;
47
46
  page: number;
48
- search?: string | undefined;
47
+ limit: number;
48
+ status?: "ACTIVE" | "COMPLETED" | "DEFAULTED" | "CANCELLED" | undefined;
49
49
  userId?: string | undefined;
50
- status?: "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
51
- isOverdue?: "true" | "false" | undefined;
52
- sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
53
- sortOrder?: "DESC" | "ASC" | undefined;
54
50
  deviceId?: string | undefined;
55
- }, {
51
+ isOverdue?: "true" | "false" | undefined;
56
52
  search?: string | undefined;
57
- limit?: string | undefined;
53
+ sortBy?: "createdAt" | "updatedAt" | "nextInstallmentDueAt" | "paidAmount" | "outstandingAmount" | undefined;
54
+ sortOrder?: "ASC" | "DESC" | undefined;
55
+ }, {
56
+ status?: "ACTIVE" | "COMPLETED" | "DEFAULTED" | "CANCELLED" | undefined;
58
57
  userId?: string | undefined;
59
- status?: "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
60
- isOverdue?: "true" | "false" | undefined;
61
58
  page?: string | undefined;
62
- sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
63
- sortOrder?: "DESC" | "ASC" | undefined;
59
+ limit?: string | undefined;
64
60
  deviceId?: string | undefined;
61
+ isOverdue?: "true" | "false" | undefined;
62
+ search?: string | undefined;
63
+ sortBy?: "createdAt" | "updatedAt" | "nextInstallmentDueAt" | "paidAmount" | "outstandingAmount" | undefined;
64
+ sortOrder?: "ASC" | "DESC" | undefined;
65
65
  }>;
66
66
  }, "strip", z.ZodTypeAny, {
67
67
  query: {
68
- limit: number;
69
68
  page: number;
70
- search?: string | undefined;
69
+ limit: number;
70
+ status?: "ACTIVE" | "COMPLETED" | "DEFAULTED" | "CANCELLED" | undefined;
71
71
  userId?: string | undefined;
72
- status?: "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
73
- isOverdue?: "true" | "false" | undefined;
74
- sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
75
- sortOrder?: "DESC" | "ASC" | undefined;
76
72
  deviceId?: string | undefined;
73
+ isOverdue?: "true" | "false" | undefined;
74
+ search?: string | undefined;
75
+ sortBy?: "createdAt" | "updatedAt" | "nextInstallmentDueAt" | "paidAmount" | "outstandingAmount" | undefined;
76
+ sortOrder?: "ASC" | "DESC" | undefined;
77
77
  };
78
78
  }, {
79
79
  query: {
80
- search?: string | undefined;
81
- limit?: string | undefined;
80
+ status?: "ACTIVE" | "COMPLETED" | "DEFAULTED" | "CANCELLED" | undefined;
82
81
  userId?: string | undefined;
83
- status?: "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
84
- isOverdue?: "true" | "false" | undefined;
85
82
  page?: string | undefined;
86
- sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
87
- sortOrder?: "DESC" | "ASC" | undefined;
83
+ limit?: string | undefined;
88
84
  deviceId?: string | undefined;
85
+ isOverdue?: "true" | "false" | undefined;
86
+ search?: string | undefined;
87
+ sortBy?: "createdAt" | "updatedAt" | "nextInstallmentDueAt" | "paidAmount" | "outstandingAmount" | undefined;
88
+ sortOrder?: "ASC" | "DESC" | undefined;
89
89
  };
90
90
  }>;
91
91
  export declare const getPlanSchema: z.ZodObject<{
@@ -117,10 +117,10 @@ export declare const getUserPlansSchema: z.ZodObject<{
117
117
  status: z.ZodOptional<z.ZodEnum<["ACTIVE", "COMPLETED", "DEFAULTED", "CANCELLED"]>>;
118
118
  includeCompleted: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
119
119
  }, "strip", z.ZodTypeAny, {
120
- status?: "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
120
+ status?: "ACTIVE" | "COMPLETED" | "DEFAULTED" | "CANCELLED" | undefined;
121
121
  includeCompleted?: "true" | "false" | undefined;
122
122
  }, {
123
- status?: "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
123
+ status?: "ACTIVE" | "COMPLETED" | "DEFAULTED" | "CANCELLED" | undefined;
124
124
  includeCompleted?: "true" | "false" | undefined;
125
125
  }>>;
126
126
  }, "strip", z.ZodTypeAny, {
@@ -128,7 +128,7 @@ export declare const getUserPlansSchema: z.ZodObject<{
128
128
  userId: string;
129
129
  };
130
130
  query?: {
131
- status?: "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
131
+ status?: "ACTIVE" | "COMPLETED" | "DEFAULTED" | "CANCELLED" | undefined;
132
132
  includeCompleted?: "true" | "false" | undefined;
133
133
  } | undefined;
134
134
  }, {
@@ -136,7 +136,7 @@ export declare const getUserPlansSchema: z.ZodObject<{
136
136
  userId: string;
137
137
  };
138
138
  query?: {
139
- status?: "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
139
+ status?: "ACTIVE" | "COMPLETED" | "DEFAULTED" | "CANCELLED" | undefined;
140
140
  includeCompleted?: "true" | "false" | undefined;
141
141
  } | undefined;
142
142
  }>;
@@ -172,44 +172,44 @@ export declare const limitedUpdateSchema: z.ZodObject<{
172
172
  userId: z.ZodOptional<z.ZodString>;
173
173
  }, "strip", z.ZodTypeAny, {
174
174
  userId?: string | undefined;
175
- productId?: string | undefined;
176
175
  deviceIds?: string[] | undefined;
177
176
  pricingId?: string | undefined;
177
+ productId?: string | undefined;
178
178
  }, {
179
179
  userId?: string | undefined;
180
- productId?: string | undefined;
181
180
  deviceIds?: string[] | undefined;
182
181
  pricingId?: string | undefined;
182
+ productId?: string | undefined;
183
183
  }>, {
184
184
  userId?: string | undefined;
185
- productId?: string | undefined;
186
185
  deviceIds?: string[] | undefined;
187
186
  pricingId?: string | undefined;
187
+ productId?: string | undefined;
188
188
  }, {
189
189
  userId?: string | undefined;
190
- productId?: string | undefined;
191
190
  deviceIds?: string[] | undefined;
192
191
  pricingId?: string | undefined;
192
+ productId?: string | undefined;
193
193
  }>;
194
194
  }, "strip", z.ZodTypeAny, {
195
+ params: {
196
+ id: string;
197
+ };
195
198
  body: {
196
199
  userId?: string | undefined;
197
- productId?: string | undefined;
198
200
  deviceIds?: string[] | undefined;
199
201
  pricingId?: string | undefined;
202
+ productId?: string | undefined;
200
203
  };
204
+ }, {
201
205
  params: {
202
206
  id: string;
203
207
  };
204
- }, {
205
208
  body: {
206
209
  userId?: string | undefined;
207
- productId?: string | undefined;
208
210
  deviceIds?: string[] | undefined;
209
211
  pricingId?: string | undefined;
210
- };
211
- params: {
212
- id: string;
212
+ productId?: string | undefined;
213
213
  };
214
214
  }>;
215
215
  export declare const recordPaymentSchema: z.ZodObject<{
@@ -222,44 +222,54 @@ export declare const recordPaymentSchema: z.ZodObject<{
222
222
  }>;
223
223
  body: z.ZodObject<{
224
224
  amount: z.ZodNumber;
225
- provider: z.ZodEnum<["MTN_MOMO", "AIRTEL_MONEY", "DPO", "FLUTTERWAVE"]>;
225
+ provider: z.ZodDefault<z.ZodEnum<["MTN_MOMO", "AIRTEL_MONEY", "DPO", "FLUTTERWAVE", "CASH", "MOMO_PAY"]>>;
226
226
  providerReference: z.ZodOptional<z.ZodString>;
227
227
  customerPhone: z.ZodOptional<z.ZodString>;
228
+ customerName: z.ZodOptional<z.ZodString>;
229
+ notes: z.ZodOptional<z.ZodString>;
228
230
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
229
231
  }, "strip", z.ZodTypeAny, {
230
232
  amount: number;
231
- provider: "MTN_MOMO" | "AIRTEL_MONEY" | "DPO" | "FLUTTERWAVE";
232
- metadata?: Record<string, any> | undefined;
233
+ provider: "MTN_MOMO" | "AIRTEL_MONEY" | "CASH" | "MOMO_PAY" | "DPO" | "FLUTTERWAVE";
233
234
  providerReference?: string | undefined;
234
235
  customerPhone?: string | undefined;
236
+ customerName?: string | undefined;
237
+ notes?: string | undefined;
238
+ metadata?: Record<string, any> | undefined;
235
239
  }, {
236
240
  amount: number;
237
- provider: "MTN_MOMO" | "AIRTEL_MONEY" | "DPO" | "FLUTTERWAVE";
238
- metadata?: Record<string, any> | undefined;
241
+ provider?: "MTN_MOMO" | "AIRTEL_MONEY" | "CASH" | "MOMO_PAY" | "DPO" | "FLUTTERWAVE" | undefined;
239
242
  providerReference?: string | undefined;
240
243
  customerPhone?: string | undefined;
244
+ customerName?: string | undefined;
245
+ notes?: string | undefined;
246
+ metadata?: Record<string, any> | undefined;
241
247
  }>;
242
248
  }, "strip", z.ZodTypeAny, {
249
+ params: {
250
+ id: string;
251
+ };
243
252
  body: {
244
253
  amount: number;
245
- provider: "MTN_MOMO" | "AIRTEL_MONEY" | "DPO" | "FLUTTERWAVE";
246
- metadata?: Record<string, any> | undefined;
254
+ provider: "MTN_MOMO" | "AIRTEL_MONEY" | "CASH" | "MOMO_PAY" | "DPO" | "FLUTTERWAVE";
247
255
  providerReference?: string | undefined;
248
256
  customerPhone?: string | undefined;
257
+ customerName?: string | undefined;
258
+ notes?: string | undefined;
259
+ metadata?: Record<string, any> | undefined;
249
260
  };
261
+ }, {
250
262
  params: {
251
263
  id: string;
252
264
  };
253
- }, {
254
265
  body: {
255
266
  amount: number;
256
- provider: "MTN_MOMO" | "AIRTEL_MONEY" | "DPO" | "FLUTTERWAVE";
257
- metadata?: Record<string, any> | undefined;
267
+ provider?: "MTN_MOMO" | "AIRTEL_MONEY" | "CASH" | "MOMO_PAY" | "DPO" | "FLUTTERWAVE" | undefined;
258
268
  providerReference?: string | undefined;
259
269
  customerPhone?: string | undefined;
260
- };
261
- params: {
262
- id: string;
270
+ customerName?: string | undefined;
271
+ notes?: string | undefined;
272
+ metadata?: Record<string, any> | undefined;
263
273
  };
264
274
  }>;
265
275
  export declare const deletePlanSchema: z.ZodObject<{
@@ -80,21 +80,21 @@ exports.limitedUpdateSchema = zod_1.z.object({
80
80
  message: "At least one field to update is required",
81
81
  }),
82
82
  });
83
- // src/modules/device-payment-plans/validations/devicePaymentPlan.validations.ts
83
+ // src/modules/devicePaymentPlans/validations/devicePaymentPlans.validations.ts
84
84
  exports.recordPaymentSchema = zod_1.z.object({
85
85
  params: zod_1.z.object({
86
86
  id: zod_1.z.string().uuid("Invalid payment plan ID"),
87
87
  }),
88
88
  body: zod_1.z.object({
89
89
  amount: zod_1.z.number().min(0.01, "Amount must be greater than 0"),
90
- provider: zod_1.z.enum(vr_models_1.PAYMENT_PROVIDER, {
91
- errorMap: () => ({ message: "Invalid payment provider" }),
92
- }),
90
+ provider: zod_1.z.enum(vr_models_1.PAYMENT_PROVIDER).default("MOMO_PAY"),
93
91
  providerReference: zod_1.z.string().optional(),
94
92
  customerPhone: zod_1.z
95
93
  .string()
96
94
  .regex(/^\+?250[0-9]{9}$/, "Invalid MTN Rwanda phone number")
97
95
  .optional(),
96
+ customerName: zod_1.z.string().min(2).max(100).optional(),
97
+ notes: zod_1.z.string().optional(),
98
98
  metadata: zod_1.z.record(zod_1.z.any()).optional(),
99
99
  }),
100
100
  });
@@ -65,23 +65,23 @@ export declare const updateDeviceSchema: z.ZodObject<{
65
65
  dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | null | undefined;
66
66
  }>;
67
67
  }, "strip", z.ZodTypeAny, {
68
+ params: {
69
+ id: string;
70
+ };
68
71
  body: {
69
72
  status?: "locked" | "unlocked" | "disabled" | undefined;
70
73
  serialNumber?: string | undefined;
71
74
  dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | null | undefined;
72
75
  };
76
+ }, {
73
77
  params: {
74
78
  id: string;
75
79
  };
76
- }, {
77
80
  body: {
78
81
  status?: "locked" | "unlocked" | "disabled" | undefined;
79
82
  serialNumber?: string | undefined;
80
83
  dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | null | undefined;
81
84
  };
82
- params: {
83
- id: string;
84
- };
85
85
  }>;
86
86
  export declare const getDeviceSchema: z.ZodObject<{
87
87
  params: z.ZodObject<{
@@ -113,50 +113,50 @@ export declare const getDevicesSchema: z.ZodObject<{
113
113
  sortBy: z.ZodOptional<z.ZodEnum<["serialNumber", "status", "createdAt", "updatedAt"]>>;
114
114
  sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
115
115
  }, "strip", z.ZodTypeAny, {
116
- search?: string | undefined;
117
- limit?: number | undefined;
118
116
  status?: "locked" | "unlocked" | "disabled" | undefined;
119
- page?: number | undefined;
120
- sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
121
- sortOrder?: "DESC" | "ASC" | undefined;
122
117
  productId?: string | undefined;
118
+ page?: number | undefined;
119
+ limit?: number | undefined;
120
+ search?: string | undefined;
121
+ sortBy?: "status" | "createdAt" | "updatedAt" | "serialNumber" | undefined;
122
+ sortOrder?: "ASC" | "DESC" | undefined;
123
123
  dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
124
124
  isPermanentlyUnlocked?: "true" | "false" | undefined;
125
125
  isAssigned?: "true" | "false" | undefined;
126
126
  }, {
127
- search?: string | undefined;
128
- limit?: string | undefined;
129
127
  status?: "locked" | "unlocked" | "disabled" | undefined;
130
- page?: string | undefined;
131
- sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
132
- sortOrder?: "DESC" | "ASC" | undefined;
133
128
  productId?: string | undefined;
129
+ page?: string | undefined;
130
+ limit?: string | undefined;
131
+ search?: string | undefined;
132
+ sortBy?: "status" | "createdAt" | "updatedAt" | "serialNumber" | undefined;
133
+ sortOrder?: "ASC" | "DESC" | undefined;
134
134
  dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
135
135
  isPermanentlyUnlocked?: "true" | "false" | undefined;
136
136
  isAssigned?: "true" | "false" | undefined;
137
137
  }>;
138
138
  }, "strip", z.ZodTypeAny, {
139
139
  query: {
140
- search?: string | undefined;
141
- limit?: number | undefined;
142
140
  status?: "locked" | "unlocked" | "disabled" | undefined;
143
- page?: number | undefined;
144
- sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
145
- sortOrder?: "DESC" | "ASC" | undefined;
146
141
  productId?: string | undefined;
142
+ page?: number | undefined;
143
+ limit?: number | undefined;
144
+ search?: string | undefined;
145
+ sortBy?: "status" | "createdAt" | "updatedAt" | "serialNumber" | undefined;
146
+ sortOrder?: "ASC" | "DESC" | undefined;
147
147
  dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
148
148
  isPermanentlyUnlocked?: "true" | "false" | undefined;
149
149
  isAssigned?: "true" | "false" | undefined;
150
150
  };
151
151
  }, {
152
152
  query: {
153
- search?: string | undefined;
154
- limit?: string | undefined;
155
153
  status?: "locked" | "unlocked" | "disabled" | undefined;
156
- page?: string | undefined;
157
- sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
158
- sortOrder?: "DESC" | "ASC" | undefined;
159
154
  productId?: string | undefined;
155
+ page?: string | undefined;
156
+ limit?: string | undefined;
157
+ search?: string | undefined;
158
+ sortBy?: "status" | "createdAt" | "updatedAt" | "serialNumber" | undefined;
159
+ sortOrder?: "ASC" | "DESC" | undefined;
160
160
  dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
161
161
  isPermanentlyUnlocked?: "true" | "false" | undefined;
162
162
  isAssigned?: "true" | "false" | undefined;
@@ -242,19 +242,19 @@ export declare const disableDeviceSchema: z.ZodObject<{
242
242
  reason: string;
243
243
  }>;
244
244
  }, "strip", z.ZodTypeAny, {
245
- body: {
246
- reason: string;
247
- };
248
245
  params: {
249
246
  id: string;
250
247
  };
251
- }, {
252
248
  body: {
253
249
  reason: string;
254
250
  };
251
+ }, {
255
252
  params: {
256
253
  id: string;
257
254
  };
255
+ body: {
256
+ reason: string;
257
+ };
258
258
  }>;
259
259
  export declare const makePermanentSchema: z.ZodObject<{
260
260
  params: z.ZodObject<{
@@ -616,6 +616,9 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
616
616
  sentryDsn?: string | null | undefined;
617
617
  }>;
618
618
  }, "strip", z.ZodTypeAny, {
619
+ params: {
620
+ id: string;
621
+ };
619
622
  body: {
620
623
  appName?: string | undefined;
621
624
  appShortName?: string | null | undefined;
@@ -692,10 +695,10 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
692
695
  facebookPixelId?: string | null | undefined;
693
696
  sentryDsn?: string | null | undefined;
694
697
  };
698
+ }, {
695
699
  params: {
696
700
  id: string;
697
701
  };
698
- }, {
699
702
  body: {
700
703
  appName?: string | undefined;
701
704
  appShortName?: string | null | undefined;
@@ -772,9 +775,6 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
772
775
  facebookPixelId?: string | null | undefined;
773
776
  sentryDsn?: string | null | undefined;
774
777
  };
775
- params: {
776
- id: string;
777
- };
778
778
  }>;
779
779
  export declare const listAppSpecsSchema: z.ZodObject<{
780
780
  query: z.ZodObject<{
@@ -785,37 +785,37 @@ export declare const listAppSpecsSchema: z.ZodObject<{
785
785
  sortBy: z.ZodOptional<z.ZodEnum<["version", "createdAt", "updatedAt"]>>;
786
786
  sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
787
787
  }, "strip", z.ZodTypeAny, {
788
- limit: number;
789
788
  page: number;
789
+ limit: number;
790
790
  search?: string | undefined;
791
- isActive?: "true" | "false" | undefined;
792
791
  sortBy?: "createdAt" | "updatedAt" | "version" | undefined;
793
- sortOrder?: "DESC" | "ASC" | undefined;
794
- }, {
795
- search?: string | undefined;
796
- limit?: string | undefined;
792
+ sortOrder?: "ASC" | "DESC" | undefined;
797
793
  isActive?: "true" | "false" | undefined;
794
+ }, {
798
795
  page?: string | undefined;
796
+ limit?: string | undefined;
797
+ search?: string | undefined;
799
798
  sortBy?: "createdAt" | "updatedAt" | "version" | undefined;
800
- sortOrder?: "DESC" | "ASC" | undefined;
799
+ sortOrder?: "ASC" | "DESC" | undefined;
800
+ isActive?: "true" | "false" | undefined;
801
801
  }>;
802
802
  }, "strip", z.ZodTypeAny, {
803
803
  query: {
804
- limit: number;
805
804
  page: number;
805
+ limit: number;
806
806
  search?: string | undefined;
807
- isActive?: "true" | "false" | undefined;
808
807
  sortBy?: "createdAt" | "updatedAt" | "version" | undefined;
809
- sortOrder?: "DESC" | "ASC" | undefined;
808
+ sortOrder?: "ASC" | "DESC" | undefined;
809
+ isActive?: "true" | "false" | undefined;
810
810
  };
811
811
  }, {
812
812
  query: {
813
- search?: string | undefined;
814
- limit?: string | undefined;
815
- isActive?: "true" | "false" | undefined;
816
813
  page?: string | undefined;
814
+ limit?: string | undefined;
815
+ search?: string | undefined;
817
816
  sortBy?: "createdAt" | "updatedAt" | "version" | undefined;
818
- sortOrder?: "DESC" | "ASC" | undefined;
817
+ sortOrder?: "ASC" | "DESC" | undefined;
818
+ isActive?: "true" | "false" | undefined;
819
819
  };
820
820
  }>;
821
821
  export declare const getAppSpecsSchema: z.ZodObject<{
@@ -15,19 +15,19 @@ export declare const submitBanAppealSchema: z.ZodObject<{
15
15
  appealReason: string;
16
16
  }>;
17
17
  }, "strip", z.ZodTypeAny, {
18
- body: {
19
- appealReason: string;
20
- };
21
18
  params: {
22
19
  banId: string;
23
20
  };
24
- }, {
25
21
  body: {
26
22
  appealReason: string;
27
23
  };
24
+ }, {
28
25
  params: {
29
26
  banId: string;
30
27
  };
28
+ body: {
29
+ appealReason: string;
30
+ };
31
31
  }>;
32
32
  export declare const submitSuspensionAppealSchema: z.ZodObject<{
33
33
  params: z.ZodObject<{
@@ -45,17 +45,17 @@ export declare const submitSuspensionAppealSchema: z.ZodObject<{
45
45
  appealReason: string;
46
46
  }>;
47
47
  }, "strip", z.ZodTypeAny, {
48
- body: {
49
- appealReason: string;
50
- };
51
48
  params: {
52
49
  suspensionId: string;
53
50
  };
54
- }, {
55
51
  body: {
56
52
  appealReason: string;
57
53
  };
54
+ }, {
58
55
  params: {
59
56
  suspensionId: string;
60
57
  };
58
+ body: {
59
+ appealReason: string;
60
+ };
61
61
  }>;
@@ -32,19 +32,19 @@ export declare const getUserRestrictionsSchema: z.ZodObject<{
32
32
  includeResolved?: "true" | "false" | undefined;
33
33
  }>;
34
34
  }, "strip", z.ZodTypeAny, {
35
- query: {
36
- includeResolved?: "true" | "false" | undefined;
37
- };
38
35
  params: {
39
36
  userId: string;
40
37
  };
41
- }, {
42
38
  query: {
43
39
  includeResolved?: "true" | "false" | undefined;
44
40
  };
41
+ }, {
45
42
  params: {
46
43
  userId: string;
47
44
  };
45
+ query: {
46
+ includeResolved?: "true" | "false" | undefined;
47
+ };
48
48
  }>;
49
49
  export declare const createBanSchema: z.ZodObject<{
50
50
  params: z.ZodObject<{
@@ -65,19 +65,19 @@ export declare const createBanSchema: z.ZodObject<{
65
65
  isPermanent?: boolean | undefined;
66
66
  }>;
67
67
  }, "strip", z.ZodTypeAny, {
68
+ params: {
69
+ userId: string;
70
+ };
68
71
  body: {
69
72
  reason: string;
70
73
  isPermanent: boolean;
71
74
  };
75
+ }, {
72
76
  params: {
73
77
  userId: string;
74
78
  };
75
- }, {
76
79
  body: {
77
80
  reason: string;
78
81
  isPermanent?: boolean | undefined;
79
82
  };
80
- params: {
81
- userId: string;
82
- };
83
83
  }>;