@gigapay-dev/contracts 2.0.0 → 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 (391) hide show
  1. package/build/domains/admin/index.d.ts +150 -0
  2. package/build/domains/admin/index.d.ts.map +1 -0
  3. package/build/domains/admin/index.js +72 -0
  4. package/build/domains/admin/index.js.map +1 -0
  5. package/build/domains/auth/commands.d.ts +294 -0
  6. package/build/domains/auth/commands.d.ts.map +1 -0
  7. package/build/domains/auth/commands.js +116 -0
  8. package/build/domains/auth/commands.js.map +1 -0
  9. package/build/domains/auth/dtos.d.ts +37 -0
  10. package/build/domains/auth/dtos.d.ts.map +1 -0
  11. package/build/domains/auth/dtos.js +26 -0
  12. package/build/domains/auth/dtos.js.map +1 -0
  13. package/build/domains/auth/events.d.ts +35 -0
  14. package/build/domains/auth/events.d.ts.map +1 -0
  15. package/build/domains/auth/events.js +24 -0
  16. package/build/domains/auth/events.js.map +1 -0
  17. package/build/domains/auth/index.d.ts +165 -0
  18. package/build/domains/auth/index.d.ts.map +1 -0
  19. package/build/{commands/products → domains/auth}/index.js +11 -6
  20. package/build/domains/auth/index.js.map +1 -0
  21. package/build/domains/auth/queries.d.ts +75 -0
  22. package/build/domains/auth/queries.d.ts.map +1 -0
  23. package/build/domains/auth/queries.js +25 -0
  24. package/build/domains/auth/queries.js.map +1 -0
  25. package/build/domains/catalog/commands.d.ts +255 -0
  26. package/build/domains/catalog/commands.d.ts.map +1 -0
  27. package/build/domains/catalog/commands.js +82 -0
  28. package/build/domains/catalog/commands.js.map +1 -0
  29. package/build/domains/catalog/dtos.d.ts +89 -0
  30. package/build/domains/catalog/dtos.d.ts.map +1 -0
  31. package/build/domains/catalog/dtos.js +43 -0
  32. package/build/domains/catalog/dtos.js.map +1 -0
  33. package/build/domains/catalog/index.d.ts +194 -0
  34. package/build/domains/catalog/index.d.ts.map +1 -0
  35. package/build/{commands/payment-methods → domains/catalog}/index.js +10 -4
  36. package/build/domains/catalog/index.js.map +1 -0
  37. package/build/domains/catalog/queries.d.ts +168 -0
  38. package/build/domains/catalog/queries.d.ts.map +1 -0
  39. package/build/domains/catalog/queries.js +29 -0
  40. package/build/domains/catalog/queries.js.map +1 -0
  41. package/build/domains/config/index.d.ts +40 -0
  42. package/build/domains/config/index.d.ts.map +1 -0
  43. package/build/domains/config/index.js +18 -0
  44. package/build/domains/config/index.js.map +1 -0
  45. package/build/domains/orders/commands.d.ts +262 -0
  46. package/build/domains/orders/commands.d.ts.map +1 -0
  47. package/build/domains/orders/commands.js +47 -0
  48. package/build/domains/orders/commands.js.map +1 -0
  49. package/build/domains/orders/dtos.d.ts +112 -0
  50. package/build/domains/orders/dtos.d.ts.map +1 -0
  51. package/build/domains/orders/dtos.js +44 -0
  52. package/build/domains/orders/dtos.js.map +1 -0
  53. package/build/domains/orders/events.d.ts +21 -0
  54. package/build/domains/orders/events.d.ts.map +1 -0
  55. package/build/domains/orders/events.js +19 -0
  56. package/build/domains/orders/events.js.map +1 -0
  57. package/build/domains/orders/index.d.ts +381 -0
  58. package/build/domains/orders/index.d.ts.map +1 -0
  59. package/build/domains/orders/index.js +28 -0
  60. package/build/domains/orders/index.js.map +1 -0
  61. package/build/domains/orders/queries.d.ts +532 -0
  62. package/build/domains/orders/queries.d.ts.map +1 -0
  63. package/build/domains/orders/queries.js +40 -0
  64. package/build/domains/orders/queries.js.map +1 -0
  65. package/build/domains/payments/index.d.ts +96 -0
  66. package/build/domains/payments/index.d.ts.map +1 -0
  67. package/build/domains/payments/index.js +34 -0
  68. package/build/domains/payments/index.js.map +1 -0
  69. package/build/domains/products/commands.d.ts +302 -0
  70. package/build/domains/products/commands.d.ts.map +1 -0
  71. package/build/domains/products/commands.js +101 -0
  72. package/build/domains/products/commands.js.map +1 -0
  73. package/build/domains/products/dtos.d.ts +122 -0
  74. package/build/domains/products/dtos.d.ts.map +1 -0
  75. package/build/domains/products/dtos.js +54 -0
  76. package/build/domains/products/dtos.js.map +1 -0
  77. package/build/domains/products/index.d.ts +276 -0
  78. package/build/domains/products/index.d.ts.map +1 -0
  79. package/build/{commands/auth → domains/products}/index.js +10 -6
  80. package/build/domains/products/index.js.map +1 -0
  81. package/build/domains/products/queries.d.ts +334 -0
  82. package/build/domains/products/queries.d.ts.map +1 -0
  83. package/build/domains/products/queries.js +41 -0
  84. package/build/domains/products/queries.js.map +1 -0
  85. package/build/domains/promo-codes/index.d.ts +92 -0
  86. package/build/domains/promo-codes/index.d.ts.map +1 -0
  87. package/build/domains/promo-codes/index.js +40 -0
  88. package/build/domains/promo-codes/index.js.map +1 -0
  89. package/build/domains/stats/index.d.ts +274 -0
  90. package/build/domains/stats/index.d.ts.map +1 -0
  91. package/build/domains/stats/index.js +76 -0
  92. package/build/domains/stats/index.js.map +1 -0
  93. package/build/domains/users/dtos.d.ts +9 -0
  94. package/build/domains/users/dtos.d.ts.map +1 -0
  95. package/build/domains/users/dtos.js +11 -0
  96. package/build/domains/users/dtos.js.map +1 -0
  97. package/build/domains/users/index.d.ts +101 -0
  98. package/build/domains/users/index.d.ts.map +1 -0
  99. package/build/domains/users/index.js +52 -0
  100. package/build/domains/users/index.js.map +1 -0
  101. package/build/index.d.ts +1309 -1
  102. package/build/index.d.ts.map +1 -1
  103. package/build/index.js +34 -1
  104. package/build/index.js.map +1 -1
  105. package/build/shared/api-response.d.ts +17 -0
  106. package/build/shared/api-response.d.ts.map +1 -0
  107. package/build/shared/api-response.js +22 -0
  108. package/build/shared/api-response.js.map +1 -0
  109. package/build/shared/common.d.ts +14 -0
  110. package/build/shared/common.d.ts.map +1 -0
  111. package/build/shared/common.js +8 -0
  112. package/build/shared/common.js.map +1 -0
  113. package/build/shared/errors.d.ts +34 -0
  114. package/build/shared/errors.d.ts.map +1 -0
  115. package/build/shared/errors.js +36 -0
  116. package/build/shared/errors.js.map +1 -0
  117. package/build/shared/index.d.ts +7 -0
  118. package/build/shared/index.d.ts.map +1 -0
  119. package/build/{commands/orders → shared}/index.js +6 -6
  120. package/build/shared/index.js.map +1 -0
  121. package/build/shared/money.d.ts +32 -0
  122. package/build/shared/money.d.ts.map +1 -0
  123. package/build/shared/money.js +20 -0
  124. package/build/shared/money.js.map +1 -0
  125. package/build/shared/pagination.d.ts +27 -0
  126. package/build/shared/pagination.d.ts.map +1 -0
  127. package/build/{commands/common.js → shared/pagination.js} +2 -9
  128. package/build/shared/pagination.js.map +1 -0
  129. package/build/shared/types.d.ts +20 -0
  130. package/build/shared/types.d.ts.map +1 -0
  131. package/build/shared/types.js.map +1 -0
  132. package/package.json +43 -48
  133. package/build/client.d.ts +0 -934
  134. package/build/client.d.ts.map +0 -1
  135. package/build/client.js +0 -184
  136. package/build/client.js.map +0 -1
  137. package/build/commands/api-response.d.ts +0 -19
  138. package/build/commands/api-response.d.ts.map +0 -1
  139. package/build/commands/api-response.js +0 -14
  140. package/build/commands/api-response.js.map +0 -1
  141. package/build/commands/auth/confirm.d.ts +0 -12
  142. package/build/commands/auth/confirm.d.ts.map +0 -1
  143. package/build/commands/auth/confirm.js +0 -12
  144. package/build/commands/auth/confirm.js.map +0 -1
  145. package/build/commands/auth/endpoints.d.ts +0 -115
  146. package/build/commands/auth/endpoints.d.ts.map +0 -1
  147. package/build/commands/auth/endpoints.js +0 -51
  148. package/build/commands/auth/endpoints.js.map +0 -1
  149. package/build/commands/auth/index.d.ts +0 -7
  150. package/build/commands/auth/index.d.ts.map +0 -1
  151. package/build/commands/auth/index.js.map +0 -1
  152. package/build/commands/auth/login.d.ts +0 -21
  153. package/build/commands/auth/login.d.ts.map +0 -1
  154. package/build/commands/auth/login.js +0 -12
  155. package/build/commands/auth/login.js.map +0 -1
  156. package/build/commands/auth/profile.d.ts +0 -19
  157. package/build/commands/auth/profile.d.ts.map +0 -1
  158. package/build/commands/auth/profile.js +0 -11
  159. package/build/commands/auth/profile.js.map +0 -1
  160. package/build/commands/auth/register.d.ts +0 -13
  161. package/build/commands/auth/register.d.ts.map +0 -1
  162. package/build/commands/auth/register.js +0 -12
  163. package/build/commands/auth/register.js.map +0 -1
  164. package/build/commands/auth/reset.d.ts +0 -13
  165. package/build/commands/auth/reset.d.ts.map +0 -1
  166. package/build/commands/auth/reset.js +0 -10
  167. package/build/commands/auth/reset.js.map +0 -1
  168. package/build/commands/common.d.ts +0 -65
  169. package/build/commands/common.d.ts.map +0 -1
  170. package/build/commands/common.js.map +0 -1
  171. package/build/commands/consts.d.ts +0 -2
  172. package/build/commands/consts.d.ts.map +0 -1
  173. package/build/commands/consts.js +0 -5
  174. package/build/commands/consts.js.map +0 -1
  175. package/build/commands/endpoints.d.ts +0 -4643
  176. package/build/commands/endpoints.d.ts.map +0 -1
  177. package/build/commands/endpoints.js +0 -26
  178. package/build/commands/endpoints.js.map +0 -1
  179. package/build/commands/index.d.ts +0 -16
  180. package/build/commands/index.d.ts.map +0 -1
  181. package/build/commands/index.js +0 -32
  182. package/build/commands/index.js.map +0 -1
  183. package/build/commands/orders/create.d.ts +0 -100
  184. package/build/commands/orders/create.d.ts.map +0 -1
  185. package/build/commands/orders/create.js +0 -43
  186. package/build/commands/orders/create.js.map +0 -1
  187. package/build/commands/orders/endpoints.d.ts +0 -742
  188. package/build/commands/orders/endpoints.d.ts.map +0 -1
  189. package/build/commands/orders/endpoints.js +0 -48
  190. package/build/commands/orders/endpoints.js.map +0 -1
  191. package/build/commands/orders/enums.d.ts +0 -8
  192. package/build/commands/orders/enums.d.ts.map +0 -1
  193. package/build/commands/orders/enums.js +0 -26
  194. package/build/commands/orders/enums.js.map +0 -1
  195. package/build/commands/orders/index.d.ts +0 -7
  196. package/build/commands/orders/index.d.ts.map +0 -1
  197. package/build/commands/orders/index.js.map +0 -1
  198. package/build/commands/orders/query.d.ts +0 -104
  199. package/build/commands/orders/query.d.ts.map +0 -1
  200. package/build/commands/orders/query.js +0 -46
  201. package/build/commands/orders/query.js.map +0 -1
  202. package/build/commands/orders/read.d.ts +0 -235
  203. package/build/commands/orders/read.d.ts.map +0 -1
  204. package/build/commands/orders/read.js +0 -84
  205. package/build/commands/orders/read.js.map +0 -1
  206. package/build/commands/orders/update.d.ts +0 -24
  207. package/build/commands/orders/update.d.ts.map +0 -1
  208. package/build/commands/orders/update.js +0 -17
  209. package/build/commands/orders/update.js.map +0 -1
  210. package/build/commands/pagination.d.ts +0 -13
  211. package/build/commands/pagination.d.ts.map +0 -1
  212. package/build/commands/pagination.js +0 -9
  213. package/build/commands/pagination.js.map +0 -1
  214. package/build/commands/payment-methods/create.d.ts +0 -46
  215. package/build/commands/payment-methods/create.d.ts.map +0 -1
  216. package/build/commands/payment-methods/create.js +0 -23
  217. package/build/commands/payment-methods/create.js.map +0 -1
  218. package/build/commands/payment-methods/endpoints.d.ts +0 -537
  219. package/build/commands/payment-methods/endpoints.d.ts.map +0 -1
  220. package/build/commands/payment-methods/endpoints.js +0 -64
  221. package/build/commands/payment-methods/endpoints.js.map +0 -1
  222. package/build/commands/payment-methods/index.d.ts +0 -5
  223. package/build/commands/payment-methods/index.d.ts.map +0 -1
  224. package/build/commands/payment-methods/index.js.map +0 -1
  225. package/build/commands/payment-methods/read.d.ts +0 -72
  226. package/build/commands/payment-methods/read.d.ts.map +0 -1
  227. package/build/commands/payment-methods/read.js +0 -29
  228. package/build/commands/payment-methods/read.js.map +0 -1
  229. package/build/commands/payment-methods/update.d.ts +0 -46
  230. package/build/commands/payment-methods/update.d.ts.map +0 -1
  231. package/build/commands/payment-methods/update.js +0 -20
  232. package/build/commands/payment-methods/update.js.map +0 -1
  233. package/build/commands/products/create.d.ts +0 -242
  234. package/build/commands/products/create.d.ts.map +0 -1
  235. package/build/commands/products/create.js +0 -129
  236. package/build/commands/products/create.js.map +0 -1
  237. package/build/commands/products/endpoints.d.ts +0 -1980
  238. package/build/commands/products/endpoints.d.ts.map +0 -1
  239. package/build/commands/products/endpoints.js +0 -100
  240. package/build/commands/products/endpoints.js.map +0 -1
  241. package/build/commands/products/enums.d.ts +0 -20
  242. package/build/commands/products/enums.d.ts.map +0 -1
  243. package/build/commands/products/enums.js +0 -28
  244. package/build/commands/products/enums.js.map +0 -1
  245. package/build/commands/products/index.d.ts +0 -7
  246. package/build/commands/products/index.d.ts.map +0 -1
  247. package/build/commands/products/index.js.map +0 -1
  248. package/build/commands/products/query.d.ts +0 -80
  249. package/build/commands/products/query.d.ts.map +0 -1
  250. package/build/commands/products/query.js +0 -56
  251. package/build/commands/products/query.js.map +0 -1
  252. package/build/commands/products/read.d.ts +0 -1233
  253. package/build/commands/products/read.d.ts.map +0 -1
  254. package/build/commands/products/read.js +0 -242
  255. package/build/commands/products/read.js.map +0 -1
  256. package/build/commands/products/update.d.ts +0 -85
  257. package/build/commands/products/update.d.ts.map +0 -1
  258. package/build/commands/products/update.js +0 -11
  259. package/build/commands/products/update.js.map +0 -1
  260. package/build/commands/promocode-activations/create.d.ts +0 -19
  261. package/build/commands/promocode-activations/create.d.ts.map +0 -1
  262. package/build/commands/promocode-activations/create.js +0 -11
  263. package/build/commands/promocode-activations/create.js.map +0 -1
  264. package/build/commands/promocode-activations/endpoints.d.ts +0 -158
  265. package/build/commands/promocode-activations/endpoints.d.ts.map +0 -1
  266. package/build/commands/promocode-activations/endpoints.js +0 -39
  267. package/build/commands/promocode-activations/endpoints.js.map +0 -1
  268. package/build/commands/promocode-activations/index.d.ts +0 -5
  269. package/build/commands/promocode-activations/index.d.ts.map +0 -1
  270. package/build/commands/promocode-activations/index.js +0 -21
  271. package/build/commands/promocode-activations/index.js.map +0 -1
  272. package/build/commands/promocode-activations/read.d.ts +0 -22
  273. package/build/commands/promocode-activations/read.d.ts.map +0 -1
  274. package/build/commands/promocode-activations/read.js +0 -15
  275. package/build/commands/promocode-activations/read.js.map +0 -1
  276. package/build/commands/promocode-activations/update.d.ts +0 -19
  277. package/build/commands/promocode-activations/update.d.ts.map +0 -1
  278. package/build/commands/promocode-activations/update.js +0 -11
  279. package/build/commands/promocode-activations/update.js.map +0 -1
  280. package/build/commands/promocodes/create.d.ts +0 -40
  281. package/build/commands/promocodes/create.d.ts.map +0 -1
  282. package/build/commands/promocodes/create.js +0 -19
  283. package/build/commands/promocodes/create.js.map +0 -1
  284. package/build/commands/promocodes/endpoints.d.ts +0 -354
  285. package/build/commands/promocodes/endpoints.d.ts.map +0 -1
  286. package/build/commands/promocodes/endpoints.js +0 -47
  287. package/build/commands/promocodes/endpoints.js.map +0 -1
  288. package/build/commands/promocodes/enums.d.ts +0 -6
  289. package/build/commands/promocodes/enums.d.ts.map +0 -1
  290. package/build/commands/promocodes/enums.js +0 -10
  291. package/build/commands/promocodes/enums.js.map +0 -1
  292. package/build/commands/promocodes/index.d.ts +0 -6
  293. package/build/commands/promocodes/index.d.ts.map +0 -1
  294. package/build/commands/promocodes/index.js +0 -22
  295. package/build/commands/promocodes/index.js.map +0 -1
  296. package/build/commands/promocodes/read.d.ts +0 -46
  297. package/build/commands/promocodes/read.d.ts.map +0 -1
  298. package/build/commands/promocodes/read.js +0 -24
  299. package/build/commands/promocodes/read.js.map +0 -1
  300. package/build/commands/promocodes/update.d.ts +0 -34
  301. package/build/commands/promocodes/update.d.ts.map +0 -1
  302. package/build/commands/promocodes/update.js +0 -17
  303. package/build/commands/promocodes/update.js.map +0 -1
  304. package/build/commands/refresh-sessions/create.d.ts +0 -25
  305. package/build/commands/refresh-sessions/create.d.ts.map +0 -1
  306. package/build/commands/refresh-sessions/create.js +0 -14
  307. package/build/commands/refresh-sessions/create.js.map +0 -1
  308. package/build/commands/refresh-sessions/endpoints.d.ts +0 -216
  309. package/build/commands/refresh-sessions/endpoints.d.ts.map +0 -1
  310. package/build/commands/refresh-sessions/endpoints.js +0 -47
  311. package/build/commands/refresh-sessions/endpoints.js.map +0 -1
  312. package/build/commands/refresh-sessions/enums.d.ts +0 -4
  313. package/build/commands/refresh-sessions/enums.d.ts.map +0 -1
  314. package/build/commands/refresh-sessions/enums.js +0 -9
  315. package/build/commands/refresh-sessions/enums.js.map +0 -1
  316. package/build/commands/refresh-sessions/index.d.ts +0 -6
  317. package/build/commands/refresh-sessions/index.d.ts.map +0 -1
  318. package/build/commands/refresh-sessions/index.js +0 -22
  319. package/build/commands/refresh-sessions/index.js.map +0 -1
  320. package/build/commands/refresh-sessions/read.d.ts +0 -28
  321. package/build/commands/refresh-sessions/read.d.ts.map +0 -1
  322. package/build/commands/refresh-sessions/read.js +0 -18
  323. package/build/commands/refresh-sessions/read.js.map +0 -1
  324. package/build/commands/refresh-sessions/update.d.ts +0 -25
  325. package/build/commands/refresh-sessions/update.d.ts.map +0 -1
  326. package/build/commands/refresh-sessions/update.js +0 -17
  327. package/build/commands/refresh-sessions/update.js.map +0 -1
  328. package/build/commands/settings/endpoints.d.ts +0 -109
  329. package/build/commands/settings/endpoints.d.ts.map +0 -1
  330. package/build/commands/settings/endpoints.js +0 -44
  331. package/build/commands/settings/endpoints.js.map +0 -1
  332. package/build/commands/settings/index.d.ts +0 -4
  333. package/build/commands/settings/index.d.ts.map +0 -1
  334. package/build/commands/settings/index.js +0 -20
  335. package/build/commands/settings/index.js.map +0 -1
  336. package/build/commands/settings/read.d.ts +0 -19
  337. package/build/commands/settings/read.d.ts.map +0 -1
  338. package/build/commands/settings/read.js +0 -11
  339. package/build/commands/settings/read.js.map +0 -1
  340. package/build/commands/settings/update.d.ts +0 -19
  341. package/build/commands/settings/update.d.ts.map +0 -1
  342. package/build/commands/settings/update.js +0 -11
  343. package/build/commands/settings/update.js.map +0 -1
  344. package/build/commands/stats/endpoints.d.ts +0 -68
  345. package/build/commands/stats/endpoints.d.ts.map +0 -1
  346. package/build/commands/stats/endpoints.js +0 -14
  347. package/build/commands/stats/endpoints.js.map +0 -1
  348. package/build/commands/stats/index.d.ts +0 -4
  349. package/build/commands/stats/index.d.ts.map +0 -1
  350. package/build/commands/stats/index.js +0 -20
  351. package/build/commands/stats/index.js.map +0 -1
  352. package/build/commands/stats/query.d.ts +0 -32
  353. package/build/commands/stats/query.d.ts.map +0 -1
  354. package/build/commands/stats/query.js +0 -16
  355. package/build/commands/stats/query.js.map +0 -1
  356. package/build/commands/stats/read.d.ts +0 -31
  357. package/build/commands/stats/read.d.ts.map +0 -1
  358. package/build/commands/stats/read.js +0 -18
  359. package/build/commands/stats/read.js.map +0 -1
  360. package/build/commands/users/create.d.ts +0 -43
  361. package/build/commands/users/create.d.ts.map +0 -1
  362. package/build/commands/users/create.js +0 -20
  363. package/build/commands/users/create.js.map +0 -1
  364. package/build/commands/users/endpoints.d.ts +0 -404
  365. package/build/commands/users/endpoints.d.ts.map +0 -1
  366. package/build/commands/users/endpoints.js +0 -40
  367. package/build/commands/users/endpoints.js.map +0 -1
  368. package/build/commands/users/enums.d.ts +0 -7
  369. package/build/commands/users/enums.d.ts.map +0 -1
  370. package/build/commands/users/enums.js +0 -11
  371. package/build/commands/users/enums.js.map +0 -1
  372. package/build/commands/users/index.d.ts +0 -7
  373. package/build/commands/users/index.d.ts.map +0 -1
  374. package/build/commands/users/index.js +0 -23
  375. package/build/commands/users/index.js.map +0 -1
  376. package/build/commands/users/query.d.ts +0 -53
  377. package/build/commands/users/query.d.ts.map +0 -1
  378. package/build/commands/users/query.js +0 -22
  379. package/build/commands/users/query.js.map +0 -1
  380. package/build/commands/users/read.d.ts +0 -61
  381. package/build/commands/users/read.d.ts.map +0 -1
  382. package/build/commands/users/read.js +0 -29
  383. package/build/commands/users/read.js.map +0 -1
  384. package/build/commands/users/update.d.ts +0 -43
  385. package/build/commands/users/update.d.ts.map +0 -1
  386. package/build/commands/users/update.js +0 -20
  387. package/build/commands/users/update.js.map +0 -1
  388. package/build/types.d.ts +0 -9
  389. package/build/types.d.ts.map +0 -1
  390. package/build/types.js.map +0 -1
  391. /package/build/{types.js → shared/types.js} +0 -0
