@esolve/ng-esolve-connect 0.12.0 → 0.14.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 +2 -2
- package/esm2020/lib/account/address/esolve-address-record.interface.mjs +2 -0
- package/esm2020/lib/account/address/esolve-address-response.interface.mjs +2 -0
- package/esm2020/lib/account/address/esolve-address-result.model.mjs +11 -0
- package/esm2020/lib/account/address/esolve-address-set-data.interface.mjs +2 -0
- package/esm2020/lib/account/address/esolve-address-type.type.mjs +2 -0
- package/esm2020/lib/account/address/esolve-address.model.mjs +19 -0
- package/esm2020/lib/account/address/index.mjs +7 -0
- package/esm2020/lib/account/esolve-account.service.mjs +12 -16
- package/esm2020/lib/account/esolve-geocode-result.interface.mjs +2 -0
- package/esm2020/lib/account/esolve-location-update-result.model.mjs +8 -0
- package/esm2020/lib/account/index.mjs +7 -0
- package/esm2020/lib/account/password/esolve-change-password-result.model.mjs +8 -0
- package/esm2020/lib/account/password/esolve-forgot-password-get-result.interface.mjs +2 -0
- package/esm2020/lib/account/password/esolve-forgot-password-response.interface.mjs +2 -0
- package/esm2020/lib/account/password/esolve-reset-password-result.model.mjs +11 -0
- package/esm2020/lib/account/password/index.mjs +5 -0
- package/esm2020/lib/account/registration/esolve-registration-data.interface.mjs +2 -0
- package/esm2020/lib/account/registration/esolve-registration-post-response-item.interface.mjs +2 -0
- package/esm2020/lib/account/registration/esolve-registration-result.model.mjs +12 -0
- package/esm2020/lib/account/registration/index.mjs +4 -0
- package/esm2020/lib/account/transaction/esolve-transaction-address.model.mjs +16 -0
- package/esm2020/lib/account/transaction/esolve-transaction-client-record.interface.mjs +2 -0
- package/esm2020/lib/account/transaction/esolve-transaction-client.model.mjs +13 -0
- package/esm2020/lib/account/transaction/esolve-transaction-item-price.model.mjs +25 -0
- package/esm2020/lib/account/transaction/esolve-transaction-item-record.interface.mjs +2 -0
- package/esm2020/lib/account/transaction/esolve-transaction-item.model.mjs +12 -0
- package/esm2020/lib/account/transaction/esolve-transaction-list.model.mjs +4 -0
- package/esm2020/lib/account/transaction/esolve-transaction-location-record.interface.mjs +2 -0
- package/esm2020/lib/account/transaction/esolve-transaction-location.model.mjs +4 -0
- package/esm2020/lib/account/transaction/esolve-transaction-options.interface.mjs +2 -0
- package/esm2020/lib/account/transaction/esolve-transaction-payment-method-record.interface.mjs +2 -0
- package/esm2020/lib/account/transaction/esolve-transaction-payment-method.model.mjs +10 -0
- package/esm2020/lib/account/transaction/esolve-transaction-record.interface.mjs +2 -0
- package/esm2020/lib/account/transaction/esolve-transaction-shipping-method-record.interface.mjs +2 -0
- package/esm2020/lib/account/transaction/esolve-transaction-shipping-method.model.mjs +12 -0
- package/esm2020/lib/account/transaction/esolve-transaction-type.type.mjs +2 -0
- package/esm2020/lib/account/transaction/esolve-transaction-user-record.interface.mjs +2 -0
- package/esm2020/lib/account/transaction/esolve-transaction-user.model.mjs +11 -0
- package/esm2020/lib/account/transaction/esolve-transaction.model.mjs +58 -0
- package/esm2020/lib/account/transaction/index.mjs +23 -0
- package/esm2020/lib/account/user-account/esolve-user-account-business.model.mjs +9 -0
- package/esm2020/lib/account/user-account/esolve-user-account-contact.model.mjs +8 -0
- package/esm2020/lib/account/user-account/esolve-user-account-data.interface.mjs +2 -0
- package/esm2020/lib/account/user-account/esolve-user-account-record.interface.mjs +2 -0
- package/esm2020/lib/account/user-account/esolve-user-account-result.model.mjs +9 -0
- package/esm2020/lib/account/user-account/esolve-user-account.model.mjs +14 -0
- package/esm2020/lib/account/user-account/index.mjs +7 -0
- package/esm2020/lib/auth/esolve-auth-check-data.interface.mjs +2 -0
- package/esm2020/lib/auth/esolve-auth-check-response.interface.mjs +2 -0
- package/esm2020/lib/auth/esolve-auth-data.interface.mjs +2 -0
- package/esm2020/lib/auth/esolve-auth-get-data.interface.mjs +2 -0
- package/esm2020/lib/auth/esolve-auth-get-response.interface.mjs +2 -0
- package/esm2020/lib/auth/esolve-auth-interceptor.service.mjs +4 -4
- package/esm2020/lib/auth/esolve-auth-response-data.type.mjs +2 -0
- package/esm2020/lib/auth/esolve-auth-response.interface.mjs +2 -0
- package/esm2020/lib/auth/esolve-auth-result.type.mjs +2 -0
- package/esm2020/lib/auth/esolve-auth.service.mjs +3 -3
- package/esm2020/lib/auth/esolve-login-post-response-item.interface.mjs +2 -0
- package/esm2020/lib/auth/index.mjs +4 -0
- package/esm2020/lib/banners/esolve-banner-image-hotspot-coords.interface.mjs +2 -0
- package/esm2020/lib/banners/esolve-banner-image-hotspot-record.interface.mjs +2 -0
- package/esm2020/lib/banners/esolve-banner-image-hotspot.model.mjs +9 -0
- package/esm2020/lib/banners/esolve-banner-image-record.interface.mjs +2 -0
- package/esm2020/lib/banners/esolve-banner-image-set.interface.mjs +2 -0
- package/esm2020/lib/banners/esolve-banner-image-type.type.mjs +2 -0
- package/esm2020/lib/banners/esolve-banner-image.model.mjs +14 -0
- package/esm2020/lib/banners/esolve-banner-link.interface.mjs +2 -0
- package/esm2020/lib/banners/esolve-banner-record.interface.mjs +2 -0
- package/esm2020/lib/banners/esolve-banner-type.type.mjs +2 -0
- package/esm2020/lib/banners/esolve-banner.model.mjs +25 -0
- package/esm2020/lib/banners/esolve-banner.service.mjs +5 -5
- package/esm2020/lib/banners/index.mjs +14 -0
- package/esm2020/lib/cart/esolve-cart-item-record.interface.mjs +2 -0
- package/esm2020/lib/cart/esolve-cart-item-response.interface.mjs +2 -0
- package/esm2020/lib/cart/esolve-cart-item.model.mjs +24 -0
- package/esm2020/lib/cart/esolve-cart-set-action.type.mjs +2 -0
- package/esm2020/lib/cart/esolve-cart-set-item.interface.mjs +2 -0
- package/esm2020/lib/cart/esolve-cart-stock-item.model.mjs +49 -0
- package/esm2020/lib/cart/esolve-cart-totals-record.interface.mjs +2 -0
- package/esm2020/lib/cart/esolve-cart-totals.model.mjs +39 -0
- package/esm2020/lib/cart/esolve-cart.service.mjs +8 -8
- package/esm2020/lib/cart/esolve-cart.type.mjs +2 -0
- package/esm2020/lib/cart/esolve-checkout-response.interface.mjs +2 -0
- package/esm2020/lib/cart/esolve-checkout-result.model.mjs +9 -0
- package/esm2020/lib/cart/esolve-tracking-code.interface.mjs +2 -0
- package/esm2020/lib/cart/index.mjs +14 -0
- package/esm2020/lib/category-tree/esolve-category-identifier.interface.mjs +2 -0
- package/esm2020/lib/category-tree/esolve-category-record.interface.mjs +2 -0
- package/esm2020/lib/category-tree/esolve-category-tree-item-options.interface.mjs +2 -0
- package/esm2020/lib/category-tree/esolve-category-tree-item-record.interface.mjs +2 -0
- package/esm2020/lib/category-tree/esolve-category-tree-item.model.mjs +48 -0
- package/esm2020/lib/category-tree/esolve-category-tree.service.mjs +3 -3
- package/esm2020/lib/category-tree/esolve-subcategory-record.interface.mjs +2 -0
- package/esm2020/lib/category-tree/index.mjs +7 -0
- package/esm2020/lib/esolve-connect-config.constant.mjs +3 -0
- package/esm2020/lib/esolve-connect.config.mjs +2 -10
- package/esm2020/lib/locations/esolve-location-address.model.mjs +13 -0
- package/esm2020/lib/locations/esolve-location-contact-info.model.mjs +9 -0
- package/esm2020/lib/locations/esolve-location-pobox-address.model.mjs +8 -0
- package/esm2020/lib/locations/esolve-location-record.interface.mjs +2 -0
- package/esm2020/lib/locations/esolve-location-trading-day.model.mjs +7 -0
- package/esm2020/lib/locations/esolve-location-trading-times.model.mjs +14 -0
- package/esm2020/lib/locations/esolve-location.model.mjs +43 -0
- package/esm2020/lib/locations/esolve-locations.service.mjs +4 -4
- package/esm2020/lib/locations/index.mjs +9 -0
- package/esm2020/lib/manufacturers/esolve-manufacturer-options.interface.mjs +2 -0
- package/esm2020/lib/manufacturers/esolve-manufacturer-record.interface.mjs +2 -0
- package/esm2020/lib/manufacturers/esolve-manufacturer.model.mjs +41 -0
- package/esm2020/lib/manufacturers/esolve-manufacturers.service.mjs +73 -0
- package/esm2020/lib/manufacturers/index.mjs +5 -0
- package/esm2020/lib/media/esolve-heading-record.interface.mjs +2 -0
- package/esm2020/lib/media/esolve-heading.model.mjs +7 -0
- package/esm2020/lib/media/esolve-media-article.model.mjs +16 -0
- package/esm2020/lib/media/esolve-media-record.interface.mjs +2 -0
- package/esm2020/lib/media/esolve-media.service.mjs +6 -6
- package/esm2020/lib/media/index.mjs +6 -0
- package/esm2020/lib/menu/esolve-menu-item.model.mjs +9 -0
- package/esm2020/lib/menu/esolve-menu-tree-record.interface.mjs +2 -0
- package/esm2020/lib/menu/esolve-menu.service.mjs +3 -3
- package/esm2020/lib/menu/esolve-menu.type.mjs +2 -0
- package/esm2020/lib/menu/index.mjs +5 -0
- package/esm2020/lib/news/esolve-news-article-author-record.interface.mjs +2 -0
- package/esm2020/lib/news/esolve-news-article-author.model.mjs +9 -0
- package/esm2020/lib/news/esolve-news-article-list.model.mjs +8 -0
- package/esm2020/lib/news/esolve-news-article-options.interface.mjs +2 -0
- package/esm2020/lib/news/esolve-news-article-record.interface.mjs +2 -0
- package/esm2020/lib/news/esolve-news-article.model.mjs +20 -0
- package/esm2020/lib/news/esolve-news-group-record.interface.mjs +2 -0
- package/esm2020/lib/news/esolve-news-group.model.mjs +9 -0
- package/esm2020/lib/news/esolve-news-manufacturer-record.interface.mjs +2 -0
- package/esm2020/lib/news/esolve-news-range-record.interface.mjs +2 -0
- package/esm2020/lib/news/esolve-news.service.mjs +6 -6
- package/esm2020/lib/news/index.mjs +12 -0
- package/esm2020/lib/ng-esolve-connect.module.mjs +2 -2
- package/esm2020/lib/payment/esolve-banking-details.model.mjs +11 -0
- package/esm2020/lib/payment/esolve-card-data.interface.mjs +2 -0
- package/esm2020/lib/payment/esolve-integration-type.type.mjs +2 -0
- package/esm2020/lib/payment/esolve-paygate-form-input.interface.mjs +2 -0
- package/esm2020/lib/payment/esolve-payment-method-options.interface.mjs +2 -0
- package/esm2020/lib/payment/esolve-payment-method-record.interface.mjs +2 -0
- package/esm2020/lib/payment/esolve-payment-method.model.mjs +36 -0
- package/esm2020/lib/payment/esolve-payment-response.interface.mjs +2 -0
- package/esm2020/lib/payment/esolve-payment-result.model.mjs +22 -0
- package/esm2020/lib/payment/esolve-payment-set-body.interface.mjs +2 -0
- package/esm2020/lib/payment/esolve-payment.service.mjs +13 -13
- package/esm2020/lib/payment/esolve-vault-item-result.model.mjs +20 -0
- package/esm2020/lib/payment/esolve-vault-item.model.mjs +20 -0
- package/esm2020/lib/payment/esolve-vault-record.interface.mjs +2 -0
- package/esm2020/lib/payment/esolve-vault-response.interface.mjs +2 -0
- package/esm2020/lib/payment/index.mjs +15 -0
- package/esm2020/lib/ranges/esolve-range-options.interface.mjs +2 -0
- package/esm2020/lib/ranges/esolve-range-record.interface.mjs +2 -0
- package/esm2020/lib/ranges/esolve-range.model.mjs +33 -0
- package/esm2020/lib/ranges/esolve-ranges.service.mjs +76 -0
- package/esm2020/lib/ranges/index.mjs +5 -0
- package/esm2020/lib/session/esolve-session-data.interface.mjs +2 -0
- package/esm2020/lib/session/esolve-session.model.mjs +28 -0
- package/esm2020/lib/session/esolve-session.service.mjs +3 -3
- package/esm2020/lib/session/esolve-stored-session.interface.mjs +2 -0
- package/esm2020/lib/session/index.mjs +5 -0
- package/esm2020/lib/shared/assets/esolve-asset-type.type.mjs +2 -0
- package/esm2020/lib/shared/assets/esolve-linked-asset-record.interface.mjs +2 -0
- package/esm2020/lib/shared/assets/esolve-linked-asset.model.mjs +10 -0
- package/esm2020/lib/shared/assets/index.mjs +4 -0
- package/esm2020/lib/shared/custom-fields/esolve-custom-fields.type.mjs +2 -0
- package/esm2020/lib/shared/custom-fields/esolve-generic-custom-fields.interface.mjs +2 -0
- package/esm2020/lib/shared/custom-fields/index.mjs +3 -0
- package/esm2020/lib/shared/errors/esolve-error-handler.service.mjs +91 -0
- package/esm2020/lib/shared/errors/esolve-http-error.model.mjs +8 -0
- package/esm2020/lib/shared/esolve-list.model.mjs +9 -0
- package/esm2020/lib/shared/esolve-result.model.mjs +8 -0
- package/esm2020/lib/shared/esolve-url-target.type.mjs +2 -0
- package/esm2020/lib/shared/geocoder/esolve-geocode-address-record.interface.mjs +2 -0
- package/esm2020/lib/shared/geocoder/esolve-geocode-address-result.model.mjs +12 -0
- package/esm2020/lib/shared/geocoder/esolve-geocode-coords-result.model.mjs +7 -0
- package/esm2020/lib/shared/geocoder/esolve-geocode-result-record.interface.mjs +2 -0
- package/esm2020/lib/shared/geocoder/esolve-geocode-result.model.mjs +11 -0
- package/esm2020/lib/shared/geocoder/esolve-geocoder.service.mjs +5 -5
- package/esm2020/lib/shared/geocoder/index.mjs +7 -0
- package/esm2020/lib/shared/response/esolve-delete-response.interface.mjs +2 -0
- package/esm2020/lib/shared/response/esolve-delete-result.interface.mjs +2 -0
- package/esm2020/lib/shared/response/esolve-get-response.interface.mjs +2 -0
- package/esm2020/lib/shared/response/esolve-post-response-item.interface.mjs +2 -0
- package/esm2020/lib/shared/response/esolve-post-response-status.interface.mjs +2 -0
- package/esm2020/lib/shared/response/esolve-response-handler.service.mjs +34 -0
- package/esm2020/lib/shared/response/esolve-response-log-item.interface.mjs +2 -0
- package/esm2020/lib/shared/response/esolve-response-result.model.mjs +9 -0
- package/esm2020/lib/shared/response/esolve-response.interface.mjs +2 -0
- package/esm2020/lib/shared/response/esolve-set-response.interface.mjs +2 -0
- package/esm2020/lib/shared/response/index.mjs +11 -0
- package/esm2020/lib/shared/seo/esolve-seo-details.interface.mjs +2 -0
- package/esm2020/lib/shared/seo/esolve-seo-info.model.mjs +11 -0
- package/esm2020/lib/shared/seo/esolve-seo.service.mjs +15 -15
- package/esm2020/lib/shared/seo/index.mjs +4 -0
- package/esm2020/lib/shipping/esolve-insurance-calculation-method.type.mjs +2 -0
- package/esm2020/lib/shipping/esolve-shipping-calculation-method.type.mjs +2 -0
- package/esm2020/lib/shipping/esolve-shipping-cost-record.interface.mjs +2 -0
- package/esm2020/lib/shipping/esolve-shipping-cost.model.mjs +12 -0
- package/esm2020/lib/shipping/esolve-shipping-location.type.mjs +2 -0
- package/esm2020/lib/shipping/esolve-shipping-method-options.interface.mjs +2 -0
- package/esm2020/lib/shipping/esolve-shipping-method-record.interface.mjs +2 -0
- package/esm2020/lib/shipping/esolve-shipping-method.model.mjs +33 -0
- package/esm2020/lib/shipping/esolve-shipping-totals.model.mjs +8 -0
- package/esm2020/lib/shipping/esolve-shipping.service.mjs +17 -6
- package/esm2020/lib/shipping/index.mjs +11 -0
- package/esm2020/lib/specials/esolve-special-image-collection-record.interface.mjs +2 -0
- package/esm2020/lib/specials/esolve-special-image-collection.model.mjs +25 -0
- package/esm2020/lib/specials/esolve-special-image-record.interface.mjs +2 -0
- package/esm2020/lib/specials/esolve-special-image.model.mjs +9 -0
- package/esm2020/lib/specials/esolve-special-options.interface.mjs +2 -0
- package/esm2020/lib/specials/esolve-special-record.interface.mjs +2 -0
- package/esm2020/lib/specials/esolve-special.model.mjs +38 -0
- package/esm2020/lib/specials/esolve-specials.service.mjs +82 -0
- package/esm2020/lib/specials/index.mjs +9 -0
- package/esm2020/lib/stock/esolve-linked-stock-item.model.mjs +9 -0
- package/esm2020/lib/stock/esolve-linked-stock-record.interface.mjs +2 -0
- package/esm2020/lib/stock/esolve-recipe-item-record.interface.mjs +2 -0
- package/esm2020/lib/stock/esolve-recipe-stock-item.model.mjs +9 -0
- package/esm2020/lib/stock/esolve-stock-badge-record.interface.mjs +2 -0
- package/esm2020/lib/stock/esolve-stock-badge.model.mjs +11 -0
- package/esm2020/lib/stock/esolve-stock-base-record.interface.mjs +2 -0
- package/esm2020/lib/stock/esolve-stock-group-item-record.interface.mjs +2 -0
- package/esm2020/lib/stock/esolve-stock-group-item.model.mjs +7 -0
- package/esm2020/lib/stock/esolve-stock-group.model.mjs +13 -0
- package/esm2020/lib/stock/esolve-stock-item-base.model.mjs +154 -0
- package/esm2020/lib/stock/esolve-stock-item-list.model.mjs +11 -0
- package/esm2020/lib/stock/esolve-stock-item-options.interface.mjs +2 -0
- package/esm2020/lib/stock/esolve-stock-item.model.mjs +17 -0
- package/esm2020/lib/stock/esolve-stock-linked-category-record.interface.mjs +2 -0
- package/esm2020/lib/stock/esolve-stock-price.model.mjs +43 -0
- package/esm2020/lib/stock/esolve-stock-record.interface.mjs +2 -0
- package/esm2020/lib/stock/esolve-stock.service.mjs +75 -25
- package/esm2020/lib/stock/index.mjs +19 -0
- package/esm2020/lib/tags/esolve-tag-record.interface.mjs +2 -0
- package/esm2020/lib/tags/esolve-tag.model.mjs +9 -0
- package/esm2020/lib/tags/index.mjs +3 -0
- package/esm2020/lib/topics/esolve-topic-record.interface.mjs +2 -0
- package/esm2020/lib/topics/esolve-topic.model.mjs +9 -0
- package/esm2020/lib/topics/esolve-topic.service.mjs +4 -4
- package/esm2020/lib/topics/index.mjs +4 -0
- package/esm2020/public-api.mjs +33 -78
- package/fesm2015/esolve-ng-esolve-connect.mjs +1341 -817
- package/fesm2015/esolve-ng-esolve-connect.mjs.map +1 -1
- package/fesm2020/esolve-ng-esolve-connect.mjs +1275 -760
- package/fesm2020/esolve-ng-esolve-connect.mjs.map +1 -1
- package/lib/account/{esolve-address-record.d.ts → address/esolve-address-record.interface.d.ts} +1 -1
- package/lib/account/{esolve-address-response.d.ts → address/esolve-address-response.interface.d.ts} +2 -2
- package/lib/account/{esolve-address-result.d.ts → address/esolve-address-result.model.d.ts} +3 -3
- package/lib/account/{esolve-address-set-data.d.ts → address/esolve-address-set-data.interface.d.ts} +1 -1
- package/lib/account/address/esolve-address-type.type.d.ts +1 -0
- package/lib/account/{esolve-address.d.ts → address/esolve-address.model.d.ts} +1 -1
- package/lib/account/address/index.d.ts +6 -0
- package/lib/account/esolve-account.service.d.ts +9 -17
- package/lib/account/{esolve-geocode-result.d.ts → esolve-geocode-result.interface.d.ts} +0 -0
- package/lib/account/esolve-location-update-result.model.d.ts +5 -0
- package/lib/account/index.d.ts +6 -0
- package/lib/account/password/esolve-change-password-result.model.d.ts +5 -0
- package/lib/account/password/esolve-forgot-password-get-result.interface.d.ts +3 -0
- package/lib/account/{esolve-forgot-password-response.d.ts → password/esolve-forgot-password-response.interface.d.ts} +2 -2
- package/lib/account/{esolve-reset-password-result.d.ts → password/esolve-reset-password-result.model.d.ts} +2 -2
- package/lib/account/password/index.d.ts +4 -0
- package/lib/account/{esolve-registration-data.d.ts → registration/esolve-registration-data.interface.d.ts} +0 -0
- package/lib/account/{esolve-registration-post-response-item.d.ts → registration/esolve-registration-post-response-item.interface.d.ts} +2 -2
- package/lib/account/{esolve-registration-result.d.ts → registration/esolve-registration-result.model.d.ts} +2 -2
- package/lib/account/registration/index.d.ts +3 -0
- package/lib/account/transaction/esolve-transaction-address.model.d.ts +15 -0
- package/lib/account/transaction/esolve-transaction-client-record.interface.d.ts +10 -0
- package/lib/account/transaction/esolve-transaction-client.model.d.ts +11 -0
- package/lib/account/transaction/esolve-transaction-item-price.model.d.ts +35 -0
- package/lib/account/transaction/esolve-transaction-item-record.interface.d.ts +16 -0
- package/lib/account/transaction/esolve-transaction-item.model.d.ts +11 -0
- package/lib/account/transaction/esolve-transaction-list.model.d.ts +4 -0
- package/lib/account/transaction/esolve-transaction-location-record.interface.d.ts +3 -0
- package/lib/account/transaction/esolve-transaction-location.model.d.ts +3 -0
- package/lib/account/{esolve-transaction-options.d.ts → transaction/esolve-transaction-options.interface.d.ts} +1 -1
- package/lib/account/transaction/esolve-transaction-payment-method-record.interface.d.ts +7 -0
- package/lib/account/transaction/esolve-transaction-payment-method.model.d.ts +8 -0
- package/lib/account/transaction/esolve-transaction-record.interface.d.ts +51 -0
- package/lib/account/transaction/esolve-transaction-shipping-method-record.interface.d.ts +9 -0
- package/lib/account/transaction/esolve-transaction-shipping-method.model.d.ts +10 -0
- package/lib/account/transaction/esolve-transaction-type.type.d.ts +1 -0
- package/lib/account/transaction/esolve-transaction-user-record.interface.d.ts +8 -0
- package/lib/account/transaction/esolve-transaction-user.model.d.ts +9 -0
- package/lib/account/transaction/esolve-transaction.model.d.ts +38 -0
- package/lib/account/transaction/index.d.ts +19 -0
- package/lib/account/user-account/esolve-user-account-business.model.d.ts +7 -0
- package/lib/account/user-account/esolve-user-account-contact.model.d.ts +6 -0
- package/lib/account/{esolve-user-account-data.d.ts → user-account/esolve-user-account-data.interface.d.ts} +0 -0
- package/lib/account/{esolve-user-account-record.d.ts → user-account/esolve-user-account-record.interface.d.ts} +0 -0
- package/lib/account/user-account/esolve-user-account-result.model.d.ts +5 -0
- package/lib/account/{esolve-user-account.d.ts → user-account/esolve-user-account.model.d.ts} +2 -13
- package/lib/account/user-account/index.d.ts +6 -0
- package/lib/auth/esolve-auth-check-data.interface.d.ts +3 -0
- package/lib/auth/esolve-auth-check-response.interface.d.ts +4 -0
- package/lib/auth/esolve-auth-data.interface.d.ts +5 -0
- package/lib/auth/esolve-auth-get-data.interface.d.ts +3 -0
- package/lib/auth/esolve-auth-get-response.interface.d.ts +4 -0
- package/lib/auth/esolve-auth-response-data.type.d.ts +3 -0
- package/lib/auth/esolve-auth-response.interface.d.ts +7 -0
- package/lib/auth/esolve-auth-result.type.d.ts +3 -0
- package/lib/auth/esolve-auth.service.d.ts +3 -3
- package/lib/auth/{esolve-login-post-response-item.d.ts → esolve-login-post-response-item.interface.d.ts} +2 -2
- package/lib/auth/index.d.ts +3 -0
- package/lib/banners/esolve-banner-image-hotspot-coords.interface.d.ts +4 -0
- package/lib/banners/{esolve-banner-image-hotspot-record.d.ts → esolve-banner-image-hotspot-record.interface.d.ts} +2 -2
- package/lib/banners/{esolve-banner-image-hotspot.d.ts → esolve-banner-image-hotspot.model.d.ts} +2 -5
- package/lib/banners/{esolve-banner-image-record.d.ts → esolve-banner-image-record.interface.d.ts} +2 -2
- package/lib/banners/esolve-banner-image-set.interface.d.ts +6 -0
- package/lib/banners/esolve-banner-image-type.type.d.ts +1 -0
- package/lib/banners/{esolve-banner-image.d.ts → esolve-banner-image.model.d.ts} +2 -2
- package/lib/banners/esolve-banner-link.interface.d.ts +5 -0
- package/lib/banners/{esolve-banner-record.d.ts → esolve-banner-record.interface.d.ts} +3 -2
- package/lib/banners/esolve-banner-type.type.d.ts +1 -0
- package/lib/banners/{esolve-banner.d.ts → esolve-banner.model.d.ts} +4 -7
- package/lib/banners/esolve-banner.service.d.ts +1 -1
- package/lib/banners/index.d.ts +9 -0
- package/lib/cart/{esolve-cart-item-record.d.ts → esolve-cart-item-record.interface.d.ts} +0 -0
- package/lib/cart/{esolve-cart-item-response.d.ts → esolve-cart-item-response.interface.d.ts} +1 -1
- package/lib/cart/{esolve-cart-item.d.ts → esolve-cart-item.model.d.ts} +1 -9
- package/lib/cart/esolve-cart-set-action.type.d.ts +1 -0
- package/lib/cart/esolve-cart-set-item.interface.d.ts +7 -0
- package/lib/cart/{esolve-cart-stock-item.d.ts → esolve-cart-stock-item.model.d.ts} +2 -1
- package/lib/cart/{esolve-cart-totals-record.d.ts → esolve-cart-totals-record.interface.d.ts} +0 -0
- package/lib/cart/{esolve-cart-totals.d.ts → esolve-cart-totals.model.d.ts} +4 -4
- package/lib/cart/esolve-cart.service.d.ts +8 -6
- package/lib/cart/esolve-cart.type.d.ts +2 -0
- package/lib/cart/esolve-checkout-response.interface.d.ts +4 -0
- package/lib/cart/esolve-checkout-result.model.d.ts +6 -0
- package/lib/cart/esolve-tracking-code.interface.d.ts +3 -0
- package/lib/cart/index.d.ts +13 -0
- package/lib/category-tree/esolve-category-identifier.interface.d.ts +4 -0
- package/lib/category-tree/esolve-category-record.interface.d.ts +18 -0
- package/lib/category-tree/{esolve-category-tree-item-options.d.ts → esolve-category-tree-item-options.interface.d.ts} +0 -0
- package/lib/category-tree/esolve-category-tree-item-record.interface.d.ts +16 -0
- package/lib/category-tree/{esolve-category-tree-item.d.ts → esolve-category-tree-item.model.d.ts} +7 -6
- package/lib/category-tree/esolve-category-tree.service.d.ts +2 -2
- package/lib/category-tree/esolve-subcategory-record.interface.d.ts +18 -0
- package/lib/category-tree/index.d.ts +6 -0
- package/lib/esolve-connect-config.constant.d.ts +3 -0
- package/lib/esolve-connect.config.d.ts +0 -2
- package/lib/locations/esolve-location-address.model.d.ts +11 -0
- package/lib/locations/esolve-location-contact-info.model.d.ts +7 -0
- package/lib/locations/esolve-location-pobox-address.model.d.ts +6 -0
- package/lib/locations/{esolve-stock-location-record.d.ts → esolve-location-record.interface.d.ts} +1 -1
- package/lib/locations/esolve-location-trading-day.model.d.ts +5 -0
- package/lib/locations/esolve-location-trading-times.model.d.ts +13 -0
- package/lib/locations/esolve-location.model.d.ts +23 -0
- package/lib/locations/esolve-locations.service.d.ts +2 -2
- package/lib/locations/index.d.ts +8 -0
- package/lib/manufacturers/esolve-manufacturer-options.interface.d.ts +3 -0
- package/lib/manufacturers/esolve-manufacturer-record.interface.d.ts +16 -0
- package/lib/manufacturers/esolve-manufacturer.model.d.ts +21 -0
- package/lib/manufacturers/esolve-manufacturers.service.d.ts +19 -0
- package/lib/manufacturers/index.d.ts +4 -0
- package/lib/media/{esolve-heading-record.d.ts → esolve-heading-record.interface.d.ts} +0 -0
- package/lib/media/{esolve-heading.d.ts → esolve-heading.model.d.ts} +0 -0
- package/lib/media/esolve-media-article.model.d.ts +14 -0
- package/lib/media/{esolve-media-record.d.ts → esolve-media-record.interface.d.ts} +2 -2
- package/lib/media/esolve-media.service.d.ts +2 -2
- package/lib/media/index.d.ts +5 -0
- package/lib/menu/{esolve-menu-item.d.ts → esolve-menu-item.model.d.ts} +0 -1
- package/lib/menu/{esolve-menu-tree-record.d.ts → esolve-menu-tree-record.interface.d.ts} +0 -0
- package/lib/menu/esolve-menu.service.d.ts +1 -1
- package/lib/menu/esolve-menu.type.d.ts +2 -0
- package/lib/menu/index.d.ts +4 -0
- package/lib/news/{esolve-news-article-author-record.d.ts → esolve-news-article-author-record.interface.d.ts} +0 -0
- package/lib/news/{esolve-news-article-author.d.ts → esolve-news-article-author.model.d.ts} +0 -0
- package/lib/news/{esolve-news-article-list.d.ts → esolve-news-article-list.model.d.ts} +1 -1
- package/lib/news/{esolve-news-article-options.d.ts → esolve-news-article-options.interface.d.ts} +0 -0
- package/lib/news/{esolve-news-article-record.d.ts → esolve-news-article-record.interface.d.ts} +4 -4
- package/lib/news/{esolve-news-article.d.ts → esolve-news-article.model.d.ts} +5 -4
- package/lib/news/{esolve-news-group-record.d.ts → esolve-news-group-record.interface.d.ts} +0 -0
- package/lib/news/{esolve-news-group.d.ts → esolve-news-group.model.d.ts} +0 -0
- package/lib/news/{esolve-news-manufacturer-record.d.ts → esolve-news-manufacturer-record.interface.d.ts} +0 -0
- package/lib/news/{esolve-news-range-record.d.ts → esolve-news-range-record.interface.d.ts} +0 -0
- package/lib/news/esolve-news.service.d.ts +4 -4
- package/lib/news/index.d.ts +11 -0
- package/lib/payment/esolve-banking-details.model.d.ts +9 -0
- package/lib/payment/{esolve-card-data.d.ts → esolve-card-data.interface.d.ts} +0 -0
- package/lib/payment/esolve-integration-type.type.d.ts +1 -0
- package/lib/payment/esolve-paygate-form-input.interface.d.ts +4 -0
- package/lib/payment/{esolve-payment-method-options.d.ts → esolve-payment-method-options.interface.d.ts} +0 -0
- package/lib/payment/{esolve-payment-method-record.d.ts → esolve-payment-method-record.interface.d.ts} +1 -1
- package/lib/payment/{esolve-payment-method.d.ts → esolve-payment-method.model.d.ts} +3 -10
- package/lib/payment/{esolve-payment-response.d.ts → esolve-payment-response.interface.d.ts} +2 -5
- package/lib/payment/{esolve-payment-result.d.ts → esolve-payment-result.model.d.ts} +3 -2
- package/lib/payment/esolve-payment-set-body.interface.d.ts +13 -0
- package/lib/payment/esolve-payment.service.d.ts +9 -9
- package/lib/payment/{esolve-vault-item-result.d.ts → esolve-vault-item-result.model.d.ts} +2 -2
- package/lib/payment/{esolve-vault-item.d.ts → esolve-vault-item.model.d.ts} +0 -0
- package/lib/payment/{esolve-vault-record.d.ts → esolve-vault-record.interface.d.ts} +0 -0
- package/lib/payment/{esolve-vault-response.d.ts → esolve-vault-response.interface.d.ts} +1 -1
- package/lib/payment/index.d.ts +14 -0
- package/lib/ranges/esolve-range-options.interface.d.ts +4 -0
- package/lib/ranges/esolve-range-record.interface.d.ts +17 -0
- package/lib/ranges/esolve-range.model.d.ts +19 -0
- package/lib/ranges/esolve-ranges.service.d.ts +19 -0
- package/lib/ranges/index.d.ts +4 -0
- package/lib/session/{esolve-session-data.d.ts → esolve-session-data.interface.d.ts} +0 -0
- package/lib/session/{esolve-session.d.ts → esolve-session.model.d.ts} +1 -1
- package/lib/session/esolve-session.service.d.ts +1 -1
- package/lib/session/{esolve-stored-session.d.ts → esolve-stored-session.interface.d.ts} +1 -1
- package/lib/session/index.d.ts +4 -0
- package/lib/shared/assets/esolve-asset-type.type.d.ts +1 -0
- package/lib/shared/assets/esolve-linked-asset-record.interface.d.ts +8 -0
- package/lib/shared/assets/esolve-linked-asset.model.d.ts +10 -0
- package/lib/shared/assets/index.d.ts +3 -0
- package/lib/shared/custom-fields/esolve-custom-fields.type.d.ts +4 -0
- package/lib/shared/custom-fields/esolve-generic-custom-fields.interface.d.ts +3 -0
- package/lib/shared/custom-fields/index.d.ts +2 -0
- package/lib/shared/{error-handler → errors}/esolve-error-handler.service.d.ts +1 -1
- package/lib/shared/{error-handler/esolve-http-error.d.ts → errors/esolve-http-error.model.d.ts} +0 -0
- package/lib/shared/{esolve-list.d.ts → esolve-list.model.d.ts} +0 -0
- package/lib/shared/{esolve-result.d.ts → esolve-result.model.d.ts} +0 -0
- package/lib/shared/{esolve-url-target.d.ts → esolve-url-target.type.d.ts} +0 -0
- package/lib/shared/geocoder/{esolve-geocode-address-record.d.ts → esolve-geocode-address-record.interface.d.ts} +0 -0
- package/lib/shared/geocoder/{esolve-geocode-address-result.d.ts → esolve-geocode-address-result.model.d.ts} +0 -0
- package/lib/shared/geocoder/{esolve-geocode-coords-result.d.ts → esolve-geocode-coords-result.model.d.ts} +0 -0
- package/lib/shared/geocoder/{esolve-geocode-result-record.d.ts → esolve-geocode-result-record.interface.d.ts} +1 -1
- package/lib/shared/geocoder/{esolve-geocode-result.d.ts → esolve-geocode-result.model.d.ts} +2 -2
- package/lib/shared/geocoder/esolve-geocoder.service.d.ts +1 -1
- package/lib/shared/geocoder/index.d.ts +6 -0
- package/lib/shared/response/esolve-delete-response.interface.d.ts +5 -0
- package/lib/shared/response/esolve-delete-result.interface.d.ts +6 -0
- package/lib/shared/response/esolve-get-response.interface.d.ts +4 -0
- package/lib/shared/response/esolve-post-response-item.interface.d.ts +9 -0
- package/lib/shared/response/esolve-post-response-status.interface.d.ts +5 -0
- package/lib/shared/{response-handler → response}/esolve-response-handler.service.d.ts +5 -2
- package/lib/shared/response/esolve-response-log-item.interface.d.ts +5 -0
- package/lib/shared/{response-handler/esolve-response-result.d.ts → response/esolve-response-result.model.d.ts} +2 -1
- package/lib/shared/response/esolve-response.interface.d.ts +8 -0
- package/lib/shared/response/esolve-set-response.interface.d.ts +5 -0
- package/lib/shared/response/index.d.ts +10 -0
- package/lib/shared/seo/esolve-seo-details.interface.d.ts +4 -0
- package/lib/shared/seo/{esolve-seo-info.d.ts → esolve-seo-info.model.d.ts} +1 -4
- package/lib/shared/seo/esolve-seo.service.d.ts +6 -6
- package/lib/shared/seo/index.d.ts +3 -0
- package/lib/shipping/esolve-insurance-calculation-method.type.d.ts +1 -0
- package/lib/shipping/esolve-shipping-calculation-method.type.d.ts +1 -0
- package/lib/shipping/{esolve-shipping-cost-record.d.ts → esolve-shipping-cost-record.interface.d.ts} +0 -0
- package/lib/shipping/{esolve-shipping-cost.d.ts → esolve-shipping-cost.model.d.ts} +1 -7
- package/lib/shipping/esolve-shipping-location.type.d.ts +1 -0
- package/lib/shipping/{esolve-shipping-method-options.d.ts → esolve-shipping-method-options.interface.d.ts} +0 -0
- package/lib/shipping/{esolve-shipping-method-record.d.ts → esolve-shipping-method-record.interface.d.ts} +6 -6
- package/lib/shipping/esolve-shipping-method.model.d.ts +34 -0
- package/lib/shipping/esolve-shipping-totals.model.d.ts +6 -0
- package/lib/shipping/esolve-shipping.service.d.ts +16 -5
- package/lib/shipping/index.d.ts +10 -0
- package/lib/specials/esolve-special-image-collection-record.interface.d.ts +6 -0
- package/lib/specials/esolve-special-image-collection.model.d.ts +9 -0
- package/lib/specials/esolve-special-image-record.interface.d.ts +6 -0
- package/lib/specials/esolve-special-image.model.d.ts +8 -0
- package/lib/specials/esolve-special-options.interface.d.ts +6 -0
- package/lib/specials/esolve-special-record.interface.d.ts +24 -0
- package/lib/specials/esolve-special.model.d.ts +21 -0
- package/lib/specials/esolve-specials.service.d.ts +19 -0
- package/lib/specials/index.d.ts +8 -0
- package/lib/stock/esolve-linked-stock-item.model.d.ts +7 -0
- package/lib/stock/esolve-linked-stock-record.interface.d.ts +7 -0
- package/lib/stock/esolve-recipe-item-record.interface.d.ts +7 -0
- package/lib/stock/esolve-recipe-stock-item.model.d.ts +7 -0
- package/lib/stock/{esolve-stock-badge-record.d.ts → esolve-stock-badge-record.interface.d.ts} +0 -0
- package/lib/stock/{esolve-stock-badge.d.ts → esolve-stock-badge.model.d.ts} +0 -0
- package/lib/stock/{esolve-stock-record.d.ts → esolve-stock-base-record.interface.d.ts} +10 -13
- package/lib/stock/esolve-stock-group-item-record.interface.d.ts +4 -0
- package/lib/stock/esolve-stock-group-item.model.d.ts +6 -0
- package/lib/stock/esolve-stock-group.model.d.ts +8 -0
- package/lib/stock/esolve-stock-item-base.model.d.ts +98 -0
- package/lib/stock/esolve-stock-item-list.model.d.ts +11 -0
- package/lib/stock/{esolve-stock-item-options.d.ts → esolve-stock-item-options.interface.d.ts} +3 -0
- package/lib/stock/esolve-stock-item.model.d.ts +14 -0
- package/lib/stock/esolve-stock-linked-category-record.interface.d.ts +5 -0
- package/lib/stock/{esolve-stock-price.d.ts → esolve-stock-price.model.d.ts} +10 -10
- package/lib/stock/esolve-stock-record.interface.d.ts +9 -0
- package/lib/stock/esolve-stock.service.d.ts +41 -10
- package/lib/stock/index.d.ts +18 -0
- package/lib/tags/{esolve-tag-record.d.ts → esolve-tag-record.interface.d.ts} +0 -0
- package/lib/tags/{esolve-tag.d.ts → esolve-tag.model.d.ts} +0 -0
- package/lib/tags/index.d.ts +2 -0
- package/lib/topics/{esolve-topic-record.d.ts → esolve-topic-record.interface.d.ts} +0 -0
- package/lib/topics/{esolve-topic.d.ts → esolve-topic.model.d.ts} +0 -0
- package/lib/topics/esolve-topic.service.d.ts +1 -1
- package/lib/topics/index.d.ts +3 -0
- package/package.json +1 -1
- package/public-api.d.ts +26 -75
- package/esm2020/lib/account/esolve-address-record.mjs +0 -2
- package/esm2020/lib/account/esolve-address-response.mjs +0 -2
- package/esm2020/lib/account/esolve-address-result.mjs +0 -11
- package/esm2020/lib/account/esolve-address-set-data.mjs +0 -2
- package/esm2020/lib/account/esolve-address.mjs +0 -19
- package/esm2020/lib/account/esolve-change-password-result.mjs +0 -8
- package/esm2020/lib/account/esolve-forgot-password-response.mjs +0 -2
- package/esm2020/lib/account/esolve-geocode-result.mjs +0 -2
- package/esm2020/lib/account/esolve-location-update-result.mjs +0 -8
- package/esm2020/lib/account/esolve-registration-data.mjs +0 -2
- package/esm2020/lib/account/esolve-registration-post-response-item.mjs +0 -2
- package/esm2020/lib/account/esolve-registration-result.mjs +0 -12
- package/esm2020/lib/account/esolve-reset-password-result.mjs +0 -11
- package/esm2020/lib/account/esolve-transaction-list.mjs +0 -4
- package/esm2020/lib/account/esolve-transaction-options.mjs +0 -2
- package/esm2020/lib/account/esolve-transaction-record.mjs +0 -2
- package/esm2020/lib/account/esolve-transaction.mjs +0 -145
- package/esm2020/lib/account/esolve-user-account-data.mjs +0 -2
- package/esm2020/lib/account/esolve-user-account-record.mjs +0 -2
- package/esm2020/lib/account/esolve-user-account-result.mjs +0 -9
- package/esm2020/lib/account/esolve-user-account.mjs +0 -29
- package/esm2020/lib/auth/esolve-auth-response.mjs +0 -4
- package/esm2020/lib/auth/esolve-login-post-response-item.mjs +0 -2
- package/esm2020/lib/banners/esolve-banner-image-hotspot-record.mjs +0 -2
- package/esm2020/lib/banners/esolve-banner-image-hotspot.mjs +0 -9
- package/esm2020/lib/banners/esolve-banner-image-record.mjs +0 -2
- package/esm2020/lib/banners/esolve-banner-image.mjs +0 -14
- package/esm2020/lib/banners/esolve-banner-record.mjs +0 -2
- package/esm2020/lib/banners/esolve-banner-type.mjs +0 -2
- package/esm2020/lib/banners/esolve-banner.mjs +0 -25
- package/esm2020/lib/cart/esolve-cart-item-record.mjs +0 -2
- package/esm2020/lib/cart/esolve-cart-item-response.mjs +0 -2
- package/esm2020/lib/cart/esolve-cart-item.mjs +0 -24
- package/esm2020/lib/cart/esolve-cart-stock-item.mjs +0 -43
- package/esm2020/lib/cart/esolve-cart-totals-record.mjs +0 -2
- package/esm2020/lib/cart/esolve-cart-totals.mjs +0 -39
- package/esm2020/lib/cart/esolve-checkout-result.mjs +0 -9
- package/esm2020/lib/cart/esolve-checkout.mjs +0 -2
- package/esm2020/lib/category-tree/esolve-category-tree-item-options.mjs +0 -2
- package/esm2020/lib/category-tree/esolve-category-tree-item-record.mjs +0 -2
- package/esm2020/lib/category-tree/esolve-category-tree-item.mjs +0 -48
- package/esm2020/lib/locations/esolve-stock-location-record.mjs +0 -2
- package/esm2020/lib/locations/esolve-stock-location.mjs +0 -76
- package/esm2020/lib/media/esolve-heading-record.mjs +0 -2
- package/esm2020/lib/media/esolve-heading.mjs +0 -7
- package/esm2020/lib/media/esolve-media-article.mjs +0 -16
- package/esm2020/lib/media/esolve-media-record.mjs +0 -2
- package/esm2020/lib/menu/esolve-menu-item.mjs +0 -9
- package/esm2020/lib/menu/esolve-menu-tree-record.mjs +0 -2
- package/esm2020/lib/news/esolve-news-article-author-record.mjs +0 -2
- package/esm2020/lib/news/esolve-news-article-author.mjs +0 -9
- package/esm2020/lib/news/esolve-news-article-list.mjs +0 -8
- package/esm2020/lib/news/esolve-news-article-options.mjs +0 -2
- package/esm2020/lib/news/esolve-news-article-record.mjs +0 -2
- package/esm2020/lib/news/esolve-news-article.mjs +0 -20
- package/esm2020/lib/news/esolve-news-group-record.mjs +0 -2
- package/esm2020/lib/news/esolve-news-group.mjs +0 -9
- package/esm2020/lib/news/esolve-news-manufacturer-record.mjs +0 -2
- package/esm2020/lib/news/esolve-news-range-record.mjs +0 -2
- package/esm2020/lib/payment/esolve-card-data.mjs +0 -2
- package/esm2020/lib/payment/esolve-payment-method-options.mjs +0 -2
- package/esm2020/lib/payment/esolve-payment-method-record.mjs +0 -2
- package/esm2020/lib/payment/esolve-payment-method.mjs +0 -45
- package/esm2020/lib/payment/esolve-payment-response.mjs +0 -2
- package/esm2020/lib/payment/esolve-payment-result.mjs +0 -22
- package/esm2020/lib/payment/esolve-vault-item-result.mjs +0 -20
- package/esm2020/lib/payment/esolve-vault-item.mjs +0 -20
- package/esm2020/lib/payment/esolve-vault-record.mjs +0 -2
- package/esm2020/lib/payment/esolve-vault-response.mjs +0 -2
- package/esm2020/lib/session/esolve-session-data.mjs +0 -2
- package/esm2020/lib/session/esolve-session.mjs +0 -28
- package/esm2020/lib/session/esolve-stored-session.mjs +0 -2
- package/esm2020/lib/shared/error-handler/esolve-error-handler.service.mjs +0 -91
- package/esm2020/lib/shared/error-handler/esolve-http-error.mjs +0 -8
- package/esm2020/lib/shared/esolve-list.mjs +0 -9
- package/esm2020/lib/shared/esolve-response.mjs +0 -2
- package/esm2020/lib/shared/esolve-result.mjs +0 -8
- package/esm2020/lib/shared/esolve-url-target.mjs +0 -2
- package/esm2020/lib/shared/geocoder/esolve-geocode-address-record.mjs +0 -2
- package/esm2020/lib/shared/geocoder/esolve-geocode-address-result.mjs +0 -12
- package/esm2020/lib/shared/geocoder/esolve-geocode-coords-result.mjs +0 -7
- package/esm2020/lib/shared/geocoder/esolve-geocode-result-record.mjs +0 -2
- package/esm2020/lib/shared/geocoder/esolve-geocode-result.mjs +0 -11
- package/esm2020/lib/shared/response-handler/esolve-response-handler.service.mjs +0 -32
- package/esm2020/lib/shared/response-handler/esolve-response-result.mjs +0 -9
- package/esm2020/lib/shared/seo/esolve-seo-info.mjs +0 -11
- package/esm2020/lib/shipping/esolve-shipping-cost-record.mjs +0 -2
- package/esm2020/lib/shipping/esolve-shipping-cost.mjs +0 -18
- package/esm2020/lib/shipping/esolve-shipping-method-options.mjs +0 -2
- package/esm2020/lib/shipping/esolve-shipping-method-record.mjs +0 -2
- package/esm2020/lib/shipping/esolve-shipping-method.mjs +0 -33
- package/esm2020/lib/stock/esolve-stock-badge-record.mjs +0 -2
- package/esm2020/lib/stock/esolve-stock-badge.mjs +0 -11
- package/esm2020/lib/stock/esolve-stock-item-list.mjs +0 -11
- package/esm2020/lib/stock/esolve-stock-item-options.mjs +0 -2
- package/esm2020/lib/stock/esolve-stock-item.mjs +0 -135
- package/esm2020/lib/stock/esolve-stock-price.mjs +0 -43
- package/esm2020/lib/stock/esolve-stock-record.mjs +0 -2
- package/esm2020/lib/tags/esolve-tag-record.mjs +0 -2
- package/esm2020/lib/tags/esolve-tag.mjs +0 -9
- package/esm2020/lib/topics/esolve-topic-record.mjs +0 -2
- package/esm2020/lib/topics/esolve-topic.mjs +0 -9
- package/lib/account/esolve-change-password-result.d.ts +0 -6
- package/lib/account/esolve-location-update-result.d.ts +0 -6
- package/lib/account/esolve-transaction-list.d.ts +0 -4
- package/lib/account/esolve-transaction-record.d.ts +0 -98
- package/lib/account/esolve-transaction.d.ts +0 -132
- package/lib/account/esolve-user-account-result.d.ts +0 -6
- package/lib/auth/esolve-auth-response.d.ts +0 -25
- package/lib/banners/esolve-banner-type.d.ts +0 -7
- package/lib/cart/esolve-checkout-result.d.ts +0 -6
- package/lib/cart/esolve-checkout.d.ts +0 -7
- package/lib/category-tree/esolve-category-tree-item-record.d.ts +0 -51
- package/lib/locations/esolve-stock-location.d.ts +0 -60
- package/lib/media/esolve-media-article.d.ts +0 -13
- package/lib/shared/esolve-response.d.ts +0 -40
- package/lib/shipping/esolve-shipping-method.d.ts +0 -32
- package/lib/stock/esolve-stock-item-list.d.ts +0 -10
- package/lib/stock/esolve-stock-item.d.ts +0 -172
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export class EsolveShippingMethod {
|
|
2
|
-
constructor(id, carrier_name, delivery_category, description, location, pricing, link_to_carrier_website, days_to_deliver, shipping_cost_calculation_method, insurance_cost_calculation_method, insurance_cost_percentage, metric_factor, allow_immediate_payment_processing, allow_postal_address, allow_physical_address, client_to_collect, is_default, location_id, use_zones, min_distance, max_distance, shipping_surge_condition, shipping_surge_percentage, sort_priority, shipping_group, shipping_slot_identifier, shipping_slot_delay_hours, image_url) {
|
|
3
|
-
this.id = id;
|
|
4
|
-
this.carrier_name = carrier_name;
|
|
5
|
-
this.delivery_category = delivery_category;
|
|
6
|
-
this.description = description;
|
|
7
|
-
this.location = location;
|
|
8
|
-
this.pricing = pricing;
|
|
9
|
-
this.link_to_carrier_website = link_to_carrier_website;
|
|
10
|
-
this.days_to_deliver = days_to_deliver;
|
|
11
|
-
this.shipping_cost_calculation_method = shipping_cost_calculation_method;
|
|
12
|
-
this.insurance_cost_calculation_method = insurance_cost_calculation_method;
|
|
13
|
-
this.insurance_cost_percentage = insurance_cost_percentage;
|
|
14
|
-
this.metric_factor = metric_factor;
|
|
15
|
-
this.allow_immediate_payment_processing = allow_immediate_payment_processing;
|
|
16
|
-
this.allow_postal_address = allow_postal_address;
|
|
17
|
-
this.allow_physical_address = allow_physical_address;
|
|
18
|
-
this.client_to_collect = client_to_collect;
|
|
19
|
-
this.is_default = is_default;
|
|
20
|
-
this.location_id = location_id;
|
|
21
|
-
this.use_zones = use_zones;
|
|
22
|
-
this.min_distance = min_distance;
|
|
23
|
-
this.max_distance = max_distance;
|
|
24
|
-
this.shipping_surge_condition = shipping_surge_condition;
|
|
25
|
-
this.shipping_surge_percentage = shipping_surge_percentage;
|
|
26
|
-
this.sort_priority = sort_priority;
|
|
27
|
-
this.shipping_group = shipping_group;
|
|
28
|
-
this.shipping_slot_identifier = shipping_slot_identifier;
|
|
29
|
-
this.shipping_slot_delay_hours = shipping_slot_delay_hours;
|
|
30
|
-
this.image_url = image_url;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXNvbHZlLXNoaXBwaW5nLW1ldGhvZC5qcyIsInNvdXJjZVJvb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yBpc19kZWZhdWx0OiBib29sZWFuLFxyXG4gICAgICAgIHB1YmxpYyBsb2NhdGlvbl9pZDogbnVtYmVyLFxyXG4gICAgICAgIHB1YmxpYyB1c2Vfem9uZXM6IGJvb2xlYW4sXHJcbiAgICAgICAgcHVibGljIG1pbl9kaXN0YW5jZTogbnVtYmVyLFxyXG4gICAgICAgIHB1YmxpYyBtYXhfZGlzdGFuY2U6IG51bWJlcixcclxuICAgICAgICBwdWJsaWMgc2hpcHBpbmdfc3VyZ2VfY29uZGl0aW9uOiBudW1iZXIsXHJcbiAgICAgICAgcHVibGljIHNoaXBwaW5nX3N1cmdlX3BlcmNlbnRhZ2U6IG51bWJlcixcclxuICAgICAgICBwdWJsaWMgc29ydF9wcmlvcml0eTogbnVtYmVyLFxyXG4gICAgICAgIHB1YmxpYyBzaGlwcGluZ19ncm91cDogc3RyaW5nLFxyXG4gICAgICAgIHB1YmxpYyBzaGlwcGluZ19zbG90X2lkZW50aWZpZXI6IHN0cmluZyxcclxuICAgICAgICBwdWJsaWMgc2hpcHBpbmdfc2xvdF9kZWxheV9ob3VyczogbnVtYmVyLFxyXG4gICAgICAgIHB1YmxpYyBpbWFnZV91cmw6IHN0cmluZ1xyXG4gICAgKSB7IH1cclxufVxyXG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXNvbHZlLXN0b2NrLWJhZGdlLXJlY29yZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLWVzb2x2ZS1jb25uZWN0L3NyYy9saWIvc3RvY2svZXNvbHZlLXN0b2NrLWJhZGdlLXJlY29yZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBFc29sdmVTdG9ja0JhZGdlUmVjb3JkIHtcclxuICAgIGlkOiBudW1iZXI7XHJcbiAgICB0ZXh0OiBzdHJpbmc7XHJcbiAgICBpZGVudGlmaWVyOiBzdHJpbmc7XHJcbiAgICBmb250X2NvbG91cjogc3RyaW5nO1xyXG4gICAgYmFkZ2VfY29sb3VyOiBzdHJpbmc7XHJcbiAgICBzb3J0X3ByaW9yaXR5OiBudW1iZXI7XHJcbn1cclxuIl19
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class EsolveStockBadge {
|
|
2
|
-
constructor(id, text, identifier, font_colour, badge_colour, sort_priority) {
|
|
3
|
-
this.id = id;
|
|
4
|
-
this.text = text;
|
|
5
|
-
this.identifier = identifier;
|
|
6
|
-
this.font_colour = font_colour;
|
|
7
|
-
this.badge_colour = badge_colour;
|
|
8
|
-
this.sort_priority = sort_priority;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXNvbHZlLXN0b2NrLWJhZGdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctZXNvbHZlLWNvbm5lY3Qvc3JjL2xpYi9zdG9jay9lc29sdmUtc3RvY2stYmFkZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLGdCQUFnQjtJQUN6QixZQUNXLEVBQVUsRUFDVixJQUFZLEVBQ1osVUFBa0IsRUFDbEIsV0FBbUIsRUFDbkIsWUFBb0IsRUFDcEIsYUFBcUI7UUFMckIsT0FBRSxHQUFGLEVBQUUsQ0FBUTtRQUNWLFNBQUksR0FBSixJQUFJLENBQVE7UUFDWixlQUFVLEdBQVYsVUFBVSxDQUFRO1FBQ2xCLGdCQUFXLEdBQVgsV0FBVyxDQUFRO1FBQ25CLGlCQUFZLEdBQVosWUFBWSxDQUFRO1FBQ3BCLGtCQUFhLEdBQWIsYUFBYSxDQUFRO0lBQzVCLENBQUM7Q0FDUiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBFc29sdmVTdG9ja0JhZGdlIHtcclxuICAgIGNvbnN0cnVjdG9yKFxyXG4gICAgICAgIHB1YmxpYyBpZDogbnVtYmVyLFxyXG4gICAgICAgIHB1YmxpYyB0ZXh0OiBzdHJpbmcsXHJcbiAgICAgICAgcHVibGljIGlkZW50aWZpZXI6IHN0cmluZyxcclxuICAgICAgICBwdWJsaWMgZm9udF9jb2xvdXI6IHN0cmluZyxcclxuICAgICAgICBwdWJsaWMgYmFkZ2VfY29sb3VyOiBzdHJpbmcsXHJcbiAgICAgICAgcHVibGljIHNvcnRfcHJpb3JpdHk6IG51bWJlclxyXG4gICAgKSB7IH1cclxufVxyXG4iXX0=
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stock item object list
|
|
3
|
-
*/
|
|
4
|
-
export class EsolveStockItemList {
|
|
5
|
-
constructor(stock_items, total, page) {
|
|
6
|
-
this.stock_items = stock_items;
|
|
7
|
-
this.total = total;
|
|
8
|
-
this.page = page;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXNvbHZlLXN0b2NrLWl0ZW0tbGlzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLWVzb2x2ZS1jb25uZWN0L3NyYy9saWIvc3RvY2svZXNvbHZlLXN0b2NrLWl0ZW0tbGlzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTs7R0FFRztBQUNILE1BQU0sT0FBTyxtQkFBbUI7SUFDNUIsWUFDVyxXQUE4QixFQUM5QixLQUFhLEVBQ2IsSUFBWTtRQUZaLGdCQUFXLEdBQVgsV0FBVyxDQUFtQjt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lzX2FjdGl2ZT86IGJvb2xlYW47XHJcbiAgICBkaXNwbGF5X29ubHk/OiBib29sZWFuO1xyXG4gICAgdGFnX2lkX2xpc3Q/OiBudW1iZXJbXTtcclxuICAgIHRvcGljX2lkX2xpc3Q/OiBudW1iZXJbXTtcclxuICAgIHNlYXJjaF9waHJhc2U/OiBzdHJpbmc7XHJcbn1cclxuIl19
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { EsolveSEOInfo } from '../shared/seo/esolve-seo-info';
|
|
2
|
-
/**
|
|
3
|
-
* Stock Item object. It can be a service or a product (physical and/or digital).
|
|
4
|
-
*/
|
|
5
|
-
export class EsolveStockItem {
|
|
6
|
-
/**
|
|
7
|
-
* Constructs an instance of EsolveStockItem
|
|
8
|
-
*
|
|
9
|
-
* @param id eSolve Generated ID
|
|
10
|
-
* @param code Code identifying the stock item
|
|
11
|
-
* @param name Name of the stock item
|
|
12
|
-
* @param sef_name Search engine friendly name
|
|
13
|
-
* @param description Short description of stock item
|
|
14
|
-
* @param active Active state
|
|
15
|
-
* @param featured Featured state
|
|
16
|
-
* @param image_name Image filename
|
|
17
|
-
* @param price Default price
|
|
18
|
-
* @param tags Linked tags
|
|
19
|
-
* @param topics Linked topics
|
|
20
|
-
* @param seo_title SEO page title
|
|
21
|
-
* @param seo_keywords SEO page keywords
|
|
22
|
-
*/
|
|
23
|
-
constructor(
|
|
24
|
-
/**
|
|
25
|
-
* eSolve Generated ID
|
|
26
|
-
*/
|
|
27
|
-
id,
|
|
28
|
-
/**
|
|
29
|
-
* Code identifying the stock item
|
|
30
|
-
*/
|
|
31
|
-
code,
|
|
32
|
-
/**
|
|
33
|
-
* Name of the stock item
|
|
34
|
-
*/
|
|
35
|
-
name,
|
|
36
|
-
/**
|
|
37
|
-
* Search engine friendly name
|
|
38
|
-
*/
|
|
39
|
-
sef_name,
|
|
40
|
-
/**
|
|
41
|
-
* Short description of stock item
|
|
42
|
-
*/
|
|
43
|
-
description,
|
|
44
|
-
/**
|
|
45
|
-
* Full description of stock item
|
|
46
|
-
*/
|
|
47
|
-
extended_description,
|
|
48
|
-
/**
|
|
49
|
-
* Active state
|
|
50
|
-
*/
|
|
51
|
-
active,
|
|
52
|
-
/**
|
|
53
|
-
* Featured state
|
|
54
|
-
*/
|
|
55
|
-
featured,
|
|
56
|
-
/**
|
|
57
|
-
* Image filename
|
|
58
|
-
*/
|
|
59
|
-
image_name,
|
|
60
|
-
/**
|
|
61
|
-
* Default price
|
|
62
|
-
*/
|
|
63
|
-
price,
|
|
64
|
-
/**
|
|
65
|
-
* Linked tags
|
|
66
|
-
*/
|
|
67
|
-
tags,
|
|
68
|
-
/**
|
|
69
|
-
* Linked topics
|
|
70
|
-
*/
|
|
71
|
-
topics,
|
|
72
|
-
/**
|
|
73
|
-
* Stock badges
|
|
74
|
-
*/
|
|
75
|
-
badges,
|
|
76
|
-
/**
|
|
77
|
-
* ID of default category linked to the stock item
|
|
78
|
-
*/
|
|
79
|
-
category_id,
|
|
80
|
-
/**
|
|
81
|
-
* ID of default subcategory linked to the stock item
|
|
82
|
-
*/
|
|
83
|
-
subcategory_id, seo_title = '', seo_keywords = '') {
|
|
84
|
-
this.id = id;
|
|
85
|
-
this.code = code;
|
|
86
|
-
this.name = name;
|
|
87
|
-
this.sef_name = sef_name;
|
|
88
|
-
this.description = description;
|
|
89
|
-
this.extended_description = extended_description;
|
|
90
|
-
this.active = active;
|
|
91
|
-
this.featured = featured;
|
|
92
|
-
this.image_name = image_name;
|
|
93
|
-
this.price = price;
|
|
94
|
-
this.tags = tags;
|
|
95
|
-
this.topics = topics;
|
|
96
|
-
this.badges = badges;
|
|
97
|
-
this.category_id = category_id;
|
|
98
|
-
this.subcategory_id = subcategory_id;
|
|
99
|
-
if (seo_title.trim() === '') {
|
|
100
|
-
seo_title = this.name;
|
|
101
|
-
}
|
|
102
|
-
this.seo_details = new EsolveSEOInfo(seo_title, description, seo_keywords);
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Path to tiny stock image
|
|
106
|
-
*/
|
|
107
|
-
get tiny_image_src() {
|
|
108
|
-
return '/images/' + (this.image_name ? 'stock/tiny/' + this.image_name : 'no_image.jpg');
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Path to thumbnail stock image
|
|
112
|
-
*/
|
|
113
|
-
get thumbnail_image_src() {
|
|
114
|
-
return '/images/' + (this.image_name ? 'stock/thumb/' + this.image_name : 'no_image.jpg');
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Path to small stock image
|
|
118
|
-
*/
|
|
119
|
-
get small_image_src() {
|
|
120
|
-
return '/images/' + (this.image_name ? 'stock/small/' + this.image_name : 'no_image.jpg');
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Path to big stock image
|
|
124
|
-
*/
|
|
125
|
-
get big_image_src() {
|
|
126
|
-
return '/images/' + (this.image_name ? 'stock/big/' + this.image_name : 'no_image.jpg');
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Path to original stock image
|
|
130
|
-
*/
|
|
131
|
-
get original_image_src() {
|
|
132
|
-
return '/images/' + (this.image_name ? 'stock/original/' + this.image_name : 'no_image.jpg');
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXNvbHZlLXN0b2NrLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy1lc29sdmUtY29ubmVjdC9zcmMvbGliL3N0b2NrL2Vzb2x2ZS1zdG9jay1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBb0IsYUFBYSxFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFNaEY7O0dBRUc7QUFDSCxNQUFNLE9BQU8sZUFBZTtJQU14Qjs7Ozs7Ozs7Ozs7Ozs7OztPQW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HJcbiAgICAgICAgLyoqXHJcbiAgICAgICAgICogTmFtZSBvZiB0aGUgc3RvY2sgaXRlbVxyXG4gICAgICAgICAqL1xyXG4gICAgICAgIHB1YmxpYyBuYW1lOiBzdHJpbmcsXHJcblxyXG4gICAgICAgIC8qKlxyXG4gICAgICAgICAqIFNlYXJjaCBlbmdpbmUgZnJpZW5kbHkgbmFtZVxyXG4gICAgICAgICAqL1xyXG4gICAgICAgIHB1YmxpYyBzZWZfbmFtZTogc3RyaW5nLFxyXG5cclxuICAgICAgICAvKipcclxuICAgICAgICAgKiBTaG9ydCBkZXNjcmlwdGlvbiBvZiBzdG9jayBpdGVtXHJcbiAgICAgICAgICovXHJcbiAgICAgICAgcHVibGljIGRlc2NyaXB0aW9uOiBzdHJpbmcsXHJcblxyXG4gICAgICAgIC8qKlxyXG4gICAgICAgICAqIEZ1bGwgZGVzY3JpcHRpb24gb2Ygc3RvY2sgaXRlbVxyXG4gICAgICAgICAqL1xyXG4gICAgICAgIHB1YmxpYyBleHRlbmRlZF9kZXNjcmlwdGlvbjogc3RyaW5nLFxyXG5cclxuICAgICAgICAvKipcclxuICAgICAgICAgKiBBY3RpdmUgc3RhdGVcclxuICAgICAgICAgKi9cclxuICAgICAgICBwdWJsaWMgYWN0aXZlOiBib29sZWFuLFxyXG5cclxuICAgICAgICAvKipcclxuICAgICAgICAgKiBGZWF0dXJlZCBzdGF0ZVxyXG4gICAgICAgICAqL1xyXG4gICAgICAgIHB1YmxpYyBmZWF0dXJlZDogYm9vbGVhbixcclxuXHJcbiAgICAgICAgLyoqXHJcbiAgICAgICAgICogSW1hZ2UgZmlsZW5hbWVcclxuICAgICAgICAgKi9cclxuICAgICAgICBwcml2YXRlIGltYWdlX25hbWU6IHN0cmluZyxcclxuXHJcbiAgICAgICAgLyoqXHJcbiAgICAgICAgICogRGVmYXVsdCBwcmljZVxyXG4gICAgICAgICAqL1xyXG4gICAgICAgIHB1YmxpYyBwcmljZTogRXNvbHZlU3RvY2tQcmljZSxcclxuXHJcbiAgICAgICAgLyoqXHJcbiAgICAgICAgICogTGlua2VkIHRhZ3NcclxuICAgICAgICAgKi9cclxuICAgICAgICBwdWJsaWMgdGFnczogRXNvbHZlVGFnW10sXHJcblxyXG4gICAgICAgIC8qKlxyXG4gICAgICAgICAqIExpbmtlZCB0b3BpY3NcclxuICAgICAgICAgKi9cclxuICAgICAgICBwdWJsaWMgdG9waWNzOiBFc29sdmVUb3BpY1tdLFxyXG5cclxuICAgICAgICAvKipcclxuICAgICAgICAgKiBTdG9jayBiYWRnZXNcclxuICAgICAgICAgKi9cclxuICAgICAgICBwdWJsaWMgYmFkZ2VzOiBFc29sdmVTdG9ja0JhZGdlW10sXHJcblxyXG4gICAgICAgIC8qKlxyXG4gICAgICAgICAqIElEIG9mIGRlZmF1bHQgY2F0ZWdvcnkgbGlua2VkIHRvIHRoZSBzdG9jayBpdGVtXHJcbiAgICAgICAgICovXHJcbiAgICAgICAgcHVibGljIGNhdGVnb3J5X2lkOiBzdHJpbmcsXHJcblxyXG4gICAgICAgIC8qKlxyXG4gICAgICAgICAqIElEIG9mIGRlZmF1bHQgc3ViY2F0ZWdvcnkgbGlua2VkIHRvIHRoZSBzdG9jayBpdGVtXHJcbiAgICAgICAgICovXHJcbiAgICAgICAgcHVibGljIHN1YmNhdGVnb3J5X2lkOiBudW1iZXIsXHJcbiAgICAgICAgc2VvX3RpdGxlOiBzdHJpbmcgPSAnJyxcclxuICAgICAgICBzZW9fa2V5d29yZHM6IHN0cmluZyA9ICcnXHJcbiAgICApIHtcclxuICAgICAgICBpZiAoc2VvX3RpdGxlLnRyaW0oKSA9PT0gJycpIHtcclxuICAgICAgICAgICAgc2VvX3RpdGxlID0gdGhpcy5uYW1lO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgdGhpcy5zZW9fZGV0YWlscyA9IG5ldyBFc29sdmVTRU9JbmZvKHNlb190aXRsZSwgZGVzY3JpcHRpb24sIHNlb19rZXl3b3Jkcyk7XHJcbiAg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J25vX2ltYWdlLmpwZycpO1xyXG4gICAgfVxyXG5cclxuICAgIC8qKlxyXG4gICAgICogUGF0aCB0byBvcmlnaW5hbCBzdG9jayBpbWFnZVxyXG4gICAgICovXHJcbiAgICBnZXQgb3JpZ2luYWxfaW1hZ2Vfc3JjKCk6IHN0cmluZyB7XHJcbiAgICAgICAgcmV0dXJuICcvaW1hZ2VzLycgKyAodGhpcy5pbWFnZV9uYW1lID8gJ3N0b2NrL29yaWdpbmFsLycgKyB0aGlzLmltYWdlX25hbWUgOiAnbm9faW1hZ2UuanBnJyk7XHJcbiAgICB9XHJcbn1cclxuIl19
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Price of eSolve stock item
|
|
3
|
-
*/
|
|
4
|
-
export class EsolveStockPrice {
|
|
5
|
-
/**
|
|
6
|
-
* Create stock price instance
|
|
7
|
-
* @param base_price Price without tax
|
|
8
|
-
* @param base_price_with_tax Price with tax
|
|
9
|
-
* @param sell_price Price without tax and with discounts applied if appilcable
|
|
10
|
-
* @param sell_price_with_tax Price with tax and with discounts applied if appilcable
|
|
11
|
-
*/
|
|
12
|
-
constructor(
|
|
13
|
-
/**
|
|
14
|
-
* Price without tax
|
|
15
|
-
*/
|
|
16
|
-
base_price,
|
|
17
|
-
/**
|
|
18
|
-
* Price with tax
|
|
19
|
-
*/
|
|
20
|
-
base_price_with_tax,
|
|
21
|
-
/**
|
|
22
|
-
* Price without tax and with discounts applied if appilcable
|
|
23
|
-
*/
|
|
24
|
-
sell_price,
|
|
25
|
-
/**
|
|
26
|
-
* Price with tax and with discounts applied if appilcable
|
|
27
|
-
*/
|
|
28
|
-
sell_price_with_tax) {
|
|
29
|
-
this.base_price = base_price;
|
|
30
|
-
this.base_price_with_tax = base_price_with_tax;
|
|
31
|
-
this.sell_price = sell_price;
|
|
32
|
-
this.sell_price_with_tax = sell_price_with_tax;
|
|
33
|
-
if ((this.base_price === 0) && (this.sell_price > 0)) {
|
|
34
|
-
this.base_price = this.sell_price;
|
|
35
|
-
this.base_price_with_tax = this.sell_price_with_tax;
|
|
36
|
-
}
|
|
37
|
-
else if ((this.base_price > 0) && (this.sell_price === 0)) {
|
|
38
|
-
this.sell_price = this.base_price;
|
|
39
|
-
this.sell_price_with_tax = this.base_price_with_tax;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXNvbHZlLXN0b2NrLXByaWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctZXNvbHZlLWNvbm5lY3Qvc3JjL2xpYi9zdG9jay9lc29sdmUtc3RvY2stcHJpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxNQUFNLE9BQU8sZ0JBQWdCO0lBQ3pCOzs7Ozs7T0FNRztJQUNIO0lBQ0k7O09BRUc7SUFDSSxVQUFrQjtJQUV6Qjs7T0FFRztJQUNJLG1CQUEyQjtJQUVsQzs7T0FFRztJQUNJLFVBQWtCO0lBRXpCOztPQUVHO0lBQ0ksbUJBQTJCO1FBZjNCLGVBQVUsR0FBVixVQUFVLENBQVE7UUFLbEIsd0JBQW1CLEdBQW5CLG1CQUFtQixDQUFRO1FBSzNCLGVBQVUsR0FBVixVQUFVLENBQVE7UUFLbEIsd0JBQW1CLEdBQW5CLG1CQUFtQixDQUFRO1FBRWxDLElBQUksQ0FBQyxJQUFJLENBQUMsVUFBVSxLQUFLLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLFVBQVUsR0FBRyxDQUFDLENBQUMsRUFBRTtZQUNsRCxJQUFJLENBQUMsVUFBVSxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUM7WUFDbEMsSUFBSSxDQUFDLG1CQUFtQixHQUFHLElBQUksQ0FBQyxtQkFBbUIsQ0FB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biAgICAgICAgICovXHJcbiAgICAgICAgcHVibGljIGJhc2VfcHJpY2Vfd2l0aF90YXg6IG51bWJlcixcclxuXHJcbiAgICAgICAgLyoqXHJcbiAgICAgICAgICogUHJpY2Ugd2l0aG91dCB0YXggYW5kIHdpdGggZGlzY291bnRzIGFwcGxpZWQgaWYgYXBwaWxjYWJsZVxyXG4gICAgICAgICAqL1xyXG4gICAgICAgIHB1YmxpYyBzZWxsX3ByaWNlOiBudW1iZXIsXHJcblxyXG4gICAgICAgIC8qKlxyXG4gICAgICAgICAqIFByaWNlIHdpdGggdGF4IGFuZCB3aXRoIGRpc2NvdW50cyBhcHBsaWVkIGlmIGFwcGlsY2FibGVcclxuICAgICAgICAgKi9cclxuICAgICAgICBwdWJsaWMgc2VsbF9wcmljZV93aXRoX3RheDogbnVtYmVyXHJcbiAgICApIHtcclxuICAgICAgICBpZiAoKHRoaXMuYmFzZV9wcmljZSA9PT0gMCkgJiYgKHRoaXMuc2VsbF9wcmljZSA+IDApKSB7XHJcbiAgICAgICAgICAgIHRoaXMuYmFzZV9wcmljZSA9IHRoaXMuc2VsbF9wcmljZTtcclxuICAgICAgICAgICAgdGhpcy5iYXNlX3ByaWNlX3dpdGhfdGF4ID0gdGhpcy5zZWxsX3ByaWNlX3dpdGhfdGF4O1xyXG4gICAgICAgIH0gZWxzZSBpZiAoKHRoaXMuYmFzZV9wcmljZSA+IDApICYmICh0aGlzLnNlbGxfcHJpY2UgPT09IDApKSB7XHJcbiAgICAgICAgICAgIHRoaXMuc2VsbF9wcmljZSA9IHRoaXMuYmFzZV9wcmljZTtcclxuICAgICAgICAgICAgdGhpcy5zZWxsX3ByaWNlX3dpdGhfdGF4ID0gdGhpcy5iYXNlX3ByaWNlX3dpdGhfdGF4O1xyXG4gICAgICAgIH1cclxuICAgIH1cclxufVxyXG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9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yXG4gICAgc3ViY2F0ZWdvcnlfaWQ6IG51bWJlcjtcclxuICAgIGlzX2RlZmF1bHQ6IGJvb2xlYW47XHJcbn1cclxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXNvbHZlLXRhZy1yZWNvcmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy1lc29sdmUtY29ubmVjdC9zcmMvbGliL3RhZ3MvZXNvbHZlLXRhZy1yZWNvcmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgRXNvbHZlVGFnUmVjb3JkIHtcclxuICAgIGlkOiBudW1iZXI7XHJcbiAgICB0YWdfcGhyYXNlOiBzdHJpbmc7XHJcbiAgICB0YWdfd2VpZ2h0OiBudW1iZXI7XHJcbiAgICBkZXNjcmlwdGlvbjogc3RyaW5nO1xyXG59XHJcbiJdfQ==
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export class EsolveTag {
|
|
2
|
-
constructor(id, tag_phrase, tag_weight, description) {
|
|
3
|
-
this.id = id;
|
|
4
|
-
this.tag_phrase = tag_phrase;
|
|
5
|
-
this.tag_weight = tag_weight;
|
|
6
|
-
this.description = description;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXNvbHZlLXRhZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLWVzb2x2ZS1jb25uZWN0L3NyYy9saWIvdGFncy9lc29sdmUtdGFnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0s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bn1cclxuIl19
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export class EsolveTopic {
|
|
2
|
-
constructor(id, name, short_description, sort_priority) {
|
|
3
|
-
this.id = id;
|
|
4
|
-
this.name = name;
|
|
5
|
-
this.short_description = short_description;
|
|
6
|
-
this.sort_priority = sort_priority;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXNvbHZlLXRvcGljLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctZXNvbHZlLWNvbm5lY3Qvc3JjL2xpYi90b3BpY3MvZXNvbHZlLXRvcGljLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxXQUFXO0lBQ3BCLFlBQ1csRUFBVSxFQUNWLElBQVksRUFDWixpQkFBeUIsRUFDekIsYUFBcUI7UUFIckIsT0FBRSxHQUFGLEVBQUUsQ0FBUTtRQUNWLFNBQUksR0FBSixJQUFJLENBQVE7UUFDWixzQkFBaUIsR0FBakIsaUJBQWlCLENBQVE7UUFDekIsa0JBQWEsR0FBYixhQUFhLENBQVE7SUFDNUIsQ0FBQztDQUNSIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEVzb2x2ZVRvcGljIHtcclxuICAgIGNvbnN0cnVjdG9yKFxyXG4gICAgICAgIHB1YmxpYyBpZDogbnVtYmVyLFxyXG4gICAgICAgIHB1YmxpYyBuYW1lOiBzdHJpbmcsXHJcbiAgICAgICAgcHVibGljIHNob3J0X2Rlc2NyaXB0aW9uOiBzdHJpbmcsXHJcbiAgICAgICAgcHVibGljIHNvcnRfcHJpb3JpdHk6IG51bWJlclxyXG4gICAgKSB7IH1cclxufVxyXG4iXX0=
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { EsolvePostResponseItem } from '../shared/esolve-response';
|
|
2
|
-
import { EsolveResponseResult } from '../shared/response-handler/esolve-response-result';
|
|
3
|
-
export declare class EsolveChangePasswordResult extends EsolveResponseResult {
|
|
4
|
-
password_updated: boolean;
|
|
5
|
-
constructor(response: EsolvePostResponseItem);
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { EsolvePostResponseItem } from '../shared/esolve-response';
|
|
2
|
-
import { EsolveResponseResult } from '../shared/response-handler/esolve-response-result';
|
|
3
|
-
export declare class EsolveLocationUpdateResult extends EsolveResponseResult {
|
|
4
|
-
location_updated: boolean;
|
|
5
|
-
constructor(response: EsolvePostResponseItem);
|
|
6
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { EsolveStockLocationRecord } from '../locations/esolve-stock-location-record';
|
|
2
|
-
import { EsolveAddressType } from './esolve-address-record';
|
|
3
|
-
import { EsolveTransactionType } from './esolve-transaction';
|
|
4
|
-
export interface EsolveTransactionItemRecord {
|
|
5
|
-
code: string;
|
|
6
|
-
name: string;
|
|
7
|
-
qty: number;
|
|
8
|
-
discount: number;
|
|
9
|
-
vat_rate: number;
|
|
10
|
-
price: number;
|
|
11
|
-
price_exclusive: number;
|
|
12
|
-
price_exclusive_after_discount: number;
|
|
13
|
-
price_inclusive: number;
|
|
14
|
-
price_inclusive_after_discount: number;
|
|
15
|
-
line_total_exclusive: number;
|
|
16
|
-
line_total_exclusive_after_discount: number;
|
|
17
|
-
line_total_inclusive: number;
|
|
18
|
-
line_total_inclusive_after_discount: number;
|
|
19
|
-
}
|
|
20
|
-
export interface EsolveTransactionClientRecord {
|
|
21
|
-
id: number;
|
|
22
|
-
company_name: string;
|
|
23
|
-
account: string;
|
|
24
|
-
branch_code: string;
|
|
25
|
-
firstname: string;
|
|
26
|
-
surname: string;
|
|
27
|
-
email: string;
|
|
28
|
-
contact_number: string;
|
|
29
|
-
}
|
|
30
|
-
export interface EsolveTransactionUserRecord {
|
|
31
|
-
id: number;
|
|
32
|
-
email: string;
|
|
33
|
-
firstname: string;
|
|
34
|
-
surname: string;
|
|
35
|
-
telnumber: string;
|
|
36
|
-
cellnumber: string;
|
|
37
|
-
}
|
|
38
|
-
export interface EsolveTransactionPaymentMethodRecord {
|
|
39
|
-
id: number;
|
|
40
|
-
paymethod_name: string;
|
|
41
|
-
description: string;
|
|
42
|
-
integration_type: string;
|
|
43
|
-
service_provider: string;
|
|
44
|
-
}
|
|
45
|
-
export interface EsolveTransactionLocationRecord extends EsolveStockLocationRecord {
|
|
46
|
-
}
|
|
47
|
-
export interface EsolveTransactionShippingMethodRecord {
|
|
48
|
-
id: number;
|
|
49
|
-
carrier_name: string;
|
|
50
|
-
delivery_category: string;
|
|
51
|
-
location: string;
|
|
52
|
-
description: string;
|
|
53
|
-
pricing: string;
|
|
54
|
-
client_to_collect: boolean;
|
|
55
|
-
}
|
|
56
|
-
export interface EsolveTransactionRecord {
|
|
57
|
-
id: number;
|
|
58
|
-
transaction_type: EsolveTransactionType;
|
|
59
|
-
loyaltynumber: string;
|
|
60
|
-
status: string;
|
|
61
|
-
reps_id: number;
|
|
62
|
-
client: EsolveTransactionClientRecord | null;
|
|
63
|
-
user: EsolveTransactionUserRecord | null;
|
|
64
|
-
erp_identifier: string;
|
|
65
|
-
location_details: EsolveTransactionLocationRecord | null;
|
|
66
|
-
external_order_number: string;
|
|
67
|
-
external_invoice_number: string;
|
|
68
|
-
txdate: string;
|
|
69
|
-
txdate_timestamp: number;
|
|
70
|
-
expected_date: string;
|
|
71
|
-
expected_date_timestamp: number;
|
|
72
|
-
invoice_amount: number;
|
|
73
|
-
vat: number;
|
|
74
|
-
discount: number;
|
|
75
|
-
total: number;
|
|
76
|
-
shipping_total: number;
|
|
77
|
-
insurance_total: number;
|
|
78
|
-
payment: number;
|
|
79
|
-
payment_method: string;
|
|
80
|
-
payment_method_details: EsolveTransactionPaymentMethodRecord | null;
|
|
81
|
-
gateway_transaction_id: string;
|
|
82
|
-
payment_reference: string;
|
|
83
|
-
payment_description: string;
|
|
84
|
-
shipping_method: string;
|
|
85
|
-
shipping_method_details: EsolveTransactionShippingMethodRecord | null;
|
|
86
|
-
recipient: string;
|
|
87
|
-
address_type: EsolveAddressType;
|
|
88
|
-
address_description: string;
|
|
89
|
-
pobox: string;
|
|
90
|
-
street_number: string;
|
|
91
|
-
street: string;
|
|
92
|
-
suburb: string;
|
|
93
|
-
city: string;
|
|
94
|
-
province: string;
|
|
95
|
-
country: string;
|
|
96
|
-
postal_code: string;
|
|
97
|
-
transaction_items: EsolveTransactionItemRecord[];
|
|
98
|
-
}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { EsolveStockLocation } from '../locations/esolve-stock-location';
|
|
2
|
-
import { EsolveAddressType } from './esolve-address-record';
|
|
3
|
-
import { EsolveTransactionRecord } from './esolve-transaction-record';
|
|
4
|
-
export declare type EsolveTransactionType = 'order' | 'quote';
|
|
5
|
-
export declare class EsolveTransaction {
|
|
6
|
-
id: number;
|
|
7
|
-
type: EsolveTransactionType;
|
|
8
|
-
status: string;
|
|
9
|
-
loyalty_number: string;
|
|
10
|
-
external_order_number: string;
|
|
11
|
-
external_invoice_number: string;
|
|
12
|
-
date: Date;
|
|
13
|
-
expected_date: Date;
|
|
14
|
-
client?: EsolveTransactionClient;
|
|
15
|
-
user?: EsolveTransactionUser;
|
|
16
|
-
location?: EsolveTransactionLocation;
|
|
17
|
-
invoice_amount: number;
|
|
18
|
-
vat: number;
|
|
19
|
-
discount: number;
|
|
20
|
-
total: number;
|
|
21
|
-
shipping_total: number;
|
|
22
|
-
insurance_total: number;
|
|
23
|
-
payment_method?: EsolveTransactionPaymentMethod;
|
|
24
|
-
payment: number;
|
|
25
|
-
gateway_transaction_id: string;
|
|
26
|
-
payment_reference: string;
|
|
27
|
-
payment_description: string;
|
|
28
|
-
shipping_method?: EsolveTransactionShippingMethod;
|
|
29
|
-
address: EsolveTransactionAddress;
|
|
30
|
-
items: EsolveTransactionItem[];
|
|
31
|
-
constructor(record: EsolveTransactionRecord);
|
|
32
|
-
private parseTransactionItems;
|
|
33
|
-
}
|
|
34
|
-
export declare class EsolveTransactionClient {
|
|
35
|
-
id: number;
|
|
36
|
-
account: string;
|
|
37
|
-
company_name: string;
|
|
38
|
-
branch_code: string;
|
|
39
|
-
email: string;
|
|
40
|
-
first_name: string;
|
|
41
|
-
last_name: string;
|
|
42
|
-
contact_number: string;
|
|
43
|
-
constructor(id: number, account: string, company_name: string, branch_code: string, email: string, first_name: string, last_name: string, contact_number: string);
|
|
44
|
-
}
|
|
45
|
-
export declare class EsolveTransactionUser {
|
|
46
|
-
id: number;
|
|
47
|
-
email: string;
|
|
48
|
-
first_name: string;
|
|
49
|
-
last_name: string;
|
|
50
|
-
tel_number: string;
|
|
51
|
-
cell_number: string;
|
|
52
|
-
constructor(id: number, email: string, first_name: string, last_name: string, tel_number: string, cell_number: string);
|
|
53
|
-
}
|
|
54
|
-
export declare class EsolveTransactionLocation extends EsolveStockLocation {
|
|
55
|
-
}
|
|
56
|
-
export declare class EsolveTransactionPaymentMethod {
|
|
57
|
-
id: number;
|
|
58
|
-
name: string;
|
|
59
|
-
description: string;
|
|
60
|
-
integration_type: string;
|
|
61
|
-
service_provider: string;
|
|
62
|
-
constructor(id: number, name: string, description: string, integration_type: string, service_provider: string);
|
|
63
|
-
}
|
|
64
|
-
export declare class EsolveTransactionShippingMethod {
|
|
65
|
-
id: number;
|
|
66
|
-
name: string;
|
|
67
|
-
delivery_category: string;
|
|
68
|
-
location: string;
|
|
69
|
-
description: string;
|
|
70
|
-
pricing: string;
|
|
71
|
-
client_to_collect: boolean;
|
|
72
|
-
constructor(id: number, name: string, delivery_category: string, location: string, description: string, pricing: string, client_to_collect: boolean);
|
|
73
|
-
}
|
|
74
|
-
export declare class EsolveTransactionAddress {
|
|
75
|
-
recipient: string;
|
|
76
|
-
address_type: EsolveAddressType;
|
|
77
|
-
address_description: string;
|
|
78
|
-
street_number: string;
|
|
79
|
-
street: string;
|
|
80
|
-
suburb: string;
|
|
81
|
-
city: string;
|
|
82
|
-
province: string;
|
|
83
|
-
country: string;
|
|
84
|
-
postal_code: string;
|
|
85
|
-
pobox: string;
|
|
86
|
-
constructor(recipient: string, address_type: EsolveAddressType, address_description: string, street_number: string, street: string, suburb: string, city: string, province: string, country: string, postal_code: string, pobox: string);
|
|
87
|
-
}
|
|
88
|
-
export declare class EsolveTransactionItem {
|
|
89
|
-
code: string;
|
|
90
|
-
name: string;
|
|
91
|
-
qty: number;
|
|
92
|
-
discount: number;
|
|
93
|
-
vat_rate: number;
|
|
94
|
-
price: EsolveTransactionItemPrice;
|
|
95
|
-
line_total: EsolveTransactionItemPrice;
|
|
96
|
-
constructor(code: string, name: string, qty: number, discount: number, vat_rate: number, price: EsolveTransactionItemPrice, line_total: EsolveTransactionItemPrice);
|
|
97
|
-
}
|
|
98
|
-
export declare class EsolveTransactionItemPrice {
|
|
99
|
-
/**
|
|
100
|
-
* Price without tax
|
|
101
|
-
*/
|
|
102
|
-
price: number;
|
|
103
|
-
/**
|
|
104
|
-
* Price with tax
|
|
105
|
-
*/
|
|
106
|
-
price_with_tax: number;
|
|
107
|
-
/**
|
|
108
|
-
* Price without tax and with discounts applied if appilcable
|
|
109
|
-
*/
|
|
110
|
-
price_discounted: number;
|
|
111
|
-
/**
|
|
112
|
-
* Price with tax and with discounts applied if appilcable
|
|
113
|
-
*/
|
|
114
|
-
price_with_tax_discounted: number;
|
|
115
|
-
constructor(
|
|
116
|
-
/**
|
|
117
|
-
* Price without tax
|
|
118
|
-
*/
|
|
119
|
-
price: number,
|
|
120
|
-
/**
|
|
121
|
-
* Price with tax
|
|
122
|
-
*/
|
|
123
|
-
price_with_tax: number,
|
|
124
|
-
/**
|
|
125
|
-
* Price without tax and with discounts applied if appilcable
|
|
126
|
-
*/
|
|
127
|
-
price_discounted: number,
|
|
128
|
-
/**
|
|
129
|
-
* Price with tax and with discounts applied if appilcable
|
|
130
|
-
*/
|
|
131
|
-
price_with_tax_discounted: number);
|
|
132
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { EsolvePostResponseItem } from '../shared/esolve-response';
|
|
2
|
-
import { EsolveResponseResult } from '../shared/response-handler/esolve-response-result';
|
|
3
|
-
export declare class EsolveUserAccountResult extends EsolveResponseResult {
|
|
4
|
-
id: number;
|
|
5
|
-
constructor(response: EsolvePostResponseItem);
|
|
6
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EsolveSessionData } from '../session/esolve-session-data';
|
|
2
|
-
interface EsolveAuthData {
|
|
3
|
-
expires: number;
|
|
4
|
-
expiry_time: number;
|
|
5
|
-
user_id: number;
|
|
6
|
-
}
|
|
7
|
-
interface EsolveAuthGetData {
|
|
8
|
-
key: string;
|
|
9
|
-
}
|
|
10
|
-
interface EsolveAuthCheckData {
|
|
11
|
-
key_okay: boolean;
|
|
12
|
-
}
|
|
13
|
-
declare type EsolveAuthResponseData<T> = EsolveSessionData & EsolveAuthData & T;
|
|
14
|
-
interface EsolveAuthResponse<T> {
|
|
15
|
-
service_type: string;
|
|
16
|
-
type: string;
|
|
17
|
-
message: string;
|
|
18
|
-
additional_data: EsolveAuthResponseData<T>;
|
|
19
|
-
}
|
|
20
|
-
export declare type EsolveAuthResult = EsolveAuthResponseData<EsolveAuthGetData>;
|
|
21
|
-
export interface EsolveAuthCheckResponse extends EsolveAuthResponse<EsolveAuthCheckData> {
|
|
22
|
-
}
|
|
23
|
-
export interface EsolveAuthGetResponse extends EsolveAuthResponse<EsolveAuthGetData> {
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { EsolveUrlTarget } from '../shared/esolve-url-target';
|
|
2
|
-
export declare type EsolveBannerType = 'static' | 'hotspot';
|
|
3
|
-
export declare type EsolveBannerImageType = 'desktop' | 'mobile' | 'sub';
|
|
4
|
-
export interface EsolveBannerLink {
|
|
5
|
-
url: string;
|
|
6
|
-
target: EsolveUrlTarget;
|
|
7
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { EsolveResponseResult } from '../shared/response-handler/esolve-response-result';
|
|
2
|
-
import { EsolveCheckoutResponse } from './esolve-checkout';
|
|
3
|
-
export declare class EsolveCheckoutResult extends EsolveResponseResult {
|
|
4
|
-
id: number;
|
|
5
|
-
constructor(response: EsolveCheckoutResponse);
|
|
6
|
-
}
|