aivilife-contracts 1.0.0
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/README.md +73 -0
- package/dist/auth/index.d.mts +2 -0
- package/dist/auth/index.d.ts +2 -0
- package/dist/auth/index.js +86 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/index.mjs +80 -0
- package/dist/auth/index.mjs.map +1 -0
- package/dist/index-BexwaaJv.d.mts +59 -0
- package/dist/index-BexwaaJv.d.ts +59 -0
- package/dist/index.d.mts +333 -0
- package/dist/index.d.ts +333 -0
- package/dist/index.js +291 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +243 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +38 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { U as UserRole } from './index-BexwaaJv.mjs';
|
|
3
|
+
export { A as AuthUser, a as AuthUserSchema, R as RefreshResponse, b as RefreshResponseSchema, S as SignInRequest, c as SignInRequestSchema, d as SignInResponse, e as SignInResponseSchema, f as SignUpRequest, g as SignUpRequestSchema } from './index-BexwaaJv.mjs';
|
|
4
|
+
|
|
5
|
+
declare const PageSchema: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
6
|
+
declare const LimitSchema: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
7
|
+
declare const SortOrderSchema: z.ZodDefault<z.ZodEnum<{
|
|
8
|
+
asc: "asc";
|
|
9
|
+
desc: "desc";
|
|
10
|
+
}>>;
|
|
11
|
+
declare const PaginationQuerySchema: z.ZodObject<{
|
|
12
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
13
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
|
|
16
|
+
type PaginationQuery = z.infer<typeof PaginationQuerySchema>;
|
|
17
|
+
type SortOrder = z.infer<typeof SortOrderSchema>;
|
|
18
|
+
type PaginatedResponseMeta = {
|
|
19
|
+
page: number;
|
|
20
|
+
limit: number;
|
|
21
|
+
total: number;
|
|
22
|
+
pageCount: number;
|
|
23
|
+
};
|
|
24
|
+
type PaginatedResponse<T> = {
|
|
25
|
+
items: T[];
|
|
26
|
+
meta: PaginatedResponseMeta;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
declare const DateFromSchema: z.ZodOptional<z.ZodString>;
|
|
30
|
+
declare const DateToSchema: z.ZodOptional<z.ZodString>;
|
|
31
|
+
declare const SearchSchema: z.ZodOptional<z.ZodString>;
|
|
32
|
+
declare const BaseListQuerySchema: z.ZodObject<{
|
|
33
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
34
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
35
|
+
search: z.ZodOptional<z.ZodString>;
|
|
36
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
37
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
38
|
+
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
39
|
+
asc: "asc";
|
|
40
|
+
desc: "desc";
|
|
41
|
+
}>>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
|
|
44
|
+
type BaseListQuery = z.infer<typeof BaseListQuerySchema>;
|
|
45
|
+
|
|
46
|
+
declare const UserSchema: z.ZodObject<{
|
|
47
|
+
id: z.ZodNumber;
|
|
48
|
+
firstName: z.ZodString;
|
|
49
|
+
lastName: z.ZodString;
|
|
50
|
+
email: z.ZodEmail;
|
|
51
|
+
phoneNumber: z.ZodString;
|
|
52
|
+
login: z.ZodString;
|
|
53
|
+
uuid: z.ZodString;
|
|
54
|
+
isActive: z.ZodBoolean;
|
|
55
|
+
isEmailVerified: z.ZodBoolean;
|
|
56
|
+
isPhoneVerified: z.ZodBoolean;
|
|
57
|
+
countryCode: z.ZodString;
|
|
58
|
+
country: z.ZodString;
|
|
59
|
+
city: z.ZodString;
|
|
60
|
+
role: z.ZodEnum<typeof UserRole>;
|
|
61
|
+
createdAt: z.ZodISODateTime;
|
|
62
|
+
updatedAt: z.ZodISODateTime;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
declare const CreateUserRequestSchema: z.ZodObject<{
|
|
65
|
+
firstName: z.ZodString;
|
|
66
|
+
lastName: z.ZodString;
|
|
67
|
+
email: z.ZodEmail;
|
|
68
|
+
phoneNumber: z.ZodString;
|
|
69
|
+
login: z.ZodString;
|
|
70
|
+
password: z.ZodString;
|
|
71
|
+
countryCode: z.ZodString;
|
|
72
|
+
country: z.ZodString;
|
|
73
|
+
city: z.ZodString;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
declare const UserListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
76
|
+
id: z.ZodNumber;
|
|
77
|
+
firstName: z.ZodString;
|
|
78
|
+
lastName: z.ZodString;
|
|
79
|
+
email: z.ZodEmail;
|
|
80
|
+
phoneNumber: z.ZodString;
|
|
81
|
+
login: z.ZodString;
|
|
82
|
+
uuid: z.ZodString;
|
|
83
|
+
isActive: z.ZodBoolean;
|
|
84
|
+
isEmailVerified: z.ZodBoolean;
|
|
85
|
+
isPhoneVerified: z.ZodBoolean;
|
|
86
|
+
countryCode: z.ZodString;
|
|
87
|
+
country: z.ZodString;
|
|
88
|
+
city: z.ZodString;
|
|
89
|
+
role: z.ZodEnum<typeof UserRole>;
|
|
90
|
+
createdAt: z.ZodISODateTime;
|
|
91
|
+
updatedAt: z.ZodISODateTime;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
|
|
94
|
+
type UserCreateRequest = z.infer<typeof CreateUserRequestSchema>;
|
|
95
|
+
type UserResponse = z.infer<typeof UserSchema>;
|
|
96
|
+
type UserListResponse = z.infer<typeof UserListResponseSchema>;
|
|
97
|
+
|
|
98
|
+
declare enum WalletCurrency {
|
|
99
|
+
PV = "PV",
|
|
100
|
+
MONEY = "MONEY"
|
|
101
|
+
}
|
|
102
|
+
declare enum WalletStatus {
|
|
103
|
+
ACTIVE = "ACTIVE",
|
|
104
|
+
BLOCKED = "BLOCKED",
|
|
105
|
+
ARCHIVED = "ARCHIVED"
|
|
106
|
+
}
|
|
107
|
+
declare enum WalletType {
|
|
108
|
+
MAIN = "MAIN",
|
|
109
|
+
BONUS = "BONUS",
|
|
110
|
+
CASHBACK = "CASHBACK",
|
|
111
|
+
PREMIUM = "PREMIUM"
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare const WalletTypeSchema: z.ZodEnum<typeof WalletType>;
|
|
115
|
+
declare const WalletStatusSchema: z.ZodEnum<typeof WalletStatus>;
|
|
116
|
+
declare const WalletCurrencySchema: z.ZodEnum<typeof WalletCurrency>;
|
|
117
|
+
declare const WalletSchema: z.ZodObject<{
|
|
118
|
+
id: z.ZodNumber;
|
|
119
|
+
userId: z.ZodNumber;
|
|
120
|
+
type: z.ZodEnum<typeof WalletType>;
|
|
121
|
+
balance: z.ZodString;
|
|
122
|
+
blockedBalance: z.ZodString;
|
|
123
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
124
|
+
status: z.ZodEnum<typeof WalletStatus>;
|
|
125
|
+
createdAt: z.ZodString;
|
|
126
|
+
updatedAt: z.ZodString;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
declare const WalletListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
129
|
+
id: z.ZodNumber;
|
|
130
|
+
userId: z.ZodNumber;
|
|
131
|
+
type: z.ZodEnum<typeof WalletType>;
|
|
132
|
+
balance: z.ZodString;
|
|
133
|
+
blockedBalance: z.ZodString;
|
|
134
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
135
|
+
status: z.ZodEnum<typeof WalletStatus>;
|
|
136
|
+
createdAt: z.ZodString;
|
|
137
|
+
updatedAt: z.ZodString;
|
|
138
|
+
}, z.core.$strip>>;
|
|
139
|
+
declare const GetUserWalletsParamsSchema: z.ZodObject<{
|
|
140
|
+
userId: z.ZodCoercedNumber<unknown>;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
declare const GetUserWalletByTypeParamsSchema: z.ZodObject<{
|
|
143
|
+
userId: z.ZodCoercedNumber<unknown>;
|
|
144
|
+
type: z.ZodEnum<typeof WalletType>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
|
|
147
|
+
type WalletResponse = z.infer<typeof WalletSchema>;
|
|
148
|
+
type WalletListResponse = z.infer<typeof WalletListResponseSchema>;
|
|
149
|
+
type GetUserWalletsParams = z.infer<typeof GetUserWalletsParamsSchema>;
|
|
150
|
+
type GetUserWalletByTypeParams = z.infer<typeof GetUserWalletByTypeParamsSchema>;
|
|
151
|
+
|
|
152
|
+
declare enum WalletTransactionDirection {
|
|
153
|
+
CREDIT = "CREDIT",
|
|
154
|
+
DEBIT = "DEBIT"
|
|
155
|
+
}
|
|
156
|
+
declare enum WalletTransactionStatus {
|
|
157
|
+
COMPLETED = "COMPLETED",
|
|
158
|
+
FAILED = "FAILED"
|
|
159
|
+
}
|
|
160
|
+
declare enum WalletTransactionReason {
|
|
161
|
+
REFERRAL_BONUS = "REFERRAL_BONUS",
|
|
162
|
+
BINARY_BONUS = "BINARY_BONUS",
|
|
163
|
+
MATCHING_BONUS = "MATCHING_BONUS",
|
|
164
|
+
STATUS_BONUS = "STATUS_BONUS",
|
|
165
|
+
EXTRA_BONUS = "EXTRA_BONUS",
|
|
166
|
+
STRUCTURE_BONUS = "STRUCTURE_BONUS",
|
|
167
|
+
PRODUCT_PURCHASE = "PRODUCT_PURCHASE",
|
|
168
|
+
PLAN_PURCHASE = "PLAN_PURCHASE",
|
|
169
|
+
WITHDRAWAL = "WITHDRAWAL",
|
|
170
|
+
TRANSFER_IN = "TRANSFER_IN",
|
|
171
|
+
TRANSFER_OUT = "TRANSFER_OUT",
|
|
172
|
+
REFUND = "REFUND",
|
|
173
|
+
EXPIRATION = "EXPIRATION"
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
declare const MoneyAmountSchema: z.ZodString;
|
|
177
|
+
declare const WalletTransactionDirectionSchema: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
178
|
+
declare const WalletTransactionStatusSchema: z.ZodEnum<typeof WalletTransactionStatus>;
|
|
179
|
+
declare const WalletTransactionReasonSchema: z.ZodEnum<typeof WalletTransactionReason>;
|
|
180
|
+
declare const WalletTransactionSourceUserSchema: z.ZodObject<{
|
|
181
|
+
id: z.ZodNumber;
|
|
182
|
+
login: z.ZodNullable<z.ZodString>;
|
|
183
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
declare const WalletTransactionSchema: z.ZodObject<{
|
|
186
|
+
id: z.ZodNumber;
|
|
187
|
+
walletId: z.ZodNumber;
|
|
188
|
+
userId: z.ZodNumber;
|
|
189
|
+
walletType: z.ZodEnum<typeof WalletType>;
|
|
190
|
+
direction: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
191
|
+
reason: z.ZodEnum<typeof WalletTransactionReason>;
|
|
192
|
+
status: z.ZodEnum<typeof WalletTransactionStatus>;
|
|
193
|
+
amount: z.ZodString;
|
|
194
|
+
balanceBefore: z.ZodString;
|
|
195
|
+
balanceAfter: z.ZodString;
|
|
196
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
197
|
+
referenceType: z.ZodNullable<z.ZodString>;
|
|
198
|
+
referenceId: z.ZodNullable<z.ZodString>;
|
|
199
|
+
sourceUserId: z.ZodNullable<z.ZodNumber>;
|
|
200
|
+
initiatorUserId: z.ZodNullable<z.ZodNumber>;
|
|
201
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
202
|
+
createdAt: z.ZodString;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
declare const WalletTransactionDetailsSchema: z.ZodObject<{
|
|
205
|
+
id: z.ZodNumber;
|
|
206
|
+
walletId: z.ZodNumber;
|
|
207
|
+
userId: z.ZodNumber;
|
|
208
|
+
walletType: z.ZodEnum<typeof WalletType>;
|
|
209
|
+
direction: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
210
|
+
reason: z.ZodEnum<typeof WalletTransactionReason>;
|
|
211
|
+
status: z.ZodEnum<typeof WalletTransactionStatus>;
|
|
212
|
+
amount: z.ZodString;
|
|
213
|
+
balanceBefore: z.ZodString;
|
|
214
|
+
balanceAfter: z.ZodString;
|
|
215
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
216
|
+
referenceType: z.ZodNullable<z.ZodString>;
|
|
217
|
+
referenceId: z.ZodNullable<z.ZodString>;
|
|
218
|
+
sourceUserId: z.ZodNullable<z.ZodNumber>;
|
|
219
|
+
initiatorUserId: z.ZodNullable<z.ZodNumber>;
|
|
220
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
221
|
+
createdAt: z.ZodString;
|
|
222
|
+
sourceUser: z.ZodNullable<z.ZodObject<{
|
|
223
|
+
id: z.ZodNumber;
|
|
224
|
+
login: z.ZodNullable<z.ZodString>;
|
|
225
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
226
|
+
}, z.core.$strip>>;
|
|
227
|
+
}, z.core.$strip>;
|
|
228
|
+
declare const CreateWalletTransactionRequestSchema: z.ZodObject<{
|
|
229
|
+
userId: z.ZodNumber;
|
|
230
|
+
walletType: z.ZodEnum<typeof WalletType>;
|
|
231
|
+
direction: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
232
|
+
reason: z.ZodEnum<typeof WalletTransactionReason>;
|
|
233
|
+
amount: z.ZodString;
|
|
234
|
+
referenceType: z.ZodOptional<z.ZodString>;
|
|
235
|
+
referenceId: z.ZodOptional<z.ZodString>;
|
|
236
|
+
sourceUserId: z.ZodOptional<z.ZodNumber>;
|
|
237
|
+
initiatorUserId: z.ZodOptional<z.ZodNumber>;
|
|
238
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
239
|
+
}, z.core.$strip>;
|
|
240
|
+
declare const WalletTransactionsListQuerySchema: z.ZodObject<{
|
|
241
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
242
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
243
|
+
search: z.ZodOptional<z.ZodString>;
|
|
244
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
245
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
246
|
+
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
247
|
+
asc: "asc";
|
|
248
|
+
desc: "desc";
|
|
249
|
+
}>>>;
|
|
250
|
+
walletType: z.ZodOptional<z.ZodEnum<typeof WalletType>>;
|
|
251
|
+
direction: z.ZodOptional<z.ZodEnum<typeof WalletTransactionDirection>>;
|
|
252
|
+
reason: z.ZodOptional<z.ZodEnum<typeof WalletTransactionReason>>;
|
|
253
|
+
}, z.core.$strip>;
|
|
254
|
+
declare const WalletTransactionListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
255
|
+
id: z.ZodNumber;
|
|
256
|
+
walletId: z.ZodNumber;
|
|
257
|
+
userId: z.ZodNumber;
|
|
258
|
+
walletType: z.ZodEnum<typeof WalletType>;
|
|
259
|
+
direction: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
260
|
+
reason: z.ZodEnum<typeof WalletTransactionReason>;
|
|
261
|
+
status: z.ZodEnum<typeof WalletTransactionStatus>;
|
|
262
|
+
amount: z.ZodString;
|
|
263
|
+
balanceBefore: z.ZodString;
|
|
264
|
+
balanceAfter: z.ZodString;
|
|
265
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
266
|
+
referenceType: z.ZodNullable<z.ZodString>;
|
|
267
|
+
referenceId: z.ZodNullable<z.ZodString>;
|
|
268
|
+
sourceUserId: z.ZodNullable<z.ZodNumber>;
|
|
269
|
+
initiatorUserId: z.ZodNullable<z.ZodNumber>;
|
|
270
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
271
|
+
createdAt: z.ZodString;
|
|
272
|
+
}, z.core.$strip>>;
|
|
273
|
+
declare const WalletTransactionDetailsListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
274
|
+
id: z.ZodNumber;
|
|
275
|
+
walletId: z.ZodNumber;
|
|
276
|
+
userId: z.ZodNumber;
|
|
277
|
+
walletType: z.ZodEnum<typeof WalletType>;
|
|
278
|
+
direction: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
279
|
+
reason: z.ZodEnum<typeof WalletTransactionReason>;
|
|
280
|
+
status: z.ZodEnum<typeof WalletTransactionStatus>;
|
|
281
|
+
amount: z.ZodString;
|
|
282
|
+
balanceBefore: z.ZodString;
|
|
283
|
+
balanceAfter: z.ZodString;
|
|
284
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
285
|
+
referenceType: z.ZodNullable<z.ZodString>;
|
|
286
|
+
referenceId: z.ZodNullable<z.ZodString>;
|
|
287
|
+
sourceUserId: z.ZodNullable<z.ZodNumber>;
|
|
288
|
+
initiatorUserId: z.ZodNullable<z.ZodNumber>;
|
|
289
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
290
|
+
createdAt: z.ZodString;
|
|
291
|
+
sourceUser: z.ZodNullable<z.ZodObject<{
|
|
292
|
+
id: z.ZodNumber;
|
|
293
|
+
login: z.ZodNullable<z.ZodString>;
|
|
294
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
295
|
+
}, z.core.$strip>>;
|
|
296
|
+
}, z.core.$strip>>;
|
|
297
|
+
declare const GetUserWalletTransactionsParamsSchema: z.ZodObject<{
|
|
298
|
+
userId: z.ZodCoercedNumber<unknown>;
|
|
299
|
+
}, z.core.$strip>;
|
|
300
|
+
|
|
301
|
+
type WalletTransactionResponse = z.infer<typeof WalletTransactionSchema>;
|
|
302
|
+
type WalletTransactionDetailsResponse = z.infer<typeof WalletTransactionDetailsSchema>;
|
|
303
|
+
type CreateWalletTransactionRequest = z.infer<typeof CreateWalletTransactionRequestSchema>;
|
|
304
|
+
type WalletTransactionsListQuery = z.infer<typeof WalletTransactionsListQuerySchema>;
|
|
305
|
+
|
|
306
|
+
declare const CountryResponseSchema: z.ZodObject<{
|
|
307
|
+
name: z.ZodString;
|
|
308
|
+
code: z.ZodString;
|
|
309
|
+
nativeName: z.ZodString;
|
|
310
|
+
}, z.core.$strip>;
|
|
311
|
+
declare const CityResponseSchema: z.ZodObject<{
|
|
312
|
+
name: z.ZodString;
|
|
313
|
+
nativeName: z.ZodString;
|
|
314
|
+
}, z.core.$strip>;
|
|
315
|
+
declare const GetCitiesQuerySchema: z.ZodObject<{
|
|
316
|
+
countryCode: z.ZodString;
|
|
317
|
+
}, z.core.$strip>;
|
|
318
|
+
declare const CountriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
319
|
+
name: z.ZodString;
|
|
320
|
+
code: z.ZodString;
|
|
321
|
+
nativeName: z.ZodString;
|
|
322
|
+
}, z.core.$strip>>;
|
|
323
|
+
declare const CitiesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
324
|
+
name: z.ZodString;
|
|
325
|
+
nativeName: z.ZodString;
|
|
326
|
+
}, z.core.$strip>>;
|
|
327
|
+
type CountryResponse = z.infer<typeof CountryResponseSchema>;
|
|
328
|
+
type CountriesResponse = z.infer<typeof CountriesResponseSchema>;
|
|
329
|
+
type CityResponse = z.infer<typeof CityResponseSchema>;
|
|
330
|
+
type CitiesResponse = z.infer<typeof CitiesResponseSchema>;
|
|
331
|
+
type GetCitiesQuery = z.infer<typeof GetCitiesQuerySchema>;
|
|
332
|
+
|
|
333
|
+
export { type BaseListQuery, BaseListQuerySchema, type CitiesResponse, CitiesResponseSchema, type CityResponse, CityResponseSchema, type CountriesResponse, CountriesResponseSchema, type CountryResponse, CountryResponseSchema, CreateUserRequestSchema, type CreateWalletTransactionRequest, CreateWalletTransactionRequestSchema, DateFromSchema, DateToSchema, type GetCitiesQuery, GetCitiesQuerySchema, type GetUserWalletByTypeParams, GetUserWalletByTypeParamsSchema, GetUserWalletTransactionsParamsSchema, type GetUserWalletsParams, GetUserWalletsParamsSchema, LimitSchema, MoneyAmountSchema, PageSchema, type PaginatedResponse, type PaginatedResponseMeta, type PaginationQuery, PaginationQuerySchema, SearchSchema, type SortOrder, SortOrderSchema, type UserCreateRequest, type UserListResponse, UserListResponseSchema, type UserResponse, UserRole, UserSchema, WalletCurrency, WalletCurrencySchema, type WalletListResponse, WalletListResponseSchema, type WalletResponse, WalletSchema, WalletStatus, WalletStatusSchema, WalletTransactionDetailsListResponseSchema, type WalletTransactionDetailsResponse, WalletTransactionDetailsSchema, WalletTransactionDirection, WalletTransactionDirectionSchema, WalletTransactionListResponseSchema, WalletTransactionReason, WalletTransactionReasonSchema, type WalletTransactionResponse, WalletTransactionSchema, WalletTransactionSourceUserSchema, WalletTransactionStatus, WalletTransactionStatusSchema, type WalletTransactionsListQuery, WalletTransactionsListQuerySchema, WalletType, WalletTypeSchema };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { U as UserRole } from './index-BexwaaJv.js';
|
|
3
|
+
export { A as AuthUser, a as AuthUserSchema, R as RefreshResponse, b as RefreshResponseSchema, S as SignInRequest, c as SignInRequestSchema, d as SignInResponse, e as SignInResponseSchema, f as SignUpRequest, g as SignUpRequestSchema } from './index-BexwaaJv.js';
|
|
4
|
+
|
|
5
|
+
declare const PageSchema: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
6
|
+
declare const LimitSchema: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
7
|
+
declare const SortOrderSchema: z.ZodDefault<z.ZodEnum<{
|
|
8
|
+
asc: "asc";
|
|
9
|
+
desc: "desc";
|
|
10
|
+
}>>;
|
|
11
|
+
declare const PaginationQuerySchema: z.ZodObject<{
|
|
12
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
13
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
|
|
16
|
+
type PaginationQuery = z.infer<typeof PaginationQuerySchema>;
|
|
17
|
+
type SortOrder = z.infer<typeof SortOrderSchema>;
|
|
18
|
+
type PaginatedResponseMeta = {
|
|
19
|
+
page: number;
|
|
20
|
+
limit: number;
|
|
21
|
+
total: number;
|
|
22
|
+
pageCount: number;
|
|
23
|
+
};
|
|
24
|
+
type PaginatedResponse<T> = {
|
|
25
|
+
items: T[];
|
|
26
|
+
meta: PaginatedResponseMeta;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
declare const DateFromSchema: z.ZodOptional<z.ZodString>;
|
|
30
|
+
declare const DateToSchema: z.ZodOptional<z.ZodString>;
|
|
31
|
+
declare const SearchSchema: z.ZodOptional<z.ZodString>;
|
|
32
|
+
declare const BaseListQuerySchema: z.ZodObject<{
|
|
33
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
34
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
35
|
+
search: z.ZodOptional<z.ZodString>;
|
|
36
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
37
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
38
|
+
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
39
|
+
asc: "asc";
|
|
40
|
+
desc: "desc";
|
|
41
|
+
}>>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
|
|
44
|
+
type BaseListQuery = z.infer<typeof BaseListQuerySchema>;
|
|
45
|
+
|
|
46
|
+
declare const UserSchema: z.ZodObject<{
|
|
47
|
+
id: z.ZodNumber;
|
|
48
|
+
firstName: z.ZodString;
|
|
49
|
+
lastName: z.ZodString;
|
|
50
|
+
email: z.ZodEmail;
|
|
51
|
+
phoneNumber: z.ZodString;
|
|
52
|
+
login: z.ZodString;
|
|
53
|
+
uuid: z.ZodString;
|
|
54
|
+
isActive: z.ZodBoolean;
|
|
55
|
+
isEmailVerified: z.ZodBoolean;
|
|
56
|
+
isPhoneVerified: z.ZodBoolean;
|
|
57
|
+
countryCode: z.ZodString;
|
|
58
|
+
country: z.ZodString;
|
|
59
|
+
city: z.ZodString;
|
|
60
|
+
role: z.ZodEnum<typeof UserRole>;
|
|
61
|
+
createdAt: z.ZodISODateTime;
|
|
62
|
+
updatedAt: z.ZodISODateTime;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
declare const CreateUserRequestSchema: z.ZodObject<{
|
|
65
|
+
firstName: z.ZodString;
|
|
66
|
+
lastName: z.ZodString;
|
|
67
|
+
email: z.ZodEmail;
|
|
68
|
+
phoneNumber: z.ZodString;
|
|
69
|
+
login: z.ZodString;
|
|
70
|
+
password: z.ZodString;
|
|
71
|
+
countryCode: z.ZodString;
|
|
72
|
+
country: z.ZodString;
|
|
73
|
+
city: z.ZodString;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
declare const UserListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
76
|
+
id: z.ZodNumber;
|
|
77
|
+
firstName: z.ZodString;
|
|
78
|
+
lastName: z.ZodString;
|
|
79
|
+
email: z.ZodEmail;
|
|
80
|
+
phoneNumber: z.ZodString;
|
|
81
|
+
login: z.ZodString;
|
|
82
|
+
uuid: z.ZodString;
|
|
83
|
+
isActive: z.ZodBoolean;
|
|
84
|
+
isEmailVerified: z.ZodBoolean;
|
|
85
|
+
isPhoneVerified: z.ZodBoolean;
|
|
86
|
+
countryCode: z.ZodString;
|
|
87
|
+
country: z.ZodString;
|
|
88
|
+
city: z.ZodString;
|
|
89
|
+
role: z.ZodEnum<typeof UserRole>;
|
|
90
|
+
createdAt: z.ZodISODateTime;
|
|
91
|
+
updatedAt: z.ZodISODateTime;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
|
|
94
|
+
type UserCreateRequest = z.infer<typeof CreateUserRequestSchema>;
|
|
95
|
+
type UserResponse = z.infer<typeof UserSchema>;
|
|
96
|
+
type UserListResponse = z.infer<typeof UserListResponseSchema>;
|
|
97
|
+
|
|
98
|
+
declare enum WalletCurrency {
|
|
99
|
+
PV = "PV",
|
|
100
|
+
MONEY = "MONEY"
|
|
101
|
+
}
|
|
102
|
+
declare enum WalletStatus {
|
|
103
|
+
ACTIVE = "ACTIVE",
|
|
104
|
+
BLOCKED = "BLOCKED",
|
|
105
|
+
ARCHIVED = "ARCHIVED"
|
|
106
|
+
}
|
|
107
|
+
declare enum WalletType {
|
|
108
|
+
MAIN = "MAIN",
|
|
109
|
+
BONUS = "BONUS",
|
|
110
|
+
CASHBACK = "CASHBACK",
|
|
111
|
+
PREMIUM = "PREMIUM"
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare const WalletTypeSchema: z.ZodEnum<typeof WalletType>;
|
|
115
|
+
declare const WalletStatusSchema: z.ZodEnum<typeof WalletStatus>;
|
|
116
|
+
declare const WalletCurrencySchema: z.ZodEnum<typeof WalletCurrency>;
|
|
117
|
+
declare const WalletSchema: z.ZodObject<{
|
|
118
|
+
id: z.ZodNumber;
|
|
119
|
+
userId: z.ZodNumber;
|
|
120
|
+
type: z.ZodEnum<typeof WalletType>;
|
|
121
|
+
balance: z.ZodString;
|
|
122
|
+
blockedBalance: z.ZodString;
|
|
123
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
124
|
+
status: z.ZodEnum<typeof WalletStatus>;
|
|
125
|
+
createdAt: z.ZodString;
|
|
126
|
+
updatedAt: z.ZodString;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
declare const WalletListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
129
|
+
id: z.ZodNumber;
|
|
130
|
+
userId: z.ZodNumber;
|
|
131
|
+
type: z.ZodEnum<typeof WalletType>;
|
|
132
|
+
balance: z.ZodString;
|
|
133
|
+
blockedBalance: z.ZodString;
|
|
134
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
135
|
+
status: z.ZodEnum<typeof WalletStatus>;
|
|
136
|
+
createdAt: z.ZodString;
|
|
137
|
+
updatedAt: z.ZodString;
|
|
138
|
+
}, z.core.$strip>>;
|
|
139
|
+
declare const GetUserWalletsParamsSchema: z.ZodObject<{
|
|
140
|
+
userId: z.ZodCoercedNumber<unknown>;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
declare const GetUserWalletByTypeParamsSchema: z.ZodObject<{
|
|
143
|
+
userId: z.ZodCoercedNumber<unknown>;
|
|
144
|
+
type: z.ZodEnum<typeof WalletType>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
|
|
147
|
+
type WalletResponse = z.infer<typeof WalletSchema>;
|
|
148
|
+
type WalletListResponse = z.infer<typeof WalletListResponseSchema>;
|
|
149
|
+
type GetUserWalletsParams = z.infer<typeof GetUserWalletsParamsSchema>;
|
|
150
|
+
type GetUserWalletByTypeParams = z.infer<typeof GetUserWalletByTypeParamsSchema>;
|
|
151
|
+
|
|
152
|
+
declare enum WalletTransactionDirection {
|
|
153
|
+
CREDIT = "CREDIT",
|
|
154
|
+
DEBIT = "DEBIT"
|
|
155
|
+
}
|
|
156
|
+
declare enum WalletTransactionStatus {
|
|
157
|
+
COMPLETED = "COMPLETED",
|
|
158
|
+
FAILED = "FAILED"
|
|
159
|
+
}
|
|
160
|
+
declare enum WalletTransactionReason {
|
|
161
|
+
REFERRAL_BONUS = "REFERRAL_BONUS",
|
|
162
|
+
BINARY_BONUS = "BINARY_BONUS",
|
|
163
|
+
MATCHING_BONUS = "MATCHING_BONUS",
|
|
164
|
+
STATUS_BONUS = "STATUS_BONUS",
|
|
165
|
+
EXTRA_BONUS = "EXTRA_BONUS",
|
|
166
|
+
STRUCTURE_BONUS = "STRUCTURE_BONUS",
|
|
167
|
+
PRODUCT_PURCHASE = "PRODUCT_PURCHASE",
|
|
168
|
+
PLAN_PURCHASE = "PLAN_PURCHASE",
|
|
169
|
+
WITHDRAWAL = "WITHDRAWAL",
|
|
170
|
+
TRANSFER_IN = "TRANSFER_IN",
|
|
171
|
+
TRANSFER_OUT = "TRANSFER_OUT",
|
|
172
|
+
REFUND = "REFUND",
|
|
173
|
+
EXPIRATION = "EXPIRATION"
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
declare const MoneyAmountSchema: z.ZodString;
|
|
177
|
+
declare const WalletTransactionDirectionSchema: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
178
|
+
declare const WalletTransactionStatusSchema: z.ZodEnum<typeof WalletTransactionStatus>;
|
|
179
|
+
declare const WalletTransactionReasonSchema: z.ZodEnum<typeof WalletTransactionReason>;
|
|
180
|
+
declare const WalletTransactionSourceUserSchema: z.ZodObject<{
|
|
181
|
+
id: z.ZodNumber;
|
|
182
|
+
login: z.ZodNullable<z.ZodString>;
|
|
183
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
declare const WalletTransactionSchema: z.ZodObject<{
|
|
186
|
+
id: z.ZodNumber;
|
|
187
|
+
walletId: z.ZodNumber;
|
|
188
|
+
userId: z.ZodNumber;
|
|
189
|
+
walletType: z.ZodEnum<typeof WalletType>;
|
|
190
|
+
direction: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
191
|
+
reason: z.ZodEnum<typeof WalletTransactionReason>;
|
|
192
|
+
status: z.ZodEnum<typeof WalletTransactionStatus>;
|
|
193
|
+
amount: z.ZodString;
|
|
194
|
+
balanceBefore: z.ZodString;
|
|
195
|
+
balanceAfter: z.ZodString;
|
|
196
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
197
|
+
referenceType: z.ZodNullable<z.ZodString>;
|
|
198
|
+
referenceId: z.ZodNullable<z.ZodString>;
|
|
199
|
+
sourceUserId: z.ZodNullable<z.ZodNumber>;
|
|
200
|
+
initiatorUserId: z.ZodNullable<z.ZodNumber>;
|
|
201
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
202
|
+
createdAt: z.ZodString;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
declare const WalletTransactionDetailsSchema: z.ZodObject<{
|
|
205
|
+
id: z.ZodNumber;
|
|
206
|
+
walletId: z.ZodNumber;
|
|
207
|
+
userId: z.ZodNumber;
|
|
208
|
+
walletType: z.ZodEnum<typeof WalletType>;
|
|
209
|
+
direction: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
210
|
+
reason: z.ZodEnum<typeof WalletTransactionReason>;
|
|
211
|
+
status: z.ZodEnum<typeof WalletTransactionStatus>;
|
|
212
|
+
amount: z.ZodString;
|
|
213
|
+
balanceBefore: z.ZodString;
|
|
214
|
+
balanceAfter: z.ZodString;
|
|
215
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
216
|
+
referenceType: z.ZodNullable<z.ZodString>;
|
|
217
|
+
referenceId: z.ZodNullable<z.ZodString>;
|
|
218
|
+
sourceUserId: z.ZodNullable<z.ZodNumber>;
|
|
219
|
+
initiatorUserId: z.ZodNullable<z.ZodNumber>;
|
|
220
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
221
|
+
createdAt: z.ZodString;
|
|
222
|
+
sourceUser: z.ZodNullable<z.ZodObject<{
|
|
223
|
+
id: z.ZodNumber;
|
|
224
|
+
login: z.ZodNullable<z.ZodString>;
|
|
225
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
226
|
+
}, z.core.$strip>>;
|
|
227
|
+
}, z.core.$strip>;
|
|
228
|
+
declare const CreateWalletTransactionRequestSchema: z.ZodObject<{
|
|
229
|
+
userId: z.ZodNumber;
|
|
230
|
+
walletType: z.ZodEnum<typeof WalletType>;
|
|
231
|
+
direction: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
232
|
+
reason: z.ZodEnum<typeof WalletTransactionReason>;
|
|
233
|
+
amount: z.ZodString;
|
|
234
|
+
referenceType: z.ZodOptional<z.ZodString>;
|
|
235
|
+
referenceId: z.ZodOptional<z.ZodString>;
|
|
236
|
+
sourceUserId: z.ZodOptional<z.ZodNumber>;
|
|
237
|
+
initiatorUserId: z.ZodOptional<z.ZodNumber>;
|
|
238
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
239
|
+
}, z.core.$strip>;
|
|
240
|
+
declare const WalletTransactionsListQuerySchema: z.ZodObject<{
|
|
241
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
242
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
243
|
+
search: z.ZodOptional<z.ZodString>;
|
|
244
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
245
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
246
|
+
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
247
|
+
asc: "asc";
|
|
248
|
+
desc: "desc";
|
|
249
|
+
}>>>;
|
|
250
|
+
walletType: z.ZodOptional<z.ZodEnum<typeof WalletType>>;
|
|
251
|
+
direction: z.ZodOptional<z.ZodEnum<typeof WalletTransactionDirection>>;
|
|
252
|
+
reason: z.ZodOptional<z.ZodEnum<typeof WalletTransactionReason>>;
|
|
253
|
+
}, z.core.$strip>;
|
|
254
|
+
declare const WalletTransactionListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
255
|
+
id: z.ZodNumber;
|
|
256
|
+
walletId: z.ZodNumber;
|
|
257
|
+
userId: z.ZodNumber;
|
|
258
|
+
walletType: z.ZodEnum<typeof WalletType>;
|
|
259
|
+
direction: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
260
|
+
reason: z.ZodEnum<typeof WalletTransactionReason>;
|
|
261
|
+
status: z.ZodEnum<typeof WalletTransactionStatus>;
|
|
262
|
+
amount: z.ZodString;
|
|
263
|
+
balanceBefore: z.ZodString;
|
|
264
|
+
balanceAfter: z.ZodString;
|
|
265
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
266
|
+
referenceType: z.ZodNullable<z.ZodString>;
|
|
267
|
+
referenceId: z.ZodNullable<z.ZodString>;
|
|
268
|
+
sourceUserId: z.ZodNullable<z.ZodNumber>;
|
|
269
|
+
initiatorUserId: z.ZodNullable<z.ZodNumber>;
|
|
270
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
271
|
+
createdAt: z.ZodString;
|
|
272
|
+
}, z.core.$strip>>;
|
|
273
|
+
declare const WalletTransactionDetailsListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
274
|
+
id: z.ZodNumber;
|
|
275
|
+
walletId: z.ZodNumber;
|
|
276
|
+
userId: z.ZodNumber;
|
|
277
|
+
walletType: z.ZodEnum<typeof WalletType>;
|
|
278
|
+
direction: z.ZodEnum<typeof WalletTransactionDirection>;
|
|
279
|
+
reason: z.ZodEnum<typeof WalletTransactionReason>;
|
|
280
|
+
status: z.ZodEnum<typeof WalletTransactionStatus>;
|
|
281
|
+
amount: z.ZodString;
|
|
282
|
+
balanceBefore: z.ZodString;
|
|
283
|
+
balanceAfter: z.ZodString;
|
|
284
|
+
currency: z.ZodEnum<typeof WalletCurrency>;
|
|
285
|
+
referenceType: z.ZodNullable<z.ZodString>;
|
|
286
|
+
referenceId: z.ZodNullable<z.ZodString>;
|
|
287
|
+
sourceUserId: z.ZodNullable<z.ZodNumber>;
|
|
288
|
+
initiatorUserId: z.ZodNullable<z.ZodNumber>;
|
|
289
|
+
comment: z.ZodNullable<z.ZodString>;
|
|
290
|
+
createdAt: z.ZodString;
|
|
291
|
+
sourceUser: z.ZodNullable<z.ZodObject<{
|
|
292
|
+
id: z.ZodNumber;
|
|
293
|
+
login: z.ZodNullable<z.ZodString>;
|
|
294
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
295
|
+
}, z.core.$strip>>;
|
|
296
|
+
}, z.core.$strip>>;
|
|
297
|
+
declare const GetUserWalletTransactionsParamsSchema: z.ZodObject<{
|
|
298
|
+
userId: z.ZodCoercedNumber<unknown>;
|
|
299
|
+
}, z.core.$strip>;
|
|
300
|
+
|
|
301
|
+
type WalletTransactionResponse = z.infer<typeof WalletTransactionSchema>;
|
|
302
|
+
type WalletTransactionDetailsResponse = z.infer<typeof WalletTransactionDetailsSchema>;
|
|
303
|
+
type CreateWalletTransactionRequest = z.infer<typeof CreateWalletTransactionRequestSchema>;
|
|
304
|
+
type WalletTransactionsListQuery = z.infer<typeof WalletTransactionsListQuerySchema>;
|
|
305
|
+
|
|
306
|
+
declare const CountryResponseSchema: z.ZodObject<{
|
|
307
|
+
name: z.ZodString;
|
|
308
|
+
code: z.ZodString;
|
|
309
|
+
nativeName: z.ZodString;
|
|
310
|
+
}, z.core.$strip>;
|
|
311
|
+
declare const CityResponseSchema: z.ZodObject<{
|
|
312
|
+
name: z.ZodString;
|
|
313
|
+
nativeName: z.ZodString;
|
|
314
|
+
}, z.core.$strip>;
|
|
315
|
+
declare const GetCitiesQuerySchema: z.ZodObject<{
|
|
316
|
+
countryCode: z.ZodString;
|
|
317
|
+
}, z.core.$strip>;
|
|
318
|
+
declare const CountriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
319
|
+
name: z.ZodString;
|
|
320
|
+
code: z.ZodString;
|
|
321
|
+
nativeName: z.ZodString;
|
|
322
|
+
}, z.core.$strip>>;
|
|
323
|
+
declare const CitiesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
324
|
+
name: z.ZodString;
|
|
325
|
+
nativeName: z.ZodString;
|
|
326
|
+
}, z.core.$strip>>;
|
|
327
|
+
type CountryResponse = z.infer<typeof CountryResponseSchema>;
|
|
328
|
+
type CountriesResponse = z.infer<typeof CountriesResponseSchema>;
|
|
329
|
+
type CityResponse = z.infer<typeof CityResponseSchema>;
|
|
330
|
+
type CitiesResponse = z.infer<typeof CitiesResponseSchema>;
|
|
331
|
+
type GetCitiesQuery = z.infer<typeof GetCitiesQuerySchema>;
|
|
332
|
+
|
|
333
|
+
export { type BaseListQuery, BaseListQuerySchema, type CitiesResponse, CitiesResponseSchema, type CityResponse, CityResponseSchema, type CountriesResponse, CountriesResponseSchema, type CountryResponse, CountryResponseSchema, CreateUserRequestSchema, type CreateWalletTransactionRequest, CreateWalletTransactionRequestSchema, DateFromSchema, DateToSchema, type GetCitiesQuery, GetCitiesQuerySchema, type GetUserWalletByTypeParams, GetUserWalletByTypeParamsSchema, GetUserWalletTransactionsParamsSchema, type GetUserWalletsParams, GetUserWalletsParamsSchema, LimitSchema, MoneyAmountSchema, PageSchema, type PaginatedResponse, type PaginatedResponseMeta, type PaginationQuery, PaginationQuerySchema, SearchSchema, type SortOrder, SortOrderSchema, type UserCreateRequest, type UserListResponse, UserListResponseSchema, type UserResponse, UserRole, UserSchema, WalletCurrency, WalletCurrencySchema, type WalletListResponse, WalletListResponseSchema, type WalletResponse, WalletSchema, WalletStatus, WalletStatusSchema, WalletTransactionDetailsListResponseSchema, type WalletTransactionDetailsResponse, WalletTransactionDetailsSchema, WalletTransactionDirection, WalletTransactionDirectionSchema, WalletTransactionListResponseSchema, WalletTransactionReason, WalletTransactionReasonSchema, type WalletTransactionResponse, WalletTransactionSchema, WalletTransactionSourceUserSchema, WalletTransactionStatus, WalletTransactionStatusSchema, type WalletTransactionsListQuery, WalletTransactionsListQuerySchema, WalletType, WalletTypeSchema };
|