@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.
- 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 -1875
- package/dist/index.d.cts +100 -5571
- package/dist/index.d.mts +100 -5571
- package/dist/index.mjs +66 -1753
- 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 +45 -34
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Simplify } from "../../../type-utils/simplify.cjs";
|
|
2
|
+
import { HttpOperationDef, HttpOperationJsonResponse } from "../../../http-operation/types.cjs";
|
|
3
|
+
import * as _$valibot from "valibot";
|
|
4
|
+
|
|
5
|
+
//#region src/api/products/get-sort-options/operation.d.ts
|
|
6
|
+
declare const productsGetSortOptionsOperation: HttpOperationDef<"products", "getSortOptions", Simplify<Omit<{
|
|
7
|
+
readonly method: "GET";
|
|
8
|
+
readonly path: "/api/product/sort-options";
|
|
9
|
+
readonly query: {
|
|
10
|
+
readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
11
|
+
readonly IsSearch: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.BooleanSchema<undefined>, undefined>, _$valibot.DescriptionAction<boolean | null | undefined, "Indicates if the context is a search result">]>;
|
|
12
|
+
readonly IsPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.BooleanSchema<undefined>, undefined>, _$valibot.DescriptionAction<boolean | null | undefined, "Indicates if the context is a promotional listing">]>;
|
|
13
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
14
|
+
IsSearch?: boolean | null | undefined;
|
|
15
|
+
IsPromo?: boolean | null | undefined;
|
|
16
|
+
}, "Parameters for fetching product sort options.">]>;
|
|
17
|
+
};
|
|
18
|
+
}, "path"> & {
|
|
19
|
+
readonly path: {
|
|
20
|
+
readonly template: "/api/product/sort-options";
|
|
21
|
+
readonly schema?: undefined;
|
|
22
|
+
};
|
|
23
|
+
}>, {
|
|
24
|
+
readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
25
|
+
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\"">]>;
|
|
26
|
+
readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the sort option">]>;
|
|
27
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
28
|
+
key: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc";
|
|
29
|
+
name: string;
|
|
30
|
+
}, "Sort option returned by product listing endpoints.">]>, undefined>, _$valibot.DescriptionAction<{
|
|
31
|
+
key: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc";
|
|
32
|
+
name: string;
|
|
33
|
+
}[], "List of sort options supported by product listing endpoints.">]>>;
|
|
34
|
+
}>;
|
|
35
|
+
//#endregion
|
|
36
|
+
export { productsGetSortOptionsOperation };
|
|
37
|
+
//# sourceMappingURL=operation.d.cts.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Simplify } from "../../../type-utils/simplify.mjs";
|
|
2
|
+
import { HttpOperationDef, HttpOperationJsonResponse } from "../../../http-operation/types.mjs";
|
|
3
|
+
import * as _$valibot from "valibot";
|
|
4
|
+
|
|
5
|
+
//#region src/api/products/get-sort-options/operation.d.ts
|
|
6
|
+
declare const productsGetSortOptionsOperation: HttpOperationDef<"products", "getSortOptions", Simplify<Omit<{
|
|
7
|
+
readonly method: "GET";
|
|
8
|
+
readonly path: "/api/product/sort-options";
|
|
9
|
+
readonly query: {
|
|
10
|
+
readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
11
|
+
readonly IsSearch: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.BooleanSchema<undefined>, undefined>, _$valibot.DescriptionAction<boolean | null | undefined, "Indicates if the context is a search result">]>;
|
|
12
|
+
readonly IsPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.BooleanSchema<undefined>, undefined>, _$valibot.DescriptionAction<boolean | null | undefined, "Indicates if the context is a promotional listing">]>;
|
|
13
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
14
|
+
IsSearch?: boolean | null | undefined;
|
|
15
|
+
IsPromo?: boolean | null | undefined;
|
|
16
|
+
}, "Parameters for fetching product sort options.">]>;
|
|
17
|
+
};
|
|
18
|
+
}, "path"> & {
|
|
19
|
+
readonly path: {
|
|
20
|
+
readonly template: "/api/product/sort-options";
|
|
21
|
+
readonly schema?: undefined;
|
|
22
|
+
};
|
|
23
|
+
}>, {
|
|
24
|
+
readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
25
|
+
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\"">]>;
|
|
26
|
+
readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the sort option">]>;
|
|
27
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
28
|
+
key: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc";
|
|
29
|
+
name: string;
|
|
30
|
+
}, "Sort option returned by product listing endpoints.">]>, undefined>, _$valibot.DescriptionAction<{
|
|
31
|
+
key: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc";
|
|
32
|
+
name: string;
|
|
33
|
+
}[], "List of sort options supported by product listing endpoints.">]>>;
|
|
34
|
+
}>;
|
|
35
|
+
//#endregion
|
|
36
|
+
export { productsGetSortOptionsOperation };
|
|
37
|
+
//# sourceMappingURL=operation.d.mts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineHttpOperation } from "../../../http-operation/define.mjs";
|
|
2
|
+
import { response } from "../../../http-operation/response-helpers.mjs";
|
|
3
|
+
import { productsGetSortOptionsRequestQuerySchema } from "./request.mjs";
|
|
4
|
+
import { productsGetSortOptionsResponse200Schema } from "./responses.mjs";
|
|
5
|
+
//#region src/api/products/get-sort-options/operation.ts
|
|
6
|
+
const productsGetSortOptionsOperation = defineHttpOperation({
|
|
7
|
+
domain: "products",
|
|
8
|
+
action: "getSortOptions",
|
|
9
|
+
auth: "none",
|
|
10
|
+
safety: "read",
|
|
11
|
+
summary: "Retrieve available product sort options.",
|
|
12
|
+
description: "Returns sort keys and localized labels supported by product listing endpoints.",
|
|
13
|
+
request: {
|
|
14
|
+
method: "GET",
|
|
15
|
+
path: "/api/product/sort-options",
|
|
16
|
+
query: { schema: productsGetSortOptionsRequestQuerySchema }
|
|
17
|
+
},
|
|
18
|
+
responses: { 200: response({ schema: productsGetSortOptionsResponse200Schema }) }
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { productsGetSortOptionsOperation };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=operation.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.mjs","names":[],"sources":["../../../../src/api/products/get-sort-options/operation.ts"],"sourcesContent":["import { defineHttpOperation } from \"../../../http-operation/define\";\nimport { response } from \"../../../http-operation/response-helpers\";\nimport { productsGetSortOptionsRequestQuerySchema } from \"./request\";\nimport { productsGetSortOptionsResponse200Schema } from \"./responses\";\n\nexport const productsGetSortOptionsOperation = defineHttpOperation({\n\tdomain: \"products\",\n\taction: \"getSortOptions\",\n\tauth: \"none\",\n\tsafety: \"read\",\n\tsummary: \"Retrieve available product sort options.\",\n\tdescription:\n\t\t\"Returns sort keys and localized labels supported by product listing endpoints.\",\n\trequest: {\n\t\tmethod: \"GET\",\n\t\tpath: \"/api/product/sort-options\",\n\t\tquery: {\n\t\t\tschema: productsGetSortOptionsRequestQuerySchema,\n\t\t},\n\t},\n\tresponses: {\n\t\t200: response({\n\t\t\tschema: productsGetSortOptionsResponse200Schema,\n\t\t}),\n\t},\n});\n"],"mappings":";;;;;AAKA,MAAa,kCAAkC,oBAAoB;CAClE,QAAQ;CACR,QAAQ;CACR,MAAM;CACN,QAAQ;CACR,SAAS;CACT,aACC;CACD,SAAS;EACR,QAAQ;EACR,MAAM;EACN,OAAO,EACN,QAAQ,0CACR;EACD;CACD,WAAW,EACV,KAAK,SAAS,EACb,QAAQ,yCACR,CAAC,EACF;CACD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
let valibot = require("valibot");
|
|
3
|
+
valibot = require_runtime.__toESM(valibot);
|
|
4
|
+
//#region src/api/products/get-sort-options/request.ts
|
|
5
|
+
const productsGetSortOptionsRequestQuerySchema = valibot.pipe(valibot.object({
|
|
6
|
+
IsSearch: valibot.pipe(valibot.nullish(valibot.boolean()), valibot.description("Indicates if the context is a search result")),
|
|
7
|
+
IsPromo: valibot.pipe(valibot.nullish(valibot.boolean()), valibot.description("Indicates if the context is a promotional listing"))
|
|
8
|
+
}), valibot.description("Parameters for fetching product sort options."));
|
|
9
|
+
//#endregion
|
|
10
|
+
exports.productsGetSortOptionsRequestQuerySchema = productsGetSortOptionsRequestQuerySchema;
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=request.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.cjs","names":["v"],"sources":["../../../../src/api/products/get-sort-options/request.ts"],"sourcesContent":["import * as v from \"valibot\";\n\nexport const productsGetSortOptionsRequestQuerySchema = v.pipe(\n\tv.object({\n\t\tIsSearch: v.pipe(\n\t\t\tv.nullish(v.boolean()),\n\t\t\tv.description(\"Indicates if the context is a search result\"),\n\t\t),\n\t\tIsPromo: v.pipe(\n\t\t\tv.nullish(v.boolean()),\n\t\t\tv.description(\"Indicates if the context is a promotional listing\"),\n\t\t),\n\t}),\n\tv.description(\"Parameters for fetching product sort options.\"),\n);\n"],"mappings":";;;;AAEA,MAAa,2CAA2CA,QAAE,KACzDA,QAAE,OAAO;CACR,UAAUA,QAAE,KACXA,QAAE,QAAQA,QAAE,SAAS,CAAC,EACtBA,QAAE,YAAY,8CAA8C,CAC5D;CACD,SAASA,QAAE,KACVA,QAAE,QAAQA,QAAE,SAAS,CAAC,EACtBA,QAAE,YAAY,oDAAoD,CAClE;CACD,CAAC,EACFA,QAAE,YAAY,gDAAgD,CAC9D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
//#region src/api/products/get-sort-options/request.ts
|
|
3
|
+
const productsGetSortOptionsRequestQuerySchema = v.pipe(v.object({
|
|
4
|
+
IsSearch: v.pipe(v.nullish(v.boolean()), v.description("Indicates if the context is a search result")),
|
|
5
|
+
IsPromo: v.pipe(v.nullish(v.boolean()), v.description("Indicates if the context is a promotional listing"))
|
|
6
|
+
}), v.description("Parameters for fetching product sort options."));
|
|
7
|
+
//#endregion
|
|
8
|
+
export { productsGetSortOptionsRequestQuerySchema };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=request.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.mjs","names":[],"sources":["../../../../src/api/products/get-sort-options/request.ts"],"sourcesContent":["import * as v from \"valibot\";\n\nexport const productsGetSortOptionsRequestQuerySchema = v.pipe(\n\tv.object({\n\t\tIsSearch: v.pipe(\n\t\t\tv.nullish(v.boolean()),\n\t\t\tv.description(\"Indicates if the context is a search result\"),\n\t\t),\n\t\tIsPromo: v.pipe(\n\t\t\tv.nullish(v.boolean()),\n\t\t\tv.description(\"Indicates if the context is a promotional listing\"),\n\t\t),\n\t}),\n\tv.description(\"Parameters for fetching product sort options.\"),\n);\n"],"mappings":";;AAEA,MAAa,2CAA2C,EAAE,KACzD,EAAE,OAAO;CACR,UAAU,EAAE,KACX,EAAE,QAAQ,EAAE,SAAS,CAAC,EACtB,EAAE,YAAY,8CAA8C,CAC5D;CACD,SAAS,EAAE,KACV,EAAE,QAAQ,EAAE,SAAS,CAAC,EACtB,EAAE,YAAY,oDAAoD,CAClE;CACD,CAAC,EACF,EAAE,YAAY,gDAAgD,CAC9D"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
|
|
2
|
+
let valibot = require("valibot");
|
|
3
|
+
valibot = require_runtime.__toESM(valibot);
|
|
4
|
+
//#region src/api/products/get-sort-options/responses.ts
|
|
5
|
+
const productsGetSortOptionsSortKeySchema = valibot.pipe(valibot.union([
|
|
6
|
+
valibot.literal("byRelevance"),
|
|
7
|
+
valibot.literal("popularity"),
|
|
8
|
+
valibot.literal("highestRated"),
|
|
9
|
+
valibot.literal("new"),
|
|
10
|
+
valibot.literal("price"),
|
|
11
|
+
valibot.literal("priceDesc")
|
|
12
|
+
]), valibot.description("Type union for product sort keys"));
|
|
13
|
+
const productsGetSortOptionsOptionSchema = valibot.pipe(valibot.object({
|
|
14
|
+
key: valibot.pipe(productsGetSortOptionsSortKeySchema, valibot.description("Sort key - \"popularity\", \"highestRated\", \"new\", \"price\", or \"priceDesc\"")),
|
|
15
|
+
name: valibot.pipe(valibot.string(), valibot.description("Localized display name of the sort option"))
|
|
16
|
+
}), valibot.description("Sort option returned by product listing endpoints."));
|
|
17
|
+
const productsGetSortOptionsResponse200Schema = valibot.pipe(valibot.array(productsGetSortOptionsOptionSchema), valibot.description("List of sort options supported by product listing endpoints."));
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.productsGetSortOptionsResponse200Schema = productsGetSortOptionsResponse200Schema;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=responses.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responses.cjs","names":["v"],"sources":["../../../../src/api/products/get-sort-options/responses.ts"],"sourcesContent":["import * as v from \"valibot\";\n\nexport const productsGetSortOptionsSortKeySchema = v.pipe(\n\tv.union([\n\t\tv.literal(\"byRelevance\"),\n\t\tv.literal(\"popularity\"),\n\t\tv.literal(\"highestRated\"),\n\t\tv.literal(\"new\"),\n\t\tv.literal(\"price\"),\n\t\tv.literal(\"priceDesc\"),\n\t]),\n\tv.description(\"Type union for product sort keys\"),\n);\nexport const productsGetSortOptionsOptionSchema = v.pipe(\n\tv.object({\n\t\tkey: v.pipe(\n\t\t\tproductsGetSortOptionsSortKeySchema,\n\t\t\tv.description(\n\t\t\t\t'Sort key - \"popularity\", \"highestRated\", \"new\", \"price\", or \"priceDesc\"',\n\t\t\t),\n\t\t),\n\t\tname: v.pipe(\n\t\t\tv.string(),\n\t\t\tv.description(\"Localized display name of the sort option\"),\n\t\t),\n\t}),\n\tv.description(\"Sort option returned by product listing endpoints.\"),\n);\nexport const productsGetSortOptionsResponse200Schema = v.pipe(\n\tv.array(productsGetSortOptionsOptionSchema),\n\tv.description(\"List of sort options supported by product listing endpoints.\"),\n);\n"],"mappings":";;;;AAEA,MAAa,sCAAsCA,QAAE,KACpDA,QAAE,MAAM;CACPA,QAAE,QAAQ,cAAc;CACxBA,QAAE,QAAQ,aAAa;CACvBA,QAAE,QAAQ,eAAe;CACzBA,QAAE,QAAQ,MAAM;CAChBA,QAAE,QAAQ,QAAQ;CAClBA,QAAE,QAAQ,YAAY;CACtB,CAAC,EACFA,QAAE,YAAY,mCAAmC,CACjD;AACD,MAAa,qCAAqCA,QAAE,KACnDA,QAAE,OAAO;CACR,KAAKA,QAAE,KACN,qCACAA,QAAE,YACD,oFACA,CACD;CACD,MAAMA,QAAE,KACPA,QAAE,QAAQ,EACVA,QAAE,YAAY,4CAA4C,CAC1D;CACD,CAAC,EACFA,QAAE,YAAY,qDAAqD,CACnE;AACD,MAAa,0CAA0CA,QAAE,KACxDA,QAAE,MAAM,mCAAmC,EAC3CA,QAAE,YAAY,+DAA+D,CAC7E"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
//#region src/api/products/get-sort-options/responses.ts
|
|
3
|
+
const productsGetSortOptionsSortKeySchema = v.pipe(v.union([
|
|
4
|
+
v.literal("byRelevance"),
|
|
5
|
+
v.literal("popularity"),
|
|
6
|
+
v.literal("highestRated"),
|
|
7
|
+
v.literal("new"),
|
|
8
|
+
v.literal("price"),
|
|
9
|
+
v.literal("priceDesc")
|
|
10
|
+
]), v.description("Type union for product sort keys"));
|
|
11
|
+
const productsGetSortOptionsOptionSchema = v.pipe(v.object({
|
|
12
|
+
key: v.pipe(productsGetSortOptionsSortKeySchema, v.description("Sort key - \"popularity\", \"highestRated\", \"new\", \"price\", or \"priceDesc\"")),
|
|
13
|
+
name: v.pipe(v.string(), v.description("Localized display name of the sort option"))
|
|
14
|
+
}), v.description("Sort option returned by product listing endpoints."));
|
|
15
|
+
const productsGetSortOptionsResponse200Schema = v.pipe(v.array(productsGetSortOptionsOptionSchema), v.description("List of sort options supported by product listing endpoints."));
|
|
16
|
+
//#endregion
|
|
17
|
+
export { productsGetSortOptionsResponse200Schema };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=responses.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responses.mjs","names":[],"sources":["../../../../src/api/products/get-sort-options/responses.ts"],"sourcesContent":["import * as v from \"valibot\";\n\nexport const productsGetSortOptionsSortKeySchema = v.pipe(\n\tv.union([\n\t\tv.literal(\"byRelevance\"),\n\t\tv.literal(\"popularity\"),\n\t\tv.literal(\"highestRated\"),\n\t\tv.literal(\"new\"),\n\t\tv.literal(\"price\"),\n\t\tv.literal(\"priceDesc\"),\n\t]),\n\tv.description(\"Type union for product sort keys\"),\n);\nexport const productsGetSortOptionsOptionSchema = v.pipe(\n\tv.object({\n\t\tkey: v.pipe(\n\t\t\tproductsGetSortOptionsSortKeySchema,\n\t\t\tv.description(\n\t\t\t\t'Sort key - \"popularity\", \"highestRated\", \"new\", \"price\", or \"priceDesc\"',\n\t\t\t),\n\t\t),\n\t\tname: v.pipe(\n\t\t\tv.string(),\n\t\t\tv.description(\"Localized display name of the sort option\"),\n\t\t),\n\t}),\n\tv.description(\"Sort option returned by product listing endpoints.\"),\n);\nexport const productsGetSortOptionsResponse200Schema = v.pipe(\n\tv.array(productsGetSortOptionsOptionSchema),\n\tv.description(\"List of sort options supported by product listing endpoints.\"),\n);\n"],"mappings":";;AAEA,MAAa,sCAAsC,EAAE,KACpD,EAAE,MAAM;CACP,EAAE,QAAQ,cAAc;CACxB,EAAE,QAAQ,aAAa;CACvB,EAAE,QAAQ,eAAe;CACzB,EAAE,QAAQ,MAAM;CAChB,EAAE,QAAQ,QAAQ;CAClB,EAAE,QAAQ,YAAY;CACtB,CAAC,EACF,EAAE,YAAY,mCAAmC,CACjD;AACD,MAAa,qCAAqC,EAAE,KACnD,EAAE,OAAO;CACR,KAAK,EAAE,KACN,qCACA,EAAE,YACD,oFACA,CACD;CACD,MAAM,EAAE,KACP,EAAE,QAAQ,EACV,EAAE,YAAY,4CAA4C,CAC1D;CACD,CAAC,EACF,EAAE,YAAY,qDAAqD,CACnE;AACD,MAAa,0CAA0C,EAAE,KACxD,EAAE,MAAM,mCAAmC,EAC3C,EAAE,YAAY,+DAA+D,CAC7E"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpOperationErrorBody, HttpOperationErrorStatus, HttpOperationPreferredRequest, HttpOperationRequestInput, HttpOperationResponseByStatus, HttpOperationResponseStatus, HttpOperationSuccessResponse } from "../../../http-operation/inference.cjs";
|
|
2
|
+
import { OperationApiError } from "../../../http-operation/api-error.cjs";
|
|
3
|
+
import { productsGetSortOptionsOperation } from "./operation.cjs";
|
|
4
|
+
|
|
5
|
+
//#region src/api/products/get-sort-options/types.d.ts
|
|
6
|
+
type ProductsGetSortOptionsOperation = typeof productsGetSortOptionsOperation;
|
|
7
|
+
type ProductsGetSortOptionsRequest = HttpOperationPreferredRequest<ProductsGetSortOptionsOperation>;
|
|
8
|
+
type ProductsGetSortOptionsRequestParts = HttpOperationRequestInput<ProductsGetSortOptionsOperation>;
|
|
9
|
+
type ProductsGetSortOptionsSuccessResponse = HttpOperationSuccessResponse<ProductsGetSortOptionsOperation>;
|
|
10
|
+
type ProductsGetSortOptionsResponseStatus = HttpOperationResponseStatus<ProductsGetSortOptionsOperation>;
|
|
11
|
+
type ProductsGetSortOptionsErrorStatus = HttpOperationErrorStatus<ProductsGetSortOptionsOperation>;
|
|
12
|
+
type ProductsGetSortOptionsResponseByStatus<TStatus extends ProductsGetSortOptionsResponseStatus = ProductsGetSortOptionsResponseStatus> = HttpOperationResponseByStatus<ProductsGetSortOptionsOperation, TStatus>;
|
|
13
|
+
type ProductsGetSortOptionsApiError<TStatus extends ProductsGetSortOptionsErrorStatus = ProductsGetSortOptionsErrorStatus> = OperationApiError<ProductsGetSortOptionsOperation, TStatus>;
|
|
14
|
+
type ProductsGetSortOptionsErrorResponseBody<TStatus extends ProductsGetSortOptionsErrorStatus = ProductsGetSortOptionsErrorStatus> = HttpOperationErrorBody<ProductsGetSortOptionsOperation, TStatus>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ProductsGetSortOptionsApiError, ProductsGetSortOptionsErrorResponseBody, ProductsGetSortOptionsErrorStatus, ProductsGetSortOptionsOperation, ProductsGetSortOptionsRequest, ProductsGetSortOptionsRequestParts, ProductsGetSortOptionsResponseByStatus, ProductsGetSortOptionsResponseStatus, ProductsGetSortOptionsSuccessResponse };
|
|
17
|
+
//# sourceMappingURL=types.d.cts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpOperationErrorBody, HttpOperationErrorStatus, HttpOperationPreferredRequest, HttpOperationRequestInput, HttpOperationResponseByStatus, HttpOperationResponseStatus, HttpOperationSuccessResponse } from "../../../http-operation/inference.mjs";
|
|
2
|
+
import { OperationApiError } from "../../../http-operation/api-error.mjs";
|
|
3
|
+
import { productsGetSortOptionsOperation } from "./operation.mjs";
|
|
4
|
+
|
|
5
|
+
//#region src/api/products/get-sort-options/types.d.ts
|
|
6
|
+
type ProductsGetSortOptionsOperation = typeof productsGetSortOptionsOperation;
|
|
7
|
+
type ProductsGetSortOptionsRequest = HttpOperationPreferredRequest<ProductsGetSortOptionsOperation>;
|
|
8
|
+
type ProductsGetSortOptionsRequestParts = HttpOperationRequestInput<ProductsGetSortOptionsOperation>;
|
|
9
|
+
type ProductsGetSortOptionsSuccessResponse = HttpOperationSuccessResponse<ProductsGetSortOptionsOperation>;
|
|
10
|
+
type ProductsGetSortOptionsResponseStatus = HttpOperationResponseStatus<ProductsGetSortOptionsOperation>;
|
|
11
|
+
type ProductsGetSortOptionsErrorStatus = HttpOperationErrorStatus<ProductsGetSortOptionsOperation>;
|
|
12
|
+
type ProductsGetSortOptionsResponseByStatus<TStatus extends ProductsGetSortOptionsResponseStatus = ProductsGetSortOptionsResponseStatus> = HttpOperationResponseByStatus<ProductsGetSortOptionsOperation, TStatus>;
|
|
13
|
+
type ProductsGetSortOptionsApiError<TStatus extends ProductsGetSortOptionsErrorStatus = ProductsGetSortOptionsErrorStatus> = OperationApiError<ProductsGetSortOptionsOperation, TStatus>;
|
|
14
|
+
type ProductsGetSortOptionsErrorResponseBody<TStatus extends ProductsGetSortOptionsErrorStatus = ProductsGetSortOptionsErrorStatus> = HttpOperationErrorBody<ProductsGetSortOptionsOperation, TStatus>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ProductsGetSortOptionsApiError, ProductsGetSortOptionsErrorResponseBody, ProductsGetSortOptionsErrorStatus, ProductsGetSortOptionsOperation, ProductsGetSortOptionsRequest, ProductsGetSortOptionsRequestParts, ProductsGetSortOptionsResponseByStatus, ProductsGetSortOptionsResponseStatus, ProductsGetSortOptionsSuccessResponse };
|
|
17
|
+
//# sourceMappingURL=types.d.mts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { productsAutocompleteOperation } from "./autocomplete/operation.cjs";
|
|
2
|
+
import { ProductsAutocompleteApiError, ProductsAutocompleteErrorResponseBody, ProductsAutocompleteErrorStatus, ProductsAutocompleteOperation, ProductsAutocompleteRequest, ProductsAutocompleteRequestParts, ProductsAutocompleteResponseByStatus, ProductsAutocompleteResponseStatus, ProductsAutocompleteSuccessResponse } from "./autocomplete/types.cjs";
|
|
3
|
+
import { productsGetSortOptionsOperation } from "./get-sort-options/operation.cjs";
|
|
4
|
+
import { ProductsGetSortOptionsApiError, ProductsGetSortOptionsErrorResponseBody, ProductsGetSortOptionsErrorStatus, ProductsGetSortOptionsOperation, ProductsGetSortOptionsRequest, ProductsGetSortOptionsRequestParts, ProductsGetSortOptionsResponseByStatus, ProductsGetSortOptionsResponseStatus, ProductsGetSortOptionsSuccessResponse } from "./get-sort-options/types.cjs";
|
|
5
|
+
import { productsListOperation } from "./list/operation.cjs";
|
|
6
|
+
import { ProductsListApiError, ProductsListErrorResponseBody, ProductsListErrorStatus, ProductsListOperation, ProductsListRequest, ProductsListRequestParts, ProductsListResponseByStatus, ProductsListResponseStatus, ProductsListSuccessResponse } from "./list/types.cjs";
|
|
7
|
+
import { productsGetReviewsOperation } from "./get-reviews/operation.cjs";
|
|
8
|
+
import { ProductsGetReviewsApiError, ProductsGetReviewsErrorResponseBody, ProductsGetReviewsErrorStatus, ProductsGetReviewsOperation, ProductsGetReviewsRequest, ProductsGetReviewsRequestParts, ProductsGetReviewsResponseByStatus, ProductsGetReviewsResponseStatus, ProductsGetReviewsSuccessResponse } from "./get-reviews/types.cjs";
|
|
9
|
+
import { productsOperations } from "./operations.cjs";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { productsAutocompleteOperation } from "./autocomplete/operation.mjs";
|
|
2
|
+
import { ProductsAutocompleteApiError, ProductsAutocompleteErrorResponseBody, ProductsAutocompleteErrorStatus, ProductsAutocompleteOperation, ProductsAutocompleteRequest, ProductsAutocompleteRequestParts, ProductsAutocompleteResponseByStatus, ProductsAutocompleteResponseStatus, ProductsAutocompleteSuccessResponse } from "./autocomplete/types.mjs";
|
|
3
|
+
import { productsGetSortOptionsOperation } from "./get-sort-options/operation.mjs";
|
|
4
|
+
import { ProductsGetSortOptionsApiError, ProductsGetSortOptionsErrorResponseBody, ProductsGetSortOptionsErrorStatus, ProductsGetSortOptionsOperation, ProductsGetSortOptionsRequest, ProductsGetSortOptionsRequestParts, ProductsGetSortOptionsResponseByStatus, ProductsGetSortOptionsResponseStatus, ProductsGetSortOptionsSuccessResponse } from "./get-sort-options/types.mjs";
|
|
5
|
+
import { productsListOperation } from "./list/operation.mjs";
|
|
6
|
+
import { ProductsListApiError, ProductsListErrorResponseBody, ProductsListErrorStatus, ProductsListOperation, ProductsListRequest, ProductsListRequestParts, ProductsListResponseByStatus, ProductsListResponseStatus, ProductsListSuccessResponse } from "./list/types.mjs";
|
|
7
|
+
import { productsGetReviewsOperation } from "./get-reviews/operation.mjs";
|
|
8
|
+
import { ProductsGetReviewsApiError, ProductsGetReviewsErrorResponseBody, ProductsGetReviewsErrorStatus, ProductsGetReviewsOperation, ProductsGetReviewsRequest, ProductsGetReviewsRequestParts, ProductsGetReviewsResponseByStatus, ProductsGetReviewsResponseStatus, ProductsGetReviewsSuccessResponse } from "./get-reviews/types.mjs";
|
|
9
|
+
import { productsOperations } from "./operations.mjs";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { productsListOperation } from "./operation.cjs";
|
|
2
|
+
import { ProductsListApiError, ProductsListErrorResponseBody, ProductsListErrorStatus, ProductsListOperation, ProductsListRequest, ProductsListRequestParts, ProductsListResponseByStatus, ProductsListResponseStatus, ProductsListSuccessResponse } from "./types.cjs";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { productsListOperation } from "./operation.mjs";
|
|
2
|
+
import { ProductsListApiError, ProductsListErrorResponseBody, ProductsListErrorStatus, ProductsListOperation, ProductsListRequest, ProductsListRequestParts, ProductsListResponseByStatus, ProductsListResponseStatus, ProductsListSuccessResponse } from "./types.mjs";
|
|
@@ -0,0 +1,23 @@
|
|
|
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/products/list/operation.ts
|
|
6
|
+
const productsListOperation = require_define.defineHttpOperation({
|
|
7
|
+
domain: "products",
|
|
8
|
+
action: "list",
|
|
9
|
+
auth: "none",
|
|
10
|
+
safety: "read",
|
|
11
|
+
summary: "Retrieve a filtered product list.",
|
|
12
|
+
description: "Returns a paginated product listing with filters, product cards, and pagination metadata.",
|
|
13
|
+
request: {
|
|
14
|
+
method: "GET",
|
|
15
|
+
path: "/api/v2/product",
|
|
16
|
+
query: { schema: require_request.productsListRequestQuerySchema }
|
|
17
|
+
},
|
|
18
|
+
responses: { 200: require_response_helpers.response({ schema: require_responses.productsListResponse200Schema }) }
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.productsListOperation = productsListOperation;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=operation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.cjs","names":["defineHttpOperation","productsListRequestQuerySchema","response","productsListResponse200Schema"],"sources":["../../../../src/api/products/list/operation.ts"],"sourcesContent":["import { defineHttpOperation } from \"../../../http-operation/define\";\nimport { response } from \"../../../http-operation/response-helpers\";\nimport { productsListRequestQuerySchema } from \"./request\";\nimport { productsListResponse200Schema } from \"./responses\";\n\nexport const productsListOperation = defineHttpOperation({\n\tdomain: \"products\",\n\taction: \"list\",\n\tauth: \"none\",\n\tsafety: \"read\",\n\tsummary: \"Retrieve a filtered product list.\",\n\tdescription:\n\t\t\"Returns a paginated product listing with filters, product cards, and pagination metadata.\",\n\trequest: {\n\t\tmethod: \"GET\",\n\t\tpath: \"/api/v2/product\",\n\t\tquery: {\n\t\t\tschema: productsListRequestQuerySchema,\n\t\t},\n\t},\n\tresponses: {\n\t\t200: response({\n\t\t\tschema: productsListResponse200Schema,\n\t\t}),\n\t},\n});\n"],"mappings":";;;;;AAKA,MAAa,wBAAwBA,eAAAA,oBAAoB;CACxD,QAAQ;CACR,QAAQ;CACR,MAAM;CACN,QAAQ;CACR,SAAS;CACT,aACC;CACD,SAAS;EACR,QAAQ;EACR,MAAM;EACN,OAAO,EACN,QAAQC,gBAAAA,gCACR;EACD;CACD,WAAW,EACV,KAAKC,yBAAAA,SAAS,EACb,QAAQC,kBAAAA,+BACR,CAAC,EACF;CACD,CAAC"}
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
import { Simplify } from "../../../type-utils/simplify.cjs";
|
|
2
|
+
import { HttpOperationDef, HttpOperationJsonResponse } from "../../../http-operation/types.cjs";
|
|
3
|
+
import { NullishToUndefinedSchema } from "../../../schema/nullish.cjs";
|
|
4
|
+
import * as _$valibot from "valibot";
|
|
5
|
+
|
|
6
|
+
//#region src/api/products/list/operation.d.ts
|
|
7
|
+
declare const productsListOperation: HttpOperationDef<"products", "list", Simplify<Omit<{
|
|
8
|
+
readonly method: "GET";
|
|
9
|
+
readonly path: "/api/v2/product";
|
|
10
|
+
readonly query: {
|
|
11
|
+
readonly schema: _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
12
|
+
readonly query: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string | null | undefined, "Search query text used to filter products">]>;
|
|
13
|
+
readonly seed: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Random seed for consistent pagination">]>;
|
|
14
|
+
readonly pageNumber: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of the page to retrieve">]>;
|
|
15
|
+
readonly pageSize: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Number of products per page">]>;
|
|
16
|
+
readonly categoryId: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Filter products by category ID">]>;
|
|
17
|
+
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">]>;
|
|
18
|
+
readonly brandIds: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Filter products by brand ID">]>;
|
|
19
|
+
readonly minPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Minimum price filter">]>;
|
|
20
|
+
readonly maxPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NullishSchema<_$valibot.NumberSchema<undefined>, undefined>, _$valibot.DescriptionAction<number | null | undefined, "Maximum price filter">]>;
|
|
21
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
22
|
+
query?: string | null | undefined;
|
|
23
|
+
seed?: number | null | undefined;
|
|
24
|
+
pageNumber?: number | null | undefined;
|
|
25
|
+
pageSize?: number | null | undefined;
|
|
26
|
+
categoryId?: number | null | undefined;
|
|
27
|
+
sortBy?: "byRelevance" | "popularity" | "highestRated" | "new" | "price" | "priceDesc" | null | undefined;
|
|
28
|
+
brandIds?: number | null | undefined;
|
|
29
|
+
minPrice?: number | null | undefined;
|
|
30
|
+
maxPrice?: number | null | undefined;
|
|
31
|
+
}, "Parameters for fetching a filtered list of products.">]>;
|
|
32
|
+
};
|
|
33
|
+
}, "path"> & {
|
|
34
|
+
readonly path: {
|
|
35
|
+
readonly template: "/api/v2/product";
|
|
36
|
+
readonly schema?: undefined;
|
|
37
|
+
};
|
|
38
|
+
}>, {
|
|
39
|
+
readonly 200: HttpOperationJsonResponse<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
40
|
+
readonly pageNumber: _$valibot.NumberSchema<undefined>;
|
|
41
|
+
readonly totalPages: _$valibot.NumberSchema<undefined>;
|
|
42
|
+
readonly totalCount: _$valibot.NumberSchema<undefined>;
|
|
43
|
+
readonly hasPreviousPage: _$valibot.BooleanSchema<undefined>;
|
|
44
|
+
readonly hasNextPage: _$valibot.BooleanSchema<undefined>;
|
|
45
|
+
readonly filters: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.VariantSchema<"type", [_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
46
|
+
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">]>;
|
|
47
|
+
readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
|
|
48
|
+
readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
|
|
49
|
+
readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
50
|
+
readonly min: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Minimum value for range filters">]>;
|
|
51
|
+
readonly max: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum value for range filters">]>;
|
|
52
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
53
|
+
min: number;
|
|
54
|
+
max: number;
|
|
55
|
+
}, "Schema for range filter options (e.g., price slider).\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
|
|
56
|
+
min: number;
|
|
57
|
+
max: number;
|
|
58
|
+
}[], "List of available options for this filter">]>;
|
|
59
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
60
|
+
type: "range";
|
|
61
|
+
name: string;
|
|
62
|
+
code: string;
|
|
63
|
+
options: {
|
|
64
|
+
min: number;
|
|
65
|
+
max: number;
|
|
66
|
+
}[];
|
|
67
|
+
}, "Schema for range filters (e.g., price slider).\nUse this in discriminatedUnion-based filter schemas.">]>, _$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
68
|
+
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">]>;
|
|
69
|
+
readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized display name of the filter">]>;
|
|
70
|
+
readonly code: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Unique code identifying the filter type">]>;
|
|
71
|
+
readonly options: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
72
|
+
readonly label: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Display label for the filter option">]>;
|
|
73
|
+
readonly value: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Value for the filter option">]>;
|
|
74
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
75
|
+
label: string;
|
|
76
|
+
value: number;
|
|
77
|
+
}, "Schema for category/brand filter options.\nCommon schema used by multiple APIs.">]>, undefined>, _$valibot.DescriptionAction<{
|
|
78
|
+
label: string;
|
|
79
|
+
value: number;
|
|
80
|
+
}[], "List of available options for this filter">]>;
|
|
81
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
82
|
+
type: "category" | "alphabetic_search_list";
|
|
83
|
+
name: string;
|
|
84
|
+
code: string;
|
|
85
|
+
options: {
|
|
86
|
+
label: string;
|
|
87
|
+
value: number;
|
|
88
|
+
}[];
|
|
89
|
+
}, "Schema for category/brand filters.\nUse this in discriminatedUnion-based filter schemas.">]>], undefined>, _$valibot.DescriptionAction<{
|
|
90
|
+
type: "category" | "alphabetic_search_list";
|
|
91
|
+
name: string;
|
|
92
|
+
code: string;
|
|
93
|
+
options: {
|
|
94
|
+
label: string;
|
|
95
|
+
value: number;
|
|
96
|
+
}[];
|
|
97
|
+
} | {
|
|
98
|
+
type: "range";
|
|
99
|
+
name: string;
|
|
100
|
+
code: string;
|
|
101
|
+
options: {
|
|
102
|
+
min: number;
|
|
103
|
+
max: number;
|
|
104
|
+
}[];
|
|
105
|
+
}, "Union filter schema that can be either range or category filter.\nThis is the recommended pattern for type-safe filters.">]>, undefined>, _$valibot.DescriptionAction<({
|
|
106
|
+
type: "category" | "alphabetic_search_list";
|
|
107
|
+
name: string;
|
|
108
|
+
code: string;
|
|
109
|
+
options: {
|
|
110
|
+
label: string;
|
|
111
|
+
value: number;
|
|
112
|
+
}[];
|
|
113
|
+
} | {
|
|
114
|
+
type: "range";
|
|
115
|
+
name: string;
|
|
116
|
+
code: string;
|
|
117
|
+
options: {
|
|
118
|
+
min: number;
|
|
119
|
+
max: number;
|
|
120
|
+
}[];
|
|
121
|
+
})[], "List of applicable filters">]>;
|
|
122
|
+
readonly items: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
123
|
+
readonly productId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique product identifier">]>;
|
|
124
|
+
readonly skuId: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Unique stock keeping unit identifier">]>;
|
|
125
|
+
readonly imageUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the full-size image">]>;
|
|
126
|
+
readonly name: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Full display name of the product">]>;
|
|
127
|
+
readonly shortDescription: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Brief description of the product">]>;
|
|
128
|
+
readonly thumbnailUrl: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "URL for the small preview image">]>;
|
|
129
|
+
readonly originalPrice: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Original price before discounts">]>;
|
|
130
|
+
readonly price: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Current selling price">]>;
|
|
131
|
+
readonly qty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Quantity available in stock">]>;
|
|
132
|
+
readonly stockAvailability: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
133
|
+
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\")">]>;
|
|
134
|
+
readonly svg: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "SVG icon representing stock status">]>;
|
|
135
|
+
readonly text: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized text describing stock status (e.g., \"В наличии - осталось всего 16 штук\")">]>;
|
|
136
|
+
readonly maxQty: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Maximum quantity available">]>;
|
|
137
|
+
readonly maxQtyReason: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Localized reason text for quantity limit (e.g., \"В наличии только 16 штук\")">]>;
|
|
138
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
139
|
+
type: "stock";
|
|
140
|
+
svg: string | undefined;
|
|
141
|
+
text: string;
|
|
142
|
+
maxQty: number;
|
|
143
|
+
maxQtyReason: string;
|
|
144
|
+
}, "Schema for stock availability information.">]>>, _$valibot.DescriptionAction<{
|
|
145
|
+
type: "stock";
|
|
146
|
+
svg: string | undefined;
|
|
147
|
+
text: string;
|
|
148
|
+
maxQty: number;
|
|
149
|
+
maxQtyReason: string;
|
|
150
|
+
} | undefined, "Stock availability details">]>;
|
|
151
|
+
readonly isPromo: _$valibot.SchemaWithPipe<readonly [_$valibot.BooleanSchema<undefined>, _$valibot.DescriptionAction<boolean, "Indicates if the product is on promotion">]>;
|
|
152
|
+
readonly promoName: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Name of the promotion">]>;
|
|
153
|
+
readonly promocodes: _$valibot.SchemaWithPipe<readonly [_$valibot.ArraySchema<_$valibot.StringSchema<undefined>, undefined>, _$valibot.DescriptionAction<string[], "List of applicable promocodes">]>;
|
|
154
|
+
readonly qtyPurchasedInfo: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.StringSchema<undefined>>, _$valibot.DescriptionAction<string | undefined, "Popularity text indicating purchase frequency (e.g., \"Часто покупают\", \"11 заказов\", \"930 заказов\")">]>;
|
|
155
|
+
readonly rating: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Average rating score">]>;
|
|
156
|
+
readonly scoreQuantity: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Total number of ratings">]>;
|
|
157
|
+
readonly badge: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.SchemaWithPipe<readonly [_$valibot.ObjectSchema<{
|
|
158
|
+
readonly label: _$valibot.SchemaWithPipe<readonly [_$valibot.StringSchema<undefined>, _$valibot.DescriptionAction<string, "Text label of the badge">]>;
|
|
159
|
+
readonly textColor: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Text color code">]>;
|
|
160
|
+
readonly backgroundColor: _$valibot.SchemaWithPipe<readonly [NullishToUndefinedSchema<_$valibot.NumberSchema<undefined>>, _$valibot.DescriptionAction<number | undefined, "Background color code">]>;
|
|
161
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
162
|
+
label: string;
|
|
163
|
+
textColor: number;
|
|
164
|
+
backgroundColor: number | undefined;
|
|
165
|
+
}, "Schema for a product badge.">]>>, _$valibot.DescriptionAction<{
|
|
166
|
+
label: string;
|
|
167
|
+
textColor: number;
|
|
168
|
+
backgroundColor: number | undefined;
|
|
169
|
+
} | undefined, "Badge information for the product">]>;
|
|
170
|
+
readonly moderationStatus: _$valibot.SchemaWithPipe<readonly [_$valibot.NumberSchema<undefined>, _$valibot.DescriptionAction<number, "Moderation status code">]>;
|
|
171
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
172
|
+
productId: number;
|
|
173
|
+
skuId: number;
|
|
174
|
+
imageUrl: string;
|
|
175
|
+
name: string;
|
|
176
|
+
shortDescription: string;
|
|
177
|
+
thumbnailUrl: string;
|
|
178
|
+
originalPrice: number;
|
|
179
|
+
price: number;
|
|
180
|
+
qty: number;
|
|
181
|
+
stockAvailability: {
|
|
182
|
+
type: "stock";
|
|
183
|
+
svg: string | undefined;
|
|
184
|
+
text: string;
|
|
185
|
+
maxQty: number;
|
|
186
|
+
maxQtyReason: string;
|
|
187
|
+
} | undefined;
|
|
188
|
+
isPromo: boolean;
|
|
189
|
+
promoName: string | undefined;
|
|
190
|
+
promocodes: string[];
|
|
191
|
+
qtyPurchasedInfo: string | undefined;
|
|
192
|
+
rating: number | undefined;
|
|
193
|
+
scoreQuantity: number | undefined;
|
|
194
|
+
badge: {
|
|
195
|
+
label: string;
|
|
196
|
+
textColor: number;
|
|
197
|
+
backgroundColor: number | undefined;
|
|
198
|
+
} | undefined;
|
|
199
|
+
moderationStatus: number;
|
|
200
|
+
}, "Product card returned by listing endpoints.">]>, undefined>, _$valibot.DescriptionAction<{
|
|
201
|
+
productId: number;
|
|
202
|
+
skuId: number;
|
|
203
|
+
imageUrl: string;
|
|
204
|
+
name: string;
|
|
205
|
+
shortDescription: string;
|
|
206
|
+
thumbnailUrl: string;
|
|
207
|
+
originalPrice: number;
|
|
208
|
+
price: number;
|
|
209
|
+
qty: number;
|
|
210
|
+
stockAvailability: {
|
|
211
|
+
type: "stock";
|
|
212
|
+
svg: string | undefined;
|
|
213
|
+
text: string;
|
|
214
|
+
maxQty: number;
|
|
215
|
+
maxQtyReason: string;
|
|
216
|
+
} | undefined;
|
|
217
|
+
isPromo: boolean;
|
|
218
|
+
promoName: string | undefined;
|
|
219
|
+
promocodes: string[];
|
|
220
|
+
qtyPurchasedInfo: string | undefined;
|
|
221
|
+
rating: number | undefined;
|
|
222
|
+
scoreQuantity: number | undefined;
|
|
223
|
+
badge: {
|
|
224
|
+
label: string;
|
|
225
|
+
textColor: number;
|
|
226
|
+
backgroundColor: number | undefined;
|
|
227
|
+
} | undefined;
|
|
228
|
+
moderationStatus: number;
|
|
229
|
+
}[], "List of product items">]>;
|
|
230
|
+
}, undefined>, _$valibot.DescriptionAction<{
|
|
231
|
+
pageNumber: number;
|
|
232
|
+
totalPages: number;
|
|
233
|
+
totalCount: number;
|
|
234
|
+
hasPreviousPage: boolean;
|
|
235
|
+
hasNextPage: boolean;
|
|
236
|
+
filters: ({
|
|
237
|
+
type: "category" | "alphabetic_search_list";
|
|
238
|
+
name: string;
|
|
239
|
+
code: string;
|
|
240
|
+
options: {
|
|
241
|
+
label: string;
|
|
242
|
+
value: number;
|
|
243
|
+
}[];
|
|
244
|
+
} | {
|
|
245
|
+
type: "range";
|
|
246
|
+
name: string;
|
|
247
|
+
code: string;
|
|
248
|
+
options: {
|
|
249
|
+
min: number;
|
|
250
|
+
max: number;
|
|
251
|
+
}[];
|
|
252
|
+
})[];
|
|
253
|
+
items: {
|
|
254
|
+
productId: number;
|
|
255
|
+
skuId: number;
|
|
256
|
+
imageUrl: string;
|
|
257
|
+
name: string;
|
|
258
|
+
shortDescription: string;
|
|
259
|
+
thumbnailUrl: string;
|
|
260
|
+
originalPrice: number;
|
|
261
|
+
price: number;
|
|
262
|
+
qty: number;
|
|
263
|
+
stockAvailability: {
|
|
264
|
+
type: "stock";
|
|
265
|
+
svg: string | undefined;
|
|
266
|
+
text: string;
|
|
267
|
+
maxQty: number;
|
|
268
|
+
maxQtyReason: string;
|
|
269
|
+
} | undefined;
|
|
270
|
+
isPromo: boolean;
|
|
271
|
+
promoName: string | undefined;
|
|
272
|
+
promocodes: string[];
|
|
273
|
+
qtyPurchasedInfo: string | undefined;
|
|
274
|
+
rating: number | undefined;
|
|
275
|
+
scoreQuantity: number | undefined;
|
|
276
|
+
badge: {
|
|
277
|
+
label: string;
|
|
278
|
+
textColor: number;
|
|
279
|
+
backgroundColor: number | undefined;
|
|
280
|
+
} | undefined;
|
|
281
|
+
moderationStatus: number;
|
|
282
|
+
}[];
|
|
283
|
+
}, "Paginated product listing response with filters, product cards, and pagination metadata.">]>>;
|
|
284
|
+
}>;
|
|
285
|
+
//#endregion
|
|
286
|
+
export { productsListOperation };
|
|
287
|
+
//# sourceMappingURL=operation.d.cts.map
|