@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,31 @@
|
|
|
1
|
+
import { BreadcrumbDto, NavigationCategoryDto } from "../../interfaces/models/navigation-category";
|
|
2
|
+
export interface GetNavigationCategoriesParameters {
|
|
3
|
+
locale?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface GetNavigationCategoryParameters {
|
|
6
|
+
locale?: string;
|
|
7
|
+
idType: string;
|
|
8
|
+
navigationCategoryId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetNavigationCategoryBreadcrumbsParameters {
|
|
11
|
+
locale?: string;
|
|
12
|
+
idType: string;
|
|
13
|
+
navigationCategoryId: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Responses type definitions
|
|
17
|
+
*/
|
|
18
|
+
export interface GetNavigationCategoriesResponse extends Array<NavigationCategoryDto> {
|
|
19
|
+
}
|
|
20
|
+
export interface GetNavigationCategoryResponse extends NavigationCategoryDto {
|
|
21
|
+
}
|
|
22
|
+
export interface GetNavigationCategoryBreadcrumbsResponse extends BreadcrumbDto {
|
|
23
|
+
}
|
|
24
|
+
export interface GetNavigationCategoryByOptionsParameters {
|
|
25
|
+
active?: boolean;
|
|
26
|
+
breadcrumb?: boolean;
|
|
27
|
+
idType?: string;
|
|
28
|
+
categoryId?: string;
|
|
29
|
+
locale?: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=definitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../src/services/navigation-category/definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,qBAAqB,EACtB,MAAM,6CAA6C,CAAC;AAErD,MAAM,WAAW,iCAAiC;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,+BAA+B;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,0CAA0C;IACzD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,+BACf,SAAQ,KAAK,CAAC,qBAAqB,CAAC;CAAG;AAEzC,MAAM,WAAW,6BAA8B,SAAQ,qBAAqB;CAAG;AAE/E,MAAM,WAAW,wCACf,SAAQ,aAAa;CAAG;AAE1B,MAAM,WAAW,wCAAwC;IACvD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Navigation Category Service - Endpoints
|
|
3
|
+
* API endpoint constants for navigation category operations.
|
|
4
|
+
*
|
|
5
|
+
* @module services/navigation-category/endpoints
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
export declare const NavigationCategoryEndpoints: {
|
|
9
|
+
readonly CATEGORIES: "/v1/shop/navigation-category";
|
|
10
|
+
readonly CATEGORIES_ONLINE: "/v1/shop/navigation-category/online";
|
|
11
|
+
readonly CATEGORY: "/v1/shop/navigation-category/{navigationCategoryId}";
|
|
12
|
+
readonly CATEGORY_BREADCRUMB: "/v1/shop/navigation-category/{navigationCategoryId}/breadcrumb";
|
|
13
|
+
};
|
|
14
|
+
export type NavigationCategoryEndpoint = (typeof NavigationCategoryEndpoints)[keyof typeof NavigationCategoryEndpoints];
|
|
15
|
+
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/services/navigation-category/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,2BAA2B;;;;;CAM9B,CAAC;AAEX,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { GetNavigationCategoriesParameters, GetNavigationCategoriesResponse, GetNavigationCategoryBreadcrumbsParameters, GetNavigationCategoryBreadcrumbsResponse, GetNavigationCategoryParameters, GetNavigationCategoryResponse, GetNavigationCategoryByOptionsParameters } from "./definitions";
|
|
2
|
+
/**
|
|
3
|
+
* 📄 Gets all navigation categories.
|
|
4
|
+
*
|
|
5
|
+
* Retrieves a list of all navigation categories available for the shop.
|
|
6
|
+
*
|
|
7
|
+
* 🛠 **Endpoint**: `GET /v1/shop/navigation-category/online`
|
|
8
|
+
*
|
|
9
|
+
* | Parameter | Type | Required | Description |
|
|
10
|
+
* |-----------------------|-------------------------------|------------|---------------------------------------------------------------|
|
|
11
|
+
* | `locale` | `string` | ✅ | Locale of the navigation categories to fetch. |
|
|
12
|
+
*
|
|
13
|
+
* 📤 **Returns**:
|
|
14
|
+
* A `Promise<GetNavigationCategoriesResponse>` containing a list of navigation categories.
|
|
15
|
+
*
|
|
16
|
+
* 🛠 **Example usage**:
|
|
17
|
+
* ```ts
|
|
18
|
+
* const categories = await getNavigationCategories({
|
|
19
|
+
* locale: 'en-US',
|
|
20
|
+
* });
|
|
21
|
+
*
|
|
22
|
+
* console.log(categories);
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function getNavigationCategories({ locale, }: GetNavigationCategoriesParameters): Promise<GetNavigationCategoriesResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 📄 Gets a specific navigation category.
|
|
28
|
+
*
|
|
29
|
+
* Retrieves a specific navigation category based on its ID.
|
|
30
|
+
*
|
|
31
|
+
* 🛠 **Endpoint**: `GET /v1/shop/navigation-category/{navigationCategoryId}`
|
|
32
|
+
*
|
|
33
|
+
* | Parameter | Type | Required | Description |
|
|
34
|
+
* |-----------------------|-------------------------------|------------|---------------------------------------------------------------|
|
|
35
|
+
* | `locale` | `string` | ✅ | Locale of the navigation category. |
|
|
36
|
+
* | `idType` | `string` | ✅ | Type of the ID used to identify the category (e.g., `id`, `slug`). |
|
|
37
|
+
* | `navigationCategoryId`| `string` | ✅ | ID of the navigation category to fetch. |
|
|
38
|
+
*
|
|
39
|
+
* 📤 **Returns**:
|
|
40
|
+
* A `Promise<GetNavigationCategoryResponse>` containing the specific navigation category.
|
|
41
|
+
*
|
|
42
|
+
* 🛠 **Example usage**:
|
|
43
|
+
* ```ts
|
|
44
|
+
* const category = await getNavigationCategory({
|
|
45
|
+
* locale: 'en-US',
|
|
46
|
+
* idType: 'id',
|
|
47
|
+
* navigationCategoryId: '123',
|
|
48
|
+
* });
|
|
49
|
+
*
|
|
50
|
+
* console.log(category);
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function getNavigationCategory({ locale, idType, navigationCategoryId, }: GetNavigationCategoryParameters): Promise<GetNavigationCategoryResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* 📄 Gets breadcrumbs for a specific navigation category.
|
|
56
|
+
*
|
|
57
|
+
* Retrieves the breadcrumb trail for a specific navigation category, showing its hierarchy.
|
|
58
|
+
*
|
|
59
|
+
* 🛠 **Endpoint**: `GET /v1/shop/navigation-category/{navigationCategoryId}/breadcrumb`
|
|
60
|
+
*
|
|
61
|
+
* | Parameter | Type | Required | Description |
|
|
62
|
+
* |-----------------------|-------------------------------|------------|---------------------------------------------------------------|
|
|
63
|
+
* | `locale` | `string` | ✅ | Locale of the navigation category breadcrumbs. |
|
|
64
|
+
* | `idType` | `string` | ✅ | Type of the ID used to identify the category (e.g., `id`, `slug`). |
|
|
65
|
+
* | `navigationCategoryId`| `string` | ✅ | ID of the navigation category to fetch breadcrumbs for. |
|
|
66
|
+
*
|
|
67
|
+
* 📤 **Returns**:
|
|
68
|
+
* A `Promise<GetNavigationCategoryBreadcrumbsResponse>` containing the breadcrumb trail for the navigation category.
|
|
69
|
+
*
|
|
70
|
+
* 🛠 **Example usage**:
|
|
71
|
+
* ```ts
|
|
72
|
+
* const breadcrumbs = await getNavigationCategoryBreadcrumbs({
|
|
73
|
+
* locale: 'en-US',
|
|
74
|
+
* idType: 'id',
|
|
75
|
+
* navigationCategoryId: '123',
|
|
76
|
+
* });
|
|
77
|
+
*
|
|
78
|
+
* console.log(breadcrumbs);
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export declare function getNavigationCategoryBreadcrumbs({ locale, idType, navigationCategoryId, }: GetNavigationCategoryBreadcrumbsParameters): Promise<GetNavigationCategoryBreadcrumbsResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* 📄 Gets navigation categories by query parameters.
|
|
84
|
+
*
|
|
85
|
+
* @deprecated This endpoint should be avoided for new implementations. Use more specific endpoints instead.
|
|
86
|
+
*
|
|
87
|
+
* Retrieves navigation categories based on various filter options.
|
|
88
|
+
*
|
|
89
|
+
* 🛠 **Endpoint**: `GET /v1/shop/navigation-category`
|
|
90
|
+
*
|
|
91
|
+
* | Parameter | Type | Required | Description |
|
|
92
|
+
* |-----------------------|-------------------------------|------------|---------------------------------------------------------------|
|
|
93
|
+
* | `active` | `boolean` | | Filter categories by active status. |
|
|
94
|
+
* | `breadcrumb` | `boolean` | | Include breadcrumb information in the response. |
|
|
95
|
+
* | `idType` | `string` | | Type of ID used (DJUST_ID, EXTERNAL_ID). |
|
|
96
|
+
* | `categoryId` | `string` | | Filter by specific category ID. |
|
|
97
|
+
* | `locale` | `string` | | Locale for the returned category information. |
|
|
98
|
+
*
|
|
99
|
+
* 📤 **Returns**:
|
|
100
|
+
* A `Promise<Array<NavigationCategoryDto>>` containing the navigation categories that match the criteria.
|
|
101
|
+
*
|
|
102
|
+
* 🛠 **Example usage**:
|
|
103
|
+
* ```ts
|
|
104
|
+
* const categories = await getNavigationCategoryByOptions({
|
|
105
|
+
* active: true,
|
|
106
|
+
* locale: 'en-US',
|
|
107
|
+
* idType: 'DJUST_ID',
|
|
108
|
+
* });
|
|
109
|
+
*
|
|
110
|
+
* console.log(categories);
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
export declare function getNavigationCategoryByOptions(params?: GetNavigationCategoryByOptionsParameters): Promise<GetNavigationCategoriesResponse>;
|
|
114
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/navigation-category/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iCAAiC,EACjC,+BAA+B,EAC/B,0CAA0C,EAC1C,wCAAwC,EACxC,+BAA+B,EAC/B,6BAA6B,EAC7B,wCAAwC,EACzC,MAAM,eAAe,CAAC;AAEvB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,uBAAuB,CAAC,EAC5C,MAAM,GACP,EAAE,iCAAiC,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAY9E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,qBAAqB,CAAC,EAC1C,MAAM,EACN,MAAM,EACN,oBAAoB,GACrB,EAAE,+BAA+B,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAa1E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAsB,gCAAgC,CAAC,EACrD,MAAM,EACN,MAAM,EACN,oBAAoB,GACrB,EAAE,0CAA0C,GAAG,OAAO,CAAC,wCAAwC,CAAC,CAchG;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAsB,8BAA8B,CAClD,MAAM,GAAE,wCAA6C,GACpD,OAAO,CAAC,+BAA+B,CAAC,CAQ1C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Navigation Category Module
|
|
3
|
+
* Re-exports all navigation category-related types and service.
|
|
4
|
+
*
|
|
5
|
+
* @module services/navigation-category
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
export type { IdType, GetNavigationCategoriesParams, GetNavigationCategoryParams, GetNavigationCategoryBreadcrumbsParams, GetNavigationCategoryByOptionsParams, NavigationCategory, NavigationCategoryBreadcrumb, GetNavigationCategoriesResponse, GetNavigationCategoryResponse, GetNavigationCategoryBreadcrumbsResponse, } from "./types";
|
|
9
|
+
export { NavigationCategoryEndpoints, type NavigationCategoryEndpoint, } from "./endpoints";
|
|
10
|
+
export { NavigationCategoryService } from "./navigation-category.service";
|
|
11
|
+
//# sourceMappingURL=module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/services/navigation-category/module.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EACV,MAAM,EACN,6BAA6B,EAC7B,2BAA2B,EAC3B,sCAAsC,EACtC,oCAAoC,EACpC,kBAAkB,EAClB,4BAA4B,EAC5B,+BAA+B,EAC/B,6BAA6B,EAC7B,wCAAwC,GACzC,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,2BAA2B,EAC3B,KAAK,0BAA0B,GAChC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* # Navigation Category Service
|
|
3
|
+
*
|
|
4
|
+
* Product catalog navigation and category management.
|
|
5
|
+
*
|
|
6
|
+
* ## Features
|
|
7
|
+
* - Category tree retrieval
|
|
8
|
+
* - Breadcrumb navigation
|
|
9
|
+
* - Localized category content
|
|
10
|
+
*
|
|
11
|
+
* @module services/navigation-category
|
|
12
|
+
* @since 2.17.0
|
|
13
|
+
*/
|
|
14
|
+
import { BaseService } from "../base.service";
|
|
15
|
+
import type { RequestContext } from "../../client/transport";
|
|
16
|
+
import type { GetNavigationCategoriesParams, GetNavigationCategoryParams, GetNavigationCategoryBreadcrumbsParams, GetNavigationCategoryByOptionsParams, GetNavigationCategoriesResponse, GetNavigationCategoryResponse, GetNavigationCategoryBreadcrumbsResponse } from "./types";
|
|
17
|
+
/**
|
|
18
|
+
* Service for navigation category operations.
|
|
19
|
+
*
|
|
20
|
+
* Provides catalog navigation functionality:
|
|
21
|
+
* - Category hierarchy (tree structure)
|
|
22
|
+
* - Breadcrumb generation
|
|
23
|
+
* - Multi-locale support
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```typescript
|
|
27
|
+
* import { createDjustClient } from '@djust-b2b/djust-front-sdk';
|
|
28
|
+
*
|
|
29
|
+
* const client = createDjustClient({ baseUrl, clientId, apiKey });
|
|
30
|
+
*
|
|
31
|
+
* // Get category tree
|
|
32
|
+
* const categories = await client.navigationCategory.getNavigationCategories({
|
|
33
|
+
* locale: 'en-US',
|
|
34
|
+
* });
|
|
35
|
+
*
|
|
36
|
+
* // Get breadcrumbs for a category
|
|
37
|
+
* const breadcrumbs = await client.navigationCategory.getNavigationCategoryBreadcrumbs({
|
|
38
|
+
* navigationCategoryId: 'electronics',
|
|
39
|
+
* idType: 'externalId',
|
|
40
|
+
* locale: 'en-US',
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare class NavigationCategoryService extends BaseService {
|
|
45
|
+
readonly serviceName = "navigation-category";
|
|
46
|
+
/**
|
|
47
|
+
* Get all online navigation categories.
|
|
48
|
+
*
|
|
49
|
+
* Returns the full category tree for catalog navigation.
|
|
50
|
+
*
|
|
51
|
+
* **Endpoint**: `GET /v1/shop/navigation-categories/online [CAT-100]`
|
|
52
|
+
*
|
|
53
|
+
* | Parameter | Type | Required | Description |
|
|
54
|
+
* |-----------|----------|----------|--------------------------|
|
|
55
|
+
* | `locale` | `string` | Yes | Locale for translations |
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```typescript
|
|
59
|
+
* const categories = await client.navigationCategory.getNavigationCategories({
|
|
60
|
+
* locale: 'en-US',
|
|
61
|
+
* });
|
|
62
|
+
*
|
|
63
|
+
* // Build navigation menu
|
|
64
|
+
* categories.forEach(cat => {
|
|
65
|
+
* console.log(`${cat.name} (${cat.children.length} subcategories)`);
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param params - Query parameters
|
|
70
|
+
* @param context - Optional SSR request context
|
|
71
|
+
* @throws {ValidationError} If locale is missing
|
|
72
|
+
* @returns Category tree
|
|
73
|
+
*/
|
|
74
|
+
getNavigationCategories(params: GetNavigationCategoriesParams, context?: RequestContext): Promise<GetNavigationCategoriesResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* Get a specific navigation category.
|
|
77
|
+
*
|
|
78
|
+
* **Endpoint**: `GET /v1/shop/navigation-categories/{categoryId} [CAT-101]`
|
|
79
|
+
*
|
|
80
|
+
* | Parameter | Type | Required | Description |
|
|
81
|
+
* |------------------------|----------|----------|--------------------------|
|
|
82
|
+
* | `navigationCategoryId` | `string` | Yes | Category ID or externalId|
|
|
83
|
+
* | `idType` | `string` | Yes | ID type (id, externalId) |
|
|
84
|
+
* | `locale` | `string` | No | Locale for translations |
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```typescript
|
|
88
|
+
* const category = await client.navigationCategory.getNavigationCategory({
|
|
89
|
+
* navigationCategoryId: 'electronics',
|
|
90
|
+
* idType: 'externalId',
|
|
91
|
+
* locale: 'en-US',
|
|
92
|
+
* });
|
|
93
|
+
*
|
|
94
|
+
* console.log(`${category.name}: ${category.description}`);
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* @param params - Category identification
|
|
98
|
+
* @param context - Optional SSR request context
|
|
99
|
+
* @throws {ValidationError} If required parameters are missing
|
|
100
|
+
* @throws {NotFoundError} If category doesn't exist
|
|
101
|
+
* @returns Category details
|
|
102
|
+
*/
|
|
103
|
+
getNavigationCategory(params: GetNavigationCategoryParams, context?: RequestContext): Promise<GetNavigationCategoryResponse>;
|
|
104
|
+
/**
|
|
105
|
+
* Get breadcrumb trail for a category.
|
|
106
|
+
*
|
|
107
|
+
* Returns the path from root to the specified category.
|
|
108
|
+
*
|
|
109
|
+
* **Endpoint**: `GET /v1/shop/navigation-categories/{categoryId}/breadcrumb [CAT-102]`
|
|
110
|
+
*
|
|
111
|
+
* | Parameter | Type | Required | Description |
|
|
112
|
+
* |------------------------|----------|----------|--------------------------|
|
|
113
|
+
* | `navigationCategoryId` | `string` | Yes | Category ID |
|
|
114
|
+
* | `idType` | `string` | Yes | ID type |
|
|
115
|
+
* | `locale` | `string` | No | Locale for translations |
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* ```typescript
|
|
119
|
+
* const breadcrumbs = await client.navigationCategory.getNavigationCategoryBreadcrumbs({
|
|
120
|
+
* navigationCategoryId: 'laptops',
|
|
121
|
+
* idType: 'externalId',
|
|
122
|
+
* locale: 'en-US',
|
|
123
|
+
* });
|
|
124
|
+
*
|
|
125
|
+
* // Output: Home > Electronics > Computers > Laptops
|
|
126
|
+
* const path = breadcrumbs.map(b => b.name).join(' > ');
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
129
|
+
* @param params - Category identification
|
|
130
|
+
* @param context - Optional SSR request context
|
|
131
|
+
* @throws {ValidationError} If required parameters are missing
|
|
132
|
+
* @returns Breadcrumb trail (array of categories)
|
|
133
|
+
*/
|
|
134
|
+
getNavigationCategoryBreadcrumbs(params: GetNavigationCategoryBreadcrumbsParams, context?: RequestContext): Promise<GetNavigationCategoryBreadcrumbsResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* Get categories with custom options.
|
|
137
|
+
*
|
|
138
|
+
* @deprecated Use `getNavigationCategories` or `getNavigationCategory` instead
|
|
139
|
+
*
|
|
140
|
+
* **Endpoint**: `GET /v1/shop/navigation-categories [CAT-103]`
|
|
141
|
+
*
|
|
142
|
+
* @param params - Query parameters
|
|
143
|
+
* @param context - Optional SSR request context
|
|
144
|
+
* @returns Category list
|
|
145
|
+
*/
|
|
146
|
+
getNavigationCategoryByOptions(params?: GetNavigationCategoryByOptionsParams, context?: RequestContext): Promise<GetNavigationCategoriesResponse>;
|
|
147
|
+
}
|
|
148
|
+
//# sourceMappingURL=navigation-category.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation-category.service.d.ts","sourceRoot":"","sources":["../../../src/services/navigation-category/navigation-category.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EACV,6BAA6B,EAC7B,2BAA2B,EAC3B,sCAAsC,EACtC,oCAAoC,EACpC,+BAA+B,EAC/B,6BAA6B,EAC7B,wCAAwC,EACzC,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAAa,yBAA0B,SAAQ,WAAW;IACxD,QAAQ,CAAC,WAAW,yBAAyB;IAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACG,uBAAuB,CAC3B,MAAM,EAAE,6BAA6B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,+BAA+B,CAAC;IAa3C;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACG,qBAAqB,CACzB,MAAM,EAAE,2BAA2B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,6BAA6B,CAAC;IAkBzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACG,gCAAgC,CACpC,MAAM,EAAE,sCAAsC,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,wCAAwC,CAAC;IAkBpD;;;;;;;;;;OAUG;IACG,8BAA8B,CAClC,MAAM,GAAE,oCAAyC,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,+BAA+B,CAAC;CAU5C"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Navigation Category Service - Types
|
|
3
|
+
* Type definitions for navigation category operations.
|
|
4
|
+
*
|
|
5
|
+
* @module services/navigation-category/types
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
export type IdType = "DJUST_ID" | "EXTERNAL_ID" | "SLUG";
|
|
9
|
+
export interface GetNavigationCategoriesParams {
|
|
10
|
+
locale: string;
|
|
11
|
+
}
|
|
12
|
+
export interface GetNavigationCategoryParams {
|
|
13
|
+
navigationCategoryId: string;
|
|
14
|
+
locale?: string;
|
|
15
|
+
idType: IdType;
|
|
16
|
+
}
|
|
17
|
+
export interface GetNavigationCategoryBreadcrumbsParams {
|
|
18
|
+
navigationCategoryId: string;
|
|
19
|
+
locale?: string;
|
|
20
|
+
idType: IdType;
|
|
21
|
+
}
|
|
22
|
+
export interface GetNavigationCategoryByOptionsParams {
|
|
23
|
+
active?: boolean;
|
|
24
|
+
breadcrumb?: boolean;
|
|
25
|
+
idType?: IdType;
|
|
26
|
+
categoryId?: string;
|
|
27
|
+
locale?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface NavigationCategory {
|
|
30
|
+
id: string;
|
|
31
|
+
externalId?: string;
|
|
32
|
+
slug?: string;
|
|
33
|
+
name: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
parentId?: string;
|
|
36
|
+
active: boolean;
|
|
37
|
+
order: number;
|
|
38
|
+
imageUrl?: string;
|
|
39
|
+
children?: NavigationCategory[];
|
|
40
|
+
createdAt: string;
|
|
41
|
+
updatedAt: string;
|
|
42
|
+
}
|
|
43
|
+
export interface NavigationCategoryBreadcrumb {
|
|
44
|
+
id: string;
|
|
45
|
+
name: string;
|
|
46
|
+
slug?: string;
|
|
47
|
+
}
|
|
48
|
+
export type GetNavigationCategoriesResponse = NavigationCategory[];
|
|
49
|
+
export type GetNavigationCategoryResponse = NavigationCategory;
|
|
50
|
+
export type GetNavigationCategoryBreadcrumbsResponse = NavigationCategoryBreadcrumb[];
|
|
51
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/navigation-category/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,MAAM,MAAM,GAAG,UAAU,GAAG,aAAa,GAAG,MAAM,CAAC;AAMzD,MAAM,WAAW,6BAA6B;IAC5C,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,2BAA2B;IAC1C,oBAAoB,EAAE,MAAM,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,sCAAsC;IACrD,oBAAoB,EAAE,MAAM,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,oCAAoC;IACnD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAMD,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAGD,MAAM,MAAM,+BAA+B,GAAG,kBAAkB,EAAE,CAAC;AACnE,MAAM,MAAM,6BAA6B,GAAG,kBAAkB,CAAC;AAC/D,MAAM,MAAM,wCAAwC,GAClD,4BAA4B,EAAE,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { OfferInventories, OfferInventoriesV2, OfferInventoryCustomField, OfferInventoryStatus } from "../../interfaces/models/offer";
|
|
2
|
+
import { ProductStatus } from "../../interfaces/models/product";
|
|
3
|
+
import { IdType, Order, PageableObject } from "../../interfaces/models/common";
|
|
4
|
+
/**
|
|
5
|
+
* Requests parameters type definitions
|
|
6
|
+
*/
|
|
7
|
+
export interface GetPaginatedOfferInventoriesParameters {
|
|
8
|
+
page?: number;
|
|
9
|
+
size?: number;
|
|
10
|
+
sort?: string;
|
|
11
|
+
productStatus?: ProductStatus;
|
|
12
|
+
offerInventoryStatus?: OfferInventoryStatus;
|
|
13
|
+
variantStatus?: ProductStatus;
|
|
14
|
+
offerPriceStatus?: OfferInventoryStatus;
|
|
15
|
+
supplierId?: string;
|
|
16
|
+
offersIds?: string[];
|
|
17
|
+
offerPriceIds?: string[];
|
|
18
|
+
currency: string;
|
|
19
|
+
hasStock?: string;
|
|
20
|
+
idType?: IdType;
|
|
21
|
+
}
|
|
22
|
+
export interface GetPaginatedOfferInventoriesV2Parameters {
|
|
23
|
+
page?: number;
|
|
24
|
+
size?: number;
|
|
25
|
+
sort?: string;
|
|
26
|
+
variantExternalId?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface GetOfferInventoriesResponse {
|
|
29
|
+
content: OfferInventories[];
|
|
30
|
+
empty: boolean;
|
|
31
|
+
first: boolean;
|
|
32
|
+
last: boolean;
|
|
33
|
+
number: number;
|
|
34
|
+
numberOfElements: number;
|
|
35
|
+
pageable: PageableObject;
|
|
36
|
+
size: number;
|
|
37
|
+
sort: Order[];
|
|
38
|
+
totalElements: number;
|
|
39
|
+
totalPages: number;
|
|
40
|
+
}
|
|
41
|
+
export interface GetOfferInventoriesV2Response {
|
|
42
|
+
content: OfferInventoriesV2[];
|
|
43
|
+
empty: boolean;
|
|
44
|
+
first: boolean;
|
|
45
|
+
last: boolean;
|
|
46
|
+
number: number;
|
|
47
|
+
numberOfElements: number;
|
|
48
|
+
pageable: PageableObject;
|
|
49
|
+
size: number;
|
|
50
|
+
sort: Order[];
|
|
51
|
+
totalElements: number;
|
|
52
|
+
}
|
|
53
|
+
export interface GetOfferInventoryCustomFieldsParameters {
|
|
54
|
+
externalId: string;
|
|
55
|
+
locale?: string;
|
|
56
|
+
page?: number;
|
|
57
|
+
size?: number;
|
|
58
|
+
sort?: string;
|
|
59
|
+
}
|
|
60
|
+
export interface GetOfferInventoryCustomFieldsResponse {
|
|
61
|
+
content: OfferInventoryCustomField[];
|
|
62
|
+
empty: boolean;
|
|
63
|
+
first: boolean;
|
|
64
|
+
last: boolean;
|
|
65
|
+
number: number;
|
|
66
|
+
numberOfElements: number;
|
|
67
|
+
pageable: PageableObject;
|
|
68
|
+
size: number;
|
|
69
|
+
sort: Order[];
|
|
70
|
+
totalElements: number;
|
|
71
|
+
totalPages: number;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=definitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../src/services/offer-inventories/definitions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,oBAAoB,EAErB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAOL,aAAa,EAEd,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,MAAM,EACN,KAAK,EACL,cAAc,EAEf,MAAM,gCAAgC,CAAC;AAGxC;;GAEG;AAEH,MAAM,WAAW,sCAAsC;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,gBAAgB,CAAC,EAAE,oBAAoB,CAAC;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,wCAAwC;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,EAAE,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,EAAE,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,uCAAuC;IACtD,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qCAAqC;IACpD,OAAO,EAAE,yBAAyB,EAAE,CAAC;IACrC,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,EAAE,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Offer Inventories Service - Endpoints
|
|
3
|
+
* API endpoint constants for offer inventories operations.
|
|
4
|
+
*
|
|
5
|
+
* @module services/offer-inventories/endpoints
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
export declare const OfferInventoriesEndpoints: {
|
|
9
|
+
/** @deprecated */
|
|
10
|
+
readonly INVENTORIES_V1: "/v1/shop/offer-inventories";
|
|
11
|
+
readonly INVENTORIES_V2: "/v2/shop/offer-inventories";
|
|
12
|
+
/** @deprecated */
|
|
13
|
+
readonly CUSTOM_FIELDS: "/v1/shop/offer-inventories/{externalId}/custom-fields";
|
|
14
|
+
};
|
|
15
|
+
export type OfferInventoriesEndpoint = (typeof OfferInventoriesEndpoints)[keyof typeof OfferInventoriesEndpoints];
|
|
16
|
+
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/services/offer-inventories/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,yBAAyB;IACpC,kBAAkB;;;IAGlB,kBAAkB;;CAEV,CAAC;AAEX,MAAM,MAAM,wBAAwB,GAClC,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { GetOfferInventoriesResponse, GetOfferInventoriesV2Response, GetOfferInventoryCustomFieldsParameters, GetOfferInventoryCustomFieldsResponse, GetPaginatedOfferInventoriesParameters, GetPaginatedOfferInventoriesV2Parameters } from "./definitions";
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated
|
|
4
|
+
* 📄 Gets offer inventories.
|
|
5
|
+
*
|
|
6
|
+
* This function retrieves offer inventories with various filtering options.
|
|
7
|
+
* The `currency` parameter is mandatory and validated before the request is executed.
|
|
8
|
+
*
|
|
9
|
+
* 🛠 **Endpoint**: `GET /v1/offer-inventories` [OFFER-550]
|
|
10
|
+
*
|
|
11
|
+
* | Parameter | Type | Required | Description |
|
|
12
|
+
* |------------------------|--------------|----------|---------------------------------------------|
|
|
13
|
+
* | `page` | `number` | ❌ | The page number to fetch (0-based index). |
|
|
14
|
+
* | `size` | `number` | ❌ | The number of items per page. |
|
|
15
|
+
* | `sort` | `string` | ❌ | The sort to apply to the results. |
|
|
16
|
+
* | `productStatus` | `string` | ❌ | Filter by product status. |
|
|
17
|
+
* | `offerInventoryStatus` | `string` | ❌ | Filter by offer inventory status. |
|
|
18
|
+
* | `variantStatus` | `string` | ❌ | Filter by variant status. |
|
|
19
|
+
* | `offerPriceStatus` | `string` | ❌ | Filter by offer price status. |
|
|
20
|
+
* | `supplierId` | `string` | ❌ | Filter by supplier ID. |
|
|
21
|
+
* | `offersIds` | `string[]` | ❌ | Filter by offer IDs. |
|
|
22
|
+
* | `offerPriceIds` | `string[]` | ❌ | Filter by offer price IDs. |
|
|
23
|
+
* | `currency` | `string` | ✅ | The currency for price formatting. |
|
|
24
|
+
* | `hasStock` | `string` | ❌ | Filter by stock availability. |
|
|
25
|
+
* | `idType` | `string` | ❌ | The ID type to use. |
|
|
26
|
+
*
|
|
27
|
+
* 📤 **Returns**:
|
|
28
|
+
* A `Promise` resolving to a `GetOfferInventoriesResponse` containing the offer inventories.
|
|
29
|
+
*
|
|
30
|
+
* 🛠 **Example usage**:
|
|
31
|
+
* ```typescript
|
|
32
|
+
* const inventories = await getOfferInventories({
|
|
33
|
+
* page: 0,
|
|
34
|
+
* size: 20,
|
|
35
|
+
* sort: "createdAt,desc",
|
|
36
|
+
* currency: "EUR",
|
|
37
|
+
* hasStock: "true",
|
|
38
|
+
* });
|
|
39
|
+
* console.log(inventories);
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @deprecated This function is deprecated and will be probably removed in a future version.
|
|
43
|
+
* @param {GetPaginatedOfferInventoriesParameters} params - The parameters for the request
|
|
44
|
+
* @throws {Error} If `currency` is missing
|
|
45
|
+
* @returns {Promise<GetOfferInventoriesResponse>} A promise resolving to the response containing the offer inventories
|
|
46
|
+
*/
|
|
47
|
+
export declare function getPaginatedOfferInventories({ page, size, sort, productStatus, offerInventoryStatus, variantStatus, offerPriceStatus, supplierId, offersIds, offerPriceIds, currency, hasStock, idType, }: GetPaginatedOfferInventoriesParameters): Promise<GetOfferInventoriesResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* 📄 Gets paginated offer inventories V2.
|
|
50
|
+
*
|
|
51
|
+
* This function retrieves paginated offer inventories with filtering by variant external ID.
|
|
52
|
+
* The `variantExternalId` parameter is mandatory and validated before the request is executed.
|
|
53
|
+
*
|
|
54
|
+
* 🛠 **Endpoint**: `GET /v2/offer-inventories` [OFFER-551]
|
|
55
|
+
*
|
|
56
|
+
* | Parameter | Type | Required | Description |
|
|
57
|
+
* |---------------------|----------|----------|------------------------------------------------|
|
|
58
|
+
* | `page` | `number` | ❌ | The page number to fetch (0-based index). |
|
|
59
|
+
* | `size` | `number` | ❌ | The number of items per page. |
|
|
60
|
+
* | `sort` | `string` | ❌ | The sort to apply to the results. |
|
|
61
|
+
* | `variantExternalId` | `string` | ✅ | The external ID of the product variant. |
|
|
62
|
+
*
|
|
63
|
+
* 📤 **Returns**:
|
|
64
|
+
* A `Promise` resolving to a `GetOfferInventoriesV2Response` containing the paginated offer inventories.
|
|
65
|
+
*
|
|
66
|
+
* 🛠 **Example usage**:
|
|
67
|
+
* ```typescript
|
|
68
|
+
* const inventories = await getPaginatedOfferInventoriesV2({
|
|
69
|
+
* variantExternalId: "variant123",
|
|
70
|
+
* page: 0,
|
|
71
|
+
* size: 20,
|
|
72
|
+
* sort: "createdAt,desc",
|
|
73
|
+
* });
|
|
74
|
+
* console.log(inventories);
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param {GetPaginatedOfferInventoriesV2Parameters} params - The parameters for the request
|
|
78
|
+
* @throws {Error} If `variantExternalId` is missing
|
|
79
|
+
* @returns {Promise<GetOfferInventoriesV2Response>} A promise resolving to the response containing the paginated offer inventories
|
|
80
|
+
*/
|
|
81
|
+
export declare function getPaginatedOfferInventoriesV2({ page, size, sort, variantExternalId, }: GetPaginatedOfferInventoriesV2Parameters): Promise<GetOfferInventoriesV2Response>;
|
|
82
|
+
/**
|
|
83
|
+
* @deprecated
|
|
84
|
+
* 📄 Gets offer inventory custom fields.
|
|
85
|
+
*
|
|
86
|
+
* This function retrieves custom fields for a specific offer inventory identified by the `externalId`.
|
|
87
|
+
* The `externalId` parameter is mandatory and validated before the request is executed.
|
|
88
|
+
*
|
|
89
|
+
* 🛠 **Endpoint**: `GET /v1/offer-inventories/${externalId}/custom-fields` [OFFER-552]
|
|
90
|
+
*
|
|
91
|
+
* | Parameter | Type | Required | Description |
|
|
92
|
+
* |-------------|----------|----------|------------------------------------------------|
|
|
93
|
+
* | `externalId`| `string` | ✅ | The external ID of the offer inventory. |
|
|
94
|
+
* | `page` | `number` | ❌ | The page number to fetch (0-based index). |
|
|
95
|
+
* | `size` | `number` | ❌ | The number of items per page. |
|
|
96
|
+
* | `sort` | `string` | ❌ | The sort to apply to the results. |
|
|
97
|
+
* | `locale` | `string` | ❌ | The locale for the response data. |
|
|
98
|
+
*
|
|
99
|
+
* 📤 **Returns**:
|
|
100
|
+
* A `Promise` resolving to a `GetOfferInventoryCustomFieldsResponse` containing the custom fields.
|
|
101
|
+
*
|
|
102
|
+
* 🛠 **Example usage**:
|
|
103
|
+
* ```typescript
|
|
104
|
+
* const customFields = await getOfferInventoryCustomFields({
|
|
105
|
+
* externalId: "inventory123",
|
|
106
|
+
* page: 0,
|
|
107
|
+
* size: 20,
|
|
108
|
+
* sort: "name,asc",
|
|
109
|
+
* locale: "en",
|
|
110
|
+
* });
|
|
111
|
+
* console.log(customFields);
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* @deprecated This function is deprecated and will be probably removed in a future version.
|
|
115
|
+
* @param {GetOfferInventoryCustomFieldsParameters} params - The parameters for the request
|
|
116
|
+
* @throws {Error} If `externalId` is missing
|
|
117
|
+
* @returns {Promise<GetOfferInventoryCustomFieldsResponse>} A promise resolving to the response containing the custom fields
|
|
118
|
+
*/
|
|
119
|
+
export declare function getOfferInventoryCustomFields({ externalId, page, size, sort, locale, }: GetOfferInventoryCustomFieldsParameters): Promise<GetOfferInventoryCustomFieldsResponse>;
|
|
120
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/offer-inventories/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,EAC7B,uCAAuC,EACvC,qCAAqC,EACrC,sCAAsC,EACtC,wCAAwC,EACzC,MAAM,eAAe,CAAC;AAEvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,wBAAsB,4BAA4B,CAAC,EACjD,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,MAAM,GACP,EAAE,sCAAsC,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAuB/E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAsB,8BAA8B,CAAC,EACnD,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,iBAAiB,GAClB,EAAE,wCAAwC,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAcnF;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAsB,6BAA6B,CAAC,EAClD,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,MAAM,GACP,EAAE,uCAAuC,GAAG,OAAO,CAAC,qCAAqC,CAAC,CAe1F"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Offer Inventories Module
|
|
3
|
+
* Re-exports all offer inventories-related types and service.
|
|
4
|
+
*
|
|
5
|
+
* @module services/offer-inventories
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
export type { OfferInventoryStatus, ProductStatus, VariantStatus, OfferPriceStatus, IdType, GetPaginatedOfferInventoriesParams, GetPaginatedOfferInventoriesV2Params, GetOfferInventoryCustomFieldsParams, OfferInventory, OfferInventoryV2, CustomFieldValue, GetOfferInventoriesResponse, GetOfferInventoriesV2Response, GetOfferInventoryCustomFieldsResponse, } from "./types";
|
|
9
|
+
export { OfferInventoriesEndpoints, type OfferInventoriesEndpoint, } from "./endpoints";
|
|
10
|
+
export { OfferInventoriesService } from "./offer-inventories.service";
|
|
11
|
+
//# sourceMappingURL=module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/services/offer-inventories/module.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,MAAM,EACN,kCAAkC,EAClC,oCAAoC,EACpC,mCAAmC,EACnC,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,2BAA2B,EAC3B,6BAA6B,EAC7B,qCAAqC,GACtC,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,yBAAyB,EACzB,KAAK,wBAAwB,GAC9B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC"}
|