@gigapay-dev/contracts 1.8.4 → 1.8.5

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.
Files changed (67) hide show
  1. package/build/commands/api-response.d.ts +18 -0
  2. package/build/commands/auth/confirm.d.ts +11 -0
  3. package/build/commands/auth/endpoints.d.ts +114 -0
  4. package/build/commands/auth/index.d.ts +5 -0
  5. package/build/commands/auth/login.d.ts +20 -0
  6. package/build/commands/auth/profile.d.ts +18 -0
  7. package/build/commands/auth/register.d.ts +12 -0
  8. package/build/commands/auth/reset.d.ts +12 -0
  9. package/build/commands/consts.d.ts +1 -0
  10. package/build/commands/index.d.ts +13 -0
  11. package/build/commands/orders/create.d.ts +95 -0
  12. package/build/commands/orders/endpoints.d.ts +726 -0
  13. package/build/commands/orders/enums.d.ts +7 -0
  14. package/build/commands/orders/index.d.ts +6 -0
  15. package/build/commands/orders/query.d.ts +103 -0
  16. package/build/commands/orders/read.d.ts +230 -0
  17. package/build/commands/orders/update.d.ts +23 -0
  18. package/build/commands/pagination.d.ts +12 -0
  19. package/build/commands/payment-methods/create.d.ts +45 -0
  20. package/build/commands/payment-methods/endpoints.d.ts +536 -0
  21. package/build/commands/payment-methods/index.d.ts +4 -0
  22. package/build/commands/payment-methods/read.d.ts +71 -0
  23. package/build/commands/payment-methods/update.d.ts +45 -0
  24. package/build/commands/products/create.d.ts +229 -0
  25. package/build/commands/products/endpoints.d.ts +1881 -0
  26. package/build/commands/products/enums.d.ts +19 -0
  27. package/build/commands/products/index.d.ts +6 -0
  28. package/build/commands/products/query.d.ts +79 -0
  29. package/build/commands/products/read.d.ts +833 -0
  30. package/build/commands/products/update.d.ts +78 -0
  31. package/build/commands/promocode-activations/create.d.ts +18 -0
  32. package/build/commands/promocode-activations/index.d.ts +3 -0
  33. package/build/commands/promocode-activations/read.d.ts +21 -0
  34. package/build/commands/promocode-activations/update.d.ts +18 -0
  35. package/build/commands/promocodes/create.d.ts +39 -0
  36. package/build/commands/promocodes/endpoints.d.ts +353 -0
  37. package/build/commands/promocodes/enums.d.ts +5 -0
  38. package/build/commands/promocodes/index.d.ts +5 -0
  39. package/build/commands/promocodes/read.d.ts +45 -0
  40. package/build/commands/promocodes/update.d.ts +33 -0
  41. package/build/commands/refresh-sessions/create.d.ts +24 -0
  42. package/build/commands/refresh-sessions/enums.d.ts +3 -0
  43. package/build/commands/refresh-sessions/index.d.ts +4 -0
  44. package/build/commands/refresh-sessions/read.d.ts +27 -0
  45. package/build/commands/refresh-sessions/update.d.ts +24 -0
  46. package/build/commands/settings/endpoints.d.ts +108 -0
  47. package/build/commands/settings/index.d.ts +3 -0
  48. package/build/commands/settings/read.d.ts +18 -0
  49. package/build/commands/settings/update.d.ts +18 -0
  50. package/build/commands/stats/endpoints.d.ts +67 -0
  51. package/build/commands/stats/index.d.ts +3 -0
  52. package/build/commands/stats/query.d.ts +31 -0
  53. package/build/commands/stats/read.d.ts +30 -0
  54. package/build/commands/users/create.d.ts +42 -0
  55. package/build/commands/users/endpoints.d.ts +403 -0
  56. package/build/commands/users/enums.d.ts +6 -0
  57. package/build/commands/users/index.d.ts +6 -0
  58. package/build/commands/users/query.d.ts +52 -0
  59. package/build/commands/users/read.d.ts +60 -0
  60. package/build/commands/users/update.d.ts +42 -0
  61. package/build/index.d.ts +1 -0
  62. package/build/types.d.ts +8 -0
  63. package/package.json +3 -2
  64. package/tsconfig.json +1 -1
  65. package/build/commands/status/endpoints.js +0 -33
  66. package/build/commands/status/index.js +0 -18
  67. package/build/commands/status/read.js +0 -12
