vr-commons 1.0.137 → 1.0.139
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/validations/admin.devicePayment.validations.d.ts +30 -30
- package/dist/validations/admin.devices.validations.d.ts +20 -20
- package/dist/validations/admin.installment.validations.d.ts +16 -16
- package/dist/validations/appSpecs.validations.d.ts +10 -10
- package/dist/validations/appeals.validations.d.ts +8 -8
- package/dist/validations/bans.validations.d.ts +8 -8
- package/dist/validations/devicePaymentPlan.validations.d.ts +12 -12
- package/dist/validations/eventlogs.admin.validations.d.ts +7 -7
- package/dist/validations/moderation.validations.d.ts +81 -81
- package/dist/validations/pricings.validations.d.ts +31 -31
- package/dist/validations/pricings.validations.js +20 -40
- package/dist/validations/product.validations.d.ts +20 -20
- package/dist/validations/profiles.validations.d.ts +32 -32
- package/dist/validations/suspensions.validations.d.ts +8 -8
- package/dist/validations/users.admin.validations.d.ts +36 -36
- package/package.json +2 -2
|
@@ -43,33 +43,33 @@ 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
|
-
page: number;
|
|
47
46
|
limit: number;
|
|
48
|
-
|
|
47
|
+
page: number;
|
|
49
48
|
search?: string | undefined;
|
|
50
49
|
userId?: string | undefined;
|
|
50
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
51
51
|
isOverdue?: "true" | "false" | undefined;
|
|
52
52
|
sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
|
|
53
53
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
54
54
|
deviceId?: string | undefined;
|
|
55
55
|
}, {
|
|
56
|
-
status?: "PENDING" | "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
|
|
57
|
-
page?: string | undefined;
|
|
58
|
-
limit?: string | undefined;
|
|
59
56
|
search?: string | undefined;
|
|
57
|
+
limit?: string | undefined;
|
|
60
58
|
userId?: string | undefined;
|
|
59
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
61
60
|
isOverdue?: "true" | "false" | undefined;
|
|
61
|
+
page?: string | undefined;
|
|
62
62
|
sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
|
|
63
63
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
64
64
|
deviceId?: string | undefined;
|
|
65
65
|
}>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
query: {
|
|
68
|
-
page: number;
|
|
69
68
|
limit: number;
|
|
70
|
-
|
|
69
|
+
page: number;
|
|
71
70
|
search?: string | undefined;
|
|
72
71
|
userId?: string | undefined;
|
|
72
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
73
73
|
isOverdue?: "true" | "false" | undefined;
|
|
74
74
|
sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
|
|
75
75
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
@@ -77,12 +77,12 @@ export declare const listPlansSchema: z.ZodObject<{
|
|
|
77
77
|
};
|
|
78
78
|
}, {
|
|
79
79
|
query: {
|
|
80
|
-
status?: "PENDING" | "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
|
|
81
|
-
page?: string | undefined;
|
|
82
|
-
limit?: string | undefined;
|
|
83
80
|
search?: string | undefined;
|
|
81
|
+
limit?: string | undefined;
|
|
84
82
|
userId?: string | undefined;
|
|
83
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
85
84
|
isOverdue?: "true" | "false" | undefined;
|
|
85
|
+
page?: string | undefined;
|
|
86
86
|
sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
|
|
87
87
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
88
88
|
deviceId?: string | undefined;
|
|
@@ -117,10 +117,10 @@ export declare const getUserPlansSchema: z.ZodObject<{
|
|
|
117
117
|
status: z.ZodOptional<z.ZodEnum<["PENDING", "ACTIVE", "COMPLETED", "DEFAULTED", "CANCELLED"]>>;
|
|
118
118
|
includeCompleted: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
|
|
119
119
|
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
status?: "
|
|
120
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
121
121
|
includeCompleted?: "true" | "false" | undefined;
|
|
122
122
|
}, {
|
|
123
|
-
status?: "
|
|
123
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "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?: "
|
|
131
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "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?: "
|
|
139
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
140
140
|
includeCompleted?: "true" | "false" | undefined;
|
|
141
141
|
} | undefined;
|
|
142
142
|
}>;
|
|
@@ -192,25 +192,25 @@ export declare const limitedUpdateSchema: z.ZodObject<{
|
|
|
192
192
|
pricingId?: string | undefined;
|
|
193
193
|
}>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
-
params: {
|
|
196
|
-
id: string;
|
|
197
|
-
};
|
|
198
195
|
body: {
|
|
199
196
|
userId?: string | undefined;
|
|
200
197
|
productId?: string | undefined;
|
|
201
198
|
deviceIds?: string[] | undefined;
|
|
202
199
|
pricingId?: string | undefined;
|
|
203
200
|
};
|
|
204
|
-
}, {
|
|
205
201
|
params: {
|
|
206
202
|
id: string;
|
|
207
203
|
};
|
|
204
|
+
}, {
|
|
208
205
|
body: {
|
|
209
206
|
userId?: string | undefined;
|
|
210
207
|
productId?: string | undefined;
|
|
211
208
|
deviceIds?: string[] | undefined;
|
|
212
209
|
pricingId?: string | undefined;
|
|
213
210
|
};
|
|
211
|
+
params: {
|
|
212
|
+
id: string;
|
|
213
|
+
};
|
|
214
214
|
}>;
|
|
215
215
|
export declare const recordPaymentSchema: z.ZodObject<{
|
|
216
216
|
params: z.ZodObject<{
|
|
@@ -231,45 +231,45 @@ export declare const recordPaymentSchema: z.ZodObject<{
|
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
232
|
amount: number;
|
|
233
233
|
provider: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY";
|
|
234
|
+
metadata?: Record<string, any> | undefined;
|
|
234
235
|
providerReference?: string | undefined;
|
|
235
236
|
customerPhone?: string | undefined;
|
|
236
|
-
notes?: string | undefined;
|
|
237
|
-
metadata?: Record<string, any> | undefined;
|
|
238
237
|
customerName?: string | undefined;
|
|
238
|
+
notes?: string | undefined;
|
|
239
239
|
}, {
|
|
240
240
|
amount: number;
|
|
241
|
+
metadata?: Record<string, any> | undefined;
|
|
241
242
|
provider?: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY" | undefined;
|
|
242
243
|
providerReference?: string | undefined;
|
|
243
244
|
customerPhone?: string | undefined;
|
|
244
|
-
notes?: string | undefined;
|
|
245
|
-
metadata?: Record<string, any> | undefined;
|
|
246
245
|
customerName?: string | undefined;
|
|
246
|
+
notes?: string | undefined;
|
|
247
247
|
}>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
|
-
params: {
|
|
250
|
-
id: string;
|
|
251
|
-
};
|
|
252
249
|
body: {
|
|
253
250
|
amount: number;
|
|
254
251
|
provider: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY";
|
|
252
|
+
metadata?: Record<string, any> | undefined;
|
|
255
253
|
providerReference?: string | undefined;
|
|
256
254
|
customerPhone?: string | undefined;
|
|
257
|
-
notes?: string | undefined;
|
|
258
|
-
metadata?: Record<string, any> | undefined;
|
|
259
255
|
customerName?: string | undefined;
|
|
256
|
+
notes?: string | undefined;
|
|
260
257
|
};
|
|
261
|
-
}, {
|
|
262
258
|
params: {
|
|
263
259
|
id: string;
|
|
264
260
|
};
|
|
261
|
+
}, {
|
|
265
262
|
body: {
|
|
266
263
|
amount: number;
|
|
264
|
+
metadata?: Record<string, any> | undefined;
|
|
267
265
|
provider?: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY" | undefined;
|
|
268
266
|
providerReference?: string | undefined;
|
|
269
267
|
customerPhone?: string | undefined;
|
|
270
|
-
notes?: string | undefined;
|
|
271
|
-
metadata?: Record<string, any> | undefined;
|
|
272
268
|
customerName?: string | undefined;
|
|
269
|
+
notes?: string | undefined;
|
|
270
|
+
};
|
|
271
|
+
params: {
|
|
272
|
+
id: string;
|
|
273
273
|
};
|
|
274
274
|
}>;
|
|
275
275
|
export declare const deletePlanSchema: z.ZodObject<{
|
|
@@ -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
|
-
};
|
|
71
68
|
body: {
|
|
72
69
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
73
70
|
serialNumber?: string | undefined;
|
|
74
71
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | null | undefined;
|
|
75
72
|
};
|
|
76
|
-
}, {
|
|
77
73
|
params: {
|
|
78
74
|
id: string;
|
|
79
75
|
};
|
|
76
|
+
}, {
|
|
80
77
|
body: {
|
|
81
78
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
82
79
|
serialNumber?: string | undefined;
|
|
83
80
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | null | undefined;
|
|
84
81
|
};
|
|
82
|
+
params: {
|
|
83
|
+
id: string;
|
|
84
|
+
};
|
|
85
85
|
}>;
|
|
86
86
|
export declare const getDeviceSchema: z.ZodObject<{
|
|
87
87
|
params: z.ZodObject<{
|
|
@@ -113,22 +113,22 @@ 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;
|
|
116
118
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
117
119
|
page?: number | undefined;
|
|
118
|
-
|
|
119
|
-
search?: string | undefined;
|
|
120
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "serialNumber" | undefined;
|
|
120
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
|
|
121
121
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
122
122
|
productId?: string | 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;
|
|
127
129
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
128
130
|
page?: string | undefined;
|
|
129
|
-
|
|
130
|
-
search?: string | undefined;
|
|
131
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "serialNumber" | undefined;
|
|
131
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
|
|
132
132
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
133
133
|
productId?: string | undefined;
|
|
134
134
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
|
|
@@ -137,11 +137,11 @@ export declare const getDevicesSchema: z.ZodObject<{
|
|
|
137
137
|
}>;
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
139
|
query: {
|
|
140
|
+
search?: string | undefined;
|
|
141
|
+
limit?: number | undefined;
|
|
140
142
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
141
143
|
page?: number | undefined;
|
|
142
|
-
|
|
143
|
-
search?: string | undefined;
|
|
144
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "serialNumber" | undefined;
|
|
144
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
|
|
145
145
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
146
146
|
productId?: string | undefined;
|
|
147
147
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
|
|
@@ -150,11 +150,11 @@ export declare const getDevicesSchema: z.ZodObject<{
|
|
|
150
150
|
};
|
|
151
151
|
}, {
|
|
152
152
|
query: {
|
|
153
|
+
search?: string | undefined;
|
|
154
|
+
limit?: string | undefined;
|
|
153
155
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
154
156
|
page?: string | undefined;
|
|
155
|
-
|
|
156
|
-
search?: string | undefined;
|
|
157
|
-
sortBy?: "status" | "createdAt" | "updatedAt" | "serialNumber" | undefined;
|
|
157
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
|
|
158
158
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
159
159
|
productId?: string | undefined;
|
|
160
160
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
|
|
@@ -242,19 +242,19 @@ export declare const disableDeviceSchema: z.ZodObject<{
|
|
|
242
242
|
reason: string;
|
|
243
243
|
}>;
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
params: {
|
|
246
|
-
id: string;
|
|
247
|
-
};
|
|
248
245
|
body: {
|
|
249
246
|
reason: string;
|
|
250
247
|
};
|
|
251
|
-
}, {
|
|
252
248
|
params: {
|
|
253
249
|
id: string;
|
|
254
250
|
};
|
|
251
|
+
}, {
|
|
255
252
|
body: {
|
|
256
253
|
reason: string;
|
|
257
254
|
};
|
|
255
|
+
params: {
|
|
256
|
+
id: string;
|
|
257
|
+
};
|
|
258
258
|
}>;
|
|
259
259
|
export declare const makePermanentSchema: z.ZodObject<{
|
|
260
260
|
params: z.ZodObject<{
|
|
@@ -6,29 +6,29 @@ export declare const getInstallmentsSchema: z.ZodObject<{
|
|
|
6
6
|
page: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
7
7
|
limit: z.ZodOptional<z.ZodEffects<z.ZodString, number, string>>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
limit?: number | undefined;
|
|
9
10
|
status?: "PENDING" | "PAID" | "OVERDUE" | "SKIPPED" | undefined;
|
|
10
|
-
planId?: string | undefined;
|
|
11
11
|
page?: number | undefined;
|
|
12
|
-
|
|
12
|
+
planId?: string | undefined;
|
|
13
13
|
}, {
|
|
14
|
+
limit?: string | undefined;
|
|
14
15
|
status?: "PENDING" | "PAID" | "OVERDUE" | "SKIPPED" | undefined;
|
|
15
|
-
planId?: string | undefined;
|
|
16
16
|
page?: string | undefined;
|
|
17
|
-
|
|
17
|
+
planId?: string | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
query: {
|
|
21
|
+
limit?: number | undefined;
|
|
21
22
|
status?: "PENDING" | "PAID" | "OVERDUE" | "SKIPPED" | undefined;
|
|
22
|
-
planId?: string | undefined;
|
|
23
23
|
page?: number | undefined;
|
|
24
|
-
|
|
24
|
+
planId?: string | undefined;
|
|
25
25
|
};
|
|
26
26
|
}, {
|
|
27
27
|
query: {
|
|
28
|
+
limit?: string | undefined;
|
|
28
29
|
status?: "PENDING" | "PAID" | "OVERDUE" | "SKIPPED" | undefined;
|
|
29
|
-
planId?: string | undefined;
|
|
30
30
|
page?: string | undefined;
|
|
31
|
-
|
|
31
|
+
planId?: string | undefined;
|
|
32
32
|
};
|
|
33
33
|
}>;
|
|
34
34
|
export declare const getInstallmentByIdSchema: z.ZodObject<{
|
|
@@ -68,38 +68,38 @@ export declare const payInstallmentSchema: z.ZodObject<{
|
|
|
68
68
|
provider: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY";
|
|
69
69
|
providerReference: string;
|
|
70
70
|
customerPhone: string;
|
|
71
|
-
notes?: string | undefined;
|
|
72
71
|
metadata?: Record<string, any> | undefined;
|
|
72
|
+
notes?: string | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
amount: number;
|
|
75
75
|
providerReference: string;
|
|
76
76
|
customerPhone: string;
|
|
77
|
+
metadata?: Record<string, any> | undefined;
|
|
77
78
|
provider?: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY" | undefined;
|
|
78
79
|
notes?: string | undefined;
|
|
79
|
-
metadata?: Record<string, any> | undefined;
|
|
80
80
|
}>;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
params: {
|
|
83
|
-
id: string;
|
|
84
|
-
};
|
|
85
82
|
body: {
|
|
86
83
|
amount: number;
|
|
87
84
|
provider: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY";
|
|
88
85
|
providerReference: string;
|
|
89
86
|
customerPhone: string;
|
|
90
|
-
notes?: string | undefined;
|
|
91
87
|
metadata?: Record<string, any> | undefined;
|
|
88
|
+
notes?: string | undefined;
|
|
92
89
|
};
|
|
93
|
-
}, {
|
|
94
90
|
params: {
|
|
95
91
|
id: string;
|
|
96
92
|
};
|
|
93
|
+
}, {
|
|
97
94
|
body: {
|
|
98
95
|
amount: number;
|
|
99
96
|
providerReference: string;
|
|
100
97
|
customerPhone: string;
|
|
98
|
+
metadata?: Record<string, any> | undefined;
|
|
101
99
|
provider?: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY" | undefined;
|
|
102
100
|
notes?: string | undefined;
|
|
103
|
-
|
|
101
|
+
};
|
|
102
|
+
params: {
|
|
103
|
+
id: string;
|
|
104
104
|
};
|
|
105
105
|
}>;
|
|
@@ -616,9 +616,6 @@ 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
|
-
};
|
|
622
619
|
body: {
|
|
623
620
|
appName?: string | undefined;
|
|
624
621
|
appShortName?: string | null | undefined;
|
|
@@ -695,10 +692,10 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
695
692
|
facebookPixelId?: string | null | undefined;
|
|
696
693
|
sentryDsn?: string | null | undefined;
|
|
697
694
|
};
|
|
698
|
-
}, {
|
|
699
695
|
params: {
|
|
700
696
|
id: string;
|
|
701
697
|
};
|
|
698
|
+
}, {
|
|
702
699
|
body: {
|
|
703
700
|
appName?: string | undefined;
|
|
704
701
|
appShortName?: string | null | undefined;
|
|
@@ -775,6 +772,9 @@ export declare const updateAppSpecsSchema: z.ZodObject<{
|
|
|
775
772
|
facebookPixelId?: string | null | undefined;
|
|
776
773
|
sentryDsn?: string | null | undefined;
|
|
777
774
|
};
|
|
775
|
+
params: {
|
|
776
|
+
id: string;
|
|
777
|
+
};
|
|
778
778
|
}>;
|
|
779
779
|
export declare const listAppSpecsSchema: z.ZodObject<{
|
|
780
780
|
query: z.ZodObject<{
|
|
@@ -785,24 +785,24 @@ 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
|
-
page: number;
|
|
789
788
|
limit: number;
|
|
789
|
+
page: number;
|
|
790
790
|
search?: string | undefined;
|
|
791
791
|
isActive?: "true" | "false" | undefined;
|
|
792
792
|
sortBy?: "createdAt" | "updatedAt" | "version" | undefined;
|
|
793
793
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
794
794
|
}, {
|
|
795
|
-
page?: string | undefined;
|
|
796
|
-
limit?: string | undefined;
|
|
797
795
|
search?: string | undefined;
|
|
796
|
+
limit?: string | undefined;
|
|
798
797
|
isActive?: "true" | "false" | undefined;
|
|
798
|
+
page?: string | undefined;
|
|
799
799
|
sortBy?: "createdAt" | "updatedAt" | "version" | undefined;
|
|
800
800
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
801
801
|
}>;
|
|
802
802
|
}, "strip", z.ZodTypeAny, {
|
|
803
803
|
query: {
|
|
804
|
-
page: number;
|
|
805
804
|
limit: number;
|
|
805
|
+
page: number;
|
|
806
806
|
search?: string | undefined;
|
|
807
807
|
isActive?: "true" | "false" | undefined;
|
|
808
808
|
sortBy?: "createdAt" | "updatedAt" | "version" | undefined;
|
|
@@ -810,10 +810,10 @@ export declare const listAppSpecsSchema: z.ZodObject<{
|
|
|
810
810
|
};
|
|
811
811
|
}, {
|
|
812
812
|
query: {
|
|
813
|
-
page?: string | undefined;
|
|
814
|
-
limit?: string | undefined;
|
|
815
813
|
search?: string | undefined;
|
|
814
|
+
limit?: string | undefined;
|
|
816
815
|
isActive?: "true" | "false" | undefined;
|
|
816
|
+
page?: string | undefined;
|
|
817
817
|
sortBy?: "createdAt" | "updatedAt" | "version" | undefined;
|
|
818
818
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
819
819
|
};
|
|
@@ -15,19 +15,19 @@ export declare const submitBanAppealSchema: z.ZodObject<{
|
|
|
15
15
|
appealReason: string;
|
|
16
16
|
}>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
params: {
|
|
19
|
-
banId: string;
|
|
20
|
-
};
|
|
21
18
|
body: {
|
|
22
19
|
appealReason: string;
|
|
23
20
|
};
|
|
24
|
-
}, {
|
|
25
21
|
params: {
|
|
26
22
|
banId: string;
|
|
27
23
|
};
|
|
24
|
+
}, {
|
|
28
25
|
body: {
|
|
29
26
|
appealReason: string;
|
|
30
27
|
};
|
|
28
|
+
params: {
|
|
29
|
+
banId: 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
|
-
params: {
|
|
49
|
-
suspensionId: string;
|
|
50
|
-
};
|
|
51
48
|
body: {
|
|
52
49
|
appealReason: string;
|
|
53
50
|
};
|
|
54
|
-
}, {
|
|
55
51
|
params: {
|
|
56
52
|
suspensionId: string;
|
|
57
53
|
};
|
|
54
|
+
}, {
|
|
58
55
|
body: {
|
|
59
56
|
appealReason: string;
|
|
60
57
|
};
|
|
58
|
+
params: {
|
|
59
|
+
suspensionId: 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
|
-
params: {
|
|
36
|
-
userId: string;
|
|
37
|
-
};
|
|
38
35
|
query: {
|
|
39
36
|
includeResolved?: "true" | "false" | undefined;
|
|
40
37
|
};
|
|
41
|
-
}, {
|
|
42
38
|
params: {
|
|
43
39
|
userId: string;
|
|
44
40
|
};
|
|
41
|
+
}, {
|
|
45
42
|
query: {
|
|
46
43
|
includeResolved?: "true" | "false" | undefined;
|
|
47
44
|
};
|
|
45
|
+
params: {
|
|
46
|
+
userId: string;
|
|
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
|
-
};
|
|
71
68
|
body: {
|
|
72
69
|
reason: string;
|
|
73
70
|
isPermanent: boolean;
|
|
74
71
|
};
|
|
75
|
-
}, {
|
|
76
72
|
params: {
|
|
77
73
|
userId: string;
|
|
78
74
|
};
|
|
75
|
+
}, {
|
|
79
76
|
body: {
|
|
80
77
|
reason: string;
|
|
81
78
|
isPermanent?: boolean | undefined;
|
|
82
79
|
};
|
|
80
|
+
params: {
|
|
81
|
+
userId: string;
|
|
82
|
+
};
|
|
83
83
|
}>;
|
|
@@ -7,32 +7,32 @@ export declare const listUserPaymentPlansSchema: z.ZodObject<{
|
|
|
7
7
|
sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "nextInstallmentDueAt", "status"]>>;
|
|
8
8
|
sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
page: number;
|
|
11
10
|
limit: number;
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
page: number;
|
|
12
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
13
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "nextInstallmentDueAt" | undefined;
|
|
14
14
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
15
15
|
}, {
|
|
16
|
-
status?: "PENDING" | "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
|
|
17
|
-
page?: string | undefined;
|
|
18
16
|
limit?: string | undefined;
|
|
19
|
-
|
|
17
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
18
|
+
page?: string | undefined;
|
|
19
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "nextInstallmentDueAt" | undefined;
|
|
20
20
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
query: {
|
|
24
|
-
page: number;
|
|
25
24
|
limit: number;
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
page: number;
|
|
26
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
27
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "nextInstallmentDueAt" | undefined;
|
|
28
28
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
29
29
|
};
|
|
30
30
|
}, {
|
|
31
31
|
query: {
|
|
32
|
-
status?: "PENDING" | "ACTIVE" | "DEFAULTED" | "COMPLETED" | "CANCELLED" | undefined;
|
|
33
|
-
page?: string | undefined;
|
|
34
32
|
limit?: string | undefined;
|
|
35
|
-
|
|
33
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
34
|
+
page?: string | undefined;
|
|
35
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "nextInstallmentDueAt" | undefined;
|
|
36
36
|
sortOrder?: "DESC" | "ASC" | undefined;
|
|
37
37
|
};
|
|
38
38
|
}>;
|
|
@@ -18,8 +18,8 @@ export declare const listEventLogsSchema: z.ZodObject<{
|
|
|
18
18
|
sortOrder: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
19
19
|
hasDeviceSession: z.ZodEffects<z.ZodOptional<z.ZodString>, boolean, string | undefined>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
page: number;
|
|
22
21
|
limit: number;
|
|
22
|
+
page: number;
|
|
23
23
|
sortBy: "createdAt" | "actorType" | "action" | "entity";
|
|
24
24
|
sortOrder: "DESC" | "ASC";
|
|
25
25
|
hasDeviceSession: boolean;
|
|
@@ -35,11 +35,11 @@ export declare const listEventLogsSchema: z.ZodObject<{
|
|
|
35
35
|
entityId?: string | undefined;
|
|
36
36
|
actorName?: string | undefined;
|
|
37
37
|
}, {
|
|
38
|
-
page?: string | undefined;
|
|
39
|
-
limit?: string | undefined;
|
|
40
38
|
search?: string | undefined;
|
|
39
|
+
limit?: string | undefined;
|
|
41
40
|
firstName?: string | undefined;
|
|
42
41
|
lastName?: string | undefined;
|
|
42
|
+
page?: string | undefined;
|
|
43
43
|
sortBy?: "createdAt" | "actorType" | "action" | "entity" | undefined;
|
|
44
44
|
fromDate?: string | undefined;
|
|
45
45
|
toDate?: string | undefined;
|
|
@@ -52,11 +52,11 @@ export declare const listEventLogsSchema: z.ZodObject<{
|
|
|
52
52
|
actorName?: string | undefined;
|
|
53
53
|
hasDeviceSession?: string | undefined;
|
|
54
54
|
}>, any, {
|
|
55
|
-
page?: string | undefined;
|
|
56
|
-
limit?: string | undefined;
|
|
57
55
|
search?: string | undefined;
|
|
56
|
+
limit?: string | undefined;
|
|
58
57
|
firstName?: string | undefined;
|
|
59
58
|
lastName?: string | undefined;
|
|
59
|
+
page?: string | undefined;
|
|
60
60
|
sortBy?: "createdAt" | "actorType" | "action" | "entity" | undefined;
|
|
61
61
|
fromDate?: string | undefined;
|
|
62
62
|
toDate?: string | undefined;
|
|
@@ -73,11 +73,11 @@ export declare const listEventLogsSchema: z.ZodObject<{
|
|
|
73
73
|
query?: any;
|
|
74
74
|
}, {
|
|
75
75
|
query: {
|
|
76
|
-
page?: string | undefined;
|
|
77
|
-
limit?: string | undefined;
|
|
78
76
|
search?: string | undefined;
|
|
77
|
+
limit?: string | undefined;
|
|
79
78
|
firstName?: string | undefined;
|
|
80
79
|
lastName?: string | undefined;
|
|
80
|
+
page?: string | undefined;
|
|
81
81
|
sortBy?: "createdAt" | "actorType" | "action" | "entity" | undefined;
|
|
82
82
|
fromDate?: string | undefined;
|
|
83
83
|
toDate?: string | undefined;
|