@teez-sdk/teez-b2c-api 3.0.0 → 4.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 (790) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +228 -114
  3. package/dist/_virtual/_rolldown/runtime.cjs +23 -0
  4. package/dist/api/auth/check-token/index.d.cts +2 -0
  5. package/dist/api/auth/check-token/index.d.mts +2 -0
  6. package/dist/api/auth/check-token/operation.cjs +25 -0
  7. package/dist/api/auth/check-token/operation.cjs.map +1 -0
  8. package/dist/api/auth/check-token/operation.d.cts +44 -0
  9. package/dist/api/auth/check-token/operation.d.mts +44 -0
  10. package/dist/api/auth/check-token/operation.mjs +25 -0
  11. package/dist/api/auth/check-token/operation.mjs.map +1 -0
  12. package/dist/api/auth/check-token/responses.cjs +19 -0
  13. package/dist/api/auth/check-token/responses.cjs.map +1 -0
  14. package/dist/api/auth/check-token/responses.mjs +17 -0
  15. package/dist/api/auth/check-token/responses.mjs.map +1 -0
  16. package/dist/api/auth/check-token/types.d.cts +17 -0
  17. package/dist/api/auth/check-token/types.d.mts +17 -0
  18. package/dist/api/auth/index.d.cts +7 -0
  19. package/dist/api/auth/index.d.mts +7 -0
  20. package/dist/api/auth/login/index.d.cts +2 -0
  21. package/dist/api/auth/login/index.d.mts +2 -0
  22. package/dist/api/auth/login/operation.cjs +27 -0
  23. package/dist/api/auth/login/operation.cjs.map +1 -0
  24. package/dist/api/auth/login/operation.d.cts +34 -0
  25. package/dist/api/auth/login/operation.d.mts +34 -0
  26. package/dist/api/auth/login/operation.mjs +27 -0
  27. package/dist/api/auth/login/operation.mjs.map +1 -0
  28. package/dist/api/auth/login/request.cjs +9 -0
  29. package/dist/api/auth/login/request.cjs.map +1 -0
  30. package/dist/api/auth/login/request.mjs +7 -0
  31. package/dist/api/auth/login/request.mjs.map +1 -0
  32. package/dist/api/auth/login/types.d.cts +17 -0
  33. package/dist/api/auth/login/types.d.mts +17 -0
  34. package/dist/api/auth/operations.cjs +13 -0
  35. package/dist/api/auth/operations.cjs.map +1 -0
  36. package/dist/api/auth/operations.d.cts +118 -0
  37. package/dist/api/auth/operations.d.mts +118 -0
  38. package/dist/api/auth/operations.mjs +13 -0
  39. package/dist/api/auth/operations.mjs.map +1 -0
  40. package/dist/api/auth/verify/index.d.cts +2 -0
  41. package/dist/api/auth/verify/index.d.mts +2 -0
  42. package/dist/api/auth/verify/operation.cjs +27 -0
  43. package/dist/api/auth/verify/operation.cjs.map +1 -0
  44. package/dist/api/auth/verify/operation.d.cts +54 -0
  45. package/dist/api/auth/verify/operation.d.mts +54 -0
  46. package/dist/api/auth/verify/operation.mjs +27 -0
  47. package/dist/api/auth/verify/operation.mjs.map +1 -0
  48. package/dist/api/auth/verify/request.cjs +12 -0
  49. package/dist/api/auth/verify/request.cjs.map +1 -0
  50. package/dist/api/auth/verify/request.mjs +10 -0
  51. package/dist/api/auth/verify/request.mjs.map +1 -0
  52. package/dist/api/auth/verify/responses.cjs +19 -0
  53. package/dist/api/auth/verify/responses.cjs.map +1 -0
  54. package/dist/api/auth/verify/responses.mjs +17 -0
  55. package/dist/api/auth/verify/responses.mjs.map +1 -0
  56. package/dist/api/auth/verify/types.d.cts +17 -0
  57. package/dist/api/auth/verify/types.d.mts +17 -0
  58. package/dist/api/banners/index.d.cts +3 -0
  59. package/dist/api/banners/index.d.mts +3 -0
  60. package/dist/api/banners/list/index.d.cts +2 -0
  61. package/dist/api/banners/list/index.d.mts +2 -0
  62. package/dist/api/banners/list/operation.cjs +23 -0
  63. package/dist/api/banners/list/operation.cjs.map +1 -0
  64. package/dist/api/banners/list/operation.d.cts +71 -0
  65. package/dist/api/banners/list/operation.d.mts +71 -0
  66. package/dist/api/banners/list/operation.mjs +23 -0
  67. package/dist/api/banners/list/operation.mjs.map +1 -0
  68. package/dist/api/banners/list/request.cjs +9 -0
  69. package/dist/api/banners/list/request.cjs.map +1 -0
  70. package/dist/api/banners/list/request.mjs +7 -0
  71. package/dist/api/banners/list/request.mjs.map +1 -0
  72. package/dist/api/banners/list/responses.cjs +30 -0
  73. package/dist/api/banners/list/responses.cjs.map +1 -0
  74. package/dist/api/banners/list/responses.mjs +28 -0
  75. package/dist/api/banners/list/responses.mjs.map +1 -0
  76. package/dist/api/banners/list/types.d.cts +17 -0
  77. package/dist/api/banners/list/types.d.mts +17 -0
  78. package/dist/api/banners/operations.cjs +6 -0
  79. package/dist/api/banners/operations.cjs.map +1 -0
  80. package/dist/api/banners/operations.d.cts +73 -0
  81. package/dist/api/banners/operations.d.mts +73 -0
  82. package/dist/api/banners/operations.mjs +7 -0
  83. package/dist/api/banners/operations.mjs.map +1 -0
  84. package/dist/api/categories/get/index.d.cts +2 -0
  85. package/dist/api/categories/get/index.d.mts +2 -0
  86. package/dist/api/categories/get/operation.cjs +25 -0
  87. package/dist/api/categories/get/operation.cjs.map +1 -0
  88. package/dist/api/categories/get/operation.d.cts +31 -0
  89. package/dist/api/categories/get/operation.d.mts +31 -0
  90. package/dist/api/categories/get/operation.mjs +25 -0
  91. package/dist/api/categories/get/operation.mjs.map +1 -0
  92. package/dist/api/categories/get/request.cjs +9 -0
  93. package/dist/api/categories/get/request.cjs.map +1 -0
  94. package/dist/api/categories/get/request.mjs +7 -0
  95. package/dist/api/categories/get/request.mjs.map +1 -0
  96. package/dist/api/categories/get/responses.cjs +22 -0
  97. package/dist/api/categories/get/responses.cjs.map +1 -0
  98. package/dist/api/categories/get/responses.d.cts +22 -0
  99. package/dist/api/categories/get/responses.d.mts +22 -0
  100. package/dist/api/categories/get/responses.mjs +20 -0
  101. package/dist/api/categories/get/responses.mjs.map +1 -0
  102. package/dist/api/categories/get/types.d.cts +17 -0
  103. package/dist/api/categories/get/types.d.mts +17 -0
  104. package/dist/api/categories/get-parents/index.d.cts +2 -0
  105. package/dist/api/categories/get-parents/index.d.mts +2 -0
  106. package/dist/api/categories/get-parents/operation.cjs +23 -0
  107. package/dist/api/categories/get-parents/operation.cjs.map +1 -0
  108. package/dist/api/categories/get-parents/operation.d.cts +29 -0
  109. package/dist/api/categories/get-parents/operation.d.mts +29 -0
  110. package/dist/api/categories/get-parents/operation.mjs +23 -0
  111. package/dist/api/categories/get-parents/operation.mjs.map +1 -0
  112. package/dist/api/categories/get-parents/request.cjs +12 -0
  113. package/dist/api/categories/get-parents/request.cjs.map +1 -0
  114. package/dist/api/categories/get-parents/request.mjs +10 -0
  115. package/dist/api/categories/get-parents/request.mjs.map +1 -0
  116. package/dist/api/categories/get-parents/responses.cjs +20 -0
  117. package/dist/api/categories/get-parents/responses.cjs.map +1 -0
  118. package/dist/api/categories/get-parents/responses.d.cts +18 -0
  119. package/dist/api/categories/get-parents/responses.d.mts +18 -0
  120. package/dist/api/categories/get-parents/responses.mjs +18 -0
  121. package/dist/api/categories/get-parents/responses.mjs.map +1 -0
  122. package/dist/api/categories/get-parents/types.d.cts +17 -0
  123. package/dist/api/categories/get-parents/types.d.mts +17 -0
  124. package/dist/api/categories/index.d.cts +7 -0
  125. package/dist/api/categories/index.d.mts +7 -0
  126. package/dist/api/categories/list/index.d.cts +2 -0
  127. package/dist/api/categories/list/index.d.mts +2 -0
  128. package/dist/api/categories/list/operation.cjs +21 -0
  129. package/dist/api/categories/list/operation.cjs.map +1 -0
  130. package/dist/api/categories/list/operation.d.cts +40 -0
  131. package/dist/api/categories/list/operation.d.mts +40 -0
  132. package/dist/api/categories/list/operation.mjs +21 -0
  133. package/dist/api/categories/list/operation.mjs.map +1 -0
  134. package/dist/api/categories/list/responses.cjs +17 -0
  135. package/dist/api/categories/list/responses.cjs.map +1 -0
  136. package/dist/api/categories/list/responses.mjs +15 -0
  137. package/dist/api/categories/list/responses.mjs.map +1 -0
  138. package/dist/api/categories/list/types.d.cts +17 -0
  139. package/dist/api/categories/list/types.d.mts +17 -0
  140. package/dist/api/categories/operations.cjs +13 -0
  141. package/dist/api/categories/operations.cjs.map +1 -0
  142. package/dist/api/categories/operations.d.cts +86 -0
  143. package/dist/api/categories/operations.d.mts +86 -0
  144. package/dist/api/categories/operations.mjs +13 -0
  145. package/dist/api/categories/operations.mjs.map +1 -0
  146. package/dist/api/collections/get/index.d.cts +2 -0
  147. package/dist/api/collections/get/index.d.mts +2 -0
  148. package/dist/api/collections/get/operation.cjs +25 -0
  149. package/dist/api/collections/get/operation.cjs.map +1 -0
  150. package/dist/api/collections/get/operation.d.cts +44 -0
  151. package/dist/api/collections/get/operation.d.mts +44 -0
  152. package/dist/api/collections/get/operation.mjs +25 -0
  153. package/dist/api/collections/get/operation.mjs.map +1 -0
  154. package/dist/api/collections/get/request.cjs +9 -0
  155. package/dist/api/collections/get/request.cjs.map +1 -0
  156. package/dist/api/collections/get/request.mjs +7 -0
  157. package/dist/api/collections/get/request.mjs.map +1 -0
  158. package/dist/api/collections/get/responses.cjs +17 -0
  159. package/dist/api/collections/get/responses.cjs.map +1 -0
  160. package/dist/api/collections/get/responses.mjs +15 -0
  161. package/dist/api/collections/get/responses.mjs.map +1 -0
  162. package/dist/api/collections/get/types.d.cts +17 -0
  163. package/dist/api/collections/get/types.d.mts +17 -0
  164. package/dist/api/collections/get-skus/index.d.cts +2 -0
  165. package/dist/api/collections/get-skus/index.d.mts +2 -0
  166. package/dist/api/collections/get-skus/operation.cjs +23 -0
  167. package/dist/api/collections/get-skus/operation.cjs.map +1 -0
  168. package/dist/api/collections/get-skus/operation.d.cts +241 -0
  169. package/dist/api/collections/get-skus/operation.d.mts +241 -0
  170. package/dist/api/collections/get-skus/operation.mjs +23 -0
  171. package/dist/api/collections/get-skus/operation.mjs.map +1 -0
  172. package/dist/api/collections/get-skus/request.cjs +22 -0
  173. package/dist/api/collections/get-skus/request.cjs.map +1 -0
  174. package/dist/api/collections/get-skus/request.mjs +20 -0
  175. package/dist/api/collections/get-skus/request.mjs.map +1 -0
  176. package/dist/api/collections/get-skus/responses.cjs +41 -0
  177. package/dist/api/collections/get-skus/responses.cjs.map +1 -0
  178. package/dist/api/collections/get-skus/responses.mjs +39 -0
  179. package/dist/api/collections/get-skus/responses.mjs.map +1 -0
  180. package/dist/api/collections/get-skus/types.d.cts +17 -0
  181. package/dist/api/collections/get-skus/types.d.mts +17 -0
  182. package/dist/api/collections/index.d.cts +7 -0
  183. package/dist/api/collections/index.d.mts +7 -0
  184. package/dist/api/collections/list/index.d.cts +2 -0
  185. package/dist/api/collections/list/index.d.mts +2 -0
  186. package/dist/api/collections/list/operation.cjs +23 -0
  187. package/dist/api/collections/list/operation.cjs.map +1 -0
  188. package/dist/api/collections/list/operation.d.cts +44 -0
  189. package/dist/api/collections/list/operation.d.mts +44 -0
  190. package/dist/api/collections/list/operation.mjs +23 -0
  191. package/dist/api/collections/list/operation.mjs.map +1 -0
  192. package/dist/api/collections/list/request.cjs +12 -0
  193. package/dist/api/collections/list/request.cjs.map +1 -0
  194. package/dist/api/collections/list/request.mjs +10 -0
  195. package/dist/api/collections/list/request.mjs.map +1 -0
  196. package/dist/api/collections/list/responses.cjs +16 -0
  197. package/dist/api/collections/list/responses.cjs.map +1 -0
  198. package/dist/api/collections/list/responses.mjs +14 -0
  199. package/dist/api/collections/list/responses.mjs.map +1 -0
  200. package/dist/api/collections/list/types.d.cts +17 -0
  201. package/dist/api/collections/list/types.d.mts +17 -0
  202. package/dist/api/collections/operations.cjs +13 -0
  203. package/dist/api/collections/operations.cjs.map +1 -0
  204. package/dist/api/collections/operations.d.cts +314 -0
  205. package/dist/api/collections/operations.d.mts +314 -0
  206. package/dist/api/collections/operations.mjs +13 -0
  207. package/dist/api/collections/operations.mjs.map +1 -0
  208. package/dist/api/favorites/add/index.d.cts +2 -0
  209. package/dist/api/favorites/add/index.d.mts +2 -0
  210. package/dist/api/favorites/add/operation.cjs +27 -0
  211. package/dist/api/favorites/add/operation.cjs.map +1 -0
  212. package/dist/api/favorites/add/operation.d.cts +30 -0
  213. package/dist/api/favorites/add/operation.d.mts +30 -0
  214. package/dist/api/favorites/add/operation.mjs +27 -0
  215. package/dist/api/favorites/add/operation.mjs.map +1 -0
  216. package/dist/api/favorites/add/request.cjs +9 -0
  217. package/dist/api/favorites/add/request.cjs.map +1 -0
  218. package/dist/api/favorites/add/request.mjs +7 -0
  219. package/dist/api/favorites/add/request.mjs.map +1 -0
  220. package/dist/api/favorites/add/types.d.cts +17 -0
  221. package/dist/api/favorites/add/types.d.mts +17 -0
  222. package/dist/api/favorites/get-ids/index.d.cts +2 -0
  223. package/dist/api/favorites/get-ids/index.d.mts +2 -0
  224. package/dist/api/favorites/get-ids/operation.cjs +25 -0
  225. package/dist/api/favorites/get-ids/operation.cjs.map +1 -0
  226. package/dist/api/favorites/get-ids/operation.d.cts +30 -0
  227. package/dist/api/favorites/get-ids/operation.d.mts +30 -0
  228. package/dist/api/favorites/get-ids/operation.mjs +25 -0
  229. package/dist/api/favorites/get-ids/operation.mjs.map +1 -0
  230. package/dist/api/favorites/get-ids/responses.cjs +9 -0
  231. package/dist/api/favorites/get-ids/responses.cjs.map +1 -0
  232. package/dist/api/favorites/get-ids/responses.mjs +7 -0
  233. package/dist/api/favorites/get-ids/responses.mjs.map +1 -0
  234. package/dist/api/favorites/get-ids/types.d.cts +17 -0
  235. package/dist/api/favorites/get-ids/types.d.mts +17 -0
  236. package/dist/api/favorites/index.d.cts +7 -0
  237. package/dist/api/favorites/index.d.mts +7 -0
  238. package/dist/api/favorites/operations.cjs +13 -0
  239. package/dist/api/favorites/operations.cjs.map +1 -0
  240. package/dist/api/favorites/operations.d.cts +76 -0
  241. package/dist/api/favorites/operations.d.mts +76 -0
  242. package/dist/api/favorites/operations.mjs +13 -0
  243. package/dist/api/favorites/operations.mjs.map +1 -0
  244. package/dist/api/favorites/remove/index.d.cts +2 -0
  245. package/dist/api/favorites/remove/index.d.mts +2 -0
  246. package/dist/api/favorites/remove/operation.cjs +27 -0
  247. package/dist/api/favorites/remove/operation.cjs.map +1 -0
  248. package/dist/api/favorites/remove/operation.d.cts +30 -0
  249. package/dist/api/favorites/remove/operation.d.mts +30 -0
  250. package/dist/api/favorites/remove/operation.mjs +27 -0
  251. package/dist/api/favorites/remove/operation.mjs.map +1 -0
  252. package/dist/api/favorites/remove/request.cjs +9 -0
  253. package/dist/api/favorites/remove/request.cjs.map +1 -0
  254. package/dist/api/favorites/remove/request.mjs +7 -0
  255. package/dist/api/favorites/remove/request.mjs.map +1 -0
  256. package/dist/api/favorites/remove/types.d.cts +17 -0
  257. package/dist/api/favorites/remove/types.d.mts +17 -0
  258. package/dist/api/feature-flags/index.d.cts +3 -0
  259. package/dist/api/feature-flags/index.d.mts +3 -0
  260. package/dist/api/feature-flags/list/index.d.cts +2 -0
  261. package/dist/api/feature-flags/list/index.d.mts +2 -0
  262. package/dist/api/feature-flags/list/operation.cjs +21 -0
  263. package/dist/api/feature-flags/list/operation.cjs.map +1 -0
  264. package/dist/api/feature-flags/list/operation.d.cts +28 -0
  265. package/dist/api/feature-flags/list/operation.d.mts +28 -0
  266. package/dist/api/feature-flags/list/operation.mjs +21 -0
  267. package/dist/api/feature-flags/list/operation.mjs.map +1 -0
  268. package/dist/api/feature-flags/list/responses.cjs +13 -0
  269. package/dist/api/feature-flags/list/responses.cjs.map +1 -0
  270. package/dist/api/feature-flags/list/responses.mjs +11 -0
  271. package/dist/api/feature-flags/list/responses.mjs.map +1 -0
  272. package/dist/api/feature-flags/list/types.d.cts +17 -0
  273. package/dist/api/feature-flags/list/types.d.mts +17 -0
  274. package/dist/api/feature-flags/operations.cjs +6 -0
  275. package/dist/api/feature-flags/operations.cjs.map +1 -0
  276. package/dist/api/feature-flags/operations.d.cts +30 -0
  277. package/dist/api/feature-flags/operations.d.mts +30 -0
  278. package/dist/api/feature-flags/operations.mjs +7 -0
  279. package/dist/api/feature-flags/operations.mjs.map +1 -0
  280. package/dist/api/products/autocomplete/index.d.cts +2 -0
  281. package/dist/api/products/autocomplete/index.d.mts +2 -0
  282. package/dist/api/products/autocomplete/operation.cjs +23 -0
  283. package/dist/api/products/autocomplete/operation.cjs.map +1 -0
  284. package/dist/api/products/autocomplete/operation.d.cts +35 -0
  285. package/dist/api/products/autocomplete/operation.d.mts +35 -0
  286. package/dist/api/products/autocomplete/operation.mjs +23 -0
  287. package/dist/api/products/autocomplete/operation.mjs.map +1 -0
  288. package/dist/api/products/autocomplete/request.cjs +9 -0
  289. package/dist/api/products/autocomplete/request.cjs.map +1 -0
  290. package/dist/api/products/autocomplete/request.mjs +7 -0
  291. package/dist/api/products/autocomplete/request.mjs.map +1 -0
  292. package/dist/api/products/autocomplete/responses.cjs +13 -0
  293. package/dist/api/products/autocomplete/responses.cjs.map +1 -0
  294. package/dist/api/products/autocomplete/responses.mjs +11 -0
  295. package/dist/api/products/autocomplete/responses.mjs.map +1 -0
  296. package/dist/api/products/autocomplete/types.d.cts +17 -0
  297. package/dist/api/products/autocomplete/types.d.mts +17 -0
  298. package/dist/api/products/get-reviews/index.d.cts +2 -0
  299. package/dist/api/products/get-reviews/index.d.mts +2 -0
  300. package/dist/api/products/get-reviews/operation.cjs +26 -0
  301. package/dist/api/products/get-reviews/operation.cjs.map +1 -0
  302. package/dist/api/products/get-reviews/operation.d.cts +85 -0
  303. package/dist/api/products/get-reviews/operation.d.mts +85 -0
  304. package/dist/api/products/get-reviews/operation.mjs +26 -0
  305. package/dist/api/products/get-reviews/operation.mjs.map +1 -0
  306. package/dist/api/products/get-reviews/request.cjs +14 -0
  307. package/dist/api/products/get-reviews/request.cjs.map +1 -0
  308. package/dist/api/products/get-reviews/request.mjs +11 -0
  309. package/dist/api/products/get-reviews/request.mjs.map +1 -0
  310. package/dist/api/products/get-reviews/responses.cjs +20 -0
  311. package/dist/api/products/get-reviews/responses.cjs.map +1 -0
  312. package/dist/api/products/get-reviews/responses.mjs +18 -0
  313. package/dist/api/products/get-reviews/responses.mjs.map +1 -0
  314. package/dist/api/products/get-reviews/types.d.cts +17 -0
  315. package/dist/api/products/get-reviews/types.d.mts +17 -0
  316. package/dist/api/products/get-sort-options/index.d.cts +2 -0
  317. package/dist/api/products/get-sort-options/index.d.mts +2 -0
  318. package/dist/api/products/get-sort-options/operation.cjs +23 -0
  319. package/dist/api/products/get-sort-options/operation.cjs.map +1 -0
  320. package/dist/api/products/get-sort-options/operation.d.cts +37 -0
  321. package/dist/api/products/get-sort-options/operation.d.mts +37 -0
  322. package/dist/api/products/get-sort-options/operation.mjs +23 -0
  323. package/dist/api/products/get-sort-options/operation.mjs.map +1 -0
  324. package/dist/api/products/get-sort-options/request.cjs +12 -0
  325. package/dist/api/products/get-sort-options/request.cjs.map +1 -0
  326. package/dist/api/products/get-sort-options/request.mjs +10 -0
  327. package/dist/api/products/get-sort-options/request.mjs.map +1 -0
  328. package/dist/api/products/get-sort-options/responses.cjs +21 -0
  329. package/dist/api/products/get-sort-options/responses.cjs.map +1 -0
  330. package/dist/api/products/get-sort-options/responses.mjs +19 -0
  331. package/dist/api/products/get-sort-options/responses.mjs.map +1 -0
  332. package/dist/api/products/get-sort-options/types.d.cts +17 -0
  333. package/dist/api/products/get-sort-options/types.d.mts +17 -0
  334. package/dist/api/products/index.d.cts +9 -0
  335. package/dist/api/products/index.d.mts +9 -0
  336. package/dist/api/products/list/index.d.cts +2 -0
  337. package/dist/api/products/list/index.d.mts +2 -0
  338. package/dist/api/products/list/operation.cjs +23 -0
  339. package/dist/api/products/list/operation.cjs.map +1 -0
  340. package/dist/api/products/list/operation.d.cts +287 -0
  341. package/dist/api/products/list/operation.d.mts +287 -0
  342. package/dist/api/products/list/operation.mjs +23 -0
  343. package/dist/api/products/list/operation.mjs.map +1 -0
  344. package/dist/api/products/list/request.cjs +27 -0
  345. package/dist/api/products/list/request.cjs.map +1 -0
  346. package/dist/api/products/list/request.mjs +25 -0
  347. package/dist/api/products/list/request.mjs.map +1 -0
  348. package/dist/api/products/list/responses.cjs +49 -0
  349. package/dist/api/products/list/responses.cjs.map +1 -0
  350. package/dist/api/products/list/responses.mjs +47 -0
  351. package/dist/api/products/list/responses.mjs.map +1 -0
  352. package/dist/api/products/list/types.d.cts +17 -0
  353. package/dist/api/products/list/types.d.mts +17 -0
  354. package/dist/api/products/operations.cjs +15 -0
  355. package/dist/api/products/operations.cjs.map +1 -0
  356. package/dist/api/products/operations.d.cts +422 -0
  357. package/dist/api/products/operations.d.mts +422 -0
  358. package/dist/api/products/operations.mjs +15 -0
  359. package/dist/api/products/operations.mjs.map +1 -0
  360. package/dist/api/promo/index.d.cts +3 -0
  361. package/dist/api/promo/index.d.mts +3 -0
  362. package/dist/api/promo/list/index.d.cts +2 -0
  363. package/dist/api/promo/list/index.d.mts +2 -0
  364. package/dist/api/promo/list/operation.cjs +21 -0
  365. package/dist/api/promo/list/operation.cjs.map +1 -0
  366. package/dist/api/promo/list/operation.d.cts +41 -0
  367. package/dist/api/promo/list/operation.d.mts +41 -0
  368. package/dist/api/promo/list/operation.mjs +21 -0
  369. package/dist/api/promo/list/operation.mjs.map +1 -0
  370. package/dist/api/promo/list/responses.cjs +18 -0
  371. package/dist/api/promo/list/responses.cjs.map +1 -0
  372. package/dist/api/promo/list/responses.mjs +16 -0
  373. package/dist/api/promo/list/responses.mjs.map +1 -0
  374. package/dist/api/promo/list/types.d.cts +17 -0
  375. package/dist/api/promo/list/types.d.mts +17 -0
  376. package/dist/api/promo/operations.cjs +6 -0
  377. package/dist/api/promo/operations.cjs.map +1 -0
  378. package/dist/api/promo/operations.d.cts +43 -0
  379. package/dist/api/promo/operations.d.mts +43 -0
  380. package/dist/api/promo/operations.mjs +7 -0
  381. package/dist/api/promo/operations.mjs.map +1 -0
  382. package/dist/api/promocodes/index.d.cts +3 -0
  383. package/dist/api/promocodes/index.d.mts +3 -0
  384. package/dist/api/promocodes/operations.cjs +6 -0
  385. package/dist/api/promocodes/operations.cjs.map +1 -0
  386. package/dist/api/promocodes/operations.d.cts +106 -0
  387. package/dist/api/promocodes/operations.d.mts +106 -0
  388. package/dist/api/promocodes/operations.mjs +7 -0
  389. package/dist/api/promocodes/operations.mjs.map +1 -0
  390. package/dist/api/promocodes/validate/index.d.cts +2 -0
  391. package/dist/api/promocodes/validate/index.d.mts +2 -0
  392. package/dist/api/promocodes/validate/operation.cjs +27 -0
  393. package/dist/api/promocodes/validate/operation.cjs.map +1 -0
  394. package/dist/api/promocodes/validate/operation.d.cts +104 -0
  395. package/dist/api/promocodes/validate/operation.d.mts +104 -0
  396. package/dist/api/promocodes/validate/operation.mjs +27 -0
  397. package/dist/api/promocodes/validate/operation.mjs.map +1 -0
  398. package/dist/api/promocodes/validate/request.cjs +21 -0
  399. package/dist/api/promocodes/validate/request.cjs.map +1 -0
  400. package/dist/api/promocodes/validate/request.mjs +19 -0
  401. package/dist/api/promocodes/validate/request.mjs.map +1 -0
  402. package/dist/api/promocodes/validate/responses.cjs +27 -0
  403. package/dist/api/promocodes/validate/responses.cjs.map +1 -0
  404. package/dist/api/promocodes/validate/responses.mjs +25 -0
  405. package/dist/api/promocodes/validate/responses.mjs.map +1 -0
  406. package/dist/api/promocodes/validate/types.d.cts +17 -0
  407. package/dist/api/promocodes/validate/types.d.mts +17 -0
  408. package/dist/api/shops/get/index.d.cts +2 -0
  409. package/dist/api/shops/get/index.d.mts +2 -0
  410. package/dist/api/shops/get/operation.cjs +25 -0
  411. package/dist/api/shops/get/operation.cjs.map +1 -0
  412. package/dist/api/shops/get/operation.d.cts +95 -0
  413. package/dist/api/shops/get/operation.d.mts +95 -0
  414. package/dist/api/shops/get/operation.mjs +25 -0
  415. package/dist/api/shops/get/operation.mjs.map +1 -0
  416. package/dist/api/shops/get/request.cjs +9 -0
  417. package/dist/api/shops/get/request.cjs.map +1 -0
  418. package/dist/api/shops/get/request.mjs +7 -0
  419. package/dist/api/shops/get/request.mjs.map +1 -0
  420. package/dist/api/shops/get/responses.cjs +34 -0
  421. package/dist/api/shops/get/responses.cjs.map +1 -0
  422. package/dist/api/shops/get/responses.mjs +32 -0
  423. package/dist/api/shops/get/responses.mjs.map +1 -0
  424. package/dist/api/shops/get/types.d.cts +17 -0
  425. package/dist/api/shops/get/types.d.mts +17 -0
  426. package/dist/api/shops/get-monobrand/index.d.cts +2 -0
  427. package/dist/api/shops/get-monobrand/index.d.mts +2 -0
  428. package/dist/api/shops/get-monobrand/operation.cjs +23 -0
  429. package/dist/api/shops/get-monobrand/operation.cjs.map +1 -0
  430. package/dist/api/shops/get-monobrand/operation.d.cts +56 -0
  431. package/dist/api/shops/get-monobrand/operation.d.mts +56 -0
  432. package/dist/api/shops/get-monobrand/operation.mjs +23 -0
  433. package/dist/api/shops/get-monobrand/operation.mjs.map +1 -0
  434. package/dist/api/shops/get-monobrand/request.cjs +13 -0
  435. package/dist/api/shops/get-monobrand/request.cjs.map +1 -0
  436. package/dist/api/shops/get-monobrand/request.mjs +11 -0
  437. package/dist/api/shops/get-monobrand/request.mjs.map +1 -0
  438. package/dist/api/shops/get-monobrand/responses.cjs +17 -0
  439. package/dist/api/shops/get-monobrand/responses.cjs.map +1 -0
  440. package/dist/api/shops/get-monobrand/responses.mjs +15 -0
  441. package/dist/api/shops/get-monobrand/responses.mjs.map +1 -0
  442. package/dist/api/shops/get-monobrand/types.d.cts +17 -0
  443. package/dist/api/shops/get-monobrand/types.d.mts +17 -0
  444. package/dist/api/shops/get-products/index.d.cts +2 -0
  445. package/dist/api/shops/get-products/index.d.mts +2 -0
  446. package/dist/api/shops/get-products/operation.cjs +26 -0
  447. package/dist/api/shops/get-products/operation.cjs.map +1 -0
  448. package/dist/api/shops/get-products/operation.d.cts +266 -0
  449. package/dist/api/shops/get-products/operation.d.mts +266 -0
  450. package/dist/api/shops/get-products/operation.mjs +26 -0
  451. package/dist/api/shops/get-products/operation.mjs.map +1 -0
  452. package/dist/api/shops/get-products/request.cjs +27 -0
  453. package/dist/api/shops/get-products/request.cjs.map +1 -0
  454. package/dist/api/shops/get-products/request.mjs +24 -0
  455. package/dist/api/shops/get-products/request.mjs.map +1 -0
  456. package/dist/api/shops/get-products/responses.cjs +43 -0
  457. package/dist/api/shops/get-products/responses.cjs.map +1 -0
  458. package/dist/api/shops/get-products/responses.mjs +41 -0
  459. package/dist/api/shops/get-products/responses.mjs.map +1 -0
  460. package/dist/api/shops/get-products/types.d.cts +17 -0
  461. package/dist/api/shops/get-products/types.d.mts +17 -0
  462. package/dist/api/shops/index.d.cts +7 -0
  463. package/dist/api/shops/index.d.mts +7 -0
  464. package/dist/api/shops/operations.cjs +13 -0
  465. package/dist/api/shops/operations.cjs.map +1 -0
  466. package/dist/api/shops/operations.d.cts +402 -0
  467. package/dist/api/shops/operations.d.mts +402 -0
  468. package/dist/api/shops/operations.mjs +13 -0
  469. package/dist/api/shops/operations.mjs.map +1 -0
  470. package/dist/api/sku/get/index.d.cts +2 -0
  471. package/dist/api/sku/get/index.d.mts +2 -0
  472. package/dist/api/sku/get/operation.cjs +25 -0
  473. package/dist/api/sku/get/operation.cjs.map +1 -0
  474. package/dist/api/sku/get/operation.d.cts +275 -0
  475. package/dist/api/sku/get/operation.d.mts +275 -0
  476. package/dist/api/sku/get/operation.mjs +25 -0
  477. package/dist/api/sku/get/operation.mjs.map +1 -0
  478. package/dist/api/sku/get/request.cjs +9 -0
  479. package/dist/api/sku/get/request.cjs.map +1 -0
  480. package/dist/api/sku/get/request.mjs +7 -0
  481. package/dist/api/sku/get/request.mjs.map +1 -0
  482. package/dist/api/sku/get/responses.cjs +89 -0
  483. package/dist/api/sku/get/responses.cjs.map +1 -0
  484. package/dist/api/sku/get/responses.mjs +87 -0
  485. package/dist/api/sku/get/responses.mjs.map +1 -0
  486. package/dist/api/sku/get/types.d.cts +17 -0
  487. package/dist/api/sku/get/types.d.mts +17 -0
  488. package/dist/api/sku/get-collections/index.d.cts +2 -0
  489. package/dist/api/sku/get-collections/index.d.mts +2 -0
  490. package/dist/api/sku/get-collections/operation.cjs +25 -0
  491. package/dist/api/sku/get-collections/operation.cjs.map +1 -0
  492. package/dist/api/sku/get-collections/operation.d.cts +51 -0
  493. package/dist/api/sku/get-collections/operation.d.mts +51 -0
  494. package/dist/api/sku/get-collections/operation.mjs +25 -0
  495. package/dist/api/sku/get-collections/operation.mjs.map +1 -0
  496. package/dist/api/sku/get-collections/request.cjs +9 -0
  497. package/dist/api/sku/get-collections/request.cjs.map +1 -0
  498. package/dist/api/sku/get-collections/request.mjs +7 -0
  499. package/dist/api/sku/get-collections/request.mjs.map +1 -0
  500. package/dist/api/sku/get-collections/responses.cjs +17 -0
  501. package/dist/api/sku/get-collections/responses.cjs.map +1 -0
  502. package/dist/api/sku/get-collections/responses.mjs +15 -0
  503. package/dist/api/sku/get-collections/responses.mjs.map +1 -0
  504. package/dist/api/sku/get-collections/types.d.cts +17 -0
  505. package/dist/api/sku/get-collections/types.d.mts +17 -0
  506. package/dist/api/sku/get-review-available/index.d.cts +2 -0
  507. package/dist/api/sku/get-review-available/index.d.mts +2 -0
  508. package/dist/api/sku/get-review-available/operation.cjs +29 -0
  509. package/dist/api/sku/get-review-available/operation.cjs.map +1 -0
  510. package/dist/api/sku/get-review-available/operation.d.cts +43 -0
  511. package/dist/api/sku/get-review-available/operation.d.mts +43 -0
  512. package/dist/api/sku/get-review-available/operation.mjs +29 -0
  513. package/dist/api/sku/get-review-available/operation.mjs.map +1 -0
  514. package/dist/api/sku/get-review-available/request.cjs +9 -0
  515. package/dist/api/sku/get-review-available/request.cjs.map +1 -0
  516. package/dist/api/sku/get-review-available/request.mjs +7 -0
  517. package/dist/api/sku/get-review-available/request.mjs.map +1 -0
  518. package/dist/api/sku/get-review-available/responses.cjs +12 -0
  519. package/dist/api/sku/get-review-available/responses.cjs.map +1 -0
  520. package/dist/api/sku/get-review-available/responses.mjs +10 -0
  521. package/dist/api/sku/get-review-available/responses.mjs.map +1 -0
  522. package/dist/api/sku/get-review-available/types.d.cts +17 -0
  523. package/dist/api/sku/get-review-available/types.d.mts +17 -0
  524. package/dist/api/sku/get-similar/index.d.cts +2 -0
  525. package/dist/api/sku/get-similar/index.d.mts +2 -0
  526. package/dist/api/sku/get-similar/operation.cjs +23 -0
  527. package/dist/api/sku/get-similar/operation.cjs.map +1 -0
  528. package/dist/api/sku/get-similar/operation.d.cts +109 -0
  529. package/dist/api/sku/get-similar/operation.d.mts +109 -0
  530. package/dist/api/sku/get-similar/operation.mjs +23 -0
  531. package/dist/api/sku/get-similar/operation.mjs.map +1 -0
  532. package/dist/api/sku/get-similar/request.cjs +13 -0
  533. package/dist/api/sku/get-similar/request.cjs.map +1 -0
  534. package/dist/api/sku/get-similar/request.mjs +11 -0
  535. package/dist/api/sku/get-similar/request.mjs.map +1 -0
  536. package/dist/api/sku/get-similar/responses.cjs +31 -0
  537. package/dist/api/sku/get-similar/responses.cjs.map +1 -0
  538. package/dist/api/sku/get-similar/responses.mjs +29 -0
  539. package/dist/api/sku/get-similar/responses.mjs.map +1 -0
  540. package/dist/api/sku/get-similar/types.d.cts +17 -0
  541. package/dist/api/sku/get-similar/types.d.mts +17 -0
  542. package/dist/api/sku/index.d.cts +9 -0
  543. package/dist/api/sku/index.d.mts +9 -0
  544. package/dist/api/sku/operations.cjs +15 -0
  545. package/dist/api/sku/operations.cjs.map +1 -0
  546. package/dist/api/sku/operations.d.cts +455 -0
  547. package/dist/api/sku/operations.d.mts +455 -0
  548. package/dist/api/sku/operations.mjs +15 -0
  549. package/dist/api/sku/operations.mjs.map +1 -0
  550. package/dist/api/users/index.d.cts +5 -0
  551. package/dist/api/users/index.d.mts +5 -0
  552. package/dist/api/users/operations.cjs +11 -0
  553. package/dist/api/users/operations.cjs.map +1 -0
  554. package/dist/api/users/operations.d.cts +96 -0
  555. package/dist/api/users/operations.d.mts +96 -0
  556. package/dist/api/users/operations.mjs +11 -0
  557. package/dist/api/users/operations.mjs.map +1 -0
  558. package/dist/api/users/register-device/index.d.cts +2 -0
  559. package/dist/api/users/register-device/index.d.mts +2 -0
  560. package/dist/api/users/register-device/operation.cjs +28 -0
  561. package/dist/api/users/register-device/operation.cjs.map +1 -0
  562. package/dist/api/users/register-device/operation.d.cts +61 -0
  563. package/dist/api/users/register-device/operation.d.mts +61 -0
  564. package/dist/api/users/register-device/operation.mjs +28 -0
  565. package/dist/api/users/register-device/operation.mjs.map +1 -0
  566. package/dist/api/users/register-device/request.cjs +14 -0
  567. package/dist/api/users/register-device/request.cjs.map +1 -0
  568. package/dist/api/users/register-device/request.mjs +12 -0
  569. package/dist/api/users/register-device/request.mjs.map +1 -0
  570. package/dist/api/users/register-device/types.d.cts +17 -0
  571. package/dist/api/users/register-device/types.d.mts +17 -0
  572. package/dist/api/users/update-language/index.d.cts +2 -0
  573. package/dist/api/users/update-language/index.d.mts +2 -0
  574. package/dist/api/users/update-language/operation.cjs +27 -0
  575. package/dist/api/users/update-language/operation.cjs.map +1 -0
  576. package/dist/api/users/update-language/operation.d.cts +41 -0
  577. package/dist/api/users/update-language/operation.d.mts +41 -0
  578. package/dist/api/users/update-language/operation.mjs +27 -0
  579. package/dist/api/users/update-language/operation.mjs.map +1 -0
  580. package/dist/api/users/update-language/request.cjs +11 -0
  581. package/dist/api/users/update-language/request.cjs.map +1 -0
  582. package/dist/api/users/update-language/request.mjs +8 -0
  583. package/dist/api/users/update-language/request.mjs.map +1 -0
  584. package/dist/api/users/update-language/responses.cjs +14 -0
  585. package/dist/api/users/update-language/responses.cjs.map +1 -0
  586. package/dist/api/users/update-language/responses.mjs +12 -0
  587. package/dist/api/users/update-language/responses.mjs.map +1 -0
  588. package/dist/api/users/update-language/types.d.cts +17 -0
  589. package/dist/api/users/update-language/types.d.mts +17 -0
  590. package/dist/config/defaults.cjs +12 -0
  591. package/dist/config/defaults.cjs.map +1 -0
  592. package/dist/config/defaults.d.cts +10 -0
  593. package/dist/config/defaults.d.mts +10 -0
  594. package/dist/config/defaults.mjs +9 -0
  595. package/dist/config/defaults.mjs.map +1 -0
  596. package/dist/config/headers.cjs +17 -0
  597. package/dist/config/headers.cjs.map +1 -0
  598. package/dist/config/headers.d.cts +8 -0
  599. package/dist/config/headers.d.mts +8 -0
  600. package/dist/config/headers.mjs +16 -0
  601. package/dist/config/headers.mjs.map +1 -0
  602. package/dist/config/resolve.cjs +28 -0
  603. package/dist/config/resolve.cjs.map +1 -0
  604. package/dist/config/resolve.d.cts +8 -0
  605. package/dist/config/resolve.d.mts +8 -0
  606. package/dist/config/resolve.mjs +27 -0
  607. package/dist/config/resolve.mjs.map +1 -0
  608. package/dist/config/types.d.cts +25 -0
  609. package/dist/config/types.d.mts +25 -0
  610. package/dist/contracts/api-error-response.cjs +12 -0
  611. package/dist/contracts/api-error-response.cjs.map +1 -0
  612. package/dist/contracts/api-error-response.d.cts +13 -0
  613. package/dist/contracts/api-error-response.d.mts +13 -0
  614. package/dist/contracts/api-error-response.mjs +10 -0
  615. package/dist/contracts/api-error-response.mjs.map +1 -0
  616. package/dist/contracts/filters/category.cjs +21 -0
  617. package/dist/contracts/filters/category.cjs.map +1 -0
  618. package/dist/contracts/filters/category.d.cts +37 -0
  619. package/dist/contracts/filters/category.d.mts +37 -0
  620. package/dist/contracts/filters/category.mjs +17 -0
  621. package/dist/contracts/filters/category.mjs.map +1 -0
  622. package/dist/contracts/filters/filter.cjs +11 -0
  623. package/dist/contracts/filters/filter.cjs.map +1 -0
  624. package/dist/contracts/filters/filter.d.cts +67 -0
  625. package/dist/contracts/filters/filter.d.mts +67 -0
  626. package/dist/contracts/filters/filter.mjs +9 -0
  627. package/dist/contracts/filters/filter.mjs.map +1 -0
  628. package/dist/contracts/filters/range.cjs +21 -0
  629. package/dist/contracts/filters/range.cjs.map +1 -0
  630. package/dist/contracts/filters/range.d.cts +37 -0
  631. package/dist/contracts/filters/range.d.mts +37 -0
  632. package/dist/contracts/filters/range.mjs +17 -0
  633. package/dist/contracts/filters/range.mjs.map +1 -0
  634. package/dist/contracts/pagination.cjs +17 -0
  635. package/dist/contracts/pagination.cjs.map +1 -0
  636. package/dist/contracts/pagination.d.cts +27 -0
  637. package/dist/contracts/pagination.d.mts +27 -0
  638. package/dist/contracts/pagination.mjs +15 -0
  639. package/dist/contracts/pagination.mjs.map +1 -0
  640. package/dist/errors/teez-api-error.cjs +26 -0
  641. package/dist/errors/teez-api-error.cjs.map +1 -0
  642. package/dist/errors/teez-api-error.d.cts +35 -0
  643. package/dist/errors/teez-api-error.d.mts +35 -0
  644. package/dist/errors/teez-api-error.mjs +26 -0
  645. package/dist/errors/teez-api-error.mjs.map +1 -0
  646. package/dist/errors/teez-error.cjs +8 -0
  647. package/dist/errors/teez-error.cjs.map +1 -0
  648. package/dist/errors/teez-error.d.cts +7 -0
  649. package/dist/errors/teez-error.d.mts +7 -0
  650. package/dist/errors/teez-error.mjs +8 -0
  651. package/dist/errors/teez-error.mjs.map +1 -0
  652. package/dist/errors/teez-network-error.cjs +18 -0
  653. package/dist/errors/teez-network-error.cjs.map +1 -0
  654. package/dist/errors/teez-network-error.d.cts +23 -0
  655. package/dist/errors/teez-network-error.d.mts +23 -0
  656. package/dist/errors/teez-network-error.mjs +18 -0
  657. package/dist/errors/teez-network-error.mjs.map +1 -0
  658. package/dist/errors/teez-timeout-error.cjs +20 -0
  659. package/dist/errors/teez-timeout-error.cjs.map +1 -0
  660. package/dist/errors/teez-timeout-error.d.cts +26 -0
  661. package/dist/errors/teez-timeout-error.d.mts +26 -0
  662. package/dist/errors/teez-timeout-error.mjs +20 -0
  663. package/dist/errors/teez-timeout-error.mjs.map +1 -0
  664. package/dist/errors/teez-validation-error.cjs +16 -0
  665. package/dist/errors/teez-validation-error.cjs.map +1 -0
  666. package/dist/errors/teez-validation-error.d.cts +25 -0
  667. package/dist/errors/teez-validation-error.d.mts +25 -0
  668. package/dist/errors/teez-validation-error.mjs +16 -0
  669. package/dist/errors/teez-validation-error.mjs.map +1 -0
  670. package/dist/http-operation/api-error.cjs +15 -0
  671. package/dist/http-operation/api-error.cjs.map +1 -0
  672. package/dist/http-operation/api-error.d.cts +15 -0
  673. package/dist/http-operation/api-error.d.mts +15 -0
  674. package/dist/http-operation/api-error.mjs +14 -0
  675. package/dist/http-operation/api-error.mjs.map +1 -0
  676. package/dist/http-operation/define.cjs +33 -0
  677. package/dist/http-operation/define.cjs.map +1 -0
  678. package/dist/http-operation/define.d.cts +7 -0
  679. package/dist/http-operation/define.d.mts +7 -0
  680. package/dist/http-operation/define.mjs +33 -0
  681. package/dist/http-operation/define.mjs.map +1 -0
  682. package/dist/http-operation/flattenability.cjs +24 -0
  683. package/dist/http-operation/flattenability.cjs.map +1 -0
  684. package/dist/http-operation/flattenability.d.cts +7 -0
  685. package/dist/http-operation/flattenability.d.mts +7 -0
  686. package/dist/http-operation/flattenability.mjs +24 -0
  687. package/dist/http-operation/flattenability.mjs.map +1 -0
  688. package/dist/http-operation/inference.d.cts +63 -0
  689. package/dist/http-operation/inference.d.mts +63 -0
  690. package/dist/http-operation/response-helpers.cjs +20 -0
  691. package/dist/http-operation/response-helpers.cjs.map +1 -0
  692. package/dist/http-operation/response-helpers.d.cts +15 -0
  693. package/dist/http-operation/response-helpers.d.mts +15 -0
  694. package/dist/http-operation/response-helpers.mjs +19 -0
  695. package/dist/http-operation/response-helpers.mjs.map +1 -0
  696. package/dist/http-operation/status.cjs +8 -0
  697. package/dist/http-operation/status.cjs.map +1 -0
  698. package/dist/http-operation/status.d.cts +6 -0
  699. package/dist/http-operation/status.d.mts +6 -0
  700. package/dist/http-operation/status.mjs +8 -0
  701. package/dist/http-operation/status.mjs.map +1 -0
  702. package/dist/http-operation/types.d.cts +92 -0
  703. package/dist/http-operation/types.d.mts +92 -0
  704. package/dist/http-operation/validation.cjs +32 -0
  705. package/dist/http-operation/validation.cjs.map +1 -0
  706. package/dist/http-operation/validation.mjs +31 -0
  707. package/dist/http-operation/validation.mjs.map +1 -0
  708. package/dist/index.cjs +147 -1875
  709. package/dist/index.d.cts +100 -5571
  710. package/dist/index.d.mts +100 -5571
  711. package/dist/index.mjs +66 -1753
  712. package/dist/language.cjs +6 -0
  713. package/dist/language.cjs.map +1 -0
  714. package/dist/language.d.cts +6 -0
  715. package/dist/language.d.mts +6 -0
  716. package/dist/language.mjs +6 -0
  717. package/dist/language.mjs.map +1 -0
  718. package/dist/registry.cjs +44 -0
  719. package/dist/registry.cjs.map +1 -0
  720. package/dist/registry.d.cts +4198 -0
  721. package/dist/registry.d.mts +4198 -0
  722. package/dist/registry.mjs +41 -0
  723. package/dist/registry.mjs.map +1 -0
  724. package/dist/schema/nullish.cjs +11 -0
  725. package/dist/schema/nullish.cjs.map +1 -0
  726. package/dist/schema/nullish.d.cts +11 -0
  727. package/dist/schema/nullish.d.mts +11 -0
  728. package/dist/schema/nullish.mjs +9 -0
  729. package/dist/schema/nullish.mjs.map +1 -0
  730. package/dist/schema/object-schema.cjs +12 -0
  731. package/dist/schema/object-schema.cjs.map +1 -0
  732. package/dist/schema/object-schema.d.cts +10 -0
  733. package/dist/schema/object-schema.d.mts +10 -0
  734. package/dist/schema/object-schema.mjs +11 -0
  735. package/dist/schema/object-schema.mjs.map +1 -0
  736. package/dist/schema/types.d.cts +7 -0
  737. package/dist/schema/types.d.mts +7 -0
  738. package/dist/sdk/create-client.cjs +20 -0
  739. package/dist/sdk/create-client.cjs.map +1 -0
  740. package/dist/sdk/create-client.d.cts +11 -0
  741. package/dist/sdk/create-client.d.mts +11 -0
  742. package/dist/sdk/create-client.mjs +19 -0
  743. package/dist/sdk/create-client.mjs.map +1 -0
  744. package/dist/sdk/flat-request.cjs +25 -0
  745. package/dist/sdk/flat-request.cjs.map +1 -0
  746. package/dist/sdk/flat-request.mjs +25 -0
  747. package/dist/sdk/flat-request.mjs.map +1 -0
  748. package/dist/sdk/operation-entry.cjs +30 -0
  749. package/dist/sdk/operation-entry.cjs.map +1 -0
  750. package/dist/sdk/operation-entry.mjs +30 -0
  751. package/dist/sdk/operation-entry.mjs.map +1 -0
  752. package/dist/sdk/runtime.cjs +15 -0
  753. package/dist/sdk/runtime.cjs.map +1 -0
  754. package/dist/sdk/runtime.d.cts +8 -0
  755. package/dist/sdk/runtime.d.mts +8 -0
  756. package/dist/sdk/runtime.mjs +15 -0
  757. package/dist/sdk/runtime.mjs.map +1 -0
  758. package/dist/sdk/types.d.cts +15 -0
  759. package/dist/sdk/types.d.mts +15 -0
  760. package/dist/transport/headers.cjs +12 -0
  761. package/dist/transport/headers.cjs.map +1 -0
  762. package/dist/transport/headers.mjs +12 -0
  763. package/dist/transport/headers.mjs.map +1 -0
  764. package/dist/transport/http-client.cjs +109 -0
  765. package/dist/transport/http-client.cjs.map +1 -0
  766. package/dist/transport/http-client.mjs +109 -0
  767. package/dist/transport/http-client.mjs.map +1 -0
  768. package/dist/transport/parsing.cjs +43 -0
  769. package/dist/transport/parsing.cjs.map +1 -0
  770. package/dist/transport/parsing.mjs +38 -0
  771. package/dist/transport/parsing.mjs.map +1 -0
  772. package/dist/transport/path.cjs +11 -0
  773. package/dist/transport/path.cjs.map +1 -0
  774. package/dist/transport/path.mjs +11 -0
  775. package/dist/transport/path.mjs.map +1 -0
  776. package/dist/transport/query.cjs +21 -0
  777. package/dist/transport/query.cjs.map +1 -0
  778. package/dist/transport/query.mjs +21 -0
  779. package/dist/transport/query.mjs.map +1 -0
  780. package/dist/transport/response-body.cjs +17 -0
  781. package/dist/transport/response-body.cjs.map +1 -0
  782. package/dist/transport/response-body.mjs +17 -0
  783. package/dist/transport/response-body.mjs.map +1 -0
  784. package/dist/transport/types.d.cts +6 -0
  785. package/dist/transport/types.d.mts +6 -0
  786. package/dist/type-utils/simplify.d.cts +5 -0
  787. package/dist/type-utils/simplify.d.mts +5 -0
  788. package/package.json +45 -34
  789. package/dist/index.cjs.map +0 -1
  790. package/dist/index.mjs.map +0 -1
@@ -0,0 +1,4198 @@
1
+ import { Simplify } from "./type-utils/simplify.mjs";
2
+ import { CategoriesGetItemInput, CategoriesGetItemOutput } from "./api/categories/get/responses.mjs";
3
+ import { CategoriesGetParentsItemInput, CategoriesGetParentsItemOutput } from "./api/categories/get-parents/responses.mjs";
4
+ import { HttpOperationDef, HttpOperationEmptyResponse, HttpOperationJsonResponse } from "./http-operation/types.mjs";
5
+ import { NullishToUndefinedSchema } from "./schema/nullish.mjs";
6
+ import * as _$valibot from "valibot";
7
+
8
+ //#region src/registry.d.ts
9
+ type DistributedValueOf<T> = T extends object ? T[keyof T] : never;
10
+ declare const teezOperations: {
11
+ readonly auth: {
12
+ readonly login: HttpOperationDef<"auth", "login", Simplify<Omit<{
13
+ readonly method: "POST";
14
+ readonly path: "/auth/login";
15
+ readonly body: {
16
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
17
+ readonly phone: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Phone number with country code in E.164 format (e.g., \"+77071234567\")">]>;
18
+ }, undefined>, _$valibot.DescriptionAction<{
19
+ phone: string;
20
+ }, "Parameters for initiating phone login (sends OTP).">]>;
21
+ };
22
+ }, "path"> & {
23
+ readonly path: {
24
+ readonly template: "/auth/login";
25
+ readonly schema?: undefined;
26
+ };
27
+ }>, {
28
+ readonly 200: HttpOperationEmptyResponse;
29
+ readonly 204: HttpOperationEmptyResponse;
30
+ readonly 400: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
31
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
32
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
33
+ }, undefined>, _$valibot.DescriptionAction<{
34
+ description: string;
35
+ message: string;
36
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
37
+ }>;
38
+ readonly verify: HttpOperationDef<"auth", "verify", Simplify<Omit<{
39
+ readonly method: "POST";
40
+ readonly path: "/auth/verify";
41
+ readonly body: {
42
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
43
+ readonly phone: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Phone number with country code in E.164 format (e.g., \"+77071234567\")">]>;
44
+ readonly otpCode: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "4-digit OTP code received via SMS">]>;
45
+ }, undefined>, _$valibot.DescriptionAction<{
46
+ phone: string;
47
+ otpCode: string;
48
+ }, "Parameters for verifying OTP code and obtaining JWT token.">]>;
49
+ };
50
+ }, "path"> & {
51
+ readonly path: {
52
+ readonly template: "/auth/verify";
53
+ readonly schema?: undefined;
54
+ };
55
+ }>, {
56
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
57
+ readonly userId: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique user identifier">]>;
58
+ readonly phone: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "User's phone number in E.164 format">]>;
59
+ readonly accessToken: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "JWT access token for API authentication (HS512 algorithm, ~24 hour expiration)">]>;
60
+ readonly refreshToken: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Base64-encoded refresh token for obtaining new access tokens">]>;
61
+ readonly paymentId: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "User's preferred payment method ID">]>;
62
+ readonly pickupPoint: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.UnknownSchema>, _$valibot.DescriptionAction<unknown, "User's default pickup point">]>;
63
+ readonly address: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.UnknownSchema>, _$valibot.DescriptionAction<unknown, "User's default delivery address">]>;
64
+ readonly recipient: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.UnknownSchema>, _$valibot.DescriptionAction<unknown, "User's default order recipient information">]>;
65
+ }, undefined>, _$valibot.DescriptionAction<{
66
+ userId: string;
67
+ phone: string;
68
+ accessToken: string;
69
+ refreshToken: string;
70
+ paymentId: number | undefined;
71
+ pickupPoint: unknown;
72
+ address: unknown;
73
+ recipient: unknown;
74
+ }, "Authentication token payload returned after successful OTP verification.">]>>;
75
+ readonly 400: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
76
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
77
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
78
+ }, undefined>, _$valibot.DescriptionAction<{
79
+ description: string;
80
+ message: string;
81
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
82
+ }>;
83
+ readonly checkToken: HttpOperationDef<"auth", "checkToken", Simplify<Omit<{
84
+ readonly method: "GET";
85
+ readonly path: "/auth/check-token";
86
+ }, "path"> & {
87
+ readonly path: {
88
+ readonly template: "/auth/check-token";
89
+ readonly schema?: undefined;
90
+ };
91
+ }>, {
92
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
93
+ readonly userId: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique user identifier">]>;
94
+ readonly phoneNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "User's phone number in E.164 format">]>;
95
+ readonly fullName: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "User's full name">]>;
96
+ readonly email: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "User's email address">]>;
97
+ readonly expiredTokenDate: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Token expiration datetime in ISO 8601 format (e.g., \"2025-12-30T13:08:44+00:00\")">]>;
98
+ readonly language: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"ru", undefined>, _$valibot.LiteralSchema<"kz", undefined>], undefined>, _$valibot.DescriptionAction<"ru" | "kz", "Language code returned for the authenticated user: \"ru\" or \"kz\".">]>, _$valibot.DescriptionAction<"ru" | "kz", "User's preferred language: \"ru\" or \"kz\".">]>;
99
+ readonly hasOrders: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Whether user has active orders in progress">]>;
100
+ readonly hasAnyOrders: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Whether user has any order history (including completed orders)">]>;
101
+ }, undefined>, _$valibot.DescriptionAction<{
102
+ userId: string;
103
+ phoneNumber: string;
104
+ fullName: string;
105
+ email: string;
106
+ expiredTokenDate: string;
107
+ language: "ru" | "kz";
108
+ hasOrders: boolean;
109
+ hasAnyOrders: boolean;
110
+ }, "Authenticated user profile returned by the token validation endpoint.">]>>;
111
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
112
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
113
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
114
+ }, undefined>, _$valibot.DescriptionAction<{
115
+ description: string;
116
+ message: string;
117
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
118
+ }>;
119
+ };
120
+ readonly banners: {
121
+ readonly list: HttpOperationDef<"banners", "list", Simplify<Omit<{
122
+ readonly method: "GET";
123
+ readonly path: "/api/v3/banners";
124
+ readonly query: {
125
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
126
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Type of banners to filter by">]>;
127
+ }, undefined>, _$valibot.DescriptionAction<{
128
+ type?: string | null | undefined;
129
+ }, "Optional banner feed filters used by the storefront banners endpoint.">]>;
130
+ };
131
+ }, "path"> & {
132
+ readonly path: {
133
+ readonly template: "/api/v3/banners";
134
+ readonly schema?: undefined;
135
+ };
136
+ }>, {
137
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
138
+ readonly image: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
139
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"network", undefined>, _$valibot.DescriptionAction<"network", "Type literal for banner image resource type">]>, _$valibot.DescriptionAction<"network", "Type of image resource (e.g., \"network\" for remote URLs)">]>;
140
+ readonly url: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Direct URL to the image">]>;
141
+ }, undefined>, _$valibot.DescriptionAction<{
142
+ type: "network";
143
+ url: string;
144
+ }, "Schema for a banner image.">]>, _$valibot.DescriptionAction<{
145
+ type: "network";
146
+ url: string;
147
+ }, "Image details for the banner">]>;
148
+ readonly action: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
149
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"url", undefined>, _$valibot.LiteralSchema<"path", undefined>, _$valibot.LiteralSchema<"key", undefined>, _$valibot.LiteralSchema<"promocode", undefined>], undefined>, _$valibot.DescriptionAction<"path" | "url" | "key" | "promocode", "Type union for banner action types">]>, _$valibot.DescriptionAction<"path" | "url" | "key" | "promocode", "Type of action - \"url\" for external links, \"path\" for app navigation, \"key\" for special actions, or \"promocode\" for applying a promocode">]>;
150
+ readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Target value - full URL for \"url\" type, app path for \"path\" type (e.g., \"/collection/393\"), action key for \"key\" type, or the promocode string for \"promocode\" type">]>;
151
+ readonly analyticsKey: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Key for analytics tracking">]>;
152
+ }, undefined>, _$valibot.DescriptionAction<{
153
+ type: "path" | "url" | "key" | "promocode";
154
+ value: string;
155
+ analyticsKey: string | undefined;
156
+ }, "Schema for a banner action.">]>, _$valibot.DescriptionAction<{
157
+ type: "path" | "url" | "key" | "promocode";
158
+ value: string;
159
+ analyticsKey: string | undefined;
160
+ }, "Action details for the banner interaction">]>;
161
+ }, undefined>, _$valibot.DescriptionAction<{
162
+ image: {
163
+ type: "network";
164
+ url: string;
165
+ };
166
+ action: {
167
+ type: "path" | "url" | "key" | "promocode";
168
+ value: string;
169
+ analyticsKey: string | undefined;
170
+ };
171
+ }, "Banner card returned by the storefront banners feed.">]>, undefined>, _$valibot.DescriptionAction<{
172
+ image: {
173
+ type: "network";
174
+ url: string;
175
+ };
176
+ action: {
177
+ type: "path" | "url" | "key" | "promocode";
178
+ value: string;
179
+ analyticsKey: string | undefined;
180
+ };
181
+ }[], "List of active storefront banners with image and action metadata.">]>>;
182
+ }>;
183
+ };
184
+ readonly categories: {
185
+ readonly list: HttpOperationDef<"categories", "list", Simplify<Omit<{
186
+ readonly method: "GET";
187
+ readonly path: "/categories";
188
+ }, "path"> & {
189
+ readonly path: {
190
+ readonly template: "/categories";
191
+ readonly schema?: undefined;
192
+ };
193
+ }>, {
194
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
195
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the category">]>;
196
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the category">]>;
197
+ readonly level: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Depth level in the category tree">]>;
198
+ readonly parentId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Identifier of the parent category">]>;
199
+ readonly hasSubcategories: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if there are nested subcategories">]>;
200
+ readonly isAdult: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the category contains adult content">]>;
201
+ }, undefined>, _$valibot.DescriptionAction<{
202
+ id: number;
203
+ name: string;
204
+ level: number;
205
+ parentId: number;
206
+ hasSubcategories: boolean;
207
+ isAdult: boolean;
208
+ }, "Category node returned by the category tree endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
209
+ id: number;
210
+ name: string;
211
+ level: number;
212
+ parentId: number;
213
+ hasSubcategories: boolean;
214
+ isAdult: boolean;
215
+ }[], "Top-level category tree returned for storefront navigation.">]>>;
216
+ }>;
217
+ readonly get: HttpOperationDef<"categories", "get", Simplify<Omit<{
218
+ readonly method: "GET";
219
+ readonly path: {
220
+ readonly template: "/categories/{categoryId}";
221
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
222
+ readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the category">]>;
223
+ }, undefined>, _$valibot.DescriptionAction<{
224
+ categoryId: number;
225
+ }, "Parameters for fetching a specific category.">]>;
226
+ };
227
+ }, "path"> & {
228
+ readonly path: {
229
+ readonly template: "/categories/{categoryId}";
230
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
231
+ readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the category">]>;
232
+ }, undefined>, _$valibot.DescriptionAction<{
233
+ categoryId: number;
234
+ }, "Parameters for fetching a specific category.">]>;
235
+ };
236
+ }>, {
237
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.GenericSchema<CategoriesGetItemInput, CategoriesGetItemOutput>, _$valibot.DescriptionAction<CategoriesGetItemOutput, "Category detail response with the selected category and its immediate subcategories.">]>>;
238
+ }>;
239
+ readonly getParents: HttpOperationDef<"categories", "getParents", Simplify<Omit<{
240
+ readonly method: "GET";
241
+ readonly path: "/api/v1/categories/parents";
242
+ readonly query: {
243
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
244
+ readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number[], "List of category IDs to find parents for">]>;
245
+ readonly level: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Hierarchy level to filter by">]>;
246
+ }, undefined>, _$valibot.DescriptionAction<{
247
+ categoryId: number[];
248
+ level?: number | null | undefined;
249
+ }, "Parameters for fetching parent categories.">]>;
250
+ };
251
+ }, "path"> & {
252
+ readonly path: {
253
+ readonly template: "/api/v1/categories/parents";
254
+ readonly schema?: undefined;
255
+ };
256
+ }>, {
257
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.GenericSchema<CategoriesGetParentsItemInput, CategoriesGetParentsItemOutput>, undefined>, _$valibot.DescriptionAction<CategoriesGetParentsItemOutput[], "Parent category chains returned for the requested category identifiers.">]>>;
258
+ }>;
259
+ };
260
+ readonly collections: {
261
+ readonly getSkus: HttpOperationDef<"collections", "getSkus", Simplify<Omit<{
262
+ readonly method: "GET";
263
+ readonly path: "/api/v2/collections/skus";
264
+ readonly query: {
265
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
266
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
267
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of items per page">]>;
268
+ readonly collectionId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
269
+ readonly sortBy: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"byRelevance", undefined>, _$valibot.LiteralSchema<"popularity", undefined>, _$valibot.LiteralSchema<"highestRated", undefined>, _$valibot.LiteralSchema<"new", undefined>, _$valibot.LiteralSchema<"price", undefined>, _$valibot.LiteralSchema<"priceDesc", undefined>], undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc", "Type union for product sort keys">]>, undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined, "Sorting option for the results">]>;
270
+ }, undefined>, _$valibot.DescriptionAction<{
271
+ pageNumber?: number | null | undefined;
272
+ pageSize?: number | null | undefined;
273
+ collectionId: number;
274
+ sortBy?: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined;
275
+ }, "Parameters for fetching SKUs from a collection.">]>;
276
+ };
277
+ }, "path"> & {
278
+ readonly path: {
279
+ readonly template: "/api/v2/collections/skus";
280
+ readonly schema?: undefined;
281
+ };
282
+ }>, {
283
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
284
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
285
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
286
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
287
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
288
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
289
+ readonly filters: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.VariantSchema<"type", [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
290
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"range", undefined>, _$valibot.DescriptionAction<"range", "Type literal for range-based filters">]>, _$valibot.DescriptionAction<"range", "Filter type: range for price slider">]>;
291
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
292
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
293
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
294
+ readonly min: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Minimum value for range filters">]>;
295
+ readonly max: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum value for range filters">]>;
296
+ }, undefined>, _$valibot.DescriptionAction<{
297
+ min: number;
298
+ max: number;
299
+ }, "Schema for range filter options (e.g., price slider).\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
300
+ min: number;
301
+ max: number;
302
+ }[], "List of available options for this filter">]>;
303
+ }, undefined>, _$valibot.DescriptionAction<{
304
+ type: "range";
305
+ name: string;
306
+ code: string;
307
+ options: {
308
+ min: number;
309
+ max: number;
310
+ }[];
311
+ }, "Schema for range filters (e.g., price slider).\nUse this in discriminatedUnion-based filter schemas.">]>, _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
312
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"category", undefined>, _$valibot.LiteralSchema<"alphabetic_search_list", undefined>], undefined>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Type union for category filter types">]>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Filter type: category or alphabetic_search_list">]>;
313
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
314
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
315
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
316
+ readonly label: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display label for the filter option">]>;
317
+ readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Value for the filter option">]>;
318
+ }, undefined>, _$valibot.DescriptionAction<{
319
+ label: string;
320
+ value: number;
321
+ }, "Schema for category/brand filter options.\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
322
+ label: string;
323
+ value: number;
324
+ }[], "List of available options for this filter">]>;
325
+ }, undefined>, _$valibot.DescriptionAction<{
326
+ type: "category" | "alphabetic_search_list";
327
+ name: string;
328
+ code: string;
329
+ options: {
330
+ label: string;
331
+ value: number;
332
+ }[];
333
+ }, "Schema for category/brand filters.\nUse this in discriminatedUnion-based filter schemas.">]>], undefined>, _$valibot.DescriptionAction<{
334
+ type: "category" | "alphabetic_search_list";
335
+ name: string;
336
+ code: string;
337
+ options: {
338
+ label: string;
339
+ value: number;
340
+ }[];
341
+ } | {
342
+ type: "range";
343
+ name: string;
344
+ code: string;
345
+ options: {
346
+ min: number;
347
+ max: number;
348
+ }[];
349
+ }, "Union filter schema that can be either range or category filter.\nThis is the recommended pattern for type-safe filters.">]>, undefined>, _$valibot.DescriptionAction<({
350
+ type: "category" | "alphabetic_search_list";
351
+ name: string;
352
+ code: string;
353
+ options: {
354
+ label: string;
355
+ value: number;
356
+ }[];
357
+ } | {
358
+ type: "range";
359
+ name: string;
360
+ code: string;
361
+ options: {
362
+ min: number;
363
+ max: number;
364
+ }[];
365
+ })[], "List of applicable filters for the collection">]>;
366
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
367
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
368
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
369
+ readonly imageUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the full-size image">]>;
370
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display name of the product">]>;
371
+ readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief description of the product">]>;
372
+ readonly thumbnailUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the small preview image">]>;
373
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
374
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
375
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
376
+ readonly stockAvailability: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
377
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"stock", undefined>, _$valibot.DescriptionAction<"stock", "Type literal for SKU stock availability type">]>, _$valibot.DescriptionAction<"stock", "Type of stock status (known value: \"stock\")">]>;
378
+ readonly svg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "SVG icon representing stock status">]>;
379
+ readonly text: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized text describing stock status (e.g., \"В наличии - осталось всего 16 штук\")">]>;
380
+ readonly maxQty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum quantity available">]>;
381
+ readonly maxQtyReason: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized reason text for quantity limit (e.g., \"В наличии только 16 штук\")">]>;
382
+ }, undefined>, _$valibot.DescriptionAction<{
383
+ type: "stock";
384
+ svg: string | undefined;
385
+ text: string;
386
+ maxQty: number;
387
+ maxQtyReason: string;
388
+ }, "Schema for stock availability information.">]>>, _$valibot.DescriptionAction<{
389
+ type: "stock";
390
+ svg: string | undefined;
391
+ text: string;
392
+ maxQty: number;
393
+ maxQtyReason: string;
394
+ } | undefined, "Stock availability details">]>;
395
+ readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the item is on promotion">]>;
396
+ readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
397
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\")">]>;
398
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
399
+ readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
400
+ }, undefined>, _$valibot.DescriptionAction<{
401
+ productId: number;
402
+ skuId: number;
403
+ imageUrl: string;
404
+ name: string;
405
+ shortDescription: string;
406
+ thumbnailUrl: string;
407
+ originalPrice: number;
408
+ price: number;
409
+ qty: number;
410
+ stockAvailability: {
411
+ type: "stock";
412
+ svg: string | undefined;
413
+ text: string;
414
+ maxQty: number;
415
+ maxQtyReason: string;
416
+ } | undefined;
417
+ isPromo: boolean;
418
+ promoName: string | undefined;
419
+ qtyPurchasedInfo: string | undefined;
420
+ rating: number | undefined;
421
+ scoreQuantity: number | undefined;
422
+ }, "Product card returned inside collection SKU feeds.">]>, undefined>, _$valibot.DescriptionAction<{
423
+ productId: number;
424
+ skuId: number;
425
+ imageUrl: string;
426
+ name: string;
427
+ shortDescription: string;
428
+ thumbnailUrl: string;
429
+ originalPrice: number;
430
+ price: number;
431
+ qty: number;
432
+ stockAvailability: {
433
+ type: "stock";
434
+ svg: string | undefined;
435
+ text: string;
436
+ maxQty: number;
437
+ maxQtyReason: string;
438
+ } | undefined;
439
+ isPromo: boolean;
440
+ promoName: string | undefined;
441
+ qtyPurchasedInfo: string | undefined;
442
+ rating: number | undefined;
443
+ scoreQuantity: number | undefined;
444
+ }[], "List of SKU items in the collection">]>;
445
+ }, undefined>, _$valibot.DescriptionAction<{
446
+ pageNumber: number;
447
+ totalPages: number;
448
+ totalCount: number;
449
+ hasPreviousPage: boolean;
450
+ hasNextPage: boolean;
451
+ filters: ({
452
+ type: "category" | "alphabetic_search_list";
453
+ name: string;
454
+ code: string;
455
+ options: {
456
+ label: string;
457
+ value: number;
458
+ }[];
459
+ } | {
460
+ type: "range";
461
+ name: string;
462
+ code: string;
463
+ options: {
464
+ min: number;
465
+ max: number;
466
+ }[];
467
+ })[];
468
+ items: {
469
+ productId: number;
470
+ skuId: number;
471
+ imageUrl: string;
472
+ name: string;
473
+ shortDescription: string;
474
+ thumbnailUrl: string;
475
+ originalPrice: number;
476
+ price: number;
477
+ qty: number;
478
+ stockAvailability: {
479
+ type: "stock";
480
+ svg: string | undefined;
481
+ text: string;
482
+ maxQty: number;
483
+ maxQtyReason: string;
484
+ } | undefined;
485
+ isPromo: boolean;
486
+ promoName: string | undefined;
487
+ qtyPurchasedInfo: string | undefined;
488
+ rating: number | undefined;
489
+ scoreQuantity: number | undefined;
490
+ }[];
491
+ }, "Paginated collection SKU response with filters, product cards, and pagination metadata.">]>>;
492
+ }>;
493
+ readonly list: HttpOperationDef<"collections", "list", Simplify<Omit<{
494
+ readonly method: "GET";
495
+ readonly path: "/collections";
496
+ readonly query: {
497
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
498
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Type of collections to filter by">]>;
499
+ readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Filter collections by shop ID">]>;
500
+ }, undefined>, _$valibot.DescriptionAction<{
501
+ type?: string | null | undefined;
502
+ shopId?: number | null | undefined;
503
+ }, "Parameters for fetching the list of collections.">]>;
504
+ };
505
+ }, "path"> & {
506
+ readonly path: {
507
+ readonly template: "/collections";
508
+ readonly schema?: undefined;
509
+ };
510
+ }>, {
511
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
512
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
513
+ readonly icon: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL or path to the collection's icon">]>;
514
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the collection">]>;
515
+ readonly priority: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Priority for sorting or display order">]>;
516
+ }, undefined>, _$valibot.DescriptionAction<{
517
+ id: number;
518
+ icon: string | undefined;
519
+ name: string;
520
+ priority: number;
521
+ }, "Collection card returned by collection listing endpoints.">]>, undefined>, _$valibot.DescriptionAction<{
522
+ id: number;
523
+ icon: string | undefined;
524
+ name: string;
525
+ priority: number;
526
+ }[], "List of collection cards available in the storefront.">]>>;
527
+ }>;
528
+ readonly get: HttpOperationDef<"collections", "get", Simplify<Omit<{
529
+ readonly method: "GET";
530
+ readonly path: {
531
+ readonly template: "/collections/{collectionId}";
532
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
533
+ readonly collectionId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
534
+ }, undefined>, _$valibot.DescriptionAction<{
535
+ collectionId: number;
536
+ }, "Parameters for fetching a specific collection.">]>;
537
+ };
538
+ }, "path"> & {
539
+ readonly path: {
540
+ readonly template: "/collections/{collectionId}";
541
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
542
+ readonly collectionId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
543
+ }, undefined>, _$valibot.DescriptionAction<{
544
+ collectionId: number;
545
+ }, "Parameters for fetching a specific collection.">]>;
546
+ };
547
+ }>, {
548
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
549
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"Collection", undefined>, _$valibot.LiteralSchema<"ProductShelf", undefined>], undefined>, _$valibot.DescriptionAction<"Collection" | "ProductShelf", "Type union for collection responses (observed values: \"Collection\", \"ProductShelf\")">]>, _$valibot.DescriptionAction<"Collection" | "ProductShelf", "Type of the collection container (observed values: \"Collection\", \"ProductShelf\")">]>;
550
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
551
+ readonly cover: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the cover image">]>;
552
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Description of the collection">]>;
553
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the collection">]>;
554
+ readonly priority: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Priority for sorting or display order">]>;
555
+ }, undefined>, _$valibot.DescriptionAction<{
556
+ type: "Collection" | "ProductShelf";
557
+ id: number;
558
+ cover: string;
559
+ description: string;
560
+ name: string;
561
+ priority: number;
562
+ }, "Collection presentation object returned by the collection detail endpoint.">]>>;
563
+ }>;
564
+ };
565
+ readonly favorites: {
566
+ readonly getIds: HttpOperationDef<"favorites", "getIds", Simplify<Omit<{
567
+ readonly method: "GET";
568
+ readonly path: "/api/v1/favorites/ids";
569
+ }, "path"> & {
570
+ readonly path: {
571
+ readonly template: "/api/v1/favorites/ids";
572
+ readonly schema?: undefined;
573
+ };
574
+ }>, {
575
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
576
+ readonly skuIds: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number[], "List of favorited SKU IDs">]>;
577
+ }, undefined>, _$valibot.DescriptionAction<{
578
+ skuIds: number[];
579
+ }, "Authenticated favorites response containing the user's favorite SKU identifiers.">]>>;
580
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
581
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
582
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
583
+ }, undefined>, _$valibot.DescriptionAction<{
584
+ description: string;
585
+ message: string;
586
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
587
+ }>;
588
+ readonly add: HttpOperationDef<"favorites", "add", Simplify<Omit<{
589
+ readonly method: "POST";
590
+ readonly path: "/api/v1/favorites";
591
+ readonly body: {
592
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number[], "Request body containing SKU identifiers to add to the authenticated user's favorites list.">]>;
593
+ };
594
+ }, "path"> & {
595
+ readonly path: {
596
+ readonly template: "/api/v1/favorites";
597
+ readonly schema?: undefined;
598
+ };
599
+ }>, {
600
+ readonly 200: HttpOperationEmptyResponse;
601
+ readonly 204: HttpOperationEmptyResponse;
602
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
603
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
604
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
605
+ }, undefined>, _$valibot.DescriptionAction<{
606
+ description: string;
607
+ message: string;
608
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
609
+ }>;
610
+ readonly remove: HttpOperationDef<"favorites", "remove", Simplify<Omit<{
611
+ readonly method: "DELETE";
612
+ readonly path: "/api/v1/favorites";
613
+ readonly body: {
614
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number[], "Request body containing SKU identifiers to remove from the authenticated user's favorites list.">]>;
615
+ };
616
+ }, "path"> & {
617
+ readonly path: {
618
+ readonly template: "/api/v1/favorites";
619
+ readonly schema?: undefined;
620
+ };
621
+ }>, {
622
+ readonly 200: HttpOperationEmptyResponse;
623
+ readonly 204: HttpOperationEmptyResponse;
624
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
625
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
626
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
627
+ }, undefined>, _$valibot.DescriptionAction<{
628
+ description: string;
629
+ message: string;
630
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
631
+ }>;
632
+ };
633
+ readonly featureFlags: {
634
+ readonly list: HttpOperationDef<"featureFlags", "list", Simplify<Omit<{
635
+ readonly method: "GET";
636
+ readonly path: "/api/v1/feature-flags";
637
+ }, "path"> & {
638
+ readonly path: {
639
+ readonly template: "/api/v1/feature-flags";
640
+ readonly schema?: undefined;
641
+ };
642
+ }>, {
643
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
644
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the feature flag">]>;
645
+ readonly isActive: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the feature flag is currently active">]>;
646
+ }, undefined>, _$valibot.DescriptionAction<{
647
+ name: string;
648
+ isActive: boolean;
649
+ }, "Feature flag record returned by the backend.">]>, undefined>, _$valibot.DescriptionAction<{
650
+ name: string;
651
+ isActive: boolean;
652
+ }[], "List of backend feature flags exposed to the client application.">]>>;
653
+ }>;
654
+ };
655
+ readonly products: {
656
+ readonly autocomplete: HttpOperationDef<"products", "autocomplete", Simplify<Omit<{
657
+ readonly method: "GET";
658
+ readonly path: "/items";
659
+ readonly query: {
660
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
661
+ readonly search: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Partial query text used to retrieve search suggestions">]>;
662
+ }, undefined>, _$valibot.DescriptionAction<{
663
+ search: string;
664
+ }, "Query parameters for retrieving product autocomplete data.">]>;
665
+ };
666
+ }, "path"> & {
667
+ readonly path: {
668
+ readonly template: "/items";
669
+ readonly schema?: undefined;
670
+ };
671
+ }>, {
672
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
673
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Identifier associated with the suggestion">]>;
674
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Suggestion text shown to the user">]>;
675
+ }, undefined>, _$valibot.DescriptionAction<{
676
+ id: number;
677
+ name: string;
678
+ }, "Product search suggestion returned by autocomplete.">]>, undefined>, _$valibot.DescriptionAction<{
679
+ id: number;
680
+ name: string;
681
+ }[], "Search suggestions returned while the user types in the storefront search box.">]>>;
682
+ }>;
683
+ readonly getSortOptions: HttpOperationDef<"products", "getSortOptions", Simplify<Omit<{
684
+ readonly method: "GET";
685
+ readonly path: "/api/product/sort-options";
686
+ readonly query: {
687
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
688
+ readonly IsSearch: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.BooleanSchema<undefined>, undefined>, _$valibot.DescriptionAction<boolean | null | undefined, "Indicates if the context is a search result">]>;
689
+ readonly IsPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.BooleanSchema<undefined>, undefined>, _$valibot.DescriptionAction<boolean | null | undefined, "Indicates if the context is a promotional listing">]>;
690
+ }, undefined>, _$valibot.DescriptionAction<{
691
+ IsSearch?: boolean | null | undefined;
692
+ IsPromo?: boolean | null | undefined;
693
+ }, "Parameters for fetching product sort options.">]>;
694
+ };
695
+ }, "path"> & {
696
+ readonly path: {
697
+ readonly template: "/api/product/sort-options";
698
+ readonly schema?: undefined;
699
+ };
700
+ }>, {
701
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
702
+ readonly key: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"byRelevance", undefined>, _$valibot.LiteralSchema<"popularity", undefined>, _$valibot.LiteralSchema<"highestRated", undefined>, _$valibot.LiteralSchema<"new", undefined>, _$valibot.LiteralSchema<"price", undefined>, _$valibot.LiteralSchema<"priceDesc", undefined>], undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc", "Type union for product sort keys">]>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc", "Sort key - \"popularity\", \"highestRated\", \"new\", \"price\", or \"priceDesc\"">]>;
703
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the sort option">]>;
704
+ }, undefined>, _$valibot.DescriptionAction<{
705
+ key: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc";
706
+ name: string;
707
+ }, "Sort option returned by product listing endpoints.">]>, undefined>, _$valibot.DescriptionAction<{
708
+ key: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc";
709
+ name: string;
710
+ }[], "List of sort options supported by product listing endpoints.">]>>;
711
+ }>;
712
+ readonly list: HttpOperationDef<"products", "list", Simplify<Omit<{
713
+ readonly method: "GET";
714
+ readonly path: "/api/v2/product";
715
+ readonly query: {
716
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
717
+ readonly query: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Search query text used to filter products">]>;
718
+ readonly seed: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Random seed for consistent pagination">]>;
719
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
720
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of products per page">]>;
721
+ readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Filter products by category ID">]>;
722
+ readonly sortBy: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"byRelevance", undefined>, _$valibot.LiteralSchema<"popularity", undefined>, _$valibot.LiteralSchema<"highestRated", undefined>, _$valibot.LiteralSchema<"new", undefined>, _$valibot.LiteralSchema<"price", undefined>, _$valibot.LiteralSchema<"priceDesc", undefined>], undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc", "Type union for product sort keys">]>, undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined, "Criteria to sort products by">]>;
723
+ readonly brandIds: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Filter products by brand ID">]>;
724
+ readonly minPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Minimum price filter">]>;
725
+ readonly maxPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Maximum price filter">]>;
726
+ }, undefined>, _$valibot.DescriptionAction<{
727
+ query?: string | null | undefined;
728
+ seed?: number | null | undefined;
729
+ pageNumber?: number | null | undefined;
730
+ pageSize?: number | null | undefined;
731
+ categoryId?: number | null | undefined;
732
+ sortBy?: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined;
733
+ brandIds?: number | null | undefined;
734
+ minPrice?: number | null | undefined;
735
+ maxPrice?: number | null | undefined;
736
+ }, "Parameters for fetching a filtered list of products.">]>;
737
+ };
738
+ }, "path"> & {
739
+ readonly path: {
740
+ readonly template: "/api/v2/product";
741
+ readonly schema?: undefined;
742
+ };
743
+ }>, {
744
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
745
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
746
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
747
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
748
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
749
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
750
+ readonly filters: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.VariantSchema<"type", [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
751
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"range", undefined>, _$valibot.DescriptionAction<"range", "Type literal for range-based filters">]>, _$valibot.DescriptionAction<"range", "Filter type: range for price slider">]>;
752
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
753
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
754
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
755
+ readonly min: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Minimum value for range filters">]>;
756
+ readonly max: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum value for range filters">]>;
757
+ }, undefined>, _$valibot.DescriptionAction<{
758
+ min: number;
759
+ max: number;
760
+ }, "Schema for range filter options (e.g., price slider).\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
761
+ min: number;
762
+ max: number;
763
+ }[], "List of available options for this filter">]>;
764
+ }, undefined>, _$valibot.DescriptionAction<{
765
+ type: "range";
766
+ name: string;
767
+ code: string;
768
+ options: {
769
+ min: number;
770
+ max: number;
771
+ }[];
772
+ }, "Schema for range filters (e.g., price slider).\nUse this in discriminatedUnion-based filter schemas.">]>, _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
773
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"category", undefined>, _$valibot.LiteralSchema<"alphabetic_search_list", undefined>], undefined>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Type union for category filter types">]>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Filter type: category or alphabetic_search_list">]>;
774
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
775
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
776
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
777
+ readonly label: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display label for the filter option">]>;
778
+ readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Value for the filter option">]>;
779
+ }, undefined>, _$valibot.DescriptionAction<{
780
+ label: string;
781
+ value: number;
782
+ }, "Schema for category/brand filter options.\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
783
+ label: string;
784
+ value: number;
785
+ }[], "List of available options for this filter">]>;
786
+ }, undefined>, _$valibot.DescriptionAction<{
787
+ type: "category" | "alphabetic_search_list";
788
+ name: string;
789
+ code: string;
790
+ options: {
791
+ label: string;
792
+ value: number;
793
+ }[];
794
+ }, "Schema for category/brand filters.\nUse this in discriminatedUnion-based filter schemas.">]>], undefined>, _$valibot.DescriptionAction<{
795
+ type: "category" | "alphabetic_search_list";
796
+ name: string;
797
+ code: string;
798
+ options: {
799
+ label: string;
800
+ value: number;
801
+ }[];
802
+ } | {
803
+ type: "range";
804
+ name: string;
805
+ code: string;
806
+ options: {
807
+ min: number;
808
+ max: number;
809
+ }[];
810
+ }, "Union filter schema that can be either range or category filter.\nThis is the recommended pattern for type-safe filters.">]>, undefined>, _$valibot.DescriptionAction<({
811
+ type: "category" | "alphabetic_search_list";
812
+ name: string;
813
+ code: string;
814
+ options: {
815
+ label: string;
816
+ value: number;
817
+ }[];
818
+ } | {
819
+ type: "range";
820
+ name: string;
821
+ code: string;
822
+ options: {
823
+ min: number;
824
+ max: number;
825
+ }[];
826
+ })[], "List of applicable filters">]>;
827
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
828
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
829
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
830
+ readonly imageUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the full-size image">]>;
831
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Full display name of the product">]>;
832
+ readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief description of the product">]>;
833
+ readonly thumbnailUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the small preview image">]>;
834
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
835
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
836
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
837
+ readonly stockAvailability: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
838
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"stock", undefined>, _$valibot.DescriptionAction<"stock", "Type literal for products stock availability type">]>, _$valibot.DescriptionAction<"stock", "Type of stock status (known value: \"stock\")">]>;
839
+ readonly svg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "SVG icon representing stock status">]>;
840
+ readonly text: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized text describing stock status (e.g., \"В наличии - осталось всего 16 штук\")">]>;
841
+ readonly maxQty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum quantity available">]>;
842
+ readonly maxQtyReason: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized reason text for quantity limit (e.g., \"В наличии только 16 штук\")">]>;
843
+ }, undefined>, _$valibot.DescriptionAction<{
844
+ type: "stock";
845
+ svg: string | undefined;
846
+ text: string;
847
+ maxQty: number;
848
+ maxQtyReason: string;
849
+ }, "Schema for stock availability information.">]>>, _$valibot.DescriptionAction<{
850
+ type: "stock";
851
+ svg: string | undefined;
852
+ text: string;
853
+ maxQty: number;
854
+ maxQtyReason: string;
855
+ } | undefined, "Stock availability details">]>;
856
+ readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the product is on promotion">]>;
857
+ readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
858
+ readonly promocodes: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string[], "List of applicable promocodes">]>;
859
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\", \"11 заказов\", \"930 заказов\")">]>;
860
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
861
+ readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
862
+ readonly badge: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
863
+ readonly label: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Text label of the badge">]>;
864
+ readonly textColor: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Text color code">]>;
865
+ readonly backgroundColor: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Background color code">]>;
866
+ }, undefined>, _$valibot.DescriptionAction<{
867
+ label: string;
868
+ textColor: number;
869
+ backgroundColor: number | undefined;
870
+ }, "Schema for a product badge.">]>>, _$valibot.DescriptionAction<{
871
+ label: string;
872
+ textColor: number;
873
+ backgroundColor: number | undefined;
874
+ } | undefined, "Badge information for the product">]>;
875
+ readonly moderationStatus: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Moderation status code">]>;
876
+ }, undefined>, _$valibot.DescriptionAction<{
877
+ productId: number;
878
+ skuId: number;
879
+ imageUrl: string;
880
+ name: string;
881
+ shortDescription: string;
882
+ thumbnailUrl: string;
883
+ originalPrice: number;
884
+ price: number;
885
+ qty: number;
886
+ stockAvailability: {
887
+ type: "stock";
888
+ svg: string | undefined;
889
+ text: string;
890
+ maxQty: number;
891
+ maxQtyReason: string;
892
+ } | undefined;
893
+ isPromo: boolean;
894
+ promoName: string | undefined;
895
+ promocodes: string[];
896
+ qtyPurchasedInfo: string | undefined;
897
+ rating: number | undefined;
898
+ scoreQuantity: number | undefined;
899
+ badge: {
900
+ label: string;
901
+ textColor: number;
902
+ backgroundColor: number | undefined;
903
+ } | undefined;
904
+ moderationStatus: number;
905
+ }, "Product card returned by listing endpoints.">]>, undefined>, _$valibot.DescriptionAction<{
906
+ productId: number;
907
+ skuId: number;
908
+ imageUrl: string;
909
+ name: string;
910
+ shortDescription: string;
911
+ thumbnailUrl: string;
912
+ originalPrice: number;
913
+ price: number;
914
+ qty: number;
915
+ stockAvailability: {
916
+ type: "stock";
917
+ svg: string | undefined;
918
+ text: string;
919
+ maxQty: number;
920
+ maxQtyReason: string;
921
+ } | undefined;
922
+ isPromo: boolean;
923
+ promoName: string | undefined;
924
+ promocodes: string[];
925
+ qtyPurchasedInfo: string | undefined;
926
+ rating: number | undefined;
927
+ scoreQuantity: number | undefined;
928
+ badge: {
929
+ label: string;
930
+ textColor: number;
931
+ backgroundColor: number | undefined;
932
+ } | undefined;
933
+ moderationStatus: number;
934
+ }[], "List of product items">]>;
935
+ }, undefined>, _$valibot.DescriptionAction<{
936
+ pageNumber: number;
937
+ totalPages: number;
938
+ totalCount: number;
939
+ hasPreviousPage: boolean;
940
+ hasNextPage: boolean;
941
+ filters: ({
942
+ type: "category" | "alphabetic_search_list";
943
+ name: string;
944
+ code: string;
945
+ options: {
946
+ label: string;
947
+ value: number;
948
+ }[];
949
+ } | {
950
+ type: "range";
951
+ name: string;
952
+ code: string;
953
+ options: {
954
+ min: number;
955
+ max: number;
956
+ }[];
957
+ })[];
958
+ items: {
959
+ productId: number;
960
+ skuId: number;
961
+ imageUrl: string;
962
+ name: string;
963
+ shortDescription: string;
964
+ thumbnailUrl: string;
965
+ originalPrice: number;
966
+ price: number;
967
+ qty: number;
968
+ stockAvailability: {
969
+ type: "stock";
970
+ svg: string | undefined;
971
+ text: string;
972
+ maxQty: number;
973
+ maxQtyReason: string;
974
+ } | undefined;
975
+ isPromo: boolean;
976
+ promoName: string | undefined;
977
+ promocodes: string[];
978
+ qtyPurchasedInfo: string | undefined;
979
+ rating: number | undefined;
980
+ scoreQuantity: number | undefined;
981
+ badge: {
982
+ label: string;
983
+ textColor: number;
984
+ backgroundColor: number | undefined;
985
+ } | undefined;
986
+ moderationStatus: number;
987
+ }[];
988
+ }, "Paginated product listing response with filters, product cards, and pagination metadata.">]>>;
989
+ }>;
990
+ readonly getReviews: HttpOperationDef<"products", "getReviews", Simplify<Omit<{
991
+ readonly method: "GET";
992
+ readonly path: {
993
+ readonly template: "/api/v1/product/{productId}/review";
994
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
995
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the product">]>;
996
+ }, undefined>, _$valibot.DescriptionAction<{
997
+ productId: number;
998
+ }, "Path parameters for fetching product reviews.">]>;
999
+ };
1000
+ readonly query: {
1001
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1002
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
1003
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of reviews per page">]>;
1004
+ }, undefined>, _$valibot.DescriptionAction<{
1005
+ pageNumber?: number | null | undefined;
1006
+ pageSize?: number | null | undefined;
1007
+ }, "Query parameters for fetching product reviews.">]>;
1008
+ };
1009
+ }, "path"> & {
1010
+ readonly path: {
1011
+ readonly template: "/api/v1/product/{productId}/review";
1012
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1013
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the product">]>;
1014
+ }, undefined>, _$valibot.DescriptionAction<{
1015
+ productId: number;
1016
+ }, "Path parameters for fetching product reviews.">]>;
1017
+ };
1018
+ }>, {
1019
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1020
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
1021
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
1022
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
1023
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
1024
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
1025
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1026
+ readonly author: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the review author">]>;
1027
+ readonly reviewText: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Text content of the review">]>;
1028
+ readonly scoreValue: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Rating score given in the review">]>;
1029
+ readonly attributes: _$valibot.SchemaWithPipe<readonly [_$valibot.RecordSchema<_$valibot.StringSchema<undefined>, _$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<{
1030
+ [x: string]: string;
1031
+ }, "Additional attributes associated with the review">]>;
1032
+ readonly createdAt: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Date and time when the review was created">]>;
1033
+ }, undefined>, _$valibot.DescriptionAction<{
1034
+ author: string;
1035
+ reviewText: string;
1036
+ scoreValue: number;
1037
+ attributes: {
1038
+ [x: string]: string;
1039
+ };
1040
+ createdAt: string;
1041
+ }, "Public product review returned by the reviews endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
1042
+ author: string;
1043
+ reviewText: string;
1044
+ scoreValue: number;
1045
+ attributes: {
1046
+ [x: string]: string;
1047
+ };
1048
+ createdAt: string;
1049
+ }[], "List of review items">]>;
1050
+ }, undefined>, _$valibot.DescriptionAction<{
1051
+ pageNumber: number;
1052
+ totalPages: number;
1053
+ totalCount: number;
1054
+ hasPreviousPage: boolean;
1055
+ hasNextPage: boolean;
1056
+ items: {
1057
+ author: string;
1058
+ reviewText: string;
1059
+ scoreValue: number;
1060
+ attributes: {
1061
+ [x: string]: string;
1062
+ };
1063
+ createdAt: string;
1064
+ }[];
1065
+ }, "Paginated product review response with review items and pagination metadata.">]>>;
1066
+ }>;
1067
+ };
1068
+ readonly promo: {
1069
+ readonly list: HttpOperationDef<"promo", "list", Simplify<Omit<{
1070
+ readonly method: "GET";
1071
+ readonly path: "/api/promo";
1072
+ }, "path"> & {
1073
+ readonly path: {
1074
+ readonly template: "/api/promo";
1075
+ readonly schema?: undefined;
1076
+ };
1077
+ }>, {
1078
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1079
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the promotion">]>;
1080
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized name of the promotion">]>;
1081
+ readonly description: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Localized detailed description of the promotion">]>;
1082
+ readonly svgUrl: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the SVG icon for the promotion">]>;
1083
+ readonly startDate: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Start date of the promotion">]>;
1084
+ readonly endDate: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "End date of the promotion">]>;
1085
+ }, undefined>, _$valibot.DescriptionAction<{
1086
+ id: number;
1087
+ name: string;
1088
+ description: string | undefined;
1089
+ svgUrl: string | undefined;
1090
+ startDate: string;
1091
+ endDate: string;
1092
+ }, "Promotion item returned by the active promotions endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
1093
+ id: number;
1094
+ name: string;
1095
+ description: string | undefined;
1096
+ svgUrl: string | undefined;
1097
+ startDate: string;
1098
+ endDate: string;
1099
+ }[], "List of active promotions currently available in the storefront. May be empty when no promotions are active.">]>>;
1100
+ }>;
1101
+ };
1102
+ readonly promocodes: {
1103
+ readonly validate: HttpOperationDef<"promocodes", "validate", Simplify<Omit<{
1104
+ readonly method: "POST";
1105
+ readonly path: "/api/v2/promocode/validate";
1106
+ readonly body: {
1107
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1108
+ readonly promocodes: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string[], "List of promocodes to validate.">]>;
1109
+ readonly delvieryMethodId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Delivery method identifier. The field name preserves the backend's original typo.">]>;
1110
+ readonly pickupPointId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Pickup point identifier.">]>;
1111
+ readonly deliveryAddressId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Delivery address identifier.">]>;
1112
+ readonly paymentMethodId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Payment method identifier.">]>;
1113
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1114
+ readonly productItemId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier.">]>;
1115
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity requested for validation.">]>;
1116
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current item price.">]>;
1117
+ }, undefined>, _$valibot.DescriptionAction<{
1118
+ productItemId: number;
1119
+ qty: number;
1120
+ price: number;
1121
+ }, "Schema for a cart item used in promocode validation.">]>, undefined>, _$valibot.DescriptionAction<{
1122
+ productItemId: number;
1123
+ qty: number;
1124
+ price: number;
1125
+ }[], "Cart items used for validation.">]>;
1126
+ }, undefined>, _$valibot.DescriptionAction<{
1127
+ promocodes: string[];
1128
+ delvieryMethodId?: string | null | undefined;
1129
+ pickupPointId?: string | null | undefined;
1130
+ deliveryAddressId?: string | null | undefined;
1131
+ paymentMethodId?: number | null | undefined;
1132
+ items: {
1133
+ productItemId: number;
1134
+ qty: number;
1135
+ price: number;
1136
+ }[];
1137
+ }, "Authenticated cart validation request used to check promocodes against the current checkout payload.">]>;
1138
+ };
1139
+ }, "path"> & {
1140
+ readonly path: {
1141
+ readonly template: "/api/v2/promocode/validate";
1142
+ readonly schema?: undefined;
1143
+ };
1144
+ }>, {
1145
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1146
+ readonly isSuccess: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Whether promocode validation succeeded.">]>;
1147
+ readonly errorMessage: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Validation error message.">]>;
1148
+ readonly promocode: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Validated promocode.">]>;
1149
+ readonly promocodeDescription: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Description of the validated promocode.">]>;
1150
+ readonly originalTotalPrice: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Cart total before discounts.">]>;
1151
+ readonly totalPrice: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Cart total after discounts.">]>;
1152
+ readonly discount: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total discount amount.">]>;
1153
+ readonly items: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1154
+ readonly productItemId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier.">]>;
1155
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Validated quantity.">]>;
1156
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Final item price after validation.">]>;
1157
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original item price before discounts.">]>;
1158
+ readonly discount: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Discount amount applied to the item.">]>;
1159
+ }, undefined>, _$valibot.DescriptionAction<{
1160
+ productItemId: number;
1161
+ qty: number;
1162
+ price: number;
1163
+ originalPrice: number;
1164
+ discount: number;
1165
+ }, "Schema for an item returned from promocode validation.">]>, undefined>>, _$valibot.DescriptionAction<{
1166
+ productItemId: number;
1167
+ qty: number;
1168
+ price: number;
1169
+ originalPrice: number;
1170
+ discount: number;
1171
+ }[] | undefined, "Validated cart items.">]>;
1172
+ readonly validationErrorMessages: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.UnknownSchema>, _$valibot.DescriptionAction<unknown, "Validation errors returned by the backend.">]>;
1173
+ }, undefined>, _$valibot.DescriptionAction<{
1174
+ isSuccess: boolean;
1175
+ errorMessage: string | undefined;
1176
+ promocode: string | undefined;
1177
+ promocodeDescription: string | undefined;
1178
+ originalTotalPrice: number | undefined;
1179
+ totalPrice: number | undefined;
1180
+ discount: number | undefined;
1181
+ items: {
1182
+ productItemId: number;
1183
+ qty: number;
1184
+ price: number;
1185
+ originalPrice: number;
1186
+ discount: number;
1187
+ }[] | undefined;
1188
+ validationErrorMessages: unknown;
1189
+ }, "Response schema for promocode validation.">]>>;
1190
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1191
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
1192
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
1193
+ }, undefined>, _$valibot.DescriptionAction<{
1194
+ description: string;
1195
+ message: string;
1196
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
1197
+ }>;
1198
+ };
1199
+ readonly shops: {
1200
+ readonly get: HttpOperationDef<"shops", "get", Simplify<Omit<{
1201
+ readonly method: "GET";
1202
+ readonly path: {
1203
+ readonly template: "/api/v1/shops/{shopId}";
1204
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1205
+ readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
1206
+ }, undefined>, _$valibot.DescriptionAction<{
1207
+ shopId: number;
1208
+ }, "Parameters for fetching a specific shop.">]>;
1209
+ };
1210
+ }, "path"> & {
1211
+ readonly path: {
1212
+ readonly template: "/api/v1/shops/{shopId}";
1213
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1214
+ readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
1215
+ }, undefined>, _$valibot.DescriptionAction<{
1216
+ shopId: number;
1217
+ }, "Parameters for fetching a specific shop.">]>;
1218
+ };
1219
+ }>, {
1220
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1221
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
1222
+ readonly banner: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the shop's banner image">]>;
1223
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Description of the shop">]>;
1224
+ readonly logo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the shop's logo">]>;
1225
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the shop">]>;
1226
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Text about total orders/purchases (e.g., \"11 заказов\", \"930 заказов\")">]>;
1227
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating of the shop">]>;
1228
+ readonly totalReviews: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of reviews received">]>;
1229
+ readonly contactInfo: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1230
+ readonly bin: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Business Identification Number">]>;
1231
+ readonly daysSinceRegistration: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Number of days since the shop was registered">]>;
1232
+ readonly legalType: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Legal entity type code">]>;
1233
+ }, undefined>, _$valibot.DescriptionAction<{
1234
+ bin: string;
1235
+ daysSinceRegistration: number;
1236
+ legalType: number;
1237
+ }, "Merchant registration metadata returned for a shop.">]>, _$valibot.DescriptionAction<{
1238
+ bin: string;
1239
+ daysSinceRegistration: number;
1240
+ legalType: number;
1241
+ }, "Contact information for the shop">]>;
1242
+ readonly isMonobrand: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the shop represents a single brand">]>;
1243
+ readonly tag: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1244
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Description of the tag">]>;
1245
+ readonly icon: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the raster icon for the tag">]>;
1246
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display name of the tag">]>;
1247
+ readonly svg: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the SVG icon for the tag">]>;
1248
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code for the tag">]>;
1249
+ }, undefined>, _$valibot.DescriptionAction<{
1250
+ description: string;
1251
+ icon: string;
1252
+ name: string;
1253
+ svg: string;
1254
+ code: string;
1255
+ }, "Merchant quality tag returned by the shop endpoint.">]>, _$valibot.DescriptionAction<{
1256
+ description: string;
1257
+ icon: string;
1258
+ name: string;
1259
+ svg: string;
1260
+ code: string;
1261
+ }, "Tag associated with the shop">]>;
1262
+ }, undefined>, _$valibot.DescriptionAction<{
1263
+ id: number;
1264
+ banner: string | undefined;
1265
+ description: string;
1266
+ logo: string | undefined;
1267
+ name: string;
1268
+ qtyPurchasedInfo: string | undefined;
1269
+ rating: number | undefined;
1270
+ totalReviews: number | undefined;
1271
+ contactInfo: {
1272
+ bin: string;
1273
+ daysSinceRegistration: number;
1274
+ legalType: number;
1275
+ };
1276
+ isMonobrand: boolean;
1277
+ tag: {
1278
+ description: string;
1279
+ icon: string;
1280
+ name: string;
1281
+ svg: string;
1282
+ code: string;
1283
+ };
1284
+ }, "Shop detail response with branding, ratings, merchant metadata, and storefront tag information.">]>>;
1285
+ }>;
1286
+ readonly getMonobrand: HttpOperationDef<"shops", "getMonobrand", Simplify<Omit<{
1287
+ readonly method: "GET";
1288
+ readonly path: "/api/v1/shops/monobrand";
1289
+ readonly query: {
1290
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1291
+ readonly seed: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Random seed for consistent pagination">]>;
1292
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
1293
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of items per page">]>;
1294
+ }, undefined>, _$valibot.DescriptionAction<{
1295
+ seed?: number | null | undefined;
1296
+ pageNumber?: number | null | undefined;
1297
+ pageSize?: number | null | undefined;
1298
+ }, "Parameters for fetching monobrand shops.">]>;
1299
+ };
1300
+ }, "path"> & {
1301
+ readonly path: {
1302
+ readonly template: "/api/v1/shops/monobrand";
1303
+ readonly schema?: undefined;
1304
+ };
1305
+ }>, {
1306
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1307
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
1308
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
1309
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
1310
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
1311
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
1312
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1313
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
1314
+ readonly icon: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the shop's icon">]>;
1315
+ }, undefined>, _$valibot.DescriptionAction<{
1316
+ id: number;
1317
+ icon: string;
1318
+ }, "Monobrand shop card returned by the listing endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
1319
+ id: number;
1320
+ icon: string;
1321
+ }[], "List of monobrand shops">]>;
1322
+ }, undefined>, _$valibot.DescriptionAction<{
1323
+ pageNumber: number;
1324
+ totalPages: number;
1325
+ totalCount: number;
1326
+ hasPreviousPage: boolean;
1327
+ hasNextPage: boolean;
1328
+ items: {
1329
+ id: number;
1330
+ icon: string;
1331
+ }[];
1332
+ }, "Paginated monobrand shop response with shop cards and pagination metadata.">]>>;
1333
+ }>;
1334
+ readonly getProducts: HttpOperationDef<"shops", "getProducts", Simplify<Omit<{
1335
+ readonly method: "GET";
1336
+ readonly path: {
1337
+ readonly template: "/api/v2/shops/{shopId}/products";
1338
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1339
+ readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
1340
+ }, undefined>, _$valibot.DescriptionAction<{
1341
+ shopId: number;
1342
+ }, "Path parameters for fetching products from a shop.">]>;
1343
+ };
1344
+ readonly query: {
1345
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1346
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
1347
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of items per page">]>;
1348
+ readonly sortBy: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"byRelevance", undefined>, _$valibot.LiteralSchema<"popularity", undefined>, _$valibot.LiteralSchema<"highestRated", undefined>, _$valibot.LiteralSchema<"new", undefined>, _$valibot.LiteralSchema<"price", undefined>, _$valibot.LiteralSchema<"priceDesc", undefined>], undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc", "Type union for product sort keys">]>, undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined, "Sorting option for the results">]>;
1349
+ readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Filter by category ID">]>;
1350
+ readonly brandIds: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.ArraySchema<_$valibot.NumberSchema<undefined>, undefined>, undefined>, _$valibot.DescriptionAction<number[] | null | undefined, "Filter by brand IDs">]>;
1351
+ readonly minPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Minimum price filter">]>;
1352
+ readonly maxPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Maximum price filter">]>;
1353
+ }, undefined>, _$valibot.DescriptionAction<{
1354
+ pageNumber?: number | null | undefined;
1355
+ pageSize?: number | null | undefined;
1356
+ sortBy?: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined;
1357
+ categoryId?: number | null | undefined;
1358
+ brandIds?: number[] | null | undefined;
1359
+ minPrice?: number | null | undefined;
1360
+ maxPrice?: number | null | undefined;
1361
+ }, "Query parameters for fetching products from a shop.">]>;
1362
+ };
1363
+ }, "path"> & {
1364
+ readonly path: {
1365
+ readonly template: "/api/v2/shops/{shopId}/products";
1366
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1367
+ readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
1368
+ }, undefined>, _$valibot.DescriptionAction<{
1369
+ shopId: number;
1370
+ }, "Path parameters for fetching products from a shop.">]>;
1371
+ };
1372
+ }>, {
1373
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1374
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
1375
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
1376
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
1377
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
1378
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
1379
+ readonly filters: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.VariantSchema<"type", [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1380
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"range", undefined>, _$valibot.DescriptionAction<"range", "Type literal for range-based filters">]>, _$valibot.DescriptionAction<"range", "Filter type: range for price slider">]>;
1381
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
1382
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
1383
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1384
+ readonly min: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Minimum value for range filters">]>;
1385
+ readonly max: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum value for range filters">]>;
1386
+ }, undefined>, _$valibot.DescriptionAction<{
1387
+ min: number;
1388
+ max: number;
1389
+ }, "Schema for range filter options (e.g., price slider).\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
1390
+ min: number;
1391
+ max: number;
1392
+ }[], "List of available options for this filter">]>;
1393
+ }, undefined>, _$valibot.DescriptionAction<{
1394
+ type: "range";
1395
+ name: string;
1396
+ code: string;
1397
+ options: {
1398
+ min: number;
1399
+ max: number;
1400
+ }[];
1401
+ }, "Schema for range filters (e.g., price slider).\nUse this in discriminatedUnion-based filter schemas.">]>, _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1402
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"category", undefined>, _$valibot.LiteralSchema<"alphabetic_search_list", undefined>], undefined>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Type union for category filter types">]>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Filter type: category or alphabetic_search_list">]>;
1403
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
1404
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
1405
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1406
+ readonly label: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display label for the filter option">]>;
1407
+ readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Value for the filter option">]>;
1408
+ }, undefined>, _$valibot.DescriptionAction<{
1409
+ label: string;
1410
+ value: number;
1411
+ }, "Schema for category/brand filter options.\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
1412
+ label: string;
1413
+ value: number;
1414
+ }[], "List of available options for this filter">]>;
1415
+ }, undefined>, _$valibot.DescriptionAction<{
1416
+ type: "category" | "alphabetic_search_list";
1417
+ name: string;
1418
+ code: string;
1419
+ options: {
1420
+ label: string;
1421
+ value: number;
1422
+ }[];
1423
+ }, "Schema for category/brand filters.\nUse this in discriminatedUnion-based filter schemas.">]>], undefined>, _$valibot.DescriptionAction<{
1424
+ type: "category" | "alphabetic_search_list";
1425
+ name: string;
1426
+ code: string;
1427
+ options: {
1428
+ label: string;
1429
+ value: number;
1430
+ }[];
1431
+ } | {
1432
+ type: "range";
1433
+ name: string;
1434
+ code: string;
1435
+ options: {
1436
+ min: number;
1437
+ max: number;
1438
+ }[];
1439
+ }, "Union filter schema that can be either range or category filter.\nThis is the recommended pattern for type-safe filters.">]>, undefined>, _$valibot.DescriptionAction<({
1440
+ type: "category" | "alphabetic_search_list";
1441
+ name: string;
1442
+ code: string;
1443
+ options: {
1444
+ label: string;
1445
+ value: number;
1446
+ }[];
1447
+ } | {
1448
+ type: "range";
1449
+ name: string;
1450
+ code: string;
1451
+ options: {
1452
+ min: number;
1453
+ max: number;
1454
+ }[];
1455
+ })[], "List of applicable filters">]>;
1456
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1457
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
1458
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
1459
+ readonly imageUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the full-size image">]>;
1460
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Full display name of the product">]>;
1461
+ readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief description of the product">]>;
1462
+ readonly thumbnailUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the small preview image">]>;
1463
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
1464
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
1465
+ readonly inStock: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the item is in stock">]>;
1466
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
1467
+ readonly stockAvailability: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1468
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"stock", undefined>, _$valibot.DescriptionAction<"stock", "Type literal for products stock availability type">]>, _$valibot.DescriptionAction<"stock", "Type of stock status (known value: \"stock\")">]>;
1469
+ readonly svg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "SVG icon representing stock status">]>;
1470
+ readonly text: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized text describing stock status (e.g., \"В наличии - осталось всего 16 штук\")">]>;
1471
+ readonly maxQty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum quantity available">]>;
1472
+ readonly maxQtyReason: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized reason text for quantity limit (e.g., \"В наличии только 16 штук\")">]>;
1473
+ }, undefined>, _$valibot.DescriptionAction<{
1474
+ type: "stock";
1475
+ svg: string | undefined;
1476
+ text: string;
1477
+ maxQty: number;
1478
+ maxQtyReason: string;
1479
+ }, "Schema for stock availability information.">]>>, _$valibot.DescriptionAction<{
1480
+ type: "stock";
1481
+ svg: string | undefined;
1482
+ text: string;
1483
+ maxQty: number;
1484
+ maxQtyReason: string;
1485
+ } | undefined, "Stock availability details">]>;
1486
+ readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the product is on promotion">]>;
1487
+ readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
1488
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\")">]>;
1489
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
1490
+ readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
1491
+ readonly moderationStatus: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Moderation status code">]>;
1492
+ }, undefined>, _$valibot.DescriptionAction<{
1493
+ productId: number;
1494
+ skuId: number;
1495
+ imageUrl: string;
1496
+ name: string;
1497
+ shortDescription: string;
1498
+ thumbnailUrl: string;
1499
+ originalPrice: number;
1500
+ price: number;
1501
+ inStock: boolean;
1502
+ qty: number;
1503
+ stockAvailability: {
1504
+ type: "stock";
1505
+ svg: string | undefined;
1506
+ text: string;
1507
+ maxQty: number;
1508
+ maxQtyReason: string;
1509
+ } | undefined;
1510
+ isPromo: boolean;
1511
+ promoName: string | undefined;
1512
+ qtyPurchasedInfo: string | undefined;
1513
+ rating: number | undefined;
1514
+ scoreQuantity: number | undefined;
1515
+ moderationStatus: number;
1516
+ }, "Product card returned by the shop products endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
1517
+ productId: number;
1518
+ skuId: number;
1519
+ imageUrl: string;
1520
+ name: string;
1521
+ shortDescription: string;
1522
+ thumbnailUrl: string;
1523
+ originalPrice: number;
1524
+ price: number;
1525
+ inStock: boolean;
1526
+ qty: number;
1527
+ stockAvailability: {
1528
+ type: "stock";
1529
+ svg: string | undefined;
1530
+ text: string;
1531
+ maxQty: number;
1532
+ maxQtyReason: string;
1533
+ } | undefined;
1534
+ isPromo: boolean;
1535
+ promoName: string | undefined;
1536
+ qtyPurchasedInfo: string | undefined;
1537
+ rating: number | undefined;
1538
+ scoreQuantity: number | undefined;
1539
+ moderationStatus: number;
1540
+ }[], "List of product items">]>;
1541
+ }, undefined>, _$valibot.DescriptionAction<{
1542
+ pageNumber: number;
1543
+ totalPages: number;
1544
+ totalCount: number;
1545
+ hasPreviousPage: boolean;
1546
+ hasNextPage: boolean;
1547
+ filters: ({
1548
+ type: "category" | "alphabetic_search_list";
1549
+ name: string;
1550
+ code: string;
1551
+ options: {
1552
+ label: string;
1553
+ value: number;
1554
+ }[];
1555
+ } | {
1556
+ type: "range";
1557
+ name: string;
1558
+ code: string;
1559
+ options: {
1560
+ min: number;
1561
+ max: number;
1562
+ }[];
1563
+ })[];
1564
+ items: {
1565
+ productId: number;
1566
+ skuId: number;
1567
+ imageUrl: string;
1568
+ name: string;
1569
+ shortDescription: string;
1570
+ thumbnailUrl: string;
1571
+ originalPrice: number;
1572
+ price: number;
1573
+ inStock: boolean;
1574
+ qty: number;
1575
+ stockAvailability: {
1576
+ type: "stock";
1577
+ svg: string | undefined;
1578
+ text: string;
1579
+ maxQty: number;
1580
+ maxQtyReason: string;
1581
+ } | undefined;
1582
+ isPromo: boolean;
1583
+ promoName: string | undefined;
1584
+ qtyPurchasedInfo: string | undefined;
1585
+ rating: number | undefined;
1586
+ scoreQuantity: number | undefined;
1587
+ moderationStatus: number;
1588
+ }[];
1589
+ }, "Paginated shop product response with filters, product cards, and pagination metadata.">]>>;
1590
+ }>;
1591
+ };
1592
+ readonly sku: {
1593
+ readonly get: HttpOperationDef<"sku", "get", Simplify<Omit<{
1594
+ readonly method: "GET";
1595
+ readonly path: {
1596
+ readonly template: "/api/v2/sku/{skuId}";
1597
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1598
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
1599
+ }, undefined>, _$valibot.DescriptionAction<{
1600
+ skuId: number;
1601
+ }, "Parameters for fetching a specific SKU by ID.">]>;
1602
+ };
1603
+ }, "path"> & {
1604
+ readonly path: {
1605
+ readonly template: "/api/v2/sku/{skuId}";
1606
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1607
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
1608
+ }, undefined>, _$valibot.DescriptionAction<{
1609
+ skuId: number;
1610
+ }, "Parameters for fetching a specific SKU by ID.">]>;
1611
+ };
1612
+ }>, {
1613
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1614
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
1615
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
1616
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Detailed product description in HTML format">]>;
1617
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Full display name of the product">]>;
1618
+ readonly photos: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string[], "List of URLs for product photos">]>;
1619
+ readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief summary of the product">]>;
1620
+ readonly discount: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Discount amount">]>;
1621
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
1622
+ readonly percentDiscount: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Discount percentage">]>;
1623
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
1624
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
1625
+ readonly stockAvailability: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1626
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"stock", undefined>, _$valibot.DescriptionAction<"stock", "Type literal for SKU stock availability type">]>, _$valibot.DescriptionAction<"stock", "Type of stock status (known value: \"stock\")">]>;
1627
+ readonly svg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "SVG icon representing stock status">]>;
1628
+ readonly text: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized text describing stock status (e.g., \"В наличии - осталось всего 16 штук\")">]>;
1629
+ readonly maxQty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum quantity available">]>;
1630
+ readonly maxQtyReason: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized reason text for quantity limit (e.g., \"В наличии только 16 штук\")">]>;
1631
+ }, undefined>, _$valibot.DescriptionAction<{
1632
+ type: "stock";
1633
+ svg: string | undefined;
1634
+ text: string;
1635
+ maxQty: number;
1636
+ maxQtyReason: string;
1637
+ }, "Schema for stock availability information.">]>>, _$valibot.DescriptionAction<{
1638
+ type: "stock";
1639
+ svg: string | undefined;
1640
+ text: string;
1641
+ maxQty: number;
1642
+ maxQtyReason: string;
1643
+ } | undefined, "Stock availability details">]>;
1644
+ readonly installment: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1645
+ readonly installmentSvg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the installment SVG icon">]>;
1646
+ readonly installmentTerm: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Description of the installment term">]>;
1647
+ }, undefined>, _$valibot.DescriptionAction<{
1648
+ installmentSvg: string | undefined;
1649
+ installmentTerm: string | undefined;
1650
+ }, "Schema for installment payment information.">]>>, _$valibot.DescriptionAction<{
1651
+ installmentSvg: string | undefined;
1652
+ installmentTerm: string | undefined;
1653
+ } | undefined, "Installment payment options">]>;
1654
+ readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the product is on promotion">]>;
1655
+ readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
1656
+ readonly promocodes: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string[], "List of applicable promocodes">]>;
1657
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\", \"11 заказов\", \"930 заказов\")">]>;
1658
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
1659
+ readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
1660
+ readonly textReviewQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of text reviews">]>;
1661
+ readonly brand: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1662
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the brand">]>;
1663
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the brand">]>;
1664
+ }, undefined>, _$valibot.DescriptionAction<{
1665
+ id: number;
1666
+ name: string;
1667
+ }, "Schema for brand information.">]>>, _$valibot.DescriptionAction<{
1668
+ id: number;
1669
+ name: string;
1670
+ } | undefined, "Brand information">]>;
1671
+ readonly categories: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1672
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the category">]>;
1673
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the category">]>;
1674
+ readonly isPrimary: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if this is the primary category for the product">]>;
1675
+ }, undefined>, _$valibot.DescriptionAction<{
1676
+ id: number;
1677
+ name: string;
1678
+ isPrimary: boolean;
1679
+ }, "Schema for a category item.">]>, undefined>, _$valibot.DescriptionAction<{
1680
+ id: number;
1681
+ name: string;
1682
+ isPrimary: boolean;
1683
+ }[], "List of categories the product belongs to">]>;
1684
+ readonly shop: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1685
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
1686
+ readonly logo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the shop's logo">]>;
1687
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the shop">]>;
1688
+ readonly photo: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the shop's photo">]>;
1689
+ readonly url: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the shop's page or resource">]>;
1690
+ readonly isInstallment: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if installment payment is available">]>;
1691
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text for the shop (e.g., \"Часто покупают\", \"11 заказов\")">]>;
1692
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating of the shop">]>;
1693
+ readonly daysSinceRegistration: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Number of days since the shop was registered">]>;
1694
+ readonly isMonobrand: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the shop represents a single brand">]>;
1695
+ }, undefined>, _$valibot.DescriptionAction<{
1696
+ id: number;
1697
+ logo: string | undefined;
1698
+ name: string;
1699
+ photo: string;
1700
+ url: string;
1701
+ isInstallment: boolean;
1702
+ qtyPurchasedInfo: string | undefined;
1703
+ rating: number | undefined;
1704
+ daysSinceRegistration: number;
1705
+ isMonobrand: boolean;
1706
+ }, "Schema for shop details associated with a SKU.">]>, _$valibot.DescriptionAction<{
1707
+ id: number;
1708
+ logo: string | undefined;
1709
+ name: string;
1710
+ photo: string;
1711
+ url: string;
1712
+ isInstallment: boolean;
1713
+ qtyPurchasedInfo: string | undefined;
1714
+ rating: number | undefined;
1715
+ daysSinceRegistration: number;
1716
+ isMonobrand: boolean;
1717
+ }, "Details of the shop selling the product">]>;
1718
+ readonly additionalInfo: _$valibot.SchemaWithPipe<readonly [_$valibot.RecordSchema<_$valibot.StringSchema<undefined>, _$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<{
1719
+ [x: string]: string;
1720
+ }, "Dictionary of additional product information">]>;
1721
+ readonly attributes: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1722
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "SKU ID associated with this specific attribute combination">]>;
1723
+ readonly quantity: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available for this specific variant">]>;
1724
+ readonly attributeProperties: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1725
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the attribute (e.g., \"Color\", \"Size\")">]>;
1726
+ readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1727
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the property value (e.g., \"Red\", \"XL\")">]>;
1728
+ readonly photo: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to a photo representing this property value">]>;
1729
+ }, undefined>, _$valibot.DescriptionAction<{
1730
+ name: string;
1731
+ photo: string;
1732
+ }, "Schema for an attribute property value.">]>, _$valibot.DescriptionAction<{
1733
+ name: string;
1734
+ photo: string;
1735
+ }, "Value details for the attribute">]>;
1736
+ }, undefined>, _$valibot.DescriptionAction<{
1737
+ name: string;
1738
+ value: {
1739
+ name: string;
1740
+ photo: string;
1741
+ };
1742
+ }, "Schema for a product attribute.">]>, undefined>, _$valibot.DescriptionAction<{
1743
+ name: string;
1744
+ value: {
1745
+ name: string;
1746
+ photo: string;
1747
+ };
1748
+ }[], "List of properties defining this variant">]>;
1749
+ }, undefined>, _$valibot.DescriptionAction<{
1750
+ skuId: number;
1751
+ quantity: number;
1752
+ attributeProperties: {
1753
+ name: string;
1754
+ value: {
1755
+ name: string;
1756
+ photo: string;
1757
+ };
1758
+ }[];
1759
+ }, "Schema for SKU attributes configuration.">]>, undefined>, _$valibot.DescriptionAction<{
1760
+ skuId: number;
1761
+ quantity: number;
1762
+ attributeProperties: {
1763
+ name: string;
1764
+ value: {
1765
+ name: string;
1766
+ photo: string;
1767
+ };
1768
+ }[];
1769
+ }[], "List of available attribute variants">]>;
1770
+ readonly tags: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1771
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Type of the tag">]>;
1772
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display name of the tag">]>;
1773
+ readonly svg: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the SVG icon for the tag">]>;
1774
+ readonly value: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Value associated with the tag">]>;
1775
+ }, undefined>, _$valibot.DescriptionAction<{
1776
+ type: string;
1777
+ name: string;
1778
+ svg: string;
1779
+ value: string | undefined;
1780
+ }, "Schema for a product tag.">]>, undefined>, _$valibot.DescriptionAction<{
1781
+ type: string;
1782
+ name: string;
1783
+ svg: string;
1784
+ value: string | undefined;
1785
+ }[], "List of tags associated with the product">]>;
1786
+ }, undefined>, _$valibot.DescriptionAction<{
1787
+ productId: number;
1788
+ skuId: number;
1789
+ description: string;
1790
+ name: string;
1791
+ photos: string[];
1792
+ shortDescription: string;
1793
+ discount: number;
1794
+ originalPrice: number;
1795
+ percentDiscount: number;
1796
+ price: number;
1797
+ qty: number;
1798
+ stockAvailability: {
1799
+ type: "stock";
1800
+ svg: string | undefined;
1801
+ text: string;
1802
+ maxQty: number;
1803
+ maxQtyReason: string;
1804
+ } | undefined;
1805
+ installment: {
1806
+ installmentSvg: string | undefined;
1807
+ installmentTerm: string | undefined;
1808
+ } | undefined;
1809
+ isPromo: boolean;
1810
+ promoName: string | undefined;
1811
+ promocodes: string[];
1812
+ qtyPurchasedInfo: string | undefined;
1813
+ rating: number | undefined;
1814
+ scoreQuantity: number | undefined;
1815
+ textReviewQuantity: number | undefined;
1816
+ brand: {
1817
+ id: number;
1818
+ name: string;
1819
+ } | undefined;
1820
+ categories: {
1821
+ id: number;
1822
+ name: string;
1823
+ isPrimary: boolean;
1824
+ }[];
1825
+ shop: {
1826
+ id: number;
1827
+ logo: string | undefined;
1828
+ name: string;
1829
+ photo: string;
1830
+ url: string;
1831
+ isInstallment: boolean;
1832
+ qtyPurchasedInfo: string | undefined;
1833
+ rating: number | undefined;
1834
+ daysSinceRegistration: number;
1835
+ isMonobrand: boolean;
1836
+ };
1837
+ additionalInfo: {
1838
+ [x: string]: string;
1839
+ };
1840
+ attributes: {
1841
+ skuId: number;
1842
+ quantity: number;
1843
+ attributeProperties: {
1844
+ name: string;
1845
+ value: {
1846
+ name: string;
1847
+ photo: string;
1848
+ };
1849
+ }[];
1850
+ }[];
1851
+ tags: {
1852
+ type: string;
1853
+ name: string;
1854
+ svg: string;
1855
+ value: string | undefined;
1856
+ }[];
1857
+ }, "Full SKU detail response with media, pricing, attributes, shop information, categories, and tags.">]>>;
1858
+ }>;
1859
+ readonly getSimilar: HttpOperationDef<"sku", "getSimilar", Simplify<Omit<{
1860
+ readonly method: "GET";
1861
+ readonly path: "/api/v2/sku/similar-skus";
1862
+ readonly query: {
1863
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1864
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU to find similarities for">]>;
1865
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
1866
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of items per page">]>;
1867
+ }, undefined>, _$valibot.DescriptionAction<{
1868
+ skuId: number;
1869
+ pageNumber?: number | null | undefined;
1870
+ pageSize?: number | null | undefined;
1871
+ }, "Parameters for fetching similar SKUs.">]>;
1872
+ };
1873
+ }, "path"> & {
1874
+ readonly path: {
1875
+ readonly template: "/api/v2/sku/similar-skus";
1876
+ readonly schema?: undefined;
1877
+ };
1878
+ }>, {
1879
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1880
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
1881
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
1882
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
1883
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
1884
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
1885
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1886
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
1887
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
1888
+ readonly imageUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the full-size image">]>;
1889
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display name of the similar product">]>;
1890
+ readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief description of the similar product">]>;
1891
+ readonly thumbnailUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the small preview image">]>;
1892
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
1893
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
1894
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
1895
+ readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the product is on promotion">]>;
1896
+ readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
1897
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\")">]>;
1898
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
1899
+ readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
1900
+ readonly moderationStatus: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Moderation status code">]>;
1901
+ }, undefined>, _$valibot.DescriptionAction<{
1902
+ productId: number;
1903
+ skuId: number;
1904
+ imageUrl: string;
1905
+ name: string;
1906
+ shortDescription: string;
1907
+ thumbnailUrl: string;
1908
+ originalPrice: number;
1909
+ price: number;
1910
+ qty: number;
1911
+ isPromo: boolean;
1912
+ promoName: string | undefined;
1913
+ qtyPurchasedInfo: string | undefined;
1914
+ rating: number | undefined;
1915
+ scoreQuantity: number | undefined;
1916
+ moderationStatus: number;
1917
+ }, "Product card returned by the similar SKU endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
1918
+ productId: number;
1919
+ skuId: number;
1920
+ imageUrl: string;
1921
+ name: string;
1922
+ shortDescription: string;
1923
+ thumbnailUrl: string;
1924
+ originalPrice: number;
1925
+ price: number;
1926
+ qty: number;
1927
+ isPromo: boolean;
1928
+ promoName: string | undefined;
1929
+ qtyPurchasedInfo: string | undefined;
1930
+ rating: number | undefined;
1931
+ scoreQuantity: number | undefined;
1932
+ moderationStatus: number;
1933
+ }[], "List of similar product items">]>;
1934
+ }, undefined>, _$valibot.DescriptionAction<{
1935
+ pageNumber: number;
1936
+ totalPages: number;
1937
+ totalCount: number;
1938
+ hasPreviousPage: boolean;
1939
+ hasNextPage: boolean;
1940
+ items: {
1941
+ productId: number;
1942
+ skuId: number;
1943
+ imageUrl: string;
1944
+ name: string;
1945
+ shortDescription: string;
1946
+ thumbnailUrl: string;
1947
+ originalPrice: number;
1948
+ price: number;
1949
+ qty: number;
1950
+ isPromo: boolean;
1951
+ promoName: string | undefined;
1952
+ qtyPurchasedInfo: string | undefined;
1953
+ rating: number | undefined;
1954
+ scoreQuantity: number | undefined;
1955
+ moderationStatus: number;
1956
+ }[];
1957
+ }, "Paginated similar SKU response with product cards and pagination metadata.">]>>;
1958
+ }>;
1959
+ readonly getCollections: HttpOperationDef<"sku", "getCollections", Simplify<Omit<{
1960
+ readonly method: "GET";
1961
+ readonly path: {
1962
+ readonly template: "/sku/{skuId}/collections";
1963
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1964
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
1965
+ }, undefined>, _$valibot.DescriptionAction<{
1966
+ skuId: number;
1967
+ }, "Parameters for fetching collections for a SKU.">]>;
1968
+ };
1969
+ }, "path"> & {
1970
+ readonly path: {
1971
+ readonly template: "/sku/{skuId}/collections";
1972
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1973
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
1974
+ }, undefined>, _$valibot.DescriptionAction<{
1975
+ skuId: number;
1976
+ }, "Parameters for fetching collections for a SKU.">]>;
1977
+ };
1978
+ }>, {
1979
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
1980
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
1981
+ readonly cover: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the collection's cover image">]>;
1982
+ readonly icon: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the collection's icon">]>;
1983
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the collection">]>;
1984
+ readonly quantity: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Number of items in the collection">]>;
1985
+ readonly priority: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Priority for sorting or display order">]>;
1986
+ }, undefined>, _$valibot.DescriptionAction<{
1987
+ id: number;
1988
+ cover: string;
1989
+ icon: string;
1990
+ name: string;
1991
+ quantity: number;
1992
+ priority: number;
1993
+ }, "Collection card associated with a specific SKU.">]>, undefined>, _$valibot.DescriptionAction<{
1994
+ id: number;
1995
+ cover: string;
1996
+ icon: string;
1997
+ name: string;
1998
+ quantity: number;
1999
+ priority: number;
2000
+ }[], "List of collection cards associated with the requested SKU.">]>>;
2001
+ }>;
2002
+ readonly getReviewAvailable: HttpOperationDef<"sku", "getReviewAvailable", Simplify<Omit<{
2003
+ readonly method: "GET";
2004
+ readonly path: {
2005
+ readonly template: "/sku/{skuId}/review-available";
2006
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2007
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
2008
+ }, undefined>, _$valibot.DescriptionAction<{
2009
+ skuId: number;
2010
+ }, "Parameters for checking review availability.">]>;
2011
+ };
2012
+ }, "path"> & {
2013
+ readonly path: {
2014
+ readonly template: "/sku/{skuId}/review-available";
2015
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2016
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
2017
+ }, undefined>, _$valibot.DescriptionAction<{
2018
+ skuId: number;
2019
+ }, "Parameters for checking review availability.">]>;
2020
+ };
2021
+ }>, {
2022
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2023
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Description of the review availability status">]>;
2024
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Message regarding review availability">]>;
2025
+ }, undefined>, _$valibot.DescriptionAction<{
2026
+ description: string;
2027
+ message: string;
2028
+ }, "Short message payload returned by the review availability endpoint and its unauthorized error body.">]>>;
2029
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2030
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
2031
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
2032
+ }, undefined>, _$valibot.DescriptionAction<{
2033
+ description: string;
2034
+ message: string;
2035
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
2036
+ }>;
2037
+ };
2038
+ readonly users: {
2039
+ readonly updateLanguage: HttpOperationDef<"users", "updateLanguage", Simplify<Omit<{
2040
+ readonly method: "PATCH";
2041
+ readonly path: "/api/v1/users/me/language";
2042
+ readonly body: {
2043
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2044
+ readonly language: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.PicklistSchema<["ru", "kz"], undefined>, _$valibot.DescriptionAction<"ru" | "kz", "Language code accepted by the update language endpoint: \"ru\" or \"kz\".">]>, _$valibot.DescriptionAction<"ru" | "kz", "Language code: \"ru\" (Russian) or \"kz\" (Kazakh)">]>;
2045
+ }, undefined>, _$valibot.DescriptionAction<{
2046
+ language: "ru" | "kz";
2047
+ }, "Request body for updating the authenticated user's preferred language.">]>;
2048
+ };
2049
+ }, "path"> & {
2050
+ readonly path: {
2051
+ readonly template: "/api/v1/users/me/language";
2052
+ readonly schema?: undefined;
2053
+ };
2054
+ }>, {
2055
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2056
+ readonly language: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.PicklistSchema<["ru", "kz"], undefined>, _$valibot.DescriptionAction<"ru" | "kz", "Language code accepted by the update language endpoint: \"ru\" or \"kz\".">]>, _$valibot.DescriptionAction<"ru" | "kz", "Updated language code">]>;
2057
+ readonly title: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Response title">]>;
2058
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Response message">]>;
2059
+ }, undefined>, _$valibot.DescriptionAction<{
2060
+ language: "ru" | "kz";
2061
+ title: string;
2062
+ message: string;
2063
+ }, "Confirmation payload returned after the user's preferred language is updated.">]>>;
2064
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2065
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
2066
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
2067
+ }, undefined>, _$valibot.DescriptionAction<{
2068
+ description: string;
2069
+ message: string;
2070
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
2071
+ }>;
2072
+ readonly registerDevice: HttpOperationDef<"users", "registerDevice", Simplify<Omit<{
2073
+ readonly method: "POST";
2074
+ readonly path: "/api/v1/device-identities";
2075
+ readonly body: {
2076
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2077
+ readonly deviceIdentity: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2078
+ readonly sdkInformation: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2079
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Type of tracking SDK (e.g., \"Appsflyer\", \"Firebase\")">]>;
2080
+ readonly deviceId: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique device identifier for the tracking service">]>;
2081
+ }, undefined>, _$valibot.DescriptionAction<{
2082
+ type: string;
2083
+ deviceId: string;
2084
+ }, "SDK information for a specific tracking service">]>, undefined>, _$valibot.DescriptionAction<{
2085
+ type: string;
2086
+ deviceId: string;
2087
+ }[], "Array of tracking SDK information">]>;
2088
+ }, undefined>, _$valibot.DescriptionAction<{
2089
+ sdkInformation: {
2090
+ type: string;
2091
+ deviceId: string;
2092
+ }[];
2093
+ }, "Device identity containing tracking SDK information">]>, _$valibot.DescriptionAction<{
2094
+ sdkInformation: {
2095
+ type: string;
2096
+ deviceId: string;
2097
+ }[];
2098
+ }, "Device identity information for analytics tracking">]>;
2099
+ }, undefined>, _$valibot.DescriptionAction<{
2100
+ deviceIdentity: {
2101
+ sdkInformation: {
2102
+ type: string;
2103
+ deviceId: string;
2104
+ }[];
2105
+ };
2106
+ }, "Request body for registering authenticated device identity metadata used by analytics integrations.">]>;
2107
+ };
2108
+ }, "path"> & {
2109
+ readonly path: {
2110
+ readonly template: "/api/v1/device-identities";
2111
+ readonly schema?: undefined;
2112
+ };
2113
+ }>, {
2114
+ readonly 200: HttpOperationEmptyResponse;
2115
+ readonly 201: HttpOperationEmptyResponse;
2116
+ readonly 204: HttpOperationEmptyResponse;
2117
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2118
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
2119
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
2120
+ }, undefined>, _$valibot.DescriptionAction<{
2121
+ description: string;
2122
+ message: string;
2123
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
2124
+ }>;
2125
+ };
2126
+ };
2127
+ type TeezOperations = typeof teezOperations;
2128
+ type TeezOperationGroup = DistributedValueOf<TeezOperations>;
2129
+ type TeezOperation = DistributedValueOf<TeezOperationGroup>;
2130
+ type TeezOperationId = TeezOperation["name"];
2131
+ declare const teezOperationList: (HttpOperationDef<"auth", "login", Simplify<Omit<{
2132
+ readonly method: "POST";
2133
+ readonly path: "/auth/login";
2134
+ readonly body: {
2135
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2136
+ readonly phone: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Phone number with country code in E.164 format (e.g., \"+77071234567\")">]>;
2137
+ }, undefined>, _$valibot.DescriptionAction<{
2138
+ phone: string;
2139
+ }, "Parameters for initiating phone login (sends OTP).">]>;
2140
+ };
2141
+ }, "path"> & {
2142
+ readonly path: {
2143
+ readonly template: "/auth/login";
2144
+ readonly schema?: undefined;
2145
+ };
2146
+ }>, {
2147
+ readonly 200: HttpOperationEmptyResponse;
2148
+ readonly 204: HttpOperationEmptyResponse;
2149
+ readonly 400: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2150
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
2151
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
2152
+ }, undefined>, _$valibot.DescriptionAction<{
2153
+ description: string;
2154
+ message: string;
2155
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
2156
+ }> | HttpOperationDef<"auth", "verify", Simplify<Omit<{
2157
+ readonly method: "POST";
2158
+ readonly path: "/auth/verify";
2159
+ readonly body: {
2160
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2161
+ readonly phone: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Phone number with country code in E.164 format (e.g., \"+77071234567\")">]>;
2162
+ readonly otpCode: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "4-digit OTP code received via SMS">]>;
2163
+ }, undefined>, _$valibot.DescriptionAction<{
2164
+ phone: string;
2165
+ otpCode: string;
2166
+ }, "Parameters for verifying OTP code and obtaining JWT token.">]>;
2167
+ };
2168
+ }, "path"> & {
2169
+ readonly path: {
2170
+ readonly template: "/auth/verify";
2171
+ readonly schema?: undefined;
2172
+ };
2173
+ }>, {
2174
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2175
+ readonly userId: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique user identifier">]>;
2176
+ readonly phone: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "User's phone number in E.164 format">]>;
2177
+ readonly accessToken: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "JWT access token for API authentication (HS512 algorithm, ~24 hour expiration)">]>;
2178
+ readonly refreshToken: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Base64-encoded refresh token for obtaining new access tokens">]>;
2179
+ readonly paymentId: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "User's preferred payment method ID">]>;
2180
+ readonly pickupPoint: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.UnknownSchema>, _$valibot.DescriptionAction<unknown, "User's default pickup point">]>;
2181
+ readonly address: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.UnknownSchema>, _$valibot.DescriptionAction<unknown, "User's default delivery address">]>;
2182
+ readonly recipient: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.UnknownSchema>, _$valibot.DescriptionAction<unknown, "User's default order recipient information">]>;
2183
+ }, undefined>, _$valibot.DescriptionAction<{
2184
+ userId: string;
2185
+ phone: string;
2186
+ accessToken: string;
2187
+ refreshToken: string;
2188
+ paymentId: number | undefined;
2189
+ pickupPoint: unknown;
2190
+ address: unknown;
2191
+ recipient: unknown;
2192
+ }, "Authentication token payload returned after successful OTP verification.">]>>;
2193
+ readonly 400: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2194
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
2195
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
2196
+ }, undefined>, _$valibot.DescriptionAction<{
2197
+ description: string;
2198
+ message: string;
2199
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
2200
+ }> | HttpOperationDef<"auth", "checkToken", Simplify<Omit<{
2201
+ readonly method: "GET";
2202
+ readonly path: "/auth/check-token";
2203
+ }, "path"> & {
2204
+ readonly path: {
2205
+ readonly template: "/auth/check-token";
2206
+ readonly schema?: undefined;
2207
+ };
2208
+ }>, {
2209
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2210
+ readonly userId: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique user identifier">]>;
2211
+ readonly phoneNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "User's phone number in E.164 format">]>;
2212
+ readonly fullName: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "User's full name">]>;
2213
+ readonly email: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "User's email address">]>;
2214
+ readonly expiredTokenDate: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Token expiration datetime in ISO 8601 format (e.g., \"2025-12-30T13:08:44+00:00\")">]>;
2215
+ readonly language: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"ru", undefined>, _$valibot.LiteralSchema<"kz", undefined>], undefined>, _$valibot.DescriptionAction<"ru" | "kz", "Language code returned for the authenticated user: \"ru\" or \"kz\".">]>, _$valibot.DescriptionAction<"ru" | "kz", "User's preferred language: \"ru\" or \"kz\".">]>;
2216
+ readonly hasOrders: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Whether user has active orders in progress">]>;
2217
+ readonly hasAnyOrders: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Whether user has any order history (including completed orders)">]>;
2218
+ }, undefined>, _$valibot.DescriptionAction<{
2219
+ userId: string;
2220
+ phoneNumber: string;
2221
+ fullName: string;
2222
+ email: string;
2223
+ expiredTokenDate: string;
2224
+ language: "ru" | "kz";
2225
+ hasOrders: boolean;
2226
+ hasAnyOrders: boolean;
2227
+ }, "Authenticated user profile returned by the token validation endpoint.">]>>;
2228
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2229
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
2230
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
2231
+ }, undefined>, _$valibot.DescriptionAction<{
2232
+ description: string;
2233
+ message: string;
2234
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
2235
+ }> | HttpOperationDef<"banners", "list", Simplify<Omit<{
2236
+ readonly method: "GET";
2237
+ readonly path: "/api/v3/banners";
2238
+ readonly query: {
2239
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2240
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Type of banners to filter by">]>;
2241
+ }, undefined>, _$valibot.DescriptionAction<{
2242
+ type?: string | null | undefined;
2243
+ }, "Optional banner feed filters used by the storefront banners endpoint.">]>;
2244
+ };
2245
+ }, "path"> & {
2246
+ readonly path: {
2247
+ readonly template: "/api/v3/banners";
2248
+ readonly schema?: undefined;
2249
+ };
2250
+ }>, {
2251
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2252
+ readonly image: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2253
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"network", undefined>, _$valibot.DescriptionAction<"network", "Type literal for banner image resource type">]>, _$valibot.DescriptionAction<"network", "Type of image resource (e.g., \"network\" for remote URLs)">]>;
2254
+ readonly url: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Direct URL to the image">]>;
2255
+ }, undefined>, _$valibot.DescriptionAction<{
2256
+ type: "network";
2257
+ url: string;
2258
+ }, "Schema for a banner image.">]>, _$valibot.DescriptionAction<{
2259
+ type: "network";
2260
+ url: string;
2261
+ }, "Image details for the banner">]>;
2262
+ readonly action: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2263
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"url", undefined>, _$valibot.LiteralSchema<"path", undefined>, _$valibot.LiteralSchema<"key", undefined>, _$valibot.LiteralSchema<"promocode", undefined>], undefined>, _$valibot.DescriptionAction<"path" | "url" | "key" | "promocode", "Type union for banner action types">]>, _$valibot.DescriptionAction<"path" | "url" | "key" | "promocode", "Type of action - \"url\" for external links, \"path\" for app navigation, \"key\" for special actions, or \"promocode\" for applying a promocode">]>;
2264
+ readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Target value - full URL for \"url\" type, app path for \"path\" type (e.g., \"/collection/393\"), action key for \"key\" type, or the promocode string for \"promocode\" type">]>;
2265
+ readonly analyticsKey: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Key for analytics tracking">]>;
2266
+ }, undefined>, _$valibot.DescriptionAction<{
2267
+ type: "path" | "url" | "key" | "promocode";
2268
+ value: string;
2269
+ analyticsKey: string | undefined;
2270
+ }, "Schema for a banner action.">]>, _$valibot.DescriptionAction<{
2271
+ type: "path" | "url" | "key" | "promocode";
2272
+ value: string;
2273
+ analyticsKey: string | undefined;
2274
+ }, "Action details for the banner interaction">]>;
2275
+ }, undefined>, _$valibot.DescriptionAction<{
2276
+ image: {
2277
+ type: "network";
2278
+ url: string;
2279
+ };
2280
+ action: {
2281
+ type: "path" | "url" | "key" | "promocode";
2282
+ value: string;
2283
+ analyticsKey: string | undefined;
2284
+ };
2285
+ }, "Banner card returned by the storefront banners feed.">]>, undefined>, _$valibot.DescriptionAction<{
2286
+ image: {
2287
+ type: "network";
2288
+ url: string;
2289
+ };
2290
+ action: {
2291
+ type: "path" | "url" | "key" | "promocode";
2292
+ value: string;
2293
+ analyticsKey: string | undefined;
2294
+ };
2295
+ }[], "List of active storefront banners with image and action metadata.">]>>;
2296
+ }> | HttpOperationDef<"categories", "list", Simplify<Omit<{
2297
+ readonly method: "GET";
2298
+ readonly path: "/categories";
2299
+ }, "path"> & {
2300
+ readonly path: {
2301
+ readonly template: "/categories";
2302
+ readonly schema?: undefined;
2303
+ };
2304
+ }>, {
2305
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2306
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the category">]>;
2307
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the category">]>;
2308
+ readonly level: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Depth level in the category tree">]>;
2309
+ readonly parentId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Identifier of the parent category">]>;
2310
+ readonly hasSubcategories: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if there are nested subcategories">]>;
2311
+ readonly isAdult: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the category contains adult content">]>;
2312
+ }, undefined>, _$valibot.DescriptionAction<{
2313
+ id: number;
2314
+ name: string;
2315
+ level: number;
2316
+ parentId: number;
2317
+ hasSubcategories: boolean;
2318
+ isAdult: boolean;
2319
+ }, "Category node returned by the category tree endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
2320
+ id: number;
2321
+ name: string;
2322
+ level: number;
2323
+ parentId: number;
2324
+ hasSubcategories: boolean;
2325
+ isAdult: boolean;
2326
+ }[], "Top-level category tree returned for storefront navigation.">]>>;
2327
+ }> | HttpOperationDef<"categories", "get", Simplify<Omit<{
2328
+ readonly method: "GET";
2329
+ readonly path: {
2330
+ readonly template: "/categories/{categoryId}";
2331
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2332
+ readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the category">]>;
2333
+ }, undefined>, _$valibot.DescriptionAction<{
2334
+ categoryId: number;
2335
+ }, "Parameters for fetching a specific category.">]>;
2336
+ };
2337
+ }, "path"> & {
2338
+ readonly path: {
2339
+ readonly template: "/categories/{categoryId}";
2340
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2341
+ readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the category">]>;
2342
+ }, undefined>, _$valibot.DescriptionAction<{
2343
+ categoryId: number;
2344
+ }, "Parameters for fetching a specific category.">]>;
2345
+ };
2346
+ }>, {
2347
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.GenericSchema<CategoriesGetItemInput, CategoriesGetItemOutput>, _$valibot.DescriptionAction<CategoriesGetItemOutput, "Category detail response with the selected category and its immediate subcategories.">]>>;
2348
+ }> | HttpOperationDef<"categories", "getParents", Simplify<Omit<{
2349
+ readonly method: "GET";
2350
+ readonly path: "/api/v1/categories/parents";
2351
+ readonly query: {
2352
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2353
+ readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number[], "List of category IDs to find parents for">]>;
2354
+ readonly level: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Hierarchy level to filter by">]>;
2355
+ }, undefined>, _$valibot.DescriptionAction<{
2356
+ categoryId: number[];
2357
+ level?: number | null | undefined;
2358
+ }, "Parameters for fetching parent categories.">]>;
2359
+ };
2360
+ }, "path"> & {
2361
+ readonly path: {
2362
+ readonly template: "/api/v1/categories/parents";
2363
+ readonly schema?: undefined;
2364
+ };
2365
+ }>, {
2366
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.GenericSchema<CategoriesGetParentsItemInput, CategoriesGetParentsItemOutput>, undefined>, _$valibot.DescriptionAction<CategoriesGetParentsItemOutput[], "Parent category chains returned for the requested category identifiers.">]>>;
2367
+ }> | HttpOperationDef<"collections", "getSkus", Simplify<Omit<{
2368
+ readonly method: "GET";
2369
+ readonly path: "/api/v2/collections/skus";
2370
+ readonly query: {
2371
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2372
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
2373
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of items per page">]>;
2374
+ readonly collectionId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
2375
+ readonly sortBy: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"byRelevance", undefined>, _$valibot.LiteralSchema<"popularity", undefined>, _$valibot.LiteralSchema<"highestRated", undefined>, _$valibot.LiteralSchema<"new", undefined>, _$valibot.LiteralSchema<"price", undefined>, _$valibot.LiteralSchema<"priceDesc", undefined>], undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc", "Type union for product sort keys">]>, undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined, "Sorting option for the results">]>;
2376
+ }, undefined>, _$valibot.DescriptionAction<{
2377
+ pageNumber?: number | null | undefined;
2378
+ pageSize?: number | null | undefined;
2379
+ collectionId: number;
2380
+ sortBy?: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined;
2381
+ }, "Parameters for fetching SKUs from a collection.">]>;
2382
+ };
2383
+ }, "path"> & {
2384
+ readonly path: {
2385
+ readonly template: "/api/v2/collections/skus";
2386
+ readonly schema?: undefined;
2387
+ };
2388
+ }>, {
2389
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2390
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
2391
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
2392
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
2393
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
2394
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
2395
+ readonly filters: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.VariantSchema<"type", [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2396
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"range", undefined>, _$valibot.DescriptionAction<"range", "Type literal for range-based filters">]>, _$valibot.DescriptionAction<"range", "Filter type: range for price slider">]>;
2397
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
2398
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
2399
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2400
+ readonly min: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Minimum value for range filters">]>;
2401
+ readonly max: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum value for range filters">]>;
2402
+ }, undefined>, _$valibot.DescriptionAction<{
2403
+ min: number;
2404
+ max: number;
2405
+ }, "Schema for range filter options (e.g., price slider).\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
2406
+ min: number;
2407
+ max: number;
2408
+ }[], "List of available options for this filter">]>;
2409
+ }, undefined>, _$valibot.DescriptionAction<{
2410
+ type: "range";
2411
+ name: string;
2412
+ code: string;
2413
+ options: {
2414
+ min: number;
2415
+ max: number;
2416
+ }[];
2417
+ }, "Schema for range filters (e.g., price slider).\nUse this in discriminatedUnion-based filter schemas.">]>, _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2418
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"category", undefined>, _$valibot.LiteralSchema<"alphabetic_search_list", undefined>], undefined>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Type union for category filter types">]>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Filter type: category or alphabetic_search_list">]>;
2419
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
2420
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
2421
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2422
+ readonly label: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display label for the filter option">]>;
2423
+ readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Value for the filter option">]>;
2424
+ }, undefined>, _$valibot.DescriptionAction<{
2425
+ label: string;
2426
+ value: number;
2427
+ }, "Schema for category/brand filter options.\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
2428
+ label: string;
2429
+ value: number;
2430
+ }[], "List of available options for this filter">]>;
2431
+ }, undefined>, _$valibot.DescriptionAction<{
2432
+ type: "category" | "alphabetic_search_list";
2433
+ name: string;
2434
+ code: string;
2435
+ options: {
2436
+ label: string;
2437
+ value: number;
2438
+ }[];
2439
+ }, "Schema for category/brand filters.\nUse this in discriminatedUnion-based filter schemas.">]>], undefined>, _$valibot.DescriptionAction<{
2440
+ type: "category" | "alphabetic_search_list";
2441
+ name: string;
2442
+ code: string;
2443
+ options: {
2444
+ label: string;
2445
+ value: number;
2446
+ }[];
2447
+ } | {
2448
+ type: "range";
2449
+ name: string;
2450
+ code: string;
2451
+ options: {
2452
+ min: number;
2453
+ max: number;
2454
+ }[];
2455
+ }, "Union filter schema that can be either range or category filter.\nThis is the recommended pattern for type-safe filters.">]>, undefined>, _$valibot.DescriptionAction<({
2456
+ type: "category" | "alphabetic_search_list";
2457
+ name: string;
2458
+ code: string;
2459
+ options: {
2460
+ label: string;
2461
+ value: number;
2462
+ }[];
2463
+ } | {
2464
+ type: "range";
2465
+ name: string;
2466
+ code: string;
2467
+ options: {
2468
+ min: number;
2469
+ max: number;
2470
+ }[];
2471
+ })[], "List of applicable filters for the collection">]>;
2472
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2473
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
2474
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
2475
+ readonly imageUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the full-size image">]>;
2476
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display name of the product">]>;
2477
+ readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief description of the product">]>;
2478
+ readonly thumbnailUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the small preview image">]>;
2479
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
2480
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
2481
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
2482
+ readonly stockAvailability: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2483
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"stock", undefined>, _$valibot.DescriptionAction<"stock", "Type literal for SKU stock availability type">]>, _$valibot.DescriptionAction<"stock", "Type of stock status (known value: \"stock\")">]>;
2484
+ readonly svg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "SVG icon representing stock status">]>;
2485
+ readonly text: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized text describing stock status (e.g., \"В наличии - осталось всего 16 штук\")">]>;
2486
+ readonly maxQty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum quantity available">]>;
2487
+ readonly maxQtyReason: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized reason text for quantity limit (e.g., \"В наличии только 16 штук\")">]>;
2488
+ }, undefined>, _$valibot.DescriptionAction<{
2489
+ type: "stock";
2490
+ svg: string | undefined;
2491
+ text: string;
2492
+ maxQty: number;
2493
+ maxQtyReason: string;
2494
+ }, "Schema for stock availability information.">]>>, _$valibot.DescriptionAction<{
2495
+ type: "stock";
2496
+ svg: string | undefined;
2497
+ text: string;
2498
+ maxQty: number;
2499
+ maxQtyReason: string;
2500
+ } | undefined, "Stock availability details">]>;
2501
+ readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the item is on promotion">]>;
2502
+ readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
2503
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\")">]>;
2504
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
2505
+ readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
2506
+ }, undefined>, _$valibot.DescriptionAction<{
2507
+ productId: number;
2508
+ skuId: number;
2509
+ imageUrl: string;
2510
+ name: string;
2511
+ shortDescription: string;
2512
+ thumbnailUrl: string;
2513
+ originalPrice: number;
2514
+ price: number;
2515
+ qty: number;
2516
+ stockAvailability: {
2517
+ type: "stock";
2518
+ svg: string | undefined;
2519
+ text: string;
2520
+ maxQty: number;
2521
+ maxQtyReason: string;
2522
+ } | undefined;
2523
+ isPromo: boolean;
2524
+ promoName: string | undefined;
2525
+ qtyPurchasedInfo: string | undefined;
2526
+ rating: number | undefined;
2527
+ scoreQuantity: number | undefined;
2528
+ }, "Product card returned inside collection SKU feeds.">]>, undefined>, _$valibot.DescriptionAction<{
2529
+ productId: number;
2530
+ skuId: number;
2531
+ imageUrl: string;
2532
+ name: string;
2533
+ shortDescription: string;
2534
+ thumbnailUrl: string;
2535
+ originalPrice: number;
2536
+ price: number;
2537
+ qty: number;
2538
+ stockAvailability: {
2539
+ type: "stock";
2540
+ svg: string | undefined;
2541
+ text: string;
2542
+ maxQty: number;
2543
+ maxQtyReason: string;
2544
+ } | undefined;
2545
+ isPromo: boolean;
2546
+ promoName: string | undefined;
2547
+ qtyPurchasedInfo: string | undefined;
2548
+ rating: number | undefined;
2549
+ scoreQuantity: number | undefined;
2550
+ }[], "List of SKU items in the collection">]>;
2551
+ }, undefined>, _$valibot.DescriptionAction<{
2552
+ pageNumber: number;
2553
+ totalPages: number;
2554
+ totalCount: number;
2555
+ hasPreviousPage: boolean;
2556
+ hasNextPage: boolean;
2557
+ filters: ({
2558
+ type: "category" | "alphabetic_search_list";
2559
+ name: string;
2560
+ code: string;
2561
+ options: {
2562
+ label: string;
2563
+ value: number;
2564
+ }[];
2565
+ } | {
2566
+ type: "range";
2567
+ name: string;
2568
+ code: string;
2569
+ options: {
2570
+ min: number;
2571
+ max: number;
2572
+ }[];
2573
+ })[];
2574
+ items: {
2575
+ productId: number;
2576
+ skuId: number;
2577
+ imageUrl: string;
2578
+ name: string;
2579
+ shortDescription: string;
2580
+ thumbnailUrl: string;
2581
+ originalPrice: number;
2582
+ price: number;
2583
+ qty: number;
2584
+ stockAvailability: {
2585
+ type: "stock";
2586
+ svg: string | undefined;
2587
+ text: string;
2588
+ maxQty: number;
2589
+ maxQtyReason: string;
2590
+ } | undefined;
2591
+ isPromo: boolean;
2592
+ promoName: string | undefined;
2593
+ qtyPurchasedInfo: string | undefined;
2594
+ rating: number | undefined;
2595
+ scoreQuantity: number | undefined;
2596
+ }[];
2597
+ }, "Paginated collection SKU response with filters, product cards, and pagination metadata.">]>>;
2598
+ }> | HttpOperationDef<"collections", "list", Simplify<Omit<{
2599
+ readonly method: "GET";
2600
+ readonly path: "/collections";
2601
+ readonly query: {
2602
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2603
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Type of collections to filter by">]>;
2604
+ readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Filter collections by shop ID">]>;
2605
+ }, undefined>, _$valibot.DescriptionAction<{
2606
+ type?: string | null | undefined;
2607
+ shopId?: number | null | undefined;
2608
+ }, "Parameters for fetching the list of collections.">]>;
2609
+ };
2610
+ }, "path"> & {
2611
+ readonly path: {
2612
+ readonly template: "/collections";
2613
+ readonly schema?: undefined;
2614
+ };
2615
+ }>, {
2616
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2617
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
2618
+ readonly icon: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL or path to the collection's icon">]>;
2619
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the collection">]>;
2620
+ readonly priority: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Priority for sorting or display order">]>;
2621
+ }, undefined>, _$valibot.DescriptionAction<{
2622
+ id: number;
2623
+ icon: string | undefined;
2624
+ name: string;
2625
+ priority: number;
2626
+ }, "Collection card returned by collection listing endpoints.">]>, undefined>, _$valibot.DescriptionAction<{
2627
+ id: number;
2628
+ icon: string | undefined;
2629
+ name: string;
2630
+ priority: number;
2631
+ }[], "List of collection cards available in the storefront.">]>>;
2632
+ }> | HttpOperationDef<"collections", "get", Simplify<Omit<{
2633
+ readonly method: "GET";
2634
+ readonly path: {
2635
+ readonly template: "/collections/{collectionId}";
2636
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2637
+ readonly collectionId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
2638
+ }, undefined>, _$valibot.DescriptionAction<{
2639
+ collectionId: number;
2640
+ }, "Parameters for fetching a specific collection.">]>;
2641
+ };
2642
+ }, "path"> & {
2643
+ readonly path: {
2644
+ readonly template: "/collections/{collectionId}";
2645
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2646
+ readonly collectionId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
2647
+ }, undefined>, _$valibot.DescriptionAction<{
2648
+ collectionId: number;
2649
+ }, "Parameters for fetching a specific collection.">]>;
2650
+ };
2651
+ }>, {
2652
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2653
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"Collection", undefined>, _$valibot.LiteralSchema<"ProductShelf", undefined>], undefined>, _$valibot.DescriptionAction<"Collection" | "ProductShelf", "Type union for collection responses (observed values: \"Collection\", \"ProductShelf\")">]>, _$valibot.DescriptionAction<"Collection" | "ProductShelf", "Type of the collection container (observed values: \"Collection\", \"ProductShelf\")">]>;
2654
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
2655
+ readonly cover: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the cover image">]>;
2656
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Description of the collection">]>;
2657
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the collection">]>;
2658
+ readonly priority: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Priority for sorting or display order">]>;
2659
+ }, undefined>, _$valibot.DescriptionAction<{
2660
+ type: "Collection" | "ProductShelf";
2661
+ id: number;
2662
+ cover: string;
2663
+ description: string;
2664
+ name: string;
2665
+ priority: number;
2666
+ }, "Collection presentation object returned by the collection detail endpoint.">]>>;
2667
+ }> | HttpOperationDef<"favorites", "getIds", Simplify<Omit<{
2668
+ readonly method: "GET";
2669
+ readonly path: "/api/v1/favorites/ids";
2670
+ }, "path"> & {
2671
+ readonly path: {
2672
+ readonly template: "/api/v1/favorites/ids";
2673
+ readonly schema?: undefined;
2674
+ };
2675
+ }>, {
2676
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2677
+ readonly skuIds: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number[], "List of favorited SKU IDs">]>;
2678
+ }, undefined>, _$valibot.DescriptionAction<{
2679
+ skuIds: number[];
2680
+ }, "Authenticated favorites response containing the user's favorite SKU identifiers.">]>>;
2681
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2682
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
2683
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
2684
+ }, undefined>, _$valibot.DescriptionAction<{
2685
+ description: string;
2686
+ message: string;
2687
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
2688
+ }> | HttpOperationDef<"favorites", "add", Simplify<Omit<{
2689
+ readonly method: "POST";
2690
+ readonly path: "/api/v1/favorites";
2691
+ readonly body: {
2692
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number[], "Request body containing SKU identifiers to add to the authenticated user's favorites list.">]>;
2693
+ };
2694
+ }, "path"> & {
2695
+ readonly path: {
2696
+ readonly template: "/api/v1/favorites";
2697
+ readonly schema?: undefined;
2698
+ };
2699
+ }>, {
2700
+ readonly 200: HttpOperationEmptyResponse;
2701
+ readonly 204: HttpOperationEmptyResponse;
2702
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2703
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
2704
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
2705
+ }, undefined>, _$valibot.DescriptionAction<{
2706
+ description: string;
2707
+ message: string;
2708
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
2709
+ }> | HttpOperationDef<"favorites", "remove", Simplify<Omit<{
2710
+ readonly method: "DELETE";
2711
+ readonly path: "/api/v1/favorites";
2712
+ readonly body: {
2713
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number[], "Request body containing SKU identifiers to remove from the authenticated user's favorites list.">]>;
2714
+ };
2715
+ }, "path"> & {
2716
+ readonly path: {
2717
+ readonly template: "/api/v1/favorites";
2718
+ readonly schema?: undefined;
2719
+ };
2720
+ }>, {
2721
+ readonly 200: HttpOperationEmptyResponse;
2722
+ readonly 204: HttpOperationEmptyResponse;
2723
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2724
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
2725
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
2726
+ }, undefined>, _$valibot.DescriptionAction<{
2727
+ description: string;
2728
+ message: string;
2729
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
2730
+ }> | HttpOperationDef<"featureFlags", "list", Simplify<Omit<{
2731
+ readonly method: "GET";
2732
+ readonly path: "/api/v1/feature-flags";
2733
+ }, "path"> & {
2734
+ readonly path: {
2735
+ readonly template: "/api/v1/feature-flags";
2736
+ readonly schema?: undefined;
2737
+ };
2738
+ }>, {
2739
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2740
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the feature flag">]>;
2741
+ readonly isActive: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the feature flag is currently active">]>;
2742
+ }, undefined>, _$valibot.DescriptionAction<{
2743
+ name: string;
2744
+ isActive: boolean;
2745
+ }, "Feature flag record returned by the backend.">]>, undefined>, _$valibot.DescriptionAction<{
2746
+ name: string;
2747
+ isActive: boolean;
2748
+ }[], "List of backend feature flags exposed to the client application.">]>>;
2749
+ }> | HttpOperationDef<"products", "autocomplete", Simplify<Omit<{
2750
+ readonly method: "GET";
2751
+ readonly path: "/items";
2752
+ readonly query: {
2753
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2754
+ readonly search: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Partial query text used to retrieve search suggestions">]>;
2755
+ }, undefined>, _$valibot.DescriptionAction<{
2756
+ search: string;
2757
+ }, "Query parameters for retrieving product autocomplete data.">]>;
2758
+ };
2759
+ }, "path"> & {
2760
+ readonly path: {
2761
+ readonly template: "/items";
2762
+ readonly schema?: undefined;
2763
+ };
2764
+ }>, {
2765
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2766
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Identifier associated with the suggestion">]>;
2767
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Suggestion text shown to the user">]>;
2768
+ }, undefined>, _$valibot.DescriptionAction<{
2769
+ id: number;
2770
+ name: string;
2771
+ }, "Product search suggestion returned by autocomplete.">]>, undefined>, _$valibot.DescriptionAction<{
2772
+ id: number;
2773
+ name: string;
2774
+ }[], "Search suggestions returned while the user types in the storefront search box.">]>>;
2775
+ }> | HttpOperationDef<"products", "getSortOptions", Simplify<Omit<{
2776
+ readonly method: "GET";
2777
+ readonly path: "/api/product/sort-options";
2778
+ readonly query: {
2779
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2780
+ readonly IsSearch: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.BooleanSchema<undefined>, undefined>, _$valibot.DescriptionAction<boolean | null | undefined, "Indicates if the context is a search result">]>;
2781
+ readonly IsPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.BooleanSchema<undefined>, undefined>, _$valibot.DescriptionAction<boolean | null | undefined, "Indicates if the context is a promotional listing">]>;
2782
+ }, undefined>, _$valibot.DescriptionAction<{
2783
+ IsSearch?: boolean | null | undefined;
2784
+ IsPromo?: boolean | null | undefined;
2785
+ }, "Parameters for fetching product sort options.">]>;
2786
+ };
2787
+ }, "path"> & {
2788
+ readonly path: {
2789
+ readonly template: "/api/product/sort-options";
2790
+ readonly schema?: undefined;
2791
+ };
2792
+ }>, {
2793
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2794
+ readonly key: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"byRelevance", undefined>, _$valibot.LiteralSchema<"popularity", undefined>, _$valibot.LiteralSchema<"highestRated", undefined>, _$valibot.LiteralSchema<"new", undefined>, _$valibot.LiteralSchema<"price", undefined>, _$valibot.LiteralSchema<"priceDesc", undefined>], undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc", "Type union for product sort keys">]>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc", "Sort key - \"popularity\", \"highestRated\", \"new\", \"price\", or \"priceDesc\"">]>;
2795
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the sort option">]>;
2796
+ }, undefined>, _$valibot.DescriptionAction<{
2797
+ key: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc";
2798
+ name: string;
2799
+ }, "Sort option returned by product listing endpoints.">]>, undefined>, _$valibot.DescriptionAction<{
2800
+ key: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc";
2801
+ name: string;
2802
+ }[], "List of sort options supported by product listing endpoints.">]>>;
2803
+ }> | HttpOperationDef<"products", "list", Simplify<Omit<{
2804
+ readonly method: "GET";
2805
+ readonly path: "/api/v2/product";
2806
+ readonly query: {
2807
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2808
+ readonly query: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Search query text used to filter products">]>;
2809
+ readonly seed: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Random seed for consistent pagination">]>;
2810
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
2811
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of products per page">]>;
2812
+ readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Filter products by category ID">]>;
2813
+ readonly sortBy: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"byRelevance", undefined>, _$valibot.LiteralSchema<"popularity", undefined>, _$valibot.LiteralSchema<"highestRated", undefined>, _$valibot.LiteralSchema<"new", undefined>, _$valibot.LiteralSchema<"price", undefined>, _$valibot.LiteralSchema<"priceDesc", undefined>], undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc", "Type union for product sort keys">]>, undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined, "Criteria to sort products by">]>;
2814
+ readonly brandIds: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Filter products by brand ID">]>;
2815
+ readonly minPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Minimum price filter">]>;
2816
+ readonly maxPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Maximum price filter">]>;
2817
+ }, undefined>, _$valibot.DescriptionAction<{
2818
+ query?: string | null | undefined;
2819
+ seed?: number | null | undefined;
2820
+ pageNumber?: number | null | undefined;
2821
+ pageSize?: number | null | undefined;
2822
+ categoryId?: number | null | undefined;
2823
+ sortBy?: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined;
2824
+ brandIds?: number | null | undefined;
2825
+ minPrice?: number | null | undefined;
2826
+ maxPrice?: number | null | undefined;
2827
+ }, "Parameters for fetching a filtered list of products.">]>;
2828
+ };
2829
+ }, "path"> & {
2830
+ readonly path: {
2831
+ readonly template: "/api/v2/product";
2832
+ readonly schema?: undefined;
2833
+ };
2834
+ }>, {
2835
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2836
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
2837
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
2838
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
2839
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
2840
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
2841
+ readonly filters: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.VariantSchema<"type", [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2842
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"range", undefined>, _$valibot.DescriptionAction<"range", "Type literal for range-based filters">]>, _$valibot.DescriptionAction<"range", "Filter type: range for price slider">]>;
2843
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
2844
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
2845
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2846
+ readonly min: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Minimum value for range filters">]>;
2847
+ readonly max: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum value for range filters">]>;
2848
+ }, undefined>, _$valibot.DescriptionAction<{
2849
+ min: number;
2850
+ max: number;
2851
+ }, "Schema for range filter options (e.g., price slider).\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
2852
+ min: number;
2853
+ max: number;
2854
+ }[], "List of available options for this filter">]>;
2855
+ }, undefined>, _$valibot.DescriptionAction<{
2856
+ type: "range";
2857
+ name: string;
2858
+ code: string;
2859
+ options: {
2860
+ min: number;
2861
+ max: number;
2862
+ }[];
2863
+ }, "Schema for range filters (e.g., price slider).\nUse this in discriminatedUnion-based filter schemas.">]>, _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2864
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"category", undefined>, _$valibot.LiteralSchema<"alphabetic_search_list", undefined>], undefined>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Type union for category filter types">]>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Filter type: category or alphabetic_search_list">]>;
2865
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
2866
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
2867
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2868
+ readonly label: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display label for the filter option">]>;
2869
+ readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Value for the filter option">]>;
2870
+ }, undefined>, _$valibot.DescriptionAction<{
2871
+ label: string;
2872
+ value: number;
2873
+ }, "Schema for category/brand filter options.\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
2874
+ label: string;
2875
+ value: number;
2876
+ }[], "List of available options for this filter">]>;
2877
+ }, undefined>, _$valibot.DescriptionAction<{
2878
+ type: "category" | "alphabetic_search_list";
2879
+ name: string;
2880
+ code: string;
2881
+ options: {
2882
+ label: string;
2883
+ value: number;
2884
+ }[];
2885
+ }, "Schema for category/brand filters.\nUse this in discriminatedUnion-based filter schemas.">]>], undefined>, _$valibot.DescriptionAction<{
2886
+ type: "category" | "alphabetic_search_list";
2887
+ name: string;
2888
+ code: string;
2889
+ options: {
2890
+ label: string;
2891
+ value: number;
2892
+ }[];
2893
+ } | {
2894
+ type: "range";
2895
+ name: string;
2896
+ code: string;
2897
+ options: {
2898
+ min: number;
2899
+ max: number;
2900
+ }[];
2901
+ }, "Union filter schema that can be either range or category filter.\nThis is the recommended pattern for type-safe filters.">]>, undefined>, _$valibot.DescriptionAction<({
2902
+ type: "category" | "alphabetic_search_list";
2903
+ name: string;
2904
+ code: string;
2905
+ options: {
2906
+ label: string;
2907
+ value: number;
2908
+ }[];
2909
+ } | {
2910
+ type: "range";
2911
+ name: string;
2912
+ code: string;
2913
+ options: {
2914
+ min: number;
2915
+ max: number;
2916
+ }[];
2917
+ })[], "List of applicable filters">]>;
2918
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2919
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
2920
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
2921
+ readonly imageUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the full-size image">]>;
2922
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Full display name of the product">]>;
2923
+ readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief description of the product">]>;
2924
+ readonly thumbnailUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the small preview image">]>;
2925
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
2926
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
2927
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
2928
+ readonly stockAvailability: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2929
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"stock", undefined>, _$valibot.DescriptionAction<"stock", "Type literal for products stock availability type">]>, _$valibot.DescriptionAction<"stock", "Type of stock status (known value: \"stock\")">]>;
2930
+ readonly svg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "SVG icon representing stock status">]>;
2931
+ readonly text: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized text describing stock status (e.g., \"В наличии - осталось всего 16 штук\")">]>;
2932
+ readonly maxQty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum quantity available">]>;
2933
+ readonly maxQtyReason: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized reason text for quantity limit (e.g., \"В наличии только 16 штук\")">]>;
2934
+ }, undefined>, _$valibot.DescriptionAction<{
2935
+ type: "stock";
2936
+ svg: string | undefined;
2937
+ text: string;
2938
+ maxQty: number;
2939
+ maxQtyReason: string;
2940
+ }, "Schema for stock availability information.">]>>, _$valibot.DescriptionAction<{
2941
+ type: "stock";
2942
+ svg: string | undefined;
2943
+ text: string;
2944
+ maxQty: number;
2945
+ maxQtyReason: string;
2946
+ } | undefined, "Stock availability details">]>;
2947
+ readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the product is on promotion">]>;
2948
+ readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
2949
+ readonly promocodes: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string[], "List of applicable promocodes">]>;
2950
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\", \"11 заказов\", \"930 заказов\")">]>;
2951
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
2952
+ readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
2953
+ readonly badge: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
2954
+ readonly label: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Text label of the badge">]>;
2955
+ readonly textColor: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Text color code">]>;
2956
+ readonly backgroundColor: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Background color code">]>;
2957
+ }, undefined>, _$valibot.DescriptionAction<{
2958
+ label: string;
2959
+ textColor: number;
2960
+ backgroundColor: number | undefined;
2961
+ }, "Schema for a product badge.">]>>, _$valibot.DescriptionAction<{
2962
+ label: string;
2963
+ textColor: number;
2964
+ backgroundColor: number | undefined;
2965
+ } | undefined, "Badge information for the product">]>;
2966
+ readonly moderationStatus: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Moderation status code">]>;
2967
+ }, undefined>, _$valibot.DescriptionAction<{
2968
+ productId: number;
2969
+ skuId: number;
2970
+ imageUrl: string;
2971
+ name: string;
2972
+ shortDescription: string;
2973
+ thumbnailUrl: string;
2974
+ originalPrice: number;
2975
+ price: number;
2976
+ qty: number;
2977
+ stockAvailability: {
2978
+ type: "stock";
2979
+ svg: string | undefined;
2980
+ text: string;
2981
+ maxQty: number;
2982
+ maxQtyReason: string;
2983
+ } | undefined;
2984
+ isPromo: boolean;
2985
+ promoName: string | undefined;
2986
+ promocodes: string[];
2987
+ qtyPurchasedInfo: string | undefined;
2988
+ rating: number | undefined;
2989
+ scoreQuantity: number | undefined;
2990
+ badge: {
2991
+ label: string;
2992
+ textColor: number;
2993
+ backgroundColor: number | undefined;
2994
+ } | undefined;
2995
+ moderationStatus: number;
2996
+ }, "Product card returned by listing endpoints.">]>, undefined>, _$valibot.DescriptionAction<{
2997
+ productId: number;
2998
+ skuId: number;
2999
+ imageUrl: string;
3000
+ name: string;
3001
+ shortDescription: string;
3002
+ thumbnailUrl: string;
3003
+ originalPrice: number;
3004
+ price: number;
3005
+ qty: number;
3006
+ stockAvailability: {
3007
+ type: "stock";
3008
+ svg: string | undefined;
3009
+ text: string;
3010
+ maxQty: number;
3011
+ maxQtyReason: string;
3012
+ } | undefined;
3013
+ isPromo: boolean;
3014
+ promoName: string | undefined;
3015
+ promocodes: string[];
3016
+ qtyPurchasedInfo: string | undefined;
3017
+ rating: number | undefined;
3018
+ scoreQuantity: number | undefined;
3019
+ badge: {
3020
+ label: string;
3021
+ textColor: number;
3022
+ backgroundColor: number | undefined;
3023
+ } | undefined;
3024
+ moderationStatus: number;
3025
+ }[], "List of product items">]>;
3026
+ }, undefined>, _$valibot.DescriptionAction<{
3027
+ pageNumber: number;
3028
+ totalPages: number;
3029
+ totalCount: number;
3030
+ hasPreviousPage: boolean;
3031
+ hasNextPage: boolean;
3032
+ filters: ({
3033
+ type: "category" | "alphabetic_search_list";
3034
+ name: string;
3035
+ code: string;
3036
+ options: {
3037
+ label: string;
3038
+ value: number;
3039
+ }[];
3040
+ } | {
3041
+ type: "range";
3042
+ name: string;
3043
+ code: string;
3044
+ options: {
3045
+ min: number;
3046
+ max: number;
3047
+ }[];
3048
+ })[];
3049
+ items: {
3050
+ productId: number;
3051
+ skuId: number;
3052
+ imageUrl: string;
3053
+ name: string;
3054
+ shortDescription: string;
3055
+ thumbnailUrl: string;
3056
+ originalPrice: number;
3057
+ price: number;
3058
+ qty: number;
3059
+ stockAvailability: {
3060
+ type: "stock";
3061
+ svg: string | undefined;
3062
+ text: string;
3063
+ maxQty: number;
3064
+ maxQtyReason: string;
3065
+ } | undefined;
3066
+ isPromo: boolean;
3067
+ promoName: string | undefined;
3068
+ promocodes: string[];
3069
+ qtyPurchasedInfo: string | undefined;
3070
+ rating: number | undefined;
3071
+ scoreQuantity: number | undefined;
3072
+ badge: {
3073
+ label: string;
3074
+ textColor: number;
3075
+ backgroundColor: number | undefined;
3076
+ } | undefined;
3077
+ moderationStatus: number;
3078
+ }[];
3079
+ }, "Paginated product listing response with filters, product cards, and pagination metadata.">]>>;
3080
+ }> | HttpOperationDef<"products", "getReviews", Simplify<Omit<{
3081
+ readonly method: "GET";
3082
+ readonly path: {
3083
+ readonly template: "/api/v1/product/{productId}/review";
3084
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3085
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the product">]>;
3086
+ }, undefined>, _$valibot.DescriptionAction<{
3087
+ productId: number;
3088
+ }, "Path parameters for fetching product reviews.">]>;
3089
+ };
3090
+ readonly query: {
3091
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3092
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
3093
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of reviews per page">]>;
3094
+ }, undefined>, _$valibot.DescriptionAction<{
3095
+ pageNumber?: number | null | undefined;
3096
+ pageSize?: number | null | undefined;
3097
+ }, "Query parameters for fetching product reviews.">]>;
3098
+ };
3099
+ }, "path"> & {
3100
+ readonly path: {
3101
+ readonly template: "/api/v1/product/{productId}/review";
3102
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3103
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the product">]>;
3104
+ }, undefined>, _$valibot.DescriptionAction<{
3105
+ productId: number;
3106
+ }, "Path parameters for fetching product reviews.">]>;
3107
+ };
3108
+ }>, {
3109
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3110
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
3111
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
3112
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
3113
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
3114
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
3115
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3116
+ readonly author: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the review author">]>;
3117
+ readonly reviewText: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Text content of the review">]>;
3118
+ readonly scoreValue: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Rating score given in the review">]>;
3119
+ readonly attributes: _$valibot.SchemaWithPipe<readonly [_$valibot.RecordSchema<_$valibot.StringSchema<undefined>, _$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<{
3120
+ [x: string]: string;
3121
+ }, "Additional attributes associated with the review">]>;
3122
+ readonly createdAt: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Date and time when the review was created">]>;
3123
+ }, undefined>, _$valibot.DescriptionAction<{
3124
+ author: string;
3125
+ reviewText: string;
3126
+ scoreValue: number;
3127
+ attributes: {
3128
+ [x: string]: string;
3129
+ };
3130
+ createdAt: string;
3131
+ }, "Public product review returned by the reviews endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
3132
+ author: string;
3133
+ reviewText: string;
3134
+ scoreValue: number;
3135
+ attributes: {
3136
+ [x: string]: string;
3137
+ };
3138
+ createdAt: string;
3139
+ }[], "List of review items">]>;
3140
+ }, undefined>, _$valibot.DescriptionAction<{
3141
+ pageNumber: number;
3142
+ totalPages: number;
3143
+ totalCount: number;
3144
+ hasPreviousPage: boolean;
3145
+ hasNextPage: boolean;
3146
+ items: {
3147
+ author: string;
3148
+ reviewText: string;
3149
+ scoreValue: number;
3150
+ attributes: {
3151
+ [x: string]: string;
3152
+ };
3153
+ createdAt: string;
3154
+ }[];
3155
+ }, "Paginated product review response with review items and pagination metadata.">]>>;
3156
+ }> | HttpOperationDef<"promo", "list", Simplify<Omit<{
3157
+ readonly method: "GET";
3158
+ readonly path: "/api/promo";
3159
+ }, "path"> & {
3160
+ readonly path: {
3161
+ readonly template: "/api/promo";
3162
+ readonly schema?: undefined;
3163
+ };
3164
+ }>, {
3165
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3166
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the promotion">]>;
3167
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized name of the promotion">]>;
3168
+ readonly description: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Localized detailed description of the promotion">]>;
3169
+ readonly svgUrl: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the SVG icon for the promotion">]>;
3170
+ readonly startDate: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Start date of the promotion">]>;
3171
+ readonly endDate: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "End date of the promotion">]>;
3172
+ }, undefined>, _$valibot.DescriptionAction<{
3173
+ id: number;
3174
+ name: string;
3175
+ description: string | undefined;
3176
+ svgUrl: string | undefined;
3177
+ startDate: string;
3178
+ endDate: string;
3179
+ }, "Promotion item returned by the active promotions endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
3180
+ id: number;
3181
+ name: string;
3182
+ description: string | undefined;
3183
+ svgUrl: string | undefined;
3184
+ startDate: string;
3185
+ endDate: string;
3186
+ }[], "List of active promotions currently available in the storefront. May be empty when no promotions are active.">]>>;
3187
+ }> | HttpOperationDef<"promocodes", "validate", Simplify<Omit<{
3188
+ readonly method: "POST";
3189
+ readonly path: "/api/v2/promocode/validate";
3190
+ readonly body: {
3191
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3192
+ readonly promocodes: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string[], "List of promocodes to validate.">]>;
3193
+ readonly delvieryMethodId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Delivery method identifier. The field name preserves the backend's original typo.">]>;
3194
+ readonly pickupPointId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Pickup point identifier.">]>;
3195
+ readonly deliveryAddressId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Delivery address identifier.">]>;
3196
+ readonly paymentMethodId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Payment method identifier.">]>;
3197
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3198
+ readonly productItemId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier.">]>;
3199
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity requested for validation.">]>;
3200
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current item price.">]>;
3201
+ }, undefined>, _$valibot.DescriptionAction<{
3202
+ productItemId: number;
3203
+ qty: number;
3204
+ price: number;
3205
+ }, "Schema for a cart item used in promocode validation.">]>, undefined>, _$valibot.DescriptionAction<{
3206
+ productItemId: number;
3207
+ qty: number;
3208
+ price: number;
3209
+ }[], "Cart items used for validation.">]>;
3210
+ }, undefined>, _$valibot.DescriptionAction<{
3211
+ promocodes: string[];
3212
+ delvieryMethodId?: string | null | undefined;
3213
+ pickupPointId?: string | null | undefined;
3214
+ deliveryAddressId?: string | null | undefined;
3215
+ paymentMethodId?: number | null | undefined;
3216
+ items: {
3217
+ productItemId: number;
3218
+ qty: number;
3219
+ price: number;
3220
+ }[];
3221
+ }, "Authenticated cart validation request used to check promocodes against the current checkout payload.">]>;
3222
+ };
3223
+ }, "path"> & {
3224
+ readonly path: {
3225
+ readonly template: "/api/v2/promocode/validate";
3226
+ readonly schema?: undefined;
3227
+ };
3228
+ }>, {
3229
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3230
+ readonly isSuccess: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Whether promocode validation succeeded.">]>;
3231
+ readonly errorMessage: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Validation error message.">]>;
3232
+ readonly promocode: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Validated promocode.">]>;
3233
+ readonly promocodeDescription: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Description of the validated promocode.">]>;
3234
+ readonly originalTotalPrice: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Cart total before discounts.">]>;
3235
+ readonly totalPrice: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Cart total after discounts.">]>;
3236
+ readonly discount: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total discount amount.">]>;
3237
+ readonly items: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3238
+ readonly productItemId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier.">]>;
3239
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Validated quantity.">]>;
3240
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Final item price after validation.">]>;
3241
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original item price before discounts.">]>;
3242
+ readonly discount: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Discount amount applied to the item.">]>;
3243
+ }, undefined>, _$valibot.DescriptionAction<{
3244
+ productItemId: number;
3245
+ qty: number;
3246
+ price: number;
3247
+ originalPrice: number;
3248
+ discount: number;
3249
+ }, "Schema for an item returned from promocode validation.">]>, undefined>>, _$valibot.DescriptionAction<{
3250
+ productItemId: number;
3251
+ qty: number;
3252
+ price: number;
3253
+ originalPrice: number;
3254
+ discount: number;
3255
+ }[] | undefined, "Validated cart items.">]>;
3256
+ readonly validationErrorMessages: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.UnknownSchema>, _$valibot.DescriptionAction<unknown, "Validation errors returned by the backend.">]>;
3257
+ }, undefined>, _$valibot.DescriptionAction<{
3258
+ isSuccess: boolean;
3259
+ errorMessage: string | undefined;
3260
+ promocode: string | undefined;
3261
+ promocodeDescription: string | undefined;
3262
+ originalTotalPrice: number | undefined;
3263
+ totalPrice: number | undefined;
3264
+ discount: number | undefined;
3265
+ items: {
3266
+ productItemId: number;
3267
+ qty: number;
3268
+ price: number;
3269
+ originalPrice: number;
3270
+ discount: number;
3271
+ }[] | undefined;
3272
+ validationErrorMessages: unknown;
3273
+ }, "Response schema for promocode validation.">]>>;
3274
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3275
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
3276
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
3277
+ }, undefined>, _$valibot.DescriptionAction<{
3278
+ description: string;
3279
+ message: string;
3280
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
3281
+ }> | HttpOperationDef<"shops", "get", Simplify<Omit<{
3282
+ readonly method: "GET";
3283
+ readonly path: {
3284
+ readonly template: "/api/v1/shops/{shopId}";
3285
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3286
+ readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
3287
+ }, undefined>, _$valibot.DescriptionAction<{
3288
+ shopId: number;
3289
+ }, "Parameters for fetching a specific shop.">]>;
3290
+ };
3291
+ }, "path"> & {
3292
+ readonly path: {
3293
+ readonly template: "/api/v1/shops/{shopId}";
3294
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3295
+ readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
3296
+ }, undefined>, _$valibot.DescriptionAction<{
3297
+ shopId: number;
3298
+ }, "Parameters for fetching a specific shop.">]>;
3299
+ };
3300
+ }>, {
3301
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3302
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
3303
+ readonly banner: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the shop's banner image">]>;
3304
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Description of the shop">]>;
3305
+ readonly logo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the shop's logo">]>;
3306
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the shop">]>;
3307
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Text about total orders/purchases (e.g., \"11 заказов\", \"930 заказов\")">]>;
3308
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating of the shop">]>;
3309
+ readonly totalReviews: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of reviews received">]>;
3310
+ readonly contactInfo: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3311
+ readonly bin: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Business Identification Number">]>;
3312
+ readonly daysSinceRegistration: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Number of days since the shop was registered">]>;
3313
+ readonly legalType: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Legal entity type code">]>;
3314
+ }, undefined>, _$valibot.DescriptionAction<{
3315
+ bin: string;
3316
+ daysSinceRegistration: number;
3317
+ legalType: number;
3318
+ }, "Merchant registration metadata returned for a shop.">]>, _$valibot.DescriptionAction<{
3319
+ bin: string;
3320
+ daysSinceRegistration: number;
3321
+ legalType: number;
3322
+ }, "Contact information for the shop">]>;
3323
+ readonly isMonobrand: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the shop represents a single brand">]>;
3324
+ readonly tag: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3325
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Description of the tag">]>;
3326
+ readonly icon: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the raster icon for the tag">]>;
3327
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display name of the tag">]>;
3328
+ readonly svg: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the SVG icon for the tag">]>;
3329
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code for the tag">]>;
3330
+ }, undefined>, _$valibot.DescriptionAction<{
3331
+ description: string;
3332
+ icon: string;
3333
+ name: string;
3334
+ svg: string;
3335
+ code: string;
3336
+ }, "Merchant quality tag returned by the shop endpoint.">]>, _$valibot.DescriptionAction<{
3337
+ description: string;
3338
+ icon: string;
3339
+ name: string;
3340
+ svg: string;
3341
+ code: string;
3342
+ }, "Tag associated with the shop">]>;
3343
+ }, undefined>, _$valibot.DescriptionAction<{
3344
+ id: number;
3345
+ banner: string | undefined;
3346
+ description: string;
3347
+ logo: string | undefined;
3348
+ name: string;
3349
+ qtyPurchasedInfo: string | undefined;
3350
+ rating: number | undefined;
3351
+ totalReviews: number | undefined;
3352
+ contactInfo: {
3353
+ bin: string;
3354
+ daysSinceRegistration: number;
3355
+ legalType: number;
3356
+ };
3357
+ isMonobrand: boolean;
3358
+ tag: {
3359
+ description: string;
3360
+ icon: string;
3361
+ name: string;
3362
+ svg: string;
3363
+ code: string;
3364
+ };
3365
+ }, "Shop detail response with branding, ratings, merchant metadata, and storefront tag information.">]>>;
3366
+ }> | HttpOperationDef<"shops", "getMonobrand", Simplify<Omit<{
3367
+ readonly method: "GET";
3368
+ readonly path: "/api/v1/shops/monobrand";
3369
+ readonly query: {
3370
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3371
+ readonly seed: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Random seed for consistent pagination">]>;
3372
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
3373
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of items per page">]>;
3374
+ }, undefined>, _$valibot.DescriptionAction<{
3375
+ seed?: number | null | undefined;
3376
+ pageNumber?: number | null | undefined;
3377
+ pageSize?: number | null | undefined;
3378
+ }, "Parameters for fetching monobrand shops.">]>;
3379
+ };
3380
+ }, "path"> & {
3381
+ readonly path: {
3382
+ readonly template: "/api/v1/shops/monobrand";
3383
+ readonly schema?: undefined;
3384
+ };
3385
+ }>, {
3386
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3387
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
3388
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
3389
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
3390
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
3391
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
3392
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3393
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
3394
+ readonly icon: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the shop's icon">]>;
3395
+ }, undefined>, _$valibot.DescriptionAction<{
3396
+ id: number;
3397
+ icon: string;
3398
+ }, "Monobrand shop card returned by the listing endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
3399
+ id: number;
3400
+ icon: string;
3401
+ }[], "List of monobrand shops">]>;
3402
+ }, undefined>, _$valibot.DescriptionAction<{
3403
+ pageNumber: number;
3404
+ totalPages: number;
3405
+ totalCount: number;
3406
+ hasPreviousPage: boolean;
3407
+ hasNextPage: boolean;
3408
+ items: {
3409
+ id: number;
3410
+ icon: string;
3411
+ }[];
3412
+ }, "Paginated monobrand shop response with shop cards and pagination metadata.">]>>;
3413
+ }> | HttpOperationDef<"shops", "getProducts", Simplify<Omit<{
3414
+ readonly method: "GET";
3415
+ readonly path: {
3416
+ readonly template: "/api/v2/shops/{shopId}/products";
3417
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3418
+ readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
3419
+ }, undefined>, _$valibot.DescriptionAction<{
3420
+ shopId: number;
3421
+ }, "Path parameters for fetching products from a shop.">]>;
3422
+ };
3423
+ readonly query: {
3424
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3425
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
3426
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of items per page">]>;
3427
+ readonly sortBy: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"byRelevance", undefined>, _$valibot.LiteralSchema<"popularity", undefined>, _$valibot.LiteralSchema<"highestRated", undefined>, _$valibot.LiteralSchema<"new", undefined>, _$valibot.LiteralSchema<"price", undefined>, _$valibot.LiteralSchema<"priceDesc", undefined>], undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc", "Type union for product sort keys">]>, undefined>, _$valibot.DescriptionAction<"byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined, "Sorting option for the results">]>;
3428
+ readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Filter by category ID">]>;
3429
+ readonly brandIds: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.ArraySchema<_$valibot.NumberSchema<undefined>, undefined>, undefined>, _$valibot.DescriptionAction<number[] | null | undefined, "Filter by brand IDs">]>;
3430
+ readonly minPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Minimum price filter">]>;
3431
+ readonly maxPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Maximum price filter">]>;
3432
+ }, undefined>, _$valibot.DescriptionAction<{
3433
+ pageNumber?: number | null | undefined;
3434
+ pageSize?: number | null | undefined;
3435
+ sortBy?: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined;
3436
+ categoryId?: number | null | undefined;
3437
+ brandIds?: number[] | null | undefined;
3438
+ minPrice?: number | null | undefined;
3439
+ maxPrice?: number | null | undefined;
3440
+ }, "Query parameters for fetching products from a shop.">]>;
3441
+ };
3442
+ }, "path"> & {
3443
+ readonly path: {
3444
+ readonly template: "/api/v2/shops/{shopId}/products";
3445
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3446
+ readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
3447
+ }, undefined>, _$valibot.DescriptionAction<{
3448
+ shopId: number;
3449
+ }, "Path parameters for fetching products from a shop.">]>;
3450
+ };
3451
+ }>, {
3452
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3453
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
3454
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
3455
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
3456
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
3457
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
3458
+ readonly filters: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.VariantSchema<"type", [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3459
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"range", undefined>, _$valibot.DescriptionAction<"range", "Type literal for range-based filters">]>, _$valibot.DescriptionAction<"range", "Filter type: range for price slider">]>;
3460
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
3461
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
3462
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3463
+ readonly min: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Minimum value for range filters">]>;
3464
+ readonly max: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum value for range filters">]>;
3465
+ }, undefined>, _$valibot.DescriptionAction<{
3466
+ min: number;
3467
+ max: number;
3468
+ }, "Schema for range filter options (e.g., price slider).\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
3469
+ min: number;
3470
+ max: number;
3471
+ }[], "List of available options for this filter">]>;
3472
+ }, undefined>, _$valibot.DescriptionAction<{
3473
+ type: "range";
3474
+ name: string;
3475
+ code: string;
3476
+ options: {
3477
+ min: number;
3478
+ max: number;
3479
+ }[];
3480
+ }, "Schema for range filters (e.g., price slider).\nUse this in discriminatedUnion-based filter schemas.">]>, _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3481
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.UnionSchema<[_$valibot.LiteralSchema<"category", undefined>, _$valibot.LiteralSchema<"alphabetic_search_list", undefined>], undefined>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Type union for category filter types">]>, _$valibot.DescriptionAction<"category" | "alphabetic_search_list", "Filter type: category or alphabetic_search_list">]>;
3482
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
3483
+ readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
3484
+ readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3485
+ readonly label: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display label for the filter option">]>;
3486
+ readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Value for the filter option">]>;
3487
+ }, undefined>, _$valibot.DescriptionAction<{
3488
+ label: string;
3489
+ value: number;
3490
+ }, "Schema for category/brand filter options.\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
3491
+ label: string;
3492
+ value: number;
3493
+ }[], "List of available options for this filter">]>;
3494
+ }, undefined>, _$valibot.DescriptionAction<{
3495
+ type: "category" | "alphabetic_search_list";
3496
+ name: string;
3497
+ code: string;
3498
+ options: {
3499
+ label: string;
3500
+ value: number;
3501
+ }[];
3502
+ }, "Schema for category/brand filters.\nUse this in discriminatedUnion-based filter schemas.">]>], undefined>, _$valibot.DescriptionAction<{
3503
+ type: "category" | "alphabetic_search_list";
3504
+ name: string;
3505
+ code: string;
3506
+ options: {
3507
+ label: string;
3508
+ value: number;
3509
+ }[];
3510
+ } | {
3511
+ type: "range";
3512
+ name: string;
3513
+ code: string;
3514
+ options: {
3515
+ min: number;
3516
+ max: number;
3517
+ }[];
3518
+ }, "Union filter schema that can be either range or category filter.\nThis is the recommended pattern for type-safe filters.">]>, undefined>, _$valibot.DescriptionAction<({
3519
+ type: "category" | "alphabetic_search_list";
3520
+ name: string;
3521
+ code: string;
3522
+ options: {
3523
+ label: string;
3524
+ value: number;
3525
+ }[];
3526
+ } | {
3527
+ type: "range";
3528
+ name: string;
3529
+ code: string;
3530
+ options: {
3531
+ min: number;
3532
+ max: number;
3533
+ }[];
3534
+ })[], "List of applicable filters">]>;
3535
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3536
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
3537
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
3538
+ readonly imageUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the full-size image">]>;
3539
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Full display name of the product">]>;
3540
+ readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief description of the product">]>;
3541
+ readonly thumbnailUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the small preview image">]>;
3542
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
3543
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
3544
+ readonly inStock: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the item is in stock">]>;
3545
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
3546
+ readonly stockAvailability: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3547
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"stock", undefined>, _$valibot.DescriptionAction<"stock", "Type literal for products stock availability type">]>, _$valibot.DescriptionAction<"stock", "Type of stock status (known value: \"stock\")">]>;
3548
+ readonly svg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "SVG icon representing stock status">]>;
3549
+ readonly text: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized text describing stock status (e.g., \"В наличии - осталось всего 16 штук\")">]>;
3550
+ readonly maxQty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum quantity available">]>;
3551
+ readonly maxQtyReason: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized reason text for quantity limit (e.g., \"В наличии только 16 штук\")">]>;
3552
+ }, undefined>, _$valibot.DescriptionAction<{
3553
+ type: "stock";
3554
+ svg: string | undefined;
3555
+ text: string;
3556
+ maxQty: number;
3557
+ maxQtyReason: string;
3558
+ }, "Schema for stock availability information.">]>>, _$valibot.DescriptionAction<{
3559
+ type: "stock";
3560
+ svg: string | undefined;
3561
+ text: string;
3562
+ maxQty: number;
3563
+ maxQtyReason: string;
3564
+ } | undefined, "Stock availability details">]>;
3565
+ readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the product is on promotion">]>;
3566
+ readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
3567
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\")">]>;
3568
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
3569
+ readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
3570
+ readonly moderationStatus: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Moderation status code">]>;
3571
+ }, undefined>, _$valibot.DescriptionAction<{
3572
+ productId: number;
3573
+ skuId: number;
3574
+ imageUrl: string;
3575
+ name: string;
3576
+ shortDescription: string;
3577
+ thumbnailUrl: string;
3578
+ originalPrice: number;
3579
+ price: number;
3580
+ inStock: boolean;
3581
+ qty: number;
3582
+ stockAvailability: {
3583
+ type: "stock";
3584
+ svg: string | undefined;
3585
+ text: string;
3586
+ maxQty: number;
3587
+ maxQtyReason: string;
3588
+ } | undefined;
3589
+ isPromo: boolean;
3590
+ promoName: string | undefined;
3591
+ qtyPurchasedInfo: string | undefined;
3592
+ rating: number | undefined;
3593
+ scoreQuantity: number | undefined;
3594
+ moderationStatus: number;
3595
+ }, "Product card returned by the shop products endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
3596
+ productId: number;
3597
+ skuId: number;
3598
+ imageUrl: string;
3599
+ name: string;
3600
+ shortDescription: string;
3601
+ thumbnailUrl: string;
3602
+ originalPrice: number;
3603
+ price: number;
3604
+ inStock: boolean;
3605
+ qty: number;
3606
+ stockAvailability: {
3607
+ type: "stock";
3608
+ svg: string | undefined;
3609
+ text: string;
3610
+ maxQty: number;
3611
+ maxQtyReason: string;
3612
+ } | undefined;
3613
+ isPromo: boolean;
3614
+ promoName: string | undefined;
3615
+ qtyPurchasedInfo: string | undefined;
3616
+ rating: number | undefined;
3617
+ scoreQuantity: number | undefined;
3618
+ moderationStatus: number;
3619
+ }[], "List of product items">]>;
3620
+ }, undefined>, _$valibot.DescriptionAction<{
3621
+ pageNumber: number;
3622
+ totalPages: number;
3623
+ totalCount: number;
3624
+ hasPreviousPage: boolean;
3625
+ hasNextPage: boolean;
3626
+ filters: ({
3627
+ type: "category" | "alphabetic_search_list";
3628
+ name: string;
3629
+ code: string;
3630
+ options: {
3631
+ label: string;
3632
+ value: number;
3633
+ }[];
3634
+ } | {
3635
+ type: "range";
3636
+ name: string;
3637
+ code: string;
3638
+ options: {
3639
+ min: number;
3640
+ max: number;
3641
+ }[];
3642
+ })[];
3643
+ items: {
3644
+ productId: number;
3645
+ skuId: number;
3646
+ imageUrl: string;
3647
+ name: string;
3648
+ shortDescription: string;
3649
+ thumbnailUrl: string;
3650
+ originalPrice: number;
3651
+ price: number;
3652
+ inStock: boolean;
3653
+ qty: number;
3654
+ stockAvailability: {
3655
+ type: "stock";
3656
+ svg: string | undefined;
3657
+ text: string;
3658
+ maxQty: number;
3659
+ maxQtyReason: string;
3660
+ } | undefined;
3661
+ isPromo: boolean;
3662
+ promoName: string | undefined;
3663
+ qtyPurchasedInfo: string | undefined;
3664
+ rating: number | undefined;
3665
+ scoreQuantity: number | undefined;
3666
+ moderationStatus: number;
3667
+ }[];
3668
+ }, "Paginated shop product response with filters, product cards, and pagination metadata.">]>>;
3669
+ }> | HttpOperationDef<"sku", "get", Simplify<Omit<{
3670
+ readonly method: "GET";
3671
+ readonly path: {
3672
+ readonly template: "/api/v2/sku/{skuId}";
3673
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3674
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
3675
+ }, undefined>, _$valibot.DescriptionAction<{
3676
+ skuId: number;
3677
+ }, "Parameters for fetching a specific SKU by ID.">]>;
3678
+ };
3679
+ }, "path"> & {
3680
+ readonly path: {
3681
+ readonly template: "/api/v2/sku/{skuId}";
3682
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3683
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
3684
+ }, undefined>, _$valibot.DescriptionAction<{
3685
+ skuId: number;
3686
+ }, "Parameters for fetching a specific SKU by ID.">]>;
3687
+ };
3688
+ }>, {
3689
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3690
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
3691
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
3692
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Detailed product description in HTML format">]>;
3693
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Full display name of the product">]>;
3694
+ readonly photos: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string[], "List of URLs for product photos">]>;
3695
+ readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief summary of the product">]>;
3696
+ readonly discount: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Discount amount">]>;
3697
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
3698
+ readonly percentDiscount: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Discount percentage">]>;
3699
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
3700
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
3701
+ readonly stockAvailability: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3702
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.LiteralSchema<"stock", undefined>, _$valibot.DescriptionAction<"stock", "Type literal for SKU stock availability type">]>, _$valibot.DescriptionAction<"stock", "Type of stock status (known value: \"stock\")">]>;
3703
+ readonly svg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "SVG icon representing stock status">]>;
3704
+ readonly text: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized text describing stock status (e.g., \"В наличии - осталось всего 16 штук\")">]>;
3705
+ readonly maxQty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum quantity available">]>;
3706
+ readonly maxQtyReason: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized reason text for quantity limit (e.g., \"В наличии только 16 штук\")">]>;
3707
+ }, undefined>, _$valibot.DescriptionAction<{
3708
+ type: "stock";
3709
+ svg: string | undefined;
3710
+ text: string;
3711
+ maxQty: number;
3712
+ maxQtyReason: string;
3713
+ }, "Schema for stock availability information.">]>>, _$valibot.DescriptionAction<{
3714
+ type: "stock";
3715
+ svg: string | undefined;
3716
+ text: string;
3717
+ maxQty: number;
3718
+ maxQtyReason: string;
3719
+ } | undefined, "Stock availability details">]>;
3720
+ readonly installment: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3721
+ readonly installmentSvg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the installment SVG icon">]>;
3722
+ readonly installmentTerm: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Description of the installment term">]>;
3723
+ }, undefined>, _$valibot.DescriptionAction<{
3724
+ installmentSvg: string | undefined;
3725
+ installmentTerm: string | undefined;
3726
+ }, "Schema for installment payment information.">]>>, _$valibot.DescriptionAction<{
3727
+ installmentSvg: string | undefined;
3728
+ installmentTerm: string | undefined;
3729
+ } | undefined, "Installment payment options">]>;
3730
+ readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the product is on promotion">]>;
3731
+ readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
3732
+ readonly promocodes: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string[], "List of applicable promocodes">]>;
3733
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\", \"11 заказов\", \"930 заказов\")">]>;
3734
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
3735
+ readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
3736
+ readonly textReviewQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of text reviews">]>;
3737
+ readonly brand: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3738
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the brand">]>;
3739
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the brand">]>;
3740
+ }, undefined>, _$valibot.DescriptionAction<{
3741
+ id: number;
3742
+ name: string;
3743
+ }, "Schema for brand information.">]>>, _$valibot.DescriptionAction<{
3744
+ id: number;
3745
+ name: string;
3746
+ } | undefined, "Brand information">]>;
3747
+ readonly categories: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3748
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the category">]>;
3749
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the category">]>;
3750
+ readonly isPrimary: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if this is the primary category for the product">]>;
3751
+ }, undefined>, _$valibot.DescriptionAction<{
3752
+ id: number;
3753
+ name: string;
3754
+ isPrimary: boolean;
3755
+ }, "Schema for a category item.">]>, undefined>, _$valibot.DescriptionAction<{
3756
+ id: number;
3757
+ name: string;
3758
+ isPrimary: boolean;
3759
+ }[], "List of categories the product belongs to">]>;
3760
+ readonly shop: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3761
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
3762
+ readonly logo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the shop's logo">]>;
3763
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the shop">]>;
3764
+ readonly photo: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the shop's photo">]>;
3765
+ readonly url: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the shop's page or resource">]>;
3766
+ readonly isInstallment: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if installment payment is available">]>;
3767
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text for the shop (e.g., \"Часто покупают\", \"11 заказов\")">]>;
3768
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating of the shop">]>;
3769
+ readonly daysSinceRegistration: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Number of days since the shop was registered">]>;
3770
+ readonly isMonobrand: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the shop represents a single brand">]>;
3771
+ }, undefined>, _$valibot.DescriptionAction<{
3772
+ id: number;
3773
+ logo: string | undefined;
3774
+ name: string;
3775
+ photo: string;
3776
+ url: string;
3777
+ isInstallment: boolean;
3778
+ qtyPurchasedInfo: string | undefined;
3779
+ rating: number | undefined;
3780
+ daysSinceRegistration: number;
3781
+ isMonobrand: boolean;
3782
+ }, "Schema for shop details associated with a SKU.">]>, _$valibot.DescriptionAction<{
3783
+ id: number;
3784
+ logo: string | undefined;
3785
+ name: string;
3786
+ photo: string;
3787
+ url: string;
3788
+ isInstallment: boolean;
3789
+ qtyPurchasedInfo: string | undefined;
3790
+ rating: number | undefined;
3791
+ daysSinceRegistration: number;
3792
+ isMonobrand: boolean;
3793
+ }, "Details of the shop selling the product">]>;
3794
+ readonly additionalInfo: _$valibot.SchemaWithPipe<readonly [_$valibot.RecordSchema<_$valibot.StringSchema<undefined>, _$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<{
3795
+ [x: string]: string;
3796
+ }, "Dictionary of additional product information">]>;
3797
+ readonly attributes: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3798
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "SKU ID associated with this specific attribute combination">]>;
3799
+ readonly quantity: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available for this specific variant">]>;
3800
+ readonly attributeProperties: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3801
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the attribute (e.g., \"Color\", \"Size\")">]>;
3802
+ readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3803
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the property value (e.g., \"Red\", \"XL\")">]>;
3804
+ readonly photo: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to a photo representing this property value">]>;
3805
+ }, undefined>, _$valibot.DescriptionAction<{
3806
+ name: string;
3807
+ photo: string;
3808
+ }, "Schema for an attribute property value.">]>, _$valibot.DescriptionAction<{
3809
+ name: string;
3810
+ photo: string;
3811
+ }, "Value details for the attribute">]>;
3812
+ }, undefined>, _$valibot.DescriptionAction<{
3813
+ name: string;
3814
+ value: {
3815
+ name: string;
3816
+ photo: string;
3817
+ };
3818
+ }, "Schema for a product attribute.">]>, undefined>, _$valibot.DescriptionAction<{
3819
+ name: string;
3820
+ value: {
3821
+ name: string;
3822
+ photo: string;
3823
+ };
3824
+ }[], "List of properties defining this variant">]>;
3825
+ }, undefined>, _$valibot.DescriptionAction<{
3826
+ skuId: number;
3827
+ quantity: number;
3828
+ attributeProperties: {
3829
+ name: string;
3830
+ value: {
3831
+ name: string;
3832
+ photo: string;
3833
+ };
3834
+ }[];
3835
+ }, "Schema for SKU attributes configuration.">]>, undefined>, _$valibot.DescriptionAction<{
3836
+ skuId: number;
3837
+ quantity: number;
3838
+ attributeProperties: {
3839
+ name: string;
3840
+ value: {
3841
+ name: string;
3842
+ photo: string;
3843
+ };
3844
+ }[];
3845
+ }[], "List of available attribute variants">]>;
3846
+ readonly tags: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3847
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Type of the tag">]>;
3848
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display name of the tag">]>;
3849
+ readonly svg: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the SVG icon for the tag">]>;
3850
+ readonly value: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Value associated with the tag">]>;
3851
+ }, undefined>, _$valibot.DescriptionAction<{
3852
+ type: string;
3853
+ name: string;
3854
+ svg: string;
3855
+ value: string | undefined;
3856
+ }, "Schema for a product tag.">]>, undefined>, _$valibot.DescriptionAction<{
3857
+ type: string;
3858
+ name: string;
3859
+ svg: string;
3860
+ value: string | undefined;
3861
+ }[], "List of tags associated with the product">]>;
3862
+ }, undefined>, _$valibot.DescriptionAction<{
3863
+ productId: number;
3864
+ skuId: number;
3865
+ description: string;
3866
+ name: string;
3867
+ photos: string[];
3868
+ shortDescription: string;
3869
+ discount: number;
3870
+ originalPrice: number;
3871
+ percentDiscount: number;
3872
+ price: number;
3873
+ qty: number;
3874
+ stockAvailability: {
3875
+ type: "stock";
3876
+ svg: string | undefined;
3877
+ text: string;
3878
+ maxQty: number;
3879
+ maxQtyReason: string;
3880
+ } | undefined;
3881
+ installment: {
3882
+ installmentSvg: string | undefined;
3883
+ installmentTerm: string | undefined;
3884
+ } | undefined;
3885
+ isPromo: boolean;
3886
+ promoName: string | undefined;
3887
+ promocodes: string[];
3888
+ qtyPurchasedInfo: string | undefined;
3889
+ rating: number | undefined;
3890
+ scoreQuantity: number | undefined;
3891
+ textReviewQuantity: number | undefined;
3892
+ brand: {
3893
+ id: number;
3894
+ name: string;
3895
+ } | undefined;
3896
+ categories: {
3897
+ id: number;
3898
+ name: string;
3899
+ isPrimary: boolean;
3900
+ }[];
3901
+ shop: {
3902
+ id: number;
3903
+ logo: string | undefined;
3904
+ name: string;
3905
+ photo: string;
3906
+ url: string;
3907
+ isInstallment: boolean;
3908
+ qtyPurchasedInfo: string | undefined;
3909
+ rating: number | undefined;
3910
+ daysSinceRegistration: number;
3911
+ isMonobrand: boolean;
3912
+ };
3913
+ additionalInfo: {
3914
+ [x: string]: string;
3915
+ };
3916
+ attributes: {
3917
+ skuId: number;
3918
+ quantity: number;
3919
+ attributeProperties: {
3920
+ name: string;
3921
+ value: {
3922
+ name: string;
3923
+ photo: string;
3924
+ };
3925
+ }[];
3926
+ }[];
3927
+ tags: {
3928
+ type: string;
3929
+ name: string;
3930
+ svg: string;
3931
+ value: string | undefined;
3932
+ }[];
3933
+ }, "Full SKU detail response with media, pricing, attributes, shop information, categories, and tags.">]>>;
3934
+ }> | HttpOperationDef<"sku", "getSimilar", Simplify<Omit<{
3935
+ readonly method: "GET";
3936
+ readonly path: "/api/v2/sku/similar-skus";
3937
+ readonly query: {
3938
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3939
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU to find similarities for">]>;
3940
+ readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
3941
+ readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of items per page">]>;
3942
+ }, undefined>, _$valibot.DescriptionAction<{
3943
+ skuId: number;
3944
+ pageNumber?: number | null | undefined;
3945
+ pageSize?: number | null | undefined;
3946
+ }, "Parameters for fetching similar SKUs.">]>;
3947
+ };
3948
+ }, "path"> & {
3949
+ readonly path: {
3950
+ readonly template: "/api/v2/sku/similar-skus";
3951
+ readonly schema?: undefined;
3952
+ };
3953
+ }>, {
3954
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3955
+ readonly pageNumber: _$valibot.NumberSchema<undefined>;
3956
+ readonly totalPages: _$valibot.NumberSchema<undefined>;
3957
+ readonly totalCount: _$valibot.NumberSchema<undefined>;
3958
+ readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
3959
+ readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
3960
+ readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
3961
+ readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
3962
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
3963
+ readonly imageUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the full-size image">]>;
3964
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display name of the similar product">]>;
3965
+ readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief description of the similar product">]>;
3966
+ readonly thumbnailUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the small preview image">]>;
3967
+ readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
3968
+ readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
3969
+ readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
3970
+ readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the product is on promotion">]>;
3971
+ readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
3972
+ readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\")">]>;
3973
+ readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
3974
+ readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
3975
+ readonly moderationStatus: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Moderation status code">]>;
3976
+ }, undefined>, _$valibot.DescriptionAction<{
3977
+ productId: number;
3978
+ skuId: number;
3979
+ imageUrl: string;
3980
+ name: string;
3981
+ shortDescription: string;
3982
+ thumbnailUrl: string;
3983
+ originalPrice: number;
3984
+ price: number;
3985
+ qty: number;
3986
+ isPromo: boolean;
3987
+ promoName: string | undefined;
3988
+ qtyPurchasedInfo: string | undefined;
3989
+ rating: number | undefined;
3990
+ scoreQuantity: number | undefined;
3991
+ moderationStatus: number;
3992
+ }, "Product card returned by the similar SKU endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
3993
+ productId: number;
3994
+ skuId: number;
3995
+ imageUrl: string;
3996
+ name: string;
3997
+ shortDescription: string;
3998
+ thumbnailUrl: string;
3999
+ originalPrice: number;
4000
+ price: number;
4001
+ qty: number;
4002
+ isPromo: boolean;
4003
+ promoName: string | undefined;
4004
+ qtyPurchasedInfo: string | undefined;
4005
+ rating: number | undefined;
4006
+ scoreQuantity: number | undefined;
4007
+ moderationStatus: number;
4008
+ }[], "List of similar product items">]>;
4009
+ }, undefined>, _$valibot.DescriptionAction<{
4010
+ pageNumber: number;
4011
+ totalPages: number;
4012
+ totalCount: number;
4013
+ hasPreviousPage: boolean;
4014
+ hasNextPage: boolean;
4015
+ items: {
4016
+ productId: number;
4017
+ skuId: number;
4018
+ imageUrl: string;
4019
+ name: string;
4020
+ shortDescription: string;
4021
+ thumbnailUrl: string;
4022
+ originalPrice: number;
4023
+ price: number;
4024
+ qty: number;
4025
+ isPromo: boolean;
4026
+ promoName: string | undefined;
4027
+ qtyPurchasedInfo: string | undefined;
4028
+ rating: number | undefined;
4029
+ scoreQuantity: number | undefined;
4030
+ moderationStatus: number;
4031
+ }[];
4032
+ }, "Paginated similar SKU response with product cards and pagination metadata.">]>>;
4033
+ }> | HttpOperationDef<"sku", "getCollections", Simplify<Omit<{
4034
+ readonly method: "GET";
4035
+ readonly path: {
4036
+ readonly template: "/sku/{skuId}/collections";
4037
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4038
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
4039
+ }, undefined>, _$valibot.DescriptionAction<{
4040
+ skuId: number;
4041
+ }, "Parameters for fetching collections for a SKU.">]>;
4042
+ };
4043
+ }, "path"> & {
4044
+ readonly path: {
4045
+ readonly template: "/sku/{skuId}/collections";
4046
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4047
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
4048
+ }, undefined>, _$valibot.DescriptionAction<{
4049
+ skuId: number;
4050
+ }, "Parameters for fetching collections for a SKU.">]>;
4051
+ };
4052
+ }>, {
4053
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4054
+ readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the collection">]>;
4055
+ readonly cover: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the collection's cover image">]>;
4056
+ readonly icon: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the collection's icon">]>;
4057
+ readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the collection">]>;
4058
+ readonly quantity: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Number of items in the collection">]>;
4059
+ readonly priority: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Priority for sorting or display order">]>;
4060
+ }, undefined>, _$valibot.DescriptionAction<{
4061
+ id: number;
4062
+ cover: string;
4063
+ icon: string;
4064
+ name: string;
4065
+ quantity: number;
4066
+ priority: number;
4067
+ }, "Collection card associated with a specific SKU.">]>, undefined>, _$valibot.DescriptionAction<{
4068
+ id: number;
4069
+ cover: string;
4070
+ icon: string;
4071
+ name: string;
4072
+ quantity: number;
4073
+ priority: number;
4074
+ }[], "List of collection cards associated with the requested SKU.">]>>;
4075
+ }> | HttpOperationDef<"sku", "getReviewAvailable", Simplify<Omit<{
4076
+ readonly method: "GET";
4077
+ readonly path: {
4078
+ readonly template: "/sku/{skuId}/review-available";
4079
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4080
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
4081
+ }, undefined>, _$valibot.DescriptionAction<{
4082
+ skuId: number;
4083
+ }, "Parameters for checking review availability.">]>;
4084
+ };
4085
+ }, "path"> & {
4086
+ readonly path: {
4087
+ readonly template: "/sku/{skuId}/review-available";
4088
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4089
+ readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the SKU">]>;
4090
+ }, undefined>, _$valibot.DescriptionAction<{
4091
+ skuId: number;
4092
+ }, "Parameters for checking review availability.">]>;
4093
+ };
4094
+ }>, {
4095
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4096
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Description of the review availability status">]>;
4097
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Message regarding review availability">]>;
4098
+ }, undefined>, _$valibot.DescriptionAction<{
4099
+ description: string;
4100
+ message: string;
4101
+ }, "Short message payload returned by the review availability endpoint and its unauthorized error body.">]>>;
4102
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4103
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
4104
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
4105
+ }, undefined>, _$valibot.DescriptionAction<{
4106
+ description: string;
4107
+ message: string;
4108
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
4109
+ }> | HttpOperationDef<"users", "updateLanguage", Simplify<Omit<{
4110
+ readonly method: "PATCH";
4111
+ readonly path: "/api/v1/users/me/language";
4112
+ readonly body: {
4113
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4114
+ readonly language: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.PicklistSchema<["ru", "kz"], undefined>, _$valibot.DescriptionAction<"ru" | "kz", "Language code accepted by the update language endpoint: \"ru\" or \"kz\".">]>, _$valibot.DescriptionAction<"ru" | "kz", "Language code: \"ru\" (Russian) or \"kz\" (Kazakh)">]>;
4115
+ }, undefined>, _$valibot.DescriptionAction<{
4116
+ language: "ru" | "kz";
4117
+ }, "Request body for updating the authenticated user's preferred language.">]>;
4118
+ };
4119
+ }, "path"> & {
4120
+ readonly path: {
4121
+ readonly template: "/api/v1/users/me/language";
4122
+ readonly schema?: undefined;
4123
+ };
4124
+ }>, {
4125
+ readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4126
+ readonly language: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.PicklistSchema<["ru", "kz"], undefined>, _$valibot.DescriptionAction<"ru" | "kz", "Language code accepted by the update language endpoint: \"ru\" or \"kz\".">]>, _$valibot.DescriptionAction<"ru" | "kz", "Updated language code">]>;
4127
+ readonly title: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Response title">]>;
4128
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Response message">]>;
4129
+ }, undefined>, _$valibot.DescriptionAction<{
4130
+ language: "ru" | "kz";
4131
+ title: string;
4132
+ message: string;
4133
+ }, "Confirmation payload returned after the user's preferred language is updated.">]>>;
4134
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4135
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
4136
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
4137
+ }, undefined>, _$valibot.DescriptionAction<{
4138
+ description: string;
4139
+ message: string;
4140
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
4141
+ }> | HttpOperationDef<"users", "registerDevice", Simplify<Omit<{
4142
+ readonly method: "POST";
4143
+ readonly path: "/api/v1/device-identities";
4144
+ readonly body: {
4145
+ readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4146
+ readonly deviceIdentity: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4147
+ readonly sdkInformation: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4148
+ readonly type: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Type of tracking SDK (e.g., \"Appsflyer\", \"Firebase\")">]>;
4149
+ readonly deviceId: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique device identifier for the tracking service">]>;
4150
+ }, undefined>, _$valibot.DescriptionAction<{
4151
+ type: string;
4152
+ deviceId: string;
4153
+ }, "SDK information for a specific tracking service">]>, undefined>, _$valibot.DescriptionAction<{
4154
+ type: string;
4155
+ deviceId: string;
4156
+ }[], "Array of tracking SDK information">]>;
4157
+ }, undefined>, _$valibot.DescriptionAction<{
4158
+ sdkInformation: {
4159
+ type: string;
4160
+ deviceId: string;
4161
+ }[];
4162
+ }, "Device identity containing tracking SDK information">]>, _$valibot.DescriptionAction<{
4163
+ sdkInformation: {
4164
+ type: string;
4165
+ deviceId: string;
4166
+ }[];
4167
+ }, "Device identity information for analytics tracking">]>;
4168
+ }, undefined>, _$valibot.DescriptionAction<{
4169
+ deviceIdentity: {
4170
+ sdkInformation: {
4171
+ type: string;
4172
+ deviceId: string;
4173
+ }[];
4174
+ };
4175
+ }, "Request body for registering authenticated device identity metadata used by analytics integrations.">]>;
4176
+ };
4177
+ }, "path"> & {
4178
+ readonly path: {
4179
+ readonly template: "/api/v1/device-identities";
4180
+ readonly schema?: undefined;
4181
+ };
4182
+ }>, {
4183
+ readonly 200: HttpOperationEmptyResponse;
4184
+ readonly 201: HttpOperationEmptyResponse;
4185
+ readonly 204: HttpOperationEmptyResponse;
4186
+ readonly 401: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
4187
+ readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Short backend error description or machine-readable reason.">]>;
4188
+ readonly message: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized human-readable error message.">]>;
4189
+ }, undefined>, _$valibot.DescriptionAction<{
4190
+ description: string;
4191
+ message: string;
4192
+ }, "Default API error body returned by many non-2xx responses, including unauthorized and validation errors.">]>>;
4193
+ }>)[];
4194
+ declare const teezOperationsByName: Record<TeezOperationId, TeezOperation>;
4195
+ declare function getTeezOperation(name: TeezOperationId): TeezOperation;
4196
+ //#endregion
4197
+ export { TeezOperation, TeezOperationGroup, TeezOperationId, TeezOperations, getTeezOperation, teezOperationList, teezOperations, teezOperationsByName };
4198
+ //# sourceMappingURL=registry.d.mts.map