@gigapay-dev/contracts 1.8.6 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. package/README.md +1 -0
  2. package/build/domains/admin/index.d.ts +150 -0
  3. package/build/domains/admin/index.d.ts.map +1 -0
  4. package/build/domains/admin/index.js +72 -0
  5. package/build/domains/admin/index.js.map +1 -0
  6. package/build/domains/auth/commands.d.ts +294 -0
  7. package/build/domains/auth/commands.d.ts.map +1 -0
  8. package/build/domains/auth/commands.js +116 -0
  9. package/build/domains/auth/commands.js.map +1 -0
  10. package/build/domains/auth/dtos.d.ts +37 -0
  11. package/build/domains/auth/dtos.d.ts.map +1 -0
  12. package/build/domains/auth/dtos.js +26 -0
  13. package/build/domains/auth/dtos.js.map +1 -0
  14. package/build/domains/auth/events.d.ts +35 -0
  15. package/build/domains/auth/events.d.ts.map +1 -0
  16. package/build/domains/auth/events.js +24 -0
  17. package/build/domains/auth/events.js.map +1 -0
  18. package/build/domains/auth/index.d.ts +165 -0
  19. package/build/domains/auth/index.d.ts.map +1 -0
  20. package/build/{commands/products → domains/auth}/index.js +12 -6
  21. package/build/domains/auth/index.js.map +1 -0
  22. package/build/domains/auth/queries.d.ts +75 -0
  23. package/build/domains/auth/queries.d.ts.map +1 -0
  24. package/build/domains/auth/queries.js +25 -0
  25. package/build/domains/auth/queries.js.map +1 -0
  26. package/build/domains/catalog/commands.d.ts +255 -0
  27. package/build/domains/catalog/commands.d.ts.map +1 -0
  28. package/build/domains/catalog/commands.js +82 -0
  29. package/build/domains/catalog/commands.js.map +1 -0
  30. package/build/domains/catalog/dtos.d.ts +89 -0
  31. package/build/domains/catalog/dtos.d.ts.map +1 -0
  32. package/build/domains/catalog/dtos.js +43 -0
  33. package/build/domains/catalog/dtos.js.map +1 -0
  34. package/build/domains/catalog/index.d.ts +194 -0
  35. package/build/domains/catalog/index.d.ts.map +1 -0
  36. package/build/{commands/payment-methods → domains/catalog}/index.js +11 -4
  37. package/build/domains/catalog/index.js.map +1 -0
  38. package/build/domains/catalog/queries.d.ts +168 -0
  39. package/build/domains/catalog/queries.d.ts.map +1 -0
  40. package/build/domains/catalog/queries.js +29 -0
  41. package/build/domains/catalog/queries.js.map +1 -0
  42. package/build/domains/config/index.d.ts +40 -0
  43. package/build/domains/config/index.d.ts.map +1 -0
  44. package/build/domains/config/index.js +18 -0
  45. package/build/domains/config/index.js.map +1 -0
  46. package/build/domains/orders/commands.d.ts +262 -0
  47. package/build/domains/orders/commands.d.ts.map +1 -0
  48. package/build/domains/orders/commands.js +47 -0
  49. package/build/domains/orders/commands.js.map +1 -0
  50. package/build/domains/orders/dtos.d.ts +112 -0
  51. package/build/domains/orders/dtos.d.ts.map +1 -0
  52. package/build/domains/orders/dtos.js +44 -0
  53. package/build/domains/orders/dtos.js.map +1 -0
  54. package/build/domains/orders/events.d.ts +21 -0
  55. package/build/domains/orders/events.d.ts.map +1 -0
  56. package/build/domains/orders/events.js +19 -0
  57. package/build/domains/orders/events.js.map +1 -0
  58. package/build/domains/orders/index.d.ts +381 -0
  59. package/build/domains/orders/index.d.ts.map +1 -0
  60. package/build/domains/orders/index.js +28 -0
  61. package/build/domains/orders/index.js.map +1 -0
  62. package/build/domains/orders/queries.d.ts +532 -0
  63. package/build/domains/orders/queries.d.ts.map +1 -0
  64. package/build/domains/orders/queries.js +40 -0
  65. package/build/domains/orders/queries.js.map +1 -0
  66. package/build/domains/payments/index.d.ts +96 -0
  67. package/build/domains/payments/index.d.ts.map +1 -0
  68. package/build/domains/payments/index.js +34 -0
  69. package/build/domains/payments/index.js.map +1 -0
  70. package/build/domains/products/commands.d.ts +302 -0
  71. package/build/domains/products/commands.d.ts.map +1 -0
  72. package/build/domains/products/commands.js +101 -0
  73. package/build/domains/products/commands.js.map +1 -0
  74. package/build/domains/products/dtos.d.ts +122 -0
  75. package/build/domains/products/dtos.d.ts.map +1 -0
  76. package/build/domains/products/dtos.js +54 -0
  77. package/build/domains/products/dtos.js.map +1 -0
  78. package/build/domains/products/index.d.ts +276 -0
  79. package/build/domains/products/index.d.ts.map +1 -0
  80. package/build/{commands/auth → domains/products}/index.js +11 -5
  81. package/build/domains/products/index.js.map +1 -0
  82. package/build/domains/products/queries.d.ts +334 -0
  83. package/build/domains/products/queries.d.ts.map +1 -0
  84. package/build/domains/products/queries.js +41 -0
  85. package/build/domains/products/queries.js.map +1 -0
  86. package/build/domains/promo-codes/index.d.ts +92 -0
  87. package/build/domains/promo-codes/index.d.ts.map +1 -0
  88. package/build/domains/promo-codes/index.js +40 -0
  89. package/build/domains/promo-codes/index.js.map +1 -0
  90. package/build/domains/stats/index.d.ts +274 -0
  91. package/build/domains/stats/index.d.ts.map +1 -0
  92. package/build/domains/stats/index.js +76 -0
  93. package/build/domains/stats/index.js.map +1 -0
  94. package/build/domains/users/dtos.d.ts +9 -0
  95. package/build/domains/users/dtos.d.ts.map +1 -0
  96. package/build/domains/users/dtos.js +11 -0
  97. package/build/domains/users/dtos.js.map +1 -0
  98. package/build/domains/users/index.d.ts +101 -0
  99. package/build/domains/users/index.d.ts.map +1 -0
  100. package/build/domains/users/index.js +52 -0
  101. package/build/domains/users/index.js.map +1 -0
  102. package/build/index.d.ts +1310 -1
  103. package/build/index.d.ts.map +1 -0
  104. package/build/index.js +35 -1
  105. package/build/index.js.map +1 -0
  106. package/build/shared/api-response.d.ts +17 -0
  107. package/build/shared/api-response.d.ts.map +1 -0
  108. package/build/shared/api-response.js +22 -0
  109. package/build/shared/api-response.js.map +1 -0
  110. package/build/shared/common.d.ts +14 -0
  111. package/build/shared/common.d.ts.map +1 -0
  112. package/build/shared/common.js +8 -0
  113. package/build/shared/common.js.map +1 -0
  114. package/build/shared/errors.d.ts +34 -0
  115. package/build/shared/errors.d.ts.map +1 -0
  116. package/build/shared/errors.js +36 -0
  117. package/build/shared/errors.js.map +1 -0
  118. package/build/shared/index.d.ts +7 -0
  119. package/build/shared/index.d.ts.map +1 -0
  120. package/build/{commands/orders → shared}/index.js +7 -6
  121. package/build/shared/index.js.map +1 -0
  122. package/build/shared/money.d.ts +32 -0
  123. package/build/shared/money.d.ts.map +1 -0
  124. package/build/shared/money.js +20 -0
  125. package/build/shared/money.js.map +1 -0
  126. package/build/shared/pagination.d.ts +27 -0
  127. package/build/shared/pagination.d.ts.map +1 -0
  128. package/build/shared/pagination.js +22 -0
  129. package/build/shared/pagination.js.map +1 -0
  130. package/build/shared/types.d.ts +20 -0
  131. package/build/shared/types.d.ts.map +1 -0
  132. package/build/{types.js → shared/types.js} +1 -0
  133. package/build/shared/types.js.map +1 -0
  134. package/package.json +41 -15
  135. package/build/commands/api-response.d.ts +0 -18
  136. package/build/commands/api-response.js +0 -13
  137. package/build/commands/auth/confirm.d.ts +0 -11
  138. package/build/commands/auth/confirm.js +0 -11
  139. package/build/commands/auth/endpoints.d.ts +0 -114
  140. package/build/commands/auth/endpoints.js +0 -50
  141. package/build/commands/auth/index.d.ts +0 -5
  142. package/build/commands/auth/login.d.ts +0 -20
  143. package/build/commands/auth/login.js +0 -11
  144. package/build/commands/auth/profile.d.ts +0 -18
  145. package/build/commands/auth/profile.js +0 -10
  146. package/build/commands/auth/register.d.ts +0 -12
  147. package/build/commands/auth/register.js +0 -11
  148. package/build/commands/auth/reset.d.ts +0 -12
  149. package/build/commands/auth/reset.js +0 -9
  150. package/build/commands/consts.d.ts +0 -1
  151. package/build/commands/consts.js +0 -4
  152. package/build/commands/index.d.ts +0 -13
  153. package/build/commands/index.js +0 -29
  154. package/build/commands/orders/create.d.ts +0 -95
  155. package/build/commands/orders/create.js +0 -40
  156. package/build/commands/orders/endpoints.d.ts +0 -726
  157. package/build/commands/orders/endpoints.js +0 -47
  158. package/build/commands/orders/enums.d.ts +0 -7
  159. package/build/commands/orders/enums.js +0 -25
  160. package/build/commands/orders/index.d.ts +0 -6
  161. package/build/commands/orders/query.d.ts +0 -103
  162. package/build/commands/orders/query.js +0 -45
  163. package/build/commands/orders/read.d.ts +0 -230
  164. package/build/commands/orders/read.js +0 -81
  165. package/build/commands/orders/update.d.ts +0 -23
  166. package/build/commands/orders/update.js +0 -16
  167. package/build/commands/pagination.d.ts +0 -12
  168. package/build/commands/pagination.js +0 -11
  169. package/build/commands/payment-methods/create.d.ts +0 -45
  170. package/build/commands/payment-methods/create.js +0 -22
  171. package/build/commands/payment-methods/endpoints.d.ts +0 -536
  172. package/build/commands/payment-methods/endpoints.js +0 -63
  173. package/build/commands/payment-methods/index.d.ts +0 -4
  174. package/build/commands/payment-methods/read.d.ts +0 -71
  175. package/build/commands/payment-methods/read.js +0 -28
  176. package/build/commands/payment-methods/update.d.ts +0 -45
  177. package/build/commands/payment-methods/update.js +0 -19
  178. package/build/commands/products/create.d.ts +0 -229
  179. package/build/commands/products/create.js +0 -122
  180. package/build/commands/products/endpoints.d.ts +0 -1881
  181. package/build/commands/products/endpoints.js +0 -99
  182. package/build/commands/products/enums.d.ts +0 -19
  183. package/build/commands/products/enums.js +0 -27
  184. package/build/commands/products/index.d.ts +0 -6
  185. package/build/commands/products/query.d.ts +0 -79
  186. package/build/commands/products/query.js +0 -55
  187. package/build/commands/products/read.d.ts +0 -1178
  188. package/build/commands/products/read.js +0 -231
  189. package/build/commands/products/update.d.ts +0 -78
  190. package/build/commands/products/update.js +0 -10
  191. package/build/commands/promocode-activations/create.d.ts +0 -18
  192. package/build/commands/promocode-activations/create.js +0 -10
  193. package/build/commands/promocode-activations/index.d.ts +0 -3
  194. package/build/commands/promocode-activations/index.js +0 -19
  195. package/build/commands/promocode-activations/read.d.ts +0 -21
  196. package/build/commands/promocode-activations/read.js +0 -14
  197. package/build/commands/promocode-activations/update.d.ts +0 -18
  198. package/build/commands/promocode-activations/update.js +0 -10
  199. package/build/commands/promocodes/create.d.ts +0 -39
  200. package/build/commands/promocodes/create.js +0 -18
  201. package/build/commands/promocodes/endpoints.d.ts +0 -353
  202. package/build/commands/promocodes/endpoints.js +0 -46
  203. package/build/commands/promocodes/enums.d.ts +0 -5
  204. package/build/commands/promocodes/enums.js +0 -9
  205. package/build/commands/promocodes/index.d.ts +0 -5
  206. package/build/commands/promocodes/index.js +0 -21
  207. package/build/commands/promocodes/read.d.ts +0 -45
  208. package/build/commands/promocodes/read.js +0 -23
  209. package/build/commands/promocodes/update.d.ts +0 -33
  210. package/build/commands/promocodes/update.js +0 -16
  211. package/build/commands/refresh-sessions/create.d.ts +0 -24
  212. package/build/commands/refresh-sessions/create.js +0 -13
  213. package/build/commands/refresh-sessions/enums.d.ts +0 -3
  214. package/build/commands/refresh-sessions/enums.js +0 -8
  215. package/build/commands/refresh-sessions/index.d.ts +0 -4
  216. package/build/commands/refresh-sessions/index.js +0 -20
  217. package/build/commands/refresh-sessions/read.d.ts +0 -27
  218. package/build/commands/refresh-sessions/read.js +0 -17
  219. package/build/commands/refresh-sessions/update.d.ts +0 -24
  220. package/build/commands/refresh-sessions/update.js +0 -16
  221. package/build/commands/settings/endpoints.d.ts +0 -108
  222. package/build/commands/settings/endpoints.js +0 -43
  223. package/build/commands/settings/index.d.ts +0 -3
  224. package/build/commands/settings/index.js +0 -19
  225. package/build/commands/settings/read.d.ts +0 -18
  226. package/build/commands/settings/read.js +0 -10
  227. package/build/commands/settings/update.d.ts +0 -18
  228. package/build/commands/settings/update.js +0 -10
  229. package/build/commands/stats/endpoints.d.ts +0 -67
  230. package/build/commands/stats/endpoints.js +0 -13
  231. package/build/commands/stats/index.d.ts +0 -3
  232. package/build/commands/stats/index.js +0 -19
  233. package/build/commands/stats/query.d.ts +0 -31
  234. package/build/commands/stats/query.js +0 -15
  235. package/build/commands/stats/read.d.ts +0 -30
  236. package/build/commands/stats/read.js +0 -17
  237. package/build/commands/users/create.d.ts +0 -42
  238. package/build/commands/users/create.js +0 -19
  239. package/build/commands/users/endpoints.d.ts +0 -403
  240. package/build/commands/users/endpoints.js +0 -39
  241. package/build/commands/users/enums.d.ts +0 -6
  242. package/build/commands/users/enums.js +0 -10
  243. package/build/commands/users/index.d.ts +0 -6
  244. package/build/commands/users/index.js +0 -22
  245. package/build/commands/users/query.d.ts +0 -52
  246. package/build/commands/users/query.js +0 -21
  247. package/build/commands/users/read.d.ts +0 -60
  248. package/build/commands/users/read.js +0 -28
  249. package/build/commands/users/update.d.ts +0 -42
  250. package/build/commands/users/update.js +0 -19
  251. package/build/types.d.ts +0 -8
  252. package/commands/api-response.ts +0 -10
  253. package/commands/auth/confirm.ts +0 -10
  254. package/commands/auth/endpoints.ts +0 -51
  255. package/commands/auth/index.ts +0 -5
  256. package/commands/auth/login.ts +0 -13
  257. package/commands/auth/profile.ts +0 -10
  258. package/commands/auth/register.ts +0 -8
  259. package/commands/auth/reset.ts +0 -9
  260. package/commands/consts.ts +0 -1
  261. package/commands/index.ts +0 -13
  262. package/commands/orders/create.ts +0 -41
  263. package/commands/orders/endpoints.ts +0 -51
  264. package/commands/orders/enums.ts +0 -25
  265. package/commands/orders/index.ts +0 -6
  266. package/commands/orders/query.ts +0 -46
  267. package/commands/orders/read.ts +0 -83
  268. package/commands/orders/update.ts +0 -16
  269. package/commands/pagination.ts +0 -8
  270. package/commands/payment-methods/create.ts +0 -19
  271. package/commands/payment-methods/endpoints.ts +0 -67
  272. package/commands/payment-methods/index.ts +0 -4
  273. package/commands/payment-methods/read.ts +0 -30
  274. package/commands/payment-methods/update.ts +0 -19
  275. package/commands/products/create.ts +0 -134
  276. package/commands/products/endpoints.ts +0 -108
  277. package/commands/products/enums.ts +0 -33
  278. package/commands/products/index.ts +0 -6
  279. package/commands/products/query.ts +0 -52
  280. package/commands/products/read.ts +0 -268
  281. package/commands/products/update.ts +0 -11
  282. package/commands/promocode-activations/create.ts +0 -10
  283. package/commands/promocode-activations/index.ts +0 -3
  284. package/commands/promocode-activations/read.ts +0 -11
  285. package/commands/promocode-activations/update.ts +0 -10
  286. package/commands/promocodes/create.ts +0 -18
  287. package/commands/promocodes/endpoints.ts +0 -62
  288. package/commands/promocodes/enums.ts +0 -9
  289. package/commands/promocodes/index.ts +0 -5
  290. package/commands/promocodes/read.ts +0 -20
  291. package/commands/promocodes/update.ts +0 -16
  292. package/commands/refresh-sessions/create.ts +0 -13
  293. package/commands/refresh-sessions/enums.ts +0 -4
  294. package/commands/refresh-sessions/index.ts +0 -4
  295. package/commands/refresh-sessions/read.ts +0 -14
  296. package/commands/refresh-sessions/update.ts +0 -13
  297. package/commands/settings/endpoints.ts +0 -52
  298. package/commands/settings/index.ts +0 -3
  299. package/commands/settings/read.ts +0 -10
  300. package/commands/settings/update.ts +0 -10
  301. package/commands/stats/endpoints.ts +0 -23
  302. package/commands/stats/index.ts +0 -3
  303. package/commands/stats/query.ts +0 -18
  304. package/commands/stats/read.ts +0 -14
  305. package/commands/users/create.ts +0 -19
  306. package/commands/users/endpoints.ts +0 -47
  307. package/commands/users/enums.ts +0 -10
  308. package/commands/users/index.ts +0 -6
  309. package/commands/users/query.ts +0 -20
  310. package/commands/users/read.ts +0 -25
  311. package/commands/users/update.ts +0 -19
  312. package/index.ts +0 -1
  313. package/tsconfig.json +0 -111
  314. package/types.ts +0 -9
@@ -1,1178 +0,0 @@
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>;