@djust-b2b/djust-front-sdk 3.0.0-beta.8 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -30
- package/dist/.tsbuildinfo +1 -1
- package/dist/.tsbuildinfo-esm +1 -1
- package/dist/client/create-client.d.ts +18 -0
- package/dist/client/create-client.d.ts.map +1 -1
- package/dist/client/transport.d.ts +5 -0
- package/dist/client/transport.d.ts.map +1 -1
- package/dist/errors/classes/not-found.error.d.ts +1 -1
- package/dist/errors/classes/not-found.error.d.ts.map +1 -1
- package/dist/errors/factory.d.ts.map +1 -1
- package/dist/errors/helpers/djust-api-error.d.ts +29 -0
- package/dist/errors/helpers/djust-api-error.d.ts.map +1 -0
- package/dist/errors/types.d.ts +4 -0
- package/dist/errors/types.d.ts.map +1 -1
- package/dist/index.d.ts +43 -41
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +274 -64
- package/dist/interfaces/index.d.ts +15 -3
- package/dist/interfaces/index.d.ts.map +1 -1
- package/dist/services/base.service.d.ts +2 -0
- package/dist/services/base.service.d.ts.map +1 -1
- package/dist/services/commercial-order/commercial-order.service.d.ts +8 -5
- package/dist/services/commercial-order/commercial-order.service.d.ts.map +1 -1
- package/dist/services/commercial-order/definitions.d.ts +13 -0
- package/dist/services/commercial-order/definitions.d.ts.map +1 -1
- package/dist/services/commercial-order/index.d.ts +30 -19
- package/dist/services/commercial-order/index.d.ts.map +1 -1
- package/dist/services/commercial-order/module.d.ts +1 -1
- package/dist/services/commercial-order/module.d.ts.map +1 -1
- package/dist/services/commercial-order/types.d.ts +1 -0
- package/dist/services/commercial-order/types.d.ts.map +1 -1
- package/dist/services/logistic-order/definitions.d.ts +23 -1
- package/dist/services/logistic-order/definitions.d.ts.map +1 -1
- package/dist/services/logistic-order/endpoints.d.ts +1 -0
- package/dist/services/logistic-order/endpoints.d.ts.map +1 -1
- package/dist/services/logistic-order/index.d.ts +77 -1
- package/dist/services/logistic-order/index.d.ts.map +1 -1
- package/dist/services/logistic-order/logistic-order.service.d.ts +6 -1
- package/dist/services/logistic-order/logistic-order.service.d.ts.map +1 -1
- package/dist/services/logistic-order/module.d.ts +1 -1
- package/dist/services/logistic-order/module.d.ts.map +1 -1
- package/dist/services/logistic-order/types.d.ts +9 -0
- package/dist/services/logistic-order/types.d.ts.map +1 -1
- package/dist/services/operation/definitions.d.ts +1 -18
- package/dist/services/operation/definitions.d.ts.map +1 -1
- package/dist/services/payment/definitions.d.ts +0 -10
- package/dist/services/payment/definitions.d.ts.map +1 -1
- package/dist/services/product/definitions.d.ts +1 -0
- package/dist/services/product/definitions.d.ts.map +1 -1
- package/dist/services/product/index.d.ts +6 -5
- package/dist/services/product/index.d.ts.map +1 -1
- package/dist/services/product-variant/definitions.d.ts +3 -142
- package/dist/services/product-variant/definitions.d.ts.map +1 -1
- package/dist/services/quote/definitions.d.ts +3 -1
- package/dist/services/quote/definitions.d.ts.map +1 -1
- package/dist/services/quote/index.d.ts +2 -1
- package/dist/services/quote/index.d.ts.map +1 -1
- package/dist/services/quote/quote.service.d.ts +1 -0
- package/dist/services/quote/quote.service.d.ts.map +1 -1
- package/dist/services/quote/types.d.ts +2 -0
- package/dist/services/quote/types.d.ts.map +1 -1
- package/dist/settings/fetch-instance.d.ts.map +1 -1
- package/dist/settings/sdk-version.d.ts +3 -0
- package/dist/settings/sdk-version.d.ts.map +1 -0
- package/lib/.tsbuildinfo +1 -0
- package/lib/client/create-client.d.ts +251 -0
- package/lib/client/create-client.d.ts.map +1 -0
- package/lib/client/create-client.js +233 -0
- package/lib/client/create-client.js.map +1 -0
- package/lib/client/index.d.ts +14 -0
- package/lib/client/index.d.ts.map +1 -0
- package/lib/client/index.js +91 -0
- package/lib/client/index.js.map +1 -0
- package/lib/client/performance.d.ts +203 -0
- package/lib/client/performance.d.ts.map +1 -0
- package/lib/client/performance.js +409 -0
- package/lib/client/performance.js.map +1 -0
- package/lib/client/transport.d.ts +372 -0
- package/lib/client/transport.d.ts.map +1 -0
- package/lib/client/transport.js +735 -0
- package/lib/client/transport.js.map +1 -0
- package/lib/errors/base.d.ts +101 -0
- package/lib/errors/base.d.ts.map +1 -0
- package/lib/errors/base.js +145 -0
- package/lib/errors/base.js.map +1 -0
- package/lib/errors/classes/auth.error.d.ts +64 -0
- package/lib/errors/classes/auth.error.d.ts.map +1 -0
- package/lib/errors/classes/auth.error.js +116 -0
- package/lib/errors/classes/auth.error.js.map +1 -0
- package/lib/errors/classes/forbidden.error.d.ts +52 -0
- package/lib/errors/classes/forbidden.error.d.ts.map +1 -0
- package/lib/errors/classes/forbidden.error.js +90 -0
- package/lib/errors/classes/forbidden.error.js.map +1 -0
- package/lib/errors/classes/index.d.ts +17 -0
- package/lib/errors/classes/index.d.ts.map +1 -0
- package/lib/errors/classes/index.js +29 -0
- package/lib/errors/classes/index.js.map +1 -0
- package/lib/errors/classes/network.error.d.ts +63 -0
- package/lib/errors/classes/network.error.d.ts.map +1 -0
- package/lib/errors/classes/network.error.js +122 -0
- package/lib/errors/classes/network.error.js.map +1 -0
- package/lib/errors/classes/not-found.error.d.ts +58 -0
- package/lib/errors/classes/not-found.error.d.ts.map +1 -0
- package/lib/errors/classes/not-found.error.js +120 -0
- package/lib/errors/classes/not-found.error.js.map +1 -0
- package/lib/errors/classes/rate-limit.error.d.ts +49 -0
- package/lib/errors/classes/rate-limit.error.d.ts.map +1 -0
- package/lib/errors/classes/rate-limit.error.js +107 -0
- package/lib/errors/classes/rate-limit.error.js.map +1 -0
- package/lib/errors/classes/server.error.d.ts +63 -0
- package/lib/errors/classes/server.error.d.ts.map +1 -0
- package/lib/errors/classes/server.error.js +156 -0
- package/lib/errors/classes/server.error.js.map +1 -0
- package/lib/errors/classes/timeout.error.d.ts +64 -0
- package/lib/errors/classes/timeout.error.d.ts.map +1 -0
- package/lib/errors/classes/timeout.error.js +90 -0
- package/lib/errors/classes/timeout.error.js.map +1 -0
- package/lib/errors/classes/unexpected.error.d.ts +70 -0
- package/lib/errors/classes/unexpected.error.d.ts.map +1 -0
- package/lib/errors/classes/unexpected.error.js +105 -0
- package/lib/errors/classes/unexpected.error.js.map +1 -0
- package/lib/errors/classes/validation.error.d.ts +68 -0
- package/lib/errors/classes/validation.error.d.ts.map +1 -0
- package/lib/errors/classes/validation.error.js +103 -0
- package/lib/errors/classes/validation.error.js.map +1 -0
- package/lib/errors/codes.d.ts +111 -0
- package/lib/errors/codes.d.ts.map +1 -0
- package/lib/errors/codes.js +143 -0
- package/lib/errors/codes.js.map +1 -0
- package/lib/errors/compat.d.ts +99 -0
- package/lib/errors/compat.d.ts.map +1 -0
- package/lib/errors/compat.js +280 -0
- package/lib/errors/compat.js.map +1 -0
- package/lib/errors/factory.d.ts +33 -0
- package/lib/errors/factory.d.ts.map +1 -0
- package/lib/errors/factory.js +298 -0
- package/lib/errors/factory.js.map +1 -0
- package/lib/errors/guards.d.ts +142 -0
- package/lib/errors/guards.d.ts.map +1 -0
- package/lib/errors/guards.js +281 -0
- package/lib/errors/guards.js.map +1 -0
- package/lib/errors/helpers/djust-api-error.d.ts +29 -0
- package/lib/errors/helpers/djust-api-error.d.ts.map +1 -0
- package/lib/errors/helpers/djust-api-error.js +49 -0
- package/lib/errors/helpers/djust-api-error.js.map +1 -0
- package/lib/errors/index.d.ts +25 -0
- package/lib/errors/index.d.ts.map +1 -0
- package/lib/errors/index.js +89 -0
- package/lib/errors/index.js.map +1 -0
- package/lib/errors/types.d.ts +104 -0
- package/lib/errors/types.d.ts.map +1 -0
- package/lib/errors/types.js +10 -0
- package/lib/errors/types.js.map +1 -0
- package/lib/helpers/index.d.ts +42 -0
- package/lib/helpers/index.d.ts.map +1 -0
- package/lib/helpers/index.js +102 -0
- package/lib/helpers/index.js.map +1 -0
- package/lib/helpers/parameters-validation.d.ts +3 -0
- package/lib/helpers/parameters-validation.d.ts.map +1 -0
- package/lib/helpers/parameters-validation.js +22 -0
- package/lib/helpers/parameters-validation.js.map +1 -0
- package/lib/helpers/utils.d.ts +5 -0
- package/lib/helpers/utils.d.ts.map +1 -0
- package/lib/helpers/utils.js +30 -0
- package/lib/helpers/utils.js.map +1 -0
- package/lib/index.d.ts +267 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +182 -0
- package/lib/index.js.map +1 -0
- package/lib/interfaces/index.d.ts +43 -0
- package/lib/interfaces/index.d.ts.map +1 -0
- package/lib/interfaces/index.js +36 -0
- package/lib/interfaces/index.js.map +1 -0
- package/lib/interfaces/models/address.d.ts +61 -0
- package/lib/interfaces/models/address.d.ts.map +1 -0
- package/lib/interfaces/models/address.js +3 -0
- package/lib/interfaces/models/address.js.map +1 -0
- package/lib/interfaces/models/attribute.d.ts +31 -0
- package/lib/interfaces/models/attribute.d.ts.map +1 -0
- package/lib/interfaces/models/attribute.js +3 -0
- package/lib/interfaces/models/attribute.js.map +1 -0
- package/lib/interfaces/models/auth.d.ts +37 -0
- package/lib/interfaces/models/auth.d.ts.map +1 -0
- package/lib/interfaces/models/auth.js +3 -0
- package/lib/interfaces/models/auth.js.map +1 -0
- package/lib/interfaces/models/cart.d.ts +64 -0
- package/lib/interfaces/models/cart.d.ts.map +1 -0
- package/lib/interfaces/models/cart.js +3 -0
- package/lib/interfaces/models/cart.js.map +1 -0
- package/lib/interfaces/models/common.d.ts +68 -0
- package/lib/interfaces/models/common.d.ts.map +1 -0
- package/lib/interfaces/models/common.js +3 -0
- package/lib/interfaces/models/common.js.map +1 -0
- package/lib/interfaces/models/custom-field.d.ts +57 -0
- package/lib/interfaces/models/custom-field.d.ts.map +1 -0
- package/lib/interfaces/models/custom-field.js +3 -0
- package/lib/interfaces/models/custom-field.js.map +1 -0
- package/lib/interfaces/models/customer-account.d.ts +52 -0
- package/lib/interfaces/models/customer-account.d.ts.map +1 -0
- package/lib/interfaces/models/customer-account.js +3 -0
- package/lib/interfaces/models/customer-account.js.map +1 -0
- package/lib/interfaces/models/customer-organisation.d.ts +14 -0
- package/lib/interfaces/models/customer-organisation.d.ts.map +1 -0
- package/lib/interfaces/models/customer-organisation.js +3 -0
- package/lib/interfaces/models/customer-organisation.js.map +1 -0
- package/lib/interfaces/models/customer-user.d.ts +114 -0
- package/lib/interfaces/models/customer-user.d.ts.map +1 -0
- package/lib/interfaces/models/customer-user.js +3 -0
- package/lib/interfaces/models/customer-user.js.map +1 -0
- package/lib/interfaces/models/incident.d.ts +37 -0
- package/lib/interfaces/models/incident.d.ts.map +1 -0
- package/lib/interfaces/models/incident.js +3 -0
- package/lib/interfaces/models/incident.js.map +1 -0
- package/lib/interfaces/models/navigation-category.d.ts +22 -0
- package/lib/interfaces/models/navigation-category.d.ts.map +1 -0
- package/lib/interfaces/models/navigation-category.js +3 -0
- package/lib/interfaces/models/navigation-category.js.map +1 -0
- package/lib/interfaces/models/offer.d.ts +151 -0
- package/lib/interfaces/models/offer.d.ts.map +1 -0
- package/lib/interfaces/models/offer.js +3 -0
- package/lib/interfaces/models/offer.js.map +1 -0
- package/lib/interfaces/models/order.d.ts +701 -0
- package/lib/interfaces/models/order.d.ts.map +1 -0
- package/lib/interfaces/models/order.js +3 -0
- package/lib/interfaces/models/order.js.map +1 -0
- package/lib/interfaces/models/payment.d.ts +20 -0
- package/lib/interfaces/models/payment.d.ts.map +1 -0
- package/lib/interfaces/models/payment.js +3 -0
- package/lib/interfaces/models/payment.js.map +1 -0
- package/lib/interfaces/models/price.d.ts +6 -0
- package/lib/interfaces/models/price.d.ts.map +1 -0
- package/lib/interfaces/models/price.js +3 -0
- package/lib/interfaces/models/price.js.map +1 -0
- package/lib/interfaces/models/product.d.ts +243 -0
- package/lib/interfaces/models/product.d.ts.map +1 -0
- package/lib/interfaces/models/product.js +3 -0
- package/lib/interfaces/models/product.js.map +1 -0
- package/lib/interfaces/models/quote.d.ts +77 -0
- package/lib/interfaces/models/quote.d.ts.map +1 -0
- package/lib/interfaces/models/quote.js +3 -0
- package/lib/interfaces/models/quote.js.map +1 -0
- package/lib/interfaces/models/searchProduct.d.ts +128 -0
- package/lib/interfaces/models/searchProduct.d.ts.map +1 -0
- package/lib/interfaces/models/searchProduct.js +3 -0
- package/lib/interfaces/models/searchProduct.js.map +1 -0
- package/lib/interfaces/models/supplier.d.ts +72 -0
- package/lib/interfaces/models/supplier.d.ts.map +1 -0
- package/lib/interfaces/models/supplier.js +3 -0
- package/lib/interfaces/models/supplier.js.map +1 -0
- package/lib/services/attributes/attributes.service.d.ts +18 -0
- package/lib/services/attributes/attributes.service.d.ts.map +1 -0
- package/lib/services/attributes/attributes.service.js +37 -0
- package/lib/services/attributes/attributes.service.js.map +1 -0
- package/lib/services/attributes/definitions.d.ts +28 -0
- package/lib/services/attributes/definitions.d.ts.map +1 -0
- package/lib/services/attributes/definitions.js +3 -0
- package/lib/services/attributes/definitions.js.map +1 -0
- package/lib/services/attributes/endpoints.d.ts +12 -0
- package/lib/services/attributes/endpoints.d.ts.map +1 -0
- package/lib/services/attributes/endpoints.js +14 -0
- package/lib/services/attributes/endpoints.js.map +1 -0
- package/lib/services/attributes/index.d.ts +33 -0
- package/lib/services/attributes/index.d.ts.map +1 -0
- package/lib/services/attributes/index.js +50 -0
- package/lib/services/attributes/index.js.map +1 -0
- package/lib/services/attributes/module.d.ts +11 -0
- package/lib/services/attributes/module.d.ts.map +1 -0
- package/lib/services/attributes/module.js +15 -0
- package/lib/services/attributes/module.js.map +1 -0
- package/lib/services/attributes/types.d.ts +35 -0
- package/lib/services/attributes/types.d.ts.map +1 -0
- package/lib/services/attributes/types.js +10 -0
- package/lib/services/attributes/types.js.map +1 -0
- package/lib/services/auth/__mocks__/auth.mocks.d.ts +249 -0
- package/lib/services/auth/__mocks__/auth.mocks.d.ts.map +1 -0
- package/lib/services/auth/__mocks__/auth.mocks.js +221 -0
- package/lib/services/auth/__mocks__/auth.mocks.js.map +1 -0
- package/lib/services/auth/auth.service.d.ts +286 -0
- package/lib/services/auth/auth.service.d.ts.map +1 -0
- package/lib/services/auth/auth.service.js +423 -0
- package/lib/services/auth/auth.service.js.map +1 -0
- package/lib/services/auth/definitions.d.ts +69 -0
- package/lib/services/auth/definitions.d.ts.map +1 -0
- package/lib/services/auth/definitions.js +3 -0
- package/lib/services/auth/definitions.js.map +1 -0
- package/lib/services/auth/definitions.requests.d.ts +25 -0
- package/lib/services/auth/definitions.requests.d.ts.map +1 -0
- package/lib/services/auth/definitions.requests.js +6 -0
- package/lib/services/auth/definitions.requests.js.map +1 -0
- package/lib/services/auth/endpoints.d.ts +30 -0
- package/lib/services/auth/endpoints.d.ts.map +1 -0
- package/lib/services/auth/endpoints.js +32 -0
- package/lib/services/auth/endpoints.js.map +1 -0
- package/lib/services/auth/index.d.ts +232 -0
- package/lib/services/auth/index.d.ts.map +1 -0
- package/lib/services/auth/index.js +310 -0
- package/lib/services/auth/index.js.map +1 -0
- package/lib/services/auth/module.d.ts +11 -0
- package/lib/services/auth/module.d.ts.map +1 -0
- package/lib/services/auth/module.js +17 -0
- package/lib/services/auth/module.js.map +1 -0
- package/lib/services/auth/types.d.ts +124 -0
- package/lib/services/auth/types.d.ts.map +1 -0
- package/lib/services/auth/types.js +10 -0
- package/lib/services/auth/types.js.map +1 -0
- package/lib/services/base.service.d.ts +83 -0
- package/lib/services/base.service.d.ts.map +1 -0
- package/lib/services/base.service.js +121 -0
- package/lib/services/base.service.js.map +1 -0
- package/lib/services/cart/cart.service.d.ts +443 -0
- package/lib/services/cart/cart.service.d.ts.map +1 -0
- package/lib/services/cart/cart.service.js +551 -0
- package/lib/services/cart/cart.service.js.map +1 -0
- package/lib/services/cart/definitions.d.ts +84 -0
- package/lib/services/cart/definitions.d.ts.map +1 -0
- package/lib/services/cart/definitions.js +3 -0
- package/lib/services/cart/definitions.js.map +1 -0
- package/lib/services/cart/endpoints.d.ts +24 -0
- package/lib/services/cart/endpoints.d.ts.map +1 -0
- package/lib/services/cart/endpoints.js +26 -0
- package/lib/services/cart/endpoints.js.map +1 -0
- package/lib/services/cart/index.d.ts +330 -0
- package/lib/services/cart/index.d.ts.map +1 -0
- package/lib/services/cart/index.js +464 -0
- package/lib/services/cart/index.js.map +1 -0
- package/lib/services/cart/module.d.ts +11 -0
- package/lib/services/cart/module.d.ts.map +1 -0
- package/lib/services/cart/module.js +17 -0
- package/lib/services/cart/module.js.map +1 -0
- package/lib/services/cart/types.d.ts +236 -0
- package/lib/services/cart/types.d.ts.map +1 -0
- package/lib/services/cart/types.js +10 -0
- package/lib/services/cart/types.js.map +1 -0
- package/lib/services/commercial-order/commercial-order.service.d.ts +435 -0
- package/lib/services/commercial-order/commercial-order.service.d.ts.map +1 -0
- package/lib/services/commercial-order/commercial-order.service.js +690 -0
- package/lib/services/commercial-order/commercial-order.service.js.map +1 -0
- package/lib/services/commercial-order/definitions.d.ts +182 -0
- package/lib/services/commercial-order/definitions.d.ts.map +1 -0
- package/lib/services/commercial-order/definitions.js +3 -0
- package/lib/services/commercial-order/definitions.js.map +1 -0
- package/lib/services/commercial-order/endpoints.d.ts +28 -0
- package/lib/services/commercial-order/endpoints.d.ts.map +1 -0
- package/lib/services/commercial-order/endpoints.js +33 -0
- package/lib/services/commercial-order/endpoints.js.map +1 -0
- package/lib/services/commercial-order/index.d.ts +721 -0
- package/lib/services/commercial-order/index.d.ts.map +1 -0
- package/lib/services/commercial-order/index.js +986 -0
- package/lib/services/commercial-order/index.js.map +1 -0
- package/lib/services/commercial-order/module.d.ts +11 -0
- package/lib/services/commercial-order/module.d.ts.map +1 -0
- package/lib/services/commercial-order/module.js +15 -0
- package/lib/services/commercial-order/module.js.map +1 -0
- package/lib/services/commercial-order/types.d.ts +244 -0
- package/lib/services/commercial-order/types.d.ts.map +1 -0
- package/lib/services/commercial-order/types.js +10 -0
- package/lib/services/commercial-order/types.js.map +1 -0
- package/lib/services/custom-field/custom-field.service.d.ts +23 -0
- package/lib/services/custom-field/custom-field.service.d.ts.map +1 -0
- package/lib/services/custom-field/custom-field.service.js +64 -0
- package/lib/services/custom-field/custom-field.service.js.map +1 -0
- package/lib/services/custom-field/definitions.d.ts +107 -0
- package/lib/services/custom-field/definitions.d.ts.map +1 -0
- package/lib/services/custom-field/definitions.js +61 -0
- package/lib/services/custom-field/definitions.js.map +1 -0
- package/lib/services/custom-field/endpoints.d.ts +13 -0
- package/lib/services/custom-field/endpoints.d.ts.map +1 -0
- package/lib/services/custom-field/endpoints.js +15 -0
- package/lib/services/custom-field/endpoints.js.map +1 -0
- package/lib/services/custom-field/index.d.ts +115 -0
- package/lib/services/custom-field/index.d.ts.map +1 -0
- package/lib/services/custom-field/index.js +144 -0
- package/lib/services/custom-field/index.js.map +1 -0
- package/lib/services/custom-field/module.d.ts +11 -0
- package/lib/services/custom-field/module.d.ts.map +1 -0
- package/lib/services/custom-field/module.js +15 -0
- package/lib/services/custom-field/module.js.map +1 -0
- package/lib/services/custom-field/types.d.ts +51 -0
- package/lib/services/custom-field/types.d.ts.map +1 -0
- package/lib/services/custom-field/types.js +10 -0
- package/lib/services/custom-field/types.js.map +1 -0
- package/lib/services/customer-account/customer-account.service.d.ts +387 -0
- package/lib/services/customer-account/customer-account.service.d.ts.map +1 -0
- package/lib/services/customer-account/customer-account.service.js +579 -0
- package/lib/services/customer-account/customer-account.service.js.map +1 -0
- package/lib/services/customer-account/definitions.d.ts +164 -0
- package/lib/services/customer-account/definitions.d.ts.map +1 -0
- package/lib/services/customer-account/definitions.js +3 -0
- package/lib/services/customer-account/definitions.js.map +1 -0
- package/lib/services/customer-account/endpoints.d.ts +25 -0
- package/lib/services/customer-account/endpoints.d.ts.map +1 -0
- package/lib/services/customer-account/endpoints.js +33 -0
- package/lib/services/customer-account/endpoints.js.map +1 -0
- package/lib/services/customer-account/index.d.ts +656 -0
- package/lib/services/customer-account/index.d.ts.map +1 -0
- package/lib/services/customer-account/index.js +929 -0
- package/lib/services/customer-account/index.js.map +1 -0
- package/lib/services/customer-account/module.d.ts +11 -0
- package/lib/services/customer-account/module.d.ts.map +1 -0
- package/lib/services/customer-account/module.js +15 -0
- package/lib/services/customer-account/module.js.map +1 -0
- package/lib/services/customer-account/types.d.ts +253 -0
- package/lib/services/customer-account/types.d.ts.map +1 -0
- package/lib/services/customer-account/types.js +10 -0
- package/lib/services/customer-account/types.js.map +1 -0
- package/lib/services/customer-user/customer-user.service.d.ts +280 -0
- package/lib/services/customer-user/customer-user.service.d.ts.map +1 -0
- package/lib/services/customer-user/customer-user.service.js +402 -0
- package/lib/services/customer-user/customer-user.service.js.map +1 -0
- package/lib/services/customer-user/definitions.d.ts +84 -0
- package/lib/services/customer-user/definitions.d.ts.map +1 -0
- package/lib/services/customer-user/definitions.js +3 -0
- package/lib/services/customer-user/definitions.js.map +1 -0
- package/lib/services/customer-user/endpoints.d.ts +19 -0
- package/lib/services/customer-user/endpoints.d.ts.map +1 -0
- package/lib/services/customer-user/endpoints.js +21 -0
- package/lib/services/customer-user/endpoints.js.map +1 -0
- package/lib/services/customer-user/index.d.ts +394 -0
- package/lib/services/customer-user/index.d.ts.map +1 -0
- package/lib/services/customer-user/index.js +528 -0
- package/lib/services/customer-user/index.js.map +1 -0
- package/lib/services/customer-user/module.d.ts +11 -0
- package/lib/services/customer-user/module.d.ts.map +1 -0
- package/lib/services/customer-user/module.js +15 -0
- package/lib/services/customer-user/module.js.map +1 -0
- package/lib/services/customer-user/types.d.ts +118 -0
- package/lib/services/customer-user/types.d.ts.map +1 -0
- package/lib/services/customer-user/types.js +10 -0
- package/lib/services/customer-user/types.js.map +1 -0
- package/lib/services/factory.d.ts +104 -0
- package/lib/services/factory.d.ts.map +1 -0
- package/lib/services/factory.js +89 -0
- package/lib/services/factory.js.map +1 -0
- package/lib/services/incident/definitions.d.ts +85 -0
- package/lib/services/incident/definitions.d.ts.map +1 -0
- package/lib/services/incident/definitions.js +3 -0
- package/lib/services/incident/definitions.js.map +1 -0
- package/lib/services/incident/endpoints.d.ts +17 -0
- package/lib/services/incident/endpoints.d.ts.map +1 -0
- package/lib/services/incident/endpoints.js +19 -0
- package/lib/services/incident/endpoints.js.map +1 -0
- package/lib/services/incident/incident.service.d.ts +24 -0
- package/lib/services/incident/incident.service.d.ts.map +1 -0
- package/lib/services/incident/incident.service.js +141 -0
- package/lib/services/incident/incident.service.js.map +1 -0
- package/lib/services/incident/index.d.ts +270 -0
- package/lib/services/incident/index.d.ts.map +1 -0
- package/lib/services/incident/index.js +389 -0
- package/lib/services/incident/index.js.map +1 -0
- package/lib/services/incident/module.d.ts +11 -0
- package/lib/services/incident/module.d.ts.map +1 -0
- package/lib/services/incident/module.js +15 -0
- package/lib/services/incident/module.js.map +1 -0
- package/lib/services/incident/types.d.ts +116 -0
- package/lib/services/incident/types.d.ts.map +1 -0
- package/lib/services/incident/types.js +10 -0
- package/lib/services/incident/types.js.map +1 -0
- package/lib/services/logistic-order/definitions.d.ts +315 -0
- package/lib/services/logistic-order/definitions.d.ts.map +1 -0
- package/lib/services/logistic-order/definitions.js +3 -0
- package/lib/services/logistic-order/definitions.js.map +1 -0
- package/lib/services/logistic-order/endpoints.d.ts +44 -0
- package/lib/services/logistic-order/endpoints.d.ts.map +1 -0
- package/lib/services/logistic-order/endpoints.js +57 -0
- package/lib/services/logistic-order/endpoints.js.map +1 -0
- package/lib/services/logistic-order/index.d.ts +1376 -0
- package/lib/services/logistic-order/index.d.ts.map +1 -0
- package/lib/services/logistic-order/index.js +1823 -0
- package/lib/services/logistic-order/index.js.map +1 -0
- package/lib/services/logistic-order/logistic-order.service.d.ts +62 -0
- package/lib/services/logistic-order/logistic-order.service.d.ts.map +1 -0
- package/lib/services/logistic-order/logistic-order.service.js +499 -0
- package/lib/services/logistic-order/logistic-order.service.js.map +1 -0
- package/lib/services/logistic-order/module.d.ts +11 -0
- package/lib/services/logistic-order/module.d.ts.map +1 -0
- package/lib/services/logistic-order/module.js +15 -0
- package/lib/services/logistic-order/module.js.map +1 -0
- package/lib/services/logistic-order/types.d.ts +411 -0
- package/lib/services/logistic-order/types.d.ts.map +1 -0
- package/lib/services/logistic-order/types.js +10 -0
- package/lib/services/logistic-order/types.js.map +1 -0
- package/lib/services/module.d.ts +64 -0
- package/lib/services/module.d.ts.map +1 -0
- package/lib/services/module.js +147 -0
- package/lib/services/module.js.map +1 -0
- package/lib/services/navigation-category/definitions.d.ts +31 -0
- package/lib/services/navigation-category/definitions.d.ts.map +1 -0
- package/lib/services/navigation-category/definitions.js +3 -0
- package/lib/services/navigation-category/definitions.js.map +1 -0
- package/lib/services/navigation-category/endpoints.d.ts +15 -0
- package/lib/services/navigation-category/endpoints.d.ts.map +1 -0
- package/lib/services/navigation-category/endpoints.js +17 -0
- package/lib/services/navigation-category/endpoints.js.map +1 -0
- package/lib/services/navigation-category/index.d.ts +114 -0
- package/lib/services/navigation-category/index.d.ts.map +1 -0
- package/lib/services/navigation-category/index.js +160 -0
- package/lib/services/navigation-category/index.js.map +1 -0
- package/lib/services/navigation-category/module.d.ts +11 -0
- package/lib/services/navigation-category/module.d.ts.map +1 -0
- package/lib/services/navigation-category/module.js +15 -0
- package/lib/services/navigation-category/module.js.map +1 -0
- package/lib/services/navigation-category/navigation-category.service.d.ts +148 -0
- package/lib/services/navigation-category/navigation-category.service.d.ts.map +1 -0
- package/lib/services/navigation-category/navigation-category.service.js +191 -0
- package/lib/services/navigation-category/navigation-category.service.js.map +1 -0
- package/lib/services/navigation-category/types.d.ts +51 -0
- package/lib/services/navigation-category/types.d.ts.map +1 -0
- package/lib/services/navigation-category/types.js +10 -0
- package/lib/services/navigation-category/types.js.map +1 -0
- package/lib/services/offer-inventories/definitions.d.ts +73 -0
- package/lib/services/offer-inventories/definitions.d.ts.map +1 -0
- package/lib/services/offer-inventories/definitions.js +3 -0
- package/lib/services/offer-inventories/definitions.js.map +1 -0
- package/lib/services/offer-inventories/endpoints.d.ts +16 -0
- package/lib/services/offer-inventories/endpoints.d.ts.map +1 -0
- package/lib/services/offer-inventories/endpoints.js +18 -0
- package/lib/services/offer-inventories/endpoints.js.map +1 -0
- package/lib/services/offer-inventories/index.d.ts +120 -0
- package/lib/services/offer-inventories/index.d.ts.map +1 -0
- package/lib/services/offer-inventories/index.js +175 -0
- package/lib/services/offer-inventories/index.js.map +1 -0
- package/lib/services/offer-inventories/module.d.ts +11 -0
- package/lib/services/offer-inventories/module.d.ts.map +1 -0
- package/lib/services/offer-inventories/module.js +15 -0
- package/lib/services/offer-inventories/module.js.map +1 -0
- package/lib/services/offer-inventories/offer-inventories.service.d.ts +26 -0
- package/lib/services/offer-inventories/offer-inventories.service.d.ts.map +1 -0
- package/lib/services/offer-inventories/offer-inventories.service.js +80 -0
- package/lib/services/offer-inventories/offer-inventories.service.js.map +1 -0
- package/lib/services/offer-inventories/types.d.ts +85 -0
- package/lib/services/offer-inventories/types.d.ts.map +1 -0
- package/lib/services/offer-inventories/types.js +10 -0
- package/lib/services/offer-inventories/types.js.map +1 -0
- package/lib/services/offer-prices/__mocks__/offer-prices.mocks.d.ts +109 -0
- package/lib/services/offer-prices/__mocks__/offer-prices.mocks.d.ts.map +1 -0
- package/lib/services/offer-prices/__mocks__/offer-prices.mocks.js +201 -0
- package/lib/services/offer-prices/__mocks__/offer-prices.mocks.js.map +1 -0
- package/lib/services/offer-prices/definitions.d.ts +24 -0
- package/lib/services/offer-prices/definitions.d.ts.map +1 -0
- package/lib/services/offer-prices/definitions.js +3 -0
- package/lib/services/offer-prices/definitions.js.map +1 -0
- package/lib/services/offer-prices/endpoints.d.ts +12 -0
- package/lib/services/offer-prices/endpoints.d.ts.map +1 -0
- package/lib/services/offer-prices/endpoints.js +14 -0
- package/lib/services/offer-prices/endpoints.js.map +1 -0
- package/lib/services/offer-prices/index.d.ts +36 -0
- package/lib/services/offer-prices/index.d.ts.map +1 -0
- package/lib/services/offer-prices/index.js +53 -0
- package/lib/services/offer-prices/index.js.map +1 -0
- package/lib/services/offer-prices/module.d.ts +11 -0
- package/lib/services/offer-prices/module.d.ts.map +1 -0
- package/lib/services/offer-prices/module.js +15 -0
- package/lib/services/offer-prices/module.js.map +1 -0
- package/lib/services/offer-prices/offer-prices.service.d.ts +18 -0
- package/lib/services/offer-prices/offer-prices.service.d.ts.map +1 -0
- package/lib/services/offer-prices/offer-prices.service.js +36 -0
- package/lib/services/offer-prices/offer-prices.service.js.map +1 -0
- package/lib/services/offer-prices/types.d.ts +33 -0
- package/lib/services/offer-prices/types.d.ts.map +1 -0
- package/lib/services/offer-prices/types.js +10 -0
- package/lib/services/offer-prices/types.js.map +1 -0
- package/lib/services/operation/definitions.d.ts +263 -0
- package/lib/services/operation/definitions.d.ts.map +1 -0
- package/lib/services/operation/definitions.js +18 -0
- package/lib/services/operation/definitions.js.map +1 -0
- package/lib/services/operation/endpoints.d.ts +18 -0
- package/lib/services/operation/endpoints.d.ts.map +1 -0
- package/lib/services/operation/endpoints.js +22 -0
- package/lib/services/operation/endpoints.js.map +1 -0
- package/lib/services/operation/index.d.ts +520 -0
- package/lib/services/operation/index.d.ts.map +1 -0
- package/lib/services/operation/index.js +704 -0
- package/lib/services/operation/index.js.map +1 -0
- package/lib/services/operation/module.d.ts +11 -0
- package/lib/services/operation/module.d.ts.map +1 -0
- package/lib/services/operation/module.js +15 -0
- package/lib/services/operation/module.js.map +1 -0
- package/lib/services/operation/operation.service.d.ts +32 -0
- package/lib/services/operation/operation.service.d.ts.map +1 -0
- package/lib/services/operation/operation.service.js +206 -0
- package/lib/services/operation/operation.service.js.map +1 -0
- package/lib/services/operation/types.d.ts +174 -0
- package/lib/services/operation/types.d.ts.map +1 -0
- package/lib/services/operation/types.js +10 -0
- package/lib/services/operation/types.js.map +1 -0
- package/lib/services/payment/definitions.d.ts +69 -0
- package/lib/services/payment/definitions.d.ts.map +1 -0
- package/lib/services/payment/definitions.js +3 -0
- package/lib/services/payment/definitions.js.map +1 -0
- package/lib/services/payment/endpoints.d.ts +16 -0
- package/lib/services/payment/endpoints.d.ts.map +1 -0
- package/lib/services/payment/endpoints.js +18 -0
- package/lib/services/payment/endpoints.js.map +1 -0
- package/lib/services/payment/index.d.ts +150 -0
- package/lib/services/payment/index.d.ts.map +1 -0
- package/lib/services/payment/index.js +220 -0
- package/lib/services/payment/index.js.map +1 -0
- package/lib/services/payment/module.d.ts +11 -0
- package/lib/services/payment/module.d.ts.map +1 -0
- package/lib/services/payment/module.js +15 -0
- package/lib/services/payment/module.js.map +1 -0
- package/lib/services/payment/payment.service.d.ts +224 -0
- package/lib/services/payment/payment.service.d.ts.map +1 -0
- package/lib/services/payment/payment.service.js +288 -0
- package/lib/services/payment/payment.service.js.map +1 -0
- package/lib/services/payment/types.d.ts +93 -0
- package/lib/services/payment/types.d.ts.map +1 -0
- package/lib/services/payment/types.js +10 -0
- package/lib/services/payment/types.js.map +1 -0
- package/lib/services/product/definitions.d.ts +150 -0
- package/lib/services/product/definitions.d.ts.map +1 -0
- package/lib/services/product/definitions.js +9 -0
- package/lib/services/product/definitions.js.map +1 -0
- package/lib/services/product/endpoints.d.ts +40 -0
- package/lib/services/product/endpoints.d.ts.map +1 -0
- package/lib/services/product/endpoints.js +42 -0
- package/lib/services/product/endpoints.js.map +1 -0
- package/lib/services/product/index.d.ts +388 -0
- package/lib/services/product/index.d.ts.map +1 -0
- package/lib/services/product/index.js +564 -0
- package/lib/services/product/index.js.map +1 -0
- package/lib/services/product/module.d.ts +11 -0
- package/lib/services/product/module.d.ts.map +1 -0
- package/lib/services/product/module.js +17 -0
- package/lib/services/product/module.js.map +1 -0
- package/lib/services/product/product.service.d.ts +452 -0
- package/lib/services/product/product.service.d.ts.map +1 -0
- package/lib/services/product/product.service.js +624 -0
- package/lib/services/product/product.service.js.map +1 -0
- package/lib/services/product/types.d.ts +344 -0
- package/lib/services/product/types.d.ts.map +1 -0
- package/lib/services/product/types.js +10 -0
- package/lib/services/product/types.js.map +1 -0
- package/lib/services/product-variant/definitions.d.ts +33 -0
- package/lib/services/product-variant/definitions.d.ts.map +1 -0
- package/lib/services/product-variant/definitions.js +7 -0
- package/lib/services/product-variant/definitions.js.map +1 -0
- package/lib/services/product-variant/endpoints.d.ts +15 -0
- package/lib/services/product-variant/endpoints.d.ts.map +1 -0
- package/lib/services/product-variant/endpoints.js +17 -0
- package/lib/services/product-variant/endpoints.js.map +1 -0
- package/lib/services/product-variant/index.d.ts +123 -0
- package/lib/services/product-variant/index.d.ts.map +1 -0
- package/lib/services/product-variant/index.js +172 -0
- package/lib/services/product-variant/index.js.map +1 -0
- package/lib/services/product-variant/module.d.ts +11 -0
- package/lib/services/product-variant/module.d.ts.map +1 -0
- package/lib/services/product-variant/module.js +15 -0
- package/lib/services/product-variant/module.js.map +1 -0
- package/lib/services/product-variant/product-variant.service.d.ts +21 -0
- package/lib/services/product-variant/product-variant.service.d.ts.map +1 -0
- package/lib/services/product-variant/product-variant.service.js +69 -0
- package/lib/services/product-variant/product-variant.service.js.map +1 -0
- package/lib/services/product-variant/types.d.ts +73 -0
- package/lib/services/product-variant/types.d.ts.map +1 -0
- package/lib/services/product-variant/types.js +10 -0
- package/lib/services/product-variant/types.js.map +1 -0
- package/lib/services/quote/definitions.d.ts +102 -0
- package/lib/services/quote/definitions.d.ts.map +1 -0
- package/lib/services/quote/definitions.js +3 -0
- package/lib/services/quote/definitions.js.map +1 -0
- package/lib/services/quote/endpoints.d.ts +20 -0
- package/lib/services/quote/endpoints.d.ts.map +1 -0
- package/lib/services/quote/endpoints.js +24 -0
- package/lib/services/quote/endpoints.js.map +1 -0
- package/lib/services/quote/index.d.ts +378 -0
- package/lib/services/quote/index.d.ts.map +1 -0
- package/lib/services/quote/index.js +506 -0
- package/lib/services/quote/index.js.map +1 -0
- package/lib/services/quote/module.d.ts +11 -0
- package/lib/services/quote/module.d.ts.map +1 -0
- package/lib/services/quote/module.js +15 -0
- package/lib/services/quote/module.js.map +1 -0
- package/lib/services/quote/quote.service.d.ts +346 -0
- package/lib/services/quote/quote.service.d.ts.map +1 -0
- package/lib/services/quote/quote.service.js +479 -0
- package/lib/services/quote/quote.service.js.map +1 -0
- package/lib/services/quote/types.d.ts +160 -0
- package/lib/services/quote/types.d.ts.map +1 -0
- package/lib/services/quote/types.js +10 -0
- package/lib/services/quote/types.js.map +1 -0
- package/lib/services/supplier/__mocks__/supplier-mocks.d.ts +49 -0
- package/lib/services/supplier/__mocks__/supplier-mocks.d.ts.map +1 -0
- package/lib/services/supplier/__mocks__/supplier-mocks.js +168 -0
- package/lib/services/supplier/__mocks__/supplier-mocks.js.map +1 -0
- package/lib/services/supplier/definitions.d.ts +30 -0
- package/lib/services/supplier/definitions.d.ts.map +1 -0
- package/lib/services/supplier/definitions.js +3 -0
- package/lib/services/supplier/definitions.js.map +1 -0
- package/lib/services/supplier/endpoints.d.ts +14 -0
- package/lib/services/supplier/endpoints.d.ts.map +1 -0
- package/lib/services/supplier/endpoints.js +16 -0
- package/lib/services/supplier/endpoints.js.map +1 -0
- package/lib/services/supplier/index.d.ts +102 -0
- package/lib/services/supplier/index.d.ts.map +1 -0
- package/lib/services/supplier/index.js +146 -0
- package/lib/services/supplier/index.js.map +1 -0
- package/lib/services/supplier/module.d.ts +11 -0
- package/lib/services/supplier/module.d.ts.map +1 -0
- package/lib/services/supplier/module.js +15 -0
- package/lib/services/supplier/module.js.map +1 -0
- package/lib/services/supplier/supplier.service.d.ts +20 -0
- package/lib/services/supplier/supplier.service.d.ts.map +1 -0
- package/lib/services/supplier/supplier.service.js +63 -0
- package/lib/services/supplier/supplier.service.js.map +1 -0
- package/lib/services/supplier/types.d.ts +58 -0
- package/lib/services/supplier/types.d.ts.map +1 -0
- package/lib/services/supplier/types.js +10 -0
- package/lib/services/supplier/types.js.map +1 -0
- package/lib/services/types.d.ts +81 -0
- package/lib/services/types.d.ts.map +1 -0
- package/lib/services/types.js +10 -0
- package/lib/services/types.js.map +1 -0
- package/lib/settings/fetch-instance.d.ts +30 -0
- package/lib/settings/fetch-instance.d.ts.map +1 -0
- package/lib/settings/fetch-instance.js +223 -0
- package/lib/settings/fetch-instance.js.map +1 -0
- package/lib/settings/sdk-version.d.ts +3 -0
- package/lib/settings/sdk-version.d.ts.map +1 -0
- package/lib/settings/sdk-version.js +6 -0
- package/lib/settings/sdk-version.js.map +1 -0
- package/package.json +27 -8
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DJUST SDK Services Module
|
|
4
|
+
* Main entry point for all SDK services.
|
|
5
|
+
*
|
|
6
|
+
* Architecture:
|
|
7
|
+
* - types.ts - Shared service types (Pageable, etc.)
|
|
8
|
+
* - base.service.ts - Abstract base service class
|
|
9
|
+
* - factory.ts - Service factory
|
|
10
|
+
* - auth/ - Authentication service
|
|
11
|
+
* - cart/ - Shopping cart service
|
|
12
|
+
* - product/ - Product catalog service
|
|
13
|
+
* - quote/ - Quote management service
|
|
14
|
+
* - commercial-order/ - Commercial order service
|
|
15
|
+
* - logistic-order/ - Logistic order service
|
|
16
|
+
* - customer-account/ - Customer account service
|
|
17
|
+
* - customer-user/ - Customer user service
|
|
18
|
+
* - supplier/ - Supplier service
|
|
19
|
+
* - payment/ - Payment service
|
|
20
|
+
* - navigation-category/ - Navigation category service
|
|
21
|
+
* - operation/ - Operation management service
|
|
22
|
+
*
|
|
23
|
+
* @module services
|
|
24
|
+
* @since 2.17.0
|
|
25
|
+
*/
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.CustomFieldEndpoints = exports.CustomFieldService = exports.ProductVariantEndpoints = exports.ProductVariantService = exports.OfferPricesEndpoints = exports.OfferPricesService = exports.OfferInventoriesEndpoints = exports.OfferInventoriesService = exports.IncidentEndpoints = exports.IncidentService = exports.AttributesEndpoints = exports.AttributesService = exports.OperationEndpoints = exports.OperationService = exports.NavigationCategoryEndpoints = exports.NavigationCategoryService = exports.PaymentEndpoints = exports.PaymentService = exports.SupplierEndpoints = exports.SupplierService = exports.CustomerUserEndpoints = exports.CustomerUserService = exports.CustomerAccountEndpoints = exports.CustomerAccountService = exports.LogisticOrderEndpoints = exports.LogisticOrderService = exports.CommercialOrderEndpoints = exports.CommercialOrderService = exports.QuoteEndpoints = exports.QuoteService = exports.ProductEndpoints = exports.ProductService = exports.CartEndpoints = exports.CartService = exports.AuthEndpoints = exports.AuthService = exports.createService = exports.createServices = exports.BaseService = void 0;
|
|
28
|
+
// ============================================================================
|
|
29
|
+
// BASE SERVICE
|
|
30
|
+
// ============================================================================
|
|
31
|
+
var base_service_1 = require("./base.service");
|
|
32
|
+
Object.defineProperty(exports, "BaseService", { enumerable: true, get: function () { return base_service_1.BaseService; } });
|
|
33
|
+
// ============================================================================
|
|
34
|
+
// SERVICE FACTORY
|
|
35
|
+
// ============================================================================
|
|
36
|
+
var factory_1 = require("./factory");
|
|
37
|
+
Object.defineProperty(exports, "createServices", { enumerable: true, get: function () { return factory_1.createServices; } });
|
|
38
|
+
Object.defineProperty(exports, "createService", { enumerable: true, get: function () { return factory_1.createService; } });
|
|
39
|
+
// ============================================================================
|
|
40
|
+
// AUTH SERVICE
|
|
41
|
+
// ============================================================================
|
|
42
|
+
var module_1 = require("./auth/module");
|
|
43
|
+
Object.defineProperty(exports, "AuthService", { enumerable: true, get: function () { return module_1.AuthService; } });
|
|
44
|
+
Object.defineProperty(exports, "AuthEndpoints", { enumerable: true, get: function () { return module_1.AuthEndpoints; } });
|
|
45
|
+
// ============================================================================
|
|
46
|
+
// CART SERVICE
|
|
47
|
+
// ============================================================================
|
|
48
|
+
var module_2 = require("./cart/module");
|
|
49
|
+
Object.defineProperty(exports, "CartService", { enumerable: true, get: function () { return module_2.CartService; } });
|
|
50
|
+
Object.defineProperty(exports, "CartEndpoints", { enumerable: true, get: function () { return module_2.CartEndpoints; } });
|
|
51
|
+
// ============================================================================
|
|
52
|
+
// PRODUCT SERVICE
|
|
53
|
+
// ============================================================================
|
|
54
|
+
var module_3 = require("./product/module");
|
|
55
|
+
Object.defineProperty(exports, "ProductService", { enumerable: true, get: function () { return module_3.ProductService; } });
|
|
56
|
+
Object.defineProperty(exports, "ProductEndpoints", { enumerable: true, get: function () { return module_3.ProductEndpoints; } });
|
|
57
|
+
// ============================================================================
|
|
58
|
+
// QUOTE SERVICE
|
|
59
|
+
// ============================================================================
|
|
60
|
+
var module_4 = require("./quote/module");
|
|
61
|
+
Object.defineProperty(exports, "QuoteService", { enumerable: true, get: function () { return module_4.QuoteService; } });
|
|
62
|
+
Object.defineProperty(exports, "QuoteEndpoints", { enumerable: true, get: function () { return module_4.QuoteEndpoints; } });
|
|
63
|
+
// ============================================================================
|
|
64
|
+
// COMMERCIAL ORDER SERVICE
|
|
65
|
+
// ============================================================================
|
|
66
|
+
var module_5 = require("./commercial-order/module");
|
|
67
|
+
Object.defineProperty(exports, "CommercialOrderService", { enumerable: true, get: function () { return module_5.CommercialOrderService; } });
|
|
68
|
+
Object.defineProperty(exports, "CommercialOrderEndpoints", { enumerable: true, get: function () { return module_5.CommercialOrderEndpoints; } });
|
|
69
|
+
// ============================================================================
|
|
70
|
+
// LOGISTIC ORDER SERVICE
|
|
71
|
+
// ============================================================================
|
|
72
|
+
var module_6 = require("./logistic-order/module");
|
|
73
|
+
Object.defineProperty(exports, "LogisticOrderService", { enumerable: true, get: function () { return module_6.LogisticOrderService; } });
|
|
74
|
+
Object.defineProperty(exports, "LogisticOrderEndpoints", { enumerable: true, get: function () { return module_6.LogisticOrderEndpoints; } });
|
|
75
|
+
// ============================================================================
|
|
76
|
+
// CUSTOMER ACCOUNT SERVICE
|
|
77
|
+
// ============================================================================
|
|
78
|
+
var module_7 = require("./customer-account/module");
|
|
79
|
+
Object.defineProperty(exports, "CustomerAccountService", { enumerable: true, get: function () { return module_7.CustomerAccountService; } });
|
|
80
|
+
Object.defineProperty(exports, "CustomerAccountEndpoints", { enumerable: true, get: function () { return module_7.CustomerAccountEndpoints; } });
|
|
81
|
+
// ============================================================================
|
|
82
|
+
// CUSTOMER USER SERVICE
|
|
83
|
+
// ============================================================================
|
|
84
|
+
var module_8 = require("./customer-user/module");
|
|
85
|
+
Object.defineProperty(exports, "CustomerUserService", { enumerable: true, get: function () { return module_8.CustomerUserService; } });
|
|
86
|
+
Object.defineProperty(exports, "CustomerUserEndpoints", { enumerable: true, get: function () { return module_8.CustomerUserEndpoints; } });
|
|
87
|
+
// ============================================================================
|
|
88
|
+
// SUPPLIER SERVICE
|
|
89
|
+
// ============================================================================
|
|
90
|
+
var module_9 = require("./supplier/module");
|
|
91
|
+
Object.defineProperty(exports, "SupplierService", { enumerable: true, get: function () { return module_9.SupplierService; } });
|
|
92
|
+
Object.defineProperty(exports, "SupplierEndpoints", { enumerable: true, get: function () { return module_9.SupplierEndpoints; } });
|
|
93
|
+
// ============================================================================
|
|
94
|
+
// PAYMENT SERVICE
|
|
95
|
+
// ============================================================================
|
|
96
|
+
var module_10 = require("./payment/module");
|
|
97
|
+
Object.defineProperty(exports, "PaymentService", { enumerable: true, get: function () { return module_10.PaymentService; } });
|
|
98
|
+
Object.defineProperty(exports, "PaymentEndpoints", { enumerable: true, get: function () { return module_10.PaymentEndpoints; } });
|
|
99
|
+
// ============================================================================
|
|
100
|
+
// NAVIGATION CATEGORY SERVICE
|
|
101
|
+
// ============================================================================
|
|
102
|
+
var module_11 = require("./navigation-category/module");
|
|
103
|
+
Object.defineProperty(exports, "NavigationCategoryService", { enumerable: true, get: function () { return module_11.NavigationCategoryService; } });
|
|
104
|
+
Object.defineProperty(exports, "NavigationCategoryEndpoints", { enumerable: true, get: function () { return module_11.NavigationCategoryEndpoints; } });
|
|
105
|
+
// ============================================================================
|
|
106
|
+
// OPERATION SERVICE
|
|
107
|
+
// ============================================================================
|
|
108
|
+
var module_12 = require("./operation/module");
|
|
109
|
+
Object.defineProperty(exports, "OperationService", { enumerable: true, get: function () { return module_12.OperationService; } });
|
|
110
|
+
Object.defineProperty(exports, "OperationEndpoints", { enumerable: true, get: function () { return module_12.OperationEndpoints; } });
|
|
111
|
+
// ============================================================================
|
|
112
|
+
// ATTRIBUTES SERVICE
|
|
113
|
+
// ============================================================================
|
|
114
|
+
var module_13 = require("./attributes/module");
|
|
115
|
+
Object.defineProperty(exports, "AttributesService", { enumerable: true, get: function () { return module_13.AttributesService; } });
|
|
116
|
+
Object.defineProperty(exports, "AttributesEndpoints", { enumerable: true, get: function () { return module_13.AttributesEndpoints; } });
|
|
117
|
+
// ============================================================================
|
|
118
|
+
// INCIDENT SERVICE
|
|
119
|
+
// ============================================================================
|
|
120
|
+
var module_14 = require("./incident/module");
|
|
121
|
+
Object.defineProperty(exports, "IncidentService", { enumerable: true, get: function () { return module_14.IncidentService; } });
|
|
122
|
+
Object.defineProperty(exports, "IncidentEndpoints", { enumerable: true, get: function () { return module_14.IncidentEndpoints; } });
|
|
123
|
+
// ============================================================================
|
|
124
|
+
// OFFER INVENTORIES SERVICE
|
|
125
|
+
// ============================================================================
|
|
126
|
+
var module_15 = require("./offer-inventories/module");
|
|
127
|
+
Object.defineProperty(exports, "OfferInventoriesService", { enumerable: true, get: function () { return module_15.OfferInventoriesService; } });
|
|
128
|
+
Object.defineProperty(exports, "OfferInventoriesEndpoints", { enumerable: true, get: function () { return module_15.OfferInventoriesEndpoints; } });
|
|
129
|
+
// ============================================================================
|
|
130
|
+
// OFFER PRICES SERVICE
|
|
131
|
+
// ============================================================================
|
|
132
|
+
var module_16 = require("./offer-prices/module");
|
|
133
|
+
Object.defineProperty(exports, "OfferPricesService", { enumerable: true, get: function () { return module_16.OfferPricesService; } });
|
|
134
|
+
Object.defineProperty(exports, "OfferPricesEndpoints", { enumerable: true, get: function () { return module_16.OfferPricesEndpoints; } });
|
|
135
|
+
// ============================================================================
|
|
136
|
+
// PRODUCT VARIANT SERVICE
|
|
137
|
+
// ============================================================================
|
|
138
|
+
var module_17 = require("./product-variant/module");
|
|
139
|
+
Object.defineProperty(exports, "ProductVariantService", { enumerable: true, get: function () { return module_17.ProductVariantService; } });
|
|
140
|
+
Object.defineProperty(exports, "ProductVariantEndpoints", { enumerable: true, get: function () { return module_17.ProductVariantEndpoints; } });
|
|
141
|
+
// ============================================================================
|
|
142
|
+
// CUSTOM FIELD SERVICE
|
|
143
|
+
// ============================================================================
|
|
144
|
+
var module_18 = require("./custom-field/module");
|
|
145
|
+
Object.defineProperty(exports, "CustomFieldService", { enumerable: true, get: function () { return module_18.CustomFieldService; } });
|
|
146
|
+
Object.defineProperty(exports, "CustomFieldEndpoints", { enumerable: true, get: function () { return module_18.CustomFieldEndpoints; } });
|
|
147
|
+
//# sourceMappingURL=module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/services/module.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;;;AAeH,+EAA+E;AAC/E,eAAe;AACf,+EAA+E;AAE/E,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AAEpB,+EAA+E;AAC/E,kBAAkB;AAClB,+EAA+E;AAE/E,qCAA4E;AAAnE,yGAAA,cAAc,OAAA;AAAE,wGAAA,aAAa,OAAA;AAEtC,+EAA+E;AAC/E,eAAe;AACf,+EAA+E;AAE/E,wCAA8E;AAArE,qGAAA,WAAW,OAAA;AAAE,uGAAA,aAAa,OAAA;AAkBnC,+EAA+E;AAC/E,eAAe;AACf,+EAA+E;AAE/E,wCAA8E;AAArE,qGAAA,WAAW,OAAA;AAAE,uGAAA,aAAa,OAAA;AAgCnC,+EAA+E;AAC/E,kBAAkB;AAClB,+EAA+E;AAE/E,2CAI0B;AAHxB,wGAAA,cAAc,OAAA;AACd,0GAAA,gBAAgB,OAAA;AA0ClB,+EAA+E;AAC/E,gBAAgB;AAChB,+EAA+E;AAE/E,yCAIwB;AAHtB,sGAAA,YAAY,OAAA;AACZ,wGAAA,cAAc,OAAA;AAqBhB,+EAA+E;AAC/E,2BAA2B;AAC3B,+EAA+E;AAE/E,oDAImC;AAHjC,gHAAA,sBAAsB,OAAA;AACtB,kHAAA,wBAAwB,OAAA;AAmB1B,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E,kDAIiC;AAH/B,8GAAA,oBAAoB,OAAA;AACpB,gHAAA,sBAAsB,OAAA;AAuBxB,+EAA+E;AAC/E,2BAA2B;AAC3B,+EAA+E;AAE/E,oDAImC;AAHjC,gHAAA,sBAAsB,OAAA;AACtB,kHAAA,wBAAwB,OAAA;AA0B1B,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAE/E,iDAIgC;AAH9B,6GAAA,mBAAmB,OAAA;AACnB,+GAAA,qBAAqB,OAAA;AAyBvB,+EAA+E;AAC/E,mBAAmB;AACnB,+EAA+E;AAE/E,4CAI2B;AAHzB,yGAAA,eAAe,OAAA;AACf,2GAAA,iBAAiB,OAAA;AAgBnB,+EAA+E;AAC/E,kBAAkB;AAClB,+EAA+E;AAE/E,4CAI0B;AAHxB,yGAAA,cAAc,OAAA;AACd,2GAAA,gBAAgB,OAAA;AAqBlB,+EAA+E;AAC/E,8BAA8B;AAC9B,+EAA+E;AAE/E,wDAIsC;AAHpC,oHAAA,yBAAyB,OAAA;AACzB,sHAAA,2BAA2B,OAAA;AAiB7B,+EAA+E;AAC/E,oBAAoB;AACpB,+EAA+E;AAE/E,8CAI4B;AAH1B,2GAAA,gBAAgB,OAAA;AAChB,6GAAA,kBAAkB,OAAA;AAuCpB,+EAA+E;AAC/E,qBAAqB;AACrB,+EAA+E;AAE/E,+CAI6B;AAH3B,4GAAA,iBAAiB,OAAA;AACjB,8GAAA,mBAAmB,OAAA;AAWrB,+EAA+E;AAC/E,mBAAmB;AACnB,+EAA+E;AAE/E,6CAI2B;AAHzB,0GAAA,eAAe,OAAA;AACf,4GAAA,iBAAiB,OAAA;AA4BnB,+EAA+E;AAC/E,4BAA4B;AAC5B,+EAA+E;AAE/E,sDAIoC;AAHlC,kHAAA,uBAAuB,OAAA;AACvB,oHAAA,yBAAyB,OAAA;AAqB3B,+EAA+E;AAC/E,uBAAuB;AACvB,+EAA+E;AAE/E,iDAI+B;AAH7B,6GAAA,kBAAkB,OAAA;AAClB,+GAAA,oBAAoB,OAAA;AAUtB,+EAA+E;AAC/E,0BAA0B;AAC1B,+EAA+E;AAE/E,oDAIkC;AAHhC,gHAAA,qBAAqB,OAAA;AACrB,kHAAA,uBAAuB,OAAA;AAqBzB,+EAA+E;AAC/E,uBAAuB;AACvB,+EAA+E;AAE/E,iDAI+B;AAH7B,6GAAA,kBAAkB,OAAA;AAClB,+GAAA,oBAAoB,OAAA"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../../src/services/navigation-category/definitions.ts"],"names":[],"mappings":""}
|
|
@@ -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,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DJUST SDK Navigation Category Service - Endpoints
|
|
4
|
+
* API endpoint constants for navigation category operations.
|
|
5
|
+
*
|
|
6
|
+
* @module services/navigation-category/endpoints
|
|
7
|
+
* @since 2.17.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.NavigationCategoryEndpoints = void 0;
|
|
11
|
+
exports.NavigationCategoryEndpoints = {
|
|
12
|
+
CATEGORIES: "/v1/shop/navigation-category",
|
|
13
|
+
CATEGORIES_ONLINE: "/v1/shop/navigation-category/online",
|
|
14
|
+
CATEGORY: "/v1/shop/navigation-category/{navigationCategoryId}",
|
|
15
|
+
CATEGORY_BREADCRUMB: "/v1/shop/navigation-category/{navigationCategoryId}/breadcrumb",
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/services/navigation-category/endpoints.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEU,QAAA,2BAA2B,GAAG;IACzC,UAAU,EAAE,8BAA8B;IAC1C,iBAAiB,EAAE,qCAAqC;IACxD,QAAQ,EAAE,qDAAqD;IAC/D,mBAAmB,EACjB,gEAAgE;CAC1D,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,160 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getNavigationCategories = getNavigationCategories;
|
|
4
|
+
exports.getNavigationCategory = getNavigationCategory;
|
|
5
|
+
exports.getNavigationCategoryBreadcrumbs = getNavigationCategoryBreadcrumbs;
|
|
6
|
+
exports.getNavigationCategoryByOptions = getNavigationCategoryByOptions;
|
|
7
|
+
const parameters_validation_1 = require("../../helpers/parameters-validation");
|
|
8
|
+
const fetch_instance_1 = require("../../settings/fetch-instance");
|
|
9
|
+
/**
|
|
10
|
+
* 📄 Gets all navigation categories.
|
|
11
|
+
*
|
|
12
|
+
* Retrieves a list of all navigation categories available for the shop.
|
|
13
|
+
*
|
|
14
|
+
* 🛠 **Endpoint**: `GET /v1/shop/navigation-category/online`
|
|
15
|
+
*
|
|
16
|
+
* | Parameter | Type | Required | Description |
|
|
17
|
+
* |-----------------------|-------------------------------|------------|---------------------------------------------------------------|
|
|
18
|
+
* | `locale` | `string` | ✅ | Locale of the navigation categories to fetch. |
|
|
19
|
+
*
|
|
20
|
+
* 📤 **Returns**:
|
|
21
|
+
* A `Promise<GetNavigationCategoriesResponse>` containing a list of navigation categories.
|
|
22
|
+
*
|
|
23
|
+
* 🛠 **Example usage**:
|
|
24
|
+
* ```ts
|
|
25
|
+
* const categories = await getNavigationCategories({
|
|
26
|
+
* locale: 'en-US',
|
|
27
|
+
* });
|
|
28
|
+
*
|
|
29
|
+
* console.log(categories);
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
async function getNavigationCategories({ locale, }) {
|
|
33
|
+
(0, parameters_validation_1.required)({ locale });
|
|
34
|
+
const { data } = await (0, fetch_instance_1.enhancedFetch)({
|
|
35
|
+
method: "GET",
|
|
36
|
+
path: `/v1/shop/navigation-category/online`,
|
|
37
|
+
params: {
|
|
38
|
+
locale,
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
return data;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* 📄 Gets a specific navigation category.
|
|
45
|
+
*
|
|
46
|
+
* Retrieves a specific navigation category based on its ID.
|
|
47
|
+
*
|
|
48
|
+
* 🛠 **Endpoint**: `GET /v1/shop/navigation-category/{navigationCategoryId}`
|
|
49
|
+
*
|
|
50
|
+
* | Parameter | Type | Required | Description |
|
|
51
|
+
* |-----------------------|-------------------------------|------------|---------------------------------------------------------------|
|
|
52
|
+
* | `locale` | `string` | ✅ | Locale of the navigation category. |
|
|
53
|
+
* | `idType` | `string` | ✅ | Type of the ID used to identify the category (e.g., `id`, `slug`). |
|
|
54
|
+
* | `navigationCategoryId`| `string` | ✅ | ID of the navigation category to fetch. |
|
|
55
|
+
*
|
|
56
|
+
* 📤 **Returns**:
|
|
57
|
+
* A `Promise<GetNavigationCategoryResponse>` containing the specific navigation category.
|
|
58
|
+
*
|
|
59
|
+
* 🛠 **Example usage**:
|
|
60
|
+
* ```ts
|
|
61
|
+
* const category = await getNavigationCategory({
|
|
62
|
+
* locale: 'en-US',
|
|
63
|
+
* idType: 'id',
|
|
64
|
+
* navigationCategoryId: '123',
|
|
65
|
+
* });
|
|
66
|
+
*
|
|
67
|
+
* console.log(category);
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
async function getNavigationCategory({ locale, idType, navigationCategoryId, }) {
|
|
71
|
+
(0, parameters_validation_1.required)({ idType, navigationCategoryId });
|
|
72
|
+
const { data } = await (0, fetch_instance_1.enhancedFetch)({
|
|
73
|
+
method: "GET",
|
|
74
|
+
path: `/v1/shop/navigation-category/${navigationCategoryId}`,
|
|
75
|
+
params: {
|
|
76
|
+
locale,
|
|
77
|
+
idType,
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
return data;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* 📄 Gets breadcrumbs for a specific navigation category.
|
|
84
|
+
*
|
|
85
|
+
* Retrieves the breadcrumb trail for a specific navigation category, showing its hierarchy.
|
|
86
|
+
*
|
|
87
|
+
* 🛠 **Endpoint**: `GET /v1/shop/navigation-category/{navigationCategoryId}/breadcrumb`
|
|
88
|
+
*
|
|
89
|
+
* | Parameter | Type | Required | Description |
|
|
90
|
+
* |-----------------------|-------------------------------|------------|---------------------------------------------------------------|
|
|
91
|
+
* | `locale` | `string` | ✅ | Locale of the navigation category breadcrumbs. |
|
|
92
|
+
* | `idType` | `string` | ✅ | Type of the ID used to identify the category (e.g., `id`, `slug`). |
|
|
93
|
+
* | `navigationCategoryId`| `string` | ✅ | ID of the navigation category to fetch breadcrumbs for. |
|
|
94
|
+
*
|
|
95
|
+
* 📤 **Returns**:
|
|
96
|
+
* A `Promise<GetNavigationCategoryBreadcrumbsResponse>` containing the breadcrumb trail for the navigation category.
|
|
97
|
+
*
|
|
98
|
+
* 🛠 **Example usage**:
|
|
99
|
+
* ```ts
|
|
100
|
+
* const breadcrumbs = await getNavigationCategoryBreadcrumbs({
|
|
101
|
+
* locale: 'en-US',
|
|
102
|
+
* idType: 'id',
|
|
103
|
+
* navigationCategoryId: '123',
|
|
104
|
+
* });
|
|
105
|
+
*
|
|
106
|
+
* console.log(breadcrumbs);
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
async function getNavigationCategoryBreadcrumbs({ locale, idType, navigationCategoryId, }) {
|
|
110
|
+
(0, parameters_validation_1.required)({ idType, navigationCategoryId });
|
|
111
|
+
const { data } = await (0, fetch_instance_1.enhancedFetch)({
|
|
112
|
+
method: "GET",
|
|
113
|
+
path: `/v1/shop/navigation-category/${navigationCategoryId}/breadcrumb`,
|
|
114
|
+
params: {
|
|
115
|
+
locale,
|
|
116
|
+
idType,
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
return data;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* 📄 Gets navigation categories by query parameters.
|
|
123
|
+
*
|
|
124
|
+
* @deprecated This endpoint should be avoided for new implementations. Use more specific endpoints instead.
|
|
125
|
+
*
|
|
126
|
+
* Retrieves navigation categories based on various filter options.
|
|
127
|
+
*
|
|
128
|
+
* 🛠 **Endpoint**: `GET /v1/shop/navigation-category`
|
|
129
|
+
*
|
|
130
|
+
* | Parameter | Type | Required | Description |
|
|
131
|
+
* |-----------------------|-------------------------------|------------|---------------------------------------------------------------|
|
|
132
|
+
* | `active` | `boolean` | | Filter categories by active status. |
|
|
133
|
+
* | `breadcrumb` | `boolean` | | Include breadcrumb information in the response. |
|
|
134
|
+
* | `idType` | `string` | | Type of ID used (DJUST_ID, EXTERNAL_ID). |
|
|
135
|
+
* | `categoryId` | `string` | | Filter by specific category ID. |
|
|
136
|
+
* | `locale` | `string` | | Locale for the returned category information. |
|
|
137
|
+
*
|
|
138
|
+
* 📤 **Returns**:
|
|
139
|
+
* A `Promise<Array<NavigationCategoryDto>>` containing the navigation categories that match the criteria.
|
|
140
|
+
*
|
|
141
|
+
* 🛠 **Example usage**:
|
|
142
|
+
* ```ts
|
|
143
|
+
* const categories = await getNavigationCategoryByOptions({
|
|
144
|
+
* active: true,
|
|
145
|
+
* locale: 'en-US',
|
|
146
|
+
* idType: 'DJUST_ID',
|
|
147
|
+
* });
|
|
148
|
+
*
|
|
149
|
+
* console.log(categories);
|
|
150
|
+
* ```
|
|
151
|
+
*/
|
|
152
|
+
async function getNavigationCategoryByOptions(params = {}) {
|
|
153
|
+
const { data } = await (0, fetch_instance_1.enhancedFetch)({
|
|
154
|
+
method: "GET",
|
|
155
|
+
path: `/v1/shop/navigation-category`,
|
|
156
|
+
params,
|
|
157
|
+
});
|
|
158
|
+
return data;
|
|
159
|
+
}
|
|
160
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/navigation-category/index.ts"],"names":[],"mappings":";;AAmCA,0DAcC;AA6BD,sDAiBC;AA6BD,4EAkBC;AAiCD,wEAUC;AAzLD,+EAA+D;AAC/D,kEAA8D;AAW9D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACI,KAAK,UAAU,uBAAuB,CAAC,EAC5C,MAAM,GAC4B;IAClC,IAAA,gCAAQ,EAAC,EAAE,MAAM,EAAE,CAAC,CAAC;IAErB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,8BAAa,EAAkC;QACpE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,qCAAqC;QAC3C,MAAM,EAAE;YACN,MAAM;SACP;KACF,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACI,KAAK,UAAU,qBAAqB,CAAC,EAC1C,MAAM,EACN,MAAM,EACN,oBAAoB,GACY;IAChC,IAAA,gCAAQ,EAAC,EAAE,MAAM,EAAE,oBAAoB,EAAE,CAAC,CAAC;IAE3C,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,8BAAa,EAAgC;QAClE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,gCAAgC,oBAAoB,EAAE;QAC5D,MAAM,EAAE;YACN,MAAM;YACN,MAAM;SACP;KACF,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACI,KAAK,UAAU,gCAAgC,CAAC,EACrD,MAAM,EACN,MAAM,EACN,oBAAoB,GACuB;IAC3C,IAAA,gCAAQ,EAAC,EAAE,MAAM,EAAE,oBAAoB,EAAE,CAAC,CAAC;IAE3C,MAAM,EAAE,IAAI,EAAE,GACZ,MAAM,IAAA,8BAAa,EAA2C;QAC5D,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,gCAAgC,oBAAoB,aAAa;QACvE,MAAM,EAAE;YACN,MAAM;YACN,MAAM;SACP;KACF,CAAC,CAAC;IAEL,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACI,KAAK,UAAU,8BAA8B,CAClD,SAAmD,EAAE;IAErD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,8BAAa,EAAkC;QACpE,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,8BAA8B;QACpC,MAAM;KACP,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -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,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DJUST SDK Navigation Category Module
|
|
4
|
+
* Re-exports all navigation category-related types and service.
|
|
5
|
+
*
|
|
6
|
+
* @module services/navigation-category
|
|
7
|
+
* @since 2.17.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.NavigationCategoryService = exports.NavigationCategoryEndpoints = void 0;
|
|
11
|
+
var endpoints_1 = require("./endpoints");
|
|
12
|
+
Object.defineProperty(exports, "NavigationCategoryEndpoints", { enumerable: true, get: function () { return endpoints_1.NavigationCategoryEndpoints; } });
|
|
13
|
+
var navigation_category_service_1 = require("./navigation-category.service");
|
|
14
|
+
Object.defineProperty(exports, "NavigationCategoryService", { enumerable: true, get: function () { return navigation_category_service_1.NavigationCategoryService; } });
|
|
15
|
+
//# sourceMappingURL=module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../../src/services/navigation-category/module.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAeH,yCAGqB;AAFnB,wHAAA,2BAA2B,OAAA;AAG7B,6EAA0E;AAAjE,wIAAA,yBAAyB,OAAA"}
|