@djust-b2b/djust-front-sdk 3.0.0-beta.9 → 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 +42 -40
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +269 -63
- 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/index.d.ts +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,479 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* # Quote Service
|
|
4
|
+
*
|
|
5
|
+
* B2B quote request and negotiation management.
|
|
6
|
+
*
|
|
7
|
+
* ## Features
|
|
8
|
+
* - Master quote creation and management
|
|
9
|
+
* - Supplier quote workflows
|
|
10
|
+
* - Quote acceptance/decline process
|
|
11
|
+
* - Quote-to-order conversion
|
|
12
|
+
* - Quote messaging
|
|
13
|
+
*
|
|
14
|
+
* @module services/quote
|
|
15
|
+
* @since 2.17.0
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.QuoteService = void 0;
|
|
19
|
+
const base_service_1 = require("../base.service");
|
|
20
|
+
const endpoints_1 = require("./endpoints");
|
|
21
|
+
/**
|
|
22
|
+
* Service for B2B quote management.
|
|
23
|
+
*
|
|
24
|
+
* Enables full quote workflow:
|
|
25
|
+
* - Create quote requests with multiple products
|
|
26
|
+
* - Send to suppliers for pricing
|
|
27
|
+
* - Review, accept or decline quotes
|
|
28
|
+
* - Convert accepted quotes to orders
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import { createDjustClient } from '@djust-b2b/djust-front-sdk';
|
|
33
|
+
*
|
|
34
|
+
* const client = createDjustClient({ baseUrl, clientId, apiKey });
|
|
35
|
+
*
|
|
36
|
+
* // Create a master quote
|
|
37
|
+
* const masterQuote = await client.quote.createMasterQuote({
|
|
38
|
+
* name: 'Q-2024-001',
|
|
39
|
+
* description: 'Office supplies for Q1',
|
|
40
|
+
* });
|
|
41
|
+
*
|
|
42
|
+
* // Send to suppliers
|
|
43
|
+
* await client.quote.createSupplierQuotes({
|
|
44
|
+
* masterQuoteId: masterQuote.id,
|
|
45
|
+
* createSupplierQuoteRequests: [...],
|
|
46
|
+
* supplierQuoteUrl: 'https://myapp.com/quotes',
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
class QuoteService extends base_service_1.BaseService {
|
|
51
|
+
constructor() {
|
|
52
|
+
super(...arguments);
|
|
53
|
+
this.serviceName = "quote";
|
|
54
|
+
}
|
|
55
|
+
// ==========================================
|
|
56
|
+
// MASTER QUOTES
|
|
57
|
+
// ==========================================
|
|
58
|
+
/**
|
|
59
|
+
* Get paginated list of master quotes.
|
|
60
|
+
*
|
|
61
|
+
* **Endpoint**: `GET /v1/shop/quotes [QUO-100]`
|
|
62
|
+
*
|
|
63
|
+
* | Parameter | Type | Required | Description |
|
|
64
|
+
* |-----------------------|------------------|----------|--------------------------|
|
|
65
|
+
* | `fromCustomerAccount` | `boolean` | No | Filter to current account|
|
|
66
|
+
* | `pageable` | `PageableParams` | No | Pagination settings |
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* ```typescript
|
|
70
|
+
* const { content: quotes } = await client.quote.getMasterQuotes({
|
|
71
|
+
* pageable: { page: 0, size: 10 },
|
|
72
|
+
* });
|
|
73
|
+
*
|
|
74
|
+
* quotes.forEach(q => console.log(`${q.name}: ${q.status}`));
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param params - Query parameters
|
|
78
|
+
* @param context - Optional SSR request context
|
|
79
|
+
* @returns Paginated quote list
|
|
80
|
+
*/
|
|
81
|
+
async getMasterQuotes(params = {}, context) {
|
|
82
|
+
return this.request({
|
|
83
|
+
method: "GET",
|
|
84
|
+
path: endpoints_1.QuoteEndpoints.MASTER_QUOTES,
|
|
85
|
+
params: this.buildParams({
|
|
86
|
+
fromCustomerAccount: params.fromCustomerAccount,
|
|
87
|
+
page: params.pageable?.page,
|
|
88
|
+
size: params.pageable?.size,
|
|
89
|
+
sort: params.pageable?.sort,
|
|
90
|
+
}),
|
|
91
|
+
}, context);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Create a new master quote.
|
|
95
|
+
*
|
|
96
|
+
* A master quote is the main quote request that can be sent to multiple suppliers.
|
|
97
|
+
*
|
|
98
|
+
* **Endpoint**: `POST /v1/shop/quotes [QUO-101]`
|
|
99
|
+
*
|
|
100
|
+
* | Parameter | Type | Required | Description |
|
|
101
|
+
* |---------------|----------|----------|--------------------------|
|
|
102
|
+
* | `name` | `string` | Yes | Quote reference name |
|
|
103
|
+
* | `description` | `string` | Yes | Quote description |
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* ```typescript
|
|
107
|
+
* const quote = await client.quote.createMasterQuote({
|
|
108
|
+
* name: 'Q-2024-001',
|
|
109
|
+
* description: 'Request for office furniture',
|
|
110
|
+
* });
|
|
111
|
+
*
|
|
112
|
+
* console.log(`Quote created: ${quote.id}`);
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
115
|
+
* @param params - Quote creation data
|
|
116
|
+
* @param context - Optional SSR request context
|
|
117
|
+
* @throws {ValidationError} If required parameters are missing
|
|
118
|
+
* @returns Created master quote
|
|
119
|
+
*/
|
|
120
|
+
async createMasterQuote(params, context) {
|
|
121
|
+
this.required(params, ["description", "name"]);
|
|
122
|
+
return this.request({
|
|
123
|
+
method: "POST",
|
|
124
|
+
path: endpoints_1.QuoteEndpoints.MASTER_QUOTES,
|
|
125
|
+
body: {
|
|
126
|
+
description: params.description,
|
|
127
|
+
name: params.name,
|
|
128
|
+
},
|
|
129
|
+
}, context);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Delete a master quote.
|
|
133
|
+
*
|
|
134
|
+
* **Endpoint**: `DELETE /v1/shop/quotes/{quoteId} [QUO-102]`
|
|
135
|
+
*
|
|
136
|
+
* | Parameter | Type | Required | Description |
|
|
137
|
+
* |-----------------|----------|----------|--------------------------|
|
|
138
|
+
* | `masterQuoteId` | `string` | Yes | Quote ID to delete |
|
|
139
|
+
*
|
|
140
|
+
* @param params - Quote identification
|
|
141
|
+
* @param context - Optional SSR request context
|
|
142
|
+
* @throws {ValidationError} If masterQuoteId is missing
|
|
143
|
+
* @throws {NotFoundError} If quote doesn't exist
|
|
144
|
+
*/
|
|
145
|
+
async deleteMasterQuote(params, context) {
|
|
146
|
+
this.required(params, ["masterQuoteId"]);
|
|
147
|
+
await this.request({
|
|
148
|
+
method: "DELETE",
|
|
149
|
+
path: this.buildPath(endpoints_1.QuoteEndpoints.MASTER_QUOTE, {
|
|
150
|
+
masterQuoteId: params.masterQuoteId,
|
|
151
|
+
}),
|
|
152
|
+
}, context);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Get master quote details.
|
|
156
|
+
*
|
|
157
|
+
* **Endpoint**: `GET /v1/shop/quotes/{quoteId} [QUO-103]`
|
|
158
|
+
*
|
|
159
|
+
* | Parameter | Type | Required | Description |
|
|
160
|
+
* |-----------------|----------|----------|--------------------------|
|
|
161
|
+
* | `masterQuoteId` | `string` | Yes | Quote ID |
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* ```typescript
|
|
165
|
+
* const quote = await client.quote.getMasterQuote({
|
|
166
|
+
* masterQuoteId: 'quote-123',
|
|
167
|
+
* });
|
|
168
|
+
*
|
|
169
|
+
* console.log(`${quote.name}: ${quote.status}`);
|
|
170
|
+
* console.log(`Items: ${quote.details.length}`);
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* @param params - Quote identification
|
|
174
|
+
* @param context - Optional SSR request context
|
|
175
|
+
* @throws {ValidationError} If masterQuoteId is missing
|
|
176
|
+
* @throws {NotFoundError} If quote doesn't exist
|
|
177
|
+
* @returns Master quote with details
|
|
178
|
+
*/
|
|
179
|
+
async getMasterQuote(params, context) {
|
|
180
|
+
this.required(params, ["masterQuoteId"]);
|
|
181
|
+
return this.request({
|
|
182
|
+
method: "GET",
|
|
183
|
+
path: this.buildPath(endpoints_1.QuoteEndpoints.MASTER_QUOTE, {
|
|
184
|
+
masterQuoteId: params.masterQuoteId,
|
|
185
|
+
}),
|
|
186
|
+
}, context);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Update a master quote (add/remove items, custom fields).
|
|
190
|
+
*
|
|
191
|
+
* **Endpoint**: `PUT /v1/shop/quotes/{quoteId} [QUO-104]`
|
|
192
|
+
*
|
|
193
|
+
* | Parameter | Type | Required | Description |
|
|
194
|
+
* |------------------------------|----------|----------|--------------------------|
|
|
195
|
+
* | `masterQuoteId` | `string` | Yes | Quote ID |
|
|
196
|
+
* | `masterQuoteDetailsToAdd` | `array` | No | Items to add |
|
|
197
|
+
* | `masterQuoteDetailsToRemove` | `array` | No | Item IDs to remove |
|
|
198
|
+
* | `customFieldValues` | `object` | No | Custom field updates |
|
|
199
|
+
* | `idType` | `string` | No | Query: type for productVariantId (DJUST_ID \| EXTERNAL_ID). Default DJUST_ID. |
|
|
200
|
+
*
|
|
201
|
+
* @example
|
|
202
|
+
* ```typescript
|
|
203
|
+
* await client.quote.updateMasterQuote({
|
|
204
|
+
* masterQuoteId: 'quote-123',
|
|
205
|
+
* masterQuoteDetailsToAdd: [
|
|
206
|
+
* { productVariantId: 'variant-1', quantity: 10 },
|
|
207
|
+
* ],
|
|
208
|
+
* });
|
|
209
|
+
* ```
|
|
210
|
+
*
|
|
211
|
+
* @param params - Update data
|
|
212
|
+
* @param context - Optional SSR request context
|
|
213
|
+
* @throws {ValidationError} If masterQuoteId is missing
|
|
214
|
+
* @returns Updated master quote
|
|
215
|
+
*/
|
|
216
|
+
async updateMasterQuote(params, context) {
|
|
217
|
+
this.required(params, ["masterQuoteId"]);
|
|
218
|
+
return this.request({
|
|
219
|
+
method: "PUT",
|
|
220
|
+
path: this.buildPath(endpoints_1.QuoteEndpoints.MASTER_QUOTE, {
|
|
221
|
+
masterQuoteId: params.masterQuoteId,
|
|
222
|
+
}),
|
|
223
|
+
params: params.idType ? { idType: params.idType } : undefined,
|
|
224
|
+
body: {
|
|
225
|
+
masterQuoteDetailsToAdd: params.masterQuoteDetailsToAdd,
|
|
226
|
+
masterQuoteDetailsToRemove: params.masterQuoteDetailsToRemove,
|
|
227
|
+
customFieldValues: params.customFieldValues,
|
|
228
|
+
},
|
|
229
|
+
}, context);
|
|
230
|
+
}
|
|
231
|
+
// ==========================================
|
|
232
|
+
// SUPPLIER QUOTES
|
|
233
|
+
// ==========================================
|
|
234
|
+
/**
|
|
235
|
+
* Send quote requests to suppliers.
|
|
236
|
+
*
|
|
237
|
+
* Creates supplier quote requests from a master quote or ad-hoc.
|
|
238
|
+
*
|
|
239
|
+
* **Endpoint**: `POST /v1/shop/supplier-quotes [QUO-200]`
|
|
240
|
+
*
|
|
241
|
+
* | Parameter | Type | Required | Description |
|
|
242
|
+
* |-----------------------------|----------|----------|--------------------------|
|
|
243
|
+
* | `createSupplierQuoteRequests`| `array` | Yes | Quote requests per supplier |
|
|
244
|
+
* | `supplierQuoteUrl` | `string` | Yes | Callback URL for suppliers |
|
|
245
|
+
* | `masterQuoteId` | `string` | No | Link to master quote |
|
|
246
|
+
* | `billingAddressId` | `string` | No | Billing address |
|
|
247
|
+
*
|
|
248
|
+
* @example
|
|
249
|
+
* ```typescript
|
|
250
|
+
* const supplierQuotes = await client.quote.createSupplierQuotes({
|
|
251
|
+
* masterQuoteId: 'quote-123',
|
|
252
|
+
* supplierQuoteUrl: 'https://myapp.com/supplier-quotes',
|
|
253
|
+
* createSupplierQuoteRequests: [
|
|
254
|
+
* {
|
|
255
|
+
* supplierId: 'supplier-1',
|
|
256
|
+
* shippingAddressId: 'addr-1',
|
|
257
|
+
* lines: [{ productVariantId: 'var-1', quantity: 100 }],
|
|
258
|
+
* },
|
|
259
|
+
* ],
|
|
260
|
+
* });
|
|
261
|
+
* ```
|
|
262
|
+
*
|
|
263
|
+
* @param params - Supplier quote creation data
|
|
264
|
+
* @param context - Optional SSR request context
|
|
265
|
+
* @throws {ValidationError} If required parameters are missing
|
|
266
|
+
* @returns Created supplier quotes
|
|
267
|
+
*/
|
|
268
|
+
async createSupplierQuotes(params, context) {
|
|
269
|
+
this.required(params, ["createSupplierQuoteRequests", "supplierQuoteUrl"]);
|
|
270
|
+
return this.request({
|
|
271
|
+
method: "POST",
|
|
272
|
+
path: endpoints_1.QuoteEndpoints.SUPPLIER_QUOTES,
|
|
273
|
+
body: {
|
|
274
|
+
billingAddressId: params.billingAddressId,
|
|
275
|
+
createSupplierQuoteRequests: params.createSupplierQuoteRequests,
|
|
276
|
+
masterQuoteId: params.masterQuoteId,
|
|
277
|
+
supplierQuoteUrl: params.supplierQuoteUrl,
|
|
278
|
+
},
|
|
279
|
+
}, context);
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Get supplier quote details.
|
|
283
|
+
*
|
|
284
|
+
* **Endpoint**: `GET /v1/shop/supplier-quotes/{quoteId} [QUO-201]`
|
|
285
|
+
*
|
|
286
|
+
* | Parameter | Type | Required | Description |
|
|
287
|
+
* |-------------------|----------|----------|--------------------------|
|
|
288
|
+
* | `supplierQuoteId` | `string` | Yes | Supplier quote ID |
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* ```typescript
|
|
292
|
+
* const quote = await client.quote.getSupplierQuote({
|
|
293
|
+
* supplierQuoteId: 'sq-123',
|
|
294
|
+
* });
|
|
295
|
+
*
|
|
296
|
+
* console.log(`Supplier: ${quote.supplierName}`);
|
|
297
|
+
* console.log(`Status: ${quote.status}`);
|
|
298
|
+
* console.log(`Total: ${quote.totalAmount}`);
|
|
299
|
+
* ```
|
|
300
|
+
*
|
|
301
|
+
* @param params - Quote identification
|
|
302
|
+
* @param context - Optional SSR request context
|
|
303
|
+
* @throws {ValidationError} If supplierQuoteId is missing
|
|
304
|
+
* @returns Supplier quote details
|
|
305
|
+
*/
|
|
306
|
+
async getSupplierQuote(params, context) {
|
|
307
|
+
this.required(params, ["supplierQuoteId"]);
|
|
308
|
+
return this.request({
|
|
309
|
+
method: "GET",
|
|
310
|
+
path: this.buildPath(endpoints_1.QuoteEndpoints.SUPPLIER_QUOTE, {
|
|
311
|
+
supplierQuoteId: params.supplierQuoteId,
|
|
312
|
+
}),
|
|
313
|
+
}, context);
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Accept a supplier quote.
|
|
317
|
+
*
|
|
318
|
+
* Marks the quote as accepted, ready for order creation.
|
|
319
|
+
*
|
|
320
|
+
* **Endpoint**: `PUT /v1/shop/supplier-quotes/{quoteId}/accept [QUO-202]`
|
|
321
|
+
*
|
|
322
|
+
* | Parameter | Type | Required | Description |
|
|
323
|
+
* |-------------------|----------|----------|--------------------------|
|
|
324
|
+
* | `supplierQuoteId` | `string` | Yes | Supplier quote ID |
|
|
325
|
+
*
|
|
326
|
+
* @example
|
|
327
|
+
* ```typescript
|
|
328
|
+
* const accepted = await client.quote.acceptSupplierQuote({
|
|
329
|
+
* supplierQuoteId: 'sq-123',
|
|
330
|
+
* });
|
|
331
|
+
*
|
|
332
|
+
* console.log(`Quote accepted: ${accepted.status}`);
|
|
333
|
+
* ```
|
|
334
|
+
*
|
|
335
|
+
* @param params - Quote identification
|
|
336
|
+
* @param context - Optional SSR request context
|
|
337
|
+
* @throws {ValidationError} If supplierQuoteId is missing
|
|
338
|
+
* @returns Accepted quote
|
|
339
|
+
*/
|
|
340
|
+
async acceptSupplierQuote(params, context) {
|
|
341
|
+
this.required(params, ["supplierQuoteId"]);
|
|
342
|
+
return this.request({
|
|
343
|
+
method: "PUT",
|
|
344
|
+
path: this.buildPath(endpoints_1.QuoteEndpoints.SUPPLIER_QUOTE_ACCEPT, {
|
|
345
|
+
supplierQuoteId: params.supplierQuoteId,
|
|
346
|
+
}),
|
|
347
|
+
}, context);
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Decline a supplier quote.
|
|
351
|
+
*
|
|
352
|
+
* **Endpoint**: `PUT /v1/shop/supplier-quotes/{quoteId}/decline [QUO-203]`
|
|
353
|
+
*
|
|
354
|
+
* | Parameter | Type | Required | Description |
|
|
355
|
+
* |-------------------|----------|----------|--------------------------|
|
|
356
|
+
* | `supplierQuoteId` | `string` | Yes | Supplier quote ID |
|
|
357
|
+
*
|
|
358
|
+
* @param params - Quote identification
|
|
359
|
+
* @param context - Optional SSR request context
|
|
360
|
+
* @throws {ValidationError} If supplierQuoteId is missing
|
|
361
|
+
* @returns Declined quote
|
|
362
|
+
*/
|
|
363
|
+
async declineSupplierQuote(params, context) {
|
|
364
|
+
this.required(params, ["supplierQuoteId"]);
|
|
365
|
+
return this.request({
|
|
366
|
+
method: "PUT",
|
|
367
|
+
path: this.buildPath(endpoints_1.QuoteEndpoints.SUPPLIER_QUOTE_DECLINE, {
|
|
368
|
+
supplierQuoteId: params.supplierQuoteId,
|
|
369
|
+
}),
|
|
370
|
+
}, context);
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Update custom fields on a supplier quote.
|
|
374
|
+
*
|
|
375
|
+
* **Endpoint**: `PATCH /v1/shop/supplier-quotes/{quoteId}/custom-fields [QUO-204]`
|
|
376
|
+
*
|
|
377
|
+
* @param params - Custom field update data
|
|
378
|
+
* @param context - Optional SSR request context
|
|
379
|
+
* @throws {ValidationError} If supplierQuoteId is missing
|
|
380
|
+
* @returns Updated quote
|
|
381
|
+
*/
|
|
382
|
+
async updateSupplierQuoteCustomFields(params, context) {
|
|
383
|
+
this.required(params, ["supplierQuoteId"]);
|
|
384
|
+
return this.request({
|
|
385
|
+
method: "PATCH",
|
|
386
|
+
path: this.buildPath(endpoints_1.QuoteEndpoints.SUPPLIER_QUOTE_CUSTOM_FIELDS, {
|
|
387
|
+
supplierQuoteId: params.supplierQuoteId,
|
|
388
|
+
}),
|
|
389
|
+
body: {
|
|
390
|
+
customFieldValues: params.customFieldValues,
|
|
391
|
+
idType: params.idType,
|
|
392
|
+
},
|
|
393
|
+
}, context);
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Post a message to a supplier quote thread.
|
|
397
|
+
*
|
|
398
|
+
* Enables communication between buyer and supplier.
|
|
399
|
+
*
|
|
400
|
+
* **Endpoint**: `POST /v1/shop/supplier-quotes/{quoteId}/messages [QUO-205]`
|
|
401
|
+
*
|
|
402
|
+
* | Parameter | Type | Required | Description |
|
|
403
|
+
* |-------------------|----------|----------|--------------------------|
|
|
404
|
+
* | `supplierQuoteId` | `string` | Yes | Supplier quote ID |
|
|
405
|
+
* | `message` | `string` | Yes | Message content |
|
|
406
|
+
* | `username` | `string` | Yes | Sender's name |
|
|
407
|
+
*
|
|
408
|
+
* @example
|
|
409
|
+
* ```typescript
|
|
410
|
+
* await client.quote.postMessageToSupplierQuote({
|
|
411
|
+
* supplierQuoteId: 'sq-123',
|
|
412
|
+
* message: 'Can you provide faster delivery options?',
|
|
413
|
+
* username: 'John Doe',
|
|
414
|
+
* });
|
|
415
|
+
* ```
|
|
416
|
+
*
|
|
417
|
+
* @param params - Message data
|
|
418
|
+
* @param context - Optional SSR request context
|
|
419
|
+
* @throws {ValidationError} If required parameters are missing
|
|
420
|
+
* @returns Message confirmation
|
|
421
|
+
*/
|
|
422
|
+
async postMessageToSupplierQuote(params, context) {
|
|
423
|
+
this.required(params, ["supplierQuoteId", "message", "username"]);
|
|
424
|
+
return this.request({
|
|
425
|
+
method: "POST",
|
|
426
|
+
path: this.buildPath(endpoints_1.QuoteEndpoints.SUPPLIER_QUOTE_MESSAGE, {
|
|
427
|
+
supplierQuoteId: params.supplierQuoteId,
|
|
428
|
+
}),
|
|
429
|
+
body: {
|
|
430
|
+
message: params.message,
|
|
431
|
+
username: params.username,
|
|
432
|
+
},
|
|
433
|
+
}, context);
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Convert an accepted supplier quote to an order.
|
|
437
|
+
*
|
|
438
|
+
* Creates a commercial order from the accepted quote.
|
|
439
|
+
*
|
|
440
|
+
* **Endpoint**: `POST /v1/shop/supplier-quotes/{quoteId}/initialize-orders [QUO-206]`
|
|
441
|
+
*
|
|
442
|
+
* | Parameter | Type | Required | Description |
|
|
443
|
+
* |---------------------------|----------|----------|--------------------------|
|
|
444
|
+
* | `supplierQuoteId` | `string` | Yes | Supplier quote ID |
|
|
445
|
+
* | `quoteLineIdsAndQuantities`| `array` | Yes | Lines to convert |
|
|
446
|
+
* | `nbPreviewLines` | `number` | No | Preview lines in response|
|
|
447
|
+
*
|
|
448
|
+
* @example
|
|
449
|
+
* ```typescript
|
|
450
|
+
* const order = await client.quote.initializeOrderFromSupplierQuote({
|
|
451
|
+
* supplierQuoteId: 'sq-123',
|
|
452
|
+
* quoteLineIdsAndQuantities: [
|
|
453
|
+
* { quoteLineId: 'line-1', quantity: 50 },
|
|
454
|
+
* { quoteLineId: 'line-2', quantity: 100 },
|
|
455
|
+
* ],
|
|
456
|
+
* });
|
|
457
|
+
*
|
|
458
|
+
* console.log(`Order created: ${order.commercialOrderId}`);
|
|
459
|
+
* ```
|
|
460
|
+
*
|
|
461
|
+
* @param params - Order initialization data
|
|
462
|
+
* @param context - Optional SSR request context
|
|
463
|
+
* @throws {ValidationError} If required parameters are missing
|
|
464
|
+
* @returns Created order reference
|
|
465
|
+
*/
|
|
466
|
+
async initializeOrderFromSupplierQuote(params, context) {
|
|
467
|
+
this.required(params, ["supplierQuoteId", "quoteLineIdsAndQuantities"]);
|
|
468
|
+
return this.request({
|
|
469
|
+
method: "POST",
|
|
470
|
+
path: this.buildPath(endpoints_1.QuoteEndpoints.SUPPLIER_QUOTE_INITIALIZE_ORDERS, {
|
|
471
|
+
supplierQuoteId: params.supplierQuoteId,
|
|
472
|
+
}),
|
|
473
|
+
params: this.buildParams({ nbPreviewLines: params.nbPreviewLines }),
|
|
474
|
+
body: { quoteLineIdsAndQuantities: params.quoteLineIdsAndQuantities },
|
|
475
|
+
}, context);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
exports.QuoteService = QuoteService;
|
|
479
|
+
//# sourceMappingURL=quote.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote.service.js","sourceRoot":"","sources":["../../../src/services/quote/quote.service.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,kDAA8C;AAE9C,2CAA6C;AA2B7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,YAAa,SAAQ,0BAAW;IAA7C;;QACW,gBAAW,GAAG,OAAO,CAAC;IAwgBjC,CAAC;IAtgBC,6CAA6C;IAC7C,gBAAgB;IAChB,6CAA6C;IAE7C;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,KAAK,CAAC,eAAe,CACnB,SAAgC,EAAE,E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;;;;;;;OA8BG;IACH,KAAK,CAAC,gCAAgC,CACpC,MAA8C,EAC9C,OAAwB;QAExB,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,iBAAiB,EAAE,2BAA2B,CAAC,CAAC,CAAC;QAExE,OAAO,IAAI,CAAC,OAAO,CACjB;YACE,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,0BAAc,CAAC,gCAAgC,EAAE;gBACpE,eAAe,EAAE,MAAM,CAAC,eAAe;aACxC,CAAC;YACF,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,EAAE,cAAc,EAAE,MAAM,CAAC,cAAc,EAAE,CAAC;YACnE,IAAI,EAAE,EAAE,yBAAyB,EAAE,MAAM,CAAC,yBAAyB,EAAE;SACtE,EACD,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAzgBD,oCAygBC"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Quote Service - Types
|
|
3
|
+
* Type definitions for quote operations.
|
|
4
|
+
*
|
|
5
|
+
* @module services/quote/types
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
import type { Pageable, PaginatedResponse } from "../types";
|
|
9
|
+
export type QuoteStatus = "DRAFT" | "PENDING" | "ACCEPTED" | "DECLINED" | "EXPIRED" | "CANCELLED";
|
|
10
|
+
export type IdType = "DJUST_ID" | "EXTERNAL_ID";
|
|
11
|
+
export interface GetMasterQuotesParams {
|
|
12
|
+
fromCustomerAccount?: boolean;
|
|
13
|
+
pageable?: Pageable;
|
|
14
|
+
}
|
|
15
|
+
export interface CreateMasterQuoteParams {
|
|
16
|
+
description: string;
|
|
17
|
+
name: string;
|
|
18
|
+
}
|
|
19
|
+
export interface DeleteMasterQuoteParams {
|
|
20
|
+
masterQuoteId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface GetMasterQuoteParams {
|
|
23
|
+
masterQuoteId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface UpdateMasterQuoteParams {
|
|
26
|
+
masterQuoteId: string;
|
|
27
|
+
customFieldValues?: Array<{
|
|
28
|
+
customFieldId: string;
|
|
29
|
+
customFieldValue?: string;
|
|
30
|
+
}>;
|
|
31
|
+
masterQuoteDetailsToAdd?: Array<{
|
|
32
|
+
productVariantId: string;
|
|
33
|
+
quantity: number;
|
|
34
|
+
}>;
|
|
35
|
+
masterQuoteDetailsToRemove?: string[];
|
|
36
|
+
/** Query param: type for productVariantId and customField id (e.g. EXTERNAL_ID). Default DJUST_ID. */
|
|
37
|
+
idType?: IdType;
|
|
38
|
+
}
|
|
39
|
+
export interface CreateSupplierQuotesParams {
|
|
40
|
+
billingAddressId?: string;
|
|
41
|
+
createSupplierQuoteRequests: Array<{
|
|
42
|
+
createQuoteDeliveryLineRequests: Array<{
|
|
43
|
+
quantity: number;
|
|
44
|
+
shippingAddressId: string;
|
|
45
|
+
}>;
|
|
46
|
+
masterQuoteDetailId: string;
|
|
47
|
+
quantity: number;
|
|
48
|
+
supplierIds: string[];
|
|
49
|
+
}>;
|
|
50
|
+
masterQuoteId?: string;
|
|
51
|
+
supplierQuoteUrl: string;
|
|
52
|
+
}
|
|
53
|
+
export interface GetSupplierQuoteParams {
|
|
54
|
+
supplierQuoteId: string;
|
|
55
|
+
}
|
|
56
|
+
export interface AcceptSupplierQuoteParams {
|
|
57
|
+
supplierQuoteId: string;
|
|
58
|
+
}
|
|
59
|
+
export interface DeclineSupplierQuoteParams {
|
|
60
|
+
supplierQuoteId: string;
|
|
61
|
+
}
|
|
62
|
+
export interface UpdateSupplierQuoteCustomFieldsParams {
|
|
63
|
+
supplierQuoteId: string;
|
|
64
|
+
customFieldValues: Array<{
|
|
65
|
+
customFieldId: string;
|
|
66
|
+
customFieldValue?: string;
|
|
67
|
+
}>;
|
|
68
|
+
idType: IdType;
|
|
69
|
+
}
|
|
70
|
+
export interface PostMessageToSupplierQuoteParams {
|
|
71
|
+
supplierQuoteId: string;
|
|
72
|
+
message: string;
|
|
73
|
+
username: string;
|
|
74
|
+
}
|
|
75
|
+
export interface InitializeOrderFromSupplierQuoteParams {
|
|
76
|
+
supplierQuoteId: string;
|
|
77
|
+
nbPreviewLines?: number;
|
|
78
|
+
quoteLineIdsAndQuantities: Array<{
|
|
79
|
+
quoteLineId: string;
|
|
80
|
+
quantity: number;
|
|
81
|
+
}>;
|
|
82
|
+
}
|
|
83
|
+
export interface CustomFieldValue {
|
|
84
|
+
customFieldId: string;
|
|
85
|
+
customFieldValue?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface MasterQuoteDetail {
|
|
88
|
+
id: string;
|
|
89
|
+
productVariantId: string;
|
|
90
|
+
quantity: number;
|
|
91
|
+
productName?: string;
|
|
92
|
+
sku?: string;
|
|
93
|
+
}
|
|
94
|
+
export interface MasterQuote {
|
|
95
|
+
id: string;
|
|
96
|
+
name: string;
|
|
97
|
+
description: string;
|
|
98
|
+
status: QuoteStatus;
|
|
99
|
+
details: MasterQuoteDetail[];
|
|
100
|
+
customFieldValues: CustomFieldValue[];
|
|
101
|
+
createdAt: string;
|
|
102
|
+
updatedAt: string;
|
|
103
|
+
}
|
|
104
|
+
export interface SupplierQuoteLine {
|
|
105
|
+
id: string;
|
|
106
|
+
productVariantId: string;
|
|
107
|
+
quantity: number;
|
|
108
|
+
unitPrice: number;
|
|
109
|
+
totalPrice: number;
|
|
110
|
+
currency: string;
|
|
111
|
+
productName?: string;
|
|
112
|
+
}
|
|
113
|
+
export interface QuoteMessage {
|
|
114
|
+
id: string;
|
|
115
|
+
message: string;
|
|
116
|
+
username: string;
|
|
117
|
+
createdAt: string;
|
|
118
|
+
}
|
|
119
|
+
export interface SupplierQuote {
|
|
120
|
+
id: string;
|
|
121
|
+
masterQuoteId?: string;
|
|
122
|
+
supplierId: string;
|
|
123
|
+
supplierName: string;
|
|
124
|
+
status: QuoteStatus;
|
|
125
|
+
lines: SupplierQuoteLine[];
|
|
126
|
+
messages: QuoteMessage[];
|
|
127
|
+
billingAddressId?: string;
|
|
128
|
+
customFieldValues: CustomFieldValue[];
|
|
129
|
+
totalPrice: number;
|
|
130
|
+
currency: string;
|
|
131
|
+
createdAt: string;
|
|
132
|
+
updatedAt: string;
|
|
133
|
+
expiresAt?: string;
|
|
134
|
+
}
|
|
135
|
+
export interface GetMasterQuotesResponse extends PaginatedResponse<MasterQuote> {
|
|
136
|
+
}
|
|
137
|
+
export interface CreateMasterQuoteResponse extends MasterQuote {
|
|
138
|
+
}
|
|
139
|
+
export interface GetMasterQuoteResponse extends MasterQuote {
|
|
140
|
+
}
|
|
141
|
+
export interface UpdateMasterQuoteResponse extends MasterQuote {
|
|
142
|
+
}
|
|
143
|
+
export interface CreateSupplierQuotesResponse {
|
|
144
|
+
supplierQuotes: SupplierQuote[];
|
|
145
|
+
}
|
|
146
|
+
export interface GetSupplierQuoteResponse extends SupplierQuote {
|
|
147
|
+
}
|
|
148
|
+
export interface AcceptSupplierQuoteResponse extends SupplierQuote {
|
|
149
|
+
}
|
|
150
|
+
export interface DeclineSupplierQuoteResponse extends SupplierQuote {
|
|
151
|
+
}
|
|
152
|
+
export interface UpdateSupplierQuoteCustomFieldsResponse extends SupplierQuote {
|
|
153
|
+
}
|
|
154
|
+
export interface PostMessageToSupplierQuoteResponse extends QuoteMessage {
|
|
155
|
+
}
|
|
156
|
+
export interface InitializeOrderFromSupplierQuoteResponse {
|
|
157
|
+
commercialOrderId: string;
|
|
158
|
+
businessId: string;
|
|
159
|
+
}
|
|
160
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/quote/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAM5D,MAAM,MAAM,WAAW,GACnB,OAAO,GACP,SAAS,GACT,UAAU,GACV,UAAU,GACV,SAAS,G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