@zonos/elements 1.3.201 → 1.3.203
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/VarianceTest-0cb1e118.js +12 -0
- package/dist/cjs/cart-0d91ad0b.js +1955 -0
- package/dist/cjs/{debounce-d393fafe.js → debounce-94e1b7ff.js} +1 -1
- package/dist/cjs/{getBorderRadius-3d0a563e.js → getBorderRadius-8d3b1049.js} +1 -1
- package/dist/cjs/index.cjs.js +10 -8
- package/dist/cjs/{isDarkColor-92a10a85.js → isDarkColor-bcf49625.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{cart-e73cde62.js → localization-2f17c95f.js} +74 -1941
- package/dist/cjs/{paypal-39bbbd1a.js → paypal-9953115b.js} +10 -9
- package/dist/cjs/zonos-address_11.cjs.entry.js +98 -72
- package/dist/cjs/zonos-badge.cjs.entry.js +2 -1
- package/dist/cjs/zonos-banner.cjs.entry.js +2 -1
- package/dist/cjs/zonos-button_3.cjs.entry.js +4 -3
- package/dist/cjs/zonos-card.cjs.entry.js +3 -2
- package/dist/cjs/{zonos-cart-items_13.cjs.entry.js → zonos-cart-items_14.cjs.entry.js} +105 -82
- package/dist/cjs/zonos-checkout.cjs.entry.js +395 -50
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -1
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +13 -11
- package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -5
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +13 -13
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +10 -8
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +41 -42
- package/dist/cjs/zonos-hello.cjs.entry.js +30 -31
- package/dist/cjs/zonos-input.cjs.entry.js +3 -2
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +8 -9
- package/dist/cjs/zonos-logo.cjs.entry.js +4 -3
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -2
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +8 -7
- package/dist/cjs/zonos-text.cjs.entry.js +2 -1
- package/dist/cjs/zonos-toggle.cjs.entry.js +4 -3
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -3
- package/dist/cjs/{zonosStore-c466b127.js → zonosStore-9264749e.js} +15 -5
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +18 -17
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +235 -15
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +3 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +9 -4
- package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.css +62 -0
- package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +90 -0
- 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-stripe-input/zonos-stripe-input.js +4 -4
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
- package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +5 -5
- 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 +3 -3
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/checkout/cart.js +28 -18
- package/dist/collection/components/store/checkout/paypal.js +2 -1
- package/dist/collection/components/store/checkout/stripe.js +16 -11
- package/dist/collection/components/store/hello/localization.js +5 -5
- package/dist/collection/components/store/storageStore.js +32 -0
- package/dist/collection/components/store/zonosStore.js +12 -6
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +18 -6
- package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +19 -7
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +3 -3
- package/dist/collection/components/utils/api/getCheckoutSession.js +3 -3
- package/dist/collection/components/utils/api/placeTestOrder.js +2 -1
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +3 -2
- package/dist/collection/components/utils/api/selectVarianceTest.js +20 -0
- package/dist/collection/components/utils/buildCartUrl.js +44 -0
- package/dist/collection/components/utils/getLegacyQueryParams.js +42 -0
- package/dist/collection/components/utils/varianceTest/filterExpiredTests.js +6 -0
- package/dist/collection/components/utils/varianceTest/filterValidTests.js +23 -0
- package/dist/collection/components/utils/varianceTest/getSelectedTestVariant.js +6 -0
- package/dist/collection/components/utils/varianceTest/hasAtLeastOneAvailableTestKey.js +14 -0
- package/dist/collection/components/utils/varianceTest/isInAvailableTestKey.js +4 -0
- package/dist/collection/components/utils/varianceTest/isTestEnabled.js +4 -0
- package/dist/collection/components/utils/varianceTest/isTestKeysAllVariantSelected.js +6 -0
- package/dist/collection/components/utils/varianceTest/mergeTest.js +13 -0
- package/dist/collection/scripts/_getZonosQaUrl.js +2 -2
- package/dist/collection/types/checkout/api/VarianceTest.js +8 -0
- package/dist/collection/types/generated/graphql.internal.types.js +26 -7
- package/dist/collection/types/index.js +1 -0
- package/dist/esm/VarianceTest-fef2d958.js +10 -0
- package/dist/esm/cart-db61eb95.js +1918 -0
- package/dist/esm/{debounce-a2121722.js → debounce-3a9f27a0.js} +1 -1
- package/dist/esm/{getBorderRadius-413e97eb.js → getBorderRadius-78b28b4d.js} +1 -1
- package/dist/esm/index.js +9 -8
- package/dist/esm/{isDarkColor-4c7b2ffc.js → isDarkColor-31dd7dff.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{cart-f79c8021.js → localization-bf7224aa.js} +70 -1907
- package/dist/esm/{paypal-6d4667d1.js → paypal-2e0ffb07.js} +5 -4
- package/dist/esm/zonos-address_11.entry.js +54 -28
- package/dist/esm/zonos-badge.entry.js +2 -1
- package/dist/esm/zonos-banner.entry.js +2 -1
- package/dist/esm/zonos-button_3.entry.js +4 -3
- package/dist/esm/zonos-card.entry.js +3 -2
- package/dist/esm/{zonos-cart-items_13.entry.js → zonos-cart-items_14.entry.js} +54 -32
- package/dist/esm/zonos-checkout.entry.js +363 -18
- package/dist/esm/zonos-collapse.entry.js +2 -1
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +8 -6
- package/dist/esm/zonos-country-flag.entry.js +3 -4
- package/dist/esm/zonos-country-select_4.entry.js +8 -8
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-empty-state-payment_4.entry.js +10 -8
- package/dist/esm/zonos-hello-dialog.entry.js +7 -8
- package/dist/esm/zonos-hello.entry.js +4 -5
- package/dist/esm/zonos-input.entry.js +3 -2
- package/dist/esm/zonos-language-select_2.entry.js +5 -6
- package/dist/esm/zonos-logo.entry.js +4 -3
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -2
- package/dist/esm/zonos-stripe-input.entry.js +8 -7
- package/dist/esm/zonos-text.entry.js +2 -1
- package/dist/esm/zonos-toggle.entry.js +4 -3
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +4 -3
- package/dist/esm/{zonosStore-cdabc848.js → zonosStore-d10a829f.js} +15 -5
- package/dist/esm-es5/VarianceTest-fef2d958.js +1 -0
- package/dist/esm-es5/cart-db61eb95.js +1 -0
- package/dist/esm-es5/{debounce-a2121722.js → debounce-3a9f27a0.js} +1 -1
- package/dist/esm-es5/{getBorderRadius-413e97eb.js → getBorderRadius-78b28b4d.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-4c7b2ffc.js → isDarkColor-31dd7dff.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/localization-bf7224aa.js +1 -0
- package/dist/esm-es5/{paypal-6d4667d1.js → paypal-2e0ffb07.js} +2 -2
- package/dist/esm-es5/zonos-address_11.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_14.entry.js +1 -0
- 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-empty-state-payment_4.entry.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-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.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-d10a829f.js +1 -0
- package/dist/scripts/index.d.ts +844 -766
- 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.d.ts +16 -0
- package/dist/types/components/common/zonos-loading-overlay/zonos-loading-overlay.d.ts +16 -0
- package/dist/types/components/store/checkout/cart.d.ts +5 -2
- package/dist/types/components/store/checkout/stripe.d.ts +2 -2
- package/dist/types/components/store/hello/localization.d.ts +2 -2
- package/dist/types/components/store/storageStore.d.ts +13 -0
- package/dist/types/components/store/zonosStore.d.ts +7 -2
- package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +2 -0
- package/dist/types/components/stripe/zonos-custom-address/zonos-custom-address.d.ts +2 -0
- package/dist/types/components/utils/api/selectVarianceTest.d.ts +6 -0
- package/dist/types/components/utils/buildCartUrl.d.ts +10 -0
- package/dist/types/components/utils/getLegacyQueryParams.d.ts +2 -0
- package/dist/types/components/utils/varianceTest/filterExpiredTests.d.ts +2 -0
- package/dist/types/components/utils/varianceTest/filterValidTests.d.ts +9 -0
- package/dist/types/components/utils/varianceTest/getSelectedTestVariant.d.ts +2 -0
- package/dist/types/components/utils/varianceTest/hasAtLeastOneAvailableTestKey.d.ts +8 -0
- package/dist/types/components/utils/varianceTest/isInAvailableTestKey.d.ts +2 -0
- package/dist/types/components/utils/varianceTest/isTestEnabled.d.ts +2 -0
- package/dist/types/components/utils/varianceTest/isTestKeysAllVariantSelected.d.ts +9 -0
- package/dist/types/components/utils/varianceTest/mergeTest.d.ts +5 -0
- package/dist/types/components.d.ts +51 -0
- package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +7 -0
- package/dist/types/types/checkout/CheckoutConfig.d.ts +13 -1
- package/dist/types/types/checkout/api/CheckoutSession.d.ts +7 -0
- package/dist/types/types/checkout/api/VarianceTest.d.ts +30 -0
- package/dist/types/types/generated/graphql.internal.types.d.ts +206 -22
- package/dist/types/types/generated/graphql.internal.types.ts +235 -19
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/utils/ZonosSettings.d.ts +7 -6
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-609c32a3.system.entry.js → p-01987cb2.system.entry.js} +1 -1
- package/dist/zonos-elements/p-04a01cb1.js +1 -0
- package/dist/zonos-elements/p-04b43dd5.entry.js +1 -0
- package/dist/zonos-elements/{p-7d5d89f2.system.js → p-0693422b.system.js} +2 -2
- package/dist/zonos-elements/p-06f25f75.entry.js +1 -0
- package/dist/zonos-elements/p-0c62cfb3.entry.js +1 -0
- package/dist/zonos-elements/{p-7831b52c.system.entry.js → p-1dcdb65f.system.entry.js} +1 -1
- package/dist/zonos-elements/p-25970cb8.system.entry.js +1 -0
- package/dist/zonos-elements/p-26a634a5.system.entry.js +1 -0
- package/dist/zonos-elements/p-27987298.system.entry.js +1 -0
- package/dist/zonos-elements/p-2bb8ca7d.system.entry.js +1 -0
- package/dist/zonos-elements/p-2f70d0eb.entry.js +1 -0
- package/dist/zonos-elements/p-3284f459.system.entry.js +1 -0
- package/dist/zonos-elements/{p-13796f98.js → p-3d82a352.js} +1 -1
- package/dist/zonos-elements/p-411b8e10.entry.js +1 -0
- package/dist/zonos-elements/p-452070af.system.entry.js +1 -0
- package/dist/zonos-elements/p-45ebc788.entry.js +1 -0
- package/dist/zonos-elements/p-4c81112f.entry.js +1 -0
- package/dist/zonos-elements/p-4efa8187.js +1 -0
- package/dist/zonos-elements/p-5170bc41.entry.js +1 -0
- package/dist/zonos-elements/p-54cdc47f.system.entry.js +1 -0
- package/dist/zonos-elements/p-5a2dd041.system.js +1 -0
- package/dist/zonos-elements/p-5c74e5c9.system.entry.js +1 -0
- package/dist/zonos-elements/p-5d0f7364.system.js +1 -0
- package/dist/zonos-elements/p-6b6a9dd6.system.js +1 -0
- package/dist/zonos-elements/p-715d0f59.system.entry.js +1 -0
- package/dist/zonos-elements/{p-b8d87932.js → p-72f37935.js} +1 -1
- package/dist/zonos-elements/p-7ae5cd60.entry.js +1 -0
- package/dist/zonos-elements/p-7cd09f1f.system.js +1 -0
- package/dist/zonos-elements/p-80bbd9c0.system.entry.js +1 -0
- package/dist/zonos-elements/p-851c642e.system.entry.js +1 -0
- package/dist/zonos-elements/{p-4300d944.entry.js → p-8d870d4c.entry.js} +1 -1
- package/dist/zonos-elements/p-9af5e93a.entry.js +1 -0
- package/dist/zonos-elements/{p-5de59662.js → p-a9307caa.js} +2 -2
- package/dist/zonos-elements/p-aa1193bc.entry.js +1 -0
- package/dist/zonos-elements/p-ab176281.system.entry.js +1 -0
- package/dist/zonos-elements/p-bc8bda92.entry.js +1 -0
- package/dist/zonos-elements/p-be5afc91.system.entry.js +1 -0
- package/dist/zonos-elements/p-c291bac1.entry.js +1 -0
- package/dist/zonos-elements/p-c3d2422e.entry.js +1 -0
- package/dist/zonos-elements/{p-f28eb1dd.system.js → p-c50b3100.system.js} +1 -1
- package/dist/zonos-elements/p-c5fcbc92.system.entry.js +1 -0
- package/dist/zonos-elements/p-c767242b.entry.js +1 -0
- package/dist/zonos-elements/p-c9aa902e.system.entry.js +1 -0
- package/dist/zonos-elements/p-cb823c4d.system.js +1 -0
- package/dist/zonos-elements/p-cdd3087f.system.entry.js +1 -0
- package/dist/zonos-elements/p-d2165441.system.entry.js +1 -0
- package/dist/zonos-elements/{p-d422ad1d.system.js → p-d42dfd32.system.js} +1 -1
- package/dist/zonos-elements/p-d46349d3.system.entry.js +1 -0
- package/dist/zonos-elements/{p-b2241919.entry.js → p-d6a10007.entry.js} +1 -1
- package/dist/zonos-elements/p-d99d9e00.js +1 -0
- package/dist/zonos-elements/p-db025dfc.system.entry.js +1 -0
- package/dist/zonos-elements/p-dcd6acd4.system.entry.js +1 -0
- package/dist/zonos-elements/p-dd1cfa74.entry.js +1 -0
- package/dist/zonos-elements/p-df4c46a6.entry.js +1 -0
- package/dist/zonos-elements/p-dfd1ba1d.entry.js +1 -0
- package/dist/zonos-elements/{p-4593324c.js → p-e26c9e83.js} +1 -1
- package/dist/zonos-elements/p-e68d5219.entry.js +1 -0
- package/dist/zonos-elements/p-ea6d87a1.system.js +1 -1
- package/dist/zonos-elements/p-ef3e05e5.system.js +1 -0
- package/dist/zonos-elements/p-f255e822.js +1 -0
- package/dist/zonos-elements/p-f655ec36.entry.js +1 -0
- package/dist/zonos-elements/{p-e91b244c.entry.js → p-f891d470.entry.js} +1 -1
- package/dist/zonos-elements/p-f8d0d488.system.entry.js +1 -0
- package/dist/zonos-elements/{p-240ee490.system.entry.js → p-fbe36bc8.system.entry.js} +1 -1
- package/dist/zonos-elements/p-fcc2e712.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-f79c8021.js +0 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +0 -1
- package/dist/esm-es5/zonosStore-cdabc848.js +0 -1
- package/dist/zonos-elements/p-0302a254.entry.js +0 -1
- package/dist/zonos-elements/p-06ed3582.system.js +0 -1
- package/dist/zonos-elements/p-147ca395.entry.js +0 -1
- package/dist/zonos-elements/p-1998d8b3.entry.js +0 -1
- package/dist/zonos-elements/p-1eddec23.entry.js +0 -1
- package/dist/zonos-elements/p-20030bf5.system.js +0 -1
- package/dist/zonos-elements/p-24a2e899.system.entry.js +0 -1
- package/dist/zonos-elements/p-264f46a5.entry.js +0 -1
- package/dist/zonos-elements/p-2882b9f4.entry.js +0 -1
- package/dist/zonos-elements/p-2c915112.system.entry.js +0 -1
- package/dist/zonos-elements/p-327aebf5.entry.js +0 -1
- package/dist/zonos-elements/p-33488109.system.entry.js +0 -1
- package/dist/zonos-elements/p-337fab4e.js +0 -1
- package/dist/zonos-elements/p-3ddecaa4.system.entry.js +0 -1
- package/dist/zonos-elements/p-48f70043.system.entry.js +0 -1
- package/dist/zonos-elements/p-49a31b14.system.entry.js +0 -1
- package/dist/zonos-elements/p-4cd867d5.js +0 -1
- package/dist/zonos-elements/p-55711b80.system.entry.js +0 -1
- package/dist/zonos-elements/p-578bf5d7.entry.js +0 -1
- package/dist/zonos-elements/p-5c061a35.entry.js +0 -1
- package/dist/zonos-elements/p-6096c1c5.entry.js +0 -1
- package/dist/zonos-elements/p-65a8f19d.entry.js +0 -1
- package/dist/zonos-elements/p-6adc6e27.entry.js +0 -1
- package/dist/zonos-elements/p-6cd9b6a1.system.entry.js +0 -1
- package/dist/zonos-elements/p-79070ee6.entry.js +0 -1
- package/dist/zonos-elements/p-7bb9c330.entry.js +0 -1
- package/dist/zonos-elements/p-82aa4f9f.system.entry.js +0 -1
- package/dist/zonos-elements/p-8540f3e2.system.entry.js +0 -1
- package/dist/zonos-elements/p-8a9d4605.system.entry.js +0 -1
- package/dist/zonos-elements/p-932bed54.system.entry.js +0 -1
- package/dist/zonos-elements/p-94e3e50d.system.entry.js +0 -1
- package/dist/zonos-elements/p-9f6dd86a.entry.js +0 -1
- package/dist/zonos-elements/p-a64ab131.system.entry.js +0 -1
- package/dist/zonos-elements/p-aac95779.system.entry.js +0 -1
- package/dist/zonos-elements/p-ad3c5358.entry.js +0 -1
- package/dist/zonos-elements/p-af6af82e.system.js +0 -1
- package/dist/zonos-elements/p-b66b3306.system.entry.js +0 -1
- package/dist/zonos-elements/p-b6afcf3f.system.entry.js +0 -1
- package/dist/zonos-elements/p-b8d91f99.entry.js +0 -1
- package/dist/zonos-elements/p-c770044a.system.entry.js +0 -1
- package/dist/zonos-elements/p-d4842d10.system.entry.js +0 -1
- package/dist/zonos-elements/p-d6c3aec8.system.entry.js +0 -1
- package/dist/zonos-elements/p-daf73a4c.system.js +0 -1
- package/dist/zonos-elements/p-de388ea0.entry.js +0 -1
- package/dist/zonos-elements/p-e14d89de.entry.js +0 -1
- package/dist/zonos-elements/p-f6e587bb.entry.js +0 -1
- package/dist/zonos-elements/p-f818bdf5.entry.js +0 -1
- package/dist/zonos-elements/p-fce6bffe.system.entry.js +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { StorageVariantTestKey } from "../../../types/index";
|
|
2
|
+
/**
|
|
3
|
+
* Filter the response to only include test keys and variants key that we support
|
|
4
|
+
*/
|
|
5
|
+
export declare const filterValidTests: (testKeys: {
|
|
6
|
+
expiresAt?: number;
|
|
7
|
+
selectedVariantKey: string | null;
|
|
8
|
+
testKey: string;
|
|
9
|
+
}[]) => StorageVariantTestKey[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type StorageVariantTestKey } from "../../../types/index";
|
|
2
|
+
/**
|
|
3
|
+
* Check if the response contains at least one available test key that we support
|
|
4
|
+
*/
|
|
5
|
+
export declare const hasAtLeastOneAvailableTestKey: (rawResponse: {
|
|
6
|
+
selectedVariantKey: string | null;
|
|
7
|
+
testKey: string;
|
|
8
|
+
}[]) => rawResponse is StorageVariantTestKey[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { StorageVariantTestKey } from "../../../types/index";
|
|
2
|
+
/**
|
|
3
|
+
* Typeguard to check if all variant test keys are selected.
|
|
4
|
+
*/
|
|
5
|
+
export declare const isTestKeysAllVariantSelected: (variantTestKeys: {
|
|
6
|
+
expiresAt: number;
|
|
7
|
+
selectedVariantKey: string | null;
|
|
8
|
+
testKey: string;
|
|
9
|
+
}[]) => variantTestKeys is StorageVariantTestKey[];
|
|
@@ -931,6 +931,27 @@ export namespace Components {
|
|
|
931
931
|
*/
|
|
932
932
|
"titleText": string;
|
|
933
933
|
}
|
|
934
|
+
interface ZonosLoadingOverlay {
|
|
935
|
+
/**
|
|
936
|
+
* Whether or not the overlay is open
|
|
937
|
+
* @default false
|
|
938
|
+
*/
|
|
939
|
+
"open": boolean;
|
|
940
|
+
/**
|
|
941
|
+
* Spinner size (optional, default 40)
|
|
942
|
+
*/
|
|
943
|
+
"size": number;
|
|
944
|
+
/**
|
|
945
|
+
* Spinner color (optional)
|
|
946
|
+
*/
|
|
947
|
+
"spinnerColor"?: | 'primary'
|
|
948
|
+
| 'info'
|
|
949
|
+
| 'success'
|
|
950
|
+
| 'danger'
|
|
951
|
+
| 'warning'
|
|
952
|
+
| 'black'
|
|
953
|
+
| 'white';
|
|
954
|
+
}
|
|
934
955
|
interface ZonosLogo {
|
|
935
956
|
/**
|
|
936
957
|
* Theme to change the color of the logo
|
|
@@ -1773,6 +1794,12 @@ declare global {
|
|
|
1773
1794
|
prototype: HTMLZonosLinkAuthenticationElement;
|
|
1774
1795
|
new (): HTMLZonosLinkAuthenticationElement;
|
|
1775
1796
|
};
|
|
1797
|
+
interface HTMLZonosLoadingOverlayElement extends Components.ZonosLoadingOverlay, HTMLStencilElement {
|
|
1798
|
+
}
|
|
1799
|
+
var HTMLZonosLoadingOverlayElement: {
|
|
1800
|
+
prototype: HTMLZonosLoadingOverlayElement;
|
|
1801
|
+
new (): HTMLZonosLoadingOverlayElement;
|
|
1802
|
+
};
|
|
1776
1803
|
interface HTMLZonosLogoElement extends Components.ZonosLogo, HTMLStencilElement {
|
|
1777
1804
|
}
|
|
1778
1805
|
var HTMLZonosLogoElement: {
|
|
@@ -2012,6 +2039,7 @@ declare global {
|
|
|
2012
2039
|
"zonos-language-select": HTMLZonosLanguageSelectElement;
|
|
2013
2040
|
"zonos-link": HTMLZonosLinkElement;
|
|
2014
2041
|
"zonos-link-authentication": HTMLZonosLinkAuthenticationElement;
|
|
2042
|
+
"zonos-loading-overlay": HTMLZonosLoadingOverlayElement;
|
|
2015
2043
|
"zonos-logo": HTMLZonosLogoElement;
|
|
2016
2044
|
"zonos-notification": HTMLZonosNotificationElement;
|
|
2017
2045
|
"zonos-payment": HTMLZonosPaymentElement;
|
|
@@ -2924,6 +2952,27 @@ declare namespace LocalJSX {
|
|
|
2924
2952
|
*/
|
|
2925
2953
|
"titleText": string;
|
|
2926
2954
|
}
|
|
2955
|
+
interface ZonosLoadingOverlay {
|
|
2956
|
+
/**
|
|
2957
|
+
* Whether or not the overlay is open
|
|
2958
|
+
* @default false
|
|
2959
|
+
*/
|
|
2960
|
+
"open"?: boolean;
|
|
2961
|
+
/**
|
|
2962
|
+
* Spinner size (optional, default 40)
|
|
2963
|
+
*/
|
|
2964
|
+
"size"?: number;
|
|
2965
|
+
/**
|
|
2966
|
+
* Spinner color (optional)
|
|
2967
|
+
*/
|
|
2968
|
+
"spinnerColor"?: | 'primary'
|
|
2969
|
+
| 'info'
|
|
2970
|
+
| 'success'
|
|
2971
|
+
| 'danger'
|
|
2972
|
+
| 'warning'
|
|
2973
|
+
| 'black'
|
|
2974
|
+
| 'white';
|
|
2975
|
+
}
|
|
2927
2976
|
interface ZonosLogo {
|
|
2928
2977
|
/**
|
|
2929
2978
|
* Theme to change the color of the logo
|
|
@@ -3336,6 +3385,7 @@ declare namespace LocalJSX {
|
|
|
3336
3385
|
"zonos-language-select": ZonosLanguageSelect;
|
|
3337
3386
|
"zonos-link": ZonosLink;
|
|
3338
3387
|
"zonos-link-authentication": ZonosLinkAuthentication;
|
|
3388
|
+
"zonos-loading-overlay": ZonosLoadingOverlay;
|
|
3339
3389
|
"zonos-logo": ZonosLogo;
|
|
3340
3390
|
"zonos-notification": ZonosNotification;
|
|
3341
3391
|
"zonos-payment": ZonosPayment;
|
|
@@ -3398,6 +3448,7 @@ declare module "@stencil/core" {
|
|
|
3398
3448
|
"zonos-language-select": LocalJSX.ZonosLanguageSelect & JSXBase.HTMLAttributes<HTMLZonosLanguageSelectElement>;
|
|
3399
3449
|
"zonos-link": LocalJSX.ZonosLink & JSXBase.HTMLAttributes<HTMLZonosLinkElement>;
|
|
3400
3450
|
"zonos-link-authentication": LocalJSX.ZonosLinkAuthentication & JSXBase.HTMLAttributes<HTMLZonosLinkAuthenticationElement>;
|
|
3451
|
+
"zonos-loading-overlay": LocalJSX.ZonosLoadingOverlay & JSXBase.HTMLAttributes<HTMLZonosLoadingOverlayElement>;
|
|
3401
3452
|
"zonos-logo": LocalJSX.ZonosLogo & JSXBase.HTMLAttributes<HTMLZonosLogoElement>;
|
|
3402
3453
|
"zonos-notification": LocalJSX.ZonosNotification & JSXBase.HTMLAttributes<HTMLZonosNotificationElement>;
|
|
3403
3454
|
"zonos-payment": LocalJSX.ZonosPayment & JSXBase.HTMLAttributes<HTMLZonosPaymentElement>;
|
|
@@ -111,6 +111,13 @@ export declare const setupCartDataWithSettings: (cartId: string) => Promise<{
|
|
|
111
111
|
}>;
|
|
112
112
|
updatedAt: string;
|
|
113
113
|
updatedBy: string;
|
|
114
|
+
varianceTestRegistrations: Array<{
|
|
115
|
+
testKey: string;
|
|
116
|
+
varianceAllocation: Array<{
|
|
117
|
+
percentage: number;
|
|
118
|
+
variantKey: string;
|
|
119
|
+
}>;
|
|
120
|
+
}> | null;
|
|
114
121
|
visibilityStatus: import("../../types/generated/graphql.internal.types").CheckoutVisibilityStatus;
|
|
115
122
|
};
|
|
116
123
|
credentialTokenId: string;
|
|
@@ -20,7 +20,19 @@ export type PrefillAddress = {
|
|
|
20
20
|
*/
|
|
21
21
|
customerCountry?: string;
|
|
22
22
|
customerEmail: string;
|
|
23
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Will use this value to prefill the first name field in the checkout form instead of `customerName`
|
|
25
|
+
*/
|
|
26
|
+
customerFirstName: string;
|
|
27
|
+
/**
|
|
28
|
+
* Will use this value to prefill the last name field in the checkout form instead of `customerName`
|
|
29
|
+
*/
|
|
30
|
+
customerLastName: string;
|
|
31
|
+
/**
|
|
32
|
+
* Will use this value to prefill if customerFirstName and customerLastName are not provided
|
|
33
|
+
* @deprecated Use `customerFirstName` and `customerLastName` since Checkout uses 2 inputs for first and last name, there is not a good way to split the name into first and last name for some countries.
|
|
34
|
+
*/
|
|
35
|
+
customerName?: string;
|
|
24
36
|
customerPhone: string;
|
|
25
37
|
customerState?: string;
|
|
26
38
|
customerZip: string;
|
|
@@ -3,6 +3,10 @@ export type GetCheckoutSessionRequest = {
|
|
|
3
3
|
checkoutSessionId: string;
|
|
4
4
|
};
|
|
5
5
|
export type GetCheckoutSessionResponse = GetCheckoutSessionQuery;
|
|
6
|
+
type CheckoutSessionVariantTest = {
|
|
7
|
+
selectedVariantKey: string | null;
|
|
8
|
+
testKey: string;
|
|
9
|
+
};
|
|
6
10
|
export type CheckoutSessionUpdateRequest = {
|
|
7
11
|
adjustmentsAmount: number;
|
|
8
12
|
cartId: string | null;
|
|
@@ -20,6 +24,7 @@ export type CheckoutSessionUpdateRequest = {
|
|
|
20
24
|
}[];
|
|
21
25
|
presentmentCountryCode: CountryCode | null;
|
|
22
26
|
skipPaymentIntent?: boolean;
|
|
27
|
+
varianceTestInput?: CheckoutSessionVariantTest[];
|
|
23
28
|
};
|
|
24
29
|
export type CheckoutSessionUpdateMetadata = {
|
|
25
30
|
key: string;
|
|
@@ -41,6 +46,7 @@ export type CheckoutSessionCreateRequest = {
|
|
|
41
46
|
metadata: CheckoutSessionUpdateMetadata;
|
|
42
47
|
presentmentCountryCode: CountryCode | null;
|
|
43
48
|
skipPaymentIntent?: boolean;
|
|
49
|
+
varianceTestInput?: CheckoutSessionVariantTest[];
|
|
44
50
|
};
|
|
45
51
|
export type PaymentIntentCreateRequest = {
|
|
46
52
|
checkoutSessionId: string;
|
|
@@ -51,3 +57,4 @@ export type CheckoutSessionBaseCurrencyUpdatePayload = {
|
|
|
51
57
|
currencyCode: CurrencyCode;
|
|
52
58
|
};
|
|
53
59
|
export type CheckoutSessionBaseCurrencyUpdateResponse = CheckoutSessionBaseCurrencyUpdateMutation;
|
|
60
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const availableTestKeys: {
|
|
2
|
+
readonly hosted_vs_native: {
|
|
3
|
+
readonly availableVariants: readonly ["hosted", "native"];
|
|
4
|
+
};
|
|
5
|
+
readonly test_A_B: {
|
|
6
|
+
readonly availableVariants: readonly ["A", "B"];
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export type TestKey = keyof typeof availableTestKeys;
|
|
10
|
+
export type AvailableVariant<_TestKey extends TestKey> = (typeof availableTestKeys)[_TestKey]['availableVariants'][number];
|
|
11
|
+
export type VariantTestKey = {
|
|
12
|
+
[key in TestKey]: {
|
|
13
|
+
selectedVariantKey: AvailableVariant<key> | null;
|
|
14
|
+
testKey: key;
|
|
15
|
+
};
|
|
16
|
+
}[TestKey];
|
|
17
|
+
export type SelectVarianceTestPayload = {
|
|
18
|
+
testKeys: string[];
|
|
19
|
+
};
|
|
20
|
+
export type SelectVarianceTestRawResponse = {
|
|
21
|
+
selectedVariantKey: string;
|
|
22
|
+
testKey: string;
|
|
23
|
+
}[];
|
|
24
|
+
export type SelectVarianceTestResponse = VariantTestKey[];
|
|
25
|
+
export type StorageVariantTestKey = VariantTestKey & {
|
|
26
|
+
/**
|
|
27
|
+
* The timestamp when the test key expires. (Use to assign new test for user once the test key expires)
|
|
28
|
+
*/
|
|
29
|
+
expiresAt: number;
|
|
30
|
+
};
|
|
@@ -327,6 +327,10 @@ export declare const carrierApiSupportType: {
|
|
|
327
327
|
readonly Unsupported: "UNSUPPORTED";
|
|
328
328
|
};
|
|
329
329
|
export type CarrierApiSupportType = (typeof carrierApiSupportType)[keyof typeof carrierApiSupportType];
|
|
330
|
+
export declare const carrierBillingInvoiceCarrier: {
|
|
331
|
+
readonly BroadReach: "BROAD_REACH";
|
|
332
|
+
};
|
|
333
|
+
export type CarrierBillingInvoiceCarrier = (typeof carrierBillingInvoiceCarrier)[keyof typeof carrierBillingInvoiceCarrier];
|
|
330
334
|
export declare const carrierBillingInvoiceFeeType: {
|
|
331
335
|
readonly RevShareAmount: "REV_SHARE_AMOUNT";
|
|
332
336
|
readonly RevSharePercent: "REV_SHARE_PERCENT";
|
|
@@ -1758,16 +1762,10 @@ export declare const incotermCode: {
|
|
|
1758
1762
|
};
|
|
1759
1763
|
export type IncotermCode = (typeof incotermCode)[keyof typeof incotermCode];
|
|
1760
1764
|
export declare const invoiceCarrier: {
|
|
1761
|
-
readonly Apc: "APC";
|
|
1762
|
-
readonly Asendia: "ASENDIA";
|
|
1763
|
-
readonly BoxC: "BOX_C";
|
|
1764
|
-
readonly BroadReach: "BROAD_REACH";
|
|
1765
1765
|
readonly Dhl: "DHL";
|
|
1766
|
-
readonly DhlEcom: "DHL_ECOM";
|
|
1767
|
-
readonly Epost: "EPOST";
|
|
1768
1766
|
readonly Fedex: "FEDEX";
|
|
1769
|
-
readonly Landmark: "LANDMARK";
|
|
1770
1767
|
readonly Ups: "UPS";
|
|
1768
|
+
readonly Zonos: "ZONOS";
|
|
1771
1769
|
};
|
|
1772
1770
|
export type InvoiceCarrier = (typeof invoiceCarrier)[keyof typeof invoiceCarrier];
|
|
1773
1771
|
export declare const invoiceLanguageCode: {
|
|
@@ -1821,6 +1819,15 @@ export declare const invoiceStatus: {
|
|
|
1821
1819
|
readonly Voided: "VOIDED";
|
|
1822
1820
|
};
|
|
1823
1821
|
export type InvoiceStatus = (typeof invoiceStatus)[keyof typeof invoiceStatus];
|
|
1822
|
+
export declare const invoiceUploadStatus: {
|
|
1823
|
+
readonly Error: "ERROR";
|
|
1824
|
+
readonly FailedReconciliation: "FAILED_RECONCILIATION";
|
|
1825
|
+
readonly PartiallyReconciled: "PARTIALLY_RECONCILED";
|
|
1826
|
+
readonly ProcessingReconciliation: "PROCESSING_RECONCILIATION";
|
|
1827
|
+
readonly Received: "RECEIVED";
|
|
1828
|
+
readonly Reconciled: "RECONCILED";
|
|
1829
|
+
};
|
|
1830
|
+
export type InvoiceUploadStatus = (typeof invoiceUploadStatus)[keyof typeof invoiceUploadStatus];
|
|
1824
1831
|
export declare const itemAmountTargetType: {
|
|
1825
1832
|
readonly BillingCompany: "BILLING_COMPANY";
|
|
1826
1833
|
readonly ItemProvided: "ITEM_PROVIDED";
|
|
@@ -2903,6 +2910,8 @@ export declare const storeFeeRuleDetailCategoryIdCreateType: {
|
|
|
2903
2910
|
readonly DdpServiceFee: "DDP_SERVICE_FEE";
|
|
2904
2911
|
readonly DutyBuffer: "DUTY_BUFFER";
|
|
2905
2912
|
readonly DutyTaxBuffer: "DUTY_TAX_BUFFER";
|
|
2913
|
+
readonly LandedCostGuaranteeBuffer: "LANDED_COST_GUARANTEE_BUFFER";
|
|
2914
|
+
readonly LandedCostGuaranteeSubsidy: "LANDED_COST_GUARANTEE_SUBSIDY";
|
|
2906
2915
|
readonly MagentoCrossDockingBuffer: "MAGENTO_CROSS_DOCKING_BUFFER";
|
|
2907
2916
|
readonly MagentoGuaranteeOrder: "MAGENTO_GUARANTEE_ORDER";
|
|
2908
2917
|
readonly MagentoGuaranteePercent: "MAGENTO_GUARANTEE_PERCENT";
|
|
@@ -3499,7 +3508,17 @@ export type CartCalculateLandedCostMutation = {
|
|
|
3499
3508
|
landedCostTotal: number;
|
|
3500
3509
|
shipping: number;
|
|
3501
3510
|
} | null;
|
|
3502
|
-
|
|
3511
|
+
appliedAdjustments: Array<{
|
|
3512
|
+
adjustment: {
|
|
3513
|
+
name: string | null;
|
|
3514
|
+
source: AdjustmentSource | null;
|
|
3515
|
+
} | null;
|
|
3516
|
+
amount: number;
|
|
3517
|
+
item: {
|
|
3518
|
+
amount: number;
|
|
3519
|
+
} | null;
|
|
3520
|
+
type: LandedCostAdjustmentType | null;
|
|
3521
|
+
}> | null;
|
|
3503
3522
|
deMinimis: Array<{
|
|
3504
3523
|
formula: string;
|
|
3505
3524
|
threshold: DeMinimisThreshold;
|
|
@@ -3507,27 +3526,21 @@ export type CartCalculateLandedCostMutation = {
|
|
|
3507
3526
|
note: string;
|
|
3508
3527
|
type: DeMinimisType;
|
|
3509
3528
|
}>;
|
|
3510
|
-
|
|
3529
|
+
remittance: Array<{
|
|
3511
3530
|
amount: number;
|
|
3512
|
-
|
|
3531
|
+
description: string;
|
|
3513
3532
|
}>;
|
|
3514
3533
|
fees: Array<{
|
|
3515
3534
|
amount: number;
|
|
3516
3535
|
currencyCode: CurrencyCode;
|
|
3517
3536
|
}>;
|
|
3518
3537
|
id: string;
|
|
3519
|
-
|
|
3520
|
-
adjustment: {
|
|
3521
|
-
name: string | null;
|
|
3522
|
-
source: AdjustmentSource | null;
|
|
3523
|
-
} | null;
|
|
3524
|
-
amount: number;
|
|
3525
|
-
item: {
|
|
3526
|
-
amount: number;
|
|
3527
|
-
} | null;
|
|
3528
|
-
type: LandedCostAdjustmentType | null;
|
|
3529
|
-
}> | null;
|
|
3538
|
+
landedCostGuaranteeCode: LandedCostGuaranteeCode;
|
|
3530
3539
|
method: IncotermCode;
|
|
3540
|
+
duties: Array<{
|
|
3541
|
+
amount: number;
|
|
3542
|
+
currencyCode: CurrencyCode;
|
|
3543
|
+
}>;
|
|
3531
3544
|
shipmentRating: {
|
|
3532
3545
|
id: string;
|
|
3533
3546
|
};
|
|
@@ -3626,8 +3639,8 @@ export type CalculateLandedCostMutation = {
|
|
|
3626
3639
|
deMinimis: Array<{
|
|
3627
3640
|
formula: string;
|
|
3628
3641
|
method: IncotermCode;
|
|
3629
|
-
threshold: DeMinimisThreshold;
|
|
3630
3642
|
note: string;
|
|
3643
|
+
threshold: DeMinimisThreshold;
|
|
3631
3644
|
type: DeMinimisType;
|
|
3632
3645
|
}>;
|
|
3633
3646
|
duties: Array<{
|
|
@@ -3641,6 +3654,10 @@ export type CalculateLandedCostMutation = {
|
|
|
3641
3654
|
id: string;
|
|
3642
3655
|
landedCostGuaranteeCode: LandedCostGuaranteeCode;
|
|
3643
3656
|
method: IncotermCode;
|
|
3657
|
+
remittance: Array<{
|
|
3658
|
+
amount: number;
|
|
3659
|
+
description: string;
|
|
3660
|
+
}>;
|
|
3644
3661
|
shipmentRating: {
|
|
3645
3662
|
id: string;
|
|
3646
3663
|
};
|
|
@@ -3744,6 +3761,10 @@ export type LandedCostFragment = {
|
|
|
3744
3761
|
id: string;
|
|
3745
3762
|
landedCostGuaranteeCode: LandedCostGuaranteeCode;
|
|
3746
3763
|
method: IncotermCode;
|
|
3764
|
+
remittance: Array<{
|
|
3765
|
+
amount: number;
|
|
3766
|
+
description: string;
|
|
3767
|
+
}>;
|
|
3747
3768
|
shipmentRating: {
|
|
3748
3769
|
id: string;
|
|
3749
3770
|
};
|
|
@@ -3928,6 +3949,10 @@ export type CheckoutSessionCreateMutation = {
|
|
|
3928
3949
|
taxes: number;
|
|
3929
3950
|
total: number;
|
|
3930
3951
|
};
|
|
3952
|
+
varianceTestResults: Array<{
|
|
3953
|
+
selectedVariantKey: string;
|
|
3954
|
+
testKey: string;
|
|
3955
|
+
}> | null;
|
|
3931
3956
|
};
|
|
3932
3957
|
};
|
|
3933
3958
|
export type CheckoutSessionPaymentIntentCreateMutation = {
|
|
@@ -3991,6 +4016,10 @@ export type CheckoutSessionPaymentIntentCreateMutation = {
|
|
|
3991
4016
|
taxes: number;
|
|
3992
4017
|
total: number;
|
|
3993
4018
|
};
|
|
4019
|
+
varianceTestResults: Array<{
|
|
4020
|
+
selectedVariantKey: string;
|
|
4021
|
+
testKey: string;
|
|
4022
|
+
}> | null;
|
|
3994
4023
|
};
|
|
3995
4024
|
};
|
|
3996
4025
|
export type PaypalOrderCreateMutation = {
|
|
@@ -4125,6 +4154,13 @@ export type CartCheckoutWorkflowQuery = {
|
|
|
4125
4154
|
}>;
|
|
4126
4155
|
updatedAt: string;
|
|
4127
4156
|
updatedBy: string;
|
|
4157
|
+
varianceTestRegistrations: Array<{
|
|
4158
|
+
testKey: string;
|
|
4159
|
+
varianceAllocation: Array<{
|
|
4160
|
+
percentage: number;
|
|
4161
|
+
variantKey: string;
|
|
4162
|
+
}>;
|
|
4163
|
+
}> | null;
|
|
4128
4164
|
visibilityStatus: CheckoutVisibilityStatus;
|
|
4129
4165
|
};
|
|
4130
4166
|
credentialTokenId: string;
|
|
@@ -4234,6 +4270,12 @@ export type CheckoutSessionOrderCreateMutation = {
|
|
|
4234
4270
|
} | null;
|
|
4235
4271
|
};
|
|
4236
4272
|
};
|
|
4273
|
+
export type SelectCheckoutVarianceTestMutation = {
|
|
4274
|
+
checkoutVarianceTestRegistrationSelect: Array<{
|
|
4275
|
+
selectedVariantKey: string;
|
|
4276
|
+
testKey: string;
|
|
4277
|
+
}>;
|
|
4278
|
+
};
|
|
4237
4279
|
export type ShippingZonesQuery = {
|
|
4238
4280
|
shippingZones: Array<{
|
|
4239
4281
|
countryCodes: Array<CountryCode> | null;
|
|
@@ -4316,6 +4358,10 @@ export type CheckoutSessionDetailsFragment = {
|
|
|
4316
4358
|
taxes: number;
|
|
4317
4359
|
total: number;
|
|
4318
4360
|
};
|
|
4361
|
+
varianceTestResults: Array<{
|
|
4362
|
+
selectedVariantKey: string;
|
|
4363
|
+
testKey: string;
|
|
4364
|
+
}> | null;
|
|
4319
4365
|
};
|
|
4320
4366
|
export type CheckoutSessionUpdateMutation = {
|
|
4321
4367
|
checkoutSessionUpdate: {
|
|
@@ -4378,6 +4424,10 @@ export type CheckoutSessionUpdateMutation = {
|
|
|
4378
4424
|
taxes: number;
|
|
4379
4425
|
total: number;
|
|
4380
4426
|
};
|
|
4427
|
+
varianceTestResults: Array<{
|
|
4428
|
+
selectedVariantKey: string;
|
|
4429
|
+
testKey: string;
|
|
4430
|
+
}> | null;
|
|
4381
4431
|
};
|
|
4382
4432
|
};
|
|
4383
4433
|
export type ZonosSettingsQuery = {
|
|
@@ -4446,6 +4496,13 @@ export type ZonosSettingsQuery = {
|
|
|
4446
4496
|
}>;
|
|
4447
4497
|
updatedAt: string;
|
|
4448
4498
|
updatedBy: string;
|
|
4499
|
+
varianceTestRegistrations: Array<{
|
|
4500
|
+
testKey: string;
|
|
4501
|
+
varianceAllocation: Array<{
|
|
4502
|
+
percentage: number;
|
|
4503
|
+
variantKey: string;
|
|
4504
|
+
}>;
|
|
4505
|
+
}> | null;
|
|
4449
4506
|
visibilityStatus: CheckoutVisibilityStatus;
|
|
4450
4507
|
} | null;
|
|
4451
4508
|
helloSettings: {
|
|
@@ -4488,6 +4545,114 @@ export type ZonosSettingsQuery = {
|
|
|
4488
4545
|
} | null;
|
|
4489
4546
|
} | null;
|
|
4490
4547
|
};
|
|
4548
|
+
export type HelloSettingsQuery = {
|
|
4549
|
+
helloSettings: {
|
|
4550
|
+
allowedDomains: Array<string>;
|
|
4551
|
+
anchorElementSelector: string;
|
|
4552
|
+
cartUrlPattern: string | null;
|
|
4553
|
+
createdAt: string;
|
|
4554
|
+
createdBy: string;
|
|
4555
|
+
currencyBehavior: HelloCurrencyBehavior;
|
|
4556
|
+
currencyElementSelector: string;
|
|
4557
|
+
dutyTaxEstimationBehavior: HelloEstimateBehavior;
|
|
4558
|
+
excludedUrlPatterns: Array<string>;
|
|
4559
|
+
homepageUrlPattern: string | null;
|
|
4560
|
+
id: string;
|
|
4561
|
+
mobileLocation: HelloMobileLocation;
|
|
4562
|
+
mode: Mode;
|
|
4563
|
+
organization: string;
|
|
4564
|
+
peekMessageBehavior: HelloPeekMessageBehavior;
|
|
4565
|
+
peekMessageDelay: number;
|
|
4566
|
+
productAddToCartElementSelector: string | null;
|
|
4567
|
+
productDescriptionElementSelector: string | null;
|
|
4568
|
+
productDetailUrlPattern: string | null;
|
|
4569
|
+
productListUrlPattern: string | null;
|
|
4570
|
+
productPriceElementSelector: string | null;
|
|
4571
|
+
productTitleElementSelector: string | null;
|
|
4572
|
+
restrictionBehavior: HelloRestrictionBehavior;
|
|
4573
|
+
updatedAt: string;
|
|
4574
|
+
updatedBy: string;
|
|
4575
|
+
visibilityStatus: HelloVisibilityStatus;
|
|
4576
|
+
} | null;
|
|
4577
|
+
};
|
|
4578
|
+
export type CheckoutSettingsQuery = {
|
|
4579
|
+
checkoutSettings: {
|
|
4580
|
+
allowedCharacterSets: AllowedCharacterSets;
|
|
4581
|
+
allowedSettlementCurrencies: AllowedSettlementCurrencies;
|
|
4582
|
+
analyticsProviders: Array<{
|
|
4583
|
+
status: AnalyticsProviderStatus;
|
|
4584
|
+
type: AnalyticsProviderType;
|
|
4585
|
+
}>;
|
|
4586
|
+
captureDelay: number;
|
|
4587
|
+
companyFieldsStatus: CheckoutCompanyFieldsStatus;
|
|
4588
|
+
createdAt: string;
|
|
4589
|
+
createdBy: string;
|
|
4590
|
+
customHTML: string;
|
|
4591
|
+
defaultCartExpiration: number;
|
|
4592
|
+
disabledCountries: Array<CountryCode> | null;
|
|
4593
|
+
externalPaymentMethods: Array<{
|
|
4594
|
+
status: ExternalPaymentMethodStatus;
|
|
4595
|
+
type: ExternalPaymentMethodType;
|
|
4596
|
+
}> | null;
|
|
4597
|
+
externalServiceTokens: Array<{
|
|
4598
|
+
token: string;
|
|
4599
|
+
type: ExternalServiceTokenType;
|
|
4600
|
+
}>;
|
|
4601
|
+
id: string;
|
|
4602
|
+
mode: Mode;
|
|
4603
|
+
orderNotifications: {
|
|
4604
|
+
abandonedCart: {
|
|
4605
|
+
delay: number;
|
|
4606
|
+
discountPercent: number;
|
|
4607
|
+
status: {
|
|
4608
|
+
active: NotificationActiveStatus;
|
|
4609
|
+
sendCopiesTo: Array<string>;
|
|
4610
|
+
};
|
|
4611
|
+
};
|
|
4612
|
+
orderCancelled: {
|
|
4613
|
+
active: NotificationActiveStatus;
|
|
4614
|
+
sendCopiesTo: Array<string>;
|
|
4615
|
+
};
|
|
4616
|
+
orderShipped: {
|
|
4617
|
+
active: NotificationActiveStatus;
|
|
4618
|
+
sendCopiesTo: Array<string>;
|
|
4619
|
+
};
|
|
4620
|
+
};
|
|
4621
|
+
organization: string;
|
|
4622
|
+
placeOrderButtonSelector: string | null;
|
|
4623
|
+
subscriptionStatus: CheckoutSubscriptionStatus;
|
|
4624
|
+
successBehavior: CheckoutSuccessBehavior;
|
|
4625
|
+
successRedirectUrl: string;
|
|
4626
|
+
updatedAt: string;
|
|
4627
|
+
updatedBy: string;
|
|
4628
|
+
varianceTestRegistrations: Array<{
|
|
4629
|
+
testKey: string;
|
|
4630
|
+
varianceAllocation: Array<{
|
|
4631
|
+
percentage: number;
|
|
4632
|
+
variantKey: string;
|
|
4633
|
+
}>;
|
|
4634
|
+
}> | null;
|
|
4635
|
+
visibilityStatus: CheckoutVisibilityStatus;
|
|
4636
|
+
} | null;
|
|
4637
|
+
};
|
|
4638
|
+
export type AppearanceSettingsQuery = {
|
|
4639
|
+
appearanceSettings: {
|
|
4640
|
+
colorPrimary: string;
|
|
4641
|
+
colorSecondary: string;
|
|
4642
|
+
createdAt: string;
|
|
4643
|
+
createdBy: string;
|
|
4644
|
+
fontFamily: string;
|
|
4645
|
+
id: string;
|
|
4646
|
+
logoUrl: string;
|
|
4647
|
+
mode: Mode;
|
|
4648
|
+
organization: string;
|
|
4649
|
+
style: ElementsUiStyle;
|
|
4650
|
+
theme: ElementsUiTheme;
|
|
4651
|
+
updatedAt: string;
|
|
4652
|
+
updatedBy: string;
|
|
4653
|
+
zonosAttribution: ZonosAttribution | null;
|
|
4654
|
+
} | null;
|
|
4655
|
+
};
|
|
4491
4656
|
export type CheckoutSettingFragment = {
|
|
4492
4657
|
allowedCharacterSets: AllowedCharacterSets;
|
|
4493
4658
|
allowedSettlementCurrencies: AllowedSettlementCurrencies;
|
|
@@ -4537,6 +4702,13 @@ export type CheckoutSettingFragment = {
|
|
|
4537
4702
|
successRedirectUrl: string;
|
|
4538
4703
|
updatedAt: string;
|
|
4539
4704
|
updatedBy: string;
|
|
4705
|
+
varianceTestRegistrations: Array<{
|
|
4706
|
+
testKey: string;
|
|
4707
|
+
varianceAllocation: Array<{
|
|
4708
|
+
percentage: number;
|
|
4709
|
+
variantKey: string;
|
|
4710
|
+
}>;
|
|
4711
|
+
}> | null;
|
|
4540
4712
|
visibilityStatus: CheckoutVisibilityStatus;
|
|
4541
4713
|
};
|
|
4542
4714
|
export type HelloSettingFragment = {
|
|
@@ -4838,6 +5010,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
4838
5010
|
addTrackingNumber(variables?: {
|
|
4839
5011
|
[x: string]: never;
|
|
4840
5012
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<AddTrackingNumberMutation>;
|
|
5013
|
+
appearanceSettings(variables?: {
|
|
5014
|
+
[x: string]: never;
|
|
5015
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<AppearanceSettingsQuery>;
|
|
4841
5016
|
bulkClassify(variables?: {
|
|
4842
5017
|
[x: string]: never;
|
|
4843
5018
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<BulkClassifyMutation>;
|
|
@@ -4886,6 +5061,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
4886
5061
|
checkoutSessionUpdateMetadata(variables?: {
|
|
4887
5062
|
[x: string]: never;
|
|
4888
5063
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSessionUpdateMetadataMutation>;
|
|
5064
|
+
checkoutSettings(variables?: {
|
|
5065
|
+
[x: string]: never;
|
|
5066
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSettingsQuery>;
|
|
4889
5067
|
createWebhook(variables?: {
|
|
4890
5068
|
[x: string]: never;
|
|
4891
5069
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CreateWebhookMutation>;
|
|
@@ -4922,6 +5100,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
4922
5100
|
getWebhooks(variables?: {
|
|
4923
5101
|
[x: string]: never;
|
|
4924
5102
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetWebhooksQuery>;
|
|
5103
|
+
helloSettings(variables?: {
|
|
5104
|
+
[x: string]: never;
|
|
5105
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<HelloSettingsQuery>;
|
|
4925
5106
|
onlineStoreSettings(variables?: {
|
|
4926
5107
|
[x: string]: never;
|
|
4927
5108
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<OnlineStoreSettingsQuery>;
|
|
@@ -4952,6 +5133,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
4952
5133
|
removeTrackingNumber(variables?: {
|
|
4953
5134
|
[x: string]: never;
|
|
4954
5135
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<RemoveTrackingNumberMutation>;
|
|
5136
|
+
selectCheckoutVarianceTest(variables?: {
|
|
5137
|
+
[x: string]: never;
|
|
5138
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<SelectCheckoutVarianceTestMutation>;
|
|
4955
5139
|
shippingZones(variables?: {
|
|
4956
5140
|
[x: string]: never;
|
|
4957
5141
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<ShippingZonesQuery>;
|