@zonos/elements 1.3.183 → 1.3.185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{cart-3d0c0f0b.js → cart-f9df3ac8.js} +3209 -10
- package/dist/cjs/debounce-3eaa4f7e.js +357 -0
- package/dist/cjs/{getBorderRadius-94ef609c.js → getBorderRadius-87f3b69c.js} +1 -1
- package/dist/cjs/getGenericSettingsOverride-c0ca32b9.js +104 -0
- package/dist/cjs/helpers-5bdbb68c.js +100 -0
- package/dist/cjs/{index-2f90486e.js → index-0993f42d.js} +15 -3
- package/dist/cjs/index.cjs.js +41 -9
- package/dist/cjs/{isDarkColor-ec4a4e7d.js → isDarkColor-d0c67c3d.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{paypal-9eaa9196.js → paypal-5e73c8f5.js} +3 -3
- package/dist/cjs/zonos-address_11.cjs.entry.js +7917 -0
- 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 +18 -7
- package/dist/cjs/zonos-card.cjs.entry.js +3 -3
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +113 -21
- package/dist/cjs/zonos-checkout.cjs.entry.js +24 -10
- 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 +233 -8
- package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
- package/dist/cjs/zonos-elements.cjs.js +2 -2
- package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +8 -8
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +9 -9
- package/dist/cjs/zonos-hello.cjs.entry.js +7 -358
- package/dist/cjs/zonos-input.cjs.entry.js +3 -3
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +31 -12
- 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-3812b318.js → zonosStore-adc42868.js} +2 -1
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +3 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +11 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +37 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +162 -17
- package/dist/collection/components/common/zonos-button/zonos-button.js +14 -3
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +5 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +2 -2
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +0 -6
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +2 -2
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.css +2 -3
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +105 -8
- package/dist/collection/components/common/zonos-stripe-phone-input/assets/ChevronDownIcon.svg +1 -0
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.css +222 -0
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +481 -0
- package/dist/collection/components/common/zonos-stripe-select/assets/ChevronDownIcon.svg +1 -0
- package/dist/collection/components/common/zonos-stripe-select/assets/RemoveLineIcon.svg +1 -0
- package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.css +178 -0
- package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +455 -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 +24 -1
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/checkout/stripe.js +24 -7
- package/dist/collection/components/store/translationStore/strings.arabic.js +159 -0
- package/dist/collection/components/store/translationStore/strings.base.js +161 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +159 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +159 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +159 -0
- package/dist/collection/components/store/translationStore/strings.french.js +159 -0
- package/dist/collection/components/store/translationStore/strings.german.js +159 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +159 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +159 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +159 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +159 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +159 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +159 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +159 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +159 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +159 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +159 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +159 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +159 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +159 -0
- package/dist/collection/components/store/zonosStore.js +1 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/assets/RemoveIcon.svg +1 -0
- package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.css +86 -0
- package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +192 -0
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.css +67 -0
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +978 -0
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/api/getGenericSettingsOverride.js +10 -0
- package/dist/collection/components/utils/api/getZonosSettings.js +7 -1
- package/dist/collection/components/utils/checkout/form/helpers.js +95 -0
- package/dist/collection/components/utils/checkout/form/isValidZip.js +18 -0
- package/dist/collection/components/utils/checkout/initCheckout.js +8 -1
- package/dist/collection/components/utils/iframe/CheckoutAddressService.js +193 -0
- package/dist/collection/components/utils/iframe/IframeHelpers.js +86 -0
- package/dist/collection/components/utils/mergeAddress.js +5 -0
- package/dist/collection/constants/phone-formats.js +658 -0
- package/dist/collection/scripts/_getCartInfoById.js +7 -1
- package/dist/collection/scripts/_zonosBase.js +29 -1
- package/dist/collection/types/CountryFields.js +1 -0
- package/dist/collection/types/checkout/form/CustomAddressErrors.js +1 -0
- package/dist/collection/types/generated/graphql.frontend.types.js +11 -0
- package/dist/collection/types/generated/graphql.internal.types.js +129 -0
- package/dist/collection/types/index.js +0 -1
- package/dist/esm/{cart-3fb04f1f.js → cart-4725a63b.js} +3209 -10
- package/dist/esm/debounce-3cf0793c.js +355 -0
- package/dist/esm/{getBorderRadius-ada3ccad.js → getBorderRadius-a9a48f79.js} +1 -1
- package/dist/esm/getGenericSettingsOverride-0bc3e118.js +99 -0
- package/dist/esm/helpers-2f6955b1.js +97 -0
- package/dist/esm/{index-d82f06f2.js → index-a457c60c.js} +15 -3
- package/dist/esm/index.js +41 -9
- package/dist/esm/{isDarkColor-446fccb7.js → isDarkColor-62cbddb5.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{paypal-1f2e863c.js → paypal-a09943f4.js} +3 -3
- package/dist/esm/zonos-address_11.entry.js +7903 -0
- 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 +18 -7
- package/dist/esm/zonos-card.entry.js +3 -3
- package/dist/esm/zonos-cart-items_13.entry.js +113 -21
- package/dist/esm/zonos-checkout.entry.js +24 -10
- 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 +233 -8
- package/dist/esm/zonos-country-flag.entry.js +5 -5
- package/dist/esm/zonos-country-select_4.entry.js +10 -10
- package/dist/esm/zonos-elements.js +3 -3
- package/dist/esm/zonos-empty-state-payment_4.entry.js +8 -8
- package/dist/esm/zonos-hello-dialog.entry.js +9 -9
- package/dist/esm/zonos-hello.entry.js +6 -357
- package/dist/esm/zonos-input.entry.js +3 -3
- package/dist/esm/zonos-language-select_2.entry.js +5 -5
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-stripe-input.entry.js +31 -12
- 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-d3c5a0a5.js → zonosStore-1ce34e04.js} +2 -1
- package/dist/esm-es5/cart-4725a63b.js +1 -0
- package/dist/esm-es5/debounce-3cf0793c.js +1 -0
- package/dist/esm-es5/{getBorderRadius-ada3ccad.js → getBorderRadius-a9a48f79.js} +1 -1
- package/dist/esm-es5/getGenericSettingsOverride-0bc3e118.js +1 -0
- package/dist/esm-es5/helpers-2f6955b1.js +1 -0
- package/dist/esm-es5/index-a457c60c.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-446fccb7.js → isDarkColor-62cbddb5.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{paypal-1f2e863c.js → paypal-a09943f4.js} +1 -1
- package/dist/esm-es5/zonos-address_11.entry.js +1 -0
- 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-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-link.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-d3c5a0a5.js → zonosStore-1ce34e04.js} +1 -1
- package/dist/scripts/index.d.ts +3905 -3284
- 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 +4 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +28 -1
- package/dist/types/components/common/zonos-button/zonos-button.d.ts +4 -0
- package/dist/types/components/common/zonos-checkbox/zonos-checkbox.d.ts +1 -0
- package/dist/types/components/common/zonos-stripe-input/zonos-stripe-input.d.ts +22 -0
- package/dist/types/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.d.ts +88 -0
- package/dist/types/components/common/zonos-stripe-select/zonos-stripe-select.d.ts +86 -0
- package/dist/types/components/main/zonos-controller.d.ts +1 -0
- package/dist/types/components/store/checkout/stripe.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +159 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +159 -0
- package/dist/types/components/store/zonosStore.d.ts +6 -1
- package/dist/types/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.d.ts +38 -0
- package/dist/types/components/stripe/zonos-custom-address/zonos-custom-address.d.ts +150 -0
- package/dist/types/components/utils/api/getGenericSettingsOverride.d.ts +5 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/api/getZonosSettings.d.ts +2 -2
- package/dist/types/components/utils/checkout/form/helpers.d.ts +19 -0
- package/dist/types/components/utils/checkout/form/isValidZip.d.ts +5 -0
- package/dist/types/components/utils/iframe/CheckoutAddressService.d.ts +38 -0
- package/dist/types/components/utils/iframe/IframeHelpers.d.ts +81 -0
- package/dist/types/components/utils/mergeAddress.d.ts +4 -0
- package/dist/types/components/utils/resetToSelectedTab.d.ts +1 -1
- package/dist/types/components.d.ts +472 -4
- package/dist/types/constants/phone-formats.d.ts +5 -0
- package/dist/types/environment.d.ts +1 -1
- package/dist/types/scripts/_zonosBase.d.ts +13 -1
- package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +1 -0
- package/dist/types/types/CountryFields.d.ts +40 -0
- package/dist/types/types/checkout/CheckoutConfig.d.ts +7 -0
- package/dist/types/types/checkout/form/CustomAddressErrors.d.ts +13 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +166 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +148 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +180 -8
- package/dist/types/types/generated/graphql.internal.types.ts +218 -8
- package/dist/types/types/global.d.ts +1 -0
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/types/utils/ZonosSettings.d.ts +17 -0
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-4622cca6.entry.js → p-0104d3ba.entry.js} +1 -1
- package/dist/zonos-elements/{p-7cb87ea7.system.entry.js → p-04303b56.system.entry.js} +1 -1
- package/dist/zonos-elements/p-06f798ee.system.js +1 -0
- package/dist/zonos-elements/{p-739014f8.system.entry.js → p-0fdd7034.system.entry.js} +1 -1
- package/dist/zonos-elements/p-15dd7ea4.system.entry.js +1 -0
- package/dist/zonos-elements/{p-a1cfbd0a.js → p-17299200.js} +1 -1
- package/dist/zonos-elements/{p-58f660d4.system.entry.js → p-1b29bc5f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fe2c27c4.entry.js → p-1e612c29.entry.js} +1 -1
- package/dist/zonos-elements/{p-98aa88b1.js → p-2097fae5.js} +1 -1
- package/dist/zonos-elements/{p-81084be5.system.entry.js → p-240ee490.system.entry.js} +1 -1
- package/dist/zonos-elements/p-2416aaa1.system.entry.js +1 -0
- package/dist/zonos-elements/{p-cedf08f0.entry.js → p-313ef896.entry.js} +1 -1
- package/dist/zonos-elements/{p-fa65b53d.entry.js → p-314fbfe1.entry.js} +1 -1
- package/dist/zonos-elements/{p-5187ba8f.system.js → p-31e90130.system.js} +1 -1
- package/dist/zonos-elements/{p-4ca666ea.system.entry.js → p-341f40c2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d49c6a3e.system.entry.js → p-35f33601.system.entry.js} +1 -1
- package/dist/zonos-elements/p-4160bbc2.system.js +1 -0
- package/dist/zonos-elements/p-43633269.system.js +2 -0
- package/dist/zonos-elements/p-443b5db2.entry.js +1 -0
- package/dist/zonos-elements/p-46d3e378.system.entry.js +1 -0
- package/dist/zonos-elements/{p-3d221556.system.entry.js → p-488ad646.system.entry.js} +1 -1
- package/dist/zonos-elements/p-53ffdb91.js +1 -0
- package/dist/zonos-elements/p-56b56caa.system.entry.js +1 -0
- package/dist/zonos-elements/p-5e15616f.entry.js +1 -0
- package/dist/zonos-elements/{p-3eac4b10.entry.js → p-5f896e9a.entry.js} +1 -1
- package/dist/zonos-elements/{p-e8c70c7d.system.entry.js → p-609c32a3.system.entry.js} +1 -1
- package/dist/zonos-elements/p-64ea232c.system.entry.js +1 -0
- package/dist/zonos-elements/{p-f378b4d3.system.entry.js → p-678ccc3f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8048932d.entry.js → p-67b904c2.entry.js} +1 -1
- package/dist/zonos-elements/p-6b40da70.system.js +1 -0
- package/dist/zonos-elements/p-70d4d436.entry.js +1 -0
- package/dist/zonos-elements/{p-64dbc282.entry.js → p-818d6f17.entry.js} +1 -1
- package/dist/zonos-elements/{p-b5b9aa6c.entry.js → p-81ee1683.entry.js} +1 -1
- package/dist/zonos-elements/{p-236f32c8.system.entry.js → p-89fcd305.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c4fa8524.system.entry.js → p-94a80d93.system.entry.js} +1 -1
- package/dist/zonos-elements/p-961620ae.entry.js +1 -0
- package/dist/zonos-elements/{p-4eff2f8a.system.entry.js → p-98e4a965.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5bebcfc2.system.js → p-9913c186.system.js} +1 -1
- package/dist/zonos-elements/{p-29e8c9e8.system.entry.js → p-991c85f1.system.entry.js} +1 -1
- package/dist/zonos-elements/p-995761ea.system.entry.js +1 -0
- package/dist/zonos-elements/p-9a6eb099.entry.js +1 -0
- package/dist/zonos-elements/p-9a7a9b1c.entry.js +1 -0
- package/dist/zonos-elements/{p-d367c9ae.system.entry.js → p-9f7b9d66.system.entry.js} +1 -1
- package/dist/zonos-elements/p-a2dab25e.system.entry.js +1 -0
- package/dist/zonos-elements/{p-587568b5.entry.js → p-aaff5dcc.entry.js} +1 -1
- package/dist/zonos-elements/{p-3731e7f5.entry.js → p-abc66a0b.entry.js} +1 -1
- package/dist/zonos-elements/{p-eb294265.entry.js → p-aca3a2bb.entry.js} +1 -1
- package/dist/zonos-elements/p-afa34aff.system.js +1 -0
- package/dist/zonos-elements/{p-69f84611.entry.js → p-b2241919.entry.js} +1 -1
- package/dist/zonos-elements/p-b5edee66.system.js +1 -0
- package/dist/zonos-elements/p-b610f70c.system.js +1 -0
- package/dist/zonos-elements/{p-69255ed2.system.js → p-bbbaea3a.system.js} +1 -1
- package/dist/zonos-elements/p-c137dc82.js +2 -0
- package/dist/zonos-elements/{p-be9e1818.system.entry.js → p-c140a0bd.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-de221545.entry.js → p-cf6ae7dc.entry.js} +1 -1
- package/dist/zonos-elements/{p-90633d63.entry.js → p-d0f4b6c3.entry.js} +1 -1
- package/dist/zonos-elements/{p-112aecac.js → p-de462b9b.js} +2 -2
- package/dist/zonos-elements/{p-107b08c1.entry.js → p-e5d081d8.entry.js} +1 -1
- package/dist/zonos-elements/p-e7b0c156.js +1 -0
- package/dist/zonos-elements/{p-30fdcbee.js → p-e892fb29.js} +1 -1
- package/dist/zonos-elements/p-e90cb997.entry.js +1 -0
- package/dist/zonos-elements/{p-db3f381d.entry.js → p-e91b244c.entry.js} +1 -1
- package/dist/zonos-elements/{p-41dfc828.entry.js → p-e99354d5.entry.js} +1 -1
- package/dist/zonos-elements/p-ea6d87a1.system.js +1 -0
- package/dist/zonos-elements/p-eef5b0cc.js +1 -0
- package/dist/zonos-elements/{p-d0944cc8.system.entry.js → p-f3f27bf2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0e63259c.system.entry.js → p-f4cc688e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-cc6d9f7d.entry.js → p-f7d3e48b.entry.js} +1 -1
- package/dist/zonos-elements/p-fa6de0f3.js +1 -0
- package/dist/zonos-elements/{p-c5c8f803.system.entry.js → p-fd348fd4.system.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 +3 -1
- package/dist/cjs/zonos-address_7.cjs.entry.js +0 -772
- package/dist/esm/zonos-address_7.entry.js +0 -762
- package/dist/esm-es5/cart-3fb04f1f.js +0 -1
- package/dist/esm-es5/index-d82f06f2.js +0 -2
- package/dist/esm-es5/zonos-address_7.entry.js +0 -1
- package/dist/zonos-elements/p-358043a2.system.entry.js +0 -1
- package/dist/zonos-elements/p-43feb95e.entry.js +0 -1
- package/dist/zonos-elements/p-46f6e5e9.system.js +0 -1
- package/dist/zonos-elements/p-4aca92c5.system.entry.js +0 -1
- package/dist/zonos-elements/p-4caffd96.system.js +0 -2
- package/dist/zonos-elements/p-59e31080.system.js +0 -1
- package/dist/zonos-elements/p-6c0c8722.system.entry.js +0 -1
- package/dist/zonos-elements/p-7decb19b.entry.js +0 -1
- package/dist/zonos-elements/p-829f6a40.entry.js +0 -1
- package/dist/zonos-elements/p-8f640b28.entry.js +0 -1
- package/dist/zonos-elements/p-a69dbe14.js +0 -1
- package/dist/zonos-elements/p-ab68ad11.js +0 -2
- package/dist/zonos-elements/p-ac889f52.entry.js +0 -1
- package/dist/zonos-elements/p-b998494a.entry.js +0 -1
- package/dist/zonos-elements/p-bc0f885e.system.entry.js +0 -1
- package/dist/zonos-elements/p-c6d96a42.system.js +0 -1
- package/dist/zonos-elements/p-ce853f8f.system.entry.js +0 -1
- package/dist/zonos-elements/p-e4f8114a.system.js +0 -1
- package/dist/zonos-elements/p-e99e75dd.system.entry.js +0 -1
- package/dist/zonos-elements/p-f66a5c7c.system.entry.js +0 -1
- package/dist/zonos-elements/p-febb90e0.entry.js +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PayPalNamespace } from '@paypal/paypal-js';
|
|
2
2
|
import type { Stripe } from '@stripe/stripe-js';
|
|
3
3
|
import type { AppearanceConfig } from "../components/store/zonosStore";
|
|
4
|
+
import { IframeService } from "../components/utils/iframe/IframeHelpers";
|
|
4
5
|
import type { LoadTimeApiLogInfo } from "../components/utils/logging/prepLoadTimeApiLog";
|
|
5
6
|
import type { NotificationInit } from "../types/index";
|
|
6
7
|
import type { CartCheckoutResult, NormalizedTempCart } from "../types/checkout/api/NormalizedTempCart";
|
|
@@ -199,6 +200,10 @@ export interface Zonos {
|
|
|
199
200
|
debug?: boolean;
|
|
200
201
|
domain: string;
|
|
201
202
|
doneInit: boolean;
|
|
203
|
+
/**
|
|
204
|
+
* Log type for iframe, print out console or not
|
|
205
|
+
*/
|
|
206
|
+
iframeLogType: string | null;
|
|
202
207
|
isBigCommerce: boolean;
|
|
203
208
|
/**
|
|
204
209
|
* This will be set to true when it's called form legacy checkout
|
|
@@ -209,6 +214,10 @@ export interface Zonos {
|
|
|
209
214
|
logIntervalId: NodeJS.Timeout | null;
|
|
210
215
|
/** Flag if already alerted when preview domain is defined and it's connecting production environment */
|
|
211
216
|
modeAlerted: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* Override the default behavior of using the custom address form
|
|
219
|
+
*/
|
|
220
|
+
overrideUseCustomAddressForm: boolean;
|
|
212
221
|
paypal: PayPalNamespace | null;
|
|
213
222
|
/**
|
|
214
223
|
* Version release timestamp
|
|
@@ -257,11 +266,13 @@ export declare abstract class Zonos {
|
|
|
257
266
|
static debug: boolean;
|
|
258
267
|
static zonosConversionTest: boolean;
|
|
259
268
|
static _paypalMockResponse: PaypalMockResponse | null;
|
|
269
|
+
static iframeLogType: string | null;
|
|
260
270
|
static isBigCommerce: boolean;
|
|
261
271
|
static releaseDate: string;
|
|
262
272
|
static isLegacyCheckout: boolean;
|
|
263
273
|
static domain: string;
|
|
264
274
|
static showBaseForeign: boolean;
|
|
275
|
+
static overrideUseCustomAddressForm: boolean;
|
|
265
276
|
/**
|
|
266
277
|
* By default, the package will load from npm
|
|
267
278
|
*/
|
|
@@ -274,6 +285,7 @@ export declare abstract class Zonos {
|
|
|
274
285
|
static cartData: NormalizedTempCart | null;
|
|
275
286
|
static paypal: PayPalNamespace | null;
|
|
276
287
|
static zonosMode: 'production' | 'test' | null;
|
|
288
|
+
static IframeService: typeof IframeService;
|
|
277
289
|
static getCurrentTimestamp: () => number;
|
|
278
290
|
static cartId: string | null;
|
|
279
291
|
private static zonosController;
|
|
@@ -305,4 +317,4 @@ export declare abstract class Zonos {
|
|
|
305
317
|
static setupGoogleFont: (fontFamily: string) => void;
|
|
306
318
|
static injectSupportGoogleFont: (fontUrl: string) => void;
|
|
307
319
|
}
|
|
308
|
-
export {};
|
|
320
|
+
export { IframeService } from 'src/components/utils/iframe/IframeHelpers';
|
|
@@ -139,6 +139,7 @@ export declare const setupCartDataWithSettings: (cartId: string) => Promise<{
|
|
|
139
139
|
restrictionBehavior: import("../../types/generated/graphql.internal.types").HelloRestrictionBehavior;
|
|
140
140
|
updatedAt: string;
|
|
141
141
|
updatedBy: string;
|
|
142
|
+
visibilityStatus: import("../../types/generated/graphql.internal.types").HelloVisibilityStatus;
|
|
142
143
|
};
|
|
143
144
|
onlineStoreSettings: {
|
|
144
145
|
allowedDomains: Array<string>;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { CountryCode } from "./generated/graphql.internal.types";
|
|
2
|
+
export type CountryFieldLabelStateLabel = 'Commune' | 'County' | 'County or sector' | 'Department' | 'Derzhava' | 'District' | 'Do/Si' | 'Island' | 'Municipality' | 'Oblast' | 'Parish' | 'Prefecture' | 'Province' | 'Region' | 'State' | 'State or Territory' | 'State or province' | 'Village';
|
|
3
|
+
export type CountryFieldLabelAddress1Label = 'Address line 1' | 'Address1' | 'Adresa vulytsi' | 'Street address' | 'Street or avenue' | 'Ulica';
|
|
4
|
+
export type CountryFieldLabelAddress2Label = '' | 'Address 2' | 'Address line 2' | 'Address2' | 'Sector' | 'Street address 2';
|
|
5
|
+
export type CountryFieldLabelAddress3Label = '' | 'Address line 3' | 'Address3' | 'CEDEX' | 'Street address 3';
|
|
6
|
+
export type CountryFieldLabelCityLabel = '' | 'Area' | 'City' | 'City/Town' | 'Emirate' | 'Gorod' | 'Locality' | 'Misto' | 'Town' | 'Town / City' | 'Town or city';
|
|
7
|
+
export type CountryFieldLabelZipLabel = '' | 'Code postal' | 'Indeks' | 'Kodepos' | 'Poshtovyy indeks' | 'Postal code' | 'Postcode' | 'ZIP code' | 'Zip';
|
|
8
|
+
export type ICountryFieldLabelRegion = {
|
|
9
|
+
interpayCode: string;
|
|
10
|
+
};
|
|
11
|
+
export type CountryFields = {
|
|
12
|
+
address1Label: CountryFieldLabelAddress1Label;
|
|
13
|
+
address1Required: boolean;
|
|
14
|
+
address1Show: boolean;
|
|
15
|
+
address2Label: CountryFieldLabelAddress2Label;
|
|
16
|
+
address2Required: boolean;
|
|
17
|
+
address2Show: boolean;
|
|
18
|
+
address3Label: CountryFieldLabelAddress3Label;
|
|
19
|
+
address3Required: boolean;
|
|
20
|
+
address3Show: boolean;
|
|
21
|
+
cityLabel: CountryFieldLabelCityLabel;
|
|
22
|
+
cityRequired: boolean;
|
|
23
|
+
cityShow: boolean;
|
|
24
|
+
countryCode: CountryCode;
|
|
25
|
+
countryCodeLabel?: string;
|
|
26
|
+
displayName: string;
|
|
27
|
+
nameLabel: string;
|
|
28
|
+
phoneCode: number;
|
|
29
|
+
phoneFormat: string | null;
|
|
30
|
+
phonePlaceholder: string | null;
|
|
31
|
+
regions: Record<string, ICountryFieldLabelRegion> | null;
|
|
32
|
+
stateLabel: CountryFieldLabelStateLabel;
|
|
33
|
+
stateRequired: boolean;
|
|
34
|
+
stateShow: boolean;
|
|
35
|
+
zipFormat: string | null;
|
|
36
|
+
zipLabel: CountryFieldLabelZipLabel;
|
|
37
|
+
zipRegex: string | null;
|
|
38
|
+
zipRequired: boolean;
|
|
39
|
+
zipShow: boolean;
|
|
40
|
+
};
|
|
@@ -40,6 +40,10 @@ export type CheckoutConfig = {
|
|
|
40
40
|
* @default LOCAL
|
|
41
41
|
*/
|
|
42
42
|
allowedSettlementCurrencies: AllowedSettlementCurrencies;
|
|
43
|
+
/**
|
|
44
|
+
* Always trigger International Checkout with this selector regardless of shipping zone
|
|
45
|
+
*/
|
|
46
|
+
alwaysTriggerInternationalCheckoutSelector?: string | null;
|
|
43
47
|
analyticsProviders: Array<{
|
|
44
48
|
status: AnalyticsProviderStatus;
|
|
45
49
|
type: AnalyticsProviderType;
|
|
@@ -90,6 +94,9 @@ export type CheckoutConfig = {
|
|
|
90
94
|
};
|
|
91
95
|
};
|
|
92
96
|
organization: string;
|
|
97
|
+
/**
|
|
98
|
+
* Place order button selector that only trigger International Checkout when shopper is in merchant's shipping zones
|
|
99
|
+
*/
|
|
93
100
|
placeOrderButtonSelector: string | null;
|
|
94
101
|
/**
|
|
95
102
|
* @param subscriptionStatus subscription status for checkout, checkout only available if subscription status is ENABLED and visibility status is ENABLED
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type CustomAddressErrors = {
|
|
2
|
+
city: string;
|
|
3
|
+
firstName: string;
|
|
4
|
+
lastName: string;
|
|
5
|
+
line1: string;
|
|
6
|
+
phone: string;
|
|
7
|
+
postalCode: string;
|
|
8
|
+
/**
|
|
9
|
+
* Toggle to indicate if the error message should be shown
|
|
10
|
+
*/
|
|
11
|
+
showError: boolean;
|
|
12
|
+
state: string;
|
|
13
|
+
};
|
|
@@ -85,6 +85,7 @@ export declare const featureAspectKeyEnum: {
|
|
|
85
85
|
readonly ClassifySingleRequest: "classify_single_request";
|
|
86
86
|
readonly ComConsolidation: "com_consolidation";
|
|
87
87
|
readonly DashboardCheckout_2Settings: "dashboard_checkout_2_settings";
|
|
88
|
+
readonly DashboardChurnedNotification: "dashboard_churned_notification";
|
|
88
89
|
readonly DashboardHello_2Settings: "dashboard_hello_2_settings";
|
|
89
90
|
readonly DashboardNewLabelUi: "dashboard_new_label_ui";
|
|
90
91
|
readonly DashboardOrderApprove: "dashboard_order_approve";
|
|
@@ -112,6 +113,7 @@ export declare const featureAudienceNameEnum: {
|
|
|
112
113
|
readonly ClassifyBulkMerchant: "classify_bulk_merchant";
|
|
113
114
|
readonly ClassifyBulkMerchantExportConfidenceScore: "classify_bulk_merchant_export_confidence_score";
|
|
114
115
|
readonly CustomerSuccess: "customer_success";
|
|
116
|
+
readonly DashboardChurnedNotificationMerchant: "dashboard_churned_notification_merchant";
|
|
115
117
|
readonly DashboardLabelBetaMerchant: "dashboard_label_beta_merchant";
|
|
116
118
|
readonly Designer: "designer";
|
|
117
119
|
readonly DocsContributor: "docs_contributor";
|
|
@@ -535,6 +537,160 @@ export declare const promptBulkJobStatusEnum: {
|
|
|
535
537
|
readonly Queued: "queued";
|
|
536
538
|
};
|
|
537
539
|
export type Prompt_BulkJobStatus_Enum = (typeof promptBulkJobStatusEnum)[keyof typeof promptBulkJobStatusEnum];
|
|
540
|
+
export type AnalyticConversionEventQuery = {
|
|
541
|
+
cartCreate: {
|
|
542
|
+
aggregate: {
|
|
543
|
+
avg: {
|
|
544
|
+
checkoutStepSeconds: number | null;
|
|
545
|
+
} | null;
|
|
546
|
+
count: number;
|
|
547
|
+
max: {
|
|
548
|
+
checkoutStepSeconds: number | null;
|
|
549
|
+
} | null;
|
|
550
|
+
min: {
|
|
551
|
+
checkoutStepSeconds: number | null;
|
|
552
|
+
} | null;
|
|
553
|
+
} | null;
|
|
554
|
+
};
|
|
555
|
+
customerInfoCompleted: {
|
|
556
|
+
aggregate: {
|
|
557
|
+
avg: {
|
|
558
|
+
checkoutStepSeconds: number | null;
|
|
559
|
+
} | null;
|
|
560
|
+
count: number;
|
|
561
|
+
max: {
|
|
562
|
+
checkoutStepSeconds: number | null;
|
|
563
|
+
} | null;
|
|
564
|
+
min: {
|
|
565
|
+
checkoutStepSeconds: number | null;
|
|
566
|
+
} | null;
|
|
567
|
+
} | null;
|
|
568
|
+
};
|
|
569
|
+
customerInfoFilled: {
|
|
570
|
+
aggregate: {
|
|
571
|
+
avg: {
|
|
572
|
+
checkoutStepSeconds: number | null;
|
|
573
|
+
} | null;
|
|
574
|
+
count: number;
|
|
575
|
+
max: {
|
|
576
|
+
checkoutStepSeconds: number | null;
|
|
577
|
+
} | null;
|
|
578
|
+
min: {
|
|
579
|
+
checkoutStepSeconds: number | null;
|
|
580
|
+
} | null;
|
|
581
|
+
} | null;
|
|
582
|
+
};
|
|
583
|
+
orderCompleted: {
|
|
584
|
+
aggregate: {
|
|
585
|
+
avg: {
|
|
586
|
+
checkoutStepSeconds: number | null;
|
|
587
|
+
} | null;
|
|
588
|
+
count: number;
|
|
589
|
+
max: {
|
|
590
|
+
checkoutStepSeconds: number | null;
|
|
591
|
+
} | null;
|
|
592
|
+
min: {
|
|
593
|
+
checkoutStepSeconds: number | null;
|
|
594
|
+
} | null;
|
|
595
|
+
} | null;
|
|
596
|
+
};
|
|
597
|
+
paymentInfoCompleted: {
|
|
598
|
+
aggregate: {
|
|
599
|
+
avg: {
|
|
600
|
+
checkoutStepSeconds: number | null;
|
|
601
|
+
} | null;
|
|
602
|
+
count: number;
|
|
603
|
+
max: {
|
|
604
|
+
checkoutStepSeconds: number | null;
|
|
605
|
+
} | null;
|
|
606
|
+
min: {
|
|
607
|
+
checkoutStepSeconds: number | null;
|
|
608
|
+
} | null;
|
|
609
|
+
} | null;
|
|
610
|
+
};
|
|
611
|
+
paymentInfoFilled: {
|
|
612
|
+
aggregate: {
|
|
613
|
+
avg: {
|
|
614
|
+
checkoutStepSeconds: number | null;
|
|
615
|
+
} | null;
|
|
616
|
+
count: number;
|
|
617
|
+
max: {
|
|
618
|
+
checkoutStepSeconds: number | null;
|
|
619
|
+
} | null;
|
|
620
|
+
min: {
|
|
621
|
+
checkoutStepSeconds: number | null;
|
|
622
|
+
} | null;
|
|
623
|
+
} | null;
|
|
624
|
+
};
|
|
625
|
+
quoteReceived: {
|
|
626
|
+
aggregate: {
|
|
627
|
+
avg: {
|
|
628
|
+
checkoutStepSeconds: number | null;
|
|
629
|
+
} | null;
|
|
630
|
+
count: number;
|
|
631
|
+
max: {
|
|
632
|
+
checkoutStepSeconds: number | null;
|
|
633
|
+
} | null;
|
|
634
|
+
min: {
|
|
635
|
+
checkoutStepSeconds: number | null;
|
|
636
|
+
} | null;
|
|
637
|
+
} | null;
|
|
638
|
+
};
|
|
639
|
+
shippingInfoCompleted: {
|
|
640
|
+
aggregate: {
|
|
641
|
+
avg: {
|
|
642
|
+
checkoutStepSeconds: number | null;
|
|
643
|
+
} | null;
|
|
644
|
+
count: number;
|
|
645
|
+
max: {
|
|
646
|
+
checkoutStepSeconds: number | null;
|
|
647
|
+
} | null;
|
|
648
|
+
min: {
|
|
649
|
+
checkoutStepSeconds: number | null;
|
|
650
|
+
} | null;
|
|
651
|
+
} | null;
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
export type ConversionEventFragmentFragment = {
|
|
655
|
+
aggregate: {
|
|
656
|
+
avg: {
|
|
657
|
+
checkoutStepSeconds: number | null;
|
|
658
|
+
} | null;
|
|
659
|
+
count: number;
|
|
660
|
+
max: {
|
|
661
|
+
checkoutStepSeconds: number | null;
|
|
662
|
+
} | null;
|
|
663
|
+
min: {
|
|
664
|
+
checkoutStepSeconds: number | null;
|
|
665
|
+
} | null;
|
|
666
|
+
} | null;
|
|
667
|
+
};
|
|
668
|
+
export type MetricAllApiPathsQuery = {
|
|
669
|
+
usage_scriptLoadEvent: Array<{
|
|
670
|
+
href: string;
|
|
671
|
+
}>;
|
|
672
|
+
};
|
|
673
|
+
export type MetricApiPathSpeedQuery = {
|
|
674
|
+
usage_scriptLoadEvent_aggregate: {
|
|
675
|
+
aggregate: {
|
|
676
|
+
avg: {
|
|
677
|
+
loadTimeClientMiddleware: number | null;
|
|
678
|
+
loadTimeInternal: number | null;
|
|
679
|
+
} | null;
|
|
680
|
+
count: number;
|
|
681
|
+
max: {
|
|
682
|
+
createdAt: string | null;
|
|
683
|
+
loadTimeClientMiddleware: number | null;
|
|
684
|
+
loadTimeInternal: number | null;
|
|
685
|
+
} | null;
|
|
686
|
+
min: {
|
|
687
|
+
createdAt: string | null;
|
|
688
|
+
loadTimeClientMiddleware: number | null;
|
|
689
|
+
loadTimeInternal: number | null;
|
|
690
|
+
} | null;
|
|
691
|
+
} | null;
|
|
692
|
+
};
|
|
693
|
+
};
|
|
538
694
|
export type FailToGetQuoteErrorsQuery = {
|
|
539
695
|
error_event_aggregate: {
|
|
540
696
|
aggregate: {
|
|
@@ -559,7 +715,7 @@ export type FailToGetQuoteErrorsQuery = {
|
|
|
559
715
|
};
|
|
560
716
|
export type LocaleCountryMessagesQuery = {
|
|
561
717
|
locale_countryCodesPage: Array<{
|
|
562
|
-
countryCodes: Array<string
|
|
718
|
+
countryCodes: Array<string> | null;
|
|
563
719
|
countryCodesPageMessageLinks: Array<{
|
|
564
720
|
id: number;
|
|
565
721
|
message: {
|
|
@@ -802,6 +958,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
802
958
|
allSettings(variables?: {
|
|
803
959
|
[x: string]: never;
|
|
804
960
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<AllSettingsQuery>;
|
|
961
|
+
analyticConversionEvent(variables?: {
|
|
962
|
+
[x: string]: never;
|
|
963
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<AnalyticConversionEventQuery>;
|
|
805
964
|
cleanupTestErrors(variables?: {
|
|
806
965
|
[x: string]: never;
|
|
807
966
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CleanupTestErrorsMutation>;
|
|
@@ -874,6 +1033,12 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
874
1033
|
localeCountryMessages(variables?: {
|
|
875
1034
|
[x: string]: never;
|
|
876
1035
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<LocaleCountryMessagesQuery>;
|
|
1036
|
+
metricAllApiPaths(variables?: {
|
|
1037
|
+
[x: string]: never;
|
|
1038
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<MetricAllApiPathsQuery>;
|
|
1039
|
+
metricApiPathSpeed(variables?: {
|
|
1040
|
+
[x: string]: never;
|
|
1041
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<MetricApiPathSpeedQuery>;
|
|
877
1042
|
storeVersionSetting(variables?: {
|
|
878
1043
|
[x: string]: never;
|
|
879
1044
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<StoreVersionSettingQuery>;
|
|
@@ -64,6 +64,7 @@ export const featureAspectKeyEnum = {
|
|
|
64
64
|
ClassifySingleRequest: 'classify_single_request',
|
|
65
65
|
ComConsolidation: 'com_consolidation',
|
|
66
66
|
DashboardCheckout_2Settings: 'dashboard_checkout_2_settings',
|
|
67
|
+
DashboardChurnedNotification: 'dashboard_churned_notification',
|
|
67
68
|
DashboardHello_2Settings: 'dashboard_hello_2_settings',
|
|
68
69
|
DashboardNewLabelUi: 'dashboard_new_label_ui',
|
|
69
70
|
DashboardOrderApprove: 'dashboard_order_approve',
|
|
@@ -95,6 +96,8 @@ export const featureAudienceNameEnum = {
|
|
|
95
96
|
ClassifyBulkMerchantExportConfidenceScore:
|
|
96
97
|
'classify_bulk_merchant_export_confidence_score',
|
|
97
98
|
CustomerSuccess: 'customer_success',
|
|
99
|
+
DashboardChurnedNotificationMerchant:
|
|
100
|
+
'dashboard_churned_notification_merchant',
|
|
98
101
|
DashboardLabelBetaMerchant: 'dashboard_label_beta_merchant',
|
|
99
102
|
Designer: 'designer',
|
|
100
103
|
DocsContributor: 'docs_contributor',
|
|
@@ -541,6 +544,108 @@ export const promptBulkJobStatusEnum = {
|
|
|
541
544
|
export type Prompt_BulkJobStatus_Enum =
|
|
542
545
|
(typeof promptBulkJobStatusEnum)[keyof typeof promptBulkJobStatusEnum];
|
|
543
546
|
|
|
547
|
+
export type AnalyticConversionEventQuery = {
|
|
548
|
+
cartCreate: {
|
|
549
|
+
aggregate: {
|
|
550
|
+
avg: { checkoutStepSeconds: number | null } | null;
|
|
551
|
+
count: number;
|
|
552
|
+
max: { checkoutStepSeconds: number | null } | null;
|
|
553
|
+
min: { checkoutStepSeconds: number | null } | null;
|
|
554
|
+
} | null;
|
|
555
|
+
};
|
|
556
|
+
customerInfoCompleted: {
|
|
557
|
+
aggregate: {
|
|
558
|
+
avg: { checkoutStepSeconds: number | null } | null;
|
|
559
|
+
count: number;
|
|
560
|
+
max: { checkoutStepSeconds: number | null } | null;
|
|
561
|
+
min: { checkoutStepSeconds: number | null } | null;
|
|
562
|
+
} | null;
|
|
563
|
+
};
|
|
564
|
+
customerInfoFilled: {
|
|
565
|
+
aggregate: {
|
|
566
|
+
avg: { checkoutStepSeconds: number | null } | null;
|
|
567
|
+
count: number;
|
|
568
|
+
max: { checkoutStepSeconds: number | null } | null;
|
|
569
|
+
min: { checkoutStepSeconds: number | null } | null;
|
|
570
|
+
} | null;
|
|
571
|
+
};
|
|
572
|
+
orderCompleted: {
|
|
573
|
+
aggregate: {
|
|
574
|
+
avg: { checkoutStepSeconds: number | null } | null;
|
|
575
|
+
count: number;
|
|
576
|
+
max: { checkoutStepSeconds: number | null } | null;
|
|
577
|
+
min: { checkoutStepSeconds: number | null } | null;
|
|
578
|
+
} | null;
|
|
579
|
+
};
|
|
580
|
+
paymentInfoCompleted: {
|
|
581
|
+
aggregate: {
|
|
582
|
+
avg: { checkoutStepSeconds: number | null } | null;
|
|
583
|
+
count: number;
|
|
584
|
+
max: { checkoutStepSeconds: number | null } | null;
|
|
585
|
+
min: { checkoutStepSeconds: number | null } | null;
|
|
586
|
+
} | null;
|
|
587
|
+
};
|
|
588
|
+
paymentInfoFilled: {
|
|
589
|
+
aggregate: {
|
|
590
|
+
avg: { checkoutStepSeconds: number | null } | null;
|
|
591
|
+
count: number;
|
|
592
|
+
max: { checkoutStepSeconds: number | null } | null;
|
|
593
|
+
min: { checkoutStepSeconds: number | null } | null;
|
|
594
|
+
} | null;
|
|
595
|
+
};
|
|
596
|
+
quoteReceived: {
|
|
597
|
+
aggregate: {
|
|
598
|
+
avg: { checkoutStepSeconds: number | null } | null;
|
|
599
|
+
count: number;
|
|
600
|
+
max: { checkoutStepSeconds: number | null } | null;
|
|
601
|
+
min: { checkoutStepSeconds: number | null } | null;
|
|
602
|
+
} | null;
|
|
603
|
+
};
|
|
604
|
+
shippingInfoCompleted: {
|
|
605
|
+
aggregate: {
|
|
606
|
+
avg: { checkoutStepSeconds: number | null } | null;
|
|
607
|
+
count: number;
|
|
608
|
+
max: { checkoutStepSeconds: number | null } | null;
|
|
609
|
+
min: { checkoutStepSeconds: number | null } | null;
|
|
610
|
+
} | null;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
export type ConversionEventFragmentFragment = {
|
|
615
|
+
aggregate: {
|
|
616
|
+
avg: { checkoutStepSeconds: number | null } | null;
|
|
617
|
+
count: number;
|
|
618
|
+
max: { checkoutStepSeconds: number | null } | null;
|
|
619
|
+
min: { checkoutStepSeconds: number | null } | null;
|
|
620
|
+
} | null;
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
export type MetricAllApiPathsQuery = {
|
|
624
|
+
usage_scriptLoadEvent: Array<{ href: string }>;
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
export type MetricApiPathSpeedQuery = {
|
|
628
|
+
usage_scriptLoadEvent_aggregate: {
|
|
629
|
+
aggregate: {
|
|
630
|
+
avg: {
|
|
631
|
+
loadTimeClientMiddleware: number | null;
|
|
632
|
+
loadTimeInternal: number | null;
|
|
633
|
+
} | null;
|
|
634
|
+
count: number;
|
|
635
|
+
max: {
|
|
636
|
+
createdAt: string | null;
|
|
637
|
+
loadTimeClientMiddleware: number | null;
|
|
638
|
+
loadTimeInternal: number | null;
|
|
639
|
+
} | null;
|
|
640
|
+
min: {
|
|
641
|
+
createdAt: string | null;
|
|
642
|
+
loadTimeClientMiddleware: number | null;
|
|
643
|
+
loadTimeInternal: number | null;
|
|
644
|
+
} | null;
|
|
645
|
+
} | null;
|
|
646
|
+
};
|
|
647
|
+
};
|
|
648
|
+
|
|
544
649
|
export type FailToGetQuoteErrorsQuery = {
|
|
545
650
|
error_event_aggregate: {
|
|
546
651
|
aggregate: { count: number } | null;
|
|
@@ -567,7 +672,7 @@ export type FailToGetQuoteErrorsQuery = {
|
|
|
567
672
|
|
|
568
673
|
export type LocaleCountryMessagesQuery = {
|
|
569
674
|
locale_countryCodesPage: Array<{
|
|
570
|
-
countryCodes: Array<string
|
|
675
|
+
countryCodes: Array<string> | null;
|
|
571
676
|
countryCodesPageMessageLinks: Array<{
|
|
572
677
|
id: number;
|
|
573
678
|
message: {
|
|
@@ -824,6 +929,20 @@ export function getSdk(
|
|
|
824
929
|
'query',
|
|
825
930
|
);
|
|
826
931
|
},
|
|
932
|
+
analyticConversionEvent(
|
|
933
|
+
variables?: { [x: string]: never },
|
|
934
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
935
|
+
): Promise<AnalyticConversionEventQuery> {
|
|
936
|
+
return withWrapper(
|
|
937
|
+
wrappedRequestHeaders =>
|
|
938
|
+
client.request<AnalyticConversionEventQuery>('', variables, {
|
|
939
|
+
...requestHeaders,
|
|
940
|
+
...wrappedRequestHeaders,
|
|
941
|
+
}),
|
|
942
|
+
'analyticConversionEvent',
|
|
943
|
+
'query',
|
|
944
|
+
);
|
|
945
|
+
},
|
|
827
946
|
cleanupTestErrors(
|
|
828
947
|
variables?: { [x: string]: never },
|
|
829
948
|
requestHeaders?: GraphQLClientRequestHeaders,
|
|
@@ -1163,6 +1282,34 @@ export function getSdk(
|
|
|
1163
1282
|
'query',
|
|
1164
1283
|
);
|
|
1165
1284
|
},
|
|
1285
|
+
metricAllApiPaths(
|
|
1286
|
+
variables?: { [x: string]: never },
|
|
1287
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
1288
|
+
): Promise<MetricAllApiPathsQuery> {
|
|
1289
|
+
return withWrapper(
|
|
1290
|
+
wrappedRequestHeaders =>
|
|
1291
|
+
client.request<MetricAllApiPathsQuery>('', variables, {
|
|
1292
|
+
...requestHeaders,
|
|
1293
|
+
...wrappedRequestHeaders,
|
|
1294
|
+
}),
|
|
1295
|
+
'metricAllApiPaths',
|
|
1296
|
+
'query',
|
|
1297
|
+
);
|
|
1298
|
+
},
|
|
1299
|
+
metricApiPathSpeed(
|
|
1300
|
+
variables?: { [x: string]: never },
|
|
1301
|
+
requestHeaders?: GraphQLClientRequestHeaders,
|
|
1302
|
+
): Promise<MetricApiPathSpeedQuery> {
|
|
1303
|
+
return withWrapper(
|
|
1304
|
+
wrappedRequestHeaders =>
|
|
1305
|
+
client.request<MetricApiPathSpeedQuery>('', variables, {
|
|
1306
|
+
...requestHeaders,
|
|
1307
|
+
...wrappedRequestHeaders,
|
|
1308
|
+
}),
|
|
1309
|
+
'metricApiPathSpeed',
|
|
1310
|
+
'query',
|
|
1311
|
+
);
|
|
1312
|
+
},
|
|
1166
1313
|
storeVersionSetting(
|
|
1167
1314
|
variables?: { [x: string]: never },
|
|
1168
1315
|
requestHeaders?: GraphQLClientRequestHeaders,
|