@gigapay-dev/contracts 1.8.4 → 1.8.6

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 (69) 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 +1178 -0
  30. package/build/commands/products/read.js +56 -1
  31. package/build/commands/products/update.d.ts +78 -0
  32. package/build/commands/promocode-activations/create.d.ts +18 -0
  33. package/build/commands/promocode-activations/index.d.ts +3 -0
  34. package/build/commands/promocode-activations/read.d.ts +21 -0
  35. package/build/commands/promocode-activations/update.d.ts +18 -0
  36. package/build/commands/promocodes/create.d.ts +39 -0
  37. package/build/commands/promocodes/endpoints.d.ts +353 -0
  38. package/build/commands/promocodes/enums.d.ts +5 -0
  39. package/build/commands/promocodes/index.d.ts +5 -0
  40. package/build/commands/promocodes/read.d.ts +45 -0
  41. package/build/commands/promocodes/update.d.ts +33 -0
  42. package/build/commands/refresh-sessions/create.d.ts +24 -0
  43. package/build/commands/refresh-sessions/enums.d.ts +3 -0
  44. package/build/commands/refresh-sessions/index.d.ts +4 -0
  45. package/build/commands/refresh-sessions/read.d.ts +27 -0
  46. package/build/commands/refresh-sessions/update.d.ts +24 -0
  47. package/build/commands/settings/endpoints.d.ts +108 -0
  48. package/build/commands/settings/index.d.ts +3 -0
  49. package/build/commands/settings/read.d.ts +18 -0
  50. package/build/commands/settings/update.d.ts +18 -0
  51. package/build/commands/stats/endpoints.d.ts +67 -0
  52. package/build/commands/stats/index.d.ts +3 -0
  53. package/build/commands/stats/query.d.ts +31 -0
  54. package/build/commands/stats/read.d.ts +30 -0
  55. package/build/commands/users/create.d.ts +42 -0
  56. package/build/commands/users/endpoints.d.ts +403 -0
  57. package/build/commands/users/enums.d.ts +6 -0
  58. package/build/commands/users/index.d.ts +6 -0
  59. package/build/commands/users/query.d.ts +52 -0
  60. package/build/commands/users/read.d.ts +60 -0
  61. package/build/commands/users/update.d.ts +42 -0
  62. package/build/index.d.ts +1 -0
  63. package/build/types.d.ts +8 -0
  64. package/commands/products/read.ts +63 -0
  65. package/package.json +3 -2
  66. package/tsconfig.json +1 -1
  67. package/build/commands/status/endpoints.js +0 -33
  68. package/build/commands/status/index.js +0 -18
  69. package/build/commands/status/read.js +0 -12
