vr-commons 1.0.181 → 1.0.183
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/admin.devicePayments.validations.d.ts +54 -54
- package/dist/validations/admin/admin.devices.validations.d.ts +51 -51
- package/dist/validations/admin/admin.users.validations.d.ts +103 -103
- package/dist/validations/shared/shared.account.validations.d.ts +16 -16
- package/dist/validations/shared/shared.appSpecs.validations.d.ts +50 -0
- package/dist/validations/shared/shared.appSpecs.validations.js +1 -0
- package/dist/validations/shared/shared.auth.validations.d.ts +34 -34
- package/package.json +2 -2
|
@@ -6,24 +6,24 @@ export declare const createPlanSchema: z.ZodObject<{
|
|
|
6
6
|
productId: z.ZodString;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
userId: string;
|
|
9
|
-
pricingId: string;
|
|
10
9
|
productId: string;
|
|
10
|
+
pricingId: string;
|
|
11
11
|
}, {
|
|
12
12
|
userId: string;
|
|
13
|
-
pricingId: string;
|
|
14
13
|
productId: string;
|
|
14
|
+
pricingId: string;
|
|
15
15
|
}>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
17
|
body: {
|
|
18
18
|
userId: string;
|
|
19
|
-
pricingId: string;
|
|
20
19
|
productId: string;
|
|
20
|
+
pricingId: string;
|
|
21
21
|
};
|
|
22
22
|
}, {
|
|
23
23
|
body: {
|
|
24
24
|
userId: string;
|
|
25
|
-
pricingId: string;
|
|
26
25
|
productId: string;
|
|
26
|
+
pricingId: string;
|
|
27
27
|
};
|
|
28
28
|
}>;
|
|
29
29
|
export declare const listPlansSchema: z.ZodObject<{
|
|
@@ -38,49 +38,49 @@ export declare const listPlansSchema: z.ZodObject<{
|
|
|
38
38
|
sortBy: z.ZodOptional<z.ZodEnum<["createdAt", "updatedAt", "nextInstallmentDueAt", "paidAmount", "outstandingAmount"]>>;
|
|
39
39
|
sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
page: number;
|
|
42
41
|
limit: number;
|
|
43
|
-
|
|
42
|
+
page: number;
|
|
43
|
+
search?: string | undefined;
|
|
44
44
|
userId?: string | undefined;
|
|
45
|
-
|
|
45
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
46
46
|
isOverdue?: "true" | "false" | undefined;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
|
|
48
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
49
|
+
deviceId?: string | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
|
|
51
|
+
search?: string | undefined;
|
|
52
|
+
limit?: string | undefined;
|
|
52
53
|
userId?: string | undefined;
|
|
54
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
55
|
+
isOverdue?: "true" | "false" | undefined;
|
|
53
56
|
page?: string | undefined;
|
|
54
|
-
|
|
57
|
+
sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
|
|
58
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
55
59
|
deviceId?: string | undefined;
|
|
56
|
-
isOverdue?: "true" | "false" | undefined;
|
|
57
|
-
search?: string | undefined;
|
|
58
|
-
sortBy?: "createdAt" | "updatedAt" | "nextInstallmentDueAt" | "paidAmount" | "outstandingAmount" | undefined;
|
|
59
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
query: {
|
|
63
|
-
page: number;
|
|
64
63
|
limit: number;
|
|
65
|
-
|
|
64
|
+
page: number;
|
|
65
|
+
search?: string | undefined;
|
|
66
66
|
userId?: string | undefined;
|
|
67
|
-
|
|
67
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
68
68
|
isOverdue?: "true" | "false" | undefined;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
|
|
70
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
71
|
+
deviceId?: string | undefined;
|
|
72
72
|
};
|
|
73
73
|
}, {
|
|
74
74
|
query: {
|
|
75
|
-
|
|
75
|
+
search?: string | undefined;
|
|
76
|
+
limit?: string | undefined;
|
|
76
77
|
userId?: string | undefined;
|
|
78
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
79
|
+
isOverdue?: "true" | "false" | undefined;
|
|
77
80
|
page?: string | undefined;
|
|
78
|
-
|
|
81
|
+
sortBy?: "createdAt" | "updatedAt" | "paidAmount" | "outstandingAmount" | "nextInstallmentDueAt" | undefined;
|
|
82
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
79
83
|
deviceId?: string | undefined;
|
|
80
|
-
isOverdue?: "true" | "false" | undefined;
|
|
81
|
-
search?: string | undefined;
|
|
82
|
-
sortBy?: "createdAt" | "updatedAt" | "nextInstallmentDueAt" | "paidAmount" | "outstandingAmount" | undefined;
|
|
83
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
84
84
|
};
|
|
85
85
|
}>;
|
|
86
86
|
export declare const getPlanSchema: z.ZodObject<{
|
|
@@ -112,10 +112,10 @@ export declare const getUserPlansSchema: z.ZodObject<{
|
|
|
112
112
|
status: z.ZodOptional<z.ZodEnum<["PENDING", "ACTIVE", "COMPLETED", "DEFAULTED", "CANCELLED"]>>;
|
|
113
113
|
includeCompleted: z.ZodOptional<z.ZodEnum<["true", "false"]>>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
status?: "
|
|
115
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
116
116
|
includeCompleted?: "true" | "false" | undefined;
|
|
117
117
|
}, {
|
|
118
|
-
status?: "
|
|
118
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
119
119
|
includeCompleted?: "true" | "false" | undefined;
|
|
120
120
|
}>>;
|
|
121
121
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -123,7 +123,7 @@ export declare const getUserPlansSchema: z.ZodObject<{
|
|
|
123
123
|
userId: string;
|
|
124
124
|
};
|
|
125
125
|
query?: {
|
|
126
|
-
status?: "
|
|
126
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
127
127
|
includeCompleted?: "true" | "false" | undefined;
|
|
128
128
|
} | undefined;
|
|
129
129
|
}, {
|
|
@@ -131,7 +131,7 @@ export declare const getUserPlansSchema: z.ZodObject<{
|
|
|
131
131
|
userId: string;
|
|
132
132
|
};
|
|
133
133
|
query?: {
|
|
134
|
-
status?: "
|
|
134
|
+
status?: "ACTIVE" | "DEFAULTED" | "PENDING" | "COMPLETED" | "CANCELLED" | undefined;
|
|
135
135
|
includeCompleted?: "true" | "false" | undefined;
|
|
136
136
|
} | undefined;
|
|
137
137
|
}>;
|
|
@@ -171,21 +171,21 @@ export declare const replacePlanDevicesSchema: z.ZodObject<{
|
|
|
171
171
|
replacementPairID: string;
|
|
172
172
|
}>;
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
params: {
|
|
175
|
-
id: string;
|
|
176
|
-
};
|
|
177
174
|
body: {
|
|
178
175
|
replacementPrefix: "VBRD" | "VIBERIDE";
|
|
179
176
|
replacementPairID: string;
|
|
180
177
|
};
|
|
181
|
-
}, {
|
|
182
178
|
params: {
|
|
183
179
|
id: string;
|
|
184
180
|
};
|
|
181
|
+
}, {
|
|
185
182
|
body: {
|
|
186
183
|
replacementPrefix: "VBRD" | "VIBERIDE";
|
|
187
184
|
replacementPairID: string;
|
|
188
185
|
};
|
|
186
|
+
params: {
|
|
187
|
+
id: string;
|
|
188
|
+
};
|
|
189
189
|
}>;
|
|
190
190
|
export declare const limitedUpdateSchema: z.ZodObject<{
|
|
191
191
|
params: z.ZodObject<{
|
|
@@ -201,38 +201,38 @@ export declare const limitedUpdateSchema: z.ZodObject<{
|
|
|
201
201
|
userId: z.ZodOptional<z.ZodString>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
203
|
userId?: string | undefined;
|
|
204
|
-
pricingId?: string | undefined;
|
|
205
204
|
productId?: string | undefined;
|
|
205
|
+
pricingId?: string | undefined;
|
|
206
206
|
}, {
|
|
207
207
|
userId?: string | undefined;
|
|
208
|
-
pricingId?: string | undefined;
|
|
209
208
|
productId?: string | undefined;
|
|
209
|
+
pricingId?: string | undefined;
|
|
210
210
|
}>, {
|
|
211
211
|
userId?: string | undefined;
|
|
212
|
-
pricingId?: string | undefined;
|
|
213
212
|
productId?: string | undefined;
|
|
213
|
+
pricingId?: string | undefined;
|
|
214
214
|
}, {
|
|
215
215
|
userId?: string | undefined;
|
|
216
|
-
pricingId?: string | undefined;
|
|
217
216
|
productId?: string | undefined;
|
|
217
|
+
pricingId?: string | undefined;
|
|
218
218
|
}>;
|
|
219
219
|
}, "strip", z.ZodTypeAny, {
|
|
220
|
-
params: {
|
|
221
|
-
id: string;
|
|
222
|
-
};
|
|
223
220
|
body: {
|
|
224
221
|
userId?: string | undefined;
|
|
225
|
-
pricingId?: string | undefined;
|
|
226
222
|
productId?: string | undefined;
|
|
223
|
+
pricingId?: string | undefined;
|
|
227
224
|
};
|
|
228
|
-
}, {
|
|
229
225
|
params: {
|
|
230
226
|
id: string;
|
|
231
227
|
};
|
|
228
|
+
}, {
|
|
232
229
|
body: {
|
|
233
230
|
userId?: string | undefined;
|
|
234
|
-
pricingId?: string | undefined;
|
|
235
231
|
productId?: string | undefined;
|
|
232
|
+
pricingId?: string | undefined;
|
|
233
|
+
};
|
|
234
|
+
params: {
|
|
235
|
+
id: string;
|
|
236
236
|
};
|
|
237
237
|
}>;
|
|
238
238
|
export declare const recordPaymentSchema: z.ZodObject<{
|
|
@@ -255,44 +255,44 @@ export declare const recordPaymentSchema: z.ZodObject<{
|
|
|
255
255
|
amount: number;
|
|
256
256
|
provider: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY";
|
|
257
257
|
providerReference: string;
|
|
258
|
+
metadata?: Record<string, any> | undefined;
|
|
258
259
|
customerPhone?: string | undefined;
|
|
259
260
|
customerName?: string | undefined;
|
|
260
261
|
notes?: string | undefined;
|
|
261
|
-
metadata?: Record<string, any> | undefined;
|
|
262
262
|
}, {
|
|
263
263
|
amount: number;
|
|
264
264
|
providerReference: string;
|
|
265
|
+
metadata?: Record<string, any> | undefined;
|
|
265
266
|
provider?: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY" | undefined;
|
|
266
267
|
customerPhone?: string | undefined;
|
|
267
268
|
customerName?: string | undefined;
|
|
268
269
|
notes?: string | undefined;
|
|
269
|
-
metadata?: Record<string, any> | undefined;
|
|
270
270
|
}>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
|
-
params: {
|
|
273
|
-
id: string;
|
|
274
|
-
};
|
|
275
272
|
body: {
|
|
276
273
|
amount: number;
|
|
277
274
|
provider: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY";
|
|
278
275
|
providerReference: string;
|
|
276
|
+
metadata?: Record<string, any> | undefined;
|
|
279
277
|
customerPhone?: string | undefined;
|
|
280
278
|
customerName?: string | undefined;
|
|
281
279
|
notes?: string | undefined;
|
|
282
|
-
metadata?: Record<string, any> | undefined;
|
|
283
280
|
};
|
|
284
|
-
}, {
|
|
285
281
|
params: {
|
|
286
282
|
id: string;
|
|
287
283
|
};
|
|
284
|
+
}, {
|
|
288
285
|
body: {
|
|
289
286
|
amount: number;
|
|
290
287
|
providerReference: string;
|
|
288
|
+
metadata?: Record<string, any> | undefined;
|
|
291
289
|
provider?: "AIRTEL_MONEY" | "CASH" | "MOMO_PAY" | undefined;
|
|
292
290
|
customerPhone?: string | undefined;
|
|
293
291
|
customerName?: string | undefined;
|
|
294
292
|
notes?: string | undefined;
|
|
295
|
-
|
|
293
|
+
};
|
|
294
|
+
params: {
|
|
295
|
+
id: string;
|
|
296
296
|
};
|
|
297
297
|
}>;
|
|
298
298
|
export declare const deletePlanSchema: z.ZodObject<{
|
|
@@ -66,53 +66,53 @@ export declare const getDevicesSchema: z.ZodObject<{
|
|
|
66
66
|
sortBy: z.ZodOptional<z.ZodEnum<["serialNumber", "status", "createdAt", "updatedAt"]>>;
|
|
67
67
|
sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
|
|
69
|
+
search?: string | undefined;
|
|
70
|
+
limit?: number | undefined;
|
|
70
71
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
72
|
+
productId?: string | undefined;
|
|
71
73
|
page?: number | undefined;
|
|
72
|
-
|
|
74
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
|
|
75
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
73
76
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
|
|
74
77
|
isPermanentlyUnlocked?: "true" | "false" | undefined;
|
|
75
78
|
isAssigned?: "true" | "false" | undefined;
|
|
76
|
-
search?: string | undefined;
|
|
77
|
-
sortBy?: "status" | "serialNumber" | "createdAt" | "updatedAt" | undefined;
|
|
78
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
79
79
|
}, {
|
|
80
|
-
|
|
80
|
+
search?: string | undefined;
|
|
81
|
+
limit?: string | undefined;
|
|
81
82
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
83
|
+
productId?: string | undefined;
|
|
82
84
|
page?: string | undefined;
|
|
83
|
-
|
|
85
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
|
|
86
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
84
87
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
|
|
85
88
|
isPermanentlyUnlocked?: "true" | "false" | undefined;
|
|
86
89
|
isAssigned?: "true" | "false" | undefined;
|
|
87
|
-
search?: string | undefined;
|
|
88
|
-
sortBy?: "status" | "serialNumber" | "createdAt" | "updatedAt" | undefined;
|
|
89
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
92
|
query: {
|
|
93
|
-
|
|
93
|
+
search?: string | undefined;
|
|
94
|
+
limit?: number | undefined;
|
|
94
95
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
96
|
+
productId?: string | undefined;
|
|
95
97
|
page?: number | undefined;
|
|
96
|
-
|
|
98
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
|
|
99
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
97
100
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
|
|
98
101
|
isPermanentlyUnlocked?: "true" | "false" | undefined;
|
|
99
102
|
isAssigned?: "true" | "false" | undefined;
|
|
100
|
-
search?: string | undefined;
|
|
101
|
-
sortBy?: "status" | "serialNumber" | "createdAt" | "updatedAt" | undefined;
|
|
102
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
103
103
|
};
|
|
104
104
|
}, {
|
|
105
105
|
query: {
|
|
106
|
-
|
|
106
|
+
search?: string | undefined;
|
|
107
|
+
limit?: string | undefined;
|
|
107
108
|
status?: "locked" | "unlocked" | "disabled" | undefined;
|
|
109
|
+
productId?: string | undefined;
|
|
108
110
|
page?: string | undefined;
|
|
109
|
-
|
|
111
|
+
sortBy?: "createdAt" | "updatedAt" | "status" | "serialNumber" | undefined;
|
|
112
|
+
sortOrder?: "DESC" | "ASC" | undefined;
|
|
110
113
|
dedicatedUser?: "PASSENGER" | "RIDER" | "N/A" | undefined;
|
|
111
114
|
isPermanentlyUnlocked?: "true" | "false" | undefined;
|
|
112
115
|
isAssigned?: "true" | "false" | undefined;
|
|
113
|
-
search?: string | undefined;
|
|
114
|
-
sortBy?: "status" | "serialNumber" | "createdAt" | "updatedAt" | undefined;
|
|
115
|
-
sortOrder?: "ASC" | "DESC" | undefined;
|
|
116
116
|
};
|
|
117
117
|
}>;
|
|
118
118
|
export declare const deleteDevicesByPairsSchema: z.ZodObject<{
|
|
@@ -160,32 +160,32 @@ export declare const lockDevicesSchema: z.ZodObject<{
|
|
|
160
160
|
pairIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
161
161
|
serialNumbers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
162
162
|
}, "strip", z.ZodTypeAny, {
|
|
163
|
-
pairIds?: string[] | undefined;
|
|
164
163
|
reason?: string | undefined;
|
|
164
|
+
pairIds?: string[] | undefined;
|
|
165
165
|
serialNumbers?: string[] | undefined;
|
|
166
166
|
}, {
|
|
167
|
-
pairIds?: string[] | undefined;
|
|
168
167
|
reason?: string | undefined;
|
|
168
|
+
pairIds?: string[] | undefined;
|
|
169
169
|
serialNumbers?: string[] | undefined;
|
|
170
170
|
}>, {
|
|
171
|
-
pairIds?: string[] | undefined;
|
|
172
171
|
reason?: string | undefined;
|
|
172
|
+
pairIds?: string[] | undefined;
|
|
173
173
|
serialNumbers?: string[] | undefined;
|
|
174
174
|
}, {
|
|
175
|
-
pairIds?: string[] | undefined;
|
|
176
175
|
reason?: string | undefined;
|
|
176
|
+
pairIds?: string[] | undefined;
|
|
177
177
|
serialNumbers?: string[] | undefined;
|
|
178
178
|
}>;
|
|
179
179
|
}, "strip", z.ZodTypeAny, {
|
|
180
180
|
body: {
|
|
181
|
-
pairIds?: string[] | undefined;
|
|
182
181
|
reason?: string | undefined;
|
|
182
|
+
pairIds?: string[] | undefined;
|
|
183
183
|
serialNumbers?: string[] | undefined;
|
|
184
184
|
};
|
|
185
185
|
}, {
|
|
186
186
|
body: {
|
|
187
|
-
pairIds?: string[] | undefined;
|
|
188
187
|
reason?: string | undefined;
|
|
188
|
+
pairIds?: string[] | undefined;
|
|
189
189
|
serialNumbers?: string[] | undefined;
|
|
190
190
|
};
|
|
191
191
|
}>;
|
|
@@ -335,8 +335,8 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
335
335
|
createdBefore: z.ZodOptional<z.ZodString>;
|
|
336
336
|
createdAfter: z.ZodOptional<z.ZodString>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
productId?: string | string[] | undefined;
|
|
339
338
|
status?: string | string[] | undefined;
|
|
339
|
+
productId?: string | string[] | undefined;
|
|
340
340
|
dedicatedUser?: string | string[] | undefined;
|
|
341
341
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
342
342
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -345,8 +345,8 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
345
345
|
createdBefore?: string | undefined;
|
|
346
346
|
createdAfter?: string | undefined;
|
|
347
347
|
}, {
|
|
348
|
-
productId?: string | string[] | undefined;
|
|
349
348
|
status?: string | string[] | undefined;
|
|
349
|
+
productId?: string | string[] | undefined;
|
|
350
350
|
dedicatedUser?: string | string[] | undefined;
|
|
351
351
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
352
352
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -363,25 +363,32 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
363
363
|
activatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
365
|
status?: string | undefined;
|
|
366
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
366
367
|
dedicatedUser?: string | undefined;
|
|
367
368
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
368
|
-
devicePaymentPlanId?: string | null | undefined;
|
|
369
369
|
activatedAt?: string | null | undefined;
|
|
370
370
|
}, {
|
|
371
371
|
status?: string | undefined;
|
|
372
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
372
373
|
dedicatedUser?: string | undefined;
|
|
373
374
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
374
|
-
devicePaymentPlanId?: string | null | undefined;
|
|
375
375
|
activatedAt?: string | null | undefined;
|
|
376
376
|
}>>;
|
|
377
377
|
batchSize: z.ZodOptional<z.ZodNumber>;
|
|
378
378
|
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
379
379
|
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
update?: {
|
|
381
|
+
status?: string | undefined;
|
|
382
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
383
|
+
dedicatedUser?: string | undefined;
|
|
384
|
+
isPermanentlyUnlocked?: boolean | undefined;
|
|
385
|
+
activatedAt?: string | null | undefined;
|
|
386
|
+
} | undefined;
|
|
380
387
|
batchSize?: number | undefined;
|
|
381
388
|
maxRetries?: number | undefined;
|
|
382
389
|
condition?: {
|
|
383
|
-
productId?: string | string[] | undefined;
|
|
384
390
|
status?: string | string[] | undefined;
|
|
391
|
+
productId?: string | string[] | undefined;
|
|
385
392
|
dedicatedUser?: string | string[] | undefined;
|
|
386
393
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
387
394
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -390,19 +397,19 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
390
397
|
createdBefore?: string | undefined;
|
|
391
398
|
createdAfter?: string | undefined;
|
|
392
399
|
} | undefined;
|
|
400
|
+
}, {
|
|
393
401
|
update?: {
|
|
394
402
|
status?: string | undefined;
|
|
403
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
395
404
|
dedicatedUser?: string | undefined;
|
|
396
405
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
397
|
-
devicePaymentPlanId?: string | null | undefined;
|
|
398
406
|
activatedAt?: string | null | undefined;
|
|
399
407
|
} | undefined;
|
|
400
|
-
}, {
|
|
401
408
|
batchSize?: number | undefined;
|
|
402
409
|
maxRetries?: number | undefined;
|
|
403
410
|
condition?: {
|
|
404
|
-
productId?: string | string[] | undefined;
|
|
405
411
|
status?: string | string[] | undefined;
|
|
412
|
+
productId?: string | string[] | undefined;
|
|
406
413
|
dedicatedUser?: string | string[] | undefined;
|
|
407
414
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
408
415
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -411,21 +418,21 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
411
418
|
createdBefore?: string | undefined;
|
|
412
419
|
createdAfter?: string | undefined;
|
|
413
420
|
} | undefined;
|
|
421
|
+
}>;
|
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
|
+
body: {
|
|
414
424
|
update?: {
|
|
415
425
|
status?: string | undefined;
|
|
426
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
416
427
|
dedicatedUser?: string | undefined;
|
|
417
428
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
418
|
-
devicePaymentPlanId?: string | null | undefined;
|
|
419
429
|
activatedAt?: string | null | undefined;
|
|
420
430
|
} | undefined;
|
|
421
|
-
}>;
|
|
422
|
-
}, "strip", z.ZodTypeAny, {
|
|
423
|
-
body: {
|
|
424
431
|
batchSize?: number | undefined;
|
|
425
432
|
maxRetries?: number | undefined;
|
|
426
433
|
condition?: {
|
|
427
|
-
productId?: string | string[] | undefined;
|
|
428
434
|
status?: string | string[] | undefined;
|
|
435
|
+
productId?: string | string[] | undefined;
|
|
429
436
|
dedicatedUser?: string | string[] | undefined;
|
|
430
437
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
431
438
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -434,21 +441,21 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
434
441
|
createdBefore?: string | undefined;
|
|
435
442
|
createdAfter?: string | undefined;
|
|
436
443
|
} | undefined;
|
|
444
|
+
};
|
|
445
|
+
}, {
|
|
446
|
+
body: {
|
|
437
447
|
update?: {
|
|
438
448
|
status?: string | undefined;
|
|
449
|
+
devicePaymentPlanId?: string | null | undefined;
|
|
439
450
|
dedicatedUser?: string | undefined;
|
|
440
451
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
441
|
-
devicePaymentPlanId?: string | null | undefined;
|
|
442
452
|
activatedAt?: string | null | undefined;
|
|
443
453
|
} | undefined;
|
|
444
|
-
};
|
|
445
|
-
}, {
|
|
446
|
-
body: {
|
|
447
454
|
batchSize?: number | undefined;
|
|
448
455
|
maxRetries?: number | undefined;
|
|
449
456
|
condition?: {
|
|
450
|
-
productId?: string | string[] | undefined;
|
|
451
457
|
status?: string | string[] | undefined;
|
|
458
|
+
productId?: string | string[] | undefined;
|
|
452
459
|
dedicatedUser?: string | string[] | undefined;
|
|
453
460
|
isPermanentlyUnlocked?: boolean | undefined;
|
|
454
461
|
excludeStatus?: string | string[] | undefined;
|
|
@@ -457,12 +464,5 @@ export declare const customDeviceResetSchema: z.ZodObject<{
|
|
|
457
464
|
createdBefore?: string | undefined;
|
|
458
465
|
createdAfter?: string | undefined;
|
|
459
466
|
} | 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;
|
|
467
467
|
};
|
|
468
468
|
}>;
|