@zonos/elements 1.3.141 → 1.3.143
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/{CheckoutConfig-165db6b6.js → CheckoutConfig-eaaf62a1.js} +1 -1
- package/dist/cjs/TaxId-4632639d.js +29 -0
- package/dist/cjs/{cart-e1b59d03.js → cart-6ac8dc06.js} +258 -8
- package/dist/cjs/{getBorderRadius-f72d8edf.js → getBorderRadius-f97c99ad.js} +1 -1
- package/dist/cjs/{handleFetch-4a90f091.js → handleFetch-864d3c53.js} +5 -5
- package/dist/cjs/{index-d56e0a8b.js → index-b678ce0c.js} +42 -8
- package/dist/cjs/index.cjs.js +12 -9
- package/dist/cjs/{isDarkColor-dd6d723b.js → isDarkColor-434d71dd.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{paypal-86cc51e4.js → paypal-ea8b4ca0.js} +5 -5
- package/dist/cjs/{zonos-address_7.cjs.entry.js → zonos-address_8.cjs.entry.js} +64 -9
- package/dist/cjs/zonos-badge.cjs.entry.js +2 -2
- 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_13.cjs.entry.js +33 -12
- package/dist/cjs/zonos-checkout.cjs.entry.js +9 -9
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-component.cjs.entry.js +2 -2
- package/dist/cjs/zonos-controller.cjs.entry.js +7 -7
- package/dist/cjs/zonos-country-flag.cjs.entry.js +6 -6
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
- package/dist/cjs/zonos-elements.cjs.js +3 -3
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +10 -10
- package/dist/cjs/zonos-hello.cjs.entry.js +6 -6
- package/dist/cjs/zonos-input.cjs.entry.js +3 -3
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-notification_3.cjs.entry.js +9 -9
- 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-toggle.cjs.entry.js +4 -4
- package/dist/cjs/zonos-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
- package/dist/cjs/{zonosStore-293bb3ba.js → zonosStore-8971eb65.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-currency-toggle/zonos-currency-toggle.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +3 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +22 -1
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +1 -1
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.css +162 -0
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +220 -0
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.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.js +2 -2
- 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 +1 -1
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/checkout/paypal.js +1 -1
- package/dist/collection/components/store/checkout/stripe.js +9 -1
- 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/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +2 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/api/getCountries.js +1 -1
- package/dist/collection/components/utils/api/getLocalization.js +1 -1
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +2 -0
- package/dist/collection/components/utils/handleFetch.js +2 -2
- package/dist/collection/components/utils/isValidSelector.js +1 -1
- package/dist/collection/components/utils/jsonParse.js +1 -1
- package/dist/collection/components/utils/logging/log.js +1 -1
- package/dist/collection/components/utils/logging/sendErrorLog.js +1 -1
- package/dist/collection/environment.js +1 -1
- package/dist/collection/types/checkout/TaxId.js +24 -0
- package/dist/collection/types/generated/graphql.internal.types.js +52 -0
- package/dist/collection/types/index.js +1 -0
- package/dist/collection/types/stripe/Apperance.js +0 -58
- package/dist/esm/{CheckoutConfig-930107d4.js → CheckoutConfig-262008fe.js} +1 -1
- package/dist/esm/TaxId-915ef042.js +26 -0
- package/dist/esm/{cart-709f053f.js → cart-acba54d0.js} +258 -8
- package/dist/esm/{getBorderRadius-bdd709e7.js → getBorderRadius-4aca63d4.js} +1 -1
- package/dist/esm/{handleFetch-22cb914b.js → handleFetch-badf4543.js} +5 -5
- package/dist/esm/{index-86b8247e.js → index-986b5ff2.js} +42 -8
- package/dist/esm/index.js +11 -10
- package/dist/esm/{isDarkColor-c6924924.js → isDarkColor-4915739f.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{paypal-77a60c44.js → paypal-3401f757.js} +5 -5
- package/dist/esm/{zonos-address_7.entry.js → zonos-address_8.entry.js} +64 -10
- package/dist/esm/zonos-badge.entry.js +2 -2
- 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_13.entry.js +33 -12
- package/dist/esm/zonos-checkout.entry.js +9 -9
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-component.entry.js +2 -2
- package/dist/esm/zonos-controller.entry.js +7 -7
- package/dist/esm/zonos-country-flag.entry.js +6 -6
- package/dist/esm/zonos-country-select_4.entry.js +10 -10
- package/dist/esm/zonos-elements.js +4 -4
- package/dist/esm/zonos-hello-dialog.entry.js +10 -10
- package/dist/esm/zonos-hello.entry.js +6 -6
- package/dist/esm/zonos-input.entry.js +3 -3
- package/dist/esm/zonos-language-select_2.entry.js +6 -6
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-notification_3.entry.js +9 -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-toggle.entry.js +4 -4
- package/dist/esm/zonos-tooltip.entry.js +3 -3
- package/dist/esm/zonos-v-stack.entry.js +4 -4
- package/dist/esm/{zonosStore-c493c4fe.js → zonosStore-708637e7.js} +1 -1
- package/dist/esm-es5/{CheckoutConfig-930107d4.js → CheckoutConfig-262008fe.js} +1 -1
- package/dist/esm-es5/TaxId-915ef042.js +1 -0
- package/dist/esm-es5/cart-acba54d0.js +1 -0
- package/dist/esm-es5/{getBorderRadius-bdd709e7.js → getBorderRadius-4aca63d4.js} +1 -1
- package/dist/esm-es5/index-986b5ff2.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-c6924924.js → isDarkColor-4915739f.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{paypal-77a60c44.js → paypal-3401f757.js} +1 -1
- package/dist/esm-es5/{zonos-address_7.entry.js → zonos-address_8.entry.js} +1 -1
- package/dist/esm-es5/zonos-badge.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_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.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 -1
- 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 -1
- 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-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-c493c4fe.js → zonosStore-708637e7.js} +1 -1
- package/dist/scripts/index.d.ts +113 -9
- 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-customer-info/zonos-customer-info.d.ts +5 -0
- package/dist/types/components/common/zonos-stripe-input/zonos-stripe-input.d.ts +42 -0
- package/dist/types/components/store/checkout/cart.d.ts +2 -3
- package/dist/types/components/store/checkout/stripe.d.ts +10 -2
- package/dist/types/components/store/hello/localization.d.ts +0 -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 +1 -1
- package/dist/types/components/utils/api/checkItemRestrictions.d.ts +3 -3
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +3 -3
- package/dist/types/components/utils/changeDeepProperty.d.ts +2 -2
- package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +2 -1
- package/dist/types/components/utils/createCustomEvent.d.ts +3 -3
- package/dist/types/components/utils/hello/detectItemRestrictions.d.ts +3 -3
- package/dist/types/components/utils/hello/getCurrentHelloLocalePage.d.ts +1 -1
- package/dist/types/components/utils/hello/initHello.d.ts +2 -2
- package/dist/types/components/utils/resetToSelectedTab.d.ts +1 -1
- package/dist/types/components.d.ts +102 -2
- package/dist/types/environment.d.ts +2 -2
- package/dist/types/scripts/_stripe.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/styles/stripe/defaultVariable.d.ts +1 -1
- package/dist/types/types/checkout/TaxId.d.ts +20 -0
- package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +8 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +71 -109
- package/dist/types/types/generated/graphql.internal.types.ts +91 -98
- package/dist/types/types/global.d.ts +0 -5
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/stripe/Apperance.d.ts +1 -2
- package/dist/types/utils/formattedUrl.d.ts +1 -1
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-e205ef1c.system.entry.js → p-0197a9bf.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b9efc660.entry.js → p-0ab29580.entry.js} +1 -1
- package/dist/zonos-elements/{p-6b0aa1bb.system.js → p-0b5c9f89.system.js} +1 -1
- package/dist/zonos-elements/{p-87ed2e17.system.entry.js → p-0b5f4ca7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-289ded20.system.entry.js → p-0db28495.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-35b8dcde.entry.js → p-1198c874.entry.js} +1 -1
- package/dist/zonos-elements/p-12a6b7bd.system.js +1 -0
- package/dist/zonos-elements/{p-b7307c61.js → p-1460f917.js} +1 -1
- package/dist/zonos-elements/{p-9589bd08.entry.js → p-1e3ea4ae.entry.js} +1 -1
- package/dist/zonos-elements/p-21b538ea.system.js +1 -0
- package/dist/zonos-elements/{p-0fc96872.system.entry.js → p-2761ad55.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-bc8b22ad.entry.js → p-28295342.entry.js} +1 -1
- package/dist/zonos-elements/{p-22d69480.system.entry.js → p-2ab5e362.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f07c01c5.system.entry.js → p-2cfc00b8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f8ca3e71.entry.js → p-302f5d25.entry.js} +1 -1
- package/dist/zonos-elements/{p-4319600a.system.entry.js → p-33e1d25e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-10efff62.system.js → p-36dfc7ac.system.js} +1 -1
- package/dist/zonos-elements/{p-7a60deef.system.entry.js → p-381874b0.system.entry.js} +1 -1
- package/dist/zonos-elements/p-386325ae.system.js +1 -0
- package/dist/zonos-elements/{p-1c4ff7b2.system.entry.js → p-38d0c496.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-00d4bff1.entry.js → p-39cac2c1.entry.js} +1 -1
- package/dist/zonos-elements/{p-5c32689e.entry.js → p-3f991022.entry.js} +1 -1
- package/dist/zonos-elements/{p-9b59704a.entry.js → p-44dd4269.entry.js} +1 -1
- package/dist/zonos-elements/{p-edc16f69.js → p-4b685549.js} +1 -1
- package/dist/zonos-elements/{p-ad1d6ea2.entry.js → p-4c7f0417.entry.js} +1 -1
- package/dist/zonos-elements/{p-d633ced9.entry.js → p-54058b57.entry.js} +1 -1
- package/dist/zonos-elements/{p-ad4bc6a2.entry.js → p-545c05ce.entry.js} +1 -1
- package/dist/zonos-elements/p-5bd927f2.js +1 -0
- package/dist/zonos-elements/{p-01ad5be8.system.entry.js → p-654fc23d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5b90dd6d.entry.js → p-675f60b4.entry.js} +1 -1
- package/dist/zonos-elements/p-680d3694.js +2 -0
- package/dist/zonos-elements/{p-461624ce.system.entry.js → p-6a8862a6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-10d6fe23.js → p-766dd01f.js} +1 -1
- package/dist/zonos-elements/{p-3dd503fd.system.entry.js → p-78e4f877.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7ef573f0.entry.js → p-7c5c0a85.entry.js} +1 -1
- package/dist/zonos-elements/{p-bb418544.system.js → p-7c643376.system.js} +1 -1
- package/dist/zonos-elements/{p-ffe4a999.system.entry.js → p-8ac02349.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-25c7e4fa.system.entry.js → p-8e30228d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-be2feba6.entry.js → p-8f26cc7e.entry.js} +1 -1
- package/dist/zonos-elements/{p-fce202ab.entry.js → p-9306a835.entry.js} +1 -1
- package/dist/zonos-elements/{p-04a6a167.entry.js → p-9d7a860c.entry.js} +1 -1
- package/dist/zonos-elements/p-9da2d116.entry.js +1 -0
- package/dist/zonos-elements/{p-cd1fd09e.entry.js → p-9dec2b74.entry.js} +1 -1
- package/dist/zonos-elements/{p-cf72603f.system.entry.js → p-9e84f647.system.entry.js} +1 -1
- package/dist/zonos-elements/p-a08ea336.js +1 -0
- package/dist/zonos-elements/{p-ee1e1d94.system.entry.js → p-a13d5957.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-dc09df19.system.entry.js → p-a2bce31d.system.entry.js} +1 -1
- package/dist/zonos-elements/p-a4f045d4.js +17 -0
- package/dist/zonos-elements/{p-f2867195.entry.js → p-ab6973a5.entry.js} +1 -1
- package/dist/zonos-elements/{p-d10ffd69.js → p-b0174a8f.js} +1 -1
- package/dist/zonos-elements/{p-8368a79e.entry.js → p-b2ea7adb.entry.js} +1 -1
- package/dist/zonos-elements/{p-fd061229.system.js → p-b50667b6.system.js} +1 -1
- package/dist/zonos-elements/{p-46a5ec52.system.js → p-c0164a3c.system.js} +1 -1
- package/dist/zonos-elements/p-c437d76c.system.js +1 -0
- package/dist/zonos-elements/{p-64a04391.system.entry.js → p-d1afd314.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7acf6802.entry.js → p-d3867033.entry.js} +1 -1
- package/dist/zonos-elements/{p-896ab1ed.system.entry.js → p-d5a3851d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0c027d2e.entry.js → p-d9511c4a.entry.js} +1 -1
- package/dist/zonos-elements/{p-010f5797.system.entry.js → p-dba6147b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-896d62a4.system.entry.js → p-df9c0bfa.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0aee2e4c.system.entry.js → p-e6554a6f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c78dd680.system.js → p-e9964a5a.system.js} +1 -1
- package/dist/zonos-elements/{p-b832ec52.entry.js → p-f2d07062.entry.js} +1 -1
- package/dist/zonos-elements/{p-8f9affb3.system.entry.js → p-f9aef1fc.system.entry.js} +1 -1
- package/dist/zonos-elements/p-fa538a74.system.entry.js +1 -0
- package/dist/zonos-elements/{p-3a26cae5.entry.js → p-fc4658a6.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +68 -67
- package/dist/collection/__mocks__/vercel-app/loadZonos.js +0 -492
- package/dist/collection/__mocks__/vercel-app/localization.js +0 -1
- package/dist/collection/__mocks__/vercel-app/zonos-hello.entry.js +0 -1
- package/dist/collection/__mocks__/zonos-url/index.js +0 -1
- package/dist/collection/__mocks__/zonos-url/loadZonos.js +0 -492
- package/dist/collection/__mocks__/zonos-url/localization.js +0 -2899
- package/dist/collection/__mocks__/zonos-url/zonos-hello.entry.js +0 -1
- package/dist/esm-es5/cart-709f053f.js +0 -1
- package/dist/esm-es5/index-86b8247e.js +0 -2
- package/dist/zonos-elements/p-49e4ca08.system.entry.js +0 -1
- package/dist/zonos-elements/p-5b7da777.js +0 -2
- package/dist/zonos-elements/p-6b6cd6c3.system.js +0 -1
- package/dist/zonos-elements/p-a58731ec.system.js +0 -1
- package/dist/zonos-elements/p-afffdfc2.js +0 -1
- package/dist/zonos-elements/p-d35376d3.js +0 -17
- package/dist/zonos-elements/p-e6c31531.entry.js +0 -1
- package/dist/zonos-elements/p-f8e8b50e.system.js +0 -1
- /package/dist/esm-es5/{handleFetch-22cb914b.js → handleFetch-badf4543.js} +0 -0
- /package/dist/zonos-elements/{p-860e46ab.js → p-a5b294d7.js} +0 -0
- /package/dist/zonos-elements/{p-febc72e7.system.js → p-bfcfd29b.system.js} +0 -0
|
@@ -380,7 +380,7 @@ export namespace Components {
|
|
|
380
380
|
/**
|
|
381
381
|
* For storybook to set to finish step, this is to trigger in the story for zonos-checkout-finish
|
|
382
382
|
*/
|
|
383
|
-
"setToFinishStep": (forcePaymentStatus?: PaymentIntent[
|
|
383
|
+
"setToFinishStep": (forcePaymentStatus?: PaymentIntent["status"]) => Promise<void>;
|
|
384
384
|
}
|
|
385
385
|
interface ZonosCheckoutFinish {
|
|
386
386
|
/**
|
|
@@ -436,7 +436,7 @@ export namespace Components {
|
|
|
436
436
|
/**
|
|
437
437
|
* Set selected tab. Only set the tab if it's clickable
|
|
438
438
|
*/
|
|
439
|
-
"setTabSelected": (tabValue: TabItem[
|
|
439
|
+
"setTabSelected": (tabValue: TabItem["value"]) => Promise<void>;
|
|
440
440
|
/**
|
|
441
441
|
* Color of the tab progress bar and label, override the secondary color of the appearance settings
|
|
442
442
|
*/
|
|
@@ -961,6 +961,39 @@ export namespace Components {
|
|
|
961
961
|
*/
|
|
962
962
|
"spinnerColor"?: SpinnerColor;
|
|
963
963
|
}
|
|
964
|
+
/**
|
|
965
|
+
* This component is input that has similar style to Stripe since we will use it with other Stripe elements when we don't want to use Link authentication element
|
|
966
|
+
*/
|
|
967
|
+
interface ZonosStripeInput {
|
|
968
|
+
/**
|
|
969
|
+
* Input label
|
|
970
|
+
*/
|
|
971
|
+
"inputLabel": string;
|
|
972
|
+
/**
|
|
973
|
+
* Placeholder for the input
|
|
974
|
+
*/
|
|
975
|
+
"inputPlaceholder": string;
|
|
976
|
+
/**
|
|
977
|
+
* Value of the stripeInput
|
|
978
|
+
*/
|
|
979
|
+
"inputValue": string;
|
|
980
|
+
/**
|
|
981
|
+
* Disables the input
|
|
982
|
+
*/
|
|
983
|
+
"isDisabled": boolean;
|
|
984
|
+
/**
|
|
985
|
+
* Error state of the input
|
|
986
|
+
*/
|
|
987
|
+
"isError": boolean;
|
|
988
|
+
/**
|
|
989
|
+
* Primary color to override primary color from appearance primary color in setting.
|
|
990
|
+
*/
|
|
991
|
+
"overridePrimaryColor"?: string;
|
|
992
|
+
/**
|
|
993
|
+
* Secondary color to override secondary color from appearance secondary color in setting
|
|
994
|
+
*/
|
|
995
|
+
"overrideSecondaryColor"?: string;
|
|
996
|
+
}
|
|
964
997
|
interface ZonosText {
|
|
965
998
|
/**
|
|
966
999
|
* The size of the text
|
|
@@ -1101,6 +1134,10 @@ export interface ZonosShippingRichRadioCustomEvent<T> extends CustomEvent<T> {
|
|
|
1101
1134
|
detail: T;
|
|
1102
1135
|
target: HTMLZonosShippingRichRadioElement;
|
|
1103
1136
|
}
|
|
1137
|
+
export interface ZonosStripeInputCustomEvent<T> extends CustomEvent<T> {
|
|
1138
|
+
detail: T;
|
|
1139
|
+
target: HTMLZonosStripeInputElement;
|
|
1140
|
+
}
|
|
1104
1141
|
export interface ZonosToggleCustomEvent<T> extends CustomEvent<T> {
|
|
1105
1142
|
detail: T;
|
|
1106
1143
|
target: HTMLZonosToggleElement;
|
|
@@ -1558,6 +1595,26 @@ declare global {
|
|
|
1558
1595
|
prototype: HTMLZonosSpinnerElement;
|
|
1559
1596
|
new (): HTMLZonosSpinnerElement;
|
|
1560
1597
|
};
|
|
1598
|
+
interface HTMLZonosStripeInputElementEventMap {
|
|
1599
|
+
"inputChange": string;
|
|
1600
|
+
}
|
|
1601
|
+
/**
|
|
1602
|
+
* This component is input that has similar style to Stripe since we will use it with other Stripe elements when we don't want to use Link authentication element
|
|
1603
|
+
*/
|
|
1604
|
+
interface HTMLZonosStripeInputElement extends Components.ZonosStripeInput, HTMLStencilElement {
|
|
1605
|
+
addEventListener<K extends keyof HTMLZonosStripeInputElementEventMap>(type: K, listener: (this: HTMLZonosStripeInputElement, ev: ZonosStripeInputCustomEvent<HTMLZonosStripeInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1606
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1607
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1608
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1609
|
+
removeEventListener<K extends keyof HTMLZonosStripeInputElementEventMap>(type: K, listener: (this: HTMLZonosStripeInputElement, ev: ZonosStripeInputCustomEvent<HTMLZonosStripeInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1610
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1611
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1612
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1613
|
+
}
|
|
1614
|
+
var HTMLZonosStripeInputElement: {
|
|
1615
|
+
prototype: HTMLZonosStripeInputElement;
|
|
1616
|
+
new (): HTMLZonosStripeInputElement;
|
|
1617
|
+
};
|
|
1561
1618
|
interface HTMLZonosTextElement extends Components.ZonosText, HTMLStencilElement {
|
|
1562
1619
|
}
|
|
1563
1620
|
var HTMLZonosTextElement: {
|
|
@@ -1650,6 +1707,7 @@ declare global {
|
|
|
1650
1707
|
"zonos-shipping": HTMLZonosShippingElement;
|
|
1651
1708
|
"zonos-shipping-rich-radio": HTMLZonosShippingRichRadioElement;
|
|
1652
1709
|
"zonos-spinner": HTMLZonosSpinnerElement;
|
|
1710
|
+
"zonos-stripe-input": HTMLZonosStripeInputElement;
|
|
1653
1711
|
"zonos-text": HTMLZonosTextElement;
|
|
1654
1712
|
"zonos-toggle": HTMLZonosToggleElement;
|
|
1655
1713
|
"zonos-tooltip": HTMLZonosTooltipElement;
|
|
@@ -2569,6 +2627,43 @@ declare namespace LocalJSX {
|
|
|
2569
2627
|
*/
|
|
2570
2628
|
"spinnerColor"?: SpinnerColor;
|
|
2571
2629
|
}
|
|
2630
|
+
/**
|
|
2631
|
+
* This component is input that has similar style to Stripe since we will use it with other Stripe elements when we don't want to use Link authentication element
|
|
2632
|
+
*/
|
|
2633
|
+
interface ZonosStripeInput {
|
|
2634
|
+
/**
|
|
2635
|
+
* Input label
|
|
2636
|
+
*/
|
|
2637
|
+
"inputLabel": string;
|
|
2638
|
+
/**
|
|
2639
|
+
* Placeholder for the input
|
|
2640
|
+
*/
|
|
2641
|
+
"inputPlaceholder"?: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* Value of the stripeInput
|
|
2644
|
+
*/
|
|
2645
|
+
"inputValue"?: string;
|
|
2646
|
+
/**
|
|
2647
|
+
* Disables the input
|
|
2648
|
+
*/
|
|
2649
|
+
"isDisabled"?: boolean;
|
|
2650
|
+
/**
|
|
2651
|
+
* Error state of the input
|
|
2652
|
+
*/
|
|
2653
|
+
"isError"?: boolean;
|
|
2654
|
+
/**
|
|
2655
|
+
* Event to emit when input value changes
|
|
2656
|
+
*/
|
|
2657
|
+
"onInputChange"?: (event: ZonosStripeInputCustomEvent<string>) => void;
|
|
2658
|
+
/**
|
|
2659
|
+
* Primary color to override primary color from appearance primary color in setting.
|
|
2660
|
+
*/
|
|
2661
|
+
"overridePrimaryColor"?: string;
|
|
2662
|
+
/**
|
|
2663
|
+
* Secondary color to override secondary color from appearance secondary color in setting
|
|
2664
|
+
*/
|
|
2665
|
+
"overrideSecondaryColor"?: string;
|
|
2666
|
+
}
|
|
2572
2667
|
interface ZonosText {
|
|
2573
2668
|
/**
|
|
2574
2669
|
* The size of the text
|
|
@@ -2694,6 +2789,7 @@ declare namespace LocalJSX {
|
|
|
2694
2789
|
"zonos-shipping": ZonosShipping;
|
|
2695
2790
|
"zonos-shipping-rich-radio": ZonosShippingRichRadio;
|
|
2696
2791
|
"zonos-spinner": ZonosSpinner;
|
|
2792
|
+
"zonos-stripe-input": ZonosStripeInput;
|
|
2697
2793
|
"zonos-text": ZonosText;
|
|
2698
2794
|
"zonos-toggle": ZonosToggle;
|
|
2699
2795
|
"zonos-tooltip": ZonosTooltip;
|
|
@@ -2750,6 +2846,10 @@ declare module "@stencil/core" {
|
|
|
2750
2846
|
"zonos-shipping": LocalJSX.ZonosShipping & JSXBase.HTMLAttributes<HTMLZonosShippingElement>;
|
|
2751
2847
|
"zonos-shipping-rich-radio": LocalJSX.ZonosShippingRichRadio & JSXBase.HTMLAttributes<HTMLZonosShippingRichRadioElement>;
|
|
2752
2848
|
"zonos-spinner": LocalJSX.ZonosSpinner & JSXBase.HTMLAttributes<HTMLZonosSpinnerElement>;
|
|
2849
|
+
/**
|
|
2850
|
+
* This component is input that has similar style to Stripe since we will use it with other Stripe elements when we don't want to use Link authentication element
|
|
2851
|
+
*/
|
|
2852
|
+
"zonos-stripe-input": LocalJSX.ZonosStripeInput & JSXBase.HTMLAttributes<HTMLZonosStripeInputElement>;
|
|
2753
2853
|
"zonos-text": LocalJSX.ZonosText & JSXBase.HTMLAttributes<HTMLZonosTextElement>;
|
|
2754
2854
|
"zonos-toggle": LocalJSX.ZonosToggle & JSXBase.HTMLAttributes<HTMLZonosToggleElement>;
|
|
2755
2855
|
"zonos-tooltip": LocalJSX.ZonosTooltip & JSXBase.HTMLAttributes<HTMLZonosTooltipElement>;
|
|
@@ -8,7 +8,7 @@ export declare const inGithubActions: boolean;
|
|
|
8
8
|
export declare const inCloudflare: boolean;
|
|
9
9
|
export declare const inVercel: boolean;
|
|
10
10
|
export declare const isVercelProd: boolean;
|
|
11
|
-
declare const
|
|
11
|
+
declare const _envClientSchema: z.ZodObject<{
|
|
12
12
|
NEXT_PUBLIC_FLAG_URL: z.ZodString;
|
|
13
13
|
NEXT_PUBLIC_RELEASE_DATE: z.ZodString;
|
|
14
14
|
NEXT_PUBLIC_ZONOS_API_KEY: z.ZodString;
|
|
@@ -42,7 +42,7 @@ declare const envClientSchema: z.ZodObject<{
|
|
|
42
42
|
NEXT_PUBLIC_ZONOS_ROUTE_URL: string;
|
|
43
43
|
NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: string;
|
|
44
44
|
}>;
|
|
45
|
-
export interface Env extends z.infer<typeof
|
|
45
|
+
export interface Env extends z.infer<typeof _envClientSchema> {
|
|
46
46
|
}
|
|
47
47
|
export declare const env: Readonly<{
|
|
48
48
|
NEXT_PUBLIC_FLAG_URL: string;
|
|
@@ -7,7 +7,7 @@ export type LoadStripe = (...args: Parameters<StripeConstructor>) => Promise<Str
|
|
|
7
7
|
export declare const zonosStripeFindScript: () => HTMLScriptElement | null;
|
|
8
8
|
export declare const injectScript: (params: null | LoadParams) => HTMLScriptElement | null;
|
|
9
9
|
export declare const zonosStripeLoadScript: (params: null | LoadParams) => Promise<StripeConstructor | null>;
|
|
10
|
-
export declare const initStripe: (maybeStripe: StripeConstructor | null, args:
|
|
10
|
+
export declare const initStripe: (maybeStripe: StripeConstructor | null, args: Parameters<StripeConstructor>, startTime: number) => Stripe | null;
|
|
11
11
|
export declare const validateLoadParams: (params: {
|
|
12
12
|
advancedFraudSignals: boolean;
|
|
13
13
|
}) => LoadParams | void;
|
|
@@ -1015,6 +1015,8 @@ export declare namespace JSXBase {
|
|
|
1015
1015
|
autoPlay?: boolean;
|
|
1016
1016
|
autoplay?: boolean | string;
|
|
1017
1017
|
controls?: boolean;
|
|
1018
|
+
controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1019
|
+
controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1018
1020
|
crossOrigin?: string;
|
|
1019
1021
|
crossorigin?: string;
|
|
1020
1022
|
loop?: boolean;
|
|
@@ -1564,6 +1566,10 @@ export declare namespace JSXBase {
|
|
|
1564
1566
|
onSubmitCapture?: (event: Event) => void;
|
|
1565
1567
|
onInvalid?: (event: Event) => void;
|
|
1566
1568
|
onInvalidCapture?: (event: Event) => void;
|
|
1569
|
+
onBeforeToggle?: (event: Event) => void;
|
|
1570
|
+
onBeforeToggleCapture?: (event: Event) => void;
|
|
1571
|
+
onToggle?: (event: Event) => void;
|
|
1572
|
+
onToggleCapture?: (event: Event) => void;
|
|
1567
1573
|
onLoad?: (event: Event) => void;
|
|
1568
1574
|
onLoadCapture?: (event: Event) => void;
|
|
1569
1575
|
onError?: (event: Event) => void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const countryRequireTaxId: ["AR", "BR", "KR", "MX"];
|
|
2
|
+
export type CountryRequireTaxId = (typeof countryRequireTaxId)[number];
|
|
3
|
+
export declare const shipToTaxIdLabels: {
|
|
4
|
+
readonly AR: {
|
|
5
|
+
readonly friendlyName: "Unique Labor Identification Code";
|
|
6
|
+
readonly placeholder: "00-00000000-0";
|
|
7
|
+
};
|
|
8
|
+
readonly BR: {
|
|
9
|
+
readonly friendlyName: "CPF/CNPJ number";
|
|
10
|
+
readonly placeholder: "000.000.000-00";
|
|
11
|
+
};
|
|
12
|
+
readonly KR: {
|
|
13
|
+
readonly friendlyName: "Personal Customers Clearance Code";
|
|
14
|
+
readonly placeholder: "000-00-00000";
|
|
15
|
+
};
|
|
16
|
+
readonly MX: {
|
|
17
|
+
readonly friendlyName: "RFC number";
|
|
18
|
+
readonly placeholder: "XAXX010101000";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -56,6 +56,10 @@ export type CalculateLandedCostRequest = {
|
|
|
56
56
|
key: string;
|
|
57
57
|
value: string;
|
|
58
58
|
}[];
|
|
59
|
+
/**
|
|
60
|
+
* TaxId that the some destination countries require for the shipment.
|
|
61
|
+
*/
|
|
62
|
+
shipToTaxId?: string;
|
|
59
63
|
shippingAddress: {
|
|
60
64
|
addressLine1: string;
|
|
61
65
|
addressLine2?: string | undefined;
|
|
@@ -103,6 +107,10 @@ export type CartCalculateLandedCostRequest = {
|
|
|
103
107
|
key: string;
|
|
104
108
|
value: string;
|
|
105
109
|
}[];
|
|
110
|
+
/**
|
|
111
|
+
* TaxId that the some destination countries require for the shipment.
|
|
112
|
+
*/
|
|
113
|
+
shipToTaxId?: string;
|
|
106
114
|
shippingAddress: {
|
|
107
115
|
addressLine1: string;
|
|
108
116
|
addressLine2?: string | undefined;
|
|
@@ -557,7 +557,7 @@ export type FailToGetQuoteErrorsQuery = {
|
|
|
557
557
|
};
|
|
558
558
|
export type LocaleCountryMessagesQuery = {
|
|
559
559
|
locale_countryCodesPage: Array<{
|
|
560
|
-
countryCodes: Array<string
|
|
560
|
+
countryCodes: Array<string>;
|
|
561
561
|
countryCodesPageMessageLinks: Array<{
|
|
562
562
|
id: number;
|
|
563
563
|
message: {
|
|
@@ -565,7 +565,7 @@ export type FailToGetQuoteErrorsQuery = {
|
|
|
565
565
|
|
|
566
566
|
export type LocaleCountryMessagesQuery = {
|
|
567
567
|
locale_countryCodesPage: Array<{
|
|
568
|
-
countryCodes: Array<string
|
|
568
|
+
countryCodes: Array<string>;
|
|
569
569
|
countryCodesPageMessageLinks: Array<{
|
|
570
570
|
id: number;
|
|
571
571
|
message: {
|
|
@@ -131,6 +131,46 @@ export declare const allowedCharacterSets: {
|
|
|
131
131
|
readonly Latin: "LATIN";
|
|
132
132
|
};
|
|
133
133
|
export type AllowedCharacterSets = (typeof allowedCharacterSets)[keyof typeof allowedCharacterSets];
|
|
134
|
+
export declare const allowedSettlementCurrencies: {
|
|
135
|
+
readonly Local: "LOCAL";
|
|
136
|
+
readonly LocalAndUsd: "LOCAL_AND_USD";
|
|
137
|
+
};
|
|
138
|
+
export type AllowedSettlementCurrencies = (typeof allowedSettlementCurrencies)[keyof typeof allowedSettlementCurrencies];
|
|
139
|
+
export declare const amountDetailRefundSourceType: {
|
|
140
|
+
readonly Discount: "DISCOUNT";
|
|
141
|
+
readonly DutyTaxFee: "DUTY_TAX_FEE";
|
|
142
|
+
readonly Item: "ITEM";
|
|
143
|
+
readonly Shipping: "SHIPPING";
|
|
144
|
+
};
|
|
145
|
+
export type AmountDetailRefundSourceType = (typeof amountDetailRefundSourceType)[keyof typeof amountDetailRefundSourceType];
|
|
146
|
+
export declare const amountDetailSourceType: {
|
|
147
|
+
readonly Discount: "DISCOUNT";
|
|
148
|
+
readonly Duty: "DUTY";
|
|
149
|
+
readonly DutyTaxFee: "DUTY_TAX_FEE";
|
|
150
|
+
readonly Fee: "FEE";
|
|
151
|
+
readonly Item: "ITEM";
|
|
152
|
+
readonly Shipping: "SHIPPING";
|
|
153
|
+
readonly Tax: "TAX";
|
|
154
|
+
};
|
|
155
|
+
export type AmountDetailSourceType = (typeof amountDetailSourceType)[keyof typeof amountDetailSourceType];
|
|
156
|
+
export declare const amountDetailSubtotalType: {
|
|
157
|
+
readonly Discount: "DISCOUNT";
|
|
158
|
+
readonly Duty: "DUTY";
|
|
159
|
+
readonly Fee: "FEE";
|
|
160
|
+
readonly Item: "ITEM";
|
|
161
|
+
readonly Shipping: "SHIPPING";
|
|
162
|
+
readonly Tax: "TAX";
|
|
163
|
+
};
|
|
164
|
+
export type AmountDetailSubtotalType = (typeof amountDetailSubtotalType)[keyof typeof amountDetailSubtotalType];
|
|
165
|
+
export declare const amountDetailUse: {
|
|
166
|
+
readonly BillingCompany: "BILLING_COMPANY";
|
|
167
|
+
readonly MerchantBase: "MERCHANT_BASE";
|
|
168
|
+
readonly MerchantProvided: "MERCHANT_PROVIDED";
|
|
169
|
+
readonly MerchantSettled: "MERCHANT_SETTLED";
|
|
170
|
+
readonly ShopperPresented: "SHOPPER_PRESENTED";
|
|
171
|
+
readonly ZonosBase: "ZONOS_BASE";
|
|
172
|
+
};
|
|
173
|
+
export type AmountDetailUse = (typeof amountDetailUse)[keyof typeof amountDetailUse];
|
|
134
174
|
export type AmountRange = {
|
|
135
175
|
max?: InputMaybe<Scalars['Decimal']['input']>;
|
|
136
176
|
min?: InputMaybe<Scalars['Decimal']['input']>;
|
|
@@ -1714,8 +1754,10 @@ export declare const itemKeyPreference: {
|
|
|
1714
1754
|
};
|
|
1715
1755
|
export type ItemKeyPreference = (typeof itemKeyPreference)[keyof typeof itemKeyPreference];
|
|
1716
1756
|
export declare const itemMeasurementType: {
|
|
1757
|
+
readonly AlcoholByVolume: "ALCOHOL_BY_VOLUME";
|
|
1717
1758
|
readonly Height: "HEIGHT";
|
|
1718
1759
|
readonly Length: "LENGTH";
|
|
1760
|
+
readonly Volume: "VOLUME";
|
|
1719
1761
|
readonly Weight: "WEIGHT";
|
|
1720
1762
|
readonly Width: "WIDTH";
|
|
1721
1763
|
};
|
|
@@ -1748,9 +1790,12 @@ export declare const itemUnitOfMeasure: {
|
|
|
1748
1790
|
readonly Gram: "GRAM";
|
|
1749
1791
|
readonly Inch: "INCH";
|
|
1750
1792
|
readonly Kilogram: "KILOGRAM";
|
|
1793
|
+
readonly Liter: "LITER";
|
|
1751
1794
|
readonly Meter: "METER";
|
|
1795
|
+
readonly Milliliter: "MILLILITER";
|
|
1752
1796
|
readonly Millimeter: "MILLIMETER";
|
|
1753
1797
|
readonly Ounce: "OUNCE";
|
|
1798
|
+
readonly Percentage: "PERCENTAGE";
|
|
1754
1799
|
readonly Pound: "POUND";
|
|
1755
1800
|
readonly Yard: "YARD";
|
|
1756
1801
|
};
|
|
@@ -1825,6 +1870,7 @@ export declare const landedCostFeeType: {
|
|
|
1825
1870
|
readonly Country: "COUNTRY";
|
|
1826
1871
|
readonly CurrencyConversionFee: "CURRENCY_CONVERSION_FEE";
|
|
1827
1872
|
readonly DdpServiceFee: "DDP_SERVICE_FEE";
|
|
1873
|
+
readonly Discount: "DISCOUNT";
|
|
1828
1874
|
readonly Duty: "DUTY";
|
|
1829
1875
|
readonly InclusivePriceAdjustment: "INCLUSIVE_PRICE_ADJUSTMENT";
|
|
1830
1876
|
readonly InclusivePricing: "INCLUSIVE_PRICING";
|
|
@@ -2497,6 +2543,7 @@ export declare const storeFeeRuleType: {
|
|
|
2497
2543
|
readonly RequiredNegotiable: "REQUIRED_NEGOTIABLE";
|
|
2498
2544
|
readonly RequiredNonNegotiable: "REQUIRED_NON_NEGOTIABLE";
|
|
2499
2545
|
readonly Transitory: "TRANSITORY";
|
|
2546
|
+
readonly TransitoryCustom: "TRANSITORY_CUSTOM";
|
|
2500
2547
|
};
|
|
2501
2548
|
export type StoreFeeRuleType = (typeof storeFeeRuleType)[keyof typeof storeFeeRuleType];
|
|
2502
2549
|
export declare const stripeActiveStatus: {
|
|
@@ -2589,7 +2636,9 @@ export declare const taxCalculationType: {
|
|
|
2589
2636
|
export type TaxCalculationType = (typeof taxCalculationType)[keyof typeof taxCalculationType];
|
|
2590
2637
|
export declare const taxIdType: {
|
|
2591
2638
|
readonly Cnp: "CNP";
|
|
2639
|
+
readonly Cuil: "CUIL";
|
|
2592
2640
|
readonly Dan: "DAN";
|
|
2641
|
+
readonly Dni: "DNI";
|
|
2593
2642
|
readonly Dtf: "DTF";
|
|
2594
2643
|
readonly Dun: "DUN";
|
|
2595
2644
|
readonly Ein: "EIN";
|
|
@@ -2600,7 +2649,12 @@ export declare const taxIdType: {
|
|
|
2600
2649
|
readonly Hmrc: "HMRC";
|
|
2601
2650
|
readonly Ioss: "IOSS";
|
|
2602
2651
|
readonly Lvg: "LVG";
|
|
2652
|
+
readonly Npwp: "NPWP";
|
|
2603
2653
|
readonly Osr: "OSR";
|
|
2654
|
+
readonly Pan: "PAN";
|
|
2655
|
+
readonly Pccc: "PCCC";
|
|
2656
|
+
readonly Rfc: "RFC";
|
|
2657
|
+
readonly Run: "RUN";
|
|
2604
2658
|
readonly Ssn: "SSN";
|
|
2605
2659
|
readonly Sta: "STA";
|
|
2606
2660
|
readonly Tan: "TAN";
|
|
@@ -3109,6 +3163,20 @@ export type FulfillmentCenterQuery = {
|
|
|
3109
3163
|
type: FulfillmentCenterType;
|
|
3110
3164
|
}> | null;
|
|
3111
3165
|
};
|
|
3166
|
+
export type PartyInfoQuery = {
|
|
3167
|
+
party: {
|
|
3168
|
+
person: {
|
|
3169
|
+
email: string | null;
|
|
3170
|
+
firstName: string | null;
|
|
3171
|
+
lastName: string | null;
|
|
3172
|
+
metadata: Array<{
|
|
3173
|
+
key: string;
|
|
3174
|
+
value: string | null;
|
|
3175
|
+
} | null> | null;
|
|
3176
|
+
phone: string | null;
|
|
3177
|
+
} | null;
|
|
3178
|
+
} | null;
|
|
3179
|
+
};
|
|
3112
3180
|
export type PaypalOrderCaptureMutation = {
|
|
3113
3181
|
paypalOrderCapture: {
|
|
3114
3182
|
order: {
|
|
@@ -3683,115 +3751,6 @@ export type GetOrderQuery = {
|
|
|
3683
3751
|
trackingNumbers: Array<string | null> | null;
|
|
3684
3752
|
} | null;
|
|
3685
3753
|
};
|
|
3686
|
-
export type OrderFragmentFragment = {
|
|
3687
|
-
accountOrderNumber: string | null;
|
|
3688
|
-
amountSubtotals: {
|
|
3689
|
-
duties: number;
|
|
3690
|
-
fees: number;
|
|
3691
|
-
items: number;
|
|
3692
|
-
shipping: number;
|
|
3693
|
-
taxes: number;
|
|
3694
|
-
variance: number;
|
|
3695
|
-
};
|
|
3696
|
-
createdAt: string;
|
|
3697
|
-
currencyCode: CurrencyCode;
|
|
3698
|
-
id: string;
|
|
3699
|
-
items: Array<{
|
|
3700
|
-
amount: number;
|
|
3701
|
-
attributes: Array<{
|
|
3702
|
-
key: string | null;
|
|
3703
|
-
value: string | null;
|
|
3704
|
-
} | null> | null;
|
|
3705
|
-
countryOfOrigin: CountryCode | null;
|
|
3706
|
-
description: string | null;
|
|
3707
|
-
hsCode: string | null;
|
|
3708
|
-
metadata: Array<{
|
|
3709
|
-
key: string | null;
|
|
3710
|
-
value: string | null;
|
|
3711
|
-
} | null> | null;
|
|
3712
|
-
name: string | null;
|
|
3713
|
-
productId: string;
|
|
3714
|
-
quantity: number;
|
|
3715
|
-
sku: string | null;
|
|
3716
|
-
}> | null;
|
|
3717
|
-
landedCosts: Array<{
|
|
3718
|
-
amountSubtotals: {
|
|
3719
|
-
duties: number;
|
|
3720
|
-
fees: number;
|
|
3721
|
-
items: number;
|
|
3722
|
-
landedCostTotal: number;
|
|
3723
|
-
shipping: number;
|
|
3724
|
-
taxes: number;
|
|
3725
|
-
} | null;
|
|
3726
|
-
appliedAdjustments: Array<{
|
|
3727
|
-
amount: number;
|
|
3728
|
-
item: {
|
|
3729
|
-
amount: number;
|
|
3730
|
-
name: string | null;
|
|
3731
|
-
} | null;
|
|
3732
|
-
}> | null;
|
|
3733
|
-
duties: Array<{
|
|
3734
|
-
exchangeRate: {
|
|
3735
|
-
rate: number;
|
|
3736
|
-
sourceCurrencyCode: CurrencyCode;
|
|
3737
|
-
targetCurrencyCode: CurrencyCode;
|
|
3738
|
-
} | null;
|
|
3739
|
-
}>;
|
|
3740
|
-
shipmentRating: {
|
|
3741
|
-
amount: number;
|
|
3742
|
-
currencyCode: CurrencyCode;
|
|
3743
|
-
details: Array<{
|
|
3744
|
-
amount: number;
|
|
3745
|
-
carrierCode: string;
|
|
3746
|
-
type: ShipmentAmountType;
|
|
3747
|
-
}> | null;
|
|
3748
|
-
displayName: string;
|
|
3749
|
-
id: string;
|
|
3750
|
-
serviceLevelCode: string;
|
|
3751
|
-
};
|
|
3752
|
-
}> | null;
|
|
3753
|
-
metadata: Array<{
|
|
3754
|
-
key: string;
|
|
3755
|
-
value: string;
|
|
3756
|
-
} | null> | null;
|
|
3757
|
-
mode: Mode;
|
|
3758
|
-
parties: Array<{
|
|
3759
|
-
location: {
|
|
3760
|
-
administrativeArea: string | null;
|
|
3761
|
-
administrativeAreaCode: string | null;
|
|
3762
|
-
countryCode: CountryCode;
|
|
3763
|
-
line1: string | null;
|
|
3764
|
-
line2: string | null;
|
|
3765
|
-
line3: string | null;
|
|
3766
|
-
line4: string | null;
|
|
3767
|
-
locality: string | null;
|
|
3768
|
-
longitude: number | null;
|
|
3769
|
-
postalCode: string | null;
|
|
3770
|
-
} | null;
|
|
3771
|
-
person: {
|
|
3772
|
-
companyName: string | null;
|
|
3773
|
-
email: string | null;
|
|
3774
|
-
firstName: string | null;
|
|
3775
|
-
lastName: string | null;
|
|
3776
|
-
phone: string | null;
|
|
3777
|
-
} | null;
|
|
3778
|
-
type: PartyType | null;
|
|
3779
|
-
}> | null;
|
|
3780
|
-
references: Array<{
|
|
3781
|
-
key: string | null;
|
|
3782
|
-
value: string | null;
|
|
3783
|
-
}> | null;
|
|
3784
|
-
root: {
|
|
3785
|
-
exchangeRates: Array<{
|
|
3786
|
-
rate: number;
|
|
3787
|
-
sourceCurrencyCode: CurrencyCode;
|
|
3788
|
-
targetCurrencyCode: CurrencyCode;
|
|
3789
|
-
type: ExchangeRateType;
|
|
3790
|
-
}>;
|
|
3791
|
-
} | null;
|
|
3792
|
-
status: OrderStatus;
|
|
3793
|
-
trackingNumbers: Array<string | null> | null;
|
|
3794
|
-
};
|
|
3795
3754
|
export type OrderUpdateAccountOrderNumberMutation = {
|
|
3796
3755
|
orderUpdateAccountOrderNumber: {
|
|
3797
3756
|
accountOrderNumber: string | null;
|
|
@@ -4032,6 +3991,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
4032
3991
|
organization(variables?: {
|
|
4033
3992
|
[x: string]: never;
|
|
4034
3993
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<OrganizationQuery>;
|
|
3994
|
+
partyInfo(variables?: {
|
|
3995
|
+
[x: string]: never;
|
|
3996
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<PartyInfoQuery>;
|
|
4035
3997
|
paypalOrderCapture(variables?: {
|
|
4036
3998
|
[x: string]: never;
|
|
4037
3999
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<PaypalOrderCaptureMutation>;
|