@djust-b2b/djust-front-sdk 3.0.0-beta.2 → 3.0.0-beta.20
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/README.md +51 -7
- package/dist/.tsbuildinfo +1 -0
- package/dist/.tsbuildinfo-esm +1 -0
- package/dist/client/create-client.d.ts +248 -0
- package/dist/client/create-client.d.ts.map +1 -0
- package/dist/client/index.d.ts +14 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/performance.d.ts +203 -0
- package/dist/client/performance.d.ts.map +1 -0
- package/dist/client/transport.d.ts +372 -0
- package/dist/client/transport.d.ts.map +1 -0
- package/dist/errors/base.d.ts +101 -0
- package/dist/errors/base.d.ts.map +1 -0
- package/dist/errors/classes/auth.error.d.ts +64 -0
- package/dist/errors/classes/auth.error.d.ts.map +1 -0
- package/dist/errors/classes/forbidden.error.d.ts +52 -0
- package/dist/errors/classes/forbidden.error.d.ts.map +1 -0
- package/dist/errors/classes/index.d.ts +17 -0
- package/dist/errors/classes/index.d.ts.map +1 -0
- package/dist/errors/classes/network.error.d.ts +63 -0
- package/dist/errors/classes/network.error.d.ts.map +1 -0
- package/dist/errors/classes/not-found.error.d.ts +58 -0
- package/dist/errors/classes/not-found.error.d.ts.map +1 -0
- package/dist/errors/classes/rate-limit.error.d.ts +49 -0
- package/dist/errors/classes/rate-limit.error.d.ts.map +1 -0
- package/dist/errors/classes/server.error.d.ts +63 -0
- package/dist/errors/classes/server.error.d.ts.map +1 -0
- package/dist/errors/classes/timeout.error.d.ts +64 -0
- package/dist/errors/classes/timeout.error.d.ts.map +1 -0
- package/dist/errors/classes/unexpected.error.d.ts +70 -0
- package/dist/errors/classes/unexpected.error.d.ts.map +1 -0
- package/dist/errors/classes/validation.error.d.ts +68 -0
- package/dist/errors/classes/validation.error.d.ts.map +1 -0
- package/dist/errors/codes.d.ts +111 -0
- package/dist/errors/codes.d.ts.map +1 -0
- package/dist/errors/compat.d.ts +99 -0
- package/dist/errors/compat.d.ts.map +1 -0
- package/dist/errors/factory.d.ts +33 -0
- package/dist/errors/factory.d.ts.map +1 -0
- package/dist/errors/guards.d.ts +142 -0
- package/dist/errors/guards.d.ts.map +1 -0
- package/dist/errors/index.d.ts +25 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/types.d.ts +100 -0
- package/dist/errors/types.d.ts.map +1 -0
- package/dist/helpers/index.d.ts +42 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/parameters-validation.d.ts +3 -0
- package/dist/helpers/parameters-validation.d.ts.map +1 -0
- package/dist/helpers/utils.d.ts +5 -0
- package/dist/helpers/utils.d.ts.map +1 -0
- package/dist/index.cjs +182 -0
- package/dist/index.d.ts +266 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +11611 -0
- package/dist/interfaces/index.d.ts +31 -0
- package/dist/interfaces/index.d.ts.map +1 -0
- package/dist/interfaces/models/address.d.ts +61 -0
- package/dist/interfaces/models/address.d.ts.map +1 -0
- package/dist/interfaces/models/attribute.d.ts +31 -0
- package/dist/interfaces/models/attribute.d.ts.map +1 -0
- package/dist/interfaces/models/auth.d.ts +37 -0
- package/dist/interfaces/models/auth.d.ts.map +1 -0
- package/dist/interfaces/models/cart.d.ts +64 -0
- package/dist/interfaces/models/cart.d.ts.map +1 -0
- package/dist/interfaces/models/common.d.ts +68 -0
- package/dist/interfaces/models/common.d.ts.map +1 -0
- package/dist/interfaces/models/custom-field.d.ts +57 -0
- package/dist/interfaces/models/custom-field.d.ts.map +1 -0
- package/dist/interfaces/models/customer-account.d.ts +52 -0
- package/dist/interfaces/models/customer-account.d.ts.map +1 -0
- package/dist/interfaces/models/customer-organisation.d.ts +14 -0
- package/dist/interfaces/models/customer-organisation.d.ts.map +1 -0
- package/dist/interfaces/models/customer-user.d.ts +114 -0
- package/dist/interfaces/models/customer-user.d.ts.map +1 -0
- package/dist/interfaces/models/incident.d.ts +37 -0
- package/dist/interfaces/models/incident.d.ts.map +1 -0
- package/dist/interfaces/models/navigation-category.d.ts +22 -0
- package/dist/interfaces/models/navigation-category.d.ts.map +1 -0
- package/dist/interfaces/models/offer.d.ts +151 -0
- package/dist/interfaces/models/offer.d.ts.map +1 -0
- package/dist/interfaces/models/order.d.ts +701 -0
- package/dist/interfaces/models/order.d.ts.map +1 -0
- package/dist/interfaces/models/payment.d.ts +20 -0
- package/dist/interfaces/models/payment.d.ts.map +1 -0
- package/dist/interfaces/models/price.d.ts +6 -0
- package/dist/interfaces/models/price.d.ts.map +1 -0
- package/dist/interfaces/models/product.d.ts +243 -0
- package/dist/interfaces/models/product.d.ts.map +1 -0
- package/dist/interfaces/models/quote.d.ts +77 -0
- package/dist/interfaces/models/quote.d.ts.map +1 -0
- package/dist/interfaces/models/searchProduct.d.ts +128 -0
- package/dist/interfaces/models/searchProduct.d.ts.map +1 -0
- package/dist/interfaces/models/supplier.d.ts +72 -0
- package/dist/interfaces/models/supplier.d.ts.map +1 -0
- package/dist/services/attributes/attributes.service.d.ts +18 -0
- package/dist/services/attributes/attributes.service.d.ts.map +1 -0
- package/dist/services/attributes/definitions.d.ts +28 -0
- package/dist/services/attributes/definitions.d.ts.map +1 -0
- package/dist/services/attributes/endpoints.d.ts +12 -0
- package/dist/services/attributes/endpoints.d.ts.map +1 -0
- package/dist/services/attributes/index.d.ts +33 -0
- package/dist/services/attributes/index.d.ts.map +1 -0
- package/dist/services/attributes/module.d.ts +11 -0
- package/dist/services/attributes/module.d.ts.map +1 -0
- package/dist/services/attributes/types.d.ts +35 -0
- package/dist/services/attributes/types.d.ts.map +1 -0
- package/dist/services/auth/__mocks__/auth.mocks.d.ts +249 -0
- package/dist/services/auth/__mocks__/auth.mocks.d.ts.map +1 -0
- package/dist/services/auth/auth.service.d.ts +286 -0
- package/dist/services/auth/auth.service.d.ts.map +1 -0
- package/dist/services/auth/definitions.d.ts +69 -0
- package/dist/services/auth/definitions.d.ts.map +1 -0
- package/dist/services/auth/definitions.requests.d.ts +25 -0
- package/dist/services/auth/definitions.requests.d.ts.map +1 -0
- package/dist/services/auth/endpoints.d.ts +30 -0
- package/dist/services/auth/endpoints.d.ts.map +1 -0
- package/dist/services/auth/index.d.ts +232 -0
- package/dist/services/auth/index.d.ts.map +1 -0
- package/dist/services/auth/module.d.ts +11 -0
- package/dist/services/auth/module.d.ts.map +1 -0
- package/dist/services/auth/types.d.ts +124 -0
- package/dist/services/auth/types.d.ts.map +1 -0
- package/dist/services/base.service.d.ts +83 -0
- package/dist/services/base.service.d.ts.map +1 -0
- package/dist/services/cart/cart.service.d.ts +443 -0
- package/dist/services/cart/cart.service.d.ts.map +1 -0
- package/dist/services/cart/definitions.d.ts +84 -0
- package/dist/services/cart/definitions.d.ts.map +1 -0
- package/dist/services/cart/endpoints.d.ts +24 -0
- package/dist/services/cart/endpoints.d.ts.map +1 -0
- package/dist/services/cart/index.d.ts +330 -0
- package/dist/services/cart/index.d.ts.map +1 -0
- package/dist/services/cart/module.d.ts +11 -0
- package/dist/services/cart/module.d.ts.map +1 -0
- package/dist/services/cart/types.d.ts +236 -0
- package/dist/services/cart/types.d.ts.map +1 -0
- package/dist/services/commercial-order/commercial-order.service.d.ts +435 -0
- package/dist/services/commercial-order/commercial-order.service.d.ts.map +1 -0
- package/dist/services/commercial-order/definitions.d.ts +181 -0
- package/dist/services/commercial-order/definitions.d.ts.map +1 -0
- package/dist/services/commercial-order/endpoints.d.ts +28 -0
- package/dist/services/commercial-order/endpoints.d.ts.map +1 -0
- package/dist/services/commercial-order/index.d.ts +712 -0
- package/dist/services/commercial-order/index.d.ts.map +1 -0
- package/dist/services/commercial-order/module.d.ts +11 -0
- package/dist/services/commercial-order/module.d.ts.map +1 -0
- package/dist/services/commercial-order/types.d.ts +244 -0
- package/dist/services/commercial-order/types.d.ts.map +1 -0
- package/dist/services/custom-field/custom-field.service.d.ts +23 -0
- package/dist/services/custom-field/custom-field.service.d.ts.map +1 -0
- package/dist/services/custom-field/definitions.d.ts +107 -0
- package/dist/services/custom-field/definitions.d.ts.map +1 -0
- package/dist/services/custom-field/endpoints.d.ts +13 -0
- package/dist/services/custom-field/endpoints.d.ts.map +1 -0
- package/dist/services/custom-field/index.d.ts +115 -0
- package/dist/services/custom-field/index.d.ts.map +1 -0
- package/dist/services/custom-field/module.d.ts +11 -0
- package/dist/services/custom-field/module.d.ts.map +1 -0
- package/dist/services/custom-field/types.d.ts +51 -0
- package/dist/services/custom-field/types.d.ts.map +1 -0
- package/dist/services/customer-account/customer-account.service.d.ts +387 -0
- package/dist/services/customer-account/customer-account.service.d.ts.map +1 -0
- package/dist/services/customer-account/definitions.d.ts +164 -0
- package/dist/services/customer-account/definitions.d.ts.map +1 -0
- package/dist/services/customer-account/endpoints.d.ts +25 -0
- package/dist/services/customer-account/endpoints.d.ts.map +1 -0
- package/dist/services/customer-account/index.d.ts +656 -0
- package/dist/services/customer-account/index.d.ts.map +1 -0
- package/dist/services/customer-account/module.d.ts +11 -0
- package/dist/services/customer-account/module.d.ts.map +1 -0
- package/dist/services/customer-account/types.d.ts +253 -0
- package/dist/services/customer-account/types.d.ts.map +1 -0
- package/dist/services/customer-user/customer-user.service.d.ts +280 -0
- package/dist/services/customer-user/customer-user.service.d.ts.map +1 -0
- package/dist/services/customer-user/definitions.d.ts +84 -0
- package/dist/services/customer-user/definitions.d.ts.map +1 -0
- package/dist/services/customer-user/endpoints.d.ts +19 -0
- package/dist/services/customer-user/endpoints.d.ts.map +1 -0
- package/dist/services/customer-user/index.d.ts +394 -0
- package/dist/services/customer-user/index.d.ts.map +1 -0
- package/dist/services/customer-user/module.d.ts +11 -0
- package/dist/services/customer-user/module.d.ts.map +1 -0
- package/dist/services/customer-user/types.d.ts +118 -0
- package/dist/services/customer-user/types.d.ts.map +1 -0
- package/dist/services/factory.d.ts +104 -0
- package/dist/services/factory.d.ts.map +1 -0
- package/dist/services/incident/definitions.d.ts +85 -0
- package/dist/services/incident/definitions.d.ts.map +1 -0
- package/dist/services/incident/endpoints.d.ts +17 -0
- package/dist/services/incident/endpoints.d.ts.map +1 -0
- package/dist/services/incident/incident.service.d.ts +24 -0
- package/dist/services/incident/incident.service.d.ts.map +1 -0
- package/dist/services/incident/index.d.ts +270 -0
- package/dist/services/incident/index.d.ts.map +1 -0
- package/dist/services/incident/module.d.ts +11 -0
- package/dist/services/incident/module.d.ts.map +1 -0
- package/dist/services/incident/types.d.ts +116 -0
- package/dist/services/incident/types.d.ts.map +1 -0
- package/dist/services/logistic-order/definitions.d.ts +296 -0
- package/dist/services/logistic-order/definitions.d.ts.map +1 -0
- package/dist/services/logistic-order/endpoints.d.ts +44 -0
- package/dist/services/logistic-order/endpoints.d.ts.map +1 -0
- package/dist/services/logistic-order/index.d.ts +1338 -0
- package/dist/services/logistic-order/index.d.ts.map +1 -0
- package/dist/services/logistic-order/logistic-order.service.d.ts +62 -0
- package/dist/services/logistic-order/logistic-order.service.d.ts.map +1 -0
- package/dist/services/logistic-order/module.d.ts +11 -0
- package/dist/services/logistic-order/module.d.ts.map +1 -0
- package/dist/services/logistic-order/types.d.ts +411 -0
- package/dist/services/logistic-order/types.d.ts.map +1 -0
- package/dist/services/module.d.ts +64 -0
- package/dist/services/module.d.ts.map +1 -0
- package/dist/services/navigation-category/definitions.d.ts +31 -0
- package/dist/services/navigation-category/definitions.d.ts.map +1 -0
- package/dist/services/navigation-category/endpoints.d.ts +15 -0
- package/dist/services/navigation-category/endpoints.d.ts.map +1 -0
- package/dist/services/navigation-category/index.d.ts +114 -0
- package/dist/services/navigation-category/index.d.ts.map +1 -0
- package/dist/services/navigation-category/module.d.ts +11 -0
- package/dist/services/navigation-category/module.d.ts.map +1 -0
- package/dist/services/navigation-category/navigation-category.service.d.ts +148 -0
- package/dist/services/navigation-category/navigation-category.service.d.ts.map +1 -0
- package/dist/services/navigation-category/types.d.ts +51 -0
- package/dist/services/navigation-category/types.d.ts.map +1 -0
- package/dist/services/offer-inventories/definitions.d.ts +73 -0
- package/dist/services/offer-inventories/definitions.d.ts.map +1 -0
- package/dist/services/offer-inventories/endpoints.d.ts +16 -0
- package/dist/services/offer-inventories/endpoints.d.ts.map +1 -0
- package/dist/services/offer-inventories/index.d.ts +120 -0
- package/dist/services/offer-inventories/index.d.ts.map +1 -0
- package/dist/services/offer-inventories/module.d.ts +11 -0
- package/dist/services/offer-inventories/module.d.ts.map +1 -0
- package/dist/services/offer-inventories/offer-inventories.service.d.ts +26 -0
- package/dist/services/offer-inventories/offer-inventories.service.d.ts.map +1 -0
- package/dist/services/offer-inventories/types.d.ts +85 -0
- package/dist/services/offer-inventories/types.d.ts.map +1 -0
- package/dist/services/offer-prices/__mocks__/offer-prices.mocks.d.ts +109 -0
- package/dist/services/offer-prices/__mocks__/offer-prices.mocks.d.ts.map +1 -0
- package/dist/services/offer-prices/definitions.d.ts +24 -0
- package/dist/services/offer-prices/definitions.d.ts.map +1 -0
- package/dist/services/offer-prices/endpoints.d.ts +12 -0
- package/dist/services/offer-prices/endpoints.d.ts.map +1 -0
- package/dist/services/offer-prices/index.d.ts +36 -0
- package/dist/services/offer-prices/index.d.ts.map +1 -0
- package/dist/services/offer-prices/module.d.ts +11 -0
- package/dist/services/offer-prices/module.d.ts.map +1 -0
- package/dist/services/offer-prices/offer-prices.service.d.ts +18 -0
- package/dist/services/offer-prices/offer-prices.service.d.ts.map +1 -0
- package/dist/services/offer-prices/types.d.ts +33 -0
- package/dist/services/offer-prices/types.d.ts.map +1 -0
- package/dist/services/operation/definitions.d.ts +280 -0
- package/dist/services/operation/definitions.d.ts.map +1 -0
- package/dist/services/operation/endpoints.d.ts +18 -0
- package/dist/services/operation/endpoints.d.ts.map +1 -0
- package/dist/services/operation/index.d.ts +520 -0
- package/dist/services/operation/index.d.ts.map +1 -0
- package/dist/services/operation/module.d.ts +11 -0
- package/dist/services/operation/module.d.ts.map +1 -0
- package/dist/services/operation/operation.service.d.ts +32 -0
- package/dist/services/operation/operation.service.d.ts.map +1 -0
- package/dist/services/operation/types.d.ts +174 -0
- package/dist/services/operation/types.d.ts.map +1 -0
- package/dist/services/payment/definitions.d.ts +79 -0
- package/dist/services/payment/definitions.d.ts.map +1 -0
- package/dist/services/payment/endpoints.d.ts +16 -0
- package/dist/services/payment/endpoints.d.ts.map +1 -0
- package/dist/services/payment/index.d.ts +150 -0
- package/dist/services/payment/index.d.ts.map +1 -0
- package/dist/services/payment/module.d.ts +11 -0
- package/dist/services/payment/module.d.ts.map +1 -0
- package/dist/services/payment/payment.service.d.ts +224 -0
- package/dist/services/payment/payment.service.d.ts.map +1 -0
- package/dist/services/payment/types.d.ts +93 -0
- package/dist/services/payment/types.d.ts.map +1 -0
- package/dist/services/product/definitions.d.ts +150 -0
- package/dist/services/product/definitions.d.ts.map +1 -0
- package/dist/services/product/endpoints.d.ts +40 -0
- package/dist/services/product/endpoints.d.ts.map +1 -0
- package/dist/services/product/index.d.ts +388 -0
- package/dist/services/product/index.d.ts.map +1 -0
- package/dist/services/product/module.d.ts +11 -0
- package/dist/services/product/module.d.ts.map +1 -0
- package/dist/services/product/product.service.d.ts +452 -0
- package/dist/services/product/product.service.d.ts.map +1 -0
- package/dist/services/product/types.d.ts +344 -0
- package/dist/services/product/types.d.ts.map +1 -0
- package/dist/services/product-variant/definitions.d.ts +172 -0
- package/dist/services/product-variant/definitions.d.ts.map +1 -0
- package/dist/services/product-variant/endpoints.d.ts +15 -0
- package/dist/services/product-variant/endpoints.d.ts.map +1 -0
- package/dist/services/product-variant/index.d.ts +123 -0
- package/dist/services/product-variant/index.d.ts.map +1 -0
- package/dist/services/product-variant/module.d.ts +11 -0
- package/dist/services/product-variant/module.d.ts.map +1 -0
- package/dist/services/product-variant/product-variant.service.d.ts +21 -0
- package/dist/services/product-variant/product-variant.service.d.ts.map +1 -0
- package/dist/services/product-variant/types.d.ts +73 -0
- package/dist/services/product-variant/types.d.ts.map +1 -0
- package/dist/services/quote/definitions.d.ts +102 -0
- package/dist/services/quote/definitions.d.ts.map +1 -0
- package/dist/services/quote/endpoints.d.ts +20 -0
- package/dist/services/quote/endpoints.d.ts.map +1 -0
- package/dist/services/quote/index.d.ts +378 -0
- package/dist/services/quote/index.d.ts.map +1 -0
- package/dist/services/quote/module.d.ts +11 -0
- package/dist/services/quote/module.d.ts.map +1 -0
- package/dist/services/quote/quote.service.d.ts +346 -0
- package/dist/services/quote/quote.service.d.ts.map +1 -0
- package/dist/services/quote/types.d.ts +160 -0
- package/dist/services/quote/types.d.ts.map +1 -0
- package/dist/services/supplier/__mocks__/supplier-mocks.d.ts +49 -0
- package/dist/services/supplier/__mocks__/supplier-mocks.d.ts.map +1 -0
- package/dist/services/supplier/definitions.d.ts +30 -0
- package/dist/services/supplier/definitions.d.ts.map +1 -0
- package/dist/services/supplier/endpoints.d.ts +14 -0
- package/dist/services/supplier/endpoints.d.ts.map +1 -0
- package/dist/services/supplier/index.d.ts +102 -0
- package/dist/services/supplier/index.d.ts.map +1 -0
- package/dist/services/supplier/module.d.ts +11 -0
- package/dist/services/supplier/module.d.ts.map +1 -0
- package/dist/services/supplier/supplier.service.d.ts +20 -0
- package/dist/services/supplier/supplier.service.d.ts.map +1 -0
- package/dist/services/supplier/types.d.ts +58 -0
- package/dist/services/supplier/types.d.ts.map +1 -0
- package/dist/services/types.d.ts +81 -0
- package/dist/services/types.d.ts.map +1 -0
- package/dist/settings/fetch-instance.d.ts +30 -0
- package/dist/settings/fetch-instance.d.ts.map +1 -0
- package/package.json +12 -10
- package/dist/djust-b2b-djust-front-sdk-3.0.0-beta.2.tgz +0 -0
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
import { CreateProductReviewParameters, CreateProductReviewResponse, GetProductOffersParameters, GetProductOffersResponse, GetProductParameters, GetProductReviewsParameters, GetProductReviewsResponse, GetProductStatReviewsParameters, GetProductStatReviewsResponse, GetProductVariantAttributesParameters, GetProductVariantAttributesResponse, GetProductVariantOffersParameters, GetProductVariantOffersResponse, GetProductVariantSuppliersParameters, GetProductVariantSuppliersResponse, GetProductsListParameters, GetProductsListResponse, GetRelatedProductsParameters, AutoCompleteSearchProductsParameters, SearchProductsResponse, UpdateProductReviewParameters, UpdateProductReviewResponse, GetProductPaginatedOffersParameters, GetProductPaginatedOffersResponse, GetRelatedProductsResponse } from "./definitions";
|
|
2
|
+
/**
|
|
3
|
+
* 📄 Search products with a text expression for search and autocomplete.
|
|
4
|
+
*
|
|
5
|
+
* This function provides product search and autocomplete capabilities.
|
|
6
|
+
*
|
|
7
|
+
* 🛠 **Endpoint**: `GET /v2/shop/autocomplete`
|
|
8
|
+
*
|
|
9
|
+
* | Parameter | Type | Required | Description |
|
|
10
|
+
* |-----------------|--------------|----------|---------------------------------------------|
|
|
11
|
+
* | `input` | `string` | ✅ | The text expression to search for. |
|
|
12
|
+
* | `locale` | `string` | ✅ | The locale for the search. |
|
|
13
|
+
* | `currency` | `string` | ✅ | The currency for price formatting. |
|
|
14
|
+
* | `pageable.page` | `number` | ❌ | The page number to fetch (0-based index). |
|
|
15
|
+
* | `pageable.size` | `number` | ❌ | The number of items per page. |
|
|
16
|
+
* | `aggregation` | `boolean` | ❌ | Whether to include aggregation data. |
|
|
17
|
+
* | `productTags` | `string[]` | ❌ | Filters by product tags. |
|
|
18
|
+
*
|
|
19
|
+
* 📤 **Returns**:
|
|
20
|
+
* A `Promise` resolving to a `SearchProductsResponse` containing the matched products.
|
|
21
|
+
*
|
|
22
|
+
* 🛠 **Example usage**:
|
|
23
|
+
* ```typescript
|
|
24
|
+
* const products = await autoCompleteSearchProducts({
|
|
25
|
+
* input: 'laptop',
|
|
26
|
+
* locale: 'en-US',
|
|
27
|
+
* currency: 'USD',
|
|
28
|
+
* pageable: { page: 0, size: 10 },
|
|
29
|
+
* });
|
|
30
|
+
* console.log(products);
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare function autoCompleteSearchProducts({ input, locale, currency, pageable, aggregation, productTags, }: AutoCompleteSearchProductsParameters): Promise<SearchProductsResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 📄 Fetches a list of products with thumbnails, reviews, attributes, and best offers.
|
|
36
|
+
*
|
|
37
|
+
* 🛠 **Endpoint**: `GET /v2/shop/search`
|
|
38
|
+
*
|
|
39
|
+
* | Parameter | Type | Required | Description |
|
|
40
|
+
* |-----------------|--------------|----------|---------------------------------------------|
|
|
41
|
+
* | `locale` | `string` | ✅ | The locale for product data. |
|
|
42
|
+
* | `hasOfferPrice` | `boolean` | ❌ | If `true`, only products with an offer price. Default `false`. |
|
|
43
|
+
* | `filters` | `object` | ❌ | Filters for narrowing down search results. |
|
|
44
|
+
* | `pageable.page` | `number` | ❌ | The page number to fetch (0-based index). |
|
|
45
|
+
* | `pageable.size` | `number` | ❌ | The number of items per page. |
|
|
46
|
+
*
|
|
47
|
+
* 📤 **Returns**:
|
|
48
|
+
* A `Promise` resolving to a `GetProductsListResponse` containing the products and their metadata.
|
|
49
|
+
*
|
|
50
|
+
* 🛠 **Example usage**:
|
|
51
|
+
* ```typescript
|
|
52
|
+
* const products = await getProductsList({
|
|
53
|
+
* locale: 'en-US',
|
|
54
|
+
* filters: { category: 'electronics' },
|
|
55
|
+
* pageable: { page: 1, size: 20 },
|
|
56
|
+
* });
|
|
57
|
+
* console.log(products);
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function getProductsList({ locale, filters, pageable, hasOfferPrice, }: GetProductsListParameters): Promise<GetProductsListResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* 📄 Fetches offers for a specific product variant.
|
|
63
|
+
*
|
|
64
|
+
* Retrieves the list of offers available for a product variant identified by SKU, ID, or external ID.
|
|
65
|
+
*
|
|
66
|
+
* 🛠 **Endpoint**: `GET /v1/shop/product-variants/{productIdentifier}/offers`
|
|
67
|
+
*
|
|
68
|
+
* | Parameter | Type | Required | Description |
|
|
69
|
+
* |-----------------------|-------------|------------|---------------------------------------------------------------|
|
|
70
|
+
* | `productIdentifier` | `string` | ✅ | Unique identifier for the product variant (e.g., SKU, ID). |
|
|
71
|
+
* | `productIdType` | `string` | ✅ | The type of identifier: `"sku"`, `"id"`, or `"externalId"`. |
|
|
72
|
+
* | `currency` | `string` | ✅ | Currency in which offers should be returned (e.g., `"USD"`). |
|
|
73
|
+
*
|
|
74
|
+
* 📤 **Returns**:
|
|
75
|
+
* A `Promise<GetProductVariantOffersResponse>` containing a list of offers for the product variant.
|
|
76
|
+
*
|
|
77
|
+
* 🛠 **Example usage**:
|
|
78
|
+
* ```ts
|
|
79
|
+
* const offers = await getProductVariantOffers({
|
|
80
|
+
* productIdentifier: 'sku123',
|
|
81
|
+
* productIdType: 'sku',
|
|
82
|
+
* currency: 'USD',
|
|
83
|
+
* });
|
|
84
|
+
*
|
|
85
|
+
* console.log(offers);
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* **Example Response**:
|
|
89
|
+
* ```json
|
|
90
|
+
* {
|
|
91
|
+
* "offers": [
|
|
92
|
+
* {
|
|
93
|
+
* "id": "offer1",
|
|
94
|
+
* "price": 19.99,
|
|
95
|
+
* "currency": "USD",
|
|
96
|
+
* "availability": "In Stock",
|
|
97
|
+
* "seller": "Seller A"
|
|
98
|
+
* },
|
|
99
|
+
* {
|
|
100
|
+
* "id": "offer2",
|
|
101
|
+
* "price": 17.99,
|
|
102
|
+
* "currency": "USD",
|
|
103
|
+
* "availability": "Limited Stock",
|
|
104
|
+
* "seller": "Seller B"
|
|
105
|
+
* }
|
|
106
|
+
* ]
|
|
107
|
+
* }
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
export declare function getProductVariantOffers({ productIdentifier, productIdType, currency, withoutPrice, }: GetProductVariantOffersParameters): Promise<GetProductVariantOffersResponse>;
|
|
111
|
+
/**
|
|
112
|
+
* 📄 Fetches suppliers associated with a product variant.
|
|
113
|
+
*
|
|
114
|
+
* Retrieves a list of suppliers for a given product variant.
|
|
115
|
+
*
|
|
116
|
+
* 🛠 **Endpoint**: `GET /v1/shop/product-variants/{productVariantId}/suppliers`
|
|
117
|
+
*
|
|
118
|
+
* | Parameter | Type | Required | Description |
|
|
119
|
+
* |-----------------------|-------------------------------|------------|---------------------------------------------------------------|
|
|
120
|
+
* | `productVariantId` | `string` | ✅ | ID of the product variant. |
|
|
121
|
+
*
|
|
122
|
+
* 📤 **Returns**:
|
|
123
|
+
* A `Promise<GetProductVariantSuppliersResponse>` containing the list of suppliers.
|
|
124
|
+
*
|
|
125
|
+
* 🛠 **Example usage**:
|
|
126
|
+
* ```ts
|
|
127
|
+
* const suppliers = await getProductVariantSuppliers({
|
|
128
|
+
* productVariantId: 'variant123',
|
|
129
|
+
* });
|
|
130
|
+
*
|
|
131
|
+
* console.log(suppliers);
|
|
132
|
+
* ```
|
|
133
|
+
*/
|
|
134
|
+
export declare function getProductVariantSuppliers({ productVariantId, }: GetProductVariantSuppliersParameters): Promise<GetProductVariantSuppliersResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* 📄 Fetches details for a specific product.
|
|
137
|
+
*
|
|
138
|
+
* Retrieves information about a product identified by SKU, ID, or external ID.
|
|
139
|
+
*
|
|
140
|
+
* 🛠 **Endpoint**: `GET /v1/shop/products/{productIdentifier}`
|
|
141
|
+
*
|
|
142
|
+
* | Parameter | Type | Required | Description |
|
|
143
|
+
* |-----------------------|-------------|------------|---------------------------------------------------------------|
|
|
144
|
+
* | `productIdentifier` | `string` | ✅ | Unique identifier for the product (e.g., SKU, ID). |
|
|
145
|
+
* | `productIdType` | `string` | ✅ | The type of identifier: `"sku"`, `"id"`, or `"externalId"`. |
|
|
146
|
+
* | `locale` | `string` | ✅ | Locale for the product details (e.g., `"en_US"`). |
|
|
147
|
+
*
|
|
148
|
+
* 📤 **Returns**:
|
|
149
|
+
* A `Promise<GetProductsListResponse>` containing the product details.
|
|
150
|
+
*
|
|
151
|
+
* 🛠 **Example usage**:
|
|
152
|
+
* ```ts
|
|
153
|
+
* const product = await getProduct({
|
|
154
|
+
* productIdentifier: 'sku123',
|
|
155
|
+
* productIdType: 'sku',
|
|
156
|
+
* locale: 'en_US',
|
|
157
|
+
* });
|
|
158
|
+
*
|
|
159
|
+
* console.log(product);
|
|
160
|
+
* ```
|
|
161
|
+
*/
|
|
162
|
+
export declare function getProduct({ productIdentifier, productIdType, locale, }: GetProductParameters): Promise<GetProductsListResponse>;
|
|
163
|
+
/**
|
|
164
|
+
* @deprecated
|
|
165
|
+
*
|
|
166
|
+
* 📄 Fetches product offers by SKU, ID, or external ID.
|
|
167
|
+
*
|
|
168
|
+
* 🛠 **Endpoint**: `GET /v1/shop/products/{productIdentifier}/offers`
|
|
169
|
+
*
|
|
170
|
+
* | Parameter | Type | Required | Description |
|
|
171
|
+
* |---------------------|--------------|----------|-------------------------------------------------|
|
|
172
|
+
* | `productIdentifier` | `string` | ✅ | The unique identifier of the product. |
|
|
173
|
+
* | `productIdType` | `string` | ✅ | The type of the identifier (`sku`, `id`, etc.).|
|
|
174
|
+
* | `currency` | `string` | ✅ | The currency for the offer details. |
|
|
175
|
+
*
|
|
176
|
+
* 📤 **Returns**:
|
|
177
|
+
* A `Promise` resolving to a `GetProductVariantOffersResponse` containing the offers.
|
|
178
|
+
*
|
|
179
|
+
* 🛠 **Example usage**:
|
|
180
|
+
* ```typescript
|
|
181
|
+
* const offers = await getProductVariantOffers({
|
|
182
|
+
* productIdentifier: 'sku123',
|
|
183
|
+
* productIdType: 'sku',
|
|
184
|
+
* currency: 'USD',
|
|
185
|
+
* });
|
|
186
|
+
* console.log(offers);
|
|
187
|
+
* ```
|
|
188
|
+
* SWAGGER [PRODUCT-502]
|
|
189
|
+
*/
|
|
190
|
+
export declare function getProductOffers({ productIdentifier, productIdType, locale, currency, withoutPrice, }: GetProductOffersParameters): Promise<GetProductOffersResponse>;
|
|
191
|
+
/**
|
|
192
|
+
* 📄 Fetches related products for a specific product.
|
|
193
|
+
*
|
|
194
|
+
* Retrieves a paginated list of related products identified by SKU, ID, or external ID.
|
|
195
|
+
*
|
|
196
|
+
* 🛠 **Endpoint**: `GET /v1/shop/products/{productIdentifier}/related-products`
|
|
197
|
+
*
|
|
198
|
+
* | Parameter | Type | Required | Description |
|
|
199
|
+
* |-----------------------|-------------|------------|---------------------------------------------------------------|
|
|
200
|
+
* | `productIdentifier` | `string` | ✅ | Unique identifier for the product (e.g., SKU, ID). |
|
|
201
|
+
* | `productIdType` | `string` | ✅ | The type of identifier: `"sku"`, `"id"`, or `"externalId"`. |
|
|
202
|
+
* | `locale` | `string` | ✅ | Locale for the related products (e.g., `"en_US"`). |
|
|
203
|
+
* | `currency` | `string` | ✅ | Currency for the related products (e.g., `"USD"`). |
|
|
204
|
+
* | `pageable` | `object` | ❌ | Pagination details: `page`, `size`, `sort`. |
|
|
205
|
+
*
|
|
206
|
+
* 📤 **Returns**:
|
|
207
|
+
* A `Promise<GetRelatedProductsParameters>` containing related products.
|
|
208
|
+
*
|
|
209
|
+
* 🛠 **Example usage**:
|
|
210
|
+
* ```ts
|
|
211
|
+
* const relatedProducts = await getRelatedProducts({
|
|
212
|
+
* productIdentifier: 'sku123',
|
|
213
|
+
* productIdType: 'sku',
|
|
214
|
+
* locale: 'en_US',
|
|
215
|
+
* currency: 'USD',
|
|
216
|
+
* pageable: { page: 1, size: 10 },
|
|
217
|
+
* });
|
|
218
|
+
*
|
|
219
|
+
* console.log(relatedProducts);
|
|
220
|
+
* ```
|
|
221
|
+
*/
|
|
222
|
+
export declare function getRelatedProducts({ productIdentifier, productIdType, locale, currency, pageable, }: GetRelatedProductsParameters): Promise<GetRelatedProductsResponse>;
|
|
223
|
+
/**
|
|
224
|
+
* 📄 Fetches reviews for a specific product.
|
|
225
|
+
*
|
|
226
|
+
* Retrieves a list of reviews for a product identified by SKU, ID, or external ID.
|
|
227
|
+
*
|
|
228
|
+
* 🛠 **Endpoint**: `GET /v1/shop/products/{productIdentifier}/reviews`
|
|
229
|
+
*
|
|
230
|
+
* | Parameter | Type | Required | Description |
|
|
231
|
+
* |-----------------------|-------------|------------|---------------------------------------------------------------|
|
|
232
|
+
* | `productIdentifier` | `string` | ✅ | Unique identifier for the product (e.g., SKU, ID). |
|
|
233
|
+
* | `productIdType` | `string` | ✅ | The type of identifier: `"sku"`, `"id"`, or `"externalId"`. |
|
|
234
|
+
*
|
|
235
|
+
* 📤 **Returns**:
|
|
236
|
+
* A `Promise<GetProductReviewsResponse>` containing the reviews.
|
|
237
|
+
*
|
|
238
|
+
* 🛠 **Example usage**:
|
|
239
|
+
* ```ts
|
|
240
|
+
* const reviews = await getProductReviews({
|
|
241
|
+
* productIdentifier: 'sku123',
|
|
242
|
+
* productIdType: 'sku',
|
|
243
|
+
* });
|
|
244
|
+
*
|
|
245
|
+
* console.log(reviews);
|
|
246
|
+
* ```
|
|
247
|
+
*/
|
|
248
|
+
export declare function getProductReviews({ productIdentifier, productIdType, }: GetProductReviewsParameters): Promise<GetProductReviewsResponse>;
|
|
249
|
+
/**
|
|
250
|
+
* 📄 Fetches statistical review data for a specific product.
|
|
251
|
+
*
|
|
252
|
+
* Retrieves aggregate review statistics for a product identified by SKU, ID, or external ID.
|
|
253
|
+
*
|
|
254
|
+
* 🛠 **Endpoint**: `GET /v1/shop/products/{productIdentifier}/stat-reviews`
|
|
255
|
+
*
|
|
256
|
+
* | Parameter | Type | Required | Description |
|
|
257
|
+
* |-----------------------|-------------|------------|---------------------------------------------------------------|
|
|
258
|
+
* | `productIdentifier` | `string` | ✅ | Unique identifier for the product (e.g., SKU, ID). |
|
|
259
|
+
* | `productIdType` | `string` | ✅ | The type of identifier: `"sku"`, `"id"`, or `"externalId"`. |
|
|
260
|
+
*
|
|
261
|
+
* 📤 **Returns**:
|
|
262
|
+
* A `Promise<GetProductStatReviewsResponse>` containing review statistics.
|
|
263
|
+
*
|
|
264
|
+
* 🛠 **Example usage**:
|
|
265
|
+
* ```ts
|
|
266
|
+
* const stats = await getProductStatReviews({
|
|
267
|
+
* productIdentifier: 'sku123',
|
|
268
|
+
* productIdType: 'sku',
|
|
269
|
+
* });
|
|
270
|
+
*
|
|
271
|
+
* console.log(stats);
|
|
272
|
+
* ```
|
|
273
|
+
*/
|
|
274
|
+
export declare function getProductStatReviews({ productIdentifier, productIdType, }: GetProductStatReviewsParameters): Promise<GetProductStatReviewsResponse>;
|
|
275
|
+
/**
|
|
276
|
+
* 📄 Fetches attributes for a product variant.
|
|
277
|
+
*
|
|
278
|
+
* Retrieves attributes for a product variant identified by SKU, ID, or external ID.
|
|
279
|
+
*
|
|
280
|
+
* 🛠 **Endpoint**: `GET /v1/shop/products/{productIdentifier}/variant-attributes`
|
|
281
|
+
*
|
|
282
|
+
* | Parameter | Type | Required | Description |
|
|
283
|
+
* |-----------------------|-------------|------------|---------------------------------------------------------------|
|
|
284
|
+
* | `productIdentifier` | `string` | ✅ | Unique identifier for the product variant (e.g., SKU, ID). |
|
|
285
|
+
* | `productIdType` | `string` | ✅ | The type of identifier: `"sku"`, `"id"`, or `"externalId"`. |
|
|
286
|
+
* | `locale` | `string` | ✅ | Locale for the attributes (e.g., `"en_US"`). |
|
|
287
|
+
*
|
|
288
|
+
* 📤 **Returns**:
|
|
289
|
+
* A `Promise<GetProductVariantAttributesResponse>` containing variant attributes.
|
|
290
|
+
*
|
|
291
|
+
* 🛠 **Example usage**:
|
|
292
|
+
* ```ts
|
|
293
|
+
* const attributes = await getProductVariantAttributes({
|
|
294
|
+
* productIdentifier: 'sku123',
|
|
295
|
+
* productIdType: 'sku',
|
|
296
|
+
* locale: 'en_US',
|
|
297
|
+
* });
|
|
298
|
+
*
|
|
299
|
+
* console.log(attributes);
|
|
300
|
+
* ```
|
|
301
|
+
*/
|
|
302
|
+
export declare function getProductVariantAttributes({ productIdentifier, productIdType, locale, }: GetProductVariantAttributesParameters): Promise<GetProductVariantAttributesResponse>;
|
|
303
|
+
/**
|
|
304
|
+
* 📄 Creates a review for a product.
|
|
305
|
+
*
|
|
306
|
+
* Submits a review for a specific product based on its SKU.
|
|
307
|
+
*
|
|
308
|
+
* 🛠 **Endpoint**: `POST /v1/shop/reviews`
|
|
309
|
+
*
|
|
310
|
+
* | Parameter | Type | Required | Description |
|
|
311
|
+
* |-----------------------|-------------------------------|------------|---------------------------------------------------------------|
|
|
312
|
+
* | `message` | `string` | ✅ | Review content. |
|
|
313
|
+
* | `productSku` | `string` | ✅ | SKU of the product to review. |
|
|
314
|
+
* | `rating` | `number` | ✅ | Rating (e.g., 1 to 5). |
|
|
315
|
+
*
|
|
316
|
+
* 📤 **Returns**:
|
|
317
|
+
* A `Promise<CreateProductReviewResponse>` indicating the result of the operation.
|
|
318
|
+
*
|
|
319
|
+
* 🛠 **Example usage**:
|
|
320
|
+
* ```ts
|
|
321
|
+
* const review = await createProductReview({
|
|
322
|
+
* message: 'Great product!',
|
|
323
|
+
* productSku: 'sku123',
|
|
324
|
+
* rating: 5,
|
|
325
|
+
* });
|
|
326
|
+
*
|
|
327
|
+
* console.log(review);
|
|
328
|
+
* ```
|
|
329
|
+
*/
|
|
330
|
+
export declare function createProductReview({ message, productSku, rating, }: CreateProductReviewParameters): Promise<CreateProductReviewResponse>;
|
|
331
|
+
/**
|
|
332
|
+
* 📄 Updates an existing review for a product.
|
|
333
|
+
*
|
|
334
|
+
* Modifies the content and/or rating of an existing review for a specific product.
|
|
335
|
+
*
|
|
336
|
+
* 🛠 **Endpoint**: `PUT /v1/shop/reviews/{productReviewId}`
|
|
337
|
+
*
|
|
338
|
+
* | Parameter | Type | Required | Description |
|
|
339
|
+
* |-----------------------|-------------------------------|------------|---------------------------------------------------------------|
|
|
340
|
+
* | `productReviewId` | `string` | ✅ | ID of the review to update. |
|
|
341
|
+
* | `message` | `string` | ✅ | New review content. |
|
|
342
|
+
* | `rating` | `number` | ✅ | New rating (e.g., 1 to 5). |
|
|
343
|
+
*
|
|
344
|
+
* 📤 **Returns**:
|
|
345
|
+
* A `Promise<UpdateProductReviewResponse>` indicating the result of the operation.
|
|
346
|
+
*
|
|
347
|
+
* 🛠 **Example usage**:
|
|
348
|
+
* ```ts
|
|
349
|
+
* const updatedReview = await updateProductReview({
|
|
350
|
+
* productReviewId: 'review123',
|
|
351
|
+
* message: 'Updated my thoughts, still a great product!',
|
|
352
|
+
* rating: 4,
|
|
353
|
+
* });
|
|
354
|
+
*
|
|
355
|
+
* console.log(updatedReview);
|
|
356
|
+
* ```
|
|
357
|
+
*/
|
|
358
|
+
export declare function updateProductReview({ productReviewId, message, rating, }: UpdateProductReviewParameters): Promise<UpdateProductReviewResponse>;
|
|
359
|
+
/**
|
|
360
|
+
* 📄 Fetches paginated offers for a product.
|
|
361
|
+
*
|
|
362
|
+
* Retrieves offers for a product identified by SKU, ID, or external ID, with pagination support.
|
|
363
|
+
*
|
|
364
|
+
* 🛠 **Endpoint**: `GET /v1/shop/products/{productIdentifier}/paginated-offers`
|
|
365
|
+
*
|
|
366
|
+
* | Parameter | Type | Required | Description |
|
|
367
|
+
* |-----------------------|-------------|------------|---------------------------------------------------------------|
|
|
368
|
+
* | `productIdentifier` | `string` | ✅ | Unique identifier for the product (e.g., SKU, ID). |
|
|
369
|
+
* | `productIdType` | `string` | ✅ | The type of identifier: `"sku"`, `"id"`, or `"externalId"`. |
|
|
370
|
+
* | `currency` | `string` | ✅ | Currency for the offers (e.g., `"USD"`). |
|
|
371
|
+
* | `locale` | `string` | ✅ | Locale for the offers (e.g., `"en_US"`). |
|
|
372
|
+
* | `withoutPrices` | `boolean` | ❌ | Whether to exclude prices from the response. |
|
|
373
|
+
* | `pageable` | `object` | ❌ | Pagination details: `page`, `size`, `sort`. |
|
|
374
|
+
*
|
|
375
|
+
* 📤 **Returns**:
|
|
376
|
+
* A `Promise<GetProductPaginatedOffersResponse>` containing paginated offers.
|
|
377
|
+
*
|
|
378
|
+
* 🛠 **Example usage**:
|
|
379
|
+
* ```ts
|
|
380
|
+
* const offers = await getProductPaginatedOffers({
|
|
381
|
+
* productIdentifier: 'sku123',
|
|
382
|
+
* productIdType: 'sku',
|
|
383
|
+
* currency: 'USD',
|
|
384
|
+
* locale: 'en_US',
|
|
385
|
+
* pageable: { page: 1, size
|
|
386
|
+
*/
|
|
387
|
+
export declare function getProductPaginatedOffers({ productIdentifier, productIdType, currency, locale, withoutPrices, pageable, }: GetProductPaginatedOffersParameters): Promise<GetProductPaginatedOffersResponse>;
|
|
388
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/product/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Product Module
|
|
3
|
+
* Re-exports all product-related types and service.
|
|
4
|
+
*
|
|
5
|
+
* @module services/product
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
export type { AutoCompleteSearchParams, GetProductsListParams, GetProductParams, GetProductVariantOffersParams, GetProductVariantSuppliersParams, GetProductOffersParams, GetProductPaginatedOffersParams, GetRelatedProductsParams, GetProductReviewsParams, GetProductStatReviewsParams, GetProductVariantAttributesParams, CreateProductReviewParams, UpdateProductReviewParams, ProductImage, ProductAttribute, ProductOffer, ProductVariant, ProductSummary, Product, Supplier, ProductReview, ReviewStatistics, SearchAggregation, SearchProductsResponse, GetProductsListResponse, GetProductVariantOffersResponse, GetProductVariantSuppliersResponse, GetProductOffersResponse, GetProductPaginatedOffersResponse, GetRelatedProductsResponse, GetProductReviewsResponse, GetProductStatReviewsResponse, GetProductVariantAttributesResponse, CreateProductReviewResponse, UpdateProductReviewResponse, } from "./types";
|
|
9
|
+
export { ProductEndpoints, type ProductEndpoint } from "./endpoints";
|
|
10
|
+
export { ProductService } from "./product.service";
|
|
11
|
+
//# sourceMappingURL=module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/services/product/module.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,YAAY,EACV,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,6BAA6B,EAC7B,gCAAgC,EAChC,sBAAsB,EACtB,+BAA+B,EAC/B,wBAAwB,EACxB,uBAAuB,EACvB,2BAA2B,EAC3B,iCAAiC,EACjC,yBAAyB,EACzB,yBAAyB,EACzB,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,OAAO,EACP,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,+BAA+B,EAC/B,kCAAkC,EAClC,wBAAwB,EACxB,iCAAiC,EACjC,0BAA0B,EAC1B,yBAAyB,EACzB,6BAA6B,EAC7B,mCAAmC,EACnC,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAGrE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|