@djust-b2b/djust-front-sdk 3.0.0-beta.8 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -30
- package/dist/.tsbuildinfo +1 -1
- package/dist/.tsbuildinfo-esm +1 -1
- package/dist/client/create-client.d.ts +18 -0
- package/dist/client/create-client.d.ts.map +1 -1
- package/dist/client/transport.d.ts +5 -0
- package/dist/client/transport.d.ts.map +1 -1
- package/dist/errors/classes/not-found.error.d.ts +1 -1
- package/dist/errors/classes/not-found.error.d.ts.map +1 -1
- package/dist/errors/factory.d.ts.map +1 -1
- package/dist/errors/helpers/djust-api-error.d.ts +29 -0
- package/dist/errors/helpers/djust-api-error.d.ts.map +1 -0
- package/dist/errors/types.d.ts +4 -0
- package/dist/errors/types.d.ts.map +1 -1
- package/dist/index.d.ts +43 -41
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +274 -64
- package/dist/interfaces/index.d.ts +15 -3
- package/dist/interfaces/index.d.ts.map +1 -1
- package/dist/services/base.service.d.ts +2 -0
- package/dist/services/base.service.d.ts.map +1 -1
- package/dist/services/commercial-order/commercial-order.service.d.ts +8 -5
- package/dist/services/commercial-order/commercial-order.service.d.ts.map +1 -1
- package/dist/services/commercial-order/definitions.d.ts +13 -0
- package/dist/services/commercial-order/definitions.d.ts.map +1 -1
- package/dist/services/commercial-order/index.d.ts +30 -19
- package/dist/services/commercial-order/index.d.ts.map +1 -1
- package/dist/services/commercial-order/module.d.ts +1 -1
- package/dist/services/commercial-order/module.d.ts.map +1 -1
- package/dist/services/commercial-order/types.d.ts +1 -0
- package/dist/services/commercial-order/types.d.ts.map +1 -1
- package/dist/services/logistic-order/definitions.d.ts +23 -1
- package/dist/services/logistic-order/definitions.d.ts.map +1 -1
- package/dist/services/logistic-order/endpoints.d.ts +1 -0
- package/dist/services/logistic-order/endpoints.d.ts.map +1 -1
- package/dist/services/logistic-order/index.d.ts +77 -1
- package/dist/services/logistic-order/index.d.ts.map +1 -1
- package/dist/services/logistic-order/logistic-order.service.d.ts +6 -1
- package/dist/services/logistic-order/logistic-order.service.d.ts.map +1 -1
- package/dist/services/logistic-order/module.d.ts +1 -1
- package/dist/services/logistic-order/module.d.ts.map +1 -1
- package/dist/services/logistic-order/types.d.ts +9 -0
- package/dist/services/logistic-order/types.d.ts.map +1 -1
- package/dist/services/operation/definitions.d.ts +1 -18
- package/dist/services/operation/definitions.d.ts.map +1 -1
- package/dist/services/payment/definitions.d.ts +0 -10
- package/dist/services/payment/definitions.d.ts.map +1 -1
- package/dist/services/product/definitions.d.ts +1 -0
- package/dist/services/product/definitions.d.ts.map +1 -1
- package/dist/services/product/index.d.ts +6 -5
- package/dist/services/product/index.d.ts.map +1 -1
- package/dist/services/product-variant/definitions.d.ts +3 -142
- package/dist/services/product-variant/definitions.d.ts.map +1 -1
- package/dist/services/quote/definitions.d.ts +3 -1
- package/dist/services/quote/definitions.d.ts.map +1 -1
- package/dist/services/quote/index.d.ts +2 -1
- package/dist/services/quote/index.d.ts.map +1 -1
- package/dist/services/quote/quote.service.d.ts +1 -0
- package/dist/services/quote/quote.service.d.ts.map +1 -1
- package/dist/services/quote/types.d.ts +2 -0
- package/dist/services/quote/types.d.ts.map +1 -1
- package/dist/settings/fetch-instance.d.ts.map +1 -1
- package/dist/settings/sdk-version.d.ts +3 -0
- package/dist/settings/sdk-version.d.ts.map +1 -0
- package/lib/.tsbuildinfo +1 -0
- package/lib/client/create-client.d.ts +251 -0
- package/lib/client/create-client.d.ts.map +1 -0
- package/lib/client/create-client.js +233 -0
- package/lib/client/create-client.js.map +1 -0
- package/lib/client/index.d.ts +14 -0
- package/lib/client/index.d.ts.map +1 -0
- package/lib/client/index.js +91 -0
- package/lib/client/index.js.map +1 -0
- package/lib/client/performance.d.ts +203 -0
- package/lib/client/performance.d.ts.map +1 -0
- package/lib/client/performance.js +409 -0
- package/lib/client/performance.js.map +1 -0
- package/lib/client/transport.d.ts +372 -0
- package/lib/client/transport.d.ts.map +1 -0
- package/lib/client/transport.js +735 -0
- package/lib/client/transport.js.map +1 -0
- package/lib/errors/base.d.ts +101 -0
- package/lib/errors/base.d.ts.map +1 -0
- package/lib/errors/base.js +145 -0
- package/lib/errors/base.js.map +1 -0
- package/lib/errors/classes/auth.error.d.ts +64 -0
- package/lib/errors/classes/auth.error.d.ts.map +1 -0
- package/lib/errors/classes/auth.error.js +116 -0
- package/lib/errors/classes/auth.error.js.map +1 -0
- package/lib/errors/classes/forbidden.error.d.ts +52 -0
- package/lib/errors/classes/forbidden.error.d.ts.map +1 -0
- package/lib/errors/classes/forbidden.error.js +90 -0
- package/lib/errors/classes/forbidden.error.js.map +1 -0
- package/lib/errors/classes/index.d.ts +17 -0
- package/lib/errors/classes/index.d.ts.map +1 -0
- package/lib/errors/classes/index.js +29 -0
- package/lib/errors/classes/index.js.map +1 -0
- package/lib/errors/classes/network.error.d.ts +63 -0
- package/lib/errors/classes/network.error.d.ts.map +1 -0
- package/lib/errors/classes/network.error.js +122 -0
- package/lib/errors/classes/network.error.js.map +1 -0
- package/lib/errors/classes/not-found.error.d.ts +58 -0
- package/lib/errors/classes/not-found.error.d.ts.map +1 -0
- package/lib/errors/classes/not-found.error.js +120 -0
- package/lib/errors/classes/not-found.error.js.map +1 -0
- package/lib/errors/classes/rate-limit.error.d.ts +49 -0
- package/lib/errors/classes/rate-limit.error.d.ts.map +1 -0
- package/lib/errors/classes/rate-limit.error.js +107 -0
- package/lib/errors/classes/rate-limit.error.js.map +1 -0
- package/lib/errors/classes/server.error.d.ts +63 -0
- package/lib/errors/classes/server.error.d.ts.map +1 -0
- package/lib/errors/classes/server.error.js +156 -0
- package/lib/errors/classes/server.error.js.map +1 -0
- package/lib/errors/classes/timeout.error.d.ts +64 -0
- package/lib/errors/classes/timeout.error.d.ts.map +1 -0
- package/lib/errors/classes/timeout.error.js +90 -0
- package/lib/errors/classes/timeout.error.js.map +1 -0
- package/lib/errors/classes/unexpected.error.d.ts +70 -0
- package/lib/errors/classes/unexpected.error.d.ts.map +1 -0
- package/lib/errors/classes/unexpected.error.js +105 -0
- package/lib/errors/classes/unexpected.error.js.map +1 -0
- package/lib/errors/classes/validation.error.d.ts +68 -0
- package/lib/errors/classes/validation.error.d.ts.map +1 -0
- package/lib/errors/classes/validation.error.js +103 -0
- package/lib/errors/classes/validation.error.js.map +1 -0
- package/lib/errors/codes.d.ts +111 -0
- package/lib/errors/codes.d.ts.map +1 -0
- package/lib/errors/codes.js +143 -0
- package/lib/errors/codes.js.map +1 -0
- package/lib/errors/compat.d.ts +99 -0
- package/lib/errors/compat.d.ts.map +1 -0
- package/lib/errors/compat.js +280 -0
- package/lib/errors/compat.js.map +1 -0
- package/lib/errors/factory.d.ts +33 -0
- package/lib/errors/factory.d.ts.map +1 -0
- package/lib/errors/factory.js +298 -0
- package/lib/errors/factory.js.map +1 -0
- package/lib/errors/guards.d.ts +142 -0
- package/lib/errors/guards.d.ts.map +1 -0
- package/lib/errors/guards.js +281 -0
- package/lib/errors/guards.js.map +1 -0
- package/lib/errors/helpers/djust-api-error.d.ts +29 -0
- package/lib/errors/helpers/djust-api-error.d.ts.map +1 -0
- package/lib/errors/helpers/djust-api-error.js +49 -0
- package/lib/errors/helpers/djust-api-error.js.map +1 -0
- package/lib/errors/index.d.ts +25 -0
- package/lib/errors/index.d.ts.map +1 -0
- package/lib/errors/index.js +89 -0
- package/lib/errors/index.js.map +1 -0
- package/lib/errors/types.d.ts +104 -0
- package/lib/errors/types.d.ts.map +1 -0
- package/lib/errors/types.js +10 -0
- package/lib/errors/types.js.map +1 -0
- package/lib/helpers/index.d.ts +42 -0
- package/lib/helpers/index.d.ts.map +1 -0
- package/lib/helpers/index.js +102 -0
- package/lib/helpers/index.js.map +1 -0
- package/lib/helpers/parameters-validation.d.ts +3 -0
- package/lib/helpers/parameters-validation.d.ts.map +1 -0
- package/lib/helpers/parameters-validation.js +22 -0
- package/lib/helpers/parameters-validation.js.map +1 -0
- package/lib/helpers/utils.d.ts +5 -0
- package/lib/helpers/utils.d.ts.map +1 -0
- package/lib/helpers/utils.js +30 -0
- package/lib/helpers/utils.js.map +1 -0
- package/lib/index.d.ts +267 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +182 -0
- package/lib/index.js.map +1 -0
- package/lib/interfaces/index.d.ts +43 -0
- package/lib/interfaces/index.d.ts.map +1 -0
- package/lib/interfaces/index.js +36 -0
- package/lib/interfaces/index.js.map +1 -0
- package/lib/interfaces/models/address.d.ts +61 -0
- package/lib/interfaces/models/address.d.ts.map +1 -0
- package/lib/interfaces/models/address.js +3 -0
- package/lib/interfaces/models/address.js.map +1 -0
- package/lib/interfaces/models/attribute.d.ts +31 -0
- package/lib/interfaces/models/attribute.d.ts.map +1 -0
- package/lib/interfaces/models/attribute.js +3 -0
- package/lib/interfaces/models/attribute.js.map +1 -0
- package/lib/interfaces/models/auth.d.ts +37 -0
- package/lib/interfaces/models/auth.d.ts.map +1 -0
- package/lib/interfaces/models/auth.js +3 -0
- package/lib/interfaces/models/auth.js.map +1 -0
- package/lib/interfaces/models/cart.d.ts +64 -0
- package/lib/interfaces/models/cart.d.ts.map +1 -0
- package/lib/interfaces/models/cart.js +3 -0
- package/lib/interfaces/models/cart.js.map +1 -0
- package/lib/interfaces/models/common.d.ts +68 -0
- package/lib/interfaces/models/common.d.ts.map +1 -0
- package/lib/interfaces/models/common.js +3 -0
- package/lib/interfaces/models/common.js.map +1 -0
- package/lib/interfaces/models/custom-field.d.ts +57 -0
- package/lib/interfaces/models/custom-field.d.ts.map +1 -0
- package/lib/interfaces/models/custom-field.js +3 -0
- package/lib/interfaces/models/custom-field.js.map +1 -0
- package/lib/interfaces/models/customer-account.d.ts +52 -0
- package/lib/interfaces/models/customer-account.d.ts.map +1 -0
- package/lib/interfaces/models/customer-account.js +3 -0
- package/lib/interfaces/models/customer-account.js.map +1 -0
- package/lib/interfaces/models/customer-organisation.d.ts +14 -0
- package/lib/interfaces/models/customer-organisation.d.ts.map +1 -0
- package/lib/interfaces/models/customer-organisation.js +3 -0
- package/lib/interfaces/models/customer-organisation.js.map +1 -0
- package/lib/interfaces/models/customer-user.d.ts +114 -0
- package/lib/interfaces/models/customer-user.d.ts.map +1 -0
- package/lib/interfaces/models/customer-user.js +3 -0
- package/lib/interfaces/models/customer-user.js.map +1 -0
- package/lib/interfaces/models/incident.d.ts +37 -0
- package/lib/interfaces/models/incident.d.ts.map +1 -0
- package/lib/interfaces/models/incident.js +3 -0
- package/lib/interfaces/models/incident.js.map +1 -0
- package/lib/interfaces/models/navigation-category.d.ts +22 -0
- package/lib/interfaces/models/navigation-category.d.ts.map +1 -0
- package/lib/interfaces/models/navigation-category.js +3 -0
- package/lib/interfaces/models/navigation-category.js.map +1 -0
- package/lib/interfaces/models/offer.d.ts +151 -0
- package/lib/interfaces/models/offer.d.ts.map +1 -0
- package/lib/interfaces/models/offer.js +3 -0
- package/lib/interfaces/models/offer.js.map +1 -0
- package/lib/interfaces/models/order.d.ts +701 -0
- package/lib/interfaces/models/order.d.ts.map +1 -0
- package/lib/interfaces/models/order.js +3 -0
- package/lib/interfaces/models/order.js.map +1 -0
- package/lib/interfaces/models/payment.d.ts +20 -0
- package/lib/interfaces/models/payment.d.ts.map +1 -0
- package/lib/interfaces/models/payment.js +3 -0
- package/lib/interfaces/models/payment.js.map +1 -0
- package/lib/interfaces/models/price.d.ts +6 -0
- package/lib/interfaces/models/price.d.ts.map +1 -0
- package/lib/interfaces/models/price.js +3 -0
- package/lib/interfaces/models/price.js.map +1 -0
- package/lib/interfaces/models/product.d.ts +243 -0
- package/lib/interfaces/models/product.d.ts.map +1 -0
- package/lib/interfaces/models/product.js +3 -0
- package/lib/interfaces/models/product.js.map +1 -0
- package/lib/interfaces/models/quote.d.ts +77 -0
- package/lib/interfaces/models/quote.d.ts.map +1 -0
- package/lib/interfaces/models/quote.js +3 -0
- package/lib/interfaces/models/quote.js.map +1 -0
- package/lib/interfaces/models/searchProduct.d.ts +128 -0
- package/lib/interfaces/models/searchProduct.d.ts.map +1 -0
- package/lib/interfaces/models/searchProduct.js +3 -0
- package/lib/interfaces/models/searchProduct.js.map +1 -0
- package/lib/interfaces/models/supplier.d.ts +72 -0
- package/lib/interfaces/models/supplier.d.ts.map +1 -0
- package/lib/interfaces/models/supplier.js +3 -0
- package/lib/interfaces/models/supplier.js.map +1 -0
- package/lib/services/attributes/attributes.service.d.ts +18 -0
- package/lib/services/attributes/attributes.service.d.ts.map +1 -0
- package/lib/services/attributes/attributes.service.js +37 -0
- package/lib/services/attributes/attributes.service.js.map +1 -0
- package/lib/services/attributes/definitions.d.ts +28 -0
- package/lib/services/attributes/definitions.d.ts.map +1 -0
- package/lib/services/attributes/definitions.js +3 -0
- package/lib/services/attributes/definitions.js.map +1 -0
- package/lib/services/attributes/endpoints.d.ts +12 -0
- package/lib/services/attributes/endpoints.d.ts.map +1 -0
- package/lib/services/attributes/endpoints.js +14 -0
- package/lib/services/attributes/endpoints.js.map +1 -0
- package/lib/services/attributes/index.d.ts +33 -0
- package/lib/services/attributes/index.d.ts.map +1 -0
- package/lib/services/attributes/index.js +50 -0
- package/lib/services/attributes/index.js.map +1 -0
- package/lib/services/attributes/module.d.ts +11 -0
- package/lib/services/attributes/module.d.ts.map +1 -0
- package/lib/services/attributes/module.js +15 -0
- package/lib/services/attributes/module.js.map +1 -0
- package/lib/services/attributes/types.d.ts +35 -0
- package/lib/services/attributes/types.d.ts.map +1 -0
- package/lib/services/attributes/types.js +10 -0
- package/lib/services/attributes/types.js.map +1 -0
- package/lib/services/auth/__mocks__/auth.mocks.d.ts +249 -0
- package/lib/services/auth/__mocks__/auth.mocks.d.ts.map +1 -0
- package/lib/services/auth/__mocks__/auth.mocks.js +221 -0
- package/lib/services/auth/__mocks__/auth.mocks.js.map +1 -0
- package/lib/services/auth/auth.service.d.ts +286 -0
- package/lib/services/auth/auth.service.d.ts.map +1 -0
- package/lib/services/auth/auth.service.js +423 -0
- package/lib/services/auth/auth.service.js.map +1 -0
- package/lib/services/auth/definitions.d.ts +69 -0
- package/lib/services/auth/definitions.d.ts.map +1 -0
- package/lib/services/auth/definitions.js +3 -0
- package/lib/services/auth/definitions.js.map +1 -0
- package/lib/services/auth/definitions.requests.d.ts +25 -0
- package/lib/services/auth/definitions.requests.d.ts.map +1 -0
- package/lib/services/auth/definitions.requests.js +6 -0
- package/lib/services/auth/definitions.requests.js.map +1 -0
- package/lib/services/auth/endpoints.d.ts +30 -0
- package/lib/services/auth/endpoints.d.ts.map +1 -0
- package/lib/services/auth/endpoints.js +32 -0
- package/lib/services/auth/endpoints.js.map +1 -0
- package/lib/services/auth/index.d.ts +232 -0
- package/lib/services/auth/index.d.ts.map +1 -0
- package/lib/services/auth/index.js +310 -0
- package/lib/services/auth/index.js.map +1 -0
- package/lib/services/auth/module.d.ts +11 -0
- package/lib/services/auth/module.d.ts.map +1 -0
- package/lib/services/auth/module.js +17 -0
- package/lib/services/auth/module.js.map +1 -0
- package/lib/services/auth/types.d.ts +124 -0
- package/lib/services/auth/types.d.ts.map +1 -0
- package/lib/services/auth/types.js +10 -0
- package/lib/services/auth/types.js.map +1 -0
- package/lib/services/base.service.d.ts +83 -0
- package/lib/services/base.service.d.ts.map +1 -0
- package/lib/services/base.service.js +121 -0
- package/lib/services/base.service.js.map +1 -0
- package/lib/services/cart/cart.service.d.ts +443 -0
- package/lib/services/cart/cart.service.d.ts.map +1 -0
- package/lib/services/cart/cart.service.js +551 -0
- package/lib/services/cart/cart.service.js.map +1 -0
- package/lib/services/cart/definitions.d.ts +84 -0
- package/lib/services/cart/definitions.d.ts.map +1 -0
- package/lib/services/cart/definitions.js +3 -0
- package/lib/services/cart/definitions.js.map +1 -0
- package/lib/services/cart/endpoints.d.ts +24 -0
- package/lib/services/cart/endpoints.d.ts.map +1 -0
- package/lib/services/cart/endpoints.js +26 -0
- package/lib/services/cart/endpoints.js.map +1 -0
- package/lib/services/cart/index.d.ts +330 -0
- package/lib/services/cart/index.d.ts.map +1 -0
- package/lib/services/cart/index.js +464 -0
- package/lib/services/cart/index.js.map +1 -0
- package/lib/services/cart/module.d.ts +11 -0
- package/lib/services/cart/module.d.ts.map +1 -0
- package/lib/services/cart/module.js +17 -0
- package/lib/services/cart/module.js.map +1 -0
- package/lib/services/cart/types.d.ts +236 -0
- package/lib/services/cart/types.d.ts.map +1 -0
- package/lib/services/cart/types.js +10 -0
- package/lib/services/cart/types.js.map +1 -0
- package/lib/services/commercial-order/commercial-order.service.d.ts +435 -0
- package/lib/services/commercial-order/commercial-order.service.d.ts.map +1 -0
- package/lib/services/commercial-order/commercial-order.service.js +690 -0
- package/lib/services/commercial-order/commercial-order.service.js.map +1 -0
- package/lib/services/commercial-order/definitions.d.ts +182 -0
- package/lib/services/commercial-order/definitions.d.ts.map +1 -0
- package/lib/services/commercial-order/definitions.js +3 -0
- package/lib/services/commercial-order/definitions.js.map +1 -0
- package/lib/services/commercial-order/endpoints.d.ts +28 -0
- package/lib/services/commercial-order/endpoints.d.ts.map +1 -0
- package/lib/services/commercial-order/endpoints.js +33 -0
- package/lib/services/commercial-order/endpoints.js.map +1 -0
- package/lib/services/commercial-order/index.d.ts +721 -0
- package/lib/services/commercial-order/index.d.ts.map +1 -0
- package/lib/services/commercial-order/index.js +986 -0
- package/lib/services/commercial-order/index.js.map +1 -0
- package/lib/services/commercial-order/module.d.ts +11 -0
- package/lib/services/commercial-order/module.d.ts.map +1 -0
- package/lib/services/commercial-order/module.js +15 -0
- package/lib/services/commercial-order/module.js.map +1 -0
- package/lib/services/commercial-order/types.d.ts +244 -0
- package/lib/services/commercial-order/types.d.ts.map +1 -0
- package/lib/services/commercial-order/types.js +10 -0
- package/lib/services/commercial-order/types.js.map +1 -0
- package/lib/services/custom-field/custom-field.service.d.ts +23 -0
- package/lib/services/custom-field/custom-field.service.d.ts.map +1 -0
- package/lib/services/custom-field/custom-field.service.js +64 -0
- package/lib/services/custom-field/custom-field.service.js.map +1 -0
- package/lib/services/custom-field/definitions.d.ts +107 -0
- package/lib/services/custom-field/definitions.d.ts.map +1 -0
- package/lib/services/custom-field/definitions.js +61 -0
- package/lib/services/custom-field/definitions.js.map +1 -0
- package/lib/services/custom-field/endpoints.d.ts +13 -0
- package/lib/services/custom-field/endpoints.d.ts.map +1 -0
- package/lib/services/custom-field/endpoints.js +15 -0
- package/lib/services/custom-field/endpoints.js.map +1 -0
- package/lib/services/custom-field/index.d.ts +115 -0
- package/lib/services/custom-field/index.d.ts.map +1 -0
- package/lib/services/custom-field/index.js +144 -0
- package/lib/services/custom-field/index.js.map +1 -0
- package/lib/services/custom-field/module.d.ts +11 -0
- package/lib/services/custom-field/module.d.ts.map +1 -0
- package/lib/services/custom-field/module.js +15 -0
- package/lib/services/custom-field/module.js.map +1 -0
- package/lib/services/custom-field/types.d.ts +51 -0
- package/lib/services/custom-field/types.d.ts.map +1 -0
- package/lib/services/custom-field/types.js +10 -0
- package/lib/services/custom-field/types.js.map +1 -0
- package/lib/services/customer-account/customer-account.service.d.ts +387 -0
- package/lib/services/customer-account/customer-account.service.d.ts.map +1 -0
- package/lib/services/customer-account/customer-account.service.js +579 -0
- package/lib/services/customer-account/customer-account.service.js.map +1 -0
- package/lib/services/customer-account/definitions.d.ts +164 -0
- package/lib/services/customer-account/definitions.d.ts.map +1 -0
- package/lib/services/customer-account/definitions.js +3 -0
- package/lib/services/customer-account/definitions.js.map +1 -0
- package/lib/services/customer-account/endpoints.d.ts +25 -0
- package/lib/services/customer-account/endpoints.d.ts.map +1 -0
- package/lib/services/customer-account/endpoints.js +33 -0
- package/lib/services/customer-account/endpoints.js.map +1 -0
- package/lib/services/customer-account/index.d.ts +656 -0
- package/lib/services/customer-account/index.d.ts.map +1 -0
- package/lib/services/customer-account/index.js +929 -0
- package/lib/services/customer-account/index.js.map +1 -0
- package/lib/services/customer-account/module.d.ts +11 -0
- package/lib/services/customer-account/module.d.ts.map +1 -0
- package/lib/services/customer-account/module.js +15 -0
- package/lib/services/customer-account/module.js.map +1 -0
- package/lib/services/customer-account/types.d.ts +253 -0
- package/lib/services/customer-account/types.d.ts.map +1 -0
- package/lib/services/customer-account/types.js +10 -0
- package/lib/services/customer-account/types.js.map +1 -0
- package/lib/services/customer-user/customer-user.service.d.ts +280 -0
- package/lib/services/customer-user/customer-user.service.d.ts.map +1 -0
- package/lib/services/customer-user/customer-user.service.js +402 -0
- package/lib/services/customer-user/customer-user.service.js.map +1 -0
- package/lib/services/customer-user/definitions.d.ts +84 -0
- package/lib/services/customer-user/definitions.d.ts.map +1 -0
- package/lib/services/customer-user/definitions.js +3 -0
- package/lib/services/customer-user/definitions.js.map +1 -0
- package/lib/services/customer-user/endpoints.d.ts +19 -0
- package/lib/services/customer-user/endpoints.d.ts.map +1 -0
- package/lib/services/customer-user/endpoints.js +21 -0
- package/lib/services/customer-user/endpoints.js.map +1 -0
- package/lib/services/customer-user/index.d.ts +394 -0
- package/lib/services/customer-user/index.d.ts.map +1 -0
- package/lib/services/customer-user/index.js +528 -0
- package/lib/services/customer-user/index.js.map +1 -0
- package/lib/services/customer-user/module.d.ts +11 -0
- package/lib/services/customer-user/module.d.ts.map +1 -0
- package/lib/services/customer-user/module.js +15 -0
- package/lib/services/customer-user/module.js.map +1 -0
- package/lib/services/customer-user/types.d.ts +118 -0
- package/lib/services/customer-user/types.d.ts.map +1 -0
- package/lib/services/customer-user/types.js +10 -0
- package/lib/services/customer-user/types.js.map +1 -0
- package/lib/services/factory.d.ts +104 -0
- package/lib/services/factory.d.ts.map +1 -0
- package/lib/services/factory.js +89 -0
- package/lib/services/factory.js.map +1 -0
- package/lib/services/incident/definitions.d.ts +85 -0
- package/lib/services/incident/definitions.d.ts.map +1 -0
- package/lib/services/incident/definitions.js +3 -0
- package/lib/services/incident/definitions.js.map +1 -0
- package/lib/services/incident/endpoints.d.ts +17 -0
- package/lib/services/incident/endpoints.d.ts.map +1 -0
- package/lib/services/incident/endpoints.js +19 -0
- package/lib/services/incident/endpoints.js.map +1 -0
- package/lib/services/incident/incident.service.d.ts +24 -0
- package/lib/services/incident/incident.service.d.ts.map +1 -0
- package/lib/services/incident/incident.service.js +141 -0
- package/lib/services/incident/incident.service.js.map +1 -0
- package/lib/services/incident/index.d.ts +270 -0
- package/lib/services/incident/index.d.ts.map +1 -0
- package/lib/services/incident/index.js +389 -0
- package/lib/services/incident/index.js.map +1 -0
- package/lib/services/incident/module.d.ts +11 -0
- package/lib/services/incident/module.d.ts.map +1 -0
- package/lib/services/incident/module.js +15 -0
- package/lib/services/incident/module.js.map +1 -0
- package/lib/services/incident/types.d.ts +116 -0
- package/lib/services/incident/types.d.ts.map +1 -0
- package/lib/services/incident/types.js +10 -0
- package/lib/services/incident/types.js.map +1 -0
- package/lib/services/logistic-order/definitions.d.ts +315 -0
- package/lib/services/logistic-order/definitions.d.ts.map +1 -0
- package/lib/services/logistic-order/definitions.js +3 -0
- package/lib/services/logistic-order/definitions.js.map +1 -0
- package/lib/services/logistic-order/endpoints.d.ts +44 -0
- package/lib/services/logistic-order/endpoints.d.ts.map +1 -0
- package/lib/services/logistic-order/endpoints.js +57 -0
- package/lib/services/logistic-order/endpoints.js.map +1 -0
- package/lib/services/logistic-order/index.d.ts +1376 -0
- package/lib/services/logistic-order/index.d.ts.map +1 -0
- package/lib/services/logistic-order/index.js +1823 -0
- package/lib/services/logistic-order/index.js.map +1 -0
- package/lib/services/logistic-order/logistic-order.service.d.ts +62 -0
- package/lib/services/logistic-order/logistic-order.service.d.ts.map +1 -0
- package/lib/services/logistic-order/logistic-order.service.js +499 -0
- package/lib/services/logistic-order/logistic-order.service.js.map +1 -0
- package/lib/services/logistic-order/module.d.ts +11 -0
- package/lib/services/logistic-order/module.d.ts.map +1 -0
- package/lib/services/logistic-order/module.js +15 -0
- package/lib/services/logistic-order/module.js.map +1 -0
- package/lib/services/logistic-order/types.d.ts +411 -0
- package/lib/services/logistic-order/types.d.ts.map +1 -0
- package/lib/services/logistic-order/types.js +10 -0
- package/lib/services/logistic-order/types.js.map +1 -0
- package/lib/services/module.d.ts +64 -0
- package/lib/services/module.d.ts.map +1 -0
- package/lib/services/module.js +147 -0
- package/lib/services/module.js.map +1 -0
- package/lib/services/navigation-category/definitions.d.ts +31 -0
- package/lib/services/navigation-category/definitions.d.ts.map +1 -0
- package/lib/services/navigation-category/definitions.js +3 -0
- package/lib/services/navigation-category/definitions.js.map +1 -0
- package/lib/services/navigation-category/endpoints.d.ts +15 -0
- package/lib/services/navigation-category/endpoints.d.ts.map +1 -0
- package/lib/services/navigation-category/endpoints.js +17 -0
- package/lib/services/navigation-category/endpoints.js.map +1 -0
- package/lib/services/navigation-category/index.d.ts +114 -0
- package/lib/services/navigation-category/index.d.ts.map +1 -0
- package/lib/services/navigation-category/index.js +160 -0
- package/lib/services/navigation-category/index.js.map +1 -0
- package/lib/services/navigation-category/module.d.ts +11 -0
- package/lib/services/navigation-category/module.d.ts.map +1 -0
- package/lib/services/navigation-category/module.js +15 -0
- package/lib/services/navigation-category/module.js.map +1 -0
- package/lib/services/navigation-category/navigation-category.service.d.ts +148 -0
- package/lib/services/navigation-category/navigation-category.service.d.ts.map +1 -0
- package/lib/services/navigation-category/navigation-category.service.js +191 -0
- package/lib/services/navigation-category/navigation-category.service.js.map +1 -0
- package/lib/services/navigation-category/types.d.ts +51 -0
- package/lib/services/navigation-category/types.d.ts.map +1 -0
- package/lib/services/navigation-category/types.js +10 -0
- package/lib/services/navigation-category/types.js.map +1 -0
- package/lib/services/offer-inventories/definitions.d.ts +73 -0
- package/lib/services/offer-inventories/definitions.d.ts.map +1 -0
- package/lib/services/offer-inventories/definitions.js +3 -0
- package/lib/services/offer-inventories/definitions.js.map +1 -0
- package/lib/services/offer-inventories/endpoints.d.ts +16 -0
- package/lib/services/offer-inventories/endpoints.d.ts.map +1 -0
- package/lib/services/offer-inventories/endpoints.js +18 -0
- package/lib/services/offer-inventories/endpoints.js.map +1 -0
- package/lib/services/offer-inventories/index.d.ts +120 -0
- package/lib/services/offer-inventories/index.d.ts.map +1 -0
- package/lib/services/offer-inventories/index.js +175 -0
- package/lib/services/offer-inventories/index.js.map +1 -0
- package/lib/services/offer-inventories/module.d.ts +11 -0
- package/lib/services/offer-inventories/module.d.ts.map +1 -0
- package/lib/services/offer-inventories/module.js +15 -0
- package/lib/services/offer-inventories/module.js.map +1 -0
- package/lib/services/offer-inventories/offer-inventories.service.d.ts +26 -0
- package/lib/services/offer-inventories/offer-inventories.service.d.ts.map +1 -0
- package/lib/services/offer-inventories/offer-inventories.service.js +80 -0
- package/lib/services/offer-inventories/offer-inventories.service.js.map +1 -0
- package/lib/services/offer-inventories/types.d.ts +85 -0
- package/lib/services/offer-inventories/types.d.ts.map +1 -0
- package/lib/services/offer-inventories/types.js +10 -0
- package/lib/services/offer-inventories/types.js.map +1 -0
- package/lib/services/offer-prices/__mocks__/offer-prices.mocks.d.ts +109 -0
- package/lib/services/offer-prices/__mocks__/offer-prices.mocks.d.ts.map +1 -0
- package/lib/services/offer-prices/__mocks__/offer-prices.mocks.js +201 -0
- package/lib/services/offer-prices/__mocks__/offer-prices.mocks.js.map +1 -0
- package/lib/services/offer-prices/definitions.d.ts +24 -0
- package/lib/services/offer-prices/definitions.d.ts.map +1 -0
- package/lib/services/offer-prices/definitions.js +3 -0
- package/lib/services/offer-prices/definitions.js.map +1 -0
- package/lib/services/offer-prices/endpoints.d.ts +12 -0
- package/lib/services/offer-prices/endpoints.d.ts.map +1 -0
- package/lib/services/offer-prices/endpoints.js +14 -0
- package/lib/services/offer-prices/endpoints.js.map +1 -0
- package/lib/services/offer-prices/index.d.ts +36 -0
- package/lib/services/offer-prices/index.d.ts.map +1 -0
- package/lib/services/offer-prices/index.js +53 -0
- package/lib/services/offer-prices/index.js.map +1 -0
- package/lib/services/offer-prices/module.d.ts +11 -0
- package/lib/services/offer-prices/module.d.ts.map +1 -0
- package/lib/services/offer-prices/module.js +15 -0
- package/lib/services/offer-prices/module.js.map +1 -0
- package/lib/services/offer-prices/offer-prices.service.d.ts +18 -0
- package/lib/services/offer-prices/offer-prices.service.d.ts.map +1 -0
- package/lib/services/offer-prices/offer-prices.service.js +36 -0
- package/lib/services/offer-prices/offer-prices.service.js.map +1 -0
- package/lib/services/offer-prices/types.d.ts +33 -0
- package/lib/services/offer-prices/types.d.ts.map +1 -0
- package/lib/services/offer-prices/types.js +10 -0
- package/lib/services/offer-prices/types.js.map +1 -0
- package/lib/services/operation/definitions.d.ts +263 -0
- package/lib/services/operation/definitions.d.ts.map +1 -0
- package/lib/services/operation/definitions.js +18 -0
- package/lib/services/operation/definitions.js.map +1 -0
- package/lib/services/operation/endpoints.d.ts +18 -0
- package/lib/services/operation/endpoints.d.ts.map +1 -0
- package/lib/services/operation/endpoints.js +22 -0
- package/lib/services/operation/endpoints.js.map +1 -0
- package/lib/services/operation/index.d.ts +520 -0
- package/lib/services/operation/index.d.ts.map +1 -0
- package/lib/services/operation/index.js +704 -0
- package/lib/services/operation/index.js.map +1 -0
- package/lib/services/operation/module.d.ts +11 -0
- package/lib/services/operation/module.d.ts.map +1 -0
- package/lib/services/operation/module.js +15 -0
- package/lib/services/operation/module.js.map +1 -0
- package/lib/services/operation/operation.service.d.ts +32 -0
- package/lib/services/operation/operation.service.d.ts.map +1 -0
- package/lib/services/operation/operation.service.js +206 -0
- package/lib/services/operation/operation.service.js.map +1 -0
- package/lib/services/operation/types.d.ts +174 -0
- package/lib/services/operation/types.d.ts.map +1 -0
- package/lib/services/operation/types.js +10 -0
- package/lib/services/operation/types.js.map +1 -0
- package/lib/services/payment/definitions.d.ts +69 -0
- package/lib/services/payment/definitions.d.ts.map +1 -0
- package/lib/services/payment/definitions.js +3 -0
- package/lib/services/payment/definitions.js.map +1 -0
- package/lib/services/payment/endpoints.d.ts +16 -0
- package/lib/services/payment/endpoints.d.ts.map +1 -0
- package/lib/services/payment/endpoints.js +18 -0
- package/lib/services/payment/endpoints.js.map +1 -0
- package/lib/services/payment/index.d.ts +150 -0
- package/lib/services/payment/index.d.ts.map +1 -0
- package/lib/services/payment/index.js +220 -0
- package/lib/services/payment/index.js.map +1 -0
- package/lib/services/payment/module.d.ts +11 -0
- package/lib/services/payment/module.d.ts.map +1 -0
- package/lib/services/payment/module.js +15 -0
- package/lib/services/payment/module.js.map +1 -0
- package/lib/services/payment/payment.service.d.ts +224 -0
- package/lib/services/payment/payment.service.d.ts.map +1 -0
- package/lib/services/payment/payment.service.js +288 -0
- package/lib/services/payment/payment.service.js.map +1 -0
- package/lib/services/payment/types.d.ts +93 -0
- package/lib/services/payment/types.d.ts.map +1 -0
- package/lib/services/payment/types.js +10 -0
- package/lib/services/payment/types.js.map +1 -0
- package/lib/services/product/definitions.d.ts +150 -0
- package/lib/services/product/definitions.d.ts.map +1 -0
- package/lib/services/product/definitions.js +9 -0
- package/lib/services/product/definitions.js.map +1 -0
- package/lib/services/product/endpoints.d.ts +40 -0
- package/lib/services/product/endpoints.d.ts.map +1 -0
- package/lib/services/product/endpoints.js +42 -0
- package/lib/services/product/endpoints.js.map +1 -0
- package/lib/services/product/index.d.ts +388 -0
- package/lib/services/product/index.d.ts.map +1 -0
- package/lib/services/product/index.js +564 -0
- package/lib/services/product/index.js.map +1 -0
- package/lib/services/product/module.d.ts +11 -0
- package/lib/services/product/module.d.ts.map +1 -0
- package/lib/services/product/module.js +17 -0
- package/lib/services/product/module.js.map +1 -0
- package/lib/services/product/product.service.d.ts +452 -0
- package/lib/services/product/product.service.d.ts.map +1 -0
- package/lib/services/product/product.service.js +624 -0
- package/lib/services/product/product.service.js.map +1 -0
- package/lib/services/product/types.d.ts +344 -0
- package/lib/services/product/types.d.ts.map +1 -0
- package/lib/services/product/types.js +10 -0
- package/lib/services/product/types.js.map +1 -0
- package/lib/services/product-variant/definitions.d.ts +33 -0
- package/lib/services/product-variant/definitions.d.ts.map +1 -0
- package/lib/services/product-variant/definitions.js +7 -0
- package/lib/services/product-variant/definitions.js.map +1 -0
- package/lib/services/product-variant/endpoints.d.ts +15 -0
- package/lib/services/product-variant/endpoints.d.ts.map +1 -0
- package/lib/services/product-variant/endpoints.js +17 -0
- package/lib/services/product-variant/endpoints.js.map +1 -0
- package/lib/services/product-variant/index.d.ts +123 -0
- package/lib/services/product-variant/index.d.ts.map +1 -0
- package/lib/services/product-variant/index.js +172 -0
- package/lib/services/product-variant/index.js.map +1 -0
- package/lib/services/product-variant/module.d.ts +11 -0
- package/lib/services/product-variant/module.d.ts.map +1 -0
- package/lib/services/product-variant/module.js +15 -0
- package/lib/services/product-variant/module.js.map +1 -0
- package/lib/services/product-variant/product-variant.service.d.ts +21 -0
- package/lib/services/product-variant/product-variant.service.d.ts.map +1 -0
- package/lib/services/product-variant/product-variant.service.js +69 -0
- package/lib/services/product-variant/product-variant.service.js.map +1 -0
- package/lib/services/product-variant/types.d.ts +73 -0
- package/lib/services/product-variant/types.d.ts.map +1 -0
- package/lib/services/product-variant/types.js +10 -0
- package/lib/services/product-variant/types.js.map +1 -0
- package/lib/services/quote/definitions.d.ts +102 -0
- package/lib/services/quote/definitions.d.ts.map +1 -0
- package/lib/services/quote/definitions.js +3 -0
- package/lib/services/quote/definitions.js.map +1 -0
- package/lib/services/quote/endpoints.d.ts +20 -0
- package/lib/services/quote/endpoints.d.ts.map +1 -0
- package/lib/services/quote/endpoints.js +24 -0
- package/lib/services/quote/endpoints.js.map +1 -0
- package/lib/services/quote/index.d.ts +378 -0
- package/lib/services/quote/index.d.ts.map +1 -0
- package/lib/services/quote/index.js +506 -0
- package/lib/services/quote/index.js.map +1 -0
- package/lib/services/quote/module.d.ts +11 -0
- package/lib/services/quote/module.d.ts.map +1 -0
- package/lib/services/quote/module.js +15 -0
- package/lib/services/quote/module.js.map +1 -0
- package/lib/services/quote/quote.service.d.ts +346 -0
- package/lib/services/quote/quote.service.d.ts.map +1 -0
- package/lib/services/quote/quote.service.js +479 -0
- package/lib/services/quote/quote.service.js.map +1 -0
- package/lib/services/quote/types.d.ts +160 -0
- package/lib/services/quote/types.d.ts.map +1 -0
- package/lib/services/quote/types.js +10 -0
- package/lib/services/quote/types.js.map +1 -0
- package/lib/services/supplier/__mocks__/supplier-mocks.d.ts +49 -0
- package/lib/services/supplier/__mocks__/supplier-mocks.d.ts.map +1 -0
- package/lib/services/supplier/__mocks__/supplier-mocks.js +168 -0
- package/lib/services/supplier/__mocks__/supplier-mocks.js.map +1 -0
- package/lib/services/supplier/definitions.d.ts +30 -0
- package/lib/services/supplier/definitions.d.ts.map +1 -0
- package/lib/services/supplier/definitions.js +3 -0
- package/lib/services/supplier/definitions.js.map +1 -0
- package/lib/services/supplier/endpoints.d.ts +14 -0
- package/lib/services/supplier/endpoints.d.ts.map +1 -0
- package/lib/services/supplier/endpoints.js +16 -0
- package/lib/services/supplier/endpoints.js.map +1 -0
- package/lib/services/supplier/index.d.ts +102 -0
- package/lib/services/supplier/index.d.ts.map +1 -0
- package/lib/services/supplier/index.js +146 -0
- package/lib/services/supplier/index.js.map +1 -0
- package/lib/services/supplier/module.d.ts +11 -0
- package/lib/services/supplier/module.d.ts.map +1 -0
- package/lib/services/supplier/module.js +15 -0
- package/lib/services/supplier/module.js.map +1 -0
- package/lib/services/supplier/supplier.service.d.ts +20 -0
- package/lib/services/supplier/supplier.service.d.ts.map +1 -0
- package/lib/services/supplier/supplier.service.js +63 -0
- package/lib/services/supplier/supplier.service.js.map +1 -0
- package/lib/services/supplier/types.d.ts +58 -0
- package/lib/services/supplier/types.d.ts.map +1 -0
- package/lib/services/supplier/types.js +10 -0
- package/lib/services/supplier/types.js.map +1 -0
- package/lib/services/types.d.ts +81 -0
- package/lib/services/types.d.ts.map +1 -0
- package/lib/services/types.js +10 -0
- package/lib/services/types.js.map +1 -0
- package/lib/settings/fetch-instance.d.ts +30 -0
- package/lib/settings/fetch-instance.d.ts.map +1 -0
- package/lib/settings/fetch-instance.js +223 -0
- package/lib/settings/fetch-instance.js.map +1 -0
- package/lib/settings/sdk-version.d.ts +3 -0
- package/lib/settings/sdk-version.d.ts.map +1 -0
- package/lib/settings/sdk-version.js +6 -0
- package/lib/settings/sdk-version.js.map +1 -0
- package/package.json +27 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/services/operation/index.ts"],"names":[],"mappings":";;AAyEA,8CA8BC;AA2CD,sCAsCC;AA6BD,4CAUC;AA4BD,oCASC;AA6BD,0CAWC;AA0CD,wDAqBC;AA6BD,0DAWC;AAoCD,oDAqBC;AA6BD,oDAWC;AA6BD,oDAWC;AAsCD,sDAuBC;AA0CD,8CA6BC;AA8CD,8CASC;AA4CD,0CAwBC;AA2BD,0CAOC;AA7zBD,kEAA8D;AA8B9D;;GAEG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACI,KAAK,UAAU,iBAAiB,CAAC,EACtC,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,GAAG,EACH,IAAI,EACJ,aAAa,EACb,WAAW,EACX,WAAW,EACX,SAAS,EACT,MAAM,GACsB;IAC5B,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,8BAAa,EAA4B;QAC9D,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE;YACN,IAAI;YACJ,IAAI;YACJ,IAAI;YACJ,GAAG;YACH,IAAI;YACJ,aAAa;YACb,WAAW;YACX,WAAW;YACX,SAAS;YACT,MAAM;SACP;KACF,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACI,KAAK,UAAU,aAAa,CAAC,EAClC,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,GAAG,EACH,IAAI,EACJ,aAAa,EACb,WAAW,EACX,WAAW,EACX,SAAS,EACT,QAAQ,EACR,MAAM,EACN,MAAM,GACkB;IACxB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,8BAAa,EAAwB;QAC1D,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE;YACN,IAAI;YACJ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CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACI,KAAK,UAAU,iBAAiB,CAAC,EACtC,WAAW,EACX,KAAK,GACuB;IAC5B,MAAM,IAAA,8BAAa,EAAO;QACxB,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,kBAAkB,WAAW,QAAQ;QAC3C,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;KAC5B,CAAC,CAAC;AACL,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACI,KAAK,UAAU,eAAe,CAAC,EACpC,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,UAAU,EACV,KAAK,EACL,SAAS,EACT,IAAI,GACsB;IAC1B,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,IAAA,8BAAa,EAA0B;QAC5D,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;YACnB,iBAAiB;YACjB,YAAY;YACZ,OAAO;YACP,UAAU;YACV,KAAK;YACL,SAAS;YACT,IAAI;SACL,CAAC;KACH,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACI,KAAK,UAAU,eAAe,CAAC,EACpC,WAAW,GACe;IAC1B,MAAM,IAAA,8BAAa,EAAO;QACxB,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,kBAAkB,WAAW,EAAE;KACtC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Operation Module
|
|
3
|
+
* Re-exports all operation-related types and service.
|
|
4
|
+
*
|
|
5
|
+
* @module services/operation
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
export type { OperationType, OperationStatus, IdType, CustomFieldValueRequest, OperationLineRequest, GetShopOperationsParams, GetOperationsParams, GetShopOperationParams, GetOperationParams, CreateOperationParams, UpdateOperationParams, UpdateOperationDetailsParams, DeleteOperationParams, GetOperationAccountsParams, AddOperationAccountsParams, RemoveOperationAccountsParams, GetShopOperationLinesParams, GetOperationLinesParams, AddOperationLinesParams, RemoveOperationLinesParams, Operation, OperationAccount, OperationLine, GetShopOperationsResponse, GetOperationsResponse, GetShopOperationResponse, GetOperationResponse, CreateOperationResponse, UpdateOperationDetailsResponse, GetOperationAccountsResponse, GetShopOperationLinesResponse, GetOperationLinesResponse, } from "./types";
|
|
9
|
+
export { OperationEndpoints, type OperationEndpoint } from "./endpoints";
|
|
10
|
+
export { OperationService } from "./operation.service";
|
|
11
|
+
//# sourceMappingURL=module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/services/operation/module.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EACV,aAAa,EACb,eAAe,EACf,MAAM,EACN,uBAAuB,EACvB,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,4BAA4B,EAC5B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,EAC7B,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,0BAA0B,EAC1B,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,yBAAyB,EACzB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,uBAAuB,EACvB,8BAA8B,EAC9B,4BAA4B,EAC5B,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,kBAAkB,EAAE,KAAK,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DJUST SDK Operation Module
|
|
4
|
+
* Re-exports all operation-related types and service.
|
|
5
|
+
*
|
|
6
|
+
* @module services/operation
|
|
7
|
+
* @since 2.17.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.OperationService = exports.OperationEndpoints = void 0;
|
|
11
|
+
var endpoints_1 = require("./endpoints");
|
|
12
|
+
Object.defineProperty(exports, "OperationEndpoints", { enumerable: true, get: function () { return endpoints_1.OperationEndpoints; } });
|
|
13
|
+
var operation_service_1 = require("./operation.service");
|
|
14
|
+
Object.defineProperty(exports, "OperationService", { enumerable: true, get: function () { return operation_service_1.OperationService; } });
|
|
15
|
+
//# sourceMappingURL=module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../../src/services/operation/module.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAqCH,yCAAyE;AAAhE,+GAAA,kBAAkB,OAAA;AAC3B,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Operation Service
|
|
3
|
+
* Service class for operation management.
|
|
4
|
+
*
|
|
5
|
+
* @module services/operation/service
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
import { BaseService } from "../base.service";
|
|
9
|
+
import type { RequestContext } from "../../client/transport";
|
|
10
|
+
import type { GetShopOperationsParams, GetOperationsParams, GetShopOperationParams, GetOperationParams, CreateOperationParams, UpdateOperationParams, UpdateOperationDetailsParams, DeleteOperationParams, GetOperationAccountsParams, AddOperationAccountsParams, RemoveOperationAccountsParams, GetShopOperationLinesParams, GetOperationLinesParams, AddOperationLinesParams, RemoveOperationLinesParams, GetShopOperationsResponse, GetOperationsResponse, GetShopOperationResponse, GetOperationResponse, CreateOperationResponse, UpdateOperationDetailsResponse, GetOperationAccountsResponse, GetShopOperationLinesResponse, GetOperationLinesResponse } from "./types";
|
|
11
|
+
/**
|
|
12
|
+
* Service for operation management.
|
|
13
|
+
*/
|
|
14
|
+
export declare class OperationService extends BaseService {
|
|
15
|
+
readonly serviceName = "operation";
|
|
16
|
+
getShopOperations(params?: GetShopOperationsParams, context?: RequestContext): Promise<GetShopOperationsResponse>;
|
|
17
|
+
getOperations(params?: GetOperationsParams, context?: RequestContext): Promise<GetOperationsResponse>;
|
|
18
|
+
getShopOperation(params: GetShopOperationParams, context?: RequestContext): Promise<GetShopOperationResponse>;
|
|
19
|
+
getOperation(params: GetOperationParams, context?: RequestContext): Promise<GetOperationResponse>;
|
|
20
|
+
createOperation(params: CreateOperationParams, context?: RequestContext): Promise<CreateOperationResponse>;
|
|
21
|
+
updateOperation(params: UpdateOperationParams, context?: RequestContext): Promise<void>;
|
|
22
|
+
updateOperationDetails(params: UpdateOperationDetailsParams, context?: RequestContext): Promise<UpdateOperationDetailsResponse>;
|
|
23
|
+
deleteOperation(params: DeleteOperationParams, context?: RequestContext): Promise<void>;
|
|
24
|
+
getOperationAccounts(params: GetOperationAccountsParams, context?: RequestContext): Promise<GetOperationAccountsResponse>;
|
|
25
|
+
addOperationAccounts(params: AddOperationAccountsParams, context?: RequestContext): Promise<void>;
|
|
26
|
+
removeOperationAccounts(params: RemoveOperationAccountsParams, context?: RequestContext): Promise<void>;
|
|
27
|
+
getShopOperationLines(params: GetShopOperationLinesParams, context?: RequestContext): Promise<GetShopOperationLinesResponse>;
|
|
28
|
+
getOperationLines(params: GetOperationLinesParams, context?: RequestContext): Promise<GetOperationLinesResponse>;
|
|
29
|
+
addOperationLines(params: AddOperationLinesParams, context?: RequestContext): Promise<void>;
|
|
30
|
+
removeOperationLines(params: RemoveOperationLinesParams, context?: RequestContext): Promise<void>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=operation.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.service.d.ts","sourceRoot":"","sources":["../../../src/services/operation/operation.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,4BAA4B,EAC5B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,EAC7B,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,0BAA0B,EAC1B,yBAAyB,EACzB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,uBAAuB,EACvB,8BAA8B,EAC9B,4BAA4B,EAC5B,6BAA6B,EAC7B,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,QAAQ,CAAC,WAAW,eAAe;IAE7B,iBAAiB,CACrB,MAAM,GAAE,uBAA4B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,yBAAyB,CAAC;IAW/B,aAAa,CACjB,MAAM,GAAE,mBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,qBAAqB,CAAC;IAW3B,gBAAgB,CACpB,MAAM,EAAE,sBAAsB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,wBAAwB,CAAC;IAe9B,YAAY,CAChB,MAAM,EAAE,kBAAkB,EAC1B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,oBAAoB,CAAC;IAc1B,eAAe,CACnB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,uBAAuB,CAAC;IA2B7B,eAAe,CACnB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAeV,sBAAsB,CAC1B,MAAM,EAAE,4BAA4B,EACpC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,8BAA8B,CAAC;IAqBpC,eAAe,CACnB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAcV,oBAAoB,CACxB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,4BAA4B,CAAC;IAqBlC,oBAAoB,CACxB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAeV,uBAAuB,CAC3B,MAAM,EAAE,6BAA6B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAeV,qBAAqB,CACzB,MAAM,EAAE,2BAA2B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,6BAA6B,CAAC;IAsBnC,iBAAiB,CACrB,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,yBAAyB,CAAC;IAyB/B,iBAAiB,CACrB,MAAM,EAAE,uBAAuB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAeV,oBAAoB,CACxB,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;CAcjB"}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DJUST SDK Operation Service
|
|
4
|
+
* Service class for operation management.
|
|
5
|
+
*
|
|
6
|
+
* @module services/operation/service
|
|
7
|
+
* @since 2.17.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.OperationService = void 0;
|
|
11
|
+
const base_service_1 = require("../base.service");
|
|
12
|
+
const endpoints_1 = require("./endpoints");
|
|
13
|
+
/**
|
|
14
|
+
* Service for operation management.
|
|
15
|
+
*/
|
|
16
|
+
class OperationService extends base_service_1.BaseService {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.serviceName = "operation";
|
|
20
|
+
}
|
|
21
|
+
async getShopOperations(params = {}, context) {
|
|
22
|
+
return this.request({
|
|
23
|
+
method: "GET",
|
|
24
|
+
path: endpoints_1.OperationEndpoints.SHOP_OPERATIONS,
|
|
25
|
+
params: this.buildParams(params),
|
|
26
|
+
}, context);
|
|
27
|
+
}
|
|
28
|
+
async getOperations(params = {}, context) {
|
|
29
|
+
return this.request({
|
|
30
|
+
method: "GET",
|
|
31
|
+
path: endpoints_1.OperationEndpoints.OPERATIONS,
|
|
32
|
+
params: this.buildParams(params),
|
|
33
|
+
}, context);
|
|
34
|
+
}
|
|
35
|
+
async getShopOperation(params, context) {
|
|
36
|
+
this.required(params, ["operationId"]);
|
|
37
|
+
return this.request({
|
|
38
|
+
method: "GET",
|
|
39
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.SHOP_OPERATION, {
|
|
40
|
+
operationId: params.operationId,
|
|
41
|
+
}),
|
|
42
|
+
params: this.buildParams({ locale: params.locale }),
|
|
43
|
+
}, context);
|
|
44
|
+
}
|
|
45
|
+
async getOperation(params, context) {
|
|
46
|
+
this.required(params, ["operationId"]);
|
|
47
|
+
return this.request({
|
|
48
|
+
method: "GET",
|
|
49
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION, {
|
|
50
|
+
operationId: params.operationId,
|
|
51
|
+
}),
|
|
52
|
+
}, context);
|
|
53
|
+
}
|
|
54
|
+
async createOperation(params, context) {
|
|
55
|
+
this.required(params, [
|
|
56
|
+
"externalId",
|
|
57
|
+
"names",
|
|
58
|
+
"startDate",
|
|
59
|
+
"endDate",
|
|
60
|
+
"type",
|
|
61
|
+
]);
|
|
62
|
+
return this.request({
|
|
63
|
+
method: "POST",
|
|
64
|
+
path: endpoints_1.OperationEndpoints.OPERATIONS,
|
|
65
|
+
body: {
|
|
66
|
+
customFieldValues: params.customFieldValues,
|
|
67
|
+
descriptions: params.descriptions,
|
|
68
|
+
endDate: params.endDate,
|
|
69
|
+
externalId: params.externalId,
|
|
70
|
+
names: params.names,
|
|
71
|
+
startDate: params.startDate,
|
|
72
|
+
type: params.type,
|
|
73
|
+
},
|
|
74
|
+
}, context);
|
|
75
|
+
}
|
|
76
|
+
async updateOperation(params, context) {
|
|
77
|
+
this.required(params, ["operationId", "status"]);
|
|
78
|
+
await this.request({
|
|
79
|
+
method: "PATCH",
|
|
80
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION, {
|
|
81
|
+
operationId: params.operationId,
|
|
82
|
+
}),
|
|
83
|
+
body: { status: params.status },
|
|
84
|
+
}, context);
|
|
85
|
+
}
|
|
86
|
+
async updateOperationDetails(params, context) {
|
|
87
|
+
this.required(params, ["operationId"]);
|
|
88
|
+
return this.request({
|
|
89
|
+
method: "PUT",
|
|
90
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION, {
|
|
91
|
+
operationId: params.operationId,
|
|
92
|
+
}),
|
|
93
|
+
body: {
|
|
94
|
+
customFieldValues: params.customFieldValues,
|
|
95
|
+
descriptions: params.descriptions,
|
|
96
|
+
endDate: params.endDate,
|
|
97
|
+
names: params.names,
|
|
98
|
+
startDate: params.startDate,
|
|
99
|
+
},
|
|
100
|
+
}, context);
|
|
101
|
+
}
|
|
102
|
+
async deleteOperation(params, context) {
|
|
103
|
+
this.required(params, ["operationId"]);
|
|
104
|
+
await this.request({
|
|
105
|
+
method: "DELETE",
|
|
106
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION, {
|
|
107
|
+
operationId: params.operationId,
|
|
108
|
+
}),
|
|
109
|
+
}, context);
|
|
110
|
+
}
|
|
111
|
+
async getOperationAccounts(params, context) {
|
|
112
|
+
this.required(params, ["operationId"]);
|
|
113
|
+
return this.request({
|
|
114
|
+
method: "GET",
|
|
115
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_ACCOUNTS, {
|
|
116
|
+
operationId: params.operationId,
|
|
117
|
+
}),
|
|
118
|
+
params: this.buildParams({
|
|
119
|
+
page: params.page,
|
|
120
|
+
size: params.size,
|
|
121
|
+
sort: params.sort,
|
|
122
|
+
accountIds: params.accountIds,
|
|
123
|
+
accountName: params.accountName,
|
|
124
|
+
}),
|
|
125
|
+
}, context);
|
|
126
|
+
}
|
|
127
|
+
async addOperationAccounts(params, context) {
|
|
128
|
+
this.required(params, ["operationId", "accountIds"]);
|
|
129
|
+
await this.request({
|
|
130
|
+
method: "PUT",
|
|
131
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_ACCOUNTS, {
|
|
132
|
+
operationId: params.operationId,
|
|
133
|
+
}),
|
|
134
|
+
body: { accountIds: params.accountIds },
|
|
135
|
+
}, context);
|
|
136
|
+
}
|
|
137
|
+
async removeOperationAccounts(params, context) {
|
|
138
|
+
this.required(params, ["operationId", "accountIds"]);
|
|
139
|
+
await this.request({
|
|
140
|
+
method: "DELETE",
|
|
141
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_ACCOUNTS, {
|
|
142
|
+
operationId: params.operationId,
|
|
143
|
+
}),
|
|
144
|
+
body: { accountIds: params.accountIds },
|
|
145
|
+
}, context);
|
|
146
|
+
}
|
|
147
|
+
async getShopOperationLines(params, context) {
|
|
148
|
+
this.required(params, ["operationId"]);
|
|
149
|
+
return this.request({
|
|
150
|
+
method: "GET",
|
|
151
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.SHOP_OPERATION_LINES, {
|
|
152
|
+
operationId: params.operationId,
|
|
153
|
+
}),
|
|
154
|
+
params: this.buildParams({
|
|
155
|
+
page: params.page,
|
|
156
|
+
size: params.size,
|
|
157
|
+
sort: params.sort,
|
|
158
|
+
variantIds: params.variantIds,
|
|
159
|
+
variantName: params.variantName,
|
|
160
|
+
locale: params.locale,
|
|
161
|
+
}),
|
|
162
|
+
}, context);
|
|
163
|
+
}
|
|
164
|
+
async getOperationLines(params, context) {
|
|
165
|
+
this.required(params, ["operationId"]);
|
|
166
|
+
return this.request({
|
|
167
|
+
method: "GET",
|
|
168
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_LINES, {
|
|
169
|
+
operationId: params.operationId,
|
|
170
|
+
}),
|
|
171
|
+
params: this.buildParams({
|
|
172
|
+
page: params.page,
|
|
173
|
+
size: params.size,
|
|
174
|
+
sort: params.sort,
|
|
175
|
+
variantIds: params.variantIds,
|
|
176
|
+
variantName: params.variantName,
|
|
177
|
+
minQuantity: params.minQuantity,
|
|
178
|
+
maxQuantity: params.maxQuantity,
|
|
179
|
+
recommendedQuantity: params.recommendedQuantity,
|
|
180
|
+
locale: params.locale,
|
|
181
|
+
}),
|
|
182
|
+
}, context);
|
|
183
|
+
}
|
|
184
|
+
async addOperationLines(params, context) {
|
|
185
|
+
this.required(params, ["operationId", "lines"]);
|
|
186
|
+
await this.request({
|
|
187
|
+
method: "PUT",
|
|
188
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_LINES, {
|
|
189
|
+
operationId: params.operationId,
|
|
190
|
+
}),
|
|
191
|
+
body: params.lines,
|
|
192
|
+
}, context);
|
|
193
|
+
}
|
|
194
|
+
async removeOperationLines(params, context) {
|
|
195
|
+
this.required(params, ["operationId", "variantIds"]);
|
|
196
|
+
await this.request({
|
|
197
|
+
method: "DELETE",
|
|
198
|
+
path: this.buildPath(endpoints_1.OperationEndpoints.OPERATION_LINES, {
|
|
199
|
+
operationId: params.operationId,
|
|
200
|
+
}),
|
|
201
|
+
body: { variantIds: params.variantIds },
|
|
202
|
+
}, context);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
exports.OperationService = OperationService;
|
|
206
|
+
//# sourceMappingURL=operation.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.service.js","sourceRoot":"","sources":["../../../src/services/operation/operation.service.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,kDAA8C;AAE9C,2CAAiD;AA4BjD;;GAEG;AACH,MAAa,gBAAiB,SAAQ,0BAAW;IAAjD;;QACW,gBAAW,GAAG,WAAW,CAAC;IA8SrC,CAAC;IA5SC,KAAK,CAAC,iBAAiB,CACrB,SAAkC,EAAE,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CACjB;YACE,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,8BAAkB,CAAC,eAAe;YACxC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC;SACjC,EACD,OAAO,CACR,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,aAAa,CACjB,SAA8B,EAAE,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CACjB;YACE,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,8BAAkB,CAAC,UAAU;YACnC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC;SACjC,EACD,OAAO,CACR,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,gBAAgB,CACpB,MAA8B,EAC9B,OAAwB;QAExB,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;QAEvC,OAAO,IAAI,CAAC,OAAO,CACjB;YACE,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,8BAAkB,CAAC,cAAc,EAAE;gBACtD,WAAW,EAAE,MAAM,CAAC,WAAW;aAChC,CAAC;YACF,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAA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CAAC,WAAW;gBAC/B,mBAAmB,EAAE,MAAM,CAAC,mBAAmB;gBAC/C,MAAM,EAAE,MAAM,CAAC,MAAM;aACtB,CAAC;SACH,EACD,OAAO,CACR,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,iBAAiB,CACrB,MAA+B,EAC/B,OAAwB;QAExB,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC;QAEhD,MAAM,IAAI,CAAC,OAAO,CAChB;YACE,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,8BAAkB,CAAC,eAAe,EAAE;gBACvD,WAAW,EAAE,MAAM,CAAC,WAAW;aAChC,CAAC;YACF,IAAI,EAAE,MAAM,CAAC,KAAK;SACnB,EACD,OAAO,CACR,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,oBAAoB,CACxB,MAAkC,EAClC,OAAwB;QAExB,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC,CAAC;QAErD,MAAM,IAAI,CAAC,OAAO,CAChB;YACE,MAAM,EAAE,QAAQ;YAChB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,8BAAkB,CAAC,eAAe,EAAE;gBACvD,WAAW,EAAE,MAAM,CAAC,WAAW;aAChC,CAAC;YACF,IAAI,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE;SACxC,EACD,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AA/SD,4CA+SC"}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Operation Service - Types
|
|
3
|
+
* Type definitions for operation management.
|
|
4
|
+
*
|
|
5
|
+
* @module services/operation/types
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
import type { PaginatedResponse } from "../types";
|
|
9
|
+
export type OperationType = "PUBLIC" | "PRIVATE";
|
|
10
|
+
export type OperationStatus = "DRAFT" | "ACTIVE" | "INACTIVE";
|
|
11
|
+
export type IdType = "DJUST_ID" | "EXTERNAL_ID";
|
|
12
|
+
export interface CustomFieldValueRequest {
|
|
13
|
+
customFieldId: string;
|
|
14
|
+
customFieldValue?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface OperationLineRequest {
|
|
17
|
+
variantId: string;
|
|
18
|
+
minQuantity: number;
|
|
19
|
+
maxQuantity: number;
|
|
20
|
+
recommendedQuantity: number;
|
|
21
|
+
}
|
|
22
|
+
export interface GetShopOperationsParams {
|
|
23
|
+
page?: number;
|
|
24
|
+
size?: number;
|
|
25
|
+
sort?: string[];
|
|
26
|
+
ids?: string[];
|
|
27
|
+
name?: string;
|
|
28
|
+
startDateFrom?: string;
|
|
29
|
+
startDateTo?: string;
|
|
30
|
+
endDateFrom?: string;
|
|
31
|
+
endDateTo?: string;
|
|
32
|
+
locale?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface GetOperationsParams {
|
|
35
|
+
page?: number;
|
|
36
|
+
size?: number;
|
|
37
|
+
sort?: string[];
|
|
38
|
+
type?: OperationType;
|
|
39
|
+
status?: OperationStatus;
|
|
40
|
+
ids?: string[];
|
|
41
|
+
name?: string;
|
|
42
|
+
startDateFrom?: string;
|
|
43
|
+
startDateTo?: string;
|
|
44
|
+
endDateFrom?: string;
|
|
45
|
+
endDateTo?: string;
|
|
46
|
+
ownerIds?: string[];
|
|
47
|
+
idType?: IdType;
|
|
48
|
+
locale?: string;
|
|
49
|
+
}
|
|
50
|
+
export interface GetShopOperationParams {
|
|
51
|
+
operationId: string;
|
|
52
|
+
locale?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface GetOperationParams {
|
|
55
|
+
operationId: string;
|
|
56
|
+
}
|
|
57
|
+
export interface CreateOperationParams {
|
|
58
|
+
externalId: string;
|
|
59
|
+
names: string;
|
|
60
|
+
startDate: string;
|
|
61
|
+
endDate: string;
|
|
62
|
+
type: OperationType;
|
|
63
|
+
customFieldValues?: CustomFieldValueRequest[];
|
|
64
|
+
descriptions?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface UpdateOperationParams {
|
|
67
|
+
operationId: string;
|
|
68
|
+
status: OperationStatus;
|
|
69
|
+
}
|
|
70
|
+
export interface UpdateOperationDetailsParams {
|
|
71
|
+
operationId: string;
|
|
72
|
+
customFieldValues?: CustomFieldValueRequest[];
|
|
73
|
+
descriptions?: string;
|
|
74
|
+
endDate?: string;
|
|
75
|
+
names?: string;
|
|
76
|
+
startDate?: string;
|
|
77
|
+
}
|
|
78
|
+
export interface DeleteOperationParams {
|
|
79
|
+
operationId: string;
|
|
80
|
+
}
|
|
81
|
+
export interface GetOperationAccountsParams {
|
|
82
|
+
operationId: string;
|
|
83
|
+
page?: number;
|
|
84
|
+
size?: number;
|
|
85
|
+
sort?: string[];
|
|
86
|
+
accountIds?: string[];
|
|
87
|
+
accountName?: string;
|
|
88
|
+
}
|
|
89
|
+
export interface AddOperationAccountsParams {
|
|
90
|
+
operationId: string;
|
|
91
|
+
accountIds: string[];
|
|
92
|
+
}
|
|
93
|
+
export interface RemoveOperationAccountsParams {
|
|
94
|
+
operationId: string;
|
|
95
|
+
accountIds: string[];
|
|
96
|
+
}
|
|
97
|
+
export interface GetShopOperationLinesParams {
|
|
98
|
+
operationId: string;
|
|
99
|
+
page?: number;
|
|
100
|
+
size?: number;
|
|
101
|
+
sort?: string[];
|
|
102
|
+
variantIds?: string[];
|
|
103
|
+
variantName?: string;
|
|
104
|
+
locale?: string;
|
|
105
|
+
}
|
|
106
|
+
export interface GetOperationLinesParams {
|
|
107
|
+
operationId: string;
|
|
108
|
+
page?: number;
|
|
109
|
+
size?: number;
|
|
110
|
+
sort?: string[];
|
|
111
|
+
variantIds?: string[];
|
|
112
|
+
variantName?: string;
|
|
113
|
+
minQuantity?: number;
|
|
114
|
+
maxQuantity?: number;
|
|
115
|
+
recommendedQuantity?: number;
|
|
116
|
+
locale?: string;
|
|
117
|
+
}
|
|
118
|
+
export interface AddOperationLinesParams {
|
|
119
|
+
operationId: string;
|
|
120
|
+
lines: OperationLineRequest[];
|
|
121
|
+
}
|
|
122
|
+
export interface RemoveOperationLinesParams {
|
|
123
|
+
operationId: string;
|
|
124
|
+
variantIds: string[];
|
|
125
|
+
}
|
|
126
|
+
export interface Operation {
|
|
127
|
+
id: string;
|
|
128
|
+
externalId?: string;
|
|
129
|
+
name: string;
|
|
130
|
+
description?: string;
|
|
131
|
+
type: OperationType;
|
|
132
|
+
status: OperationStatus;
|
|
133
|
+
startDate: string;
|
|
134
|
+
endDate: string;
|
|
135
|
+
customFieldValues?: CustomFieldValueRequest[];
|
|
136
|
+
ownerId?: string;
|
|
137
|
+
createdAt: string;
|
|
138
|
+
updatedAt: string;
|
|
139
|
+
}
|
|
140
|
+
export interface OperationAccount {
|
|
141
|
+
id: string;
|
|
142
|
+
externalId?: string;
|
|
143
|
+
name: string;
|
|
144
|
+
}
|
|
145
|
+
export interface OperationLine {
|
|
146
|
+
id: string;
|
|
147
|
+
variantId: string;
|
|
148
|
+
variantExternalId?: string;
|
|
149
|
+
variantName: string;
|
|
150
|
+
minQuantity: number;
|
|
151
|
+
maxQuantity: number;
|
|
152
|
+
recommendedQuantity: number;
|
|
153
|
+
}
|
|
154
|
+
export interface GetShopOperationsResponse extends PaginatedResponse<Operation> {
|
|
155
|
+
}
|
|
156
|
+
export interface GetOperationsResponse extends PaginatedResponse<Operation> {
|
|
157
|
+
}
|
|
158
|
+
export interface GetShopOperationResponse extends Operation {
|
|
159
|
+
}
|
|
160
|
+
export interface GetOperationResponse extends Operation {
|
|
161
|
+
}
|
|
162
|
+
export interface CreateOperationResponse {
|
|
163
|
+
id: string;
|
|
164
|
+
}
|
|
165
|
+
export interface UpdateOperationDetailsResponse {
|
|
166
|
+
id: string;
|
|
167
|
+
}
|
|
168
|
+
export interface GetOperationAccountsResponse extends PaginatedResponse<OperationAccount> {
|
|
169
|
+
}
|
|
170
|
+
export interface GetShopOperationLinesResponse extends PaginatedResponse<OperationLine> {
|
|
171
|
+
}
|
|
172
|
+
export interface GetOperationLinesResponse extends PaginatedResponse<OperationLine> {
|
|
173
|
+
}
|
|
174
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/operation/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAY,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAM5D,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,SAAS,CAAC;AACjD,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,CAAC;AAC9D,MAAM,MAAM,MAAM,GAAG,UAAU,GAAG,aAAa,CAAC;AAEhD,MAAM,WAAW,uBAAuB;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAMD,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,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C,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,MAAM,WAAW,8BAA8B;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,MAAM,WAAW,4BACf,SAAQ,iBAAiB,CAAC,gBAAgB,CAAC;CAAG;AAChD,MAAM,WAAW,6BACf,SAAQ,iBAAiB,CAAC,aAAa,CAAC;CAAG;AAC7C,MAAM,WAAW,yBACf,SAAQ,iBAAiB,CAAC,aAAa,CAAC;CAAG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DJUST SDK Operation Service - Types
|
|
4
|
+
* Type definitions for operation management.
|
|
5
|
+
*
|
|
6
|
+
* @module services/operation/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/operation/types.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { BrowserInfo } from "../../interfaces/models/common";
|
|
2
|
+
import { PaymentReferenceType } from "../../interfaces/models/payment";
|
|
3
|
+
/**
|
|
4
|
+
* Request parameters type definitions
|
|
5
|
+
*/
|
|
6
|
+
export type ResultCode = "AuthenticationFinished" | "AuthenticationNotRequired" | "Authorised" | "Cancelled" | "ChallengeShopper" | "Error" | "IdentifyShopper" | "PartiallyAuthorised" | "Pending" | "PresentToShopper" | "Received" | "RedirectShopper" | "Refused";
|
|
7
|
+
export interface InitPaymentRequest {
|
|
8
|
+
browserInfo: BrowserInfo;
|
|
9
|
+
countryCode: string;
|
|
10
|
+
customerUserIP?: string;
|
|
11
|
+
paymentMethodData?: Record<string, unknown>;
|
|
12
|
+
reference: string;
|
|
13
|
+
referenceType?: string;
|
|
14
|
+
returnPath: string;
|
|
15
|
+
storePaymentMethod?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface InitPaymentResponse {
|
|
18
|
+
action: {
|
|
19
|
+
type: "bankTransfer" | "redirect" | "threeDS2" | "await" | "qrCode" | "voucher" | "sdk";
|
|
20
|
+
beneficiary: string;
|
|
21
|
+
bic: string;
|
|
22
|
+
iban: string;
|
|
23
|
+
paymentMethodType: string;
|
|
24
|
+
paymentData: string;
|
|
25
|
+
totalAmountCurrency: string;
|
|
26
|
+
totalAmountValue: number;
|
|
27
|
+
url: string;
|
|
28
|
+
method: string;
|
|
29
|
+
authorisationToken: string;
|
|
30
|
+
subtype: string;
|
|
31
|
+
token: string;
|
|
32
|
+
};
|
|
33
|
+
pspReference: string;
|
|
34
|
+
resultCode: ResultCode;
|
|
35
|
+
}
|
|
36
|
+
export interface GetPaymentDetailsRequest {
|
|
37
|
+
details: string;
|
|
38
|
+
}
|
|
39
|
+
export interface GetPaymentDetailsResponse {
|
|
40
|
+
pspReference: string;
|
|
41
|
+
resultCode: string;
|
|
42
|
+
}
|
|
43
|
+
export interface GetPaymentMethodsRequest {
|
|
44
|
+
reference: string;
|
|
45
|
+
countryCode?: string;
|
|
46
|
+
referenceType?: PaymentReferenceType;
|
|
47
|
+
locale?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface GetPaymentMethodsResponse {
|
|
50
|
+
adyenPaymentMethods: string;
|
|
51
|
+
enableCreditCardStorage: boolean;
|
|
52
|
+
}
|
|
53
|
+
export interface DeleteStoredPaymentMethodByIdRequest {
|
|
54
|
+
storedPaymentMethodId: string;
|
|
55
|
+
}
|
|
56
|
+
export interface PrecheckPurchaseCardL3Request {
|
|
57
|
+
reference: string;
|
|
58
|
+
referenceType?: PaymentReferenceType;
|
|
59
|
+
}
|
|
60
|
+
export interface PrecheckPurchaseCardL3Response {
|
|
61
|
+
ready: boolean;
|
|
62
|
+
missingFields?: {
|
|
63
|
+
scope: string;
|
|
64
|
+
field: string;
|
|
65
|
+
path: string;
|
|
66
|
+
source: string;
|
|
67
|
+
}[];
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=definitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../src/services/payment/definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAEvE;;GAEG;AAEH,MAAM,MAAM,UAAU,GAClB,wBAAwB,GACxB,2BAA2B,GAC3B,YAAY,GACZ,WAAW,GACX,kBAAkB,GAClB,OAAO,GACP,iBAAiB,GACjB,qBAAqB,GACrB,SAAS,GACT,kBAAkB,GAClB,UAAU,GACV,iBAAiB,GACjB,SAAS,CAAC;AAEd,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE;QACN,IAAI,EACA,cAAc,GACd,UAAU,GACV,UAAU,GACV,OAAO,GACP,QAAQ,GACR,SAAS,GACT,KAAK,CAAC;QACV,WAAW,EAAE,MAAM,CAAC;QACpB,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,iBAAiB,EAAE,MAAM,CAAC;QAC1B,WAAW,EAAE,MAAM,CAAC;QACpB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,gBAAgB,EAAE,MAAM,CAAC;QACzB,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,kBAAkB,EAAE,MAAM,CAAC;QAC3B,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uBAAuB,EAAE,OAAO,CAAC;CAClC;AAED,MAAM,WAAW,oCAAoC;IACnD,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,oBAAoB,CAAC;CACtC;AAED,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE;QACd,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,EAAE,CAAC;CACL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../../src/services/payment/definitions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DJUST SDK Payment Service - Endpoints
|
|
3
|
+
* API endpoint constants for payment operations.
|
|
4
|
+
*
|
|
5
|
+
* @module services/payment/endpoints
|
|
6
|
+
* @since 2.17.0
|
|
7
|
+
*/
|
|
8
|
+
export declare const PaymentEndpoints: {
|
|
9
|
+
readonly PAYMENTS: "/v1/shop/payments";
|
|
10
|
+
readonly PAYMENT_DETAILS: "/v1/shop/payments/details";
|
|
11
|
+
readonly PAYMENT_METHODS: "/v1/shop/payments/payment-methods";
|
|
12
|
+
readonly STORED_PAYMENT_METHOD: "/v1/shop/payments/stored-payment-methods/{storedPaymentMethodId}";
|
|
13
|
+
readonly PRECHECK: "/v1/shop/payments/precheck";
|
|
14
|
+
};
|
|
15
|
+
export type PaymentEndpoint = (typeof PaymentEndpoints)[keyof typeof PaymentEndpoints];
|
|
16
|
+
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/services/payment/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,gBAAgB;;;;;;CAOnB,CAAC;AAEX,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* DJUST SDK Payment Service - Endpoints
|
|
4
|
+
* API endpoint constants for payment operations.
|
|
5
|
+
*
|
|
6
|
+
* @module services/payment/endpoints
|
|
7
|
+
* @since 2.17.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.PaymentEndpoints = void 0;
|
|
11
|
+
exports.PaymentEndpoints = {
|
|
12
|
+
PAYMENTS: "/v1/shop/payments",
|
|
13
|
+
PAYMENT_DETAILS: "/v1/shop/payments/details",
|
|
14
|
+
PAYMENT_METHODS: "/v1/shop/payments/payment-methods",
|
|
15
|
+
STORED_PAYMENT_METHOD: "/v1/shop/payments/stored-payment-methods/{storedPaymentMethodId}",
|
|
16
|
+
PRECHECK: "/v1/shop/payments/precheck",
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/services/payment/endpoints.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEU,QAAA,gBAAgB,GAAG;IAC9B,QAAQ,EAAE,mBAAmB;IAC7B,eAAe,EAAE,2BAA2B;IAC5C,eAAe,EAAE,mCAAmC;IACpD,qBAAqB,EACnB,kEAAkE;IACpE,QAAQ,EAAE,4BAA4B;CAC9B,CAAC"}
|