@djust-b2b/djust-front-sdk 3.0.0-beta.9 → 3.0.1
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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/incident/index.ts"],"names":[],"mappings":";;AAuDA,oCA4BC;AAgDD,wCA0CC;AA8BD,kCAeC;AAqCD,kEAqBC;AAwCD,0EAyBC;AA4CD,8EA2BC;AAwCD,wCAwBC;AA5dD,+EAA+D;AAC/D,kEAA8D;AAgB9D;;;;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ACX,UAAU;YACV,eAAe;YACf,WAAW;SACZ,CAAC;KACH,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Incident Module
|
|
3
|
+
* Re-exports all incident-related types and service.
|
|
4
|
+
*
|
|
5
|
+
* @module services/incident
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
export type { IncidentStatus, IncidentLinkedType, IncidentIdType, CustomFieldValueRequest, CustomFieldRequest, OrderLineIncident, GetIncidentsParams, GetIncidentsV2Params, GetIncidentParams, CreateIncidentParams, CreateOrderLogisticIncidentParams, CreateOrderLogisticLineIncidentParams, CreateOrderLogisticIncidentThreadParams, Incident, IncidentThread, GetIncidentsResponse, GetIncidentResponse, CreateIncidentResponse, CreateOrderLogisticIncidentResponse, CreateOrderLogisticLineIncidentResponse, CreateOrderLogisticIncidentThreadResponse, } from "./types";
|
|
9
|
+
export { IncidentEndpoints, type IncidentEndpoint } from "./endpoints";
|
|
10
|
+
export { IncidentService } from "./incident.service";
|
|
11
|
+
//# sourceMappingURL=module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/services/incident/module.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EACV,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACpB,iCAAiC,EACjC,qCAAqC,EACrC,uCAAuC,EACvC,QAAQ,EACR,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,mCAAmC,EACnC,uCAAuC,EACvC,yCAAyC,GAC1C,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DJUST SDK Incident Module
|
|
4
|
+
* Re-exports all incident-related types and service.
|
|
5
|
+
*
|
|
6
|
+
* @module services/incident
|
|
7
|
+
* @since 2.17.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.IncidentService = exports.IncidentEndpoints = void 0;
|
|
11
|
+
var endpoints_1 = require("./endpoints");
|
|
12
|
+
Object.defineProperty(exports, "IncidentEndpoints", { enumerable: true, get: function () { return endpoints_1.IncidentEndpoints; } });
|
|
13
|
+
var incident_service_1 = require("./incident.service");
|
|
14
|
+
Object.defineProperty(exports, "IncidentService", { enumerable: true, get: function () { return incident_service_1.IncidentService; } });
|
|
15
|
+
//# sourceMappingURL=module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../../src/services/incident/module.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AA0BH,yCAAuE;AAA9D,8GAAA,iBAAiB,OAAA;AAC1B,uDAAqD;AAA5C,mHAAA,eAAe,OAAA"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Incident Service - Types
|
|
3
|
+
* Type definitions for incident operations.
|
|
4
|
+
*
|
|
5
|
+
* @module services/incident/types
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
import type { PaginatedResponse } from "../types";
|
|
9
|
+
export type IncidentStatus = "OPEN" | "ON_GOING" | "CLOSED";
|
|
10
|
+
export type IncidentLinkedType = "ORDER" | "ORDER_LINES";
|
|
11
|
+
export type IncidentIdType = "DJUST_ID" | "EXTERNAL_ID";
|
|
12
|
+
export interface CustomFieldValueRequest {
|
|
13
|
+
customFieldId: string;
|
|
14
|
+
customFieldValue?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface CustomFieldRequest {
|
|
17
|
+
customFieldValues?: CustomFieldValueRequest[];
|
|
18
|
+
idType?: IncidentIdType;
|
|
19
|
+
}
|
|
20
|
+
export interface OrderLineIncident {
|
|
21
|
+
customFieldValues?: CustomFieldValueRequest[];
|
|
22
|
+
lineId: string;
|
|
23
|
+
quantity: number;
|
|
24
|
+
}
|
|
25
|
+
export interface GetIncidentsParams {
|
|
26
|
+
linkedType: IncidentLinkedType;
|
|
27
|
+
customerAccountIds?: string[];
|
|
28
|
+
ids?: string[];
|
|
29
|
+
status?: IncidentStatus[];
|
|
30
|
+
idType?: IncidentIdType;
|
|
31
|
+
page?: number;
|
|
32
|
+
size?: number;
|
|
33
|
+
sort?: string[];
|
|
34
|
+
}
|
|
35
|
+
export interface GetIncidentsV2Params {
|
|
36
|
+
linkedType: IncidentLinkedType;
|
|
37
|
+
customerAccountIds?: string[];
|
|
38
|
+
ids?: string[];
|
|
39
|
+
status?: IncidentStatus[];
|
|
40
|
+
reasonCodes?: string[];
|
|
41
|
+
supplierIds?: string[];
|
|
42
|
+
customFields?: CustomFieldValueRequest[];
|
|
43
|
+
idType?: IncidentIdType;
|
|
44
|
+
page?: number;
|
|
45
|
+
size?: number;
|
|
46
|
+
sort?: string[];
|
|
47
|
+
}
|
|
48
|
+
export interface GetIncidentParams {
|
|
49
|
+
incidentId: string;
|
|
50
|
+
idType?: IncidentIdType;
|
|
51
|
+
}
|
|
52
|
+
export interface CreateIncidentParams {
|
|
53
|
+
reasonCodes: string[];
|
|
54
|
+
customField?: CustomFieldRequest;
|
|
55
|
+
externalId?: string;
|
|
56
|
+
logisticOrderId?: string;
|
|
57
|
+
idType?: IncidentIdType;
|
|
58
|
+
}
|
|
59
|
+
export interface CreateOrderLogisticIncidentParams {
|
|
60
|
+
logisticOrderId: string;
|
|
61
|
+
reasonCode: string[];
|
|
62
|
+
customField?: CustomFieldRequest;
|
|
63
|
+
idType?: IncidentIdType;
|
|
64
|
+
}
|
|
65
|
+
export interface CreateOrderLogisticLineIncidentParams {
|
|
66
|
+
logisticOrderId: string;
|
|
67
|
+
reasonCode: string[];
|
|
68
|
+
orderLines: OrderLineIncident[];
|
|
69
|
+
customFieldIdType?: IncidentIdType;
|
|
70
|
+
idType?: IncidentIdType;
|
|
71
|
+
}
|
|
72
|
+
export interface CreateOrderLogisticIncidentThreadParams {
|
|
73
|
+
logisticOrderId: string;
|
|
74
|
+
incidentId: string;
|
|
75
|
+
reasonCode: string[];
|
|
76
|
+
message: string;
|
|
77
|
+
customField?: CustomFieldRequest[];
|
|
78
|
+
name?: string;
|
|
79
|
+
idType?: IncidentIdType;
|
|
80
|
+
}
|
|
81
|
+
export interface Incident {
|
|
82
|
+
id: string;
|
|
83
|
+
externalId?: string;
|
|
84
|
+
status: IncidentStatus;
|
|
85
|
+
linkedType: IncidentLinkedType;
|
|
86
|
+
linkedId?: string;
|
|
87
|
+
reasonCodes: string[];
|
|
88
|
+
customFieldValues?: CustomFieldValueRequest[];
|
|
89
|
+
createdAt: string;
|
|
90
|
+
updatedAt: string;
|
|
91
|
+
}
|
|
92
|
+
export interface IncidentThread {
|
|
93
|
+
threadId: string;
|
|
94
|
+
threadExternalId?: string;
|
|
95
|
+
messageId: string;
|
|
96
|
+
messageExternalId?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface GetIncidentsResponse extends PaginatedResponse<Incident> {
|
|
99
|
+
}
|
|
100
|
+
export interface GetIncidentResponse extends Incident {
|
|
101
|
+
}
|
|
102
|
+
export interface CreateIncidentResponse {
|
|
103
|
+
incidentId: string;
|
|
104
|
+
externalId?: string;
|
|
105
|
+
}
|
|
106
|
+
export interface CreateOrderLogisticIncidentResponse {
|
|
107
|
+
incidentId: string;
|
|
108
|
+
externalId?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface CreateOrderLogisticLineIncidentResponse {
|
|
111
|
+
incidentId: string;
|
|
112
|
+
externalId?: string;
|
|
113
|
+
}
|
|
114
|
+
export interface CreateOrderLogisticIncidentThreadResponse extends IncidentThread {
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/incident/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAMlD,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,CAAC;AAC5D,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,aAAa,CAAC;AACzD,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,aAAa,CAAC;AAExD,MAAM,WAAW,uBAAuB;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,kBAAkB;IACjC,iBAAiB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC9C,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,iBAAiB,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAMD,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,kBAAkB,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,kBAAkB,CAAC;I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ations.
|
|
5
|
+
*
|
|
6
|
+
* @module services/incident/types
|
|
7
|
+
* @since 2.17.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/services/incident/types.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
import { IdType, PageableParameters, WarningReportDto } from "../../interfaces/models/common";
|
|
2
|
+
import { CustomFieldValueObject, CustomFieldValueRequest, PageCustomFieldSearch } from "../../interfaces/models/custom-field";
|
|
3
|
+
import { ApprovalDto, OrderDocumentDto, OrderIdType, OrderLogisticDto, OrderLogisticLineDto, OrderLogisticLineUpdate, OrderLogisticStatusType, OrderRatingResponse, PageOrderLogisticDto, PageOrderLogisticLineDto, ShippingTypeInformationDto, OrderLogisticThreadResponse, ThreadReasonDto, ThreadReasonType, ThreadReasonTypeDto, logisticOrderIncidentThreadsCustomFieldValueRequest } from "../../interfaces/models/order";
|
|
4
|
+
import { PaymentOption } from "../../interfaces/models/payment";
|
|
5
|
+
/**
|
|
6
|
+
* Request parameters type definitions
|
|
7
|
+
*/
|
|
8
|
+
export interface GetLogisticOrdersParameters {
|
|
9
|
+
approvalIds?: string[];
|
|
10
|
+
locale: string;
|
|
11
|
+
logisticStatus: OrderLogisticStatusType[];
|
|
12
|
+
incident?: boolean;
|
|
13
|
+
paymentOptions?: PaymentOption[];
|
|
14
|
+
connectedUserOnly?: boolean;
|
|
15
|
+
nbPreviewLines?: number;
|
|
16
|
+
page?: number;
|
|
17
|
+
size?: number;
|
|
18
|
+
sort?: string[];
|
|
19
|
+
suppliersIds?: string[];
|
|
20
|
+
creationDateFrom?: string;
|
|
21
|
+
creationDateTo?: string;
|
|
22
|
+
updateDateFrom?: string;
|
|
23
|
+
updateDateTo?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface GetPaginatedLogisticOrdersParameters {
|
|
26
|
+
page?: number;
|
|
27
|
+
size?: number;
|
|
28
|
+
sort?: string;
|
|
29
|
+
nbPreviewLines?: number;
|
|
30
|
+
accountCustomFieldValueCriteria?: CustomFieldValueObject[];
|
|
31
|
+
approvalIds?: string[];
|
|
32
|
+
connectedUserOnly?: boolean;
|
|
33
|
+
creationDateFrom?: string;
|
|
34
|
+
creationDateTo?: string;
|
|
35
|
+
customerAccountIds?: string[];
|
|
36
|
+
incident?: boolean;
|
|
37
|
+
locale: string;
|
|
38
|
+
logisticStatus?: string[];
|
|
39
|
+
offerCustomFieldValueCriteria?: CustomFieldValueObject[];
|
|
40
|
+
orderLogisticCustomFieldValueCriteria?: CustomFieldValueObject[];
|
|
41
|
+
paymentOptions?: string[];
|
|
42
|
+
supplierIds?: string[];
|
|
43
|
+
updateDateFrom?: string;
|
|
44
|
+
updateDateTo?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface GetLogisticOrderCustomFieldsParameters {
|
|
47
|
+
customFieldIds?: string[];
|
|
48
|
+
page?: number;
|
|
49
|
+
size?: number;
|
|
50
|
+
sort?: string;
|
|
51
|
+
idType?: IdType;
|
|
52
|
+
}
|
|
53
|
+
export interface GetLogisticOrderLineCustomFieldsParameters {
|
|
54
|
+
customFieldIds?: string[];
|
|
55
|
+
page?: number;
|
|
56
|
+
size?: number;
|
|
57
|
+
sort?: string;
|
|
58
|
+
idType?: IdType;
|
|
59
|
+
}
|
|
60
|
+
export interface GetLogisticOrderParameters {
|
|
61
|
+
orderId: string;
|
|
62
|
+
locale: string;
|
|
63
|
+
nbPreviewLines?: number;
|
|
64
|
+
}
|
|
65
|
+
export interface UpdateLogisticOrderCustomFieldsParameters {
|
|
66
|
+
orderId: string;
|
|
67
|
+
locale?: string;
|
|
68
|
+
nbPreviewLines?: number;
|
|
69
|
+
/** Custom field values to update. Sent as `customFieldValueRequest` in the body. */
|
|
70
|
+
customFields?: CustomFieldValueRequest[];
|
|
71
|
+
/** External ID sent in the request body. */
|
|
72
|
+
externalId?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface GetLogisticOrderAccountingDocumentsParameters {
|
|
75
|
+
orderId: string;
|
|
76
|
+
}
|
|
77
|
+
export interface GetLogisticOrderAccountingDocumentUrlParameters {
|
|
78
|
+
orderId: string;
|
|
79
|
+
documentId: string;
|
|
80
|
+
}
|
|
81
|
+
export interface ApproveLogisticOrderParameters {
|
|
82
|
+
orderId: string;
|
|
83
|
+
locale: string;
|
|
84
|
+
nbPreviewLines?: number;
|
|
85
|
+
}
|
|
86
|
+
export interface GetLogisticOrderApproversParameters {
|
|
87
|
+
orderId: string;
|
|
88
|
+
}
|
|
89
|
+
export interface UpdateLogisticOrderBillingInformationParameters {
|
|
90
|
+
orderId: string;
|
|
91
|
+
billingAddressId: string;
|
|
92
|
+
}
|
|
93
|
+
export interface CancelLogisticOrderParameters {
|
|
94
|
+
orderId: string;
|
|
95
|
+
locale: string;
|
|
96
|
+
nbPreviewLines?: number;
|
|
97
|
+
}
|
|
98
|
+
export interface ConfirmLogisticOrderReceptionParameters {
|
|
99
|
+
orderId: string;
|
|
100
|
+
locale: string;
|
|
101
|
+
nbPreviewLines?: number;
|
|
102
|
+
}
|
|
103
|
+
export interface CreateLogisticOrderParameters {
|
|
104
|
+
orderId: string;
|
|
105
|
+
}
|
|
106
|
+
export interface DisapproveLogisticOrderParameters {
|
|
107
|
+
orderId: string;
|
|
108
|
+
locale: string;
|
|
109
|
+
nbPreviewLines?: number;
|
|
110
|
+
}
|
|
111
|
+
export interface GetLogisticOrderDocumentsParameters {
|
|
112
|
+
orderId: string;
|
|
113
|
+
idType?: OrderIdType;
|
|
114
|
+
}
|
|
115
|
+
export interface GetLogisticOrderDocumentUrlParameters {
|
|
116
|
+
orderId: string;
|
|
117
|
+
documentId: string;
|
|
118
|
+
}
|
|
119
|
+
export interface GetLogisticOrderLinesParameters {
|
|
120
|
+
orderId: string;
|
|
121
|
+
page?: number;
|
|
122
|
+
size?: number;
|
|
123
|
+
sort?: string;
|
|
124
|
+
locale?: string;
|
|
125
|
+
}
|
|
126
|
+
export interface UpdateOnHoldLogisticOrderLinesParameters {
|
|
127
|
+
orderId: string;
|
|
128
|
+
lines: OrderLogisticLineUpdate[];
|
|
129
|
+
}
|
|
130
|
+
/** ORDER-251 — one entry per logistic order line in the bulk PATCH body. */
|
|
131
|
+
export interface BulkUpdateLogisticOrderLinesCustomFieldsLineItem {
|
|
132
|
+
customFieldValues: CustomFieldValueRequest[];
|
|
133
|
+
logisticOrderLineId: string;
|
|
134
|
+
}
|
|
135
|
+
export interface BulkUpdateLogisticOrderLinesCustomFieldsParameters {
|
|
136
|
+
/** Logistic order reference (e.g. OL-2025-001234). Requires dj-client: ACCOUNT. */
|
|
137
|
+
logisticOrderId: string;
|
|
138
|
+
lines: BulkUpdateLogisticOrderLinesCustomFieldsLineItem[];
|
|
139
|
+
}
|
|
140
|
+
/** Per-line warning when bulk update runs in partial success mode (ORDER-251). */
|
|
141
|
+
export interface LogisticOrderLineBulkCustomFieldWarning {
|
|
142
|
+
code: string;
|
|
143
|
+
logisticOrderLineId: string;
|
|
144
|
+
message: string;
|
|
145
|
+
}
|
|
146
|
+
export interface BulkUpdateLogisticOrderLinesCustomFieldsResponse {
|
|
147
|
+
warnings: LogisticOrderLineBulkCustomFieldWarning[];
|
|
148
|
+
}
|
|
149
|
+
export interface UpdateLogisticOrderLineCustomFieldsParameters {
|
|
150
|
+
orderId: string;
|
|
151
|
+
lineId: string;
|
|
152
|
+
locale?: string;
|
|
153
|
+
customFields: CustomFieldValueRequest[];
|
|
154
|
+
}
|
|
155
|
+
export interface UpdateOnHoldLogisticOrderLineParameters {
|
|
156
|
+
orderId: string;
|
|
157
|
+
orderLineId: string;
|
|
158
|
+
quantity: number;
|
|
159
|
+
}
|
|
160
|
+
export interface UpdateLogisticOrderShippingAddressParameters {
|
|
161
|
+
orderId: string;
|
|
162
|
+
shippingAddressId: string;
|
|
163
|
+
}
|
|
164
|
+
export interface GetLogisticOrderShippingAddressParameters {
|
|
165
|
+
orderId: string;
|
|
166
|
+
}
|
|
167
|
+
export interface UpdateLogisticOrderShippingInformationParameters {
|
|
168
|
+
orderId: string;
|
|
169
|
+
shippingAddressId: string;
|
|
170
|
+
shippingType: string;
|
|
171
|
+
}
|
|
172
|
+
export interface UpdateLogisticOrderShippingTypeParameters {
|
|
173
|
+
orderId: string;
|
|
174
|
+
shippingType: string;
|
|
175
|
+
}
|
|
176
|
+
export interface CreateLogisticOrderThreadParameters {
|
|
177
|
+
orderId: string;
|
|
178
|
+
lineId?: string;
|
|
179
|
+
message?: string;
|
|
180
|
+
reasonCode?: string;
|
|
181
|
+
}
|
|
182
|
+
export interface CreateLogisticOrderThreadParametersV2 {
|
|
183
|
+
logisticOrderId: string;
|
|
184
|
+
idType?: IdType;
|
|
185
|
+
customField?: logisticOrderIncidentThreadsCustomFieldValueRequest;
|
|
186
|
+
name: string;
|
|
187
|
+
message: string;
|
|
188
|
+
reasonCode: string;
|
|
189
|
+
}
|
|
190
|
+
export interface GetLogisticOrderReviewParameters {
|
|
191
|
+
orderId: string;
|
|
192
|
+
}
|
|
193
|
+
export interface AddLogisticOrderReviewParameters {
|
|
194
|
+
orderId: string;
|
|
195
|
+
comment: string;
|
|
196
|
+
grade: number;
|
|
197
|
+
}
|
|
198
|
+
export interface GetThreadSubReasonsParameters {
|
|
199
|
+
reasonType: ThreadReasonType;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Response type definitions
|
|
203
|
+
*/
|
|
204
|
+
export interface GetLogisticOrdersResponse extends PageOrderLogisticDto {
|
|
205
|
+
}
|
|
206
|
+
export interface GetLogisticOrderCustomFieldsResponse extends PageCustomFieldSearch {
|
|
207
|
+
}
|
|
208
|
+
export interface GetLogisticOrderLineCustomFieldsResponse extends PageCustomFieldSearch {
|
|
209
|
+
}
|
|
210
|
+
export interface GetLogisticOrderResponse extends OrderLogisticDto {
|
|
211
|
+
}
|
|
212
|
+
export interface UpdateLogisticOrderCustomFieldsResponse extends OrderLogisticDto {
|
|
213
|
+
}
|
|
214
|
+
export interface GetLogisticOrderAccountingDocumentsResponse extends Array<OrderDocumentDto> {
|
|
215
|
+
}
|
|
216
|
+
export interface ApproveLogisticOrderResponse extends OrderLogisticDto {
|
|
217
|
+
}
|
|
218
|
+
export interface GetLogisticOrderApproversResponse extends Array<ApprovalDto> {
|
|
219
|
+
}
|
|
220
|
+
export interface CancelLogisticOrderResponse extends OrderLogisticDto {
|
|
221
|
+
}
|
|
222
|
+
export interface ConfirmLogisticOrderReceptionResponse extends OrderLogisticDto {
|
|
223
|
+
}
|
|
224
|
+
export interface DisapproveLogisticOrderResponse extends OrderLogisticDto {
|
|
225
|
+
}
|
|
226
|
+
export interface GetLogisticOrderDocumentsResponse extends Array<OrderDocumentDto> {
|
|
227
|
+
}
|
|
228
|
+
export interface GetLogisticOrderLinesResponse extends PageOrderLogisticLineDto {
|
|
229
|
+
}
|
|
230
|
+
export interface UpdateOnHoldLogisticOrderLinesResponse extends WarningReportDto {
|
|
231
|
+
}
|
|
232
|
+
export interface UpdateLogisticOrderLineCustomFieldsResponse extends OrderLogisticLineDto {
|
|
233
|
+
}
|
|
234
|
+
export interface GetLogisticOrderShippingAddressResponse extends Array<ShippingTypeInformationDto> {
|
|
235
|
+
}
|
|
236
|
+
export interface CreateLogisticOrderThreadResponse {
|
|
237
|
+
messageExternalId: string;
|
|
238
|
+
messageId: string;
|
|
239
|
+
threadExternalId: string;
|
|
240
|
+
threadId: string;
|
|
241
|
+
}
|
|
242
|
+
export interface CreateLogisticOrderThreadResponseV2 extends CreateLogisticOrderThreadResponse {
|
|
243
|
+
}
|
|
244
|
+
export interface GetLogisticOrderThreadsParams {
|
|
245
|
+
logisticOrderId: string;
|
|
246
|
+
pageable: PageableParameters;
|
|
247
|
+
idType?: IdType;
|
|
248
|
+
}
|
|
249
|
+
export interface GetLogisticOrderThreadParams {
|
|
250
|
+
logisticOrderId: string;
|
|
251
|
+
threadId: string;
|
|
252
|
+
idType?: IdType;
|
|
253
|
+
}
|
|
254
|
+
export interface GetLogisticOrderThreadResponse extends OrderLogisticThreadResponse {
|
|
255
|
+
}
|
|
256
|
+
export interface GetLogisticOrderThreadsResponse {
|
|
257
|
+
content: OrderLogisticThreadResponse[];
|
|
258
|
+
page: number;
|
|
259
|
+
size: number;
|
|
260
|
+
totalElements: number;
|
|
261
|
+
totalPages: number;
|
|
262
|
+
}
|
|
263
|
+
export interface GetPaginatedLogisticOrdersResponse extends PageOrderLogisticDto {
|
|
264
|
+
}
|
|
265
|
+
export interface GetLogisticOrderReviewResponse extends OrderRatingResponse {
|
|
266
|
+
}
|
|
267
|
+
export interface AddLogisticOrderReviewResponse extends OrderRatingResponse {
|
|
268
|
+
}
|
|
269
|
+
export interface GetThreadReasonTypesResponse extends Array<ThreadReasonTypeDto> {
|
|
270
|
+
}
|
|
271
|
+
export interface GetThreadSubReasonsResponse extends Array<ThreadReasonDto> {
|
|
272
|
+
}
|
|
273
|
+
export interface CreateLogisticOrderIncidentThreadsParams {
|
|
274
|
+
logisticOrderId: string;
|
|
275
|
+
incidentId: string;
|
|
276
|
+
customField?: logisticOrderIncidentThreadsCustomFieldValueRequest;
|
|
277
|
+
message?: string;
|
|
278
|
+
name?: string;
|
|
279
|
+
reasonCode: string;
|
|
280
|
+
idType?: IdType;
|
|
281
|
+
}
|
|
282
|
+
export interface CreateLogisticOrderIncidentThreadsResponse extends CreateLogisticOrderThreadResponse {
|
|
283
|
+
}
|
|
284
|
+
export interface GetLogisticOrderIncidentThreadParams {
|
|
285
|
+
logisticOrderId: string;
|
|
286
|
+
incidentId: string;
|
|
287
|
+
threadId: string;
|
|
288
|
+
idType?: IdType;
|
|
289
|
+
}
|
|
290
|
+
export interface CreateThreadMessageParams {
|
|
291
|
+
body?: string;
|
|
292
|
+
customField?: logisticOrderIncidentThreadsCustomFieldValueRequest;
|
|
293
|
+
}
|
|
294
|
+
export interface CreateLogisticOrderThreadMessagesParams extends GetLogisticOrderThreadParams, CreateThreadMessageParams {
|
|
295
|
+
}
|
|
296
|
+
export interface CreateLogisticOrderIncidentThreadMessagesParams extends GetLogisticOrderIncidentThreadParams, CreateThreadMessageParams {
|
|
297
|
+
}
|
|
298
|
+
export interface UpdateThreadMessageParams {
|
|
299
|
+
messageId: string;
|
|
300
|
+
customFieldValues: CustomFieldValueRequest[];
|
|
301
|
+
idType?: IdType;
|
|
302
|
+
}
|
|
303
|
+
export interface UpdateLogisticOrderIncidentThreadMessageParams extends GetLogisticOrderIncidentThreadParams, UpdateThreadMessageParams {
|
|
304
|
+
}
|
|
305
|
+
export interface GetLogisticOrderIncidentThreadResponse extends OrderLogisticThreadResponse {
|
|
306
|
+
}
|
|
307
|
+
export interface CreateLogisticOrderThreadMessagesResponse {
|
|
308
|
+
externalId: string;
|
|
309
|
+
messageId: string;
|
|
310
|
+
}
|
|
311
|
+
export interface CreateLogisticOrderIncidentThreadMessagesResponse extends CreateLogisticOrderThreadMessagesResponse {
|
|
312
|
+
}
|
|
313
|
+
export interface UpdateLogisticOrderThreadMessageParams extends GetLogisticOrderThreadParams, UpdateThreadMessageParams {
|
|
314
|
+
}
|
|
315
|
+
//# sourceMappingURL=definitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../src/services/logistic-order/definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,EAC3B,eAAe,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D,CAAC;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,0CACf,SAAQ,iCAAiC;CAAG;AAE9C,MAAM,WAAW,oCAAoC;IACnD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,mDAAmD,CAAC;CACnE;AAED,MAAM,WAAW,uCACf,SAAQ,4BAA4B,EAClC,yBAAyB;CAAG;AAEhC,MAAM,WAAW,+CACf,SAAQ,oCAAoC,EAC1C,yBAAyB;CAAG;AAEhC,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,uBAAuB,EAAE,CAAC;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,8CACf,SAAQ,oCAAoC,EAC1C,yBAAyB;CAAG;AAEhC,MAAM,WAAW,sCACf,SAAQ,2BAA2B;CAAG;AAExC,MAAM,WAAW,yCAAyC;IACxD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iDACf,SAAQ,yCAAyC;CAAG;AAEtD,MAAM,WAAW,sCACf,SAAQ,4BAA4B,EAClC,yBAAyB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../../src/services/logistic-order/definitions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Logistic Order Service - Endpoints
|
|
3
|
+
* API endpoint constants for logistic order operations.
|
|
4
|
+
*
|
|
5
|
+
* @module services/logistic-order/endpoints
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
export declare const LogisticOrderEndpoints: {
|
|
9
|
+
readonly ORDERS: "/v1/shop/logistic-orders";
|
|
10
|
+
readonly ORDER: "/v1/shop/logistic-orders/{orderId}";
|
|
11
|
+
readonly ORDER_V2: "/v2/shop/logistic-orders/{orderId}";
|
|
12
|
+
readonly ORDER_CUSTOM_FIELDS: "/v1/shop/logistic-orders/custom-fields";
|
|
13
|
+
readonly ORDER_LINE_CUSTOM_FIELDS: "/v1/shop/logistic-orders/lines/custom-fields";
|
|
14
|
+
readonly ACCOUNTING_DOCUMENTS: "/v1/shop/logistic-orders/{orderId}/accounting-documents";
|
|
15
|
+
readonly ACCOUNTING_DOCUMENT: "/v1/shop/logistic-orders/{orderId}/accounting-documents/{documentId}";
|
|
16
|
+
readonly DOCUMENTS: "/v1/shop/logistic-orders/{orderId}/documents";
|
|
17
|
+
readonly DOCUMENT: "/v1/shop/logistic-orders/{orderId}/documents/{documentId}";
|
|
18
|
+
readonly APPROVE: "/v1/shop/logistic-orders/{orderId}/approve";
|
|
19
|
+
readonly DISAPPROVE: "/v1/shop/logistic-orders/{orderId}/disapprove";
|
|
20
|
+
readonly CANCEL: "/v1/shop/logistic-orders/{orderId}/cancel";
|
|
21
|
+
readonly CONFIRM_RECEPTION: "/v1/shop/logistic-orders/{orderId}/confirm-reception";
|
|
22
|
+
readonly CREATED: "/v1/shop/logistic-orders/{orderId}/created";
|
|
23
|
+
readonly APPROVERS: "/v1/shop/logistic-orders/{orderId}/approvers";
|
|
24
|
+
readonly BILLING_INFORMATION: "/v1/shop/logistic-orders/{orderId}/billing-information";
|
|
25
|
+
readonly SHIPPING_ADDRESS: "/v1/shop/logistic-orders/{orderId}/shipping-address";
|
|
26
|
+
readonly SHIPPING_INFORMATION: "/v1/shop/logistic-orders/{orderId}/shipping-information";
|
|
27
|
+
readonly SHIPPING_TYPE: "/v1/shop/logistic-orders/{orderId}/shipping-type";
|
|
28
|
+
readonly LINES: "/v1/shop/logistic-orders/{orderId}/lines";
|
|
29
|
+
readonly LINE: "/v1/shop/logistic-orders/{orderId}/lines/{lineId}";
|
|
30
|
+
readonly THREADS_V1: "/v1/shop/logistic-orders/{orderId}/threads";
|
|
31
|
+
readonly THREADS_V2: "/v2/shop/logistic-orders/{logisticOrderId}/threads";
|
|
32
|
+
readonly THREAD_V2: "/v2/shop/logistic-orders/{logisticOrderId}/threads/{threadId}";
|
|
33
|
+
readonly THREAD_MESSAGES_V2: "/v2/shop/logistic-orders/{logisticOrderId}/threads/{threadId}/messages";
|
|
34
|
+
readonly THREAD_MESSAGE_V2: "/v2/shop/logistic-orders/{logisticOrderId}/threads/{threadId}/messages/{messageId}";
|
|
35
|
+
readonly INCIDENT_THREADS: "/v2/shop/logistic-orders/{logisticOrderId}/incidents/{incidentId}/threads";
|
|
36
|
+
readonly INCIDENT_THREAD: "/v2/shop/logistic-orders/{logisticOrderId}/incidents/{incidentId}/threads/{threadId}";
|
|
37
|
+
readonly INCIDENT_THREAD_MESSAGES: "/v2/shop/logistic-orders/{logisticOrderId}/incidents/{incidentId}/threads/{threadId}/messages";
|
|
38
|
+
readonly INCIDENT_THREAD_MESSAGE: "/v2/shop/logistic-orders/{logisticOrderId}/incidents/{incidentId}/threads/{threadId}/messages/{messageId}";
|
|
39
|
+
readonly REVIEW: "/v1/shop/rating-orders/{orderId}";
|
|
40
|
+
readonly THREAD_REASON_TYPES: "/v1/shop/threads/reason-types";
|
|
41
|
+
readonly THREAD_SUB_REASONS: "/v1/shop/threads/reason-types/{reasonType}/sub-reasons";
|
|
42
|
+
};
|
|
43
|
+
export type LogisticOrderEndpoint = (typeof LogisticOrderEndpoints)[keyof typeof LogisticOrderEndpoints];
|
|
44
|
+
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/services/logistic-order/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEzB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAC/B,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DJUST SDK Logistic Order Service - Endpoints
|
|
4
|
+
* API endpoint constants for logistic order operations.
|
|
5
|
+
*
|
|
6
|
+
* @module services/logistic-order/endpoints
|
|
7
|
+
* @since 2.17.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.LogisticOrderEndpoints = void 0;
|
|
11
|
+
exports.LogisticOrderEndpoints = {
|
|
12
|
+
// Orders
|
|
13
|
+
ORDERS: "/v1/shop/logistic-orders",
|
|
14
|
+
ORDER: "/v1/shop/logistic-orders/{orderId}",
|
|
15
|
+
ORDER_V2: "/v2/shop/logistic-orders/{orderId}",
|
|
16
|
+
// Custom fields
|
|
17
|
+
ORDER_CUSTOM_FIELDS: "/v1/shop/logistic-orders/custom-fields",
|
|
18
|
+
ORDER_LINE_CUSTOM_FIELDS: "/v1/shop/logistic-orders/lines/custom-fields",
|
|
19
|
+
// Documents
|
|
20
|
+
ACCOUNTING_DOCUMENTS: "/v1/shop/logistic-orders/{orderId}/accounting-documents",
|
|
21
|
+
ACCOUNTING_DOCUMENT: "/v1/shop/logistic-orders/{orderId}/accounting-documents/{documentId}",
|
|
22
|
+
DOCUMENTS: "/v1/shop/logistic-orders/{orderId}/documents",
|
|
23
|
+
DOCUMENT: "/v1/shop/logistic-orders/{orderId}/documents/{documentId}",
|
|
24
|
+
// Actions
|
|
25
|
+
APPROVE: "/v1/shop/logistic-orders/{orderId}/approve",
|
|
26
|
+
DISAPPROVE: "/v1/shop/logistic-orders/{orderId}/disapprove",
|
|
27
|
+
CANCEL: "/v1/shop/logistic-orders/{orderId}/cancel",
|
|
28
|
+
CONFIRM_RECEPTION: "/v1/shop/logistic-orders/{orderId}/confirm-reception",
|
|
29
|
+
CREATED: "/v1/shop/logistic-orders/{orderId}/created",
|
|
30
|
+
APPROVERS: "/v1/shop/logistic-orders/{orderId}/approvers",
|
|
31
|
+
// Billing & Shipping
|
|
32
|
+
BILLING_INFORMATION: "/v1/shop/logistic-orders/{orderId}/billing-information",
|
|
33
|
+
SHIPPING_ADDRESS: "/v1/shop/logistic-orders/{orderId}/shipping-address",
|
|
34
|
+
SHIPPING_INFORMATION: "/v1/shop/logistic-orders/{orderId}/shipping-information",
|
|
35
|
+
SHIPPING_TYPE: "/v1/shop/logistic-orders/{orderId}/shipping-type",
|
|
36
|
+
// Lines
|
|
37
|
+
LINES: "/v1/shop/logistic-orders/{orderId}/lines",
|
|
38
|
+
LINE: "/v1/shop/logistic-orders/{orderId}/lines/{lineId}",
|
|
39
|
+
// Threads V1
|
|
40
|
+
THREADS_V1: "/v1/shop/logistic-orders/{orderId}/threads",
|
|
41
|
+
// Threads V2
|
|
42
|
+
THREADS_V2: "/v2/shop/logistic-orders/{logisticOrderId}/threads",
|
|
43
|
+
THREAD_V2: "/v2/shop/logistic-orders/{logisticOrderId}/threads/{threadId}",
|
|
44
|
+
THREAD_MESSAGES_V2: "/v2/shop/logistic-orders/{logisticOrderId}/threads/{threadId}/messages",
|
|
45
|
+
THREAD_MESSAGE_V2: "/v2/shop/logistic-orders/{logisticOrderId}/threads/{threadId}/messages/{messageId}",
|
|
46
|
+
// Incident Threads
|
|
47
|
+
INCIDENT_THREADS: "/v2/shop/logistic-orders/{logisticOrderId}/incidents/{incidentId}/threads",
|
|
48
|
+
INCIDENT_THREAD: "/v2/shop/logistic-orders/{logisticOrderId}/incidents/{incidentId}/threads/{threadId}",
|
|
49
|
+
INCIDENT_THREAD_MESSAGES: "/v2/shop/logistic-orders/{logisticOrderId}/incidents/{incidentId}/threads/{threadId}/messages",
|
|
50
|
+
INCIDENT_THREAD_MESSAGE: "/v2/shop/logistic-orders/{logisticOrderId}/incidents/{incidentId}/threads/{threadId}/messages/{messageId}",
|
|
51
|
+
// Reviews
|
|
52
|
+
REVIEW: "/v1/shop/rating-orders/{orderId}",
|
|
53
|
+
// Reason types
|
|
54
|
+
THREAD_REASON_TYPES: "/v1/shop/threads/reason-types",
|
|
55
|
+
THREAD_SUB_REASONS: "/v1/shop/threads/reason-types/{reasonType}/sub-reasons",
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/services/logistic-order/endpoints.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEU,QAAA,sBAAsB,GAAG;IACpC,SAAS;IACT,MAAM,EAAE,0BAA0B;IAClC,KAAK,EAAE,oCAAoC;IAC3C,QAAQ,EAAE,oCAAoC;IAE9C,gBAAgB;IAChB,mBAAmB,EAAE,wCAAwC;IAC7D,wBAAwB,EAAE,8CAA8C;IAExE,YAAY;IACZ,oBAAoB,EAClB,yDAAyD;IAC3D,mBAAmB,EACjB,sEAAsE;IACxE,SAAS,EAAE,8CAA8C;IACzD,QAAQ,EAAE,2DAA2D;IAErE,UAAU;IACV,OAAO,EAAE,4CAA4C;IACrD,UAAU,EAAE,+CAA+C;IAC3D,MAAM,EAAE,2CAA2C;IACnD,iBAAiB,EAAE,sDAAsD;IACzE,OAAO,EAAE,4CAA4C;IACrD,SAAS,EAAE,8CAA8C;IAEzD,qBAAqB;IACrB,mBAAmB,EAAE,wDAAwD;IAC7E,gBAAgB,EAAE,qDAAqD;IACvE,oBAAoB,EAClB,yDAAyD;IAC3D,aAAa,EAAE,kDAAkD;IAEjE,QAAQ;IACR,KAAK,EAAE,0CAA0C;IACjD,IAAI,EAAE,mDAAmD;IAEzD,aAAa;IACb,UAAU,EAAE,4CAA4C;IAExD,aAAa;IACb,UAAU,EAAE,oDAAoD;IAChE,SAAS,EAAE,+DAA+D;IAC1E,kBAAkB,EAChB,wEAAwE;IAC1E,iBAAiB,EACf,oFAAoF;IAEtF,mBAAmB;IACnB,gBAAgB,EACd,2EAA2E;IAC7E,eAAe,EACb,sFAAsF;IACxF,wBAAwB,EACtB,+FAA+F;IACjG,uBAAuB,EACrB,2GAA2G;IAE7G,UAAU;IACV,MAAM,EAAE,kCAAkC;IAE1C,eAAe;IACf,mBAAmB,EAAE,+BAA+B;IACpD,kBAAkB,EAAE,wDAAwD;CACpE,CAAC"}
|