@@ -1,1233 +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
- imageUrl: z.ZodNullable<z.ZodString>;
141
- price: z.ZodString;
142
- originalPrice: z.ZodNullable<z.ZodString>;
143
- platform: z.ZodNullable<z.ZodString>;
144
- regionCode: z.ZodNullable<z.ZodString>;
145
- }, "strip", z.ZodTypeAny, {
146
- id: number;
147
- price: string;
148
- name: string;
149
- imageUrl: string | null;
150
- originalPrice: string | null;
151
- platform: string | null;
152
- regionCode: string | null;
153
- }, {
154
- id: number;
155
- price: string;
156
- name: string;
157
- imageUrl: string | null;
158
- originalPrice: string | null;
159
- platform: string | null;
160
- regionCode: string | null;
161
- }>;
162
- /** Вариант в детальной карточке */
163
- export declare const VariantDetailSchema: z.ZodObject<{
164
- id: z.ZodNumber;
165
- name: z.ZodString;
166
- sku: z.ZodString;
167
- imageUrl: z.ZodNullable<z.ZodString>;
168
- price: z.ZodString;
169
- originalPrice: z.ZodNullable<z.ZodString>;
170
- topupAmount: z.ZodNullable<z.ZodString>;
171
- currency: z.ZodNullable<z.ZodString>;
172
- durationDays: z.ZodNullable<z.ZodNumber>;
173
- platform: z.ZodNullable<z.ZodString>;
174
- regionCode: z.ZodNullable<z.ZodString>;
175
- deliveryType: z.ZodString;
176
- inStock: z.ZodBoolean;
177
- }, "strip", z.ZodTypeAny, {
178
- id: number;
179
- price: string;
180
- name: string;
181
- sku: string;
182
- imageUrl: string | null;
183
- originalPrice: string | null;
184
- topupAmount: string | null;
185
- currency: string | null;
186
- durationDays: number | null;
187
- platform: string | null;
188
- regionCode: string | null;
189
- deliveryType: string;
190
- inStock: boolean;
191
- }, {
192
- id: number;
193
- price: string;
194
- name: string;
195
- sku: string;
196
- imageUrl: string | null;
197
- originalPrice: string | null;
198
- topupAmount: string | null;
199
- currency: string | null;
200
- durationDays: number | null;
201
- platform: string | null;
202
- regionCode: string | null;
203
- deliveryType: string;
204
- inStock: boolean;
205
- }>;
206
- /** Медиа */
207
- export declare const MediaResponseSchema: z.ZodObject<{
208
- id: z.ZodNumber;
209
- type: z.ZodString;
210
- url: z.ZodString;
211
- alt: z.ZodNullable<z.ZodString>;
212
- }, "strip", z.ZodTypeAny, {
213
- type: string;
214
- id: number;
215
- url: string;
216
- alt: string | null;
217
- }, {
218
- type: string;
219
- id: number;
220
- url: string;
221
- alt: string | null;
222
- }>;
223
- /** Системные требования */
224
- export declare const SystemRequirementsResponseSchema: z.ZodObject<{
225
- type: z.ZodString;
226
- os: z.ZodNullable<z.ZodString>;
227
- processor: z.ZodNullable<z.ZodString>;
228
- memory: z.ZodNullable<z.ZodString>;
229
- graphics: z.ZodNullable<z.ZodString>;
230
- storage: z.ZodNullable<z.ZodString>;
231
- directx: z.ZodNullable<z.ZodString>;
232
- network: z.ZodNullable<z.ZodString>;
233
- additional: z.ZodNullable<z.ZodString>;
234
- }, "strip", z.ZodTypeAny, {
235
- type: string;
236
- os: string | null;
237
- processor: string | null;
238
- memory: string | null;
239
- graphics: string | null;
240
- storage: string | null;
241
- directx: string | null;
242
- network: string | null;
243
- additional: string | null;
244
- }, {
245
- type: string;
246
- os: string | null;
247
- processor: string | null;
248
- memory: string | null;
249
- graphics: string | null;
250
- storage: string | null;
251
- directx: string | null;
252
- network: string | null;
253
- additional: string | null;
254
- }>;
255
- /** DLC в детальной карточке */
256
- export declare const DlcBriefSchema: z.ZodObject<{
257
- id: z.ZodNumber;
258
- slug: z.ZodString;
259
- title: z.ZodString;
260
- coverImageUrl: z.ZodNullable<z.ZodString>;
261
- catalogImageUrl: z.ZodNullable<z.ZodString>;
262
- cardImageUrl: z.ZodNullable<z.ZodString>;
263
- variants: z.ZodArray<z.ZodObject<{
264
- price: z.ZodAny;
265
- originalPrice: z.ZodAny;
266
- }, "strip", z.ZodTypeAny, {
267
- price?: any;
268
- originalPrice?: any;
269
- }, {
270
- price?: any;
271
- originalPrice?: any;
272
- }>, "many">;
273
- }, "strip", z.ZodTypeAny, {
274
- id: number;
275
- slug: string;
276
- title: string;
277
- coverImageUrl: string | null;
278
- catalogImageUrl: string | null;
279
- cardImageUrl: string | null;
280
- variants: {
281
- price?: any;
282
- originalPrice?: any;
283
- }[];
284
- }, {
285
- id: number;
286
- slug: string;
287
- title: string;
288
- coverImageUrl: string | null;
289
- catalogImageUrl: string | null;
290
- cardImageUrl: string | null;
291
- variants: {
292
- price?: any;
293
- originalPrice?: any;
294
- }[];
295
- }>;
296
- /** Продукт в каталоге (карточка) */
297
- export declare const ProductCatalogResponseSchema: z.ZodObject<{
298
- id: z.ZodNumber;
299
- slug: z.ZodString;
300
- title: z.ZodString;
301
- type: z.ZodString;
302
- shortDescription: z.ZodNullable<z.ZodString>;
303
- coverImageUrl: z.ZodNullable<z.ZodString>;
304
- catalogImageUrl: z.ZodNullable<z.ZodString>;
305
- cardImageUrl: z.ZodNullable<z.ZodString>;
306
- steamRating: z.ZodNullable<z.ZodNumber>;
307
- hasMultiplayer: z.ZodBoolean;
308
- hasCoop: z.ZodBoolean;
309
- salesCount: z.ZodNumber;
310
- publisher: z.ZodNullable<z.ZodString>;
311
- releaseDate: z.ZodNullable<z.ZodDate>;
312
- category: z.ZodObject<{
313
- slug: z.ZodString;
314
- name: z.ZodString;
315
- }, "strip", z.ZodTypeAny, {
316
- name: string;
317
- slug: string;
318
- }, {
319
- name: string;
320
- slug: string;
321
- }>;
322
- genres: z.ZodArray<z.ZodObject<{
323
- slug: z.ZodString;
324
- name: z.ZodString;
325
- }, "strip", z.ZodTypeAny, {
326
- name: string;
327
- slug: string;
328
- }, {
329
- name: string;
330
- slug: string;
331
- }>, "many">;
332
- regions: z.ZodArray<z.ZodObject<{
333
- code: z.ZodString;
334
- name: z.ZodString;
335
- }, "strip", z.ZodTypeAny, {
336
- code: string;
337
- name: string;
338
- }, {
339
- code: string;
340
- name: string;
341
- }>, "many">;
342
- variants: z.ZodArray<z.ZodObject<{
343
- id: z.ZodNumber;
344
- name: z.ZodString;
345
- imageUrl: z.ZodNullable<z.ZodString>;
346
- price: z.ZodString;
347
- originalPrice: z.ZodNullable<z.ZodString>;
348
- platform: z.ZodNullable<z.ZodString>;
349
- regionCode: z.ZodNullable<z.ZodString>;
350
- }, "strip", z.ZodTypeAny, {
351
- id: number;
352
- price: string;
353
- name: string;
354
- imageUrl: string | null;
355
- originalPrice: string | null;
356
- platform: string | null;
357
- regionCode: string | null;
358
- }, {
359
- id: number;
360
- price: string;
361
- name: string;
362
- imageUrl: string | null;
363
- originalPrice: string | null;
364
- platform: string | null;
365
- regionCode: string | null;
366
- }>, "many">;
367
- minPrice: z.ZodNullable<z.ZodString>;
368
- hasDiscount: z.ZodBoolean;
369
- }, "strip", z.ZodTypeAny, {
370
- type: string;
371
- id: number;
372
- slug: string;
373
- title: string;
374
- shortDescription: string | null;
375
- coverImageUrl: string | null;
376
- catalogImageUrl: string | null;
377
- cardImageUrl: string | null;
378
- publisher: string | null;
379
- releaseDate: Date | null;
380
- hasMultiplayer: boolean;
381
- hasCoop: boolean;
382
- variants: {
383
- id: number;
384
- price: string;
385
- name: string;
386
- imageUrl: string | null;
387
- originalPrice: string | null;
388
- platform: string | null;
389
- regionCode: string | null;
390
- }[];
391
- steamRating: number | null;
392
- salesCount: number;
393
- category: {
394
- name: string;
395
- slug: string;
396
- };
397
- genres: {
398
- name: string;
399
- slug: string;
400
- }[];
401
- regions: {
402
- code: string;
403
- name: string;
404
- }[];
405
- minPrice: string | null;
406
- hasDiscount: boolean;
407
- }, {
408
- type: string;
409
- id: number;
410
- slug: string;
411
- title: string;
412
- shortDescription: string | null;
413
- coverImageUrl: string | null;
414
- catalogImageUrl: string | null;
415
- cardImageUrl: string | null;
416
- publisher: string | null;
417
- releaseDate: Date | null;
418
- hasMultiplayer: boolean;
419
- hasCoop: boolean;
420
- variants: {
421
- id: number;
422
- price: string;
423
- name: string;
424
- imageUrl: string | null;
425
- originalPrice: string | null;
426
- platform: string | null;
427
- regionCode: string | null;
428
- }[];
429
- steamRating: number | null;
430
- salesCount: number;
431
- category: {
432
- name: string;
433
- slug: string;
434
- };
435
- genres: {
436
- name: string;
437
- slug: string;
438
- }[];
439
- regions: {
440
- code: string;
441
- name: string;
442
- }[];
443
- minPrice: string | null;
444
- hasDiscount: boolean;
445
- }>;
446
- /** Продукт (полная детальная карточка) */
447
- export declare const ProductDetailResponseSchema: z.ZodObject<{
448
- id: z.ZodNumber;
449
- slug: z.ZodString;
450
- title: z.ZodString;
451
- originalTitle: z.ZodNullable<z.ZodString>;
452
- type: z.ZodString;
453
- status: z.ZodString;
454
- description: z.ZodNullable<z.ZodString>;
455
- customDescription: z.ZodNullable<z.ZodString>;
456
- shortDescription: z.ZodNullable<z.ZodString>;
457
- coverImageUrl: z.ZodNullable<z.ZodString>;
458
- catalogImageUrl: z.ZodNullable<z.ZodString>;
459
- cardImageUrl: z.ZodNullable<z.ZodString>;
460
- developer: z.ZodNullable<z.ZodString>;
461
- publisher: z.ZodNullable<z.ZodString>;
462
- releaseDate: z.ZodNullable<z.ZodDate>;
463
- steamAppId: z.ZodNullable<z.ZodNumber>;
464
- steamRating: z.ZodNullable<z.ZodNumber>;
465
- hasMultiplayer: z.ZodBoolean;
466
- hasCoop: z.ZodBoolean;
467
- hasSinglePlayer: z.ZodBoolean;
468
- metaTitle: z.ZodNullable<z.ZodString>;
469
- metaDescription: z.ZodNullable<z.ZodString>;
470
- salesCount: z.ZodNumber;
471
- viewsCount: z.ZodNumber;
472
- category: z.ZodObject<{
473
- slug: z.ZodString;
474
- name: z.ZodString;
475
- } & {
476
- id: z.ZodNumber;
477
- }, "strip", z.ZodTypeAny, {
478
- id: number;
479
- name: string;
480
- slug: string;
481
- }, {
482
- id: number;
483
- name: string;
484
- slug: string;
485
- }>;
486
- variants: z.ZodArray<z.ZodObject<{
487
- id: z.ZodNumber;
488
- name: z.ZodString;
489
- sku: z.ZodString;
490
- imageUrl: z.ZodNullable<z.ZodString>;
491
- price: z.ZodString;
492
- originalPrice: z.ZodNullable<z.ZodString>;
493
- topupAmount: z.ZodNullable<z.ZodString>;
494
- currency: z.ZodNullable<z.ZodString>;
495
- durationDays: z.ZodNullable<z.ZodNumber>;
496
- platform: z.ZodNullable<z.ZodString>;
497
- regionCode: z.ZodNullable<z.ZodString>;
498
- deliveryType: z.ZodString;
499
- inStock: z.ZodBoolean;
500
- }, "strip", z.ZodTypeAny, {
501
- id: number;
502
- price: string;
503
- name: string;
504
- sku: string;
505
- imageUrl: string | null;
506
- originalPrice: string | null;
507
- topupAmount: string | null;
508
- currency: string | null;
509
- durationDays: number | null;
510
- platform: string | null;
511
- regionCode: string | null;
512
- deliveryType: string;
513
- inStock: boolean;
514
- }, {
515
- id: number;
516
- price: string;
517
- name: string;
518
- sku: string;
519
- imageUrl: string | null;
520
- originalPrice: string | null;
521
- topupAmount: string | null;
522
- currency: string | null;
523
- durationDays: number | null;
524
- platform: string | null;
525
- regionCode: string | null;
526
- deliveryType: string;
527
- inStock: boolean;
528
- }>, "many">;
529
- media: z.ZodArray<z.ZodObject<{
530
- id: z.ZodNumber;
531
- type: z.ZodString;
532
- url: z.ZodString;
533
- alt: z.ZodNullable<z.ZodString>;
534
- }, "strip", z.ZodTypeAny, {
535
- type: string;
536
- id: number;
537
- url: string;
538
- alt: string | null;
539
- }, {
540
- type: string;
541
- id: number;
542
- url: string;
543
- alt: string | null;
544
- }>, "many">;
545
- genres: z.ZodArray<z.ZodObject<{
546
- id: z.ZodNumber;
547
- slug: z.ZodString;
548
- name: z.ZodString;
549
- }, "strip", z.ZodTypeAny, {
550
- id: number;
551
- name: string;
552
- slug: string;
553
- }, {
554
- id: number;
555
- name: string;
556
- slug: string;
557
- }>, "many">;
558
- tags: z.ZodArray<z.ZodObject<{
559
- id: z.ZodNumber;
560
- slug: z.ZodString;
561
- name: z.ZodString;
562
- }, "strip", z.ZodTypeAny, {
563
- id: number;
564
- name: string;
565
- slug: string;
566
- }, {
567
- id: number;
568
- name: string;
569
- slug: string;
570
- }>, "many">;
571
- regions: z.ZodArray<z.ZodObject<Omit<{
572
- id: z.ZodNumber;
573
- code: z.ZodString;
574
- name: z.ZodString;
575
- _count: z.ZodObject<{
576
- products: z.ZodNumber;
577
- }, "strip", z.ZodTypeAny, {
578
- products: number;
579
- }, {
580
- products: number;
581
- }>;
582
- }, "_count">, "strip", z.ZodTypeAny, {
583
- code: string;
584
- id: number;
585
- name: string;
586
- }, {
587
- code: string;
588
- id: number;
589
- name: string;
590
- }>, "many">;
591
- systemRequirements: z.ZodArray<z.ZodObject<{
592
- type: z.ZodString;
593
- os: z.ZodNullable<z.ZodString>;
594
- processor: z.ZodNullable<z.ZodString>;
595
- memory: z.ZodNullable<z.ZodString>;
596
- graphics: z.ZodNullable<z.ZodString>;
597
- storage: z.ZodNullable<z.ZodString>;
598
- directx: z.ZodNullable<z.ZodString>;
599
- network: z.ZodNullable<z.ZodString>;
600
- additional: z.ZodNullable<z.ZodString>;
601
- }, "strip", z.ZodTypeAny, {
602
- type: string;
603
- os: string | null;
604
- processor: string | null;
605
- memory: string | null;
606
- graphics: string | null;
607
- storage: string | null;
608
- directx: string | null;
609
- network: string | null;
610
- additional: string | null;
611
- }, {
612
- type: string;
613
- os: string | null;
614
- processor: string | null;
615
- memory: string | null;
616
- graphics: string | null;
617
- storage: string | null;
618
- directx: string | null;
619
- network: string | null;
620
- additional: string | null;
621
- }>, "many">;
622
- dlcs: z.ZodArray<z.ZodObject<{
623
- id: z.ZodNumber;
624
- slug: z.ZodString;
625
- title: z.ZodString;
626
- coverImageUrl: z.ZodNullable<z.ZodString>;
627
- catalogImageUrl: z.ZodNullable<z.ZodString>;
628
- cardImageUrl: z.ZodNullable<z.ZodString>;
629
- variants: z.ZodArray<z.ZodObject<{
630
- price: z.ZodAny;
631
- originalPrice: z.ZodAny;
632
- }, "strip", z.ZodTypeAny, {
633
- price?: any;
634
- originalPrice?: any;
635
- }, {
636
- price?: any;
637
- originalPrice?: any;
638
- }>, "many">;
639
- }, "strip", z.ZodTypeAny, {
640
- id: number;
641
- slug: string;
642
- title: string;
643
- coverImageUrl: string | null;
644
- catalogImageUrl: string | null;
645
- cardImageUrl: string | null;
646
- variants: {
647
- price?: any;
648
- originalPrice?: any;
649
- }[];
650
- }, {
651
- id: number;
652
- slug: string;
653
- title: string;
654
- coverImageUrl: string | null;
655
- catalogImageUrl: string | null;
656
- cardImageUrl: string | null;
657
- variants: {
658
- price?: any;
659
- originalPrice?: any;
660
- }[];
661
- }>, "many">;
662
- createdAt: z.ZodDate;
663
- updatedAt: z.ZodDate;
664
- }, "strip", z.ZodTypeAny, {
665
- type: string;
666
- status: string;
667
- id: number;
668
- createdAt: Date;
669
- updatedAt: Date;
670
- slug: string;
671
- title: string;
672
- originalTitle: string | null;
673
- description: string | null;
674
- customDescription: string | null;
675
- shortDescription: string | null;
676
- coverImageUrl: string | null;
677
- catalogImageUrl: string | null;
678
- cardImageUrl: string | null;
679
- developer: string | null;
680
- publisher: string | null;
681
- releaseDate: Date | null;
682
- steamAppId: number | null;
683
- hasMultiplayer: boolean;
684
- hasCoop: boolean;
685
- hasSinglePlayer: boolean;
686
- metaTitle: string | null;
687
- metaDescription: string | null;
688
- variants: {
689
- id: number;
690
- price: string;
691
- name: string;
692
- sku: string;
693
- imageUrl: string | null;
694
- originalPrice: string | null;
695
- topupAmount: string | null;
696
- currency: string | null;
697
- durationDays: number | null;
698
- platform: string | null;
699
- regionCode: string | null;
700
- deliveryType: string;
701
- inStock: boolean;
702
- }[];
703
- steamRating: number | null;
704
- salesCount: number;
705
- category: {
706
- id: number;
707
- name: string;
708
- slug: string;
709
- };
710
- genres: {
711
- id: number;
712
- name: string;
713
- slug: string;
714
- }[];
715
- regions: {
716
- code: string;
717
- id: number;
718
- name: string;
719
- }[];
720
- viewsCount: number;
721
- media: {
722
- type: string;
723
- id: number;
724
- url: string;
725
- alt: string | null;
726
- }[];
727
- tags: {
728
- id: number;
729
- name: string;
730
- slug: string;
731
- }[];
732
- systemRequirements: {
733
- type: string;
734
- os: string | null;
735
- processor: string | null;
736
- memory: string | null;
737
- graphics: string | null;
738
- storage: string | null;
739
- directx: string | null;
740
- network: string | null;
741
- additional: string | null;
742
- }[];
743
- dlcs: {
744
- id: number;
745
- slug: string;
746
- title: string;
747
- coverImageUrl: string | null;
748
- catalogImageUrl: string | null;
749
- cardImageUrl: string | null;
750
- variants: {
751
- price?: any;
752
- originalPrice?: any;
753
- }[];
754
- }[];
755
- }, {
756
- type: string;
757
- status: string;
758
- id: number;
759
- createdAt: Date;
760
- updatedAt: Date;
761
- slug: string;
762
- title: string;
763
- originalTitle: string | null;
764
- description: string | null;
765
- customDescription: string | null;
766
- shortDescription: string | null;
767
- coverImageUrl: string | null;
768
- catalogImageUrl: string | null;
769
- cardImageUrl: string | null;
770
- developer: string | null;
771
- publisher: string | null;
772
- releaseDate: Date | null;
773
- steamAppId: number | null;
774
- hasMultiplayer: boolean;
775
- hasCoop: boolean;
776
- hasSinglePlayer: boolean;
777
- metaTitle: string | null;
778
- metaDescription: string | null;
779
- variants: {
780
- id: number;
781
- price: string;
782
- name: string;
783
- sku: string;
784
- imageUrl: string | null;
785
- originalPrice: string | null;
786
- topupAmount: string | null;
787
- currency: string | null;
788
- durationDays: number | null;
789
- platform: string | null;
790
- regionCode: string | null;
791
- deliveryType: string;
792
- inStock: boolean;
793
- }[];
794
- steamRating: number | null;
795
- salesCount: number;
796
- category: {
797
- id: number;
798
- name: string;
799
- slug: string;
800
- };
801
- genres: {
802
- id: number;
803
- name: string;
804
- slug: string;
805
- }[];
806
- regions: {
807
- code: string;
808
- id: number;
809
- name: string;
810
- }[];
811
- viewsCount: number;
812
- media: {
813
- type: string;
814
- id: number;
815
- url: string;
816
- alt: string | null;
817
- }[];
818
- tags: {
819
- id: number;
820
- name: string;
821
- slug: string;
822
- }[];
823
- systemRequirements: {
824
- type: string;
825
- os: string | null;
826
- processor: string | null;
827
- memory: string | null;
828
- graphics: string | null;
829
- storage: string | null;
830
- directx: string | null;
831
- network: string | null;
832
- additional: string | null;
833
- }[];
834
- dlcs: {
835
- id: number;
836
- slug: string;
837
- title: string;
838
- coverImageUrl: string | null;
839
- catalogImageUrl: string | null;
840
- cardImageUrl: string | null;
841
- variants: {
842
- price?: any;
843
- originalPrice?: any;
844
- }[];
845
- }[];
846
- }>;
847
- /** Статистика ключей по варианту */
848
- export declare const KeysCountResponseSchema: z.ZodObject<{
849
- available: z.ZodNumber;
850
- sold: z.ZodNumber;
851
- reserved: z.ZodNumber;
852
- total: z.ZodNumber;
853
- }, "strip", z.ZodTypeAny, {
854
- total: number;
855
- available: number;
856
- sold: number;
857
- reserved: number;
858
- }, {
859
- total: number;
860
- available: number;
861
- sold: number;
862
- reserved: number;
863
- }>;
864
- /** Ответ парсинга игры по Steam App ID */
865
- export declare const SteamParseResponseSchema: z.ZodObject<{
866
- steam: z.ZodNullable<z.ZodObject<{
867
- title: z.ZodString;
868
- originalTitle: z.ZodOptional<z.ZodString>;
869
- description: z.ZodString;
870
- shortDescription: z.ZodString;
871
- coverImageUrl: z.ZodString;
872
- catalogImageUrl: z.ZodString;
873
- cardImageUrl: z.ZodString;
874
- developer: z.ZodOptional<z.ZodString>;
875
- publisher: z.ZodOptional<z.ZodString>;
876
- releaseDate: z.ZodOptional<z.ZodString>;
877
- steamAppId: z.ZodNumber;
878
- steamRating: z.ZodOptional<z.ZodNumber>;
879
- hasMultiplayer: z.ZodBoolean;
880
- hasCoop: z.ZodBoolean;
881
- hasSinglePlayer: z.ZodBoolean;
882
- genres: z.ZodArray<z.ZodString, "many">;
883
- screenshots: z.ZodArray<z.ZodString, "many">;
884
- systemRequirements: z.ZodObject<{
885
- minimum: z.ZodOptional<z.ZodObject<{
886
- os: z.ZodOptional<z.ZodString>;
887
- processor: z.ZodOptional<z.ZodString>;
888
- memory: z.ZodOptional<z.ZodString>;
889
- graphics: z.ZodOptional<z.ZodString>;
890
- storage: z.ZodOptional<z.ZodString>;
891
- directx: z.ZodOptional<z.ZodString>;
892
- network: z.ZodOptional<z.ZodString>;
893
- }, "strip", z.ZodTypeAny, {
894
- os?: string | undefined;
895
- processor?: string | undefined;
896
- memory?: string | undefined;
897
- graphics?: string | undefined;
898
- storage?: string | undefined;
899
- directx?: string | undefined;
900
- network?: string | undefined;
901
- }, {
902
- os?: string | undefined;
903
- processor?: string | undefined;
904
- memory?: string | undefined;
905
- graphics?: string | undefined;
906
- storage?: string | undefined;
907
- directx?: string | undefined;
908
- network?: string | undefined;
909
- }>>;
910
- recommended: z.ZodOptional<z.ZodObject<{
911
- os: z.ZodOptional<z.ZodString>;
912
- processor: z.ZodOptional<z.ZodString>;
913
- memory: z.ZodOptional<z.ZodString>;
914
- graphics: z.ZodOptional<z.ZodString>;
915
- storage: z.ZodOptional<z.ZodString>;
916
- directx: z.ZodOptional<z.ZodString>;
917
- network: z.ZodOptional<z.ZodString>;
918
- }, "strip", z.ZodTypeAny, {
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
- }, {
927
- os?: string | undefined;
928
- processor?: string | undefined;
929
- memory?: string | undefined;
930
- graphics?: string | undefined;
931
- storage?: string | undefined;
932
- directx?: string | undefined;
933
- network?: string | undefined;
934
- }>>;
935
- }, "strip", z.ZodTypeAny, {
936
- minimum?: {
937
- os?: string | undefined;
938
- processor?: string | undefined;
939
- memory?: string | undefined;
940
- graphics?: string | undefined;
941
- storage?: string | undefined;
942
- directx?: string | undefined;
943
- network?: string | undefined;
944
- } | undefined;
945
- recommended?: {
946
- os?: string | undefined;
947
- processor?: string | undefined;
948
- memory?: string | undefined;
949
- graphics?: string | undefined;
950
- storage?: string | undefined;
951
- directx?: string | undefined;
952
- network?: string | undefined;
953
- } | undefined;
954
- }, {
955
- minimum?: {
956
- os?: string | undefined;
957
- processor?: string | undefined;
958
- memory?: string | undefined;
959
- graphics?: string | undefined;
960
- storage?: string | undefined;
961
- directx?: string | undefined;
962
- network?: string | undefined;
963
- } | undefined;
964
- recommended?: {
965
- os?: string | undefined;
966
- processor?: string | undefined;
967
- memory?: string | undefined;
968
- graphics?: string | undefined;
969
- storage?: string | undefined;
970
- directx?: string | undefined;
971
- network?: string | undefined;
972
- } | undefined;
973
- }>;
974
- }, "strip", z.ZodTypeAny, {
975
- title: string;
976
- description: string;
977
- shortDescription: string;
978
- coverImageUrl: string;
979
- catalogImageUrl: string;
980
- cardImageUrl: string;
981
- steamAppId: number;
982
- hasMultiplayer: boolean;
983
- hasCoop: boolean;
984
- hasSinglePlayer: boolean;
985
- genres: string[];
986
- systemRequirements: {
987
- minimum?: {
988
- os?: string | undefined;
989
- processor?: string | undefined;
990
- memory?: string | undefined;
991
- graphics?: string | undefined;
992
- storage?: string | undefined;
993
- directx?: string | undefined;
994
- network?: string | undefined;
995
- } | undefined;
996
- recommended?: {
997
- os?: string | undefined;
998
- processor?: string | undefined;
999
- memory?: string | undefined;
1000
- graphics?: string | undefined;
1001
- storage?: string | undefined;
1002
- directx?: string | undefined;
1003
- network?: string | undefined;
1004
- } | undefined;
1005
- };
1006
- screenshots: string[];
1007
- originalTitle?: string | undefined;
1008
- developer?: string | undefined;
1009
- publisher?: string | undefined;
1010
- releaseDate?: string | undefined;
1011
- steamRating?: number | undefined;
1012
- }, {
1013
- title: string;
1014
- description: string;
1015
- shortDescription: string;
1016
- coverImageUrl: string;
1017
- catalogImageUrl: string;
1018
- cardImageUrl: string;
1019
- steamAppId: number;
1020
- hasMultiplayer: boolean;
1021
- hasCoop: boolean;
1022
- hasSinglePlayer: boolean;
1023
- genres: string[];
1024
- systemRequirements: {
1025
- minimum?: {
1026
- os?: string | undefined;
1027
- processor?: string | undefined;
1028
- memory?: string | undefined;
1029
- graphics?: string | undefined;
1030
- storage?: string | undefined;
1031
- directx?: string | undefined;
1032
- network?: string | undefined;
1033
- } | undefined;
1034
- recommended?: {
1035
- os?: string | undefined;
1036
- processor?: string | undefined;
1037
- memory?: string | undefined;
1038
- graphics?: string | undefined;
1039
- storage?: string | undefined;
1040
- directx?: string | undefined;
1041
- network?: string | undefined;
1042
- } | undefined;
1043
- };
1044
- screenshots: string[];
1045
- originalTitle?: string | undefined;
1046
- developer?: string | undefined;
1047
- publisher?: string | undefined;
1048
- releaseDate?: string | undefined;
1049
- steamRating?: number | undefined;
1050
- }>>;
1051
- dessly: z.ZodNullable<z.ZodObject<{
1052
- editions: z.ZodArray<z.ZodObject<{
1053
- edition: z.ZodString;
1054
- packageId: z.ZodNumber;
1055
- regions: z.ZodArray<z.ZodObject<{
1056
- region: z.ZodString;
1057
- price: z.ZodString;
1058
- priceOriginal: z.ZodString;
1059
- discount: z.ZodString;
1060
- }, "strip", z.ZodTypeAny, {
1061
- price: string;
1062
- discount: string;
1063
- region: string;
1064
- priceOriginal: string;
1065
- }, {
1066
- price: string;
1067
- discount: string;
1068
- region: string;
1069
- priceOriginal: string;
1070
- }>, "many">;
1071
- }, "strip", z.ZodTypeAny, {
1072
- regions: {
1073
- price: string;
1074
- discount: string;
1075
- region: string;
1076
- priceOriginal: string;
1077
- }[];
1078
- edition: string;
1079
- packageId: number;
1080
- }, {
1081
- regions: {
1082
- price: string;
1083
- discount: string;
1084
- region: string;
1085
- priceOriginal: string;
1086
- }[];
1087
- edition: string;
1088
- packageId: number;
1089
- }>, "many">;
1090
- }, "strip", z.ZodTypeAny, {
1091
- editions: {
1092
- regions: {
1093
- price: string;
1094
- discount: string;
1095
- region: string;
1096
- priceOriginal: string;
1097
- }[];
1098
- edition: string;
1099
- packageId: number;
1100
- }[];
1101
- }, {
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
- }>>;
1113
- }, "strip", z.ZodTypeAny, {
1114
- steam: {
1115
- title: string;
1116
- description: string;
1117
- shortDescription: string;
1118
- coverImageUrl: string;
1119
- catalogImageUrl: string;
1120
- cardImageUrl: string;
1121
- steamAppId: number;
1122
- hasMultiplayer: boolean;
1123
- hasCoop: boolean;
1124
- hasSinglePlayer: boolean;
1125
- genres: string[];
1126
- systemRequirements: {
1127
- minimum?: {
1128
- os?: string | undefined;
1129
- processor?: string | undefined;
1130
- memory?: string | undefined;
1131
- graphics?: string | undefined;
1132
- storage?: string | undefined;
1133
- directx?: string | undefined;
1134
- network?: string | undefined;
1135
- } | undefined;
1136
- recommended?: {
1137
- os?: string | undefined;
1138
- processor?: string | undefined;
1139
- memory?: string | undefined;
1140
- graphics?: string | undefined;
1141
- storage?: string | undefined;
1142
- directx?: string | undefined;
1143
- network?: string | undefined;
1144
- } | undefined;
1145
- };
1146
- screenshots: string[];
1147
- originalTitle?: string | undefined;
1148
- developer?: string | undefined;
1149
- publisher?: string | undefined;
1150
- releaseDate?: string | undefined;
1151
- steamRating?: number | undefined;
1152
- } | null;
1153
- dessly: {
1154
- editions: {
1155
- regions: {
1156
- price: string;
1157
- discount: string;
1158
- region: string;
1159
- priceOriginal: string;
1160
- }[];
1161
- edition: string;
1162
- packageId: number;
1163
- }[];
1164
- } | null;
1165
- }, {
1166
- steam: {
1167
- title: string;
1168
- description: string;
1169
- shortDescription: string;
1170
- coverImageUrl: string;
1171
- catalogImageUrl: string;
1172
- cardImageUrl: string;
1173
- steamAppId: number;
1174
- hasMultiplayer: boolean;
1175
- hasCoop: boolean;
1176
- hasSinglePlayer: boolean;
1177
- genres: string[];
1178
- systemRequirements: {
1179
- minimum?: {
1180
- os?: string | undefined;
1181
- processor?: string | undefined;
1182
- memory?: string | undefined;
1183
- graphics?: string | undefined;
1184
- storage?: string | undefined;
1185
- directx?: string | undefined;
1186
- network?: string | undefined;
1187
- } | undefined;
1188
- recommended?: {
1189
- os?: string | undefined;
1190
- processor?: string | undefined;
1191
- memory?: string | undefined;
1192
- graphics?: string | undefined;
1193
- storage?: string | undefined;
1194
- directx?: string | undefined;
1195
- network?: string | undefined;
1196
- } | undefined;
1197
- };
1198
- screenshots: string[];
1199
- originalTitle?: string | undefined;
1200
- developer?: string | undefined;
1201
- publisher?: string | undefined;
1202
- releaseDate?: string | undefined;
1203
- steamRating?: number | undefined;
1204
- } | null;
1205
- dessly: {
1206
- editions: {
1207
- regions: {
1208
- price: string;
1209
- discount: string;
1210
- region: string;
1211
- priceOriginal: string;
1212
- }[];
1213
- edition: string;
1214
- packageId: number;
1215
- }[];
1216
- } | null;
1217
- }>;
1218
- export type CategoryBrief = z.infer<typeof CategoryBriefSchema>;
1219
- export type CategoryResponse = z.infer<typeof CategoryResponseSchema>;
1220
- export type GenreBrief = z.infer<typeof GenreBriefSchema>;
1221
- export type GenreResponse = z.infer<typeof GenreResponseSchema>;
1222
- export type TagBrief = z.infer<typeof TagBriefSchema>;
1223
- export type RegionBrief = z.infer<typeof RegionBriefSchema>;
1224
- export type RegionResponse = z.infer<typeof RegionResponseSchema>;
1225
- export type VariantCatalog = z.infer<typeof VariantCatalogSchema>;
1226
- export type VariantDetail = z.infer<typeof VariantDetailSchema>;
1227
- export type MediaResponse = z.infer<typeof MediaResponseSchema>;
1228
- export type SystemRequirementsResponse = z.infer<typeof SystemRequirementsResponseSchema>;
1229
- export type ProductCatalogResponse = z.infer<typeof ProductCatalogResponseSchema>;
1230
- export type ProductDetailResponse = z.infer<typeof ProductDetailResponseSchema>;
1231
- export type KeysCountResponse = z.infer<typeof KeysCountResponseSchema>;
1232
- export type SteamParseResponse = z.infer<typeof SteamParseResponseSchema>;
1233
- //# sourceMappingURL=read.d.ts.map