@zonos/elements 1.3.39 → 1.3.41
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/dist/cjs/{cart-c7212410.js → cart-497bb434.js} +300 -7
- package/dist/cjs/{getBorderRadius-074b46ef.js → getBorderRadius-4413e191.js} +1 -1
- package/dist/cjs/{index-b071017b.js → index-d56e0a8b.js} +242 -169
- package/dist/cjs/index.cjs.js +10 -4
- package/dist/cjs/{isDarkColor-371a3b1a.js → isDarkColor-4eb96a1e.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/paypal-e65a287a.js +461 -0
- package/dist/cjs/{submitGtag-7a679d92.js → sendErrorLog-c3c315a9.js} +2 -19
- package/dist/cjs/zonos-address_8.cjs.entry.js +11 -11
- package/dist/cjs/zonos-badge_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
- package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
- package/dist/cjs/zonos-card.cjs.entry.js +3 -3
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +76 -38
- package/dist/cjs/zonos-checkout.cjs.entry.js +43 -70
- package/dist/cjs/zonos-component.cjs.entry.js +2 -2
- package/dist/cjs/zonos-controller.cjs.entry.js +15 -15
- package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
- package/dist/cjs/{zonos-country-select_3.cjs.entry.js → zonos-country-select_4.cjs.entry.js} +100 -14
- package/dist/cjs/zonos-elements.cjs.js +3 -3
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +9 -9
- package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
- package/dist/cjs/zonos-input.cjs.entry.js +7 -7
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +9 -9
- package/dist/cjs/zonos-link.cjs.entry.js +2 -2
- package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
- package/dist/cjs/{zonos-notification_2.cjs.entry.js → zonos-notification_3.cjs.entry.js} +59 -7
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
- package/dist/cjs/zonos-text.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
- package/dist/cjs/{zonosStore-4c6c85da.js → zonosStore-56401fdb.js} +5 -1
- package/dist/collection/__tests__/build-utils/urlCheckOne.js +3 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +39 -8
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +7 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +37 -22
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +3 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +30 -60
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +1 -0
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +8 -0
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +14 -4
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.css +46 -0
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +177 -0
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
- package/dist/collection/components/main/zonos-controller.js +22 -8
- package/dist/collection/components/paypal/zonos-paypal-payment.css +37 -0
- package/dist/collection/components/paypal/zonos-paypal-payment.js +92 -0
- package/dist/collection/components/store/checkout/cart.js +26 -1
- package/dist/collection/components/store/checkout/paypal.js +219 -0
- package/dist/collection/components/store/checkout/stripe.js +16 -4
- package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
- package/dist/collection/components/store/translationStore/strings.base.js +12 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
- package/dist/collection/components/store/translationStore/strings.french.js +12 -0
- package/dist/collection/components/store/translationStore/strings.german.js +12 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
- package/dist/collection/components/store/zonosStore.js +4 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +2 -3
- package/dist/collection/components/utils/api/getZonosSettings.js +3 -3
- package/dist/collection/components/utils/api/paypalCaptureOrder.js +8 -0
- package/dist/collection/components/utils/api/paypalCreateOrder.js +8 -0
- package/dist/collection/components/utils/getContrastColor.js +6 -2
- package/dist/collection/components/utils/handleFetch.js +6 -1
- package/dist/collection/components/utils/isContrastColor.js +7 -0
- package/dist/collection/environment.js +4 -5
- package/dist/collection/scripts/_getZonosQaUrl.js +4 -0
- package/dist/collection/scripts/_zonosBase.js +2 -0
- package/dist/collection/styles/stripe/addressRuleStyle.js +6 -0
- package/dist/collection/types/generated/graphql.customer.types.js +35 -0
- package/dist/esm/{cart-eb75b113.js → cart-f53c9f90.js} +296 -8
- package/dist/esm/{getBorderRadius-947c24de.js → getBorderRadius-3ba98361.js} +1 -1
- package/dist/esm/{index-3b46f3c3.js → index-86b8247e.js} +242 -169
- package/dist/esm/index.js +10 -4
- package/dist/esm/{isDarkColor-f8324c10.js → isDarkColor-3119e351.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/paypal-72296ae6.js +453 -0
- package/dist/esm/{submitGtag-0bc0baa0.js → sendErrorLog-f8d3ec4b.js} +3 -19
- package/dist/esm/zonos-address_8.entry.js +11 -11
- package/dist/esm/zonos-badge_2.entry.js +4 -4
- package/dist/esm/zonos-banner.entry.js +2 -2
- package/dist/esm/zonos-button_3.entry.js +4 -4
- package/dist/esm/zonos-card.entry.js +3 -3
- package/dist/esm/zonos-cart-items_12.entry.js +63 -25
- package/dist/esm/zonos-checkout.entry.js +34 -61
- package/dist/esm/zonos-component.entry.js +2 -2
- package/dist/esm/zonos-controller.entry.js +15 -15
- package/dist/esm/zonos-country-flag.entry.js +5 -5
- package/dist/esm/{zonos-country-select_3.entry.js → zonos-country-select_4.entry.js} +100 -15
- package/dist/esm/zonos-elements.js +4 -4
- package/dist/esm/zonos-hello-dialog.entry.js +9 -9
- package/dist/esm/zonos-hello.entry.js +5 -5
- package/dist/esm/zonos-input.entry.js +7 -7
- package/dist/esm/zonos-language-select_2.entry.js +9 -9
- package/dist/esm/zonos-link.entry.js +2 -2
- package/dist/esm/zonos-logo.entry.js +4 -4
- package/dist/esm/{zonos-notification_2.entry.js → zonos-notification_3.entry.js} +60 -9
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +4 -4
- package/dist/esm/{zonosStore-ba9e541e.js → zonosStore-8fc9ceb2.js} +5 -1
- package/dist/esm-es5/cart-f53c9f90.js +1 -0
- package/dist/esm-es5/{getBorderRadius-947c24de.js → getBorderRadius-3ba98361.js} +1 -1
- package/dist/esm-es5/index-86b8247e.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-f8324c10.js → isDarkColor-3119e351.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/paypal-72296ae6.js +17 -0
- package/dist/esm-es5/sendErrorLog-f8d3ec4b.js +1 -0
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -0
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_3.entry.js +1 -0
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-ba9e541e.js → zonosStore-8fc9ceb2.js} +1 -1
- package/dist/scripts/index.d.ts +170 -6
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +2 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +8 -4
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +1 -20
- package/dist/types/components/common/zonos-virtual-scroll/zonos-virtual-scroll.d.ts +32 -0
- package/dist/types/components/main/zonos-controller.d.ts +6 -0
- package/dist/types/components/paypal/zonos-paypal-payment.d.ts +17 -0
- package/dist/types/components/store/checkout/cart.d.ts +19 -1
- package/dist/types/components/store/checkout/paypal.d.ts +28 -0
- package/dist/types/components/store/checkout/stripe.d.ts +10 -1
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/store/zonosStore.d.ts +4 -0
- package/dist/types/components/utils/api/getZonosSettings.d.ts +2 -0
- package/dist/types/components/utils/api/paypalCaptureOrder.d.ts +10 -0
- package/dist/types/components/utils/api/paypalCreateOrder.d.ts +9 -0
- package/dist/types/components/utils/handleFetch.d.ts +4 -0
- package/dist/types/components/utils/isContrastColor.d.ts +4 -0
- package/dist/types/components.d.ts +129 -6
- package/dist/types/scripts/_zonosBase.d.ts +9 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/dist/types/types/checkout/CheckoutConfig.d.ts +14 -1
- package/dist/types/types/generated/graphql.customer.types.d.ts +71 -11
- package/dist/types/types/generated/graphql.customer.types.ts +103 -11
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-71882ac9.system.entry.js → p-0229282c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5821856c.js → p-04054425.js} +1 -1
- package/dist/zonos-elements/p-05cdd3b4.js +17 -0
- package/dist/zonos-elements/{p-a8b934c2.entry.js → p-0f9804e3.entry.js} +1 -1
- package/dist/zonos-elements/p-12266c9e.js +1 -0
- package/dist/zonos-elements/{p-01304a58.system.entry.js → p-14067782.system.entry.js} +1 -1
- package/dist/zonos-elements/p-1a89c54a.js +1 -0
- package/dist/zonos-elements/{p-d2992457.system.entry.js → p-1e4f7997.system.entry.js} +1 -1
- package/dist/zonos-elements/p-1ee2fa70.system.entry.js +1 -0
- package/dist/zonos-elements/{p-63a27875.entry.js → p-25633055.entry.js} +1 -1
- package/dist/zonos-elements/{p-e37440ad.system.js → p-40c21634.system.js} +1 -1
- package/dist/zonos-elements/p-4db5be24.system.entry.js +1 -0
- package/dist/zonos-elements/{p-da2e5289.system.entry.js → p-4f454a91.system.entry.js} +1 -1
- package/dist/zonos-elements/p-52947dab.system.entry.js +1 -0
- package/dist/zonos-elements/{p-62ed4236.entry.js → p-52fa9aab.entry.js} +1 -1
- package/dist/zonos-elements/{p-31b3d26b.js → p-52fb6876.js} +1 -1
- package/dist/zonos-elements/p-539974db.system.js +1 -0
- package/dist/zonos-elements/p-5922c099.entry.js +1 -0
- package/dist/zonos-elements/p-5b7da777.js +2 -0
- package/dist/zonos-elements/p-5fe10991.system.entry.js +1 -0
- package/dist/zonos-elements/p-678f1888.entry.js +1 -0
- package/dist/zonos-elements/p-67f22fbf.system.entry.js +1 -0
- package/dist/zonos-elements/{p-9a1c0d02.js → p-6ac72711.js} +1 -1
- package/dist/zonos-elements/{p-ed333de6.system.entry.js → p-6bb0b7d2.system.entry.js} +1 -1
- package/dist/zonos-elements/p-6de1c78a.entry.js +1 -0
- package/dist/zonos-elements/{p-d8c1eb99.entry.js → p-6de38759.entry.js} +1 -1
- package/dist/zonos-elements/{p-a21ec316.system.entry.js → p-6fbb4565.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6c3390b7.entry.js → p-706d2bad.entry.js} +1 -1
- package/dist/zonos-elements/{p-73ba4398.system.entry.js → p-717028a2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8acdf43b.system.entry.js → p-7833fa53.system.entry.js} +1 -1
- package/dist/zonos-elements/p-79fd4f3c.system.js +1 -0
- package/dist/zonos-elements/p-8809964a.system.js +1 -0
- package/dist/zonos-elements/{p-3541e6dd.entry.js → p-8b01aafb.entry.js} +1 -1
- package/dist/zonos-elements/{p-2aa72606.entry.js → p-9220f63d.entry.js} +1 -1
- package/dist/zonos-elements/{p-699a5376.entry.js → p-9420f9db.entry.js} +1 -1
- package/dist/zonos-elements/p-9525cc44.system.js +1 -0
- package/dist/zonos-elements/{p-c21802e9.entry.js → p-9a319774.entry.js} +1 -1
- package/dist/zonos-elements/{p-3523c3b4.entry.js → p-9d1f13c2.entry.js} +1 -1
- package/dist/zonos-elements/{p-c0fcc0fa.system.entry.js → p-9eadd9a7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-966ab4e7.system.entry.js → p-a3e2592b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f06bb776.system.entry.js → p-ab11cca6.system.entry.js} +1 -1
- package/dist/zonos-elements/p-b3e825dc.system.js +17 -0
- package/dist/zonos-elements/{p-9d29f3f4.system.entry.js → p-b689309d.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c460665d.system.js +1 -0
- package/dist/zonos-elements/p-c4617501.entry.js +1 -0
- package/dist/zonos-elements/{p-b903af96.system.entry.js → p-c4bb2949.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c3619b3d.entry.js → p-c7301a88.entry.js} +1 -1
- package/dist/zonos-elements/p-c78dd680.system.js +1 -0
- package/dist/zonos-elements/p-d86c89e3.entry.js +1 -0
- package/dist/zonos-elements/{p-e3c014ae.entry.js → p-dc368ad5.entry.js} +1 -1
- package/dist/zonos-elements/{p-18b28104.entry.js → p-de53d9c3.entry.js} +1 -1
- package/dist/zonos-elements/p-df69fa38.system.entry.js +1 -0
- package/dist/zonos-elements/{p-22882fd6.entry.js → p-e07bf9ea.entry.js} +1 -1
- package/dist/zonos-elements/{p-9de374a7.system.entry.js → p-e8f7fb29.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-59f37de3.entry.js → p-f35ee203.entry.js} +1 -1
- package/dist/zonos-elements/p-fd061229.system.js +2 -0
- package/dist/zonos-elements/p-fd54fbb9.system.entry.js +1 -0
- package/dist/zonos-elements/p-fdb4347f.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -2
- package/loader/index.js +1 -2
- package/package.json +12 -11
- package/dist/esm-es5/cart-eb75b113.js +0 -1
- package/dist/esm-es5/index-3b46f3c3.js +0 -2
- package/dist/esm-es5/submitGtag-0bc0baa0.js +0 -1
- package/dist/esm-es5/zonos-country-select_3.entry.js +0 -1
- package/dist/esm-es5/zonos-notification_2.entry.js +0 -1
- package/dist/zonos-elements/p-02405211.system.entry.js +0 -1
- package/dist/zonos-elements/p-085548f2.entry.js +0 -1
- package/dist/zonos-elements/p-0b538ed4.system.js +0 -1
- package/dist/zonos-elements/p-2a45c837.system.entry.js +0 -1
- package/dist/zonos-elements/p-357322ea.system.entry.js +0 -1
- package/dist/zonos-elements/p-3f5e2e5c.system.entry.js +0 -1
- package/dist/zonos-elements/p-53acc999.js +0 -1
- package/dist/zonos-elements/p-548ac127.entry.js +0 -1
- package/dist/zonos-elements/p-5609876a.system.entry.js +0 -1
- package/dist/zonos-elements/p-6f9448bb.entry.js +0 -1
- package/dist/zonos-elements/p-70262120.system.js +0 -1
- package/dist/zonos-elements/p-878293fe.js +0 -1
- package/dist/zonos-elements/p-97d74f84.system.js +0 -1
- package/dist/zonos-elements/p-a393c1db.system.entry.js +0 -1
- package/dist/zonos-elements/p-a8cb25de.system.js +0 -1
- package/dist/zonos-elements/p-abe8ea12.system.js +0 -1
- package/dist/zonos-elements/p-ae04d3ff.entry.js +0 -1
- package/dist/zonos-elements/p-b684f8aa.system.entry.js +0 -1
- package/dist/zonos-elements/p-ce347974.js +0 -2
- package/dist/zonos-elements/p-d99232c5.system.js +0 -2
- package/dist/zonos-elements/p-e0bf9666.system.js +0 -1
- package/dist/zonos-elements/p-e1db1bc9.entry.js +0 -1
- package/dist/zonos-elements/p-e74ca4bc.entry.js +0 -1
|
@@ -11,6 +11,9 @@ export declare const stringsKorean: {
|
|
|
11
11
|
'Address line 2': {
|
|
12
12
|
value: string;
|
|
13
13
|
};
|
|
14
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
14
17
|
'Are you sure?': {
|
|
15
18
|
value: string;
|
|
16
19
|
};
|
|
@@ -92,6 +95,9 @@ export declare const stringsKorean: {
|
|
|
92
95
|
'Expected delivery': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
95
101
|
Failure: {
|
|
96
102
|
value: string;
|
|
97
103
|
};
|
|
@@ -125,6 +131,9 @@ export declare const stringsKorean: {
|
|
|
125
131
|
Name: {
|
|
126
132
|
value: string;
|
|
127
133
|
};
|
|
134
|
+
'No countries found': {
|
|
135
|
+
value: string;
|
|
136
|
+
};
|
|
128
137
|
'No shipping method selected': {
|
|
129
138
|
value: string;
|
|
130
139
|
};
|
|
@@ -317,6 +326,9 @@ export declare const stringsKorean: {
|
|
|
317
326
|
'click to learn more': {
|
|
318
327
|
value: string;
|
|
319
328
|
};
|
|
329
|
+
or: {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
320
332
|
'restricted items': {
|
|
321
333
|
value: string;
|
|
322
334
|
};
|
|
@@ -11,6 +11,9 @@ export declare const stringsNorwegian: {
|
|
|
11
11
|
'Address line 2': {
|
|
12
12
|
value: string;
|
|
13
13
|
};
|
|
14
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
14
17
|
'Are you sure?': {
|
|
15
18
|
value: string;
|
|
16
19
|
};
|
|
@@ -92,6 +95,9 @@ export declare const stringsNorwegian: {
|
|
|
92
95
|
'Expected delivery': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
95
101
|
Failure: {
|
|
96
102
|
value: string;
|
|
97
103
|
};
|
|
@@ -125,6 +131,9 @@ export declare const stringsNorwegian: {
|
|
|
125
131
|
Name: {
|
|
126
132
|
value: string;
|
|
127
133
|
};
|
|
134
|
+
'No countries found': {
|
|
135
|
+
value: string;
|
|
136
|
+
};
|
|
128
137
|
'No shipping method selected': {
|
|
129
138
|
value: string;
|
|
130
139
|
};
|
|
@@ -317,6 +326,9 @@ export declare const stringsNorwegian: {
|
|
|
317
326
|
'click to learn more': {
|
|
318
327
|
value: string;
|
|
319
328
|
};
|
|
329
|
+
or: {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
320
332
|
'restricted items': {
|
|
321
333
|
value: string;
|
|
322
334
|
};
|
|
@@ -11,6 +11,9 @@ export declare const stringsPolish: {
|
|
|
11
11
|
'Address line 2': {
|
|
12
12
|
value: string;
|
|
13
13
|
};
|
|
14
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
14
17
|
'Are you sure?': {
|
|
15
18
|
value: string;
|
|
16
19
|
};
|
|
@@ -92,6 +95,9 @@ export declare const stringsPolish: {
|
|
|
92
95
|
'Expected delivery': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
95
101
|
Failure: {
|
|
96
102
|
value: string;
|
|
97
103
|
};
|
|
@@ -125,6 +131,9 @@ export declare const stringsPolish: {
|
|
|
125
131
|
Name: {
|
|
126
132
|
value: string;
|
|
127
133
|
};
|
|
134
|
+
'No countries found': {
|
|
135
|
+
value: string;
|
|
136
|
+
};
|
|
128
137
|
'No shipping method selected': {
|
|
129
138
|
value: string;
|
|
130
139
|
};
|
|
@@ -317,6 +326,9 @@ export declare const stringsPolish: {
|
|
|
317
326
|
'click to learn more': {
|
|
318
327
|
value: string;
|
|
319
328
|
};
|
|
329
|
+
or: {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
320
332
|
'restricted items': {
|
|
321
333
|
value: string;
|
|
322
334
|
};
|
|
@@ -11,6 +11,9 @@ export declare const stringsPortuguese: {
|
|
|
11
11
|
'Address line 2': {
|
|
12
12
|
value: string;
|
|
13
13
|
};
|
|
14
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
14
17
|
'Are you sure?': {
|
|
15
18
|
value: string;
|
|
16
19
|
};
|
|
@@ -92,6 +95,9 @@ export declare const stringsPortuguese: {
|
|
|
92
95
|
'Expected delivery': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
95
101
|
Failure: {
|
|
96
102
|
value: string;
|
|
97
103
|
};
|
|
@@ -125,6 +131,9 @@ export declare const stringsPortuguese: {
|
|
|
125
131
|
Name: {
|
|
126
132
|
value: string;
|
|
127
133
|
};
|
|
134
|
+
'No countries found': {
|
|
135
|
+
value: string;
|
|
136
|
+
};
|
|
128
137
|
'No shipping method selected': {
|
|
129
138
|
value: string;
|
|
130
139
|
};
|
|
@@ -317,6 +326,9 @@ export declare const stringsPortuguese: {
|
|
|
317
326
|
'click to learn more': {
|
|
318
327
|
value: string;
|
|
319
328
|
};
|
|
329
|
+
or: {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
320
332
|
'restricted items': {
|
|
321
333
|
value: string;
|
|
322
334
|
};
|
|
@@ -11,6 +11,9 @@ export declare const stringsRussian: {
|
|
|
11
11
|
'Address line 2': {
|
|
12
12
|
value: string;
|
|
13
13
|
};
|
|
14
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
14
17
|
'Are you sure?': {
|
|
15
18
|
value: string;
|
|
16
19
|
};
|
|
@@ -92,6 +95,9 @@ export declare const stringsRussian: {
|
|
|
92
95
|
'Expected delivery': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
95
101
|
Failure: {
|
|
96
102
|
value: string;
|
|
97
103
|
};
|
|
@@ -125,6 +131,9 @@ export declare const stringsRussian: {
|
|
|
125
131
|
Name: {
|
|
126
132
|
value: string;
|
|
127
133
|
};
|
|
134
|
+
'No countries found': {
|
|
135
|
+
value: string;
|
|
136
|
+
};
|
|
128
137
|
'No shipping method selected': {
|
|
129
138
|
value: string;
|
|
130
139
|
};
|
|
@@ -317,6 +326,9 @@ export declare const stringsRussian: {
|
|
|
317
326
|
'click to learn more': {
|
|
318
327
|
value: string;
|
|
319
328
|
};
|
|
329
|
+
or: {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
320
332
|
'restricted items': {
|
|
321
333
|
value: string;
|
|
322
334
|
};
|
|
@@ -11,6 +11,9 @@ export declare const stringsSpanish: {
|
|
|
11
11
|
'Address line 2': {
|
|
12
12
|
value: string;
|
|
13
13
|
};
|
|
14
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
14
17
|
'Are you sure?': {
|
|
15
18
|
value: string;
|
|
16
19
|
};
|
|
@@ -92,6 +95,9 @@ export declare const stringsSpanish: {
|
|
|
92
95
|
'Expected delivery': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
95
101
|
Failure: {
|
|
96
102
|
value: string;
|
|
97
103
|
};
|
|
@@ -125,6 +131,9 @@ export declare const stringsSpanish: {
|
|
|
125
131
|
Name: {
|
|
126
132
|
value: string;
|
|
127
133
|
};
|
|
134
|
+
'No countries found': {
|
|
135
|
+
value: string;
|
|
136
|
+
};
|
|
128
137
|
'No shipping method selected': {
|
|
129
138
|
value: string;
|
|
130
139
|
};
|
|
@@ -317,6 +326,9 @@ export declare const stringsSpanish: {
|
|
|
317
326
|
'click to learn more': {
|
|
318
327
|
value: string;
|
|
319
328
|
};
|
|
329
|
+
or: {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
320
332
|
'restricted items': {
|
|
321
333
|
value: string;
|
|
322
334
|
};
|
|
@@ -11,6 +11,9 @@ export declare const stringsSwedish: {
|
|
|
11
11
|
'Address line 2': {
|
|
12
12
|
value: string;
|
|
13
13
|
};
|
|
14
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
14
17
|
'Are you sure?': {
|
|
15
18
|
value: string;
|
|
16
19
|
};
|
|
@@ -92,6 +95,9 @@ export declare const stringsSwedish: {
|
|
|
92
95
|
'Expected delivery': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
95
101
|
Failure: {
|
|
96
102
|
value: string;
|
|
97
103
|
};
|
|
@@ -125,6 +131,9 @@ export declare const stringsSwedish: {
|
|
|
125
131
|
Name: {
|
|
126
132
|
value: string;
|
|
127
133
|
};
|
|
134
|
+
'No countries found': {
|
|
135
|
+
value: string;
|
|
136
|
+
};
|
|
128
137
|
'No shipping method selected': {
|
|
129
138
|
value: string;
|
|
130
139
|
};
|
|
@@ -317,6 +326,9 @@ export declare const stringsSwedish: {
|
|
|
317
326
|
'click to learn more': {
|
|
318
327
|
value: string;
|
|
319
328
|
};
|
|
329
|
+
or: {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
320
332
|
'restricted items': {
|
|
321
333
|
value: string;
|
|
322
334
|
};
|
|
@@ -11,6 +11,9 @@ export declare const stringsTurkish: {
|
|
|
11
11
|
'Address line 2': {
|
|
12
12
|
value: string;
|
|
13
13
|
};
|
|
14
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
14
17
|
'Are you sure?': {
|
|
15
18
|
value: string;
|
|
16
19
|
};
|
|
@@ -92,6 +95,9 @@ export declare const stringsTurkish: {
|
|
|
92
95
|
'Expected delivery': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
95
101
|
Failure: {
|
|
96
102
|
value: string;
|
|
97
103
|
};
|
|
@@ -125,6 +131,9 @@ export declare const stringsTurkish: {
|
|
|
125
131
|
Name: {
|
|
126
132
|
value: string;
|
|
127
133
|
};
|
|
134
|
+
'No countries found': {
|
|
135
|
+
value: string;
|
|
136
|
+
};
|
|
128
137
|
'No shipping method selected': {
|
|
129
138
|
value: string;
|
|
130
139
|
};
|
|
@@ -317,6 +326,9 @@ export declare const stringsTurkish: {
|
|
|
317
326
|
'click to learn more': {
|
|
318
327
|
value: string;
|
|
319
328
|
};
|
|
329
|
+
or: {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
320
332
|
'restricted items': {
|
|
321
333
|
value: string;
|
|
322
334
|
};
|
|
@@ -11,6 +11,9 @@ export declare const stringsVietnamese: {
|
|
|
11
11
|
'Address line 2': {
|
|
12
12
|
value: string;
|
|
13
13
|
};
|
|
14
|
+
'An unexpected error occurred when processing PayPal order.': {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
14
17
|
'Are you sure?': {
|
|
15
18
|
value: string;
|
|
16
19
|
};
|
|
@@ -92,6 +95,9 @@ export declare const stringsVietnamese: {
|
|
|
92
95
|
'Expected delivery': {
|
|
93
96
|
value: string;
|
|
94
97
|
};
|
|
98
|
+
'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
|
|
99
|
+
value: string;
|
|
100
|
+
};
|
|
95
101
|
Failure: {
|
|
96
102
|
value: string;
|
|
97
103
|
};
|
|
@@ -125,6 +131,9 @@ export declare const stringsVietnamese: {
|
|
|
125
131
|
Name: {
|
|
126
132
|
value: string;
|
|
127
133
|
};
|
|
134
|
+
'No countries found': {
|
|
135
|
+
value: string;
|
|
136
|
+
};
|
|
128
137
|
'No shipping method selected': {
|
|
129
138
|
value: string;
|
|
130
139
|
};
|
|
@@ -317,6 +326,9 @@ export declare const stringsVietnamese: {
|
|
|
317
326
|
'click to learn more': {
|
|
318
327
|
value: string;
|
|
319
328
|
};
|
|
329
|
+
or: {
|
|
330
|
+
value: string;
|
|
331
|
+
};
|
|
320
332
|
'restricted items': {
|
|
321
333
|
value: string;
|
|
322
334
|
};
|
|
@@ -30,5 +30,5 @@ type TranslateParams<T extends string> = ExtractVariables<T> extends never ? [T,
|
|
|
30
30
|
* // No variables:
|
|
31
31
|
* translate('Above de minimis threshold for')
|
|
32
32
|
*/
|
|
33
|
-
declare const translate: <T extends "Shipping" | "Email" | "Name" | "Guaranteed" | "Customer" | "Country" | "Failure" | "Success" | "Hide" | "Delivery" | "Payment" | "Above de minimis threshold for" | "Address" | "Address line 1" | "Address line 2" | "Are you sure?" | "Back" | "Billing" | "Billing address" | "Cancel" | "Card number copied to clipboard" | "Cart subtotal" | "City" | "Click to copy the card number. Use any future expiration date and three number CVC." | "Close" | "Contact" | "Continue to shipping" | "Couldn't place order" | "Customer information" | "Delivery options" | "Don't close" | "Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders." | "Duties and taxes will be applied to items and shipping." | "Duties will apply to all orders." | "Duties, taxes, and fees" | "Error creating Checkout" | "Error updating Checkout" | "Expected delivery" | "First name" | "Go to payment" | "Keep shopping" | "Know about duties and taxes before you buy. Shop with confidence!" | "Last name" | "Learn more." | "Missing required fields. Make sure all fields are completed." | "No shipping method selected" | "No shipping methods found - please review and update your address details by selecting the \"Customer\" tab above. If you continue to encounter issues, contact our support team for assistance." | "No shipping methods found - try editing your address or contacting support if the error persists" | "Nothing due at the door" | "Order is over the de minimis threshold for both duty and tax" | "Order total" | "Orders to [countryName] must be over [threshold] to ship." | "Pay [orderTotal]" | "Pay [organizationName]" | "Payment failed" | "Payment failed. Please try another payment method." | "Payment method" | "Payment processing. We'll update you when payment is received." | "Phone number" | "Please ensure your text uses the Latin alphabet only (A-Z, a-z)." | "Postal code" | "Powered by" | "Prepay duties and taxes at checkout" | "Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions." | "Reload" | "Restricted item" | "Restricted items found" | "Return to cart" | "Search countries" | "See duty and tax thresholds" | "Select a country" | "Select a language" | "Session timed out" | "Shipping address same as billing" | "Shipping method" | "Show" | "Something went wrong." | "Spend [threshold] duty free." | "Spend [threshold] tax free." | "State" | "State/Province" | "Taxes will apply to all orders." | "Test cards" | "Test mode" | "The following items are unable to be shipped to your country and are not included in your cart total." | "The low-value GST law passed July 1st, 2018 applies to this retailer." | "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists" | "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists" | "To ensure delivery all address details must be in Latin characters." | "Translated address" | "Unable to check inventory. Please try again." | "Update address" | "Update your address" | "We couldn't complete your payment. Please verify the payment details and try again." | "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time." | "Welcome to [storeName]" | "Welcome!" | "What you entered" | "Would you like to close checkout and return to the site?" | "You're all set!" | "Your checkout session has expired. Please reload the page to continue." | "Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us." | "[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy." | "[percentage] GST due on any order above [threshold]." | "business days" | "click to learn more" | "restricted items">(...[key, replacement]: TranslateParams<T>) => string;
|
|
33
|
+
declare const translate: <T extends "Shipping" | "Email" | "Name" | "Guaranteed" | "Customer" | "Country" | "Failure" | "Success" | "Hide" | "or" | "Delivery" | "Payment" | "Above de minimis threshold for" | "Address" | "Address line 1" | "Address line 2" | "An unexpected error occurred when processing PayPal order." | "Are you sure?" | "Back" | "Billing" | "Billing address" | "Cancel" | "Card number copied to clipboard" | "Cart subtotal" | "City" | "Click to copy the card number. Use any future expiration date and three number CVC." | "Close" | "Contact" | "Continue to shipping" | "Couldn't place order" | "Customer information" | "Delivery options" | "Don't close" | "Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders." | "Duties and taxes will be applied to items and shipping." | "Duties will apply to all orders." | "Duties, taxes, and fees" | "Error creating Checkout" | "Error updating Checkout" | "Expected delivery" | "Failed to create PayPal order. Please try again, or consider using an alternative method." | "First name" | "Go to payment" | "Keep shopping" | "Know about duties and taxes before you buy. Shop with confidence!" | "Last name" | "Learn more." | "Missing required fields. Make sure all fields are completed." | "No countries found" | "No shipping method selected" | "No shipping methods found - please review and update your address details by selecting the \"Customer\" tab above. If you continue to encounter issues, contact our support team for assistance." | "No shipping methods found - try editing your address or contacting support if the error persists" | "Nothing due at the door" | "Order is over the de minimis threshold for both duty and tax" | "Order total" | "Orders to [countryName] must be over [threshold] to ship." | "Pay [orderTotal]" | "Pay [organizationName]" | "Payment failed" | "Payment failed. Please try another payment method." | "Payment method" | "Payment processing. We'll update you when payment is received." | "Phone number" | "Please ensure your text uses the Latin alphabet only (A-Z, a-z)." | "Postal code" | "Powered by" | "Prepay duties and taxes at checkout" | "Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions." | "Reload" | "Restricted item" | "Restricted items found" | "Return to cart" | "Search countries" | "See duty and tax thresholds" | "Select a country" | "Select a language" | "Session timed out" | "Shipping address same as billing" | "Shipping method" | "Show" | "Something went wrong." | "Spend [threshold] duty free." | "Spend [threshold] tax free." | "State" | "State/Province" | "Taxes will apply to all orders." | "Test cards" | "Test mode" | "The following items are unable to be shipped to your country and are not included in your cart total." | "The low-value GST law passed July 1st, 2018 applies to this retailer." | "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists" | "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists" | "To ensure delivery all address details must be in Latin characters." | "Translated address" | "Unable to check inventory. Please try again." | "Update address" | "Update your address" | "We couldn't complete your payment. Please verify the payment details and try again." | "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time." | "Welcome to [storeName]" | "Welcome!" | "What you entered" | "Would you like to close checkout and return to the site?" | "You're all set!" | "Your checkout session has expired. Please reload the page to continue." | "Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us." | "[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy." | "[percentage] GST due on any order above [threshold]." | "business days" | "click to learn more" | "restricted items">(...[key, replacement]: TranslateParams<T>) => string;
|
|
34
34
|
export { translate, translationStore, translationStoreUpdateLanguage };
|
|
@@ -30,6 +30,10 @@ export type ZonosConfig = {
|
|
|
30
30
|
overrideCurrencyFormat?: LoadZonosParamsConfig['overrideCurrencyFormat'];
|
|
31
31
|
sourceCurrency: string;
|
|
32
32
|
storeId: number | null;
|
|
33
|
+
/**
|
|
34
|
+
* This is to determine if the request is sending to the zonos production or dev API enviroment
|
|
35
|
+
*/
|
|
36
|
+
zonosMode: 'production' | 'test' | null;
|
|
33
37
|
};
|
|
34
38
|
type ZonosStore = ZonosConfig & {
|
|
35
39
|
loadedConfig: boolean;
|
|
@@ -2,7 +2,9 @@ import type { ZonosSettingsQuery } from "../../../types/generated/graphql.custom
|
|
|
2
2
|
export declare const getZonosSettings: () => Promise<{
|
|
3
3
|
errors: import("../../..").JsonError[];
|
|
4
4
|
json: null;
|
|
5
|
+
zonosMode: "production" | "test" | null;
|
|
5
6
|
} | {
|
|
6
7
|
errors: never[];
|
|
7
8
|
json: ZonosSettingsQuery | null;
|
|
9
|
+
zonosMode: "production" | "test" | null;
|
|
8
10
|
}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PaypalMockResponse, PaypalOrderCaptureMutation } from "../../../types/generated/graphql.customer.types";
|
|
2
|
+
type PaypalCaptureOrderPayload = {
|
|
3
|
+
checkoutSessionId: string;
|
|
4
|
+
paypalMockResponse: PaypalMockResponse | null;
|
|
5
|
+
};
|
|
6
|
+
export declare const paypalCaptureOrder: ({ checkoutSessionId, paypalMockResponse, }: PaypalCaptureOrderPayload) => Promise<{
|
|
7
|
+
errors: import("../../..").JsonError[];
|
|
8
|
+
json: PaypalOrderCaptureMutation | null;
|
|
9
|
+
}>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PaypalOrderCreateMutation } from "../../../types/generated/graphql.customer.types";
|
|
2
|
+
type PaypalCreateOrderPayload = {
|
|
3
|
+
checkoutSessionId: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const paypalCreateOrder: ({ checkoutSessionId, }: PaypalCreateOrderPayload) => Promise<{
|
|
6
|
+
errors: import("../../..").JsonError[];
|
|
7
|
+
json: PaypalOrderCreateMutation | null;
|
|
8
|
+
}>;
|
|
9
|
+
export {};
|
|
@@ -4,6 +4,10 @@ export type HandleFetchReturn<ResponseBody extends unknown> = {
|
|
|
4
4
|
errors: JsonError[];
|
|
5
5
|
json: NoInfer<ResponseBody> | null;
|
|
6
6
|
response: Response | null;
|
|
7
|
+
/**
|
|
8
|
+
* This is to determine if the request is sending to the production or test enviroment
|
|
9
|
+
*/
|
|
10
|
+
zonosMode: 'production' | 'test' | null;
|
|
7
11
|
};
|
|
8
12
|
export type FetcherReturn<ResponseBody extends unknown> = {
|
|
9
13
|
json: NoInfer<ResponseBody> | null;
|