@@ -0,0 +1,833 @@
1
+ import z from "zod";
2
+ /** Категория (краткая) */
3
+ export declare const CategoryBriefSchema: z.ZodObject<{
4
+ slug: z.ZodString;
5
+ name: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ name: string;
8
+ slug: string;
9
+ }, {
10
+ name: string;
11
+ slug: string;
12
+ }>;
13
+ /** Категория (полная, для списка категорий) */
14
+ export declare const CategoryResponseSchema: z.ZodObject<{
15
+ id: z.ZodNumber;
16
+ slug: z.ZodString;
17
+ name: z.ZodString;
18
+ description: z.ZodNullable<z.ZodString>;
19
+ iconUrl: z.ZodNullable<z.ZodString>;
20
+ _count: z.ZodObject<{
21
+ products: z.ZodNumber;
22
+ }, "strip", z.ZodTypeAny, {
23
+ products: number;
24
+ }, {
25
+ products: number;
26
+ }>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ id: number;
29
+ name: string;
30
+ slug: string;
31
+ description: string | null;
32
+ iconUrl: string | null;
33
+ _count: {
34
+ products: number;
35
+ };
36
+ }, {
37
+ id: number;
38
+ name: string;
39
+ slug: string;
40
+ description: string | null;
41
+ iconUrl: string | null;
42
+ _count: {
43
+ products: number;
44
+ };
45
+ }>;
46
+ /** Жанр (краткий, без ID) */
47
+ export declare const GenreBriefSchema: z.ZodObject<{
48
+ slug: z.ZodString;
49
+ name: z.ZodString;
50
+ }, "strip", z.ZodTypeAny, {
51
+ name: string;
52
+ slug: string;
53
+ }, {
54
+ name: string;
55
+ slug: string;
56
+ }>;
57
+ /** Жанр (полный, для списка жанров) */
58
+ export declare const GenreResponseSchema: z.ZodObject<{
59
+ id: z.ZodNumber;
60
+ slug: z.ZodString;
61
+ name: z.ZodString;
62
+ _count: z.ZodObject<{
63
+ products: z.ZodNumber;
64
+ }, "strip", z.ZodTypeAny, {
65
+ products: number;
66
+ }, {
67
+ products: number;
68
+ }>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ id: number;
71
+ name: string;
72
+ slug: string;
73
+ _count: {
74
+ products: number;
75
+ };
76
+ }, {
77
+ id: number;
78
+ name: string;
79
+ slug: string;
80
+ _count: {
81
+ products: number;
82
+ };
83
+ }>;
84
+ /** Тег */
85
+ export declare const TagBriefSchema: z.ZodObject<{
86
+ id: z.ZodNumber;
87
+ slug: z.ZodString;
88
+ name: z.ZodString;
89
+ }, "strip", z.ZodTypeAny, {
90
+ id: number;
91
+ name: string;
92
+ slug: string;
93
+ }, {
94
+ id: number;
95
+ name: string;
96
+ slug: string;
97
+ }>;
98
+ /** Регион (краткий, без ID) */
99
+ export declare const RegionBriefSchema: z.ZodObject<{
100
+ code: z.ZodString;
101
+ name: z.ZodString;
102
+ }, "strip", z.ZodTypeAny, {
103
+ code: string;
104
+ name: string;
105
+ }, {
106
+ code: string;
107
+ name: string;
108
+ }>;
109
+ /** Регион (полный, для списка регионов) */
110
+ export declare const RegionResponseSchema: z.ZodObject<{
111
+ id: z.ZodNumber;
112
+ code: z.ZodString;
113
+ name: z.ZodString;
114
+ _count: z.ZodObject<{
115
+ products: z.ZodNumber;
116
+ }, "strip", z.ZodTypeAny, {
117
+ products: number;
118
+ }, {
119
+ products: number;
120
+ }>;
121
+ }, "strip", z.ZodTypeAny, {
122
+ code: string;
123
+ id: number;
124
+ name: string;
125
+ _count: {
126
+ products: number;
127
+ };
128
+ }, {
129
+ code: string;
130
+ id: number;
131
+ name: string;
132
+ _count: {
133
+ products: number;
134
+ };
135
+ }>;
136
+ /** Вариант в каталоге (краткий) */
137
+ export declare const VariantCatalogSchema: z.ZodObject<{
138
+ id: z.ZodNumber;
139
+ name: z.ZodString;
140
+ price: z.ZodString;
141
+ originalPrice: z.ZodNullable<z.ZodString>;
142
+ platform: z.ZodNullable<z.ZodString>;
143
+ regionCode: z.ZodNullable<z.ZodString>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ id: number;
146
+ price: string;
147
+ name: string;
148
+ originalPrice: string | null;
149
+ platform: string | null;
150
+ regionCode: string | null;
151
+ }, {
152
+ id: number;
153
+ price: string;
154
+ name: string;
155
+ originalPrice: string | null;
156
+ platform: string | null;
157
+ regionCode: string | null;
158
+ }>;
159
+ /** Вариант в детальной карточке */
160
+ export declare const VariantDetailSchema: z.ZodObject<{
161
+ id: z.ZodNumber;
162
+ name: z.ZodString;
163
+ sku: z.ZodString;
164
+ price: z.ZodString;
165
+ originalPrice: z.ZodNullable<z.ZodString>;
166
+ topupAmount: z.ZodNullable<z.ZodString>;
167
+ currency: z.ZodNullable<z.ZodString>;
168
+ durationDays: z.ZodNullable<z.ZodNumber>;
169
+ platform: z.ZodNullable<z.ZodString>;
170
+ regionCode: z.ZodNullable<z.ZodString>;
171
+ deliveryType: z.ZodString;
172
+ inStock: z.ZodBoolean;
173
+ }, "strip", z.ZodTypeAny, {
174
+ id: number;
175
+ price: string;
176
+ name: string;
177
+ sku: string;
178
+ originalPrice: string | null;
179
+ topupAmount: string | null;
180
+ currency: string | null;
181
+ durationDays: number | null;
182
+ platform: string | null;
183
+ regionCode: string | null;
184
+ deliveryType: string;
185
+ inStock: boolean;
186
+ }, {
187
+ id: number;
188
+ price: string;
189
+ name: string;
190
+ sku: string;
191
+ originalPrice: string | null;
192
+ topupAmount: string | null;
193
+ currency: string | null;
194
+ durationDays: number | null;
195
+ platform: string | null;
196
+ regionCode: string | null;
197
+ deliveryType: string;
198
+ inStock: boolean;
199
+ }>;
200
+ /** Медиа */
201
+ export declare const MediaResponseSchema: z.ZodObject<{
202
+ id: z.ZodNumber;
203
+ type: z.ZodString;
204
+ url: z.ZodString;
205
+ alt: z.ZodNullable<z.ZodString>;
206
+ }, "strip", z.ZodTypeAny, {
207
+ type: string;
208
+ id: number;
209
+ url: string;
210
+ alt: string | null;
211
+ }, {
212
+ type: string;
213
+ id: number;
214
+ url: string;
215
+ alt: string | null;
216
+ }>;
217
+ /** Системные требования */
218
+ export declare const SystemRequirementsResponseSchema: z.ZodObject<{
219
+ type: z.ZodString;
220
+ os: z.ZodNullable<z.ZodString>;
221
+ processor: z.ZodNullable<z.ZodString>;
222
+ memory: z.ZodNullable<z.ZodString>;
223
+ graphics: z.ZodNullable<z.ZodString>;
224
+ storage: z.ZodNullable<z.ZodString>;
225
+ directx: z.ZodNullable<z.ZodString>;
226
+ network: z.ZodNullable<z.ZodString>;
227
+ additional: z.ZodNullable<z.ZodString>;
228
+ }, "strip", z.ZodTypeAny, {
229
+ type: string;
230
+ os: string | null;
231
+ processor: string | null;
232
+ memory: string | null;
233
+ graphics: string | null;
234
+ storage: string | null;
235
+ directx: string | null;
236
+ network: string | null;
237
+ additional: string | null;
238
+ }, {
239
+ type: string;
240
+ os: string | null;
241
+ processor: string | null;
242
+ memory: string | null;
243
+ graphics: string | null;
244
+ storage: string | null;
245
+ directx: string | null;
246
+ network: string | null;
247
+ additional: string | null;
248
+ }>;
249
+ /** DLC в детальной карточке */
250
+ export declare const DlcBriefSchema: z.ZodObject<{
251
+ id: z.ZodNumber;
252
+ slug: z.ZodString;
253
+ title: z.ZodString;
254
+ coverImageUrl: z.ZodNullable<z.ZodString>;
255
+ variants: z.ZodArray<z.ZodObject<{
256
+ price: z.ZodAny;
257
+ originalPrice: z.ZodAny;
258
+ }, "strip", z.ZodTypeAny, {
259
+ price?: any;
260
+ originalPrice?: any;
261
+ }, {
262
+ price?: any;
263
+ originalPrice?: any;
264
+ }>, "many">;
265
+ }, "strip", z.ZodTypeAny, {
266
+ id: number;
267
+ slug: string;
268
+ title: string;
269
+ coverImageUrl: string | null;
270
+ variants: {
271
+ price?: any;
272
+ originalPrice?: any;
273
+ }[];
274
+ }, {
275
+ id: number;
276
+ slug: string;
277
+ title: string;
278
+ coverImageUrl: string | null;
279
+ variants: {
280
+ price?: any;
281
+ originalPrice?: any;
282
+ }[];
283
+ }>;
284
+ /** Продукт в каталоге (карточка) */
285
+ export declare const ProductCatalogResponseSchema: z.ZodObject<{
286
+ id: z.ZodNumber;
287
+ slug: z.ZodString;
288
+ title: z.ZodString;
289
+ type: z.ZodString;
290
+ shortDescription: z.ZodNullable<z.ZodString>;
291
+ coverImageUrl: z.ZodNullable<z.ZodString>;
292
+ steamRating: z.ZodNullable<z.ZodNumber>;
293
+ hasMultiplayer: z.ZodBoolean;
294
+ hasCoop: z.ZodBoolean;
295
+ salesCount: z.ZodNumber;
296
+ publisher: z.ZodNullable<z.ZodString>;
297
+ releaseDate: z.ZodNullable<z.ZodDate>;
298
+ category: z.ZodObject<{
299
+ slug: z.ZodString;
300
+ name: z.ZodString;
301
+ }, "strip", z.ZodTypeAny, {
302
+ name: string;
303
+ slug: string;
304
+ }, {
305
+ name: string;
306
+ slug: string;
307
+ }>;
308
+ genres: z.ZodArray<z.ZodObject<{
309
+ slug: z.ZodString;
310
+ name: z.ZodString;
311
+ }, "strip", z.ZodTypeAny, {
312
+ name: string;
313
+ slug: string;
314
+ }, {
315
+ name: string;
316
+ slug: string;
317
+ }>, "many">;
318
+ regions: z.ZodArray<z.ZodObject<{
319
+ code: z.ZodString;
320
+ name: z.ZodString;
321
+ }, "strip", z.ZodTypeAny, {
322
+ code: string;
323
+ name: string;
324
+ }, {
325
+ code: string;
326
+ name: string;
327
+ }>, "many">;
328
+ variants: z.ZodArray<z.ZodObject<{
329
+ id: z.ZodNumber;
330
+ name: z.ZodString;
331
+ price: z.ZodString;
332
+ originalPrice: z.ZodNullable<z.ZodString>;
333
+ platform: z.ZodNullable<z.ZodString>;
334
+ regionCode: z.ZodNullable<z.ZodString>;
335
+ }, "strip", z.ZodTypeAny, {
336
+ id: number;
337
+ price: string;
338
+ name: string;
339
+ originalPrice: string | null;
340
+ platform: string | null;
341
+ regionCode: string | null;
342
+ }, {
343
+ id: number;
344
+ price: string;
345
+ name: string;
346
+ originalPrice: string | null;
347
+ platform: string | null;
348
+ regionCode: string | null;
349
+ }>, "many">;
350
+ minPrice: z.ZodNullable<z.ZodString>;
351
+ hasDiscount: z.ZodBoolean;
352
+ }, "strip", z.ZodTypeAny, {
353
+ type: string;
354
+ id: number;
355
+ slug: string;
356
+ title: string;
357
+ shortDescription: string | null;
358
+ coverImageUrl: string | null;
359
+ publisher: string | null;
360
+ releaseDate: Date | null;
361
+ hasMultiplayer: boolean;
362
+ hasCoop: boolean;
363
+ variants: {
364
+ id: number;
365
+ price: string;
366
+ name: string;
367
+ originalPrice: string | null;
368
+ platform: string | null;
369
+ regionCode: string | null;
370
+ }[];
371
+ steamRating: number | null;
372
+ salesCount: number;
373
+ category: {
374
+ name: string;
375
+ slug: string;
376
+ };
377
+ genres: {
378
+ name: string;
379
+ slug: string;
380
+ }[];
381
+ regions: {
382
+ code: string;
383
+ name: string;
384
+ }[];
385
+ minPrice: string | null;
386
+ hasDiscount: boolean;
387
+ }, {
388
+ type: string;
389
+ id: number;
390
+ slug: string;
391
+ title: string;
392
+ shortDescription: string | null;
393
+ coverImageUrl: string | null;
394
+ publisher: string | null;
395
+ releaseDate: Date | null;
396
+ hasMultiplayer: boolean;
397
+ hasCoop: boolean;
398
+ variants: {
399
+ id: number;
400
+ price: string;
401
+ name: string;
402
+ originalPrice: string | null;
403
+ platform: string | null;
404
+ regionCode: string | null;
405
+ }[];
406
+ steamRating: number | null;
407
+ salesCount: number;
408
+ category: {
409
+ name: string;
410
+ slug: string;
411
+ };
412
+ genres: {
413
+ name: string;
414
+ slug: string;
415
+ }[];
416
+ regions: {
417
+ code: string;
418
+ name: string;
419
+ }[];
420
+ minPrice: string | null;
421
+ hasDiscount: boolean;
422
+ }>;
423
+ /** Продукт (полная детальная карточка) */
424
+ export declare const ProductDetailResponseSchema: z.ZodObject<{
425
+ id: z.ZodNumber;
426
+ slug: z.ZodString;
427
+ title: z.ZodString;
428
+ originalTitle: z.ZodNullable<z.ZodString>;
429
+ type: z.ZodString;
430
+ status: z.ZodString;
431
+ description: z.ZodNullable<z.ZodString>;
432
+ customDescription: z.ZodNullable<z.ZodString>;
433
+ shortDescription: z.ZodNullable<z.ZodString>;
434
+ coverImageUrl: z.ZodNullable<z.ZodString>;
435
+ developer: z.ZodNullable<z.ZodString>;
436
+ publisher: z.ZodNullable<z.ZodString>;
437
+ releaseDate: z.ZodNullable<z.ZodDate>;
438
+ steamAppId: z.ZodNullable<z.ZodNumber>;
439
+ steamRating: z.ZodNullable<z.ZodNumber>;
440
+ hasMultiplayer: z.ZodBoolean;
441
+ hasCoop: z.ZodBoolean;
442
+ hasSinglePlayer: z.ZodBoolean;
443
+ metaTitle: z.ZodNullable<z.ZodString>;
444
+ metaDescription: z.ZodNullable<z.ZodString>;
445
+ salesCount: z.ZodNumber;
446
+ viewsCount: z.ZodNumber;
447
+ category: z.ZodObject<{
448
+ slug: z.ZodString;
449
+ name: z.ZodString;
450
+ } & {
451
+ id: z.ZodNumber;
452
+ }, "strip", z.ZodTypeAny, {
453
+ id: number;
454
+ name: string;
455
+ slug: string;
456
+ }, {
457
+ id: number;
458
+ name: string;
459
+ slug: string;
460
+ }>;
461
+ variants: z.ZodArray<z.ZodObject<{
462
+ id: z.ZodNumber;
463
+ name: z.ZodString;
464
+ sku: z.ZodString;
465
+ price: z.ZodString;
466
+ originalPrice: z.ZodNullable<z.ZodString>;
467
+ topupAmount: z.ZodNullable<z.ZodString>;
468
+ currency: z.ZodNullable<z.ZodString>;
469
+ durationDays: z.ZodNullable<z.ZodNumber>;
470
+ platform: z.ZodNullable<z.ZodString>;
471
+ regionCode: z.ZodNullable<z.ZodString>;
472
+ deliveryType: z.ZodString;
473
+ inStock: z.ZodBoolean;
474
+ }, "strip", z.ZodTypeAny, {
475
+ id: number;
476
+ price: string;
477
+ name: string;
478
+ sku: string;
479
+ originalPrice: string | null;
480
+ topupAmount: string | null;
481
+ currency: string | null;
482
+ durationDays: number | null;
483
+ platform: string | null;
484
+ regionCode: string | null;
485
+ deliveryType: string;
486
+ inStock: boolean;
487
+ }, {
488
+ id: number;
489
+ price: string;
490
+ name: string;
491
+ sku: string;
492
+ originalPrice: string | null;
493
+ topupAmount: string | null;
494
+ currency: string | null;
495
+ durationDays: number | null;
496
+ platform: string | null;
497
+ regionCode: string | null;
498
+ deliveryType: string;
499
+ inStock: boolean;
500
+ }>, "many">;
501
+ media: z.ZodArray<z.ZodObject<{
502
+ id: z.ZodNumber;
503
+ type: z.ZodString;
504
+ url: z.ZodString;
505
+ alt: z.ZodNullable<z.ZodString>;
506
+ }, "strip", z.ZodTypeAny, {
507
+ type: string;
508
+ id: number;
509
+ url: string;
510
+ alt: string | null;
511
+ }, {
512
+ type: string;
513
+ id: number;
514
+ url: string;
515
+ alt: string | null;
516
+ }>, "many">;
517
+ genres: z.ZodArray<z.ZodObject<{
518
+ id: z.ZodNumber;
519
+ slug: z.ZodString;
520
+ name: z.ZodString;
521
+ }, "strip", z.ZodTypeAny, {
522
+ id: number;
523
+ name: string;
524
+ slug: string;
525
+ }, {
526
+ id: number;
527
+ name: string;
528
+ slug: string;
529
+ }>, "many">;
530
+ tags: z.ZodArray<z.ZodObject<{
531
+ id: z.ZodNumber;
532
+ slug: z.ZodString;
533
+ name: z.ZodString;
534
+ }, "strip", z.ZodTypeAny, {
535
+ id: number;
536
+ name: string;
537
+ slug: string;
538
+ }, {
539
+ id: number;
540
+ name: string;
541
+ slug: string;
542
+ }>, "many">;
543
+ regions: z.ZodArray<z.ZodObject<Omit<{
544
+ id: z.ZodNumber;
545
+ code: z.ZodString;
546
+ name: z.ZodString;
547
+ _count: z.ZodObject<{
548
+ products: z.ZodNumber;
549
+ }, "strip", z.ZodTypeAny, {
550
+ products: number;
551
+ }, {
552
+ products: number;
553
+ }>;
554
+ }, "_count">, "strip", z.ZodTypeAny, {
555
+ code: string;
556
+ id: number;
557
+ name: string;
558
+ }, {
559
+ code: string;
560
+ id: number;
561
+ name: string;
562
+ }>, "many">;
563
+ systemRequirements: z.ZodArray<z.ZodObject<{
564
+ type: z.ZodString;
565
+ os: z.ZodNullable<z.ZodString>;
566
+ processor: z.ZodNullable<z.ZodString>;
567
+ memory: z.ZodNullable<z.ZodString>;
568
+ graphics: z.ZodNullable<z.ZodString>;
569
+ storage: z.ZodNullable<z.ZodString>;
570
+ directx: z.ZodNullable<z.ZodString>;
571
+ network: z.ZodNullable<z.ZodString>;
572
+ additional: z.ZodNullable<z.ZodString>;
573
+ }, "strip", z.ZodTypeAny, {
574
+ type: string;
575
+ os: string | null;
576
+ processor: string | null;
577
+ memory: string | null;
578
+ graphics: string | null;
579
+ storage: string | null;
580
+ directx: string | null;
581
+ network: string | null;
582
+ additional: string | null;
583
+ }, {
584
+ type: string;
585
+ os: string | null;
586
+ processor: string | null;
587
+ memory: string | null;
588
+ graphics: string | null;
589
+ storage: string | null;
590
+ directx: string | null;
591
+ network: string | null;
592
+ additional: string | null;
593
+ }>, "many">;
594
+ dlcs: z.ZodArray<z.ZodObject<{
595
+ id: z.ZodNumber;
596
+ slug: z.ZodString;
597
+ title: z.ZodString;
598
+ coverImageUrl: z.ZodNullable<z.ZodString>;
599
+ variants: z.ZodArray<z.ZodObject<{
600
+ price: z.ZodAny;
601
+ originalPrice: z.ZodAny;
602
+ }, "strip", z.ZodTypeAny, {
603
+ price?: any;
604
+ originalPrice?: any;
605
+ }, {
606
+ price?: any;
607
+ originalPrice?: any;
608
+ }>, "many">;
609
+ }, "strip", z.ZodTypeAny, {
610
+ id: number;
611
+ slug: string;
612
+ title: string;
613
+ coverImageUrl: string | null;
614
+ variants: {
615
+ price?: any;
616
+ originalPrice?: any;
617
+ }[];
618
+ }, {
619
+ id: number;
620
+ slug: string;
621
+ title: string;
622
+ coverImageUrl: string | null;
623
+ variants: {
624
+ price?: any;
625
+ originalPrice?: any;
626
+ }[];
627
+ }>, "many">;
628
+ createdAt: z.ZodDate;
629
+ updatedAt: z.ZodDate;
630
+ }, "strip", z.ZodTypeAny, {
631
+ type: string;
632
+ status: string;
633
+ id: number;
634
+ createdAt: Date;
635
+ updatedAt: Date;
636
+ slug: string;
637
+ title: string;
638
+ originalTitle: string | null;
639
+ description: string | null;
640
+ customDescription: string | null;
641
+ shortDescription: string | null;
642
+ coverImageUrl: string | null;
643
+ developer: string | null;
644
+ publisher: string | null;
645
+ releaseDate: Date | null;
646
+ steamAppId: number | null;
647
+ hasMultiplayer: boolean;
648
+ hasCoop: boolean;
649
+ hasSinglePlayer: boolean;
650
+ metaTitle: string | null;
651
+ metaDescription: string | null;
652
+ variants: {
653
+ id: number;
654
+ price: string;
655
+ name: string;
656
+ sku: string;
657
+ originalPrice: string | null;
658
+ topupAmount: string | null;
659
+ currency: string | null;
660
+ durationDays: number | null;
661
+ platform: string | null;
662
+ regionCode: string | null;
663
+ deliveryType: string;
664
+ inStock: boolean;
665
+ }[];
666
+ steamRating: number | null;
667
+ salesCount: number;
668
+ category: {
669
+ id: number;
670
+ name: string;
671
+ slug: string;
672
+ };
673
+ genres: {
674
+ id: number;
675
+ name: string;
676
+ slug: string;
677
+ }[];
678
+ regions: {
679
+ code: string;
680
+ id: number;
681
+ name: string;
682
+ }[];
683
+ viewsCount: number;
684
+ media: {
685
+ type: string;
686
+ id: number;
687
+ url: string;
688
+ alt: string | null;
689
+ }[];
690
+ tags: {
691
+ id: number;
692
+ name: string;
693
+ slug: string;
694
+ }[];
695
+ systemRequirements: {
696
+ type: string;
697
+ os: string | null;
698
+ processor: string | null;
699
+ memory: string | null;
700
+ graphics: string | null;
701
+ storage: string | null;
702
+ directx: string | null;
703
+ network: string | null;
704
+ additional: string | null;
705
+ }[];
706
+ dlcs: {
707
+ id: number;
708
+ slug: string;
709
+ title: string;
710
+ coverImageUrl: string | null;
711
+ variants: {
712
+ price?: any;
713
+ originalPrice?: any;
714
+ }[];
715
+ }[];
716
+ }, {
717
+ type: string;
718
+ status: string;
719
+ id: number;
720
+ createdAt: Date;
721
+ updatedAt: Date;
722
+ slug: string;
723
+ title: string;
724
+ originalTitle: string | null;
725
+ description: string | null;
726
+ customDescription: string | null;
727
+ shortDescription: string | null;
728
+ coverImageUrl: string | null;
729
+ developer: string | null;
730
+ publisher: string | null;
731
+ releaseDate: Date | null;
732
+ steamAppId: number | null;
733
+ hasMultiplayer: boolean;
734
+ hasCoop: boolean;
735
+ hasSinglePlayer: boolean;
736
+ metaTitle: string | null;
737
+ metaDescription: string | null;
738
+ variants: {
739
+ id: number;
740
+ price: string;
741
+ name: string;
742
+ sku: string;
743
+ originalPrice: string | null;
744
+ topupAmount: string | null;
745
+ currency: string | null;
746
+ durationDays: number | null;
747
+ platform: string | null;
748
+ regionCode: string | null;
749
+ deliveryType: string;
750
+ inStock: boolean;
751
+ }[];
752
+ steamRating: number | null;
753
+ salesCount: number;
754
+ category: {
755
+ id: number;
756
+ name: string;
757
+ slug: string;
758
+ };
759
+ genres: {
760
+ id: number;
761
+ name: string;
762
+ slug: string;
763
+ }[];
764
+ regions: {
765
+ code: string;
766
+ id: number;
767
+ name: string;
768
+ }[];
769
+ viewsCount: number;
770
+ media: {
771
+ type: string;
772
+ id: number;
773
+ url: string;
774
+ alt: string | null;
775
+ }[];
776
+ tags: {
777
+ id: number;
778
+ name: string;
779
+ slug: string;
780
+ }[];
781
+ systemRequirements: {
782
+ type: string;
783
+ os: string | null;
784
+ processor: string | null;
785
+ memory: string | null;
786
+ graphics: string | null;
787
+ storage: string | null;
788
+ directx: string | null;
789
+ network: string | null;
790
+ additional: string | null;
791
+ }[];
792
+ dlcs: {
793
+ id: number;
794
+ slug: string;
795
+ title: string;
796
+ coverImageUrl: string | null;
797
+ variants: {
798
+ price?: any;
799
+ originalPrice?: any;
800
+ }[];
801
+ }[];
802
+ }>;
803
+ /** Статистика ключей по варианту */
804
+ export declare const KeysCountResponseSchema: z.ZodObject<{
805
+ available: z.ZodNumber;
806
+ sold: z.ZodNumber;
807
+ reserved: z.ZodNumber;
808
+ total: z.ZodNumber;
809
+ }, "strip", z.ZodTypeAny, {
810
+ total: number;
811
+ available: number;
812
+ sold: number;
813
+ reserved: number;
814
+ }, {
815
+ total: number;
816
+ available: number;
817
+ sold: number;
818
+ reserved: number;
819
+ }>;
820
+ export type CategoryBrief = z.infer<typeof CategoryBriefSchema>;
821
+ export type CategoryResponse = z.infer<typeof CategoryResponseSchema>;
822
+ export type GenreBrief = z.infer<typeof GenreBriefSchema>;
823
+ export type GenreResponse = z.infer<typeof GenreResponseSchema>;
824
+ export type TagBrief = z.infer<typeof TagBriefSchema>;
825
+ export type RegionBrief = z.infer<typeof RegionBriefSchema>;
826
+ export type RegionResponse = z.infer<typeof RegionResponseSchema>;
827
+ export type VariantCatalog = z.infer<typeof VariantCatalogSchema>;
828
+ export type VariantDetail = z.infer<typeof VariantDetailSchema>;
829
+ export type MediaResponse = z.infer<typeof MediaResponseSchema>;
830
+ export type SystemRequirementsResponse = z.infer<typeof SystemRequirementsResponseSchema>;
831
+ export type ProductCatalogResponse = z.infer<typeof ProductCatalogResponseSchema>;
832
+ export type ProductDetailResponse = z.infer<typeof ProductDetailResponseSchema>;
833
+ export type KeysCountResponse = z.infer<typeof KeysCountResponseSchema>;