@@ -0,0 +1,1178 @@
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
+ /** Ответ парсинга игры по Steam App ID */
821
+ export declare const SteamParseResponseSchema: z.ZodObject<{
822
+ steam: z.ZodNullable<z.ZodObject<{
823
+ title: z.ZodString;
824
+ originalTitle: z.ZodOptional<z.ZodString>;
825
+ description: z.ZodString;
826
+ shortDescription: z.ZodString;
827
+ coverImageUrl: z.ZodString;
828
+ developer: z.ZodOptional<z.ZodString>;
829
+ publisher: z.ZodOptional<z.ZodString>;
830
+ releaseDate: z.ZodOptional<z.ZodString>;
831
+ steamAppId: z.ZodNumber;
832
+ steamRating: z.ZodOptional<z.ZodNumber>;
833
+ hasMultiplayer: z.ZodBoolean;
834
+ hasCoop: z.ZodBoolean;
835
+ hasSinglePlayer: z.ZodBoolean;
836
+ genres: z.ZodArray<z.ZodString, "many">;
837
+ screenshots: z.ZodArray<z.ZodString, "many">;
838
+ systemRequirements: z.ZodObject<{
839
+ minimum: z.ZodOptional<z.ZodObject<{
840
+ os: z.ZodOptional<z.ZodString>;
841
+ processor: z.ZodOptional<z.ZodString>;
842
+ memory: z.ZodOptional<z.ZodString>;
843
+ graphics: z.ZodOptional<z.ZodString>;
844
+ storage: z.ZodOptional<z.ZodString>;
845
+ directx: z.ZodOptional<z.ZodString>;
846
+ network: z.ZodOptional<z.ZodString>;
847
+ }, "strip", z.ZodTypeAny, {
848
+ os?: string | undefined;
849
+ processor?: string | undefined;
850
+ memory?: string | undefined;
851
+ graphics?: string | undefined;
852
+ storage?: string | undefined;
853
+ directx?: string | undefined;
854
+ network?: string | undefined;
855
+ }, {
856
+ os?: string | undefined;
857
+ processor?: string | undefined;
858
+ memory?: string | undefined;
859
+ graphics?: string | undefined;
860
+ storage?: string | undefined;
861
+ directx?: string | undefined;
862
+ network?: string | undefined;
863
+ }>>;
864
+ recommended: z.ZodOptional<z.ZodObject<{
865
+ os: z.ZodOptional<z.ZodString>;
866
+ processor: z.ZodOptional<z.ZodString>;
867
+ memory: z.ZodOptional<z.ZodString>;
868
+ graphics: z.ZodOptional<z.ZodString>;
869
+ storage: z.ZodOptional<z.ZodString>;
870
+ directx: z.ZodOptional<z.ZodString>;
871
+ network: z.ZodOptional<z.ZodString>;
872
+ }, "strip", z.ZodTypeAny, {
873
+ os?: string | undefined;
874
+ processor?: string | undefined;
875
+ memory?: string | undefined;
876
+ graphics?: string | undefined;
877
+ storage?: string | undefined;
878
+ directx?: string | undefined;
879
+ network?: string | undefined;
880
+ }, {
881
+ os?: string | undefined;
882
+ processor?: string | undefined;
883
+ memory?: string | undefined;
884
+ graphics?: string | undefined;
885
+ storage?: string | undefined;
886
+ directx?: string | undefined;
887
+ network?: string | undefined;
888
+ }>>;
889
+ }, "strip", z.ZodTypeAny, {
890
+ minimum?: {
891
+ os?: string | undefined;
892
+ processor?: string | undefined;
893
+ memory?: string | undefined;
894
+ graphics?: string | undefined;
895
+ storage?: string | undefined;
896
+ directx?: string | undefined;
897
+ network?: string | undefined;
898
+ } | undefined;
899
+ recommended?: {
900
+ os?: string | undefined;
901
+ processor?: string | undefined;
902
+ memory?: string | undefined;
903
+ graphics?: string | undefined;
904
+ storage?: string | undefined;
905
+ directx?: string | undefined;
906
+ network?: string | undefined;
907
+ } | undefined;
908
+ }, {
909
+ minimum?: {
910
+ os?: string | undefined;
911
+ processor?: string | undefined;
912
+ memory?: string | undefined;
913
+ graphics?: string | undefined;
914
+ storage?: string | undefined;
915
+ directx?: string | undefined;
916
+ network?: string | undefined;
917
+ } | undefined;
918
+ recommended?: {
919
+ os?: string | undefined;
920
+ processor?: string | undefined;
921
+ memory?: string | undefined;
922
+ graphics?: string | undefined;
923
+ storage?: string | undefined;
924
+ directx?: string | undefined;
925
+ network?: string | undefined;
926
+ } | undefined;
927
+ }>;
928
+ }, "strip", z.ZodTypeAny, {
929
+ title: string;
930
+ description: string;
931
+ shortDescription: string;
932
+ coverImageUrl: string;
933
+ steamAppId: number;
934
+ hasMultiplayer: boolean;
935
+ hasCoop: boolean;
936
+ hasSinglePlayer: boolean;
937
+ genres: string[];
938
+ systemRequirements: {
939
+ minimum?: {
940
+ os?: string | undefined;
941
+ processor?: string | undefined;
942
+ memory?: string | undefined;
943
+ graphics?: string | undefined;
944
+ storage?: string | undefined;
945
+ directx?: string | undefined;
946
+ network?: string | undefined;
947
+ } | undefined;
948
+ recommended?: {
949
+ os?: string | undefined;
950
+ processor?: string | undefined;
951
+ memory?: string | undefined;
952
+ graphics?: string | undefined;
953
+ storage?: string | undefined;
954
+ directx?: string | undefined;
955
+ network?: string | undefined;
956
+ } | undefined;
957
+ };
958
+ screenshots: string[];
959
+ originalTitle?: string | undefined;
960
+ developer?: string | undefined;
961
+ publisher?: string | undefined;
962
+ releaseDate?: string | undefined;
963
+ steamRating?: number | undefined;
964
+ }, {
965
+ title: string;
966
+ description: string;
967
+ shortDescription: string;
968
+ coverImageUrl: string;
969
+ steamAppId: number;
970
+ hasMultiplayer: boolean;
971
+ hasCoop: boolean;
972
+ hasSinglePlayer: boolean;
973
+ genres: string[];
974
+ systemRequirements: {
975
+ minimum?: {
976
+ os?: string | undefined;
977
+ processor?: string | undefined;
978
+ memory?: string | undefined;
979
+ graphics?: string | undefined;
980
+ storage?: string | undefined;
981
+ directx?: string | undefined;
982
+ network?: string | undefined;
983
+ } | undefined;
984
+ recommended?: {
985
+ os?: string | undefined;
986
+ processor?: string | undefined;
987
+ memory?: string | undefined;
988
+ graphics?: string | undefined;
989
+ storage?: string | undefined;
990
+ directx?: string | undefined;
991
+ network?: string | undefined;
992
+ } | undefined;
993
+ };
994
+ screenshots: string[];
995
+ originalTitle?: string | undefined;
996
+ developer?: string | undefined;
997
+ publisher?: string | undefined;
998
+ releaseDate?: string | undefined;
999
+ steamRating?: number | undefined;
1000
+ }>>;
1001
+ dessly: z.ZodNullable<z.ZodObject<{
1002
+ editions: z.ZodArray<z.ZodObject<{
1003
+ edition: z.ZodString;
1004
+ packageId: z.ZodNumber;
1005
+ regions: z.ZodArray<z.ZodObject<{
1006
+ region: z.ZodString;
1007
+ price: z.ZodString;
1008
+ priceOriginal: z.ZodString;
1009
+ discount: z.ZodString;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ price: string;
1012
+ discount: string;
1013
+ region: string;
1014
+ priceOriginal: string;
1015
+ }, {
1016
+ price: string;
1017
+ discount: string;
1018
+ region: string;
1019
+ priceOriginal: string;
1020
+ }>, "many">;
1021
+ }, "strip", z.ZodTypeAny, {
1022
+ regions: {
1023
+ price: string;
1024
+ discount: string;
1025
+ region: string;
1026
+ priceOriginal: string;
1027
+ }[];
1028
+ edition: string;
1029
+ packageId: number;
1030
+ }, {
1031
+ regions: {
1032
+ price: string;
1033
+ discount: string;
1034
+ region: string;
1035
+ priceOriginal: string;
1036
+ }[];
1037
+ edition: string;
1038
+ packageId: number;
1039
+ }>, "many">;
1040
+ }, "strip", z.ZodTypeAny, {
1041
+ editions: {
1042
+ regions: {
1043
+ price: string;
1044
+ discount: string;
1045
+ region: string;
1046
+ priceOriginal: string;
1047
+ }[];
1048
+ edition: string;
1049
+ packageId: number;
1050
+ }[];
1051
+ }, {
1052
+ editions: {
1053
+ regions: {
1054
+ price: string;
1055
+ discount: string;
1056
+ region: string;
1057
+ priceOriginal: string;
1058
+ }[];
1059
+ edition: string;
1060
+ packageId: number;
1061
+ }[];
1062
+ }>>;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ steam: {
1065
+ title: string;
1066
+ description: string;
1067
+ shortDescription: string;
1068
+ coverImageUrl: string;
1069
+ steamAppId: number;
1070
+ hasMultiplayer: boolean;
1071
+ hasCoop: boolean;
1072
+ hasSinglePlayer: boolean;
1073
+ genres: string[];
1074
+ systemRequirements: {
1075
+ minimum?: {
1076
+ os?: string | undefined;
1077
+ processor?: string | undefined;
1078
+ memory?: string | undefined;
1079
+ graphics?: string | undefined;
1080
+ storage?: string | undefined;
1081
+ directx?: string | undefined;
1082
+ network?: string | undefined;
1083
+ } | undefined;
1084
+ recommended?: {
1085
+ os?: string | undefined;
1086
+ processor?: string | undefined;
1087
+ memory?: string | undefined;
1088
+ graphics?: string | undefined;
1089
+ storage?: string | undefined;
1090
+ directx?: string | undefined;
1091
+ network?: string | undefined;
1092
+ } | undefined;
1093
+ };
1094
+ screenshots: string[];
1095
+ originalTitle?: string | undefined;
1096
+ developer?: string | undefined;
1097
+ publisher?: string | undefined;
1098
+ releaseDate?: string | undefined;
1099
+ steamRating?: number | undefined;
1100
+ } | null;
1101
+ dessly: {
1102
+ editions: {
1103
+ regions: {
1104
+ price: string;
1105
+ discount: string;
1106
+ region: string;
1107
+ priceOriginal: string;
1108
+ }[];
1109
+ edition: string;
1110
+ packageId: number;
1111
+ }[];
1112
+ } | null;
1113
+ }, {
1114
+ steam: {
1115
+ title: string;
1116
+ description: string;
1117
+ shortDescription: string;
1118
+ coverImageUrl: string;
1119
+ steamAppId: number;
1120
+ hasMultiplayer: boolean;
1121
+ hasCoop: boolean;
1122
+ hasSinglePlayer: boolean;
1123
+ genres: string[];
1124
+ systemRequirements: {
1125
+ minimum?: {
1126
+ os?: string | undefined;
1127
+ processor?: string | undefined;
1128
+ memory?: string | undefined;
1129
+ graphics?: string | undefined;
1130
+ storage?: string | undefined;
1131
+ directx?: string | undefined;
1132
+ network?: string | undefined;
1133
+ } | undefined;
1134
+ recommended?: {
1135
+ os?: string | undefined;
1136
+ processor?: string | undefined;
1137
+ memory?: string | undefined;
1138
+ graphics?: string | undefined;
1139
+ storage?: string | undefined;
1140
+ directx?: string | undefined;
1141
+ network?: string | undefined;
1142
+ } | undefined;
1143
+ };
1144
+ screenshots: string[];
1145
+ originalTitle?: string | undefined;
1146
+ developer?: string | undefined;
1147
+ publisher?: string | undefined;
1148
+ releaseDate?: string | undefined;
1149
+ steamRating?: number | undefined;
1150
+ } | null;
1151
+ dessly: {
1152
+ editions: {
1153
+ regions: {
1154
+ price: string;
1155
+ discount: string;
1156
+ region: string;
1157
+ priceOriginal: string;
1158
+ }[];
1159
+ edition: string;
1160
+ packageId: number;
1161
+ }[];
1162
+ } | null;
1163
+ }>;
1164
+ export type CategoryBrief = z.infer<typeof CategoryBriefSchema>;
1165
+ export type CategoryResponse = z.infer<typeof CategoryResponseSchema>;
1166
+ export type GenreBrief = z.infer<typeof GenreBriefSchema>;
1167
+ export type GenreResponse = z.infer<typeof GenreResponseSchema>;
1168
+ export type TagBrief = z.infer<typeof TagBriefSchema>;
1169
+ export type RegionBrief = z.infer<typeof RegionBriefSchema>;
1170
+ export type RegionResponse = z.infer<typeof RegionResponseSchema>;
1171
+ export type VariantCatalog = z.infer<typeof VariantCatalogSchema>;
1172
+ export type VariantDetail = z.infer<typeof VariantDetailSchema>;
1173
+ export type MediaResponse = z.infer<typeof MediaResponseSchema>;
1174
+ export type SystemRequirementsResponse = z.infer<typeof SystemRequirementsResponseSchema>;
1175
+ export type ProductCatalogResponse = z.infer<typeof ProductCatalogResponseSchema>;
1176
+ export type ProductDetailResponse = z.infer<typeof ProductDetailResponseSchema>;
1177
+ export type KeysCountResponse = z.infer<typeof KeysCountResponseSchema>;
1178
+ export type SteamParseResponse = z.infer<typeof SteamParseResponseSchema>;