@zonos/elements 1.3.200 → 1.3.202
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-637ba3d0.js +1943 -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-add8fe50.js → localization-2f17c95f.js} +74 -1926
- package/dist/cjs/{paypal-afc19dec.js → paypal-0eceff03.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} +99 -80
- 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 +2 -1
- 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 +15 -16
- package/dist/collection/components/store/checkout/paypal.js +2 -1
- package/dist/collection/components/store/checkout/stripe.js +33 -13
- 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 +12 -0
- package/dist/collection/types/index.js +1 -0
- package/dist/esm/VarianceTest-fef2d958.js +10 -0
- package/dist/esm/cart-b7c15b61.js +1907 -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-e03d615e.js → localization-bf7224aa.js} +70 -1892
- package/dist/esm/{paypal-23dd5023.js → paypal-932fd3dd.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} +48 -30
- 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-b7c15b61.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-23dd5023.js → paypal-932fd3dd.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 +839 -765
- 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 +0 -1
- 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 +163 -0
- package/dist/types/types/generated/graphql.internal.types.ts +199 -0
- 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-0f77d087.system.entry.js +1 -0
- package/dist/zonos-elements/{p-329efa8c.system.entry.js → p-1dcdb65f.system.entry.js} +1 -1
- 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-2af2eb6f.system.entry.js +1 -0
- package/dist/zonos-elements/p-2b8f787a.entry.js +1 -0
- package/dist/zonos-elements/p-30cfa524.entry.js +1 -0
- package/dist/zonos-elements/p-32320d9a.system.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-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-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-6a52a2bc.system.entry.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-80bbd9c0.system.entry.js +1 -0
- package/dist/zonos-elements/p-851c642e.system.entry.js +1 -0
- package/dist/zonos-elements/{p-623a30aa.entry.js → p-8d870d4c.entry.js} +1 -1
- package/dist/zonos-elements/p-98b65387.entry.js +1 -0
- package/dist/zonos-elements/p-9af5e93a.entry.js +1 -0
- package/dist/zonos-elements/p-aa1193bc.entry.js +1 -0
- package/dist/zonos-elements/{p-8fc08673.js → p-aae60057.js} +2 -2
- package/dist/zonos-elements/p-ab176281.system.entry.js +1 -0
- package/dist/zonos-elements/p-b52aba52.entry.js +1 -0
- package/dist/zonos-elements/p-bc220d35.system.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-bec2a3ce.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-c58acd4c.system.entry.js +1 -0
- 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-24554580.system.js → p-d2466fbd.system.js} +2 -2
- 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-d60ca44b.system.entry.js +1 -0
- package/dist/zonos-elements/{p-b2241919.entry.js → p-d6a10007.entry.js} +1 -1
- package/dist/zonos-elements/p-db025dfc.system.entry.js +1 -0
- package/dist/zonos-elements/p-db3968a2.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-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-e03d615e.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-06ed3582.system.js +0 -1
- package/dist/zonos-elements/p-0a2101d4.system.js +0 -1
- package/dist/zonos-elements/p-0aa20875.system.entry.js +0 -1
- package/dist/zonos-elements/p-0bfd23da.entry.js +0 -1
- package/dist/zonos-elements/p-0f3568a7.entry.js +0 -1
- package/dist/zonos-elements/p-147ca395.entry.js +0 -1
- package/dist/zonos-elements/p-190398dd.entry.js +0 -1
- package/dist/zonos-elements/p-1eddec23.entry.js +0 -1
- package/dist/zonos-elements/p-1f2c3f5c.system.entry.js +0 -1
- package/dist/zonos-elements/p-24a2e899.system.entry.js +0 -1
- package/dist/zonos-elements/p-2882b9f4.entry.js +0 -1
- package/dist/zonos-elements/p-28ba5a6b.system.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-35573f66.entry.js +0 -1
- package/dist/zonos-elements/p-394d468f.system.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-55711b80.system.entry.js +0 -1
- package/dist/zonos-elements/p-578bf5d7.entry.js +0 -1
- package/dist/zonos-elements/p-5b8e5d1a.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-6adc6e27.entry.js +0 -1
- package/dist/zonos-elements/p-7bb9c330.entry.js +0 -1
- package/dist/zonos-elements/p-7c6b8d3f.entry.js +0 -1
- package/dist/zonos-elements/p-85270076.system.entry.js +0 -1
- package/dist/zonos-elements/p-8a9d4605.system.entry.js +0 -1
- package/dist/zonos-elements/p-94e3e50d.system.entry.js +0 -1
- package/dist/zonos-elements/p-9f272e8e.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-ad8a0584.entry.js +0 -1
- package/dist/zonos-elements/p-aeaba33e.system.entry.js +0 -1
- package/dist/zonos-elements/p-af6af82e.system.js +0 -1
- package/dist/zonos-elements/p-b2e76636.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-be8fa9a5.system.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-e390725f.js +0 -1
- package/dist/zonos-elements/p-eb85f0b6.system.entry.js +0 -1
- package/dist/zonos-elements/p-ef3d0394.entry.js +0 -1
- package/dist/zonos-elements/p-f6e587bb.entry.js +0 -1
- package/dist/zonos-elements/p-ff23980c.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
|
+
};
|
|
@@ -3928,6 +3928,10 @@ export type CheckoutSessionCreateMutation = {
|
|
|
3928
3928
|
taxes: number;
|
|
3929
3929
|
total: number;
|
|
3930
3930
|
};
|
|
3931
|
+
varianceTestResults: Array<{
|
|
3932
|
+
selectedVariantKey: string;
|
|
3933
|
+
testKey: string;
|
|
3934
|
+
}> | null;
|
|
3931
3935
|
};
|
|
3932
3936
|
};
|
|
3933
3937
|
export type CheckoutSessionPaymentIntentCreateMutation = {
|
|
@@ -3991,6 +3995,10 @@ export type CheckoutSessionPaymentIntentCreateMutation = {
|
|
|
3991
3995
|
taxes: number;
|
|
3992
3996
|
total: number;
|
|
3993
3997
|
};
|
|
3998
|
+
varianceTestResults: Array<{
|
|
3999
|
+
selectedVariantKey: string;
|
|
4000
|
+
testKey: string;
|
|
4001
|
+
}> | null;
|
|
3994
4002
|
};
|
|
3995
4003
|
};
|
|
3996
4004
|
export type PaypalOrderCreateMutation = {
|
|
@@ -4125,6 +4133,13 @@ export type CartCheckoutWorkflowQuery = {
|
|
|
4125
4133
|
}>;
|
|
4126
4134
|
updatedAt: string;
|
|
4127
4135
|
updatedBy: string;
|
|
4136
|
+
varianceTestRegistrations: Array<{
|
|
4137
|
+
testKey: string;
|
|
4138
|
+
varianceAllocation: Array<{
|
|
4139
|
+
percentage: number;
|
|
4140
|
+
variantKey: string;
|
|
4141
|
+
}>;
|
|
4142
|
+
}> | null;
|
|
4128
4143
|
visibilityStatus: CheckoutVisibilityStatus;
|
|
4129
4144
|
};
|
|
4130
4145
|
credentialTokenId: string;
|
|
@@ -4234,6 +4249,12 @@ export type CheckoutSessionOrderCreateMutation = {
|
|
|
4234
4249
|
} | null;
|
|
4235
4250
|
};
|
|
4236
4251
|
};
|
|
4252
|
+
export type SelectCheckoutVarianceTestMutation = {
|
|
4253
|
+
checkoutVarianceTestRegistrationSelect: Array<{
|
|
4254
|
+
selectedVariantKey: string;
|
|
4255
|
+
testKey: string;
|
|
4256
|
+
}>;
|
|
4257
|
+
};
|
|
4237
4258
|
export type ShippingZonesQuery = {
|
|
4238
4259
|
shippingZones: Array<{
|
|
4239
4260
|
countryCodes: Array<CountryCode> | null;
|
|
@@ -4316,6 +4337,10 @@ export type CheckoutSessionDetailsFragment = {
|
|
|
4316
4337
|
taxes: number;
|
|
4317
4338
|
total: number;
|
|
4318
4339
|
};
|
|
4340
|
+
varianceTestResults: Array<{
|
|
4341
|
+
selectedVariantKey: string;
|
|
4342
|
+
testKey: string;
|
|
4343
|
+
}> | null;
|
|
4319
4344
|
};
|
|
4320
4345
|
export type CheckoutSessionUpdateMutation = {
|
|
4321
4346
|
checkoutSessionUpdate: {
|
|
@@ -4378,6 +4403,10 @@ export type CheckoutSessionUpdateMutation = {
|
|
|
4378
4403
|
taxes: number;
|
|
4379
4404
|
total: number;
|
|
4380
4405
|
};
|
|
4406
|
+
varianceTestResults: Array<{
|
|
4407
|
+
selectedVariantKey: string;
|
|
4408
|
+
testKey: string;
|
|
4409
|
+
}> | null;
|
|
4381
4410
|
};
|
|
4382
4411
|
};
|
|
4383
4412
|
export type ZonosSettingsQuery = {
|
|
@@ -4446,6 +4475,13 @@ export type ZonosSettingsQuery = {
|
|
|
4446
4475
|
}>;
|
|
4447
4476
|
updatedAt: string;
|
|
4448
4477
|
updatedBy: string;
|
|
4478
|
+
varianceTestRegistrations: Array<{
|
|
4479
|
+
testKey: string;
|
|
4480
|
+
varianceAllocation: Array<{
|
|
4481
|
+
percentage: number;
|
|
4482
|
+
variantKey: string;
|
|
4483
|
+
}>;
|
|
4484
|
+
}> | null;
|
|
4449
4485
|
visibilityStatus: CheckoutVisibilityStatus;
|
|
4450
4486
|
} | null;
|
|
4451
4487
|
helloSettings: {
|
|
@@ -4488,6 +4524,114 @@ export type ZonosSettingsQuery = {
|
|
|
4488
4524
|
} | null;
|
|
4489
4525
|
} | null;
|
|
4490
4526
|
};
|
|
4527
|
+
export type HelloSettingsQuery = {
|
|
4528
|
+
helloSettings: {
|
|
4529
|
+
allowedDomains: Array<string>;
|
|
4530
|
+
anchorElementSelector: string;
|
|
4531
|
+
cartUrlPattern: string | null;
|
|
4532
|
+
createdAt: string;
|
|
4533
|
+
createdBy: string;
|
|
4534
|
+
currencyBehavior: HelloCurrencyBehavior;
|
|
4535
|
+
currencyElementSelector: string;
|
|
4536
|
+
dutyTaxEstimationBehavior: HelloEstimateBehavior;
|
|
4537
|
+
excludedUrlPatterns: Array<string>;
|
|
4538
|
+
homepageUrlPattern: string | null;
|
|
4539
|
+
id: string;
|
|
4540
|
+
mobileLocation: HelloMobileLocation;
|
|
4541
|
+
mode: Mode;
|
|
4542
|
+
organization: string;
|
|
4543
|
+
peekMessageBehavior: HelloPeekMessageBehavior;
|
|
4544
|
+
peekMessageDelay: number;
|
|
4545
|
+
productAddToCartElementSelector: string | null;
|
|
4546
|
+
productDescriptionElementSelector: string | null;
|
|
4547
|
+
productDetailUrlPattern: string | null;
|
|
4548
|
+
productListUrlPattern: string | null;
|
|
4549
|
+
productPriceElementSelector: string | null;
|
|
4550
|
+
productTitleElementSelector: string | null;
|
|
4551
|
+
restrictionBehavior: HelloRestrictionBehavior;
|
|
4552
|
+
updatedAt: string;
|
|
4553
|
+
updatedBy: string;
|
|
4554
|
+
visibilityStatus: HelloVisibilityStatus;
|
|
4555
|
+
} | null;
|
|
4556
|
+
};
|
|
4557
|
+
export type CheckoutSettingsQuery = {
|
|
4558
|
+
checkoutSettings: {
|
|
4559
|
+
allowedCharacterSets: AllowedCharacterSets;
|
|
4560
|
+
allowedSettlementCurrencies: AllowedSettlementCurrencies;
|
|
4561
|
+
analyticsProviders: Array<{
|
|
4562
|
+
status: AnalyticsProviderStatus;
|
|
4563
|
+
type: AnalyticsProviderType;
|
|
4564
|
+
}>;
|
|
4565
|
+
captureDelay: number;
|
|
4566
|
+
companyFieldsStatus: CheckoutCompanyFieldsStatus;
|
|
4567
|
+
createdAt: string;
|
|
4568
|
+
createdBy: string;
|
|
4569
|
+
customHTML: string;
|
|
4570
|
+
defaultCartExpiration: number;
|
|
4571
|
+
disabledCountries: Array<CountryCode> | null;
|
|
4572
|
+
externalPaymentMethods: Array<{
|
|
4573
|
+
status: ExternalPaymentMethodStatus;
|
|
4574
|
+
type: ExternalPaymentMethodType;
|
|
4575
|
+
}> | null;
|
|
4576
|
+
externalServiceTokens: Array<{
|
|
4577
|
+
token: string;
|
|
4578
|
+
type: ExternalServiceTokenType;
|
|
4579
|
+
}>;
|
|
4580
|
+
id: string;
|
|
4581
|
+
mode: Mode;
|
|
4582
|
+
orderNotifications: {
|
|
4583
|
+
abandonedCart: {
|
|
4584
|
+
delay: number;
|
|
4585
|
+
discountPercent: number;
|
|
4586
|
+
status: {
|
|
4587
|
+
active: NotificationActiveStatus;
|
|
4588
|
+
sendCopiesTo: Array<string>;
|
|
4589
|
+
};
|
|
4590
|
+
};
|
|
4591
|
+
orderCancelled: {
|
|
4592
|
+
active: NotificationActiveStatus;
|
|
4593
|
+
sendCopiesTo: Array<string>;
|
|
4594
|
+
};
|
|
4595
|
+
orderShipped: {
|
|
4596
|
+
active: NotificationActiveStatus;
|
|
4597
|
+
sendCopiesTo: Array<string>;
|
|
4598
|
+
};
|
|
4599
|
+
};
|
|
4600
|
+
organization: string;
|
|
4601
|
+
placeOrderButtonSelector: string | null;
|
|
4602
|
+
subscriptionStatus: CheckoutSubscriptionStatus;
|
|
4603
|
+
successBehavior: CheckoutSuccessBehavior;
|
|
4604
|
+
successRedirectUrl: string;
|
|
4605
|
+
updatedAt: string;
|
|
4606
|
+
updatedBy: string;
|
|
4607
|
+
varianceTestRegistrations: Array<{
|
|
4608
|
+
testKey: string;
|
|
4609
|
+
varianceAllocation: Array<{
|
|
4610
|
+
percentage: number;
|
|
4611
|
+
variantKey: string;
|
|
4612
|
+
}>;
|
|
4613
|
+
}> | null;
|
|
4614
|
+
visibilityStatus: CheckoutVisibilityStatus;
|
|
4615
|
+
} | null;
|
|
4616
|
+
};
|
|
4617
|
+
export type AppearanceSettingsQuery = {
|
|
4618
|
+
appearanceSettings: {
|
|
4619
|
+
colorPrimary: string;
|
|
4620
|
+
colorSecondary: string;
|
|
4621
|
+
createdAt: string;
|
|
4622
|
+
createdBy: string;
|
|
4623
|
+
fontFamily: string;
|
|
4624
|
+
id: string;
|
|
4625
|
+
logoUrl: string;
|
|
4626
|
+
mode: Mode;
|
|
4627
|
+
organization: string;
|
|
4628
|
+
style: ElementsUiStyle;
|
|
4629
|
+
theme: ElementsUiTheme;
|
|
4630
|
+
updatedAt: string;
|
|
4631
|
+
updatedBy: string;
|
|
4632
|
+
zonosAttribution: ZonosAttribution | null;
|
|
4633
|
+
} | null;
|
|
4634
|
+
};
|
|
4491
4635
|
export type CheckoutSettingFragment = {
|
|
4492
4636
|
allowedCharacterSets: AllowedCharacterSets;
|
|
4493
4637
|
allowedSettlementCurrencies: AllowedSettlementCurrencies;
|
|
@@ -4537,6 +4681,13 @@ export type CheckoutSettingFragment = {
|
|
|
4537
4681
|
successRedirectUrl: string;
|
|
4538
4682
|
updatedAt: string;
|
|
4539
4683
|
updatedBy: string;
|
|
4684
|
+
varianceTestRegistrations: Array<{
|
|
4685
|
+
testKey: string;
|
|
4686
|
+
varianceAllocation: Array<{
|
|
4687
|
+
percentage: number;
|
|
4688
|
+
variantKey: string;
|
|
4689
|
+
}>;
|
|
4690
|
+
}> | null;
|
|
4540
4691
|
visibilityStatus: CheckoutVisibilityStatus;
|
|
4541
4692
|
};
|
|
4542
4693
|
export type HelloSettingFragment = {
|
|
@@ -4838,6 +4989,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
4838
4989
|
addTrackingNumber(variables?: {
|
|
4839
4990
|
[x: string]: never;
|
|
4840
4991
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<AddTrackingNumberMutation>;
|
|
4992
|
+
appearanceSettings(variables?: {
|
|
4993
|
+
[x: string]: never;
|
|
4994
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<AppearanceSettingsQuery>;
|
|
4841
4995
|
bulkClassify(variables?: {
|
|
4842
4996
|
[x: string]: never;
|
|
4843
4997
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<BulkClassifyMutation>;
|
|
@@ -4886,6 +5040,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
4886
5040
|
checkoutSessionUpdateMetadata(variables?: {
|
|
4887
5041
|
[x: string]: never;
|
|
4888
5042
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSessionUpdateMetadataMutation>;
|
|
5043
|
+
checkoutSettings(variables?: {
|
|
5044
|
+
[x: string]: never;
|
|
5045
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSettingsQuery>;
|
|
4889
5046
|
createWebhook(variables?: {
|
|
4890
5047
|
[x: string]: never;
|
|
4891
5048
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CreateWebhookMutation>;
|
|
@@ -4922,6 +5079,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
4922
5079
|
getWebhooks(variables?: {
|
|
4923
5080
|
[x: string]: never;
|
|
4924
5081
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<GetWebhooksQuery>;
|
|
5082
|
+
helloSettings(variables?: {
|
|
5083
|
+
[x: string]: never;
|
|
5084
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<HelloSettingsQuery>;
|
|
4925
5085
|
onlineStoreSettings(variables?: {
|
|
4926
5086
|
[x: string]: never;
|
|
4927
5087
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<OnlineStoreSettingsQuery>;
|
|
@@ -4952,6 +5112,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
4952
5112
|
removeTrackingNumber(variables?: {
|
|
4953
5113
|
[x: string]: never;
|
|
4954
5114
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<RemoveTrackingNumberMutation>;
|
|
5115
|
+
selectCheckoutVarianceTest(variables?: {
|
|
5116
|
+
[x: string]: never;
|
|
5117
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<SelectCheckoutVarianceTestMutation>;
|
|
4955
5118
|
shippingZones(variables?: {
|
|
4956
5119
|
[x: string]: never;
|
|
4957
5120
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<ShippingZonesQuery>;
|