@teez-sdk/teez-b2c-api 2.2.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.
- package/LICENSE +21 -0
- package/README.md +228 -114
- package/dist/_virtual/_rolldown/runtime.cjs +23 -0
- package/dist/api/auth/check-token/index.d.cts +2 -0
- package/dist/api/auth/check-token/index.d.mts +2 -0
- package/dist/api/auth/check-token/operation.cjs +25 -0
- package/dist/api/auth/check-token/operation.cjs.map +1 -0
- package/dist/api/auth/check-token/operation.d.cts +44 -0
- package/dist/api/auth/check-token/operation.d.mts +44 -0
- package/dist/api/auth/check-token/operation.mjs +25 -0
- package/dist/api/auth/check-token/operation.mjs.map +1 -0
- package/dist/api/auth/check-token/responses.cjs +19 -0
- package/dist/api/auth/check-token/responses.cjs.map +1 -0
- package/dist/api/auth/check-token/responses.mjs +17 -0
- package/dist/api/auth/check-token/responses.mjs.map +1 -0
- package/dist/api/auth/check-token/types.d.cts +17 -0
- package/dist/api/auth/check-token/types.d.mts +17 -0
- package/dist/api/auth/index.d.cts +7 -0
- package/dist/api/auth/index.d.mts +7 -0
- package/dist/api/auth/login/index.d.cts +2 -0
- package/dist/api/auth/login/index.d.mts +2 -0
- package/dist/api/auth/login/operation.cjs +27 -0
- package/dist/api/auth/login/operation.cjs.map +1 -0
- package/dist/api/auth/login/operation.d.cts +34 -0
- package/dist/api/auth/login/operation.d.mts +34 -0
- package/dist/api/auth/login/operation.mjs +27 -0
- package/dist/api/auth/login/operation.mjs.map +1 -0
- package/dist/api/auth/login/request.cjs +9 -0
- package/dist/api/auth/login/request.cjs.map +1 -0
- package/dist/api/auth/login/request.mjs +7 -0
- package/dist/api/auth/login/request.mjs.map +1 -0
- package/dist/api/auth/login/types.d.cts +17 -0
- package/dist/api/auth/login/types.d.mts +17 -0
- package/dist/api/auth/operations.cjs +13 -0
- package/dist/api/auth/operations.cjs.map +1 -0
- package/dist/api/auth/operations.d.cts +118 -0
- package/dist/api/auth/operations.d.mts +118 -0
- package/dist/api/auth/operations.mjs +13 -0
- package/dist/api/auth/operations.mjs.map +1 -0
- package/dist/api/auth/verify/index.d.cts +2 -0
- package/dist/api/auth/verify/index.d.mts +2 -0
- package/dist/api/auth/verify/operation.cjs +27 -0
- package/dist/api/auth/verify/operation.cjs.map +1 -0
- package/dist/api/auth/verify/operation.d.cts +54 -0
- package/dist/api/auth/verify/operation.d.mts +54 -0
- package/dist/api/auth/verify/operation.mjs +27 -0
- package/dist/api/auth/verify/operation.mjs.map +1 -0
- package/dist/api/auth/verify/request.cjs +12 -0
- package/dist/api/auth/verify/request.cjs.map +1 -0
- package/dist/api/auth/verify/request.mjs +10 -0
- package/dist/api/auth/verify/request.mjs.map +1 -0
- package/dist/api/auth/verify/responses.cjs +19 -0
- package/dist/api/auth/verify/responses.cjs.map +1 -0
- package/dist/api/auth/verify/responses.mjs +17 -0
- package/dist/api/auth/verify/responses.mjs.map +1 -0
- package/dist/api/auth/verify/types.d.cts +17 -0
- package/dist/api/auth/verify/types.d.mts +17 -0
- package/dist/api/banners/index.d.cts +3 -0
- package/dist/api/banners/index.d.mts +3 -0
- package/dist/api/banners/list/index.d.cts +2 -0
- package/dist/api/banners/list/index.d.mts +2 -0
- package/dist/api/banners/list/operation.cjs +23 -0
- package/dist/api/banners/list/operation.cjs.map +1 -0
- package/dist/api/banners/list/operation.d.cts +71 -0
- package/dist/api/banners/list/operation.d.mts +71 -0
- package/dist/api/banners/list/operation.mjs +23 -0
- package/dist/api/banners/list/operation.mjs.map +1 -0
- package/dist/api/banners/list/request.cjs +9 -0
- package/dist/api/banners/list/request.cjs.map +1 -0
- package/dist/api/banners/list/request.mjs +7 -0
- package/dist/api/banners/list/request.mjs.map +1 -0
- package/dist/api/banners/list/responses.cjs +30 -0
- package/dist/api/banners/list/responses.cjs.map +1 -0
- package/dist/api/banners/list/responses.mjs +28 -0
- package/dist/api/banners/list/responses.mjs.map +1 -0
- package/dist/api/banners/list/types.d.cts +17 -0
- package/dist/api/banners/list/types.d.mts +17 -0
- package/dist/api/banners/operations.cjs +6 -0
- package/dist/api/banners/operations.cjs.map +1 -0
- package/dist/api/banners/operations.d.cts +73 -0
- package/dist/api/banners/operations.d.mts +73 -0
- package/dist/api/banners/operations.mjs +7 -0
- package/dist/api/banners/operations.mjs.map +1 -0
- package/dist/api/categories/get/index.d.cts +2 -0
- package/dist/api/categories/get/index.d.mts +2 -0
- package/dist/api/categories/get/operation.cjs +25 -0
- package/dist/api/categories/get/operation.cjs.map +1 -0
- package/dist/api/categories/get/operation.d.cts +31 -0
- package/dist/api/categories/get/operation.d.mts +31 -0
- package/dist/api/categories/get/operation.mjs +25 -0
- package/dist/api/categories/get/operation.mjs.map +1 -0
- package/dist/api/categories/get/request.cjs +9 -0
- package/dist/api/categories/get/request.cjs.map +1 -0
- package/dist/api/categories/get/request.mjs +7 -0
- package/dist/api/categories/get/request.mjs.map +1 -0
- package/dist/api/categories/get/responses.cjs +22 -0
- package/dist/api/categories/get/responses.cjs.map +1 -0
- package/dist/api/categories/get/responses.d.cts +22 -0
- package/dist/api/categories/get/responses.d.mts +22 -0
- package/dist/api/categories/get/responses.mjs +20 -0
- package/dist/api/categories/get/responses.mjs.map +1 -0
- package/dist/api/categories/get/types.d.cts +17 -0
- package/dist/api/categories/get/types.d.mts +17 -0
- package/dist/api/categories/get-parents/index.d.cts +2 -0
- package/dist/api/categories/get-parents/index.d.mts +2 -0
- package/dist/api/categories/get-parents/operation.cjs +23 -0
- package/dist/api/categories/get-parents/operation.cjs.map +1 -0
- package/dist/api/categories/get-parents/operation.d.cts +29 -0
- package/dist/api/categories/get-parents/operation.d.mts +29 -0
- package/dist/api/categories/get-parents/operation.mjs +23 -0
- package/dist/api/categories/get-parents/operation.mjs.map +1 -0
- package/dist/api/categories/get-parents/request.cjs +12 -0
- package/dist/api/categories/get-parents/request.cjs.map +1 -0
- package/dist/api/categories/get-parents/request.mjs +10 -0
- package/dist/api/categories/get-parents/request.mjs.map +1 -0
- package/dist/api/categories/get-parents/responses.cjs +20 -0
- package/dist/api/categories/get-parents/responses.cjs.map +1 -0
- package/dist/api/categories/get-parents/responses.d.cts +18 -0
- package/dist/api/categories/get-parents/responses.d.mts +18 -0
- package/dist/api/categories/get-parents/responses.mjs +18 -0
- package/dist/api/categories/get-parents/responses.mjs.map +1 -0
- package/dist/api/categories/get-parents/types.d.cts +17 -0
- package/dist/api/categories/get-parents/types.d.mts +17 -0
- package/dist/api/categories/index.d.cts +7 -0
- package/dist/api/categories/index.d.mts +7 -0
- package/dist/api/categories/list/index.d.cts +2 -0
- package/dist/api/categories/list/index.d.mts +2 -0
- package/dist/api/categories/list/operation.cjs +21 -0
- package/dist/api/categories/list/operation.cjs.map +1 -0
- package/dist/api/categories/list/operation.d.cts +40 -0
- package/dist/api/categories/list/operation.d.mts +40 -0
- package/dist/api/categories/list/operation.mjs +21 -0
- package/dist/api/categories/list/operation.mjs.map +1 -0
- package/dist/api/categories/list/responses.cjs +17 -0
- package/dist/api/categories/list/responses.cjs.map +1 -0
- package/dist/api/categories/list/responses.mjs +15 -0
- package/dist/api/categories/list/responses.mjs.map +1 -0
- package/dist/api/categories/list/types.d.cts +17 -0
- package/dist/api/categories/list/types.d.mts +17 -0
- package/dist/api/categories/operations.cjs +13 -0
- package/dist/api/categories/operations.cjs.map +1 -0
- package/dist/api/categories/operations.d.cts +86 -0
- package/dist/api/categories/operations.d.mts +86 -0
- package/dist/api/categories/operations.mjs +13 -0
- package/dist/api/categories/operations.mjs.map +1 -0
- package/dist/api/collections/get/index.d.cts +2 -0
- package/dist/api/collections/get/index.d.mts +2 -0
- package/dist/api/collections/get/operation.cjs +25 -0
- package/dist/api/collections/get/operation.cjs.map +1 -0
- package/dist/api/collections/get/operation.d.cts +44 -0
- package/dist/api/collections/get/operation.d.mts +44 -0
- package/dist/api/collections/get/operation.mjs +25 -0
- package/dist/api/collections/get/operation.mjs.map +1 -0
- package/dist/api/collections/get/request.cjs +9 -0
- package/dist/api/collections/get/request.cjs.map +1 -0
- package/dist/api/collections/get/request.mjs +7 -0
- package/dist/api/collections/get/request.mjs.map +1 -0
- package/dist/api/collections/get/responses.cjs +17 -0
- package/dist/api/collections/get/responses.cjs.map +1 -0
- package/dist/api/collections/get/responses.mjs +15 -0
- package/dist/api/collections/get/responses.mjs.map +1 -0
- package/dist/api/collections/get/types.d.cts +17 -0
- package/dist/api/collections/get/types.d.mts +17 -0
- package/dist/api/collections/get-skus/index.d.cts +2 -0
- package/dist/api/collections/get-skus/index.d.mts +2 -0
- package/dist/api/collections/get-skus/operation.cjs +23 -0
- package/dist/api/collections/get-skus/operation.cjs.map +1 -0
- package/dist/api/collections/get-skus/operation.d.cts +241 -0
- package/dist/api/collections/get-skus/operation.d.mts +241 -0
- package/dist/api/collections/get-skus/operation.mjs +23 -0
- package/dist/api/collections/get-skus/operation.mjs.map +1 -0
- package/dist/api/collections/get-skus/request.cjs +22 -0
- package/dist/api/collections/get-skus/request.cjs.map +1 -0
- package/dist/api/collections/get-skus/request.mjs +20 -0
- package/dist/api/collections/get-skus/request.mjs.map +1 -0
- package/dist/api/collections/get-skus/responses.cjs +41 -0
- package/dist/api/collections/get-skus/responses.cjs.map +1 -0
- package/dist/api/collections/get-skus/responses.mjs +39 -0
- package/dist/api/collections/get-skus/responses.mjs.map +1 -0
- package/dist/api/collections/get-skus/types.d.cts +17 -0
- package/dist/api/collections/get-skus/types.d.mts +17 -0
- package/dist/api/collections/index.d.cts +7 -0
- package/dist/api/collections/index.d.mts +7 -0
- package/dist/api/collections/list/index.d.cts +2 -0
- package/dist/api/collections/list/index.d.mts +2 -0
- package/dist/api/collections/list/operation.cjs +23 -0
- package/dist/api/collections/list/operation.cjs.map +1 -0
- package/dist/api/collections/list/operation.d.cts +44 -0
- package/dist/api/collections/list/operation.d.mts +44 -0
- package/dist/api/collections/list/operation.mjs +23 -0
- package/dist/api/collections/list/operation.mjs.map +1 -0
- package/dist/api/collections/list/request.cjs +12 -0
- package/dist/api/collections/list/request.cjs.map +1 -0
- package/dist/api/collections/list/request.mjs +10 -0
- package/dist/api/collections/list/request.mjs.map +1 -0
- package/dist/api/collections/list/responses.cjs +16 -0
- package/dist/api/collections/list/responses.cjs.map +1 -0
- package/dist/api/collections/list/responses.mjs +14 -0
- package/dist/api/collections/list/responses.mjs.map +1 -0
- package/dist/api/collections/list/types.d.cts +17 -0
- package/dist/api/collections/list/types.d.mts +17 -0
- package/dist/api/collections/operations.cjs +13 -0
- package/dist/api/collections/operations.cjs.map +1 -0
- package/dist/api/collections/operations.d.cts +314 -0
- package/dist/api/collections/operations.d.mts +314 -0
- package/dist/api/collections/operations.mjs +13 -0
- package/dist/api/collections/operations.mjs.map +1 -0
- package/dist/api/favorites/add/index.d.cts +2 -0
- package/dist/api/favorites/add/index.d.mts +2 -0
- package/dist/api/favorites/add/operation.cjs +27 -0
- package/dist/api/favorites/add/operation.cjs.map +1 -0
- package/dist/api/favorites/add/operation.d.cts +30 -0
- package/dist/api/favorites/add/operation.d.mts +30 -0
- package/dist/api/favorites/add/operation.mjs +27 -0
- package/dist/api/favorites/add/operation.mjs.map +1 -0
- package/dist/api/favorites/add/request.cjs +9 -0
- package/dist/api/favorites/add/request.cjs.map +1 -0
- package/dist/api/favorites/add/request.mjs +7 -0
- package/dist/api/favorites/add/request.mjs.map +1 -0
- package/dist/api/favorites/add/types.d.cts +17 -0
- package/dist/api/favorites/add/types.d.mts +17 -0
- package/dist/api/favorites/get-ids/index.d.cts +2 -0
- package/dist/api/favorites/get-ids/index.d.mts +2 -0
- package/dist/api/favorites/get-ids/operation.cjs +25 -0
- package/dist/api/favorites/get-ids/operation.cjs.map +1 -0
- package/dist/api/favorites/get-ids/operation.d.cts +30 -0
- package/dist/api/favorites/get-ids/operation.d.mts +30 -0
- package/dist/api/favorites/get-ids/operation.mjs +25 -0
- package/dist/api/favorites/get-ids/operation.mjs.map +1 -0
- package/dist/api/favorites/get-ids/responses.cjs +9 -0
- package/dist/api/favorites/get-ids/responses.cjs.map +1 -0
- package/dist/api/favorites/get-ids/responses.mjs +7 -0
- package/dist/api/favorites/get-ids/responses.mjs.map +1 -0
- package/dist/api/favorites/get-ids/types.d.cts +17 -0
- package/dist/api/favorites/get-ids/types.d.mts +17 -0
- package/dist/api/favorites/index.d.cts +7 -0
- package/dist/api/favorites/index.d.mts +7 -0
- package/dist/api/favorites/operations.cjs +13 -0
- package/dist/api/favorites/operations.cjs.map +1 -0
- package/dist/api/favorites/operations.d.cts +76 -0
- package/dist/api/favorites/operations.d.mts +76 -0
- package/dist/api/favorites/operations.mjs +13 -0
- package/dist/api/favorites/operations.mjs.map +1 -0
- package/dist/api/favorites/remove/index.d.cts +2 -0
- package/dist/api/favorites/remove/index.d.mts +2 -0
- package/dist/api/favorites/remove/operation.cjs +27 -0
- package/dist/api/favorites/remove/operation.cjs.map +1 -0
- package/dist/api/favorites/remove/operation.d.cts +30 -0
- package/dist/api/favorites/remove/operation.d.mts +30 -0
- package/dist/api/favorites/remove/operation.mjs +27 -0
- package/dist/api/favorites/remove/operation.mjs.map +1 -0
- package/dist/api/favorites/remove/request.cjs +9 -0
- package/dist/api/favorites/remove/request.cjs.map +1 -0
- package/dist/api/favorites/remove/request.mjs +7 -0
- package/dist/api/favorites/remove/request.mjs.map +1 -0
- package/dist/api/favorites/remove/types.d.cts +17 -0
- package/dist/api/favorites/remove/types.d.mts +17 -0
- package/dist/api/feature-flags/index.d.cts +3 -0
- package/dist/api/feature-flags/index.d.mts +3 -0
- package/dist/api/feature-flags/list/index.d.cts +2 -0
- package/dist/api/feature-flags/list/index.d.mts +2 -0
- package/dist/api/feature-flags/list/operation.cjs +21 -0
- package/dist/api/feature-flags/list/operation.cjs.map +1 -0
- package/dist/api/feature-flags/list/operation.d.cts +28 -0
- package/dist/api/feature-flags/list/operation.d.mts +28 -0
- package/dist/api/feature-flags/list/operation.mjs +21 -0
- package/dist/api/feature-flags/list/operation.mjs.map +1 -0
- package/dist/api/feature-flags/list/responses.cjs +13 -0
- package/dist/api/feature-flags/list/responses.cjs.map +1 -0
- package/dist/api/feature-flags/list/responses.mjs +11 -0
- package/dist/api/feature-flags/list/responses.mjs.map +1 -0
- package/dist/api/feature-flags/list/types.d.cts +17 -0
- package/dist/api/feature-flags/list/types.d.mts +17 -0
- package/dist/api/feature-flags/operations.cjs +6 -0
- package/dist/api/feature-flags/operations.cjs.map +1 -0
- package/dist/api/feature-flags/operations.d.cts +30 -0
- package/dist/api/feature-flags/operations.d.mts +30 -0
- package/dist/api/feature-flags/operations.mjs +7 -0
- package/dist/api/feature-flags/operations.mjs.map +1 -0
- package/dist/api/products/autocomplete/index.d.cts +2 -0
- package/dist/api/products/autocomplete/index.d.mts +2 -0
- package/dist/api/products/autocomplete/operation.cjs +23 -0
- package/dist/api/products/autocomplete/operation.cjs.map +1 -0
- package/dist/api/products/autocomplete/operation.d.cts +35 -0
- package/dist/api/products/autocomplete/operation.d.mts +35 -0
- package/dist/api/products/autocomplete/operation.mjs +23 -0
- package/dist/api/products/autocomplete/operation.mjs.map +1 -0
- package/dist/api/products/autocomplete/request.cjs +9 -0
- package/dist/api/products/autocomplete/request.cjs.map +1 -0
- package/dist/api/products/autocomplete/request.mjs +7 -0
- package/dist/api/products/autocomplete/request.mjs.map +1 -0
- package/dist/api/products/autocomplete/responses.cjs +13 -0
- package/dist/api/products/autocomplete/responses.cjs.map +1 -0
- package/dist/api/products/autocomplete/responses.mjs +11 -0
- package/dist/api/products/autocomplete/responses.mjs.map +1 -0
- package/dist/api/products/autocomplete/types.d.cts +17 -0
- package/dist/api/products/autocomplete/types.d.mts +17 -0
- package/dist/api/products/get-reviews/index.d.cts +2 -0
- package/dist/api/products/get-reviews/index.d.mts +2 -0
- package/dist/api/products/get-reviews/operation.cjs +26 -0
- package/dist/api/products/get-reviews/operation.cjs.map +1 -0
- package/dist/api/products/get-reviews/operation.d.cts +85 -0
- package/dist/api/products/get-reviews/operation.d.mts +85 -0
- package/dist/api/products/get-reviews/operation.mjs +26 -0
- package/dist/api/products/get-reviews/operation.mjs.map +1 -0
- package/dist/api/products/get-reviews/request.cjs +14 -0
- package/dist/api/products/get-reviews/request.cjs.map +1 -0
- package/dist/api/products/get-reviews/request.mjs +11 -0
- package/dist/api/products/get-reviews/request.mjs.map +1 -0
- package/dist/api/products/get-reviews/responses.cjs +20 -0
- package/dist/api/products/get-reviews/responses.cjs.map +1 -0
- package/dist/api/products/get-reviews/responses.mjs +18 -0
- package/dist/api/products/get-reviews/responses.mjs.map +1 -0
- package/dist/api/products/get-reviews/types.d.cts +17 -0
- package/dist/api/products/get-reviews/types.d.mts +17 -0
- package/dist/api/products/get-sort-options/index.d.cts +2 -0
- package/dist/api/products/get-sort-options/index.d.mts +2 -0
- package/dist/api/products/get-sort-options/operation.cjs +23 -0
- package/dist/api/products/get-sort-options/operation.cjs.map +1 -0
- package/dist/api/products/get-sort-options/operation.d.cts +37 -0
- package/dist/api/products/get-sort-options/operation.d.mts +37 -0
- package/dist/api/products/get-sort-options/operation.mjs +23 -0
- package/dist/api/products/get-sort-options/operation.mjs.map +1 -0
- package/dist/api/products/get-sort-options/request.cjs +12 -0
- package/dist/api/products/get-sort-options/request.cjs.map +1 -0
- package/dist/api/products/get-sort-options/request.mjs +10 -0
- package/dist/api/products/get-sort-options/request.mjs.map +1 -0
- package/dist/api/products/get-sort-options/responses.cjs +21 -0
- package/dist/api/products/get-sort-options/responses.cjs.map +1 -0
- package/dist/api/products/get-sort-options/responses.mjs +19 -0
- package/dist/api/products/get-sort-options/responses.mjs.map +1 -0
- package/dist/api/products/get-sort-options/types.d.cts +17 -0
- package/dist/api/products/get-sort-options/types.d.mts +17 -0
- package/dist/api/products/index.d.cts +9 -0
- package/dist/api/products/index.d.mts +9 -0
- package/dist/api/products/list/index.d.cts +2 -0
- package/dist/api/products/list/index.d.mts +2 -0
- package/dist/api/products/list/operation.cjs +23 -0
- package/dist/api/products/list/operation.cjs.map +1 -0
- package/dist/api/products/list/operation.d.cts +287 -0
- package/dist/api/products/list/operation.d.mts +287 -0
- package/dist/api/products/list/operation.mjs +23 -0
- package/dist/api/products/list/operation.mjs.map +1 -0
- package/dist/api/products/list/request.cjs +27 -0
- package/dist/api/products/list/request.cjs.map +1 -0
- package/dist/api/products/list/request.mjs +25 -0
- package/dist/api/products/list/request.mjs.map +1 -0
- package/dist/api/products/list/responses.cjs +49 -0
- package/dist/api/products/list/responses.cjs.map +1 -0
- package/dist/api/products/list/responses.mjs +47 -0
- package/dist/api/products/list/responses.mjs.map +1 -0
- package/dist/api/products/list/types.d.cts +17 -0
- package/dist/api/products/list/types.d.mts +17 -0
- package/dist/api/products/operations.cjs +15 -0
- package/dist/api/products/operations.cjs.map +1 -0
- package/dist/api/products/operations.d.cts +422 -0
- package/dist/api/products/operations.d.mts +422 -0
- package/dist/api/products/operations.mjs +15 -0
- package/dist/api/products/operations.mjs.map +1 -0
- package/dist/api/promo/index.d.cts +3 -0
- package/dist/api/promo/index.d.mts +3 -0
- package/dist/api/promo/list/index.d.cts +2 -0
- package/dist/api/promo/list/index.d.mts +2 -0
- package/dist/api/promo/list/operation.cjs +21 -0
- package/dist/api/promo/list/operation.cjs.map +1 -0
- package/dist/api/promo/list/operation.d.cts +41 -0
- package/dist/api/promo/list/operation.d.mts +41 -0
- package/dist/api/promo/list/operation.mjs +21 -0
- package/dist/api/promo/list/operation.mjs.map +1 -0
- package/dist/api/promo/list/responses.cjs +18 -0
- package/dist/api/promo/list/responses.cjs.map +1 -0
- package/dist/api/promo/list/responses.mjs +16 -0
- package/dist/api/promo/list/responses.mjs.map +1 -0
- package/dist/api/promo/list/types.d.cts +17 -0
- package/dist/api/promo/list/types.d.mts +17 -0
- package/dist/api/promo/operations.cjs +6 -0
- package/dist/api/promo/operations.cjs.map +1 -0
- package/dist/api/promo/operations.d.cts +43 -0
- package/dist/api/promo/operations.d.mts +43 -0
- package/dist/api/promo/operations.mjs +7 -0
- package/dist/api/promo/operations.mjs.map +1 -0
- package/dist/api/promocodes/index.d.cts +3 -0
- package/dist/api/promocodes/index.d.mts +3 -0
- package/dist/api/promocodes/operations.cjs +6 -0
- package/dist/api/promocodes/operations.cjs.map +1 -0
- package/dist/api/promocodes/operations.d.cts +106 -0
- package/dist/api/promocodes/operations.d.mts +106 -0
- package/dist/api/promocodes/operations.mjs +7 -0
- package/dist/api/promocodes/operations.mjs.map +1 -0
- package/dist/api/promocodes/validate/index.d.cts +2 -0
- package/dist/api/promocodes/validate/index.d.mts +2 -0
- package/dist/api/promocodes/validate/operation.cjs +27 -0
- package/dist/api/promocodes/validate/operation.cjs.map +1 -0
- package/dist/api/promocodes/validate/operation.d.cts +104 -0
- package/dist/api/promocodes/validate/operation.d.mts +104 -0
- package/dist/api/promocodes/validate/operation.mjs +27 -0
- package/dist/api/promocodes/validate/operation.mjs.map +1 -0
- package/dist/api/promocodes/validate/request.cjs +21 -0
- package/dist/api/promocodes/validate/request.cjs.map +1 -0
- package/dist/api/promocodes/validate/request.mjs +19 -0
- package/dist/api/promocodes/validate/request.mjs.map +1 -0
- package/dist/api/promocodes/validate/responses.cjs +27 -0
- package/dist/api/promocodes/validate/responses.cjs.map +1 -0
- package/dist/api/promocodes/validate/responses.mjs +25 -0
- package/dist/api/promocodes/validate/responses.mjs.map +1 -0
- package/dist/api/promocodes/validate/types.d.cts +17 -0
- package/dist/api/promocodes/validate/types.d.mts +17 -0
- package/dist/api/shops/get/index.d.cts +2 -0
- package/dist/api/shops/get/index.d.mts +2 -0
- package/dist/api/shops/get/operation.cjs +25 -0
- package/dist/api/shops/get/operation.cjs.map +1 -0
- package/dist/api/shops/get/operation.d.cts +95 -0
- package/dist/api/shops/get/operation.d.mts +95 -0
- package/dist/api/shops/get/operation.mjs +25 -0
- package/dist/api/shops/get/operation.mjs.map +1 -0
- package/dist/api/shops/get/request.cjs +9 -0
- package/dist/api/shops/get/request.cjs.map +1 -0
- package/dist/api/shops/get/request.mjs +7 -0
- package/dist/api/shops/get/request.mjs.map +1 -0
- package/dist/api/shops/get/responses.cjs +34 -0
- package/dist/api/shops/get/responses.cjs.map +1 -0
- package/dist/api/shops/get/responses.mjs +32 -0
- package/dist/api/shops/get/responses.mjs.map +1 -0
- package/dist/api/shops/get/types.d.cts +17 -0
- package/dist/api/shops/get/types.d.mts +17 -0
- package/dist/api/shops/get-monobrand/index.d.cts +2 -0
- package/dist/api/shops/get-monobrand/index.d.mts +2 -0
- package/dist/api/shops/get-monobrand/operation.cjs +23 -0
- package/dist/api/shops/get-monobrand/operation.cjs.map +1 -0
- package/dist/api/shops/get-monobrand/operation.d.cts +56 -0
- package/dist/api/shops/get-monobrand/operation.d.mts +56 -0
- package/dist/api/shops/get-monobrand/operation.mjs +23 -0
- package/dist/api/shops/get-monobrand/operation.mjs.map +1 -0
- package/dist/api/shops/get-monobrand/request.cjs +13 -0
- package/dist/api/shops/get-monobrand/request.cjs.map +1 -0
- package/dist/api/shops/get-monobrand/request.mjs +11 -0
- package/dist/api/shops/get-monobrand/request.mjs.map +1 -0
- package/dist/api/shops/get-monobrand/responses.cjs +17 -0
- package/dist/api/shops/get-monobrand/responses.cjs.map +1 -0
- package/dist/api/shops/get-monobrand/responses.mjs +15 -0
- package/dist/api/shops/get-monobrand/responses.mjs.map +1 -0
- package/dist/api/shops/get-monobrand/types.d.cts +17 -0
- package/dist/api/shops/get-monobrand/types.d.mts +17 -0
- package/dist/api/shops/get-products/index.d.cts +2 -0
- package/dist/api/shops/get-products/index.d.mts +2 -0
- package/dist/api/shops/get-products/operation.cjs +26 -0
- package/dist/api/shops/get-products/operation.cjs.map +1 -0
- package/dist/api/shops/get-products/operation.d.cts +266 -0
- package/dist/api/shops/get-products/operation.d.mts +266 -0
- package/dist/api/shops/get-products/operation.mjs +26 -0
- package/dist/api/shops/get-products/operation.mjs.map +1 -0
- package/dist/api/shops/get-products/request.cjs +27 -0
- package/dist/api/shops/get-products/request.cjs.map +1 -0
- package/dist/api/shops/get-products/request.mjs +24 -0
- package/dist/api/shops/get-products/request.mjs.map +1 -0
- package/dist/api/shops/get-products/responses.cjs +43 -0
- package/dist/api/shops/get-products/responses.cjs.map +1 -0
- package/dist/api/shops/get-products/responses.mjs +41 -0
- package/dist/api/shops/get-products/responses.mjs.map +1 -0
- package/dist/api/shops/get-products/types.d.cts +17 -0
- package/dist/api/shops/get-products/types.d.mts +17 -0
- package/dist/api/shops/index.d.cts +7 -0
- package/dist/api/shops/index.d.mts +7 -0
- package/dist/api/shops/operations.cjs +13 -0
- package/dist/api/shops/operations.cjs.map +1 -0
- package/dist/api/shops/operations.d.cts +402 -0
- package/dist/api/shops/operations.d.mts +402 -0
- package/dist/api/shops/operations.mjs +13 -0
- package/dist/api/shops/operations.mjs.map +1 -0
- package/dist/api/sku/get/index.d.cts +2 -0
- package/dist/api/sku/get/index.d.mts +2 -0
- package/dist/api/sku/get/operation.cjs +25 -0
- package/dist/api/sku/get/operation.cjs.map +1 -0
- package/dist/api/sku/get/operation.d.cts +275 -0
- package/dist/api/sku/get/operation.d.mts +275 -0
- package/dist/api/sku/get/operation.mjs +25 -0
- package/dist/api/sku/get/operation.mjs.map +1 -0
- package/dist/api/sku/get/request.cjs +9 -0
- package/dist/api/sku/get/request.cjs.map +1 -0
- package/dist/api/sku/get/request.mjs +7 -0
- package/dist/api/sku/get/request.mjs.map +1 -0
- package/dist/api/sku/get/responses.cjs +89 -0
- package/dist/api/sku/get/responses.cjs.map +1 -0
- package/dist/api/sku/get/responses.mjs +87 -0
- package/dist/api/sku/get/responses.mjs.map +1 -0
- package/dist/api/sku/get/types.d.cts +17 -0
- package/dist/api/sku/get/types.d.mts +17 -0
- package/dist/api/sku/get-collections/index.d.cts +2 -0
- package/dist/api/sku/get-collections/index.d.mts +2 -0
- package/dist/api/sku/get-collections/operation.cjs +25 -0
- package/dist/api/sku/get-collections/operation.cjs.map +1 -0
- package/dist/api/sku/get-collections/operation.d.cts +51 -0
- package/dist/api/sku/get-collections/operation.d.mts +51 -0
- package/dist/api/sku/get-collections/operation.mjs +25 -0
- package/dist/api/sku/get-collections/operation.mjs.map +1 -0
- package/dist/api/sku/get-collections/request.cjs +9 -0
- package/dist/api/sku/get-collections/request.cjs.map +1 -0
- package/dist/api/sku/get-collections/request.mjs +7 -0
- package/dist/api/sku/get-collections/request.mjs.map +1 -0
- package/dist/api/sku/get-collections/responses.cjs +17 -0
- package/dist/api/sku/get-collections/responses.cjs.map +1 -0
- package/dist/api/sku/get-collections/responses.mjs +15 -0
- package/dist/api/sku/get-collections/responses.mjs.map +1 -0
- package/dist/api/sku/get-collections/types.d.cts +17 -0
- package/dist/api/sku/get-collections/types.d.mts +17 -0
- package/dist/api/sku/get-review-available/index.d.cts +2 -0
- package/dist/api/sku/get-review-available/index.d.mts +2 -0
- package/dist/api/sku/get-review-available/operation.cjs +29 -0
- package/dist/api/sku/get-review-available/operation.cjs.map +1 -0
- package/dist/api/sku/get-review-available/operation.d.cts +43 -0
- package/dist/api/sku/get-review-available/operation.d.mts +43 -0
- package/dist/api/sku/get-review-available/operation.mjs +29 -0
- package/dist/api/sku/get-review-available/operation.mjs.map +1 -0
- package/dist/api/sku/get-review-available/request.cjs +9 -0
- package/dist/api/sku/get-review-available/request.cjs.map +1 -0
- package/dist/api/sku/get-review-available/request.mjs +7 -0
- package/dist/api/sku/get-review-available/request.mjs.map +1 -0
- package/dist/api/sku/get-review-available/responses.cjs +12 -0
- package/dist/api/sku/get-review-available/responses.cjs.map +1 -0
- package/dist/api/sku/get-review-available/responses.mjs +10 -0
- package/dist/api/sku/get-review-available/responses.mjs.map +1 -0
- package/dist/api/sku/get-review-available/types.d.cts +17 -0
- package/dist/api/sku/get-review-available/types.d.mts +17 -0
- package/dist/api/sku/get-similar/index.d.cts +2 -0
- package/dist/api/sku/get-similar/index.d.mts +2 -0
- package/dist/api/sku/get-similar/operation.cjs +23 -0
- package/dist/api/sku/get-similar/operation.cjs.map +1 -0
- package/dist/api/sku/get-similar/operation.d.cts +109 -0
- package/dist/api/sku/get-similar/operation.d.mts +109 -0
- package/dist/api/sku/get-similar/operation.mjs +23 -0
- package/dist/api/sku/get-similar/operation.mjs.map +1 -0
- package/dist/api/sku/get-similar/request.cjs +13 -0
- package/dist/api/sku/get-similar/request.cjs.map +1 -0
- package/dist/api/sku/get-similar/request.mjs +11 -0
- package/dist/api/sku/get-similar/request.mjs.map +1 -0
- package/dist/api/sku/get-similar/responses.cjs +31 -0
- package/dist/api/sku/get-similar/responses.cjs.map +1 -0
- package/dist/api/sku/get-similar/responses.mjs +29 -0
- package/dist/api/sku/get-similar/responses.mjs.map +1 -0
- package/dist/api/sku/get-similar/types.d.cts +17 -0
- package/dist/api/sku/get-similar/types.d.mts +17 -0
- package/dist/api/sku/index.d.cts +9 -0
- package/dist/api/sku/index.d.mts +9 -0
- package/dist/api/sku/operations.cjs +15 -0
- package/dist/api/sku/operations.cjs.map +1 -0
- package/dist/api/sku/operations.d.cts +455 -0
- package/dist/api/sku/operations.d.mts +455 -0
- package/dist/api/sku/operations.mjs +15 -0
- package/dist/api/sku/operations.mjs.map +1 -0
- package/dist/api/users/index.d.cts +5 -0
- package/dist/api/users/index.d.mts +5 -0
- package/dist/api/users/operations.cjs +11 -0
- package/dist/api/users/operations.cjs.map +1 -0
- package/dist/api/users/operations.d.cts +96 -0
- package/dist/api/users/operations.d.mts +96 -0
- package/dist/api/users/operations.mjs +11 -0
- package/dist/api/users/operations.mjs.map +1 -0
- package/dist/api/users/register-device/index.d.cts +2 -0
- package/dist/api/users/register-device/index.d.mts +2 -0
- package/dist/api/users/register-device/operation.cjs +28 -0
- package/dist/api/users/register-device/operation.cjs.map +1 -0
- package/dist/api/users/register-device/operation.d.cts +61 -0
- package/dist/api/users/register-device/operation.d.mts +61 -0
- package/dist/api/users/register-device/operation.mjs +28 -0
- package/dist/api/users/register-device/operation.mjs.map +1 -0
- package/dist/api/users/register-device/request.cjs +14 -0
- package/dist/api/users/register-device/request.cjs.map +1 -0
- package/dist/api/users/register-device/request.mjs +12 -0
- package/dist/api/users/register-device/request.mjs.map +1 -0
- package/dist/api/users/register-device/types.d.cts +17 -0
- package/dist/api/users/register-device/types.d.mts +17 -0
- package/dist/api/users/update-language/index.d.cts +2 -0
- package/dist/api/users/update-language/index.d.mts +2 -0
- package/dist/api/users/update-language/operation.cjs +27 -0
- package/dist/api/users/update-language/operation.cjs.map +1 -0
- package/dist/api/users/update-language/operation.d.cts +41 -0
- package/dist/api/users/update-language/operation.d.mts +41 -0
- package/dist/api/users/update-language/operation.mjs +27 -0
- package/dist/api/users/update-language/operation.mjs.map +1 -0
- package/dist/api/users/update-language/request.cjs +11 -0
- package/dist/api/users/update-language/request.cjs.map +1 -0
- package/dist/api/users/update-language/request.mjs +8 -0
- package/dist/api/users/update-language/request.mjs.map +1 -0
- package/dist/api/users/update-language/responses.cjs +14 -0
- package/dist/api/users/update-language/responses.cjs.map +1 -0
- package/dist/api/users/update-language/responses.mjs +12 -0
- package/dist/api/users/update-language/responses.mjs.map +1 -0
- package/dist/api/users/update-language/types.d.cts +17 -0
- package/dist/api/users/update-language/types.d.mts +17 -0
- package/dist/config/defaults.cjs +12 -0
- package/dist/config/defaults.cjs.map +1 -0
- package/dist/config/defaults.d.cts +10 -0
- package/dist/config/defaults.d.mts +10 -0
- package/dist/config/defaults.mjs +9 -0
- package/dist/config/defaults.mjs.map +1 -0
- package/dist/config/headers.cjs +17 -0
- package/dist/config/headers.cjs.map +1 -0
- package/dist/config/headers.d.cts +8 -0
- package/dist/config/headers.d.mts +8 -0
- package/dist/config/headers.mjs +16 -0
- package/dist/config/headers.mjs.map +1 -0
- package/dist/config/resolve.cjs +28 -0
- package/dist/config/resolve.cjs.map +1 -0
- package/dist/config/resolve.d.cts +8 -0
- package/dist/config/resolve.d.mts +8 -0
- package/dist/config/resolve.mjs +27 -0
- package/dist/config/resolve.mjs.map +1 -0
- package/dist/config/types.d.cts +25 -0
- package/dist/config/types.d.mts +25 -0
- package/dist/contracts/api-error-response.cjs +12 -0
- package/dist/contracts/api-error-response.cjs.map +1 -0
- package/dist/contracts/api-error-response.d.cts +13 -0
- package/dist/contracts/api-error-response.d.mts +13 -0
- package/dist/contracts/api-error-response.mjs +10 -0
- package/dist/contracts/api-error-response.mjs.map +1 -0
- package/dist/contracts/filters/category.cjs +21 -0
- package/dist/contracts/filters/category.cjs.map +1 -0
- package/dist/contracts/filters/category.d.cts +37 -0
- package/dist/contracts/filters/category.d.mts +37 -0
- package/dist/contracts/filters/category.mjs +17 -0
- package/dist/contracts/filters/category.mjs.map +1 -0
- package/dist/contracts/filters/filter.cjs +11 -0
- package/dist/contracts/filters/filter.cjs.map +1 -0
- package/dist/contracts/filters/filter.d.cts +67 -0
- package/dist/contracts/filters/filter.d.mts +67 -0
- package/dist/contracts/filters/filter.mjs +9 -0
- package/dist/contracts/filters/filter.mjs.map +1 -0
- package/dist/contracts/filters/range.cjs +21 -0
- package/dist/contracts/filters/range.cjs.map +1 -0
- package/dist/contracts/filters/range.d.cts +37 -0
- package/dist/contracts/filters/range.d.mts +37 -0
- package/dist/contracts/filters/range.mjs +17 -0
- package/dist/contracts/filters/range.mjs.map +1 -0
- package/dist/contracts/pagination.cjs +17 -0
- package/dist/contracts/pagination.cjs.map +1 -0
- package/dist/contracts/pagination.d.cts +27 -0
- package/dist/contracts/pagination.d.mts +27 -0
- package/dist/contracts/pagination.mjs +15 -0
- package/dist/contracts/pagination.mjs.map +1 -0
- package/dist/errors/teez-api-error.cjs +26 -0
- package/dist/errors/teez-api-error.cjs.map +1 -0
- package/dist/errors/teez-api-error.d.cts +35 -0
- package/dist/errors/teez-api-error.d.mts +35 -0
- package/dist/errors/teez-api-error.mjs +26 -0
- package/dist/errors/teez-api-error.mjs.map +1 -0
- package/dist/errors/teez-error.cjs +8 -0
- package/dist/errors/teez-error.cjs.map +1 -0
- package/dist/errors/teez-error.d.cts +7 -0
- package/dist/errors/teez-error.d.mts +7 -0
- package/dist/errors/teez-error.mjs +8 -0
- package/dist/errors/teez-error.mjs.map +1 -0
- package/dist/errors/teez-network-error.cjs +18 -0
- package/dist/errors/teez-network-error.cjs.map +1 -0
- package/dist/errors/teez-network-error.d.cts +23 -0
- package/dist/errors/teez-network-error.d.mts +23 -0
- package/dist/errors/teez-network-error.mjs +18 -0
- package/dist/errors/teez-network-error.mjs.map +1 -0
- package/dist/errors/teez-timeout-error.cjs +20 -0
- package/dist/errors/teez-timeout-error.cjs.map +1 -0
- package/dist/errors/teez-timeout-error.d.cts +26 -0
- package/dist/errors/teez-timeout-error.d.mts +26 -0
- package/dist/errors/teez-timeout-error.mjs +20 -0
- package/dist/errors/teez-timeout-error.mjs.map +1 -0
- package/dist/errors/teez-validation-error.cjs +16 -0
- package/dist/errors/teez-validation-error.cjs.map +1 -0
- package/dist/errors/teez-validation-error.d.cts +25 -0
- package/dist/errors/teez-validation-error.d.mts +25 -0
- package/dist/errors/teez-validation-error.mjs +16 -0
- package/dist/errors/teez-validation-error.mjs.map +1 -0
- package/dist/http-operation/api-error.cjs +15 -0
- package/dist/http-operation/api-error.cjs.map +1 -0
- package/dist/http-operation/api-error.d.cts +15 -0
- package/dist/http-operation/api-error.d.mts +15 -0
- package/dist/http-operation/api-error.mjs +14 -0
- package/dist/http-operation/api-error.mjs.map +1 -0
- package/dist/http-operation/define.cjs +33 -0
- package/dist/http-operation/define.cjs.map +1 -0
- package/dist/http-operation/define.d.cts +7 -0
- package/dist/http-operation/define.d.mts +7 -0
- package/dist/http-operation/define.mjs +33 -0
- package/dist/http-operation/define.mjs.map +1 -0
- package/dist/http-operation/flattenability.cjs +24 -0
- package/dist/http-operation/flattenability.cjs.map +1 -0
- package/dist/http-operation/flattenability.d.cts +7 -0
- package/dist/http-operation/flattenability.d.mts +7 -0
- package/dist/http-operation/flattenability.mjs +24 -0
- package/dist/http-operation/flattenability.mjs.map +1 -0
- package/dist/http-operation/inference.d.cts +63 -0
- package/dist/http-operation/inference.d.mts +63 -0
- package/dist/http-operation/response-helpers.cjs +20 -0
- package/dist/http-operation/response-helpers.cjs.map +1 -0
- package/dist/http-operation/response-helpers.d.cts +15 -0
- package/dist/http-operation/response-helpers.d.mts +15 -0
- package/dist/http-operation/response-helpers.mjs +19 -0
- package/dist/http-operation/response-helpers.mjs.map +1 -0
- package/dist/http-operation/status.cjs +8 -0
- package/dist/http-operation/status.cjs.map +1 -0
- package/dist/http-operation/status.d.cts +6 -0
- package/dist/http-operation/status.d.mts +6 -0
- package/dist/http-operation/status.mjs +8 -0
- package/dist/http-operation/status.mjs.map +1 -0
- package/dist/http-operation/types.d.cts +92 -0
- package/dist/http-operation/types.d.mts +92 -0
- package/dist/http-operation/validation.cjs +32 -0
- package/dist/http-operation/validation.cjs.map +1 -0
- package/dist/http-operation/validation.mjs +31 -0
- package/dist/http-operation/validation.mjs.map +1 -0
- package/dist/index.cjs +147 -1743
- package/dist/index.d.cts +100 -5056
- package/dist/index.d.mts +100 -5056
- package/dist/index.mjs +66 -1629
- package/dist/language.cjs +6 -0
- package/dist/language.cjs.map +1 -0
- package/dist/language.d.cts +6 -0
- package/dist/language.d.mts +6 -0
- package/dist/language.mjs +6 -0
- package/dist/language.mjs.map +1 -0
- package/dist/registry.cjs +44 -0
- package/dist/registry.cjs.map +1 -0
- package/dist/registry.d.cts +4198 -0
- package/dist/registry.d.mts +4198 -0
- package/dist/registry.mjs +41 -0
- package/dist/registry.mjs.map +1 -0
- package/dist/schema/nullish.cjs +11 -0
- package/dist/schema/nullish.cjs.map +1 -0
- package/dist/schema/nullish.d.cts +11 -0
- package/dist/schema/nullish.d.mts +11 -0
- package/dist/schema/nullish.mjs +9 -0
- package/dist/schema/nullish.mjs.map +1 -0
- package/dist/schema/object-schema.cjs +12 -0
- package/dist/schema/object-schema.cjs.map +1 -0
- package/dist/schema/object-schema.d.cts +10 -0
- package/dist/schema/object-schema.d.mts +10 -0
- package/dist/schema/object-schema.mjs +11 -0
- package/dist/schema/object-schema.mjs.map +1 -0
- package/dist/schema/types.d.cts +7 -0
- package/dist/schema/types.d.mts +7 -0
- package/dist/sdk/create-client.cjs +20 -0
- package/dist/sdk/create-client.cjs.map +1 -0
- package/dist/sdk/create-client.d.cts +11 -0
- package/dist/sdk/create-client.d.mts +11 -0
- package/dist/sdk/create-client.mjs +19 -0
- package/dist/sdk/create-client.mjs.map +1 -0
- package/dist/sdk/flat-request.cjs +25 -0
- package/dist/sdk/flat-request.cjs.map +1 -0
- package/dist/sdk/flat-request.mjs +25 -0
- package/dist/sdk/flat-request.mjs.map +1 -0
- package/dist/sdk/operation-entry.cjs +30 -0
- package/dist/sdk/operation-entry.cjs.map +1 -0
- package/dist/sdk/operation-entry.mjs +30 -0
- package/dist/sdk/operation-entry.mjs.map +1 -0
- package/dist/sdk/runtime.cjs +15 -0
- package/dist/sdk/runtime.cjs.map +1 -0
- package/dist/sdk/runtime.d.cts +8 -0
- package/dist/sdk/runtime.d.mts +8 -0
- package/dist/sdk/runtime.mjs +15 -0
- package/dist/sdk/runtime.mjs.map +1 -0
- package/dist/sdk/types.d.cts +15 -0
- package/dist/sdk/types.d.mts +15 -0
- package/dist/transport/headers.cjs +12 -0
- package/dist/transport/headers.cjs.map +1 -0
- package/dist/transport/headers.mjs +12 -0
- package/dist/transport/headers.mjs.map +1 -0
- package/dist/transport/http-client.cjs +109 -0
- package/dist/transport/http-client.cjs.map +1 -0
- package/dist/transport/http-client.mjs +109 -0
- package/dist/transport/http-client.mjs.map +1 -0
- package/dist/transport/parsing.cjs +43 -0
- package/dist/transport/parsing.cjs.map +1 -0
- package/dist/transport/parsing.mjs +38 -0
- package/dist/transport/parsing.mjs.map +1 -0
- package/dist/transport/path.cjs +11 -0
- package/dist/transport/path.cjs.map +1 -0
- package/dist/transport/path.mjs +11 -0
- package/dist/transport/path.mjs.map +1 -0
- package/dist/transport/query.cjs +21 -0
- package/dist/transport/query.cjs.map +1 -0
- package/dist/transport/query.mjs +21 -0
- package/dist/transport/query.mjs.map +1 -0
- package/dist/transport/response-body.cjs +17 -0
- package/dist/transport/response-body.cjs.map +1 -0
- package/dist/transport/response-body.mjs +17 -0
- package/dist/transport/response-body.mjs.map +1 -0
- package/dist/transport/types.d.cts +6 -0
- package/dist/transport/types.d.mts +6 -0
- package/dist/type-utils/simplify.d.cts +5 -0
- package/dist/type-utils/simplify.d.mts +5 -0
- package/package.json +46 -35
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
import { Simplify } from "../../type-utils/simplify.mjs";
|
|
2
|
+
import { HttpOperationDef, HttpOperationJsonResponse } from "../../http-operation/types.mjs";
|
|
3
|
+
import { NullishToUndefinedSchema } from "../../schema/nullish.mjs";
|
|
4
|
+
import * as _$valibot from "valibot";
|
|
5
|
+
|
|
6
|
+
//#region src/api/shops/operations.d.ts
|
|
7
|
+
declare const shopsOperations: {
|
|
8
|
+
readonly get: HttpOperationDef<"shops", "get", Simplify<Omit<{
|
|
9
|
+
readonly method: "GET";
|
|
10
|
+
readonly path: {
|
|
11
|
+
readonly template: "/api/v1/shops/{shopId}";
|
|
12
|
+
readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
13
|
+
readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
|
|
14
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
15
|
+
shopId: number;
|
|
16
|
+
}, "Parameters for fetching a specific shop.">]>;
|
|
17
|
+
};
|
|
18
|
+
}, "path"> & {
|
|
19
|
+
readonly path: {
|
|
20
|
+
readonly template: "/api/v1/shops/{shopId}";
|
|
21
|
+
readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
22
|
+
readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
|
|
23
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
24
|
+
shopId: number;
|
|
25
|
+
}, "Parameters for fetching a specific shop.">]>;
|
|
26
|
+
};
|
|
27
|
+
}>, {
|
|
28
|
+
readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
29
|
+
readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
|
|
30
|
+
readonly banner: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the shop's banner image">]>;
|
|
31
|
+
readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Description of the shop">]>;
|
|
32
|
+
readonly logo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "URL to the shop's logo">]>;
|
|
33
|
+
readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Name of the shop">]>;
|
|
34
|
+
readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Text about total orders/purchases (e.g., \"11 заказов\", \"930 заказов\")">]>;
|
|
35
|
+
readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating of the shop">]>;
|
|
36
|
+
readonly totalReviews: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of reviews received">]>;
|
|
37
|
+
readonly contactInfo: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
38
|
+
readonly bin: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Business Identification Number">]>;
|
|
39
|
+
readonly daysSinceRegistration: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Number of days since the shop was registered">]>;
|
|
40
|
+
readonly legalType: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Legal entity type code">]>;
|
|
41
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
42
|
+
bin: string;
|
|
43
|
+
daysSinceRegistration: number;
|
|
44
|
+
legalType: number;
|
|
45
|
+
}, "Merchant registration metadata returned for a shop.">]>, _$valibot.DescriptionAction<{
|
|
46
|
+
bin: string;
|
|
47
|
+
daysSinceRegistration: number;
|
|
48
|
+
legalType: number;
|
|
49
|
+
}, "Contact information for the shop">]>;
|
|
50
|
+
readonly isMonobrand: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the shop represents a single brand">]>;
|
|
51
|
+
readonly tag: _$valibot.SchemaWithPipe<readonly [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
52
|
+
readonly description: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Description of the tag">]>;
|
|
53
|
+
readonly icon: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the raster icon for the tag">]>;
|
|
54
|
+
readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display name of the tag">]>;
|
|
55
|
+
readonly svg: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the SVG icon for the tag">]>;
|
|
56
|
+
readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code for the tag">]>;
|
|
57
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
58
|
+
description: string;
|
|
59
|
+
icon: string;
|
|
60
|
+
name: string;
|
|
61
|
+
svg: string;
|
|
62
|
+
code: string;
|
|
63
|
+
}, "Merchant quality tag returned by the shop endpoint.">]>, _$valibot.DescriptionAction<{
|
|
64
|
+
description: string;
|
|
65
|
+
icon: string;
|
|
66
|
+
name: string;
|
|
67
|
+
svg: string;
|
|
68
|
+
code: string;
|
|
69
|
+
}, "Tag associated with the shop">]>;
|
|
70
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
71
|
+
id: number;
|
|
72
|
+
banner: string | undefined;
|
|
73
|
+
description: string;
|
|
74
|
+
logo: string | undefined;
|
|
75
|
+
name: string;
|
|
76
|
+
qtyPurchasedInfo: string | undefined;
|
|
77
|
+
rating: number | undefined;
|
|
78
|
+
totalReviews: number | undefined;
|
|
79
|
+
contactInfo: {
|
|
80
|
+
bin: string;
|
|
81
|
+
daysSinceRegistration: number;
|
|
82
|
+
legalType: number;
|
|
83
|
+
};
|
|
84
|
+
isMonobrand: boolean;
|
|
85
|
+
tag: {
|
|
86
|
+
description: string;
|
|
87
|
+
icon: string;
|
|
88
|
+
name: string;
|
|
89
|
+
svg: string;
|
|
90
|
+
code: string;
|
|
91
|
+
};
|
|
92
|
+
}, "Shop detail response with branding, ratings, merchant metadata, and storefront tag information.">]>>;
|
|
93
|
+
}>;
|
|
94
|
+
readonly getMonobrand: HttpOperationDef<"shops", "getMonobrand", Simplify<Omit<{
|
|
95
|
+
readonly method: "GET";
|
|
96
|
+
readonly path: "/api/v1/shops/monobrand";
|
|
97
|
+
readonly query: {
|
|
98
|
+
readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
99
|
+
readonly seed: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Random seed for consistent pagination">]>;
|
|
100
|
+
readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
|
|
101
|
+
readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of items per page">]>;
|
|
102
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
103
|
+
seed?: number | null | undefined;
|
|
104
|
+
pageNumber?: number | null | undefined;
|
|
105
|
+
pageSize?: number | null | undefined;
|
|
106
|
+
}, "Parameters for fetching monobrand shops.">]>;
|
|
107
|
+
};
|
|
108
|
+
}, "path"> & {
|
|
109
|
+
readonly path: {
|
|
110
|
+
readonly template: "/api/v1/shops/monobrand";
|
|
111
|
+
readonly schema?: undefined;
|
|
112
|
+
};
|
|
113
|
+
}>, {
|
|
114
|
+
readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
115
|
+
readonly pageNumber: _$valibot.NumberSchema<undefined>;
|
|
116
|
+
readonly totalPages: _$valibot.NumberSchema<undefined>;
|
|
117
|
+
readonly totalCount: _$valibot.NumberSchema<undefined>;
|
|
118
|
+
readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
|
|
119
|
+
readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
|
|
120
|
+
readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
121
|
+
readonly id: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
|
|
122
|
+
readonly icon: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL to the shop's icon">]>;
|
|
123
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
124
|
+
id: number;
|
|
125
|
+
icon: string;
|
|
126
|
+
}, "Monobrand shop card returned by the listing endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
|
|
127
|
+
id: number;
|
|
128
|
+
icon: string;
|
|
129
|
+
}[], "List of monobrand shops">]>;
|
|
130
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
131
|
+
pageNumber: number;
|
|
132
|
+
totalPages: number;
|
|
133
|
+
totalCount: number;
|
|
134
|
+
hasPreviousPage: boolean;
|
|
135
|
+
hasNextPage: boolean;
|
|
136
|
+
items: {
|
|
137
|
+
id: number;
|
|
138
|
+
icon: string;
|
|
139
|
+
}[];
|
|
140
|
+
}, "Paginated monobrand shop response with shop cards and pagination metadata.">]>>;
|
|
141
|
+
}>;
|
|
142
|
+
readonly getProducts: HttpOperationDef<"shops", "getProducts", Simplify<Omit<{
|
|
143
|
+
readonly method: "GET";
|
|
144
|
+
readonly path: {
|
|
145
|
+
readonly template: "/api/v2/shops/{shopId}/products";
|
|
146
|
+
readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
147
|
+
readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
|
|
148
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
149
|
+
shopId: number;
|
|
150
|
+
}, "Path parameters for fetching products from a shop.">]>;
|
|
151
|
+
};
|
|
152
|
+
readonly query: {
|
|
153
|
+
readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
154
|
+
readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
|
|
155
|
+
readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of items per page">]>;
|
|
156
|
+
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">]>;
|
|
157
|
+
readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Filter by category ID">]>;
|
|
158
|
+
readonly brandIds: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.ArraySchema<_$valibot.NumberSchema<undefined>, undefined>, undefined>, _$valibot.DescriptionAction<number[] | null | undefined, "Filter by brand IDs">]>;
|
|
159
|
+
readonly minPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Minimum price filter">]>;
|
|
160
|
+
readonly maxPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Maximum price filter">]>;
|
|
161
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
162
|
+
pageNumber?: number | null | undefined;
|
|
163
|
+
pageSize?: number | null | undefined;
|
|
164
|
+
sortBy?: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined;
|
|
165
|
+
categoryId?: number | null | undefined;
|
|
166
|
+
brandIds?: number[] | null | undefined;
|
|
167
|
+
minPrice?: number | null | undefined;
|
|
168
|
+
maxPrice?: number | null | undefined;
|
|
169
|
+
}, "Query parameters for fetching products from a shop.">]>;
|
|
170
|
+
};
|
|
171
|
+
}, "path"> & {
|
|
172
|
+
readonly path: {
|
|
173
|
+
readonly template: "/api/v2/shops/{shopId}/products";
|
|
174
|
+
readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
175
|
+
readonly shopId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique identifier of the shop">]>;
|
|
176
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
177
|
+
shopId: number;
|
|
178
|
+
}, "Path parameters for fetching products from a shop.">]>;
|
|
179
|
+
};
|
|
180
|
+
}>, {
|
|
181
|
+
readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
182
|
+
readonly pageNumber: _$valibot.NumberSchema<undefined>;
|
|
183
|
+
readonly totalPages: _$valibot.NumberSchema<undefined>;
|
|
184
|
+
readonly totalCount: _$valibot.NumberSchema<undefined>;
|
|
185
|
+
readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
|
|
186
|
+
readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
|
|
187
|
+
readonly filters: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.VariantSchema<"type", [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
188
|
+
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">]>;
|
|
189
|
+
readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
|
|
190
|
+
readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
|
|
191
|
+
readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
192
|
+
readonly min: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Minimum value for range filters">]>;
|
|
193
|
+
readonly max: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum value for range filters">]>;
|
|
194
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
195
|
+
min: number;
|
|
196
|
+
max: number;
|
|
197
|
+
}, "Schema for range filter options (e.g., price slider).\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
|
|
198
|
+
min: number;
|
|
199
|
+
max: number;
|
|
200
|
+
}[], "List of available options for this filter">]>;
|
|
201
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
202
|
+
type: "range";
|
|
203
|
+
name: string;
|
|
204
|
+
code: string;
|
|
205
|
+
options: {
|
|
206
|
+
min: number;
|
|
207
|
+
max: number;
|
|
208
|
+
}[];
|
|
209
|
+
}, "Schema for range filters (e.g., price slider).\nUse this in discriminatedUnion-based filter schemas.">]>, _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
210
|
+
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">]>;
|
|
211
|
+
readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
|
|
212
|
+
readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
|
|
213
|
+
readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
214
|
+
readonly label: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display label for the filter option">]>;
|
|
215
|
+
readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Value for the filter option">]>;
|
|
216
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
217
|
+
label: string;
|
|
218
|
+
value: number;
|
|
219
|
+
}, "Schema for category/brand filter options.\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
|
|
220
|
+
label: string;
|
|
221
|
+
value: number;
|
|
222
|
+
}[], "List of available options for this filter">]>;
|
|
223
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
224
|
+
type: "category" | "alphabetic_search_list";
|
|
225
|
+
name: string;
|
|
226
|
+
code: string;
|
|
227
|
+
options: {
|
|
228
|
+
label: string;
|
|
229
|
+
value: number;
|
|
230
|
+
}[];
|
|
231
|
+
}, "Schema for category/brand filters.\nUse this in discriminatedUnion-based filter schemas.">]>], undefined>, _$valibot.DescriptionAction<{
|
|
232
|
+
type: "category" | "alphabetic_search_list";
|
|
233
|
+
name: string;
|
|
234
|
+
code: string;
|
|
235
|
+
options: {
|
|
236
|
+
label: string;
|
|
237
|
+
value: number;
|
|
238
|
+
}[];
|
|
239
|
+
} | {
|
|
240
|
+
type: "range";
|
|
241
|
+
name: string;
|
|
242
|
+
code: string;
|
|
243
|
+
options: {
|
|
244
|
+
min: number;
|
|
245
|
+
max: number;
|
|
246
|
+
}[];
|
|
247
|
+
}, "Union filter schema that can be either range or category filter.\nThis is the recommended pattern for type-safe filters.">]>, undefined>, _$valibot.DescriptionAction<({
|
|
248
|
+
type: "category" | "alphabetic_search_list";
|
|
249
|
+
name: string;
|
|
250
|
+
code: string;
|
|
251
|
+
options: {
|
|
252
|
+
label: string;
|
|
253
|
+
value: number;
|
|
254
|
+
}[];
|
|
255
|
+
} | {
|
|
256
|
+
type: "range";
|
|
257
|
+
name: string;
|
|
258
|
+
code: string;
|
|
259
|
+
options: {
|
|
260
|
+
min: number;
|
|
261
|
+
max: number;
|
|
262
|
+
}[];
|
|
263
|
+
})[], "List of applicable filters">]>;
|
|
264
|
+
readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
265
|
+
readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
|
|
266
|
+
readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
|
|
267
|
+
readonly imageUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the full-size image">]>;
|
|
268
|
+
readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Full display name of the product">]>;
|
|
269
|
+
readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief description of the product">]>;
|
|
270
|
+
readonly thumbnailUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the small preview image">]>;
|
|
271
|
+
readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
|
|
272
|
+
readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
|
|
273
|
+
readonly inStock: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the item is in stock">]>;
|
|
274
|
+
readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
|
|
275
|
+
readonly stockAvailability: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
276
|
+
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\")">]>;
|
|
277
|
+
readonly svg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "SVG icon representing stock status">]>;
|
|
278
|
+
readonly text: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized text describing stock status (e.g., \"В наличии - осталось всего 16 штук\")">]>;
|
|
279
|
+
readonly maxQty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum quantity available">]>;
|
|
280
|
+
readonly maxQtyReason: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized reason text for quantity limit (e.g., \"В наличии только 16 штук\")">]>;
|
|
281
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
282
|
+
type: "stock";
|
|
283
|
+
svg: string | undefined;
|
|
284
|
+
text: string;
|
|
285
|
+
maxQty: number;
|
|
286
|
+
maxQtyReason: string;
|
|
287
|
+
}, "Schema for stock availability information.">]>>, _$valibot.DescriptionAction<{
|
|
288
|
+
type: "stock";
|
|
289
|
+
svg: string | undefined;
|
|
290
|
+
text: string;
|
|
291
|
+
maxQty: number;
|
|
292
|
+
maxQtyReason: string;
|
|
293
|
+
} | undefined, "Stock availability details">]>;
|
|
294
|
+
readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the product is on promotion">]>;
|
|
295
|
+
readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
|
|
296
|
+
readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\")">]>;
|
|
297
|
+
readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
|
|
298
|
+
readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
|
|
299
|
+
readonly moderationStatus: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Moderation status code">]>;
|
|
300
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
301
|
+
productId: number;
|
|
302
|
+
skuId: number;
|
|
303
|
+
imageUrl: string;
|
|
304
|
+
name: string;
|
|
305
|
+
shortDescription: string;
|
|
306
|
+
thumbnailUrl: string;
|
|
307
|
+
originalPrice: number;
|
|
308
|
+
price: number;
|
|
309
|
+
inStock: boolean;
|
|
310
|
+
qty: number;
|
|
311
|
+
stockAvailability: {
|
|
312
|
+
type: "stock";
|
|
313
|
+
svg: string | undefined;
|
|
314
|
+
text: string;
|
|
315
|
+
maxQty: number;
|
|
316
|
+
maxQtyReason: string;
|
|
317
|
+
} | undefined;
|
|
318
|
+
isPromo: boolean;
|
|
319
|
+
promoName: string | undefined;
|
|
320
|
+
qtyPurchasedInfo: string | undefined;
|
|
321
|
+
rating: number | undefined;
|
|
322
|
+
scoreQuantity: number | undefined;
|
|
323
|
+
moderationStatus: number;
|
|
324
|
+
}, "Product card returned by the shop products endpoint.">]>, undefined>, _$valibot.DescriptionAction<{
|
|
325
|
+
productId: number;
|
|
326
|
+
skuId: number;
|
|
327
|
+
imageUrl: string;
|
|
328
|
+
name: string;
|
|
329
|
+
shortDescription: string;
|
|
330
|
+
thumbnailUrl: string;
|
|
331
|
+
originalPrice: number;
|
|
332
|
+
price: number;
|
|
333
|
+
inStock: boolean;
|
|
334
|
+
qty: number;
|
|
335
|
+
stockAvailability: {
|
|
336
|
+
type: "stock";
|
|
337
|
+
svg: string | undefined;
|
|
338
|
+
text: string;
|
|
339
|
+
maxQty: number;
|
|
340
|
+
maxQtyReason: string;
|
|
341
|
+
} | undefined;
|
|
342
|
+
isPromo: boolean;
|
|
343
|
+
promoName: string | undefined;
|
|
344
|
+
qtyPurchasedInfo: string | undefined;
|
|
345
|
+
rating: number | undefined;
|
|
346
|
+
scoreQuantity: number | undefined;
|
|
347
|
+
moderationStatus: number;
|
|
348
|
+
}[], "List of product items">]>;
|
|
349
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
350
|
+
pageNumber: number;
|
|
351
|
+
totalPages: number;
|
|
352
|
+
totalCount: number;
|
|
353
|
+
hasPreviousPage: boolean;
|
|
354
|
+
hasNextPage: boolean;
|
|
355
|
+
filters: ({
|
|
356
|
+
type: "category" | "alphabetic_search_list";
|
|
357
|
+
name: string;
|
|
358
|
+
code: string;
|
|
359
|
+
options: {
|
|
360
|
+
label: string;
|
|
361
|
+
value: number;
|
|
362
|
+
}[];
|
|
363
|
+
} | {
|
|
364
|
+
type: "range";
|
|
365
|
+
name: string;
|
|
366
|
+
code: string;
|
|
367
|
+
options: {
|
|
368
|
+
min: number;
|
|
369
|
+
max: number;
|
|
370
|
+
}[];
|
|
371
|
+
})[];
|
|
372
|
+
items: {
|
|
373
|
+
productId: number;
|
|
374
|
+
skuId: number;
|
|
375
|
+
imageUrl: string;
|
|
376
|
+
name: string;
|
|
377
|
+
shortDescription: string;
|
|
378
|
+
thumbnailUrl: string;
|
|
379
|
+
originalPrice: number;
|
|
380
|
+
price: number;
|
|
381
|
+
inStock: boolean;
|
|
382
|
+
qty: number;
|
|
383
|
+
stockAvailability: {
|
|
384
|
+
type: "stock";
|
|
385
|
+
svg: string | undefined;
|
|
386
|
+
text: string;
|
|
387
|
+
maxQty: number;
|
|
388
|
+
maxQtyReason: string;
|
|
389
|
+
} | undefined;
|
|
390
|
+
isPromo: boolean;
|
|
391
|
+
promoName: string | undefined;
|
|
392
|
+
qtyPurchasedInfo: string | undefined;
|
|
393
|
+
rating: number | undefined;
|
|
394
|
+
scoreQuantity: number | undefined;
|
|
395
|
+
moderationStatus: number;
|
|
396
|
+
}[];
|
|
397
|
+
}, "Paginated shop product response with filters, product cards, and pagination metadata.">]>>;
|
|
398
|
+
}>;
|
|
399
|
+
};
|
|
400
|
+
//#endregion
|
|
401
|
+
export { shopsOperations };
|
|
402
|
+
//# sourceMappingURL=operations.d.mts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { shopsGetOperation } from "./get/operation.mjs";
|
|
2
|
+
import { shopsGetMonobrandOperation } from "./get-monobrand/operation.mjs";
|
|
3
|
+
import { shopsGetProductsOperation } from "./get-products/operation.mjs";
|
|
4
|
+
//#region src/api/shops/operations.ts
|
|
5
|
+
const shopsOperations = {
|
|
6
|
+
get: shopsGetOperation,
|
|
7
|
+
getMonobrand: shopsGetMonobrandOperation,
|
|
8
|
+
getProducts: shopsGetProductsOperation
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { shopsOperations };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=operations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.mjs","names":[],"sources":["../../../src/api/shops/operations.ts"],"sourcesContent":["import { shopsGetOperation } from \"./get\";\nimport { shopsGetMonobrandOperation } from \"./get-monobrand\";\nimport { shopsGetProductsOperation } from \"./get-products\";\n\nexport const shopsOperations = {\n\tget: shopsGetOperation,\n\tgetMonobrand: shopsGetMonobrandOperation,\n\tgetProducts: shopsGetProductsOperation,\n} as const;\n"],"mappings":";;;;AAIA,MAAa,kBAAkB;CAC9B,KAAK;CACL,cAAc;CACd,aAAa;CACb"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_define = require("../../../http-operation/define.cjs");
|
|
2
|
+
const require_response_helpers = require("../../../http-operation/response-helpers.cjs");
|
|
3
|
+
const require_request = require("./request.cjs");
|
|
4
|
+
const require_responses = require("./responses.cjs");
|
|
5
|
+
//#region src/api/sku/get/operation.ts
|
|
6
|
+
const skuGetOperation = require_define.defineHttpOperation({
|
|
7
|
+
domain: "sku",
|
|
8
|
+
action: "get",
|
|
9
|
+
auth: "none",
|
|
10
|
+
safety: "read",
|
|
11
|
+
summary: "Retrieve SKU details.",
|
|
12
|
+
description: "Returns the full product detail payload for a SKU, including media, pricing, attributes, shop info, categories, and tags.",
|
|
13
|
+
request: {
|
|
14
|
+
method: "GET",
|
|
15
|
+
path: {
|
|
16
|
+
template: "/api/v2/sku/{skuId}",
|
|
17
|
+
schema: require_request.skuGetRequestPathSchema
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
responses: { 200: require_response_helpers.response({ schema: require_responses.skuGetResponse200Schema }) }
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.skuGetOperation = skuGetOperation;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=operation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.cjs","names":["defineHttpOperation","skuGetRequestPathSchema","response","skuGetResponse200Schema"],"sources":["../../../../src/api/sku/get/operation.ts"],"sourcesContent":["import { defineHttpOperation } from \"../../../http-operation/define\";\nimport { response } from \"../../../http-operation/response-helpers\";\nimport { skuGetRequestPathSchema } from \"./request\";\nimport { skuGetResponse200Schema } from \"./responses\";\n\nexport const skuGetOperation = defineHttpOperation({\n\tdomain: \"sku\",\n\taction: \"get\",\n\tauth: \"none\",\n\tsafety: \"read\",\n\tsummary: \"Retrieve SKU details.\",\n\tdescription:\n\t\t\"Returns the full product detail payload for a SKU, including media, pricing, attributes, shop info, categories, and tags.\",\n\trequest: {\n\t\tmethod: \"GET\",\n\t\tpath: {\n\t\t\ttemplate: \"/api/v2/sku/{skuId}\",\n\t\t\tschema: skuGetRequestPathSchema,\n\t\t},\n\t},\n\tresponses: {\n\t\t200: response({\n\t\t\tschema: skuGetResponse200Schema,\n\t\t}),\n\t},\n});\n"],"mappings":";;;;;AAKA,MAAa,kBAAkBA,eAAAA,oBAAoB;CAClD,QAAQ;CACR,QAAQ;CACR,MAAM;CACN,QAAQ;CACR,SAAS;CACT,aACC;CACD,SAAS;EACR,QAAQ;EACR,MAAM;GACL,UAAU;GACV,QAAQC,gBAAAA;GACR;EACD;CACD,WAAW,EACV,KAAKC,yBAAAA,SAAS,EACb,QAAQC,kBAAAA,yBACR,CAAC,EACF;CACD,CAAC"}
|