aivilife-contracts 4.2.0 → 4.3.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 +11 -1
- package/dist/auth/index.js +4 -5
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/index.mjs +4 -5
- package/dist/auth/index.mjs.map +1 -1
- package/dist/catalog/index.d.mts +2 -0
- package/dist/catalog/index.d.ts +2 -0
- package/dist/catalog/index.js +302 -0
- package/dist/catalog/index.js.map +1 -0
- package/dist/catalog/index.mjs +273 -0
- package/dist/catalog/index.mjs.map +1 -0
- package/dist/index-_kOAmyGe.d.mts +585 -0
- package/dist/index-_kOAmyGe.d.ts +585 -0
- package/dist/index.d.mts +2 -25
- package/dist/index.d.ts +2 -25
- package/dist/index.js +264 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +237 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -1
|
@@ -0,0 +1,585 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const PageSchema: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
4
|
+
declare const LimitSchema: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
5
|
+
declare const SortOrderSchema: z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
asc: "asc";
|
|
7
|
+
desc: "desc";
|
|
8
|
+
}>>;
|
|
9
|
+
declare const PaginationQuerySchema: z.ZodObject<{
|
|
10
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
11
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
|
|
14
|
+
type PaginationQuery = z.infer<typeof PaginationQuerySchema>;
|
|
15
|
+
type SortOrder = z.infer<typeof SortOrderSchema>;
|
|
16
|
+
type PaginatedResponseMeta = {
|
|
17
|
+
page: number;
|
|
18
|
+
limit: number;
|
|
19
|
+
total: number;
|
|
20
|
+
pageCount: number;
|
|
21
|
+
};
|
|
22
|
+
type PaginatedResponse<T> = {
|
|
23
|
+
items: T[];
|
|
24
|
+
meta: PaginatedResponseMeta;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
declare const ProductStatus: {
|
|
28
|
+
readonly DRAFT: "DRAFT";
|
|
29
|
+
readonly ACTIVE: "ACTIVE";
|
|
30
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
31
|
+
};
|
|
32
|
+
type ProductStatus = (typeof ProductStatus)[keyof typeof ProductStatus];
|
|
33
|
+
declare const ProductUnit: {
|
|
34
|
+
readonly CAPSULE: "CAPSULE";
|
|
35
|
+
readonly GRAM: "GRAM";
|
|
36
|
+
readonly MILLILITER: "MILLILITER";
|
|
37
|
+
readonly PIECE: "PIECE";
|
|
38
|
+
};
|
|
39
|
+
type ProductUnit = (typeof ProductUnit)[keyof typeof ProductUnit];
|
|
40
|
+
declare const ProductMediaType: {
|
|
41
|
+
readonly IMAGE: "IMAGE";
|
|
42
|
+
readonly UPLOADED_VIDEO: "UPLOADED_VIDEO";
|
|
43
|
+
readonly EXTERNAL_VIDEO: "EXTERNAL_VIDEO";
|
|
44
|
+
};
|
|
45
|
+
type ProductMediaType = (typeof ProductMediaType)[keyof typeof ProductMediaType];
|
|
46
|
+
declare const ProductMediaRole: {
|
|
47
|
+
readonly COVER: "COVER";
|
|
48
|
+
readonly GALLERY: "GALLERY";
|
|
49
|
+
};
|
|
50
|
+
type ProductMediaRole = (typeof ProductMediaRole)[keyof typeof ProductMediaRole];
|
|
51
|
+
|
|
52
|
+
declare const ProductCategoryTranslationInputSchema: z.ZodObject<{
|
|
53
|
+
locale: z.ZodEnum<{
|
|
54
|
+
readonly RU: "ru";
|
|
55
|
+
readonly KK: "kk";
|
|
56
|
+
readonly UZ: "uz";
|
|
57
|
+
readonly EN: "en";
|
|
58
|
+
}>;
|
|
59
|
+
name: z.ZodString;
|
|
60
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
declare const ProductTranslationInputSchema: z.ZodObject<{
|
|
63
|
+
locale: z.ZodEnum<{
|
|
64
|
+
readonly RU: "ru";
|
|
65
|
+
readonly KK: "kk";
|
|
66
|
+
readonly UZ: "uz";
|
|
67
|
+
readonly EN: "en";
|
|
68
|
+
}>;
|
|
69
|
+
name: z.ZodString;
|
|
70
|
+
shortDescription: z.ZodString;
|
|
71
|
+
description: z.ZodString;
|
|
72
|
+
composition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
usageInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
features: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
+
contraindications: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
shelfLife: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
+
packageContents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
+
}, z.core.$strip>;
|
|
79
|
+
declare const CreateProductCategoryRequestSchema: z.ZodObject<{
|
|
80
|
+
code: z.ZodString;
|
|
81
|
+
slug: z.ZodString;
|
|
82
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
83
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
84
|
+
locale: z.ZodEnum<{
|
|
85
|
+
readonly RU: "ru";
|
|
86
|
+
readonly KK: "kk";
|
|
87
|
+
readonly UZ: "uz";
|
|
88
|
+
readonly EN: "en";
|
|
89
|
+
}>;
|
|
90
|
+
name: z.ZodString;
|
|
91
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
declare const UpdateProductCategoryRequestSchema: z.ZodObject<{
|
|
95
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
96
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
98
|
+
locale: z.ZodEnum<{
|
|
99
|
+
readonly RU: "ru";
|
|
100
|
+
readonly KK: "kk";
|
|
101
|
+
readonly UZ: "uz";
|
|
102
|
+
readonly EN: "en";
|
|
103
|
+
}>;
|
|
104
|
+
name: z.ZodString;
|
|
105
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
|
+
}, z.core.$strip>>>;
|
|
107
|
+
version: z.ZodNonOptional<z.ZodOptional<z.ZodNumber>>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
declare const ProductVariantInputSchema: z.ZodObject<{
|
|
110
|
+
sku: z.ZodString;
|
|
111
|
+
barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
112
|
+
quantity: z.ZodString;
|
|
113
|
+
unit: z.ZodEnum<{
|
|
114
|
+
readonly CAPSULE: "CAPSULE";
|
|
115
|
+
readonly GRAM: "GRAM";
|
|
116
|
+
readonly MILLILITER: "MILLILITER";
|
|
117
|
+
readonly PIECE: "PIECE";
|
|
118
|
+
}>;
|
|
119
|
+
netWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
+
priceUsd: z.ZodString;
|
|
121
|
+
pv: z.ZodString;
|
|
122
|
+
shippingWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
|
+
lengthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
|
+
widthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
125
|
+
heightMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
127
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
128
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
129
|
+
}, z.core.$strip>;
|
|
130
|
+
declare const CreateProductRequestSchema: z.ZodObject<{
|
|
131
|
+
code: z.ZodString;
|
|
132
|
+
slug: z.ZodString;
|
|
133
|
+
manufacturerCountryCode: z.ZodString;
|
|
134
|
+
manufacturerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
|
+
sgr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
|
+
isFeatured: z.ZodDefault<z.ZodBoolean>;
|
|
137
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
138
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
139
|
+
locale: z.ZodEnum<{
|
|
140
|
+
readonly RU: "ru";
|
|
141
|
+
readonly KK: "kk";
|
|
142
|
+
readonly UZ: "uz";
|
|
143
|
+
readonly EN: "en";
|
|
144
|
+
}>;
|
|
145
|
+
name: z.ZodString;
|
|
146
|
+
shortDescription: z.ZodString;
|
|
147
|
+
description: z.ZodString;
|
|
148
|
+
composition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
149
|
+
usageInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
150
|
+
features: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
contraindications: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
152
|
+
shelfLife: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
|
+
packageContents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
154
|
+
}, z.core.$strip>>;
|
|
155
|
+
categoryPublicIds: z.ZodArray<z.ZodUUID>;
|
|
156
|
+
primaryCategoryPublicId: z.ZodUUID;
|
|
157
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
158
|
+
sku: z.ZodString;
|
|
159
|
+
barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
160
|
+
quantity: z.ZodString;
|
|
161
|
+
unit: z.ZodEnum<{
|
|
162
|
+
readonly CAPSULE: "CAPSULE";
|
|
163
|
+
readonly GRAM: "GRAM";
|
|
164
|
+
readonly MILLILITER: "MILLILITER";
|
|
165
|
+
readonly PIECE: "PIECE";
|
|
166
|
+
}>;
|
|
167
|
+
netWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
168
|
+
priceUsd: z.ZodString;
|
|
169
|
+
pv: z.ZodString;
|
|
170
|
+
shippingWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
|
+
lengthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
172
|
+
widthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
173
|
+
heightMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
174
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
175
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
176
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
177
|
+
}, z.core.$strip>>;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
declare const UpdateProductRequestSchema: z.ZodObject<{
|
|
180
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
181
|
+
manufacturerCountryCode: z.ZodOptional<z.ZodString>;
|
|
182
|
+
manufacturerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
183
|
+
sgr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
184
|
+
isFeatured: z.ZodOptional<z.ZodBoolean>;
|
|
185
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
|
+
locale: z.ZodEnum<{
|
|
188
|
+
readonly RU: "ru";
|
|
189
|
+
readonly KK: "kk";
|
|
190
|
+
readonly UZ: "uz";
|
|
191
|
+
readonly EN: "en";
|
|
192
|
+
}>;
|
|
193
|
+
name: z.ZodString;
|
|
194
|
+
shortDescription: z.ZodString;
|
|
195
|
+
description: z.ZodString;
|
|
196
|
+
composition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
197
|
+
usageInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
|
+
features: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
|
+
contraindications: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
+
shelfLife: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
201
|
+
packageContents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
|
+
}, z.core.$strip>>>;
|
|
203
|
+
categoryPublicIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
204
|
+
primaryCategoryPublicId: z.ZodOptional<z.ZodUUID>;
|
|
205
|
+
version: z.ZodNonOptional<z.ZodOptional<z.ZodNumber>>;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
declare const CreateProductVariantRequestSchema: z.ZodObject<{
|
|
208
|
+
sku: z.ZodString;
|
|
209
|
+
barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
|
+
quantity: z.ZodString;
|
|
211
|
+
unit: z.ZodEnum<{
|
|
212
|
+
readonly CAPSULE: "CAPSULE";
|
|
213
|
+
readonly GRAM: "GRAM";
|
|
214
|
+
readonly MILLILITER: "MILLILITER";
|
|
215
|
+
readonly PIECE: "PIECE";
|
|
216
|
+
}>;
|
|
217
|
+
netWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
+
priceUsd: z.ZodString;
|
|
219
|
+
pv: z.ZodString;
|
|
220
|
+
shippingWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
|
+
lengthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
|
+
widthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
223
|
+
heightMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
224
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
225
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
226
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
227
|
+
}, z.core.$strip>;
|
|
228
|
+
declare const UpdateProductVariantRequestSchema: z.ZodObject<{
|
|
229
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
230
|
+
barcode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
231
|
+
quantity: z.ZodOptional<z.ZodString>;
|
|
232
|
+
unit: z.ZodOptional<z.ZodEnum<{
|
|
233
|
+
readonly CAPSULE: "CAPSULE";
|
|
234
|
+
readonly GRAM: "GRAM";
|
|
235
|
+
readonly MILLILITER: "MILLILITER";
|
|
236
|
+
readonly PIECE: "PIECE";
|
|
237
|
+
}>>;
|
|
238
|
+
netWeightGrams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
239
|
+
priceUsd: z.ZodOptional<z.ZodString>;
|
|
240
|
+
pv: z.ZodOptional<z.ZodString>;
|
|
241
|
+
shippingWeightGrams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
242
|
+
lengthMm: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
243
|
+
widthMm: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
244
|
+
heightMm: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
245
|
+
isDefault: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
246
|
+
isActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
247
|
+
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
248
|
+
version: z.ZodNumber;
|
|
249
|
+
}, z.core.$strip>;
|
|
250
|
+
declare const ProductPublicIdParamSchema: z.ZodObject<{
|
|
251
|
+
publicId: z.ZodUUID;
|
|
252
|
+
}, z.core.$strip>;
|
|
253
|
+
declare const ProductSlugParamSchema: z.ZodObject<{
|
|
254
|
+
slug: z.ZodString;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
declare const ProductVariantPublicIdParamSchema: z.ZodObject<{
|
|
257
|
+
publicId: z.ZodUUID;
|
|
258
|
+
variantPublicId: z.ZodUUID;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
declare const ProductMediaPublicIdParamSchema: z.ZodObject<{
|
|
261
|
+
publicId: z.ZodUUID;
|
|
262
|
+
mediaPublicId: z.ZodUUID;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
declare const ProductListQuerySchema: z.ZodObject<{
|
|
265
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
266
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
267
|
+
search: z.ZodOptional<z.ZodString>;
|
|
268
|
+
dateFrom: z.ZodOptional<z.ZodString>;
|
|
269
|
+
dateTo: z.ZodOptional<z.ZodString>;
|
|
270
|
+
sortOrder: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
271
|
+
asc: "asc";
|
|
272
|
+
desc: "desc";
|
|
273
|
+
}>>>;
|
|
274
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
275
|
+
readonly DRAFT: "DRAFT";
|
|
276
|
+
readonly ACTIVE: "ACTIVE";
|
|
277
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
278
|
+
}>>;
|
|
279
|
+
category: z.ZodOptional<z.ZodString>;
|
|
280
|
+
featured: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
|
|
281
|
+
}, z.core.$strip>;
|
|
282
|
+
declare const CreateExternalProductVideoRequestSchema: z.ZodObject<{
|
|
283
|
+
url: z.ZodURL;
|
|
284
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
declare const UploadProductImageRequestSchema: z.ZodObject<{
|
|
287
|
+
role: z.ZodDefault<z.ZodEnum<{
|
|
288
|
+
readonly COVER: "COVER";
|
|
289
|
+
readonly GALLERY: "GALLERY";
|
|
290
|
+
}>>;
|
|
291
|
+
sortOrder: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
292
|
+
}, z.core.$strip>;
|
|
293
|
+
declare const UploadProductVideoRequestSchema: z.ZodObject<{
|
|
294
|
+
sortOrder: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
declare const UpdateProductMediaRequestSchema: z.ZodObject<{
|
|
297
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
298
|
+
readonly COVER: "COVER";
|
|
299
|
+
readonly GALLERY: "GALLERY";
|
|
300
|
+
}>>;
|
|
301
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
302
|
+
}, z.core.$strip>;
|
|
303
|
+
declare const ProductCategorySchema: z.ZodObject<{
|
|
304
|
+
publicId: z.ZodUUID;
|
|
305
|
+
code: z.ZodString;
|
|
306
|
+
slug: z.ZodString;
|
|
307
|
+
status: z.ZodEnum<{
|
|
308
|
+
readonly DRAFT: "DRAFT";
|
|
309
|
+
readonly ACTIVE: "ACTIVE";
|
|
310
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
311
|
+
}>;
|
|
312
|
+
sortOrder: z.ZodNumber;
|
|
313
|
+
version: z.ZodNumber;
|
|
314
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
315
|
+
locale: z.ZodEnum<{
|
|
316
|
+
readonly RU: "ru";
|
|
317
|
+
readonly KK: "kk";
|
|
318
|
+
readonly UZ: "uz";
|
|
319
|
+
readonly EN: "en";
|
|
320
|
+
}>;
|
|
321
|
+
name: z.ZodString;
|
|
322
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
323
|
+
}, z.core.$strip>>;
|
|
324
|
+
createdAt: z.ZodString;
|
|
325
|
+
updatedAt: z.ZodString;
|
|
326
|
+
}, z.core.$strip>;
|
|
327
|
+
declare const ProductVariantSchema: z.ZodObject<{
|
|
328
|
+
sku: z.ZodString;
|
|
329
|
+
barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
330
|
+
quantity: z.ZodString;
|
|
331
|
+
unit: z.ZodEnum<{
|
|
332
|
+
readonly CAPSULE: "CAPSULE";
|
|
333
|
+
readonly GRAM: "GRAM";
|
|
334
|
+
readonly MILLILITER: "MILLILITER";
|
|
335
|
+
readonly PIECE: "PIECE";
|
|
336
|
+
}>;
|
|
337
|
+
netWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
338
|
+
priceUsd: z.ZodString;
|
|
339
|
+
pv: z.ZodString;
|
|
340
|
+
shippingWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
341
|
+
lengthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
342
|
+
widthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
343
|
+
heightMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
344
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
345
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
346
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
347
|
+
publicId: z.ZodUUID;
|
|
348
|
+
version: z.ZodNumber;
|
|
349
|
+
createdAt: z.ZodString;
|
|
350
|
+
updatedAt: z.ZodString;
|
|
351
|
+
}, z.core.$strip>;
|
|
352
|
+
declare const ProductMediaSchema: z.ZodObject<{
|
|
353
|
+
publicId: z.ZodUUID;
|
|
354
|
+
type: z.ZodEnum<{
|
|
355
|
+
readonly IMAGE: "IMAGE";
|
|
356
|
+
readonly UPLOADED_VIDEO: "UPLOADED_VIDEO";
|
|
357
|
+
readonly EXTERNAL_VIDEO: "EXTERNAL_VIDEO";
|
|
358
|
+
}>;
|
|
359
|
+
role: z.ZodEnum<{
|
|
360
|
+
readonly COVER: "COVER";
|
|
361
|
+
readonly GALLERY: "GALLERY";
|
|
362
|
+
}>;
|
|
363
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
364
|
+
contentUrl: z.ZodNullable<z.ZodString>;
|
|
365
|
+
mimeType: z.ZodNullable<z.ZodString>;
|
|
366
|
+
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
367
|
+
originalName: z.ZodNullable<z.ZodString>;
|
|
368
|
+
sortOrder: z.ZodNumber;
|
|
369
|
+
createdAt: z.ZodString;
|
|
370
|
+
updatedAt: z.ZodString;
|
|
371
|
+
}, z.core.$strip>;
|
|
372
|
+
declare const ProductSchema: z.ZodObject<{
|
|
373
|
+
publicId: z.ZodUUID;
|
|
374
|
+
code: z.ZodString;
|
|
375
|
+
slug: z.ZodString;
|
|
376
|
+
status: z.ZodEnum<{
|
|
377
|
+
readonly DRAFT: "DRAFT";
|
|
378
|
+
readonly ACTIVE: "ACTIVE";
|
|
379
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
380
|
+
}>;
|
|
381
|
+
manufacturerCountryCode: z.ZodString;
|
|
382
|
+
manufacturerName: z.ZodNullable<z.ZodString>;
|
|
383
|
+
sgr: z.ZodNullable<z.ZodString>;
|
|
384
|
+
isFeatured: z.ZodBoolean;
|
|
385
|
+
sortOrder: z.ZodNumber;
|
|
386
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
387
|
+
version: z.ZodNumber;
|
|
388
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
389
|
+
locale: z.ZodEnum<{
|
|
390
|
+
readonly RU: "ru";
|
|
391
|
+
readonly KK: "kk";
|
|
392
|
+
readonly UZ: "uz";
|
|
393
|
+
readonly EN: "en";
|
|
394
|
+
}>;
|
|
395
|
+
name: z.ZodString;
|
|
396
|
+
shortDescription: z.ZodString;
|
|
397
|
+
description: z.ZodString;
|
|
398
|
+
composition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
399
|
+
usageInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
400
|
+
features: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
401
|
+
contraindications: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
402
|
+
shelfLife: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
403
|
+
packageContents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
404
|
+
}, z.core.$strip>>;
|
|
405
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
406
|
+
publicId: z.ZodUUID;
|
|
407
|
+
code: z.ZodString;
|
|
408
|
+
slug: z.ZodString;
|
|
409
|
+
status: z.ZodEnum<{
|
|
410
|
+
readonly DRAFT: "DRAFT";
|
|
411
|
+
readonly ACTIVE: "ACTIVE";
|
|
412
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
413
|
+
}>;
|
|
414
|
+
sortOrder: z.ZodNumber;
|
|
415
|
+
version: z.ZodNumber;
|
|
416
|
+
translations: z.ZodArray<z.ZodObject<{
|
|
417
|
+
locale: z.ZodEnum<{
|
|
418
|
+
readonly RU: "ru";
|
|
419
|
+
readonly KK: "kk";
|
|
420
|
+
readonly UZ: "uz";
|
|
421
|
+
readonly EN: "en";
|
|
422
|
+
}>;
|
|
423
|
+
name: z.ZodString;
|
|
424
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
425
|
+
}, z.core.$strip>>;
|
|
426
|
+
createdAt: z.ZodString;
|
|
427
|
+
updatedAt: z.ZodString;
|
|
428
|
+
}, z.core.$strip>>;
|
|
429
|
+
primaryCategoryPublicId: z.ZodUUID;
|
|
430
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
431
|
+
sku: z.ZodString;
|
|
432
|
+
barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
433
|
+
quantity: z.ZodString;
|
|
434
|
+
unit: z.ZodEnum<{
|
|
435
|
+
readonly CAPSULE: "CAPSULE";
|
|
436
|
+
readonly GRAM: "GRAM";
|
|
437
|
+
readonly MILLILITER: "MILLILITER";
|
|
438
|
+
readonly PIECE: "PIECE";
|
|
439
|
+
}>;
|
|
440
|
+
netWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
441
|
+
priceUsd: z.ZodString;
|
|
442
|
+
pv: z.ZodString;
|
|
443
|
+
shippingWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
444
|
+
lengthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
445
|
+
widthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
446
|
+
heightMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
447
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
448
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
449
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
450
|
+
publicId: z.ZodUUID;
|
|
451
|
+
version: z.ZodNumber;
|
|
452
|
+
createdAt: z.ZodString;
|
|
453
|
+
updatedAt: z.ZodString;
|
|
454
|
+
}, z.core.$strip>>;
|
|
455
|
+
media: z.ZodArray<z.ZodObject<{
|
|
456
|
+
publicId: z.ZodUUID;
|
|
457
|
+
type: z.ZodEnum<{
|
|
458
|
+
readonly IMAGE: "IMAGE";
|
|
459
|
+
readonly UPLOADED_VIDEO: "UPLOADED_VIDEO";
|
|
460
|
+
readonly EXTERNAL_VIDEO: "EXTERNAL_VIDEO";
|
|
461
|
+
}>;
|
|
462
|
+
role: z.ZodEnum<{
|
|
463
|
+
readonly COVER: "COVER";
|
|
464
|
+
readonly GALLERY: "GALLERY";
|
|
465
|
+
}>;
|
|
466
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
467
|
+
contentUrl: z.ZodNullable<z.ZodString>;
|
|
468
|
+
mimeType: z.ZodNullable<z.ZodString>;
|
|
469
|
+
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
470
|
+
originalName: z.ZodNullable<z.ZodString>;
|
|
471
|
+
sortOrder: z.ZodNumber;
|
|
472
|
+
createdAt: z.ZodString;
|
|
473
|
+
updatedAt: z.ZodString;
|
|
474
|
+
}, z.core.$strip>>;
|
|
475
|
+
createdAt: z.ZodString;
|
|
476
|
+
updatedAt: z.ZodString;
|
|
477
|
+
}, z.core.$strip>;
|
|
478
|
+
declare const LocalizedProductCategorySchema: z.ZodObject<{
|
|
479
|
+
publicId: z.ZodUUID;
|
|
480
|
+
code: z.ZodString;
|
|
481
|
+
slug: z.ZodString;
|
|
482
|
+
name: z.ZodString;
|
|
483
|
+
description: z.ZodNullable<z.ZodString>;
|
|
484
|
+
}, z.core.$strip>;
|
|
485
|
+
declare const LocalizedProductSchema: z.ZodObject<{
|
|
486
|
+
sortOrder: z.ZodNumber;
|
|
487
|
+
code: z.ZodString;
|
|
488
|
+
createdAt: z.ZodString;
|
|
489
|
+
updatedAt: z.ZodString;
|
|
490
|
+
status: z.ZodEnum<{
|
|
491
|
+
readonly DRAFT: "DRAFT";
|
|
492
|
+
readonly ACTIVE: "ACTIVE";
|
|
493
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
494
|
+
}>;
|
|
495
|
+
slug: z.ZodString;
|
|
496
|
+
primaryCategoryPublicId: z.ZodUUID;
|
|
497
|
+
manufacturerCountryCode: z.ZodString;
|
|
498
|
+
manufacturerName: z.ZodNullable<z.ZodString>;
|
|
499
|
+
sgr: z.ZodNullable<z.ZodString>;
|
|
500
|
+
isFeatured: z.ZodBoolean;
|
|
501
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
502
|
+
sku: z.ZodString;
|
|
503
|
+
barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
504
|
+
quantity: z.ZodString;
|
|
505
|
+
unit: z.ZodEnum<{
|
|
506
|
+
readonly CAPSULE: "CAPSULE";
|
|
507
|
+
readonly GRAM: "GRAM";
|
|
508
|
+
readonly MILLILITER: "MILLILITER";
|
|
509
|
+
readonly PIECE: "PIECE";
|
|
510
|
+
}>;
|
|
511
|
+
netWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
512
|
+
priceUsd: z.ZodString;
|
|
513
|
+
pv: z.ZodString;
|
|
514
|
+
shippingWeightGrams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
515
|
+
lengthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
516
|
+
widthMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
517
|
+
heightMm: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
518
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
519
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
520
|
+
sortOrder: z.ZodDefault<z.ZodNumber>;
|
|
521
|
+
publicId: z.ZodUUID;
|
|
522
|
+
version: z.ZodNumber;
|
|
523
|
+
createdAt: z.ZodString;
|
|
524
|
+
updatedAt: z.ZodString;
|
|
525
|
+
}, z.core.$strip>>;
|
|
526
|
+
publicId: z.ZodUUID;
|
|
527
|
+
publishedAt: z.ZodNullable<z.ZodString>;
|
|
528
|
+
media: z.ZodArray<z.ZodObject<{
|
|
529
|
+
publicId: z.ZodUUID;
|
|
530
|
+
type: z.ZodEnum<{
|
|
531
|
+
readonly IMAGE: "IMAGE";
|
|
532
|
+
readonly UPLOADED_VIDEO: "UPLOADED_VIDEO";
|
|
533
|
+
readonly EXTERNAL_VIDEO: "EXTERNAL_VIDEO";
|
|
534
|
+
}>;
|
|
535
|
+
role: z.ZodEnum<{
|
|
536
|
+
readonly COVER: "COVER";
|
|
537
|
+
readonly GALLERY: "GALLERY";
|
|
538
|
+
}>;
|
|
539
|
+
externalUrl: z.ZodNullable<z.ZodString>;
|
|
540
|
+
contentUrl: z.ZodNullable<z.ZodString>;
|
|
541
|
+
mimeType: z.ZodNullable<z.ZodString>;
|
|
542
|
+
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
543
|
+
originalName: z.ZodNullable<z.ZodString>;
|
|
544
|
+
sortOrder: z.ZodNumber;
|
|
545
|
+
createdAt: z.ZodString;
|
|
546
|
+
updatedAt: z.ZodString;
|
|
547
|
+
}, z.core.$strip>>;
|
|
548
|
+
name: z.ZodString;
|
|
549
|
+
shortDescription: z.ZodString;
|
|
550
|
+
description: z.ZodString;
|
|
551
|
+
composition: z.ZodNullable<z.ZodString>;
|
|
552
|
+
usageInstructions: z.ZodNullable<z.ZodString>;
|
|
553
|
+
features: z.ZodNullable<z.ZodString>;
|
|
554
|
+
contraindications: z.ZodNullable<z.ZodString>;
|
|
555
|
+
shelfLife: z.ZodNullable<z.ZodString>;
|
|
556
|
+
packageContents: z.ZodNullable<z.ZodString>;
|
|
557
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
558
|
+
publicId: z.ZodUUID;
|
|
559
|
+
code: z.ZodString;
|
|
560
|
+
slug: z.ZodString;
|
|
561
|
+
name: z.ZodString;
|
|
562
|
+
description: z.ZodNullable<z.ZodString>;
|
|
563
|
+
}, z.core.$strip>>;
|
|
564
|
+
}, z.core.$strip>;
|
|
565
|
+
|
|
566
|
+
type CreateProductCategoryRequest = z.infer<typeof CreateProductCategoryRequestSchema>;
|
|
567
|
+
type UpdateProductCategoryRequest = z.infer<typeof UpdateProductCategoryRequestSchema>;
|
|
568
|
+
type CreateProductRequest = z.infer<typeof CreateProductRequestSchema>;
|
|
569
|
+
type UpdateProductRequest = z.infer<typeof UpdateProductRequestSchema>;
|
|
570
|
+
type CreateProductVariantRequest = z.infer<typeof CreateProductVariantRequestSchema>;
|
|
571
|
+
type UpdateProductVariantRequest = z.infer<typeof UpdateProductVariantRequestSchema>;
|
|
572
|
+
type CreateExternalProductVideoRequest = z.infer<typeof CreateExternalProductVideoRequestSchema>;
|
|
573
|
+
type UpdateProductMediaRequest = z.infer<typeof UpdateProductMediaRequestSchema>;
|
|
574
|
+
type ProductListQuery = z.infer<typeof ProductListQuerySchema>;
|
|
575
|
+
type UploadProductImageRequest = z.infer<typeof UploadProductImageRequestSchema>;
|
|
576
|
+
type UploadProductVideoRequest = z.infer<typeof UploadProductVideoRequestSchema>;
|
|
577
|
+
type ProductCategoryResponse = z.infer<typeof ProductCategorySchema>;
|
|
578
|
+
type ProductVariantResponse = z.infer<typeof ProductVariantSchema>;
|
|
579
|
+
type ProductMediaResponse = z.infer<typeof ProductMediaSchema>;
|
|
580
|
+
type ProductResponse = z.infer<typeof ProductSchema>;
|
|
581
|
+
type LocalizedProductResponse = z.infer<typeof LocalizedProductSchema>;
|
|
582
|
+
type ProductListResponse = PaginatedResponse<ProductResponse>;
|
|
583
|
+
type LocalizedProductListResponse = PaginatedResponse<LocalizedProductResponse>;
|
|
584
|
+
|
|
585
|
+
export { UploadProductVideoRequestSchema as $, ProductPublicIdParamSchema as A, type ProductResponse as B, type CreateExternalProductVideoRequest as C, ProductSchema as D, ProductSlugParamSchema as E, ProductStatus as F, ProductTranslationInputSchema as G, ProductUnit as H, ProductVariantInputSchema as I, ProductVariantPublicIdParamSchema as J, type ProductVariantResponse as K, LimitSchema as L, ProductVariantSchema as M, SortOrderSchema as N, UpdateProductCategoryRequestSchema as O, PageSchema as P, type UpdateProductMediaRequest as Q, UpdateProductMediaRequestSchema as R, type SortOrder as S, type UpdateProductRequest as T, type UpdateProductCategoryRequest as U, UpdateProductRequestSchema as V, type UpdateProductVariantRequest as W, UpdateProductVariantRequestSchema as X, type UploadProductImageRequest as Y, UploadProductImageRequestSchema as Z, type UploadProductVideoRequest as _, CreateExternalProductVideoRequestSchema as a, type CreateProductCategoryRequest as b, CreateProductCategoryRequestSchema as c, type CreateProductRequest as d, CreateProductRequestSchema as e, type CreateProductVariantRequest as f, CreateProductVariantRequestSchema as g, LocalizedProductCategorySchema as h, type LocalizedProductListResponse as i, type LocalizedProductResponse as j, LocalizedProductSchema as k, type PaginatedResponse as l, type PaginatedResponseMeta as m, type PaginationQuery as n, PaginationQuerySchema as o, type ProductCategoryResponse as p, ProductCategorySchema as q, ProductCategoryTranslationInputSchema as r, type ProductListQuery as s, ProductListQuerySchema as t, type ProductListResponse as u, ProductMediaPublicIdParamSchema as v, type ProductMediaResponse as w, ProductMediaRole as x, ProductMediaSchema as y, ProductMediaType as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,32 +1,9 @@
|
|
|
1
|
+
export { C as CreateExternalProductVideoRequest, a as CreateExternalProductVideoRequestSchema, b as CreateProductCategoryRequest, c as CreateProductCategoryRequestSchema, d as CreateProductRequest, e as CreateProductRequestSchema, f as CreateProductVariantRequest, g as CreateProductVariantRequestSchema, L as LimitSchema, h as LocalizedProductCategorySchema, i as LocalizedProductListResponse, j as LocalizedProductResponse, k as LocalizedProductSchema, P as PageSchema, l as PaginatedResponse, m as PaginatedResponseMeta, n as PaginationQuery, o as PaginationQuerySchema, p as ProductCategoryResponse, q as ProductCategorySchema, r as ProductCategoryTranslationInputSchema, s as ProductListQuery, t as ProductListQuerySchema, u as ProductListResponse, v as ProductMediaPublicIdParamSchema, w as ProductMediaResponse, x as ProductMediaRole, y as ProductMediaSchema, z as ProductMediaType, A as ProductPublicIdParamSchema, B as ProductResponse, D as ProductSchema, E as ProductSlugParamSchema, F as ProductStatus, G as ProductTranslationInputSchema, H as ProductUnit, I as ProductVariantInputSchema, J as ProductVariantPublicIdParamSchema, K as ProductVariantResponse, M as ProductVariantSchema, S as SortOrder, N as SortOrderSchema, U as UpdateProductCategoryRequest, O as UpdateProductCategoryRequestSchema, Q as UpdateProductMediaRequest, R as UpdateProductMediaRequestSchema, T as UpdateProductRequest, V as UpdateProductRequestSchema, W as UpdateProductVariantRequest, X as UpdateProductVariantRequestSchema, Y as UploadProductImageRequest, Z as UploadProductImageRequestSchema, _ as UploadProductVideoRequest, $ as UploadProductVideoRequestSchema } from './index-_kOAmyGe.mjs';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
import { U as UserRole, B as BinaryBranch } from './marketing.enums-pV5acC3L.mjs';
|
|
3
4
|
export { A as AuthUser, a as AuthUserSchema, b as BinaryBranchSchema, C as ConfirmEmail, c as ConfirmEmailChange, d as ConfirmEmailChangeSchema, e as ConfirmEmailSchema, F as ForgotPassword, f as ForgotPasswordSchema, M as MarketingMemberStatus, g as MarketingMemberStatusSchema, R as RefreshResponse, h as RefreshResponseSchema, i as RegistrationAvailabilityRequest, j as RegistrationAvailabilityRequestSchema, k as RegistrationAvailabilityResponse, l as RegistrationAvailabilityResponseSchema, m as RegistrationEmailSchema, n as RegistrationLoginSchema, o as RegistrationPasswordSchema, p as RegistrationPhoneNumberSchema, q as RequestEmailChange, r as RequestEmailChangeSchema, s as RequestEmailVerification, t as RequestEmailVerificationSchema, u as ResetPassword, v as ResetPasswordSchema, S as SignInRequest, w as SignInRequestSchema, x as SignInResponse, y as SignInResponseSchema, z as SignUpRequest, D as SignUpRequestSchema } from './marketing.enums-pV5acC3L.mjs';
|
|
4
5
|
export { AppLocale, SupportedLocales } from './localization/index.mjs';
|
|
5
6
|
|
|
6
|
-
declare const PageSchema: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
7
|
-
declare const LimitSchema: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
8
|
-
declare const SortOrderSchema: z.ZodDefault<z.ZodEnum<{
|
|
9
|
-
asc: "asc";
|
|
10
|
-
desc: "desc";
|
|
11
|
-
}>>;
|
|
12
|
-
declare const PaginationQuerySchema: z.ZodObject<{
|
|
13
|
-
page: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
14
|
-
limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
|
|
17
|
-
type PaginationQuery = z.infer<typeof PaginationQuerySchema>;
|
|
18
|
-
type SortOrder = z.infer<typeof SortOrderSchema>;
|
|
19
|
-
type PaginatedResponseMeta = {
|
|
20
|
-
page: number;
|
|
21
|
-
limit: number;
|
|
22
|
-
total: number;
|
|
23
|
-
pageCount: number;
|
|
24
|
-
};
|
|
25
|
-
type PaginatedResponse<T> = {
|
|
26
|
-
items: T[];
|
|
27
|
-
meta: PaginatedResponseMeta;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
7
|
declare const DateFromSchema: z.ZodOptional<z.ZodString>;
|
|
31
8
|
declare const DateToSchema: z.ZodOptional<z.ZodString>;
|
|
32
9
|
declare const SearchSchema: z.ZodOptional<z.ZodString>;
|
|
@@ -586,4 +563,4 @@ declare const AppLocaleSchema: z.ZodEnum<{
|
|
|
586
563
|
readonly EN: "en";
|
|
587
564
|
}>;
|
|
588
565
|
|
|
589
|
-
export { AppLocaleSchema, type BaseListQuery, BaseListQuerySchema, BinaryBranch, type ChangePasswordRequest, ChangePasswordRequestSchema, type CitiesResponse, CitiesResponseSchema, type CityResponse, CityResponseSchema, type CountriesResponse, CountriesResponseSchema, type CountryResponse, CountryResponseSchema, type CreateCurrencyRequest, CreateCurrencyRequestSchema, type CreateMarketingInvitationRequest, CreateMarketingInvitationRequestSchema, type CreateMarketingInvitationResponse, CreateMarketingInvitationResponseSchema, CreateUserRequestSchema, type CreateWalletTransactionRequest, CreateWalletTransactionRequestSchema, type Currency, CurrencyCodeParamSchema, CurrencyCodeSchema, type CurrencyListResponse, CurrencyListResponseSchema, type CurrencyResponse, CurrencySchema, DateFromSchema, DateToSchema, type DbId, DbIdSchema, type ExchangeRate, type ExchangeRateListResponse, ExchangeRateListResponseSchema, type ExchangeRateResponse, ExchangeRateSchema, ExchangeRateSourceSchema, type FileIdParam, FileIdParamSchema, type GetCitiesQuery, GetCitiesQuerySchema, type GetUserWalletByTypeParams, GetUserWalletByTypeParamsSchema, GetUserWalletTransactionsParamsSchema, type GetUserWalletsParams, GetUserWalletsParamsSchema, INT4_MAX, type InvitationMarketingPlacement, InvitationMarketingPlacementSchema,
|
|
566
|
+
export { AppLocaleSchema, type BaseListQuery, BaseListQuerySchema, BinaryBranch, type ChangePasswordRequest, ChangePasswordRequestSchema, type CitiesResponse, CitiesResponseSchema, type CityResponse, CityResponseSchema, type CountriesResponse, CountriesResponseSchema, type CountryResponse, CountryResponseSchema, type CreateCurrencyRequest, CreateCurrencyRequestSchema, type CreateMarketingInvitationRequest, CreateMarketingInvitationRequestSchema, type CreateMarketingInvitationResponse, CreateMarketingInvitationResponseSchema, CreateUserRequestSchema, type CreateWalletTransactionRequest, CreateWalletTransactionRequestSchema, type Currency, CurrencyCodeParamSchema, CurrencyCodeSchema, type CurrencyListResponse, CurrencyListResponseSchema, type CurrencyResponse, CurrencySchema, DateFromSchema, DateToSchema, type DbId, DbIdSchema, type ExchangeRate, type ExchangeRateListResponse, ExchangeRateListResponseSchema, type ExchangeRateResponse, ExchangeRateSchema, ExchangeRateSourceSchema, type FileIdParam, FileIdParamSchema, type GetCitiesQuery, GetCitiesQuerySchema, type GetUserWalletByTypeParams, GetUserWalletByTypeParamsSchema, GetUserWalletTransactionsParamsSchema, type GetUserWalletsParams, GetUserWalletsParamsSchema, INT4_MAX, type InvitationMarketingPlacement, InvitationMarketingPlacementSchema, type ManualMarketingPlacement, ManualMarketingPlacementSchema, MarketingInvitationTokenSchema, type MarketingPlacementIdentity, MarketingPlacementIdentitySchema, type MarketingPlacementPreview, MarketingPlacementPreviewSchema, MarketingPublicIdentifierSchema, MoneyAmountSchema, MoneyAmountStringSchema, type MoneyView, MoneyViewSchema, RatePerBaseSchema, SearchSchema, type UpdateCurrencyRequest, UpdateCurrencyRequestSchema, type UpdateExchangeRateRequest, UpdateExchangeRateRequestSchema, UpdateUserRequestSchema, type UserCreateRequest, type UserFile, type UserFileList, UserFileListSchema, UserFileSchema, UserFileType, type UserListResponse, UserListResponseSchema, type UserResponse, UserRole, UserSchema, type UserUpdateRequest, WalletCurrency, WalletCurrencySchema, type WalletListResponse, WalletListResponseSchema, WalletOperationKeySchema, 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 };
|