@zonos/elements 1.3.233 → 1.3.235
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-bc615014.js → cart-22ced7cc.js} +33 -29
- package/dist/cjs/{shouldRenderTaxIdInput-9b8a8de1.js → containsNonLatinChars-2be5129b.js} +0 -23
- package/dist/cjs/{hasInclusivePrice-84145546.js → hasInclusivePrice-ca85cabd.js} +1 -1
- package/dist/cjs/index.cjs.js +11 -7
- package/dist/cjs/invoice-8fd4242c.js +151 -0
- package/dist/cjs/{renderFallback-c2576fbe.js → isCollectMobileTablet-7962c57f.js} +2 -11
- package/dist/cjs/isInvoiceMobileTablet-dde41e4e.js +15 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{translationStore-08d3ff9c.js → localization-8ef6250a.js} +1059 -1
- package/dist/cjs/{paypal-1d6f1a71.js → paypal-4a086f84.js} +7 -8
- package/dist/cjs/placeTestOrder-f25d08ee.js +45 -0
- package/dist/cjs/{placeTestOrder-a5469e40.js → renderCheckoutCurrency-5494e45b.js} +2 -42
- package/dist/cjs/renderFallback-78b54537.js +12 -0
- package/dist/cjs/shouldRenderTaxIdInput-eda13ef8.js +25 -0
- package/dist/cjs/throttle-7dd64984.js +76 -0
- package/dist/cjs/{zonos-address_11.cjs.entry.js → zonos-address-display_9.cjs.entry.js} +62 -668
- package/dist/cjs/zonos-address_4.cjs.entry.js +715 -0
- package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
- package/dist/cjs/{zonos-banner_2.cjs.entry.js → zonos-banner.cjs.entry.js} +0 -40
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/{zonos-empty-state-payment_4.cjs.entry.js → zonos-card_5.cjs.entry.js} +44 -6
- package/dist/cjs/{zonos-cart-items_13.cjs.entry.js → zonos-cart-items_12.cjs.entry.js} +75 -92
- package/dist/cjs/zonos-checkout.cjs.entry.js +20 -21
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +5 -6
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +66 -65
- package/dist/cjs/zonos-collect.cjs.entry.js +25 -25
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +39 -10
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -2
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -11
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +30 -31
- package/dist/cjs/zonos-hello.cjs.entry.js +7 -8
- package/dist/cjs/zonos-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +94 -0
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +686 -0
- package/dist/cjs/zonos-invoice.cjs.entry.js +468 -0
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -6
- package/dist/cjs/zonos-link.cjs.entry.js +24 -0
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +5 -5
- package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +8 -0
- package/dist/collection/components/checkout/zonos-invoice/assets/ChevronDownIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/assets/empty-item.jpeg +0 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.css +72 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +87 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/assets/RemoveIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/assets/SuccessIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.css +90 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +405 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/assets/chevronDownIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/assets/globe.svg +3 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/assets/zonosIconDark.svg +10 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/assets/zonosIconLight.svg +10 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/assets/zonosWordmark.svg +7 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.css +155 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +165 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-order-details/assets/ChevronDownIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-order-details/assets/ChevronUpIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-order-details/zonos-invoice-order-details.css +117 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-order-details/zonos-invoice-order-details.js +175 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/assets/CheckmarkLineIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/assets/RemoveLineIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/zonos-invoice-payment.css +98 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/zonos-invoice-payment.js +368 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.css +71 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +151 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.css +83 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +65 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice.css +350 -0
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice.js +547 -0
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
- package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +5 -5
- 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 +45 -4
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/checkout/invoice.js +148 -0
- package/dist/collection/components/store/checkout/stripe.js +8 -3
- package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
- package/dist/collection/components/store/translationStore/strings.base.js +9 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
- package/dist/collection/components/store/translationStore/strings.french.js +9 -0
- package/dist/collection/components/store/translationStore/strings.german.js +9 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +8 -5
- 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 +2 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/checkout/initInvoice.js +15 -0
- package/dist/collection/components/utils/checkout/isInvoiceMobileTablet.js +10 -0
- package/dist/collection/scripts/_zonosBase.js +4 -0
- package/dist/collection/types/generated/graphql.frontend.types.js +4 -0
- package/dist/collection/types/generated/graphql.internal.types.js +239 -5
- package/dist/esm/{cart-14f305b3.js → cart-66aecbb3.js} +9 -5
- package/dist/esm/{shouldRenderTaxIdInput-8bc112bb.js → containsNonLatinChars-2d8810c3.js} +1 -23
- package/dist/esm/{hasInclusivePrice-0eda8ba9.js → hasInclusivePrice-2a1bf474.js} +1 -1
- package/dist/esm/index.js +11 -7
- package/dist/esm/invoice-c7452847.js +146 -0
- package/dist/esm/{renderFallback-dbf1e3ae.js → isCollectMobileTablet-921002b0.js} +3 -11
- package/dist/esm/isInvoiceMobileTablet-1f7b614e.js +12 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{translationStore-690c4e04.js → localization-04b05867.js} +1041 -2
- package/dist/esm/{paypal-fded8844.js → paypal-56564874.js} +2 -3
- package/dist/esm/placeTestOrder-6b9eda9e.js +43 -0
- package/dist/esm/{placeTestOrder-2250f719.js → renderCheckoutCurrency-cb808110.js} +3 -42
- package/dist/esm/renderFallback-3f010b48.js +10 -0
- package/dist/esm/shouldRenderTaxIdInput-d45ceeb4.js +23 -0
- package/dist/esm/throttle-ce2432ab.js +74 -0
- package/dist/esm/{zonos-address_11.entry.js → zonos-address-display_9.entry.js} +32 -636
- package/dist/esm/zonos-address_4.entry.js +708 -0
- package/dist/esm/zonos-badge.entry.js +3 -3
- package/dist/esm/{zonos-banner_2.entry.js → zonos-banner.entry.js} +1 -40
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/{zonos-empty-state-payment_4.entry.js → zonos-card_5.entry.js} +44 -7
- package/dist/esm/{zonos-cart-items_13.entry.js → zonos-cart-items_12.entry.js} +15 -31
- package/dist/esm/zonos-checkout.entry.js +3 -4
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-collect-cart-items_3.entry.js +5 -6
- package/dist/esm/zonos-collect-finish_6.entry.js +7 -6
- package/dist/esm/zonos-collect.entry.js +5 -5
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +39 -10
- package/dist/esm/zonos-country-flag.entry.js +1 -2
- package/dist/esm/zonos-country-select_4.entry.js +10 -11
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +6 -7
- package/dist/esm/zonos-hello.entry.js +1 -2
- package/dist/esm/zonos-input.entry.js +4 -4
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +89 -0
- package/dist/esm/zonos-invoice-finish_5.entry.js +678 -0
- package/dist/esm/zonos-invoice.entry.js +464 -0
- package/dist/esm/zonos-language-select_2.entry.js +5 -6
- package/dist/esm/zonos-link.entry.js +20 -0
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-stripe-input.entry.js +5 -5
- package/dist/esm/zonos-toggle.entry.js +2 -2
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/cart-66aecbb3.js +1 -0
- package/dist/esm-es5/containsNonLatinChars-2d8810c3.js +1 -0
- package/dist/esm-es5/{hasInclusivePrice-0eda8ba9.js → hasInclusivePrice-2a1bf474.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/invoice-c7452847.js +1 -0
- package/dist/esm-es5/isCollectMobileTablet-921002b0.js +1 -0
- package/dist/esm-es5/isInvoiceMobileTablet-1f7b614e.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/localization-04b05867.js +1 -0
- package/dist/esm-es5/{paypal-fded8844.js → paypal-56564874.js} +1 -1
- package/dist/esm-es5/placeTestOrder-6b9eda9e.js +1 -0
- package/dist/esm-es5/renderCheckoutCurrency-cb808110.js +1 -0
- package/dist/esm-es5/renderFallback-3f010b48.js +1 -0
- package/dist/esm-es5/shouldRenderTaxIdInput-d45ceeb4.js +1 -0
- package/dist/esm-es5/throttle-ce2432ab.js +1 -0
- package/dist/esm-es5/zonos-address-display_9.entry.js +1 -0
- package/dist/esm-es5/zonos-address_4.entry.js +1 -0
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -0
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.entry.js +1 -0
- package/dist/esm-es5/zonos-cart-items_12.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-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -0
- package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -0
- package/dist/esm-es5/zonos-invoice.entry.js +1 -0
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -0
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.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/scripts/index.d.ts +356 -0
- 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-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.d.ts +10 -0
- package/dist/types/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.d.ts +50 -0
- package/dist/types/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.d.ts +25 -0
- package/dist/types/components/checkout/zonos-invoice/zonos-invoice-order-details/zonos-invoice-order-details.d.ts +28 -0
- package/dist/types/components/checkout/zonos-invoice/zonos-invoice-payment/zonos-invoice-payment.d.ts +62 -0
- package/dist/types/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.d.ts +22 -0
- package/dist/types/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.d.ts +7 -0
- package/dist/types/components/checkout/zonos-invoice/zonos-invoice.d.ts +86 -0
- package/dist/types/components/main/zonos-controller.d.ts +4 -0
- package/dist/types/components/store/checkout/invoice.d.ts +19 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/checkout/initInvoice.d.ts +1 -0
- package/dist/types/components/utils/checkout/isInvoiceMobileTablet.d.ts +4 -0
- package/dist/types/components.d.ts +351 -0
- package/dist/types/scripts/_zonosBase.d.ts +5 -0
- package/dist/types/types/checkout/api/CheckoutSession.d.ts +4 -0
- package/dist/types/types/checkout/api/PartyInfo.d.ts +21 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +5 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +5 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +285 -8
- package/dist/types/types/generated/graphql.internal.types.ts +367 -10
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/p-00719e49.entry.js +1 -0
- package/dist/zonos-elements/p-01b0a2e2.js +1 -0
- package/dist/zonos-elements/p-01dada4e.js +1 -0
- package/dist/zonos-elements/p-0c64dbbb.js +1 -0
- package/dist/zonos-elements/p-0cd5bcb3.entry.js +1 -0
- package/dist/zonos-elements/p-0e82fcea.entry.js +1 -0
- package/dist/zonos-elements/p-10316d4d.system.entry.js +1 -0
- package/dist/zonos-elements/{p-0a90dd80.system.entry.js → p-121c60c1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-bf9d889f.entry.js → p-14314ad3.entry.js} +1 -1
- package/dist/zonos-elements/p-170314a3.js +1 -0
- package/dist/zonos-elements/p-17a09191.entry.js +1 -0
- package/dist/zonos-elements/p-18bc6c7a.entry.js +1 -0
- package/dist/zonos-elements/{p-a25428eb.system.js → p-18d20206.system.js} +2 -2
- package/dist/zonos-elements/p-1a30fe18.system.entry.js +1 -0
- package/dist/zonos-elements/{p-c7b658cb.entry.js → p-1c4d12f0.entry.js} +1 -1
- package/dist/zonos-elements/p-1f3549c6.js +1 -0
- package/dist/zonos-elements/p-2250e585.entry.js +1 -0
- package/dist/zonos-elements/p-248dd596.system.entry.js +1 -0
- package/dist/zonos-elements/{p-5f398c28.entry.js → p-264690d7.entry.js} +1 -1
- package/dist/zonos-elements/p-2670438c.system.js +1 -0
- package/dist/zonos-elements/p-27f6930b.js +1 -0
- package/dist/zonos-elements/{p-eea0eb57.system.entry.js → p-2f869f2c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-30c661b3.system.entry.js +1 -0
- package/dist/zonos-elements/p-34bf7bbe.system.js +1 -0
- package/dist/zonos-elements/p-38913b2f.entry.js +1 -0
- package/dist/zonos-elements/p-3bec13dd.system.js +1 -0
- package/dist/zonos-elements/{p-00ec22b2.entry.js → p-43a22d85.entry.js} +1 -1
- package/dist/zonos-elements/p-44b50260.entry.js +1 -0
- package/dist/zonos-elements/p-48dc96f9.system.entry.js +1 -0
- package/dist/zonos-elements/p-4aa86184.system.entry.js +1 -0
- package/dist/zonos-elements/p-4d594c8e.system.js +1 -0
- package/dist/zonos-elements/p-4ffbb0d6.system.js +1 -0
- package/dist/zonos-elements/{p-452fb638.system.entry.js → p-5062dcf3.system.entry.js} +1 -1
- package/dist/zonos-elements/p-50f31c12.system.entry.js +1 -0
- package/dist/zonos-elements/{p-c5cb2364.system.entry.js → p-57cee1b5.system.entry.js} +1 -1
- package/dist/zonos-elements/p-59a76f73.entry.js +1 -0
- package/dist/zonos-elements/{p-d556c6d1.system.entry.js → p-5afb9260.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-88ea9f82.entry.js → p-6626d240.entry.js} +1 -1
- package/dist/zonos-elements/p-6688473e.entry.js +1 -0
- package/dist/zonos-elements/p-6f23a26a.system.js +1 -0
- package/dist/zonos-elements/{p-82739127.js → p-73c737aa.js} +2 -2
- package/dist/zonos-elements/p-757d4c62.system.entry.js +1 -0
- package/dist/zonos-elements/p-7aa50ef2.entry.js +1 -0
- package/dist/zonos-elements/p-7e17667d.js +1 -0
- package/dist/zonos-elements/p-7e469c5c.entry.js +1 -0
- package/dist/zonos-elements/p-7f91617c.system.entry.js +1 -0
- package/dist/zonos-elements/p-81e3eb5b.js +1 -0
- package/dist/zonos-elements/p-82febf70.system.js +1 -0
- package/dist/zonos-elements/{p-770852bf.system.entry.js → p-836db369.system.entry.js} +1 -1
- package/dist/zonos-elements/p-83b3f824.system.entry.js +1 -0
- package/dist/zonos-elements/p-851011aa.system.entry.js +1 -0
- package/dist/zonos-elements/{p-936b54c1.entry.js → p-865536f0.entry.js} +1 -1
- package/dist/zonos-elements/{p-b1fd1ec2.system.entry.js → p-8792fef2.system.entry.js} +1 -1
- package/dist/zonos-elements/p-890bfc42.system.entry.js +1 -0
- package/dist/zonos-elements/{p-c288c6da.system.entry.js → p-89a5e936.system.entry.js} +1 -1
- package/dist/zonos-elements/p-8af188f8.system.js +1 -0
- package/dist/zonos-elements/p-8d3a62fb.entry.js +1 -0
- package/dist/zonos-elements/{p-00ac999f.system.entry.js → p-8dc025c7.system.entry.js} +1 -1
- package/dist/zonos-elements/p-944d00da.entry.js +1 -0
- package/dist/zonos-elements/p-9479f155.system.js +1 -0
- package/dist/zonos-elements/p-95dc475b.system.js +1 -0
- package/dist/zonos-elements/p-976afc17.system.js +1 -0
- package/dist/zonos-elements/p-9b9bfb6d.entry.js +1 -0
- package/dist/zonos-elements/{p-55e2e4ed.entry.js → p-9f1bd9b8.entry.js} +1 -1
- package/dist/zonos-elements/p-9fa32fdf.js +1 -0
- package/dist/zonos-elements/p-a2a0bf4e.js +1 -0
- package/dist/zonos-elements/p-a610c24e.system.entry.js +1 -0
- package/dist/zonos-elements/{p-9b8750f3.entry.js → p-aedd3911.entry.js} +1 -1
- package/dist/zonos-elements/{p-db628e49.system.entry.js → p-b5c31ca4.system.entry.js} +1 -1
- package/dist/zonos-elements/p-ba456282.system.entry.js +1 -0
- package/dist/zonos-elements/{p-31af91f0.entry.js → p-bd603c1a.entry.js} +1 -1
- package/dist/zonos-elements/p-c2442878.system.js +1 -1
- package/dist/zonos-elements/p-c8cc20d9.system.js +1 -0
- package/dist/zonos-elements/p-dc5fb21c.js +1 -0
- package/dist/zonos-elements/p-dc94d7eb.js +1 -0
- package/dist/zonos-elements/{p-540cec7e.system.entry.js → p-e9e6bea7.system.entry.js} +1 -1
- package/dist/zonos-elements/p-eb9ee025.system.js +1 -0
- package/dist/zonos-elements/p-ed8ae947.system.entry.js +1 -0
- package/dist/zonos-elements/p-f1d4d6da.entry.js +1 -0
- package/dist/zonos-elements/p-f1d9dd4e.entry.js +1 -0
- package/dist/zonos-elements/p-f3962950.system.entry.js +1 -0
- package/dist/zonos-elements/p-f4e976ae.entry.js +1 -0
- package/dist/zonos-elements/p-f513b231.entry.js +1 -0
- package/dist/zonos-elements/p-f64207fa.system.entry.js +1 -0
- package/dist/zonos-elements/{p-31975752.entry.js → p-fa322dc1.entry.js} +1 -1
- package/dist/zonos-elements/p-fb9fb873.system.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/localization-39516612.js +0 -884
- package/dist/cjs/zonos-confirm-dialog_2.cjs.entry.js +0 -168
- package/dist/esm/localization-c5029ffc.js +0 -863
- package/dist/esm/zonos-confirm-dialog_2.entry.js +0 -163
- package/dist/esm-es5/cart-14f305b3.js +0 -1
- package/dist/esm-es5/localization-c5029ffc.js +0 -1
- package/dist/esm-es5/placeTestOrder-2250f719.js +0 -1
- package/dist/esm-es5/renderFallback-dbf1e3ae.js +0 -1
- package/dist/esm-es5/shouldRenderTaxIdInput-8bc112bb.js +0 -1
- package/dist/esm-es5/translationStore-690c4e04.js +0 -1
- package/dist/esm-es5/zonos-address_11.entry.js +0 -1
- package/dist/esm-es5/zonos-banner_2.entry.js +0 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +0 -1
- package/dist/esm-es5/zonos-confirm-dialog_2.entry.js +0 -1
- package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +0 -1
- package/dist/zonos-elements/p-03ff7b01.system.entry.js +0 -1
- package/dist/zonos-elements/p-100f6a88.system.entry.js +0 -1
- package/dist/zonos-elements/p-143d706b.entry.js +0 -1
- package/dist/zonos-elements/p-14d7489d.js +0 -1
- package/dist/zonos-elements/p-1bfae137.entry.js +0 -1
- package/dist/zonos-elements/p-1d5aa016.system.js +0 -1
- package/dist/zonos-elements/p-1eae4987.entry.js +0 -1
- package/dist/zonos-elements/p-23b45714.system.entry.js +0 -1
- package/dist/zonos-elements/p-2557b96b.js +0 -1
- package/dist/zonos-elements/p-2ca8b037.entry.js +0 -1
- package/dist/zonos-elements/p-2dbcecf4.entry.js +0 -1
- package/dist/zonos-elements/p-316f9052.system.entry.js +0 -1
- package/dist/zonos-elements/p-3185968f.entry.js +0 -1
- package/dist/zonos-elements/p-4e41143a.system.entry.js +0 -1
- package/dist/zonos-elements/p-52b87408.system.entry.js +0 -1
- package/dist/zonos-elements/p-561be3a2.system.js +0 -1
- package/dist/zonos-elements/p-5c680f72.js +0 -1
- package/dist/zonos-elements/p-5f77d19e.js +0 -1
- package/dist/zonos-elements/p-74ca7739.entry.js +0 -1
- package/dist/zonos-elements/p-767a31a8.system.js +0 -1
- package/dist/zonos-elements/p-78a6e775.system.js +0 -1
- package/dist/zonos-elements/p-7c705c76.system.js +0 -1
- package/dist/zonos-elements/p-81ba2820.system.entry.js +0 -1
- package/dist/zonos-elements/p-84078c57.system.js +0 -1
- package/dist/zonos-elements/p-8a23bbf5.js +0 -1
- package/dist/zonos-elements/p-905d2490.entry.js +0 -1
- package/dist/zonos-elements/p-93f2e1ee.system.entry.js +0 -1
- package/dist/zonos-elements/p-a0a4e43d.system.entry.js +0 -1
- package/dist/zonos-elements/p-a2819807.system.entry.js +0 -1
- package/dist/zonos-elements/p-a6e74856.entry.js +0 -1
- package/dist/zonos-elements/p-ae940a99.js +0 -1
- package/dist/zonos-elements/p-b7ea5f4f.system.entry.js +0 -1
- package/dist/zonos-elements/p-c0c458f7.system.entry.js +0 -1
- package/dist/zonos-elements/p-c1ecab92.entry.js +0 -1
- package/dist/zonos-elements/p-c50cc926.entry.js +0 -1
- package/dist/zonos-elements/p-cf765af3.system.js +0 -1
- package/dist/zonos-elements/p-e03e1a62.entry.js +0 -1
- package/dist/zonos-elements/p-e7874318.system.entry.js +0 -1
- package/dist/zonos-elements/p-e8949e7e.entry.js +0 -1
- package/dist/zonos-elements/p-ea0b5d10.system.js +0 -1
- package/dist/zonos-elements/p-eae3462c.entry.js +0 -1
- package/dist/zonos-elements/p-eeb1081e.js +0 -1
- package/dist/zonos-elements/p-f892595d.system.entry.js +0 -1
- package/dist/zonos-elements/p-fd3b46ee.entry.js +0 -1
|
@@ -65,6 +65,9 @@ export const alcoholRecipientType = {
|
|
|
65
65
|
Consumer: 'CONSUMER',
|
|
66
66
|
Licensee: 'LICENSEE',
|
|
67
67
|
};
|
|
68
|
+
export const allOptIn = {
|
|
69
|
+
All: 'ALL',
|
|
70
|
+
};
|
|
68
71
|
export const allowedCharacterSets = {
|
|
69
72
|
All: 'ALL',
|
|
70
73
|
Latin: 'LATIN',
|
|
@@ -131,6 +134,11 @@ export const auditLogChangeType = {
|
|
|
131
134
|
Delete: 'DELETE',
|
|
132
135
|
Update: 'UPDATE',
|
|
133
136
|
};
|
|
137
|
+
export const authorizationExpiryBehavior = {
|
|
138
|
+
Capture: 'CAPTURE',
|
|
139
|
+
Ignore: 'IGNORE',
|
|
140
|
+
Void: 'VOID',
|
|
141
|
+
};
|
|
134
142
|
export const batteryMaterialType = {
|
|
135
143
|
LithiumIon: 'LITHIUM_ION',
|
|
136
144
|
LithiumMetal: 'LITHIUM_METAL',
|
|
@@ -140,15 +148,24 @@ export const batteryPackingType = {
|
|
|
140
148
|
BatteryOnly: 'BATTERY_ONLY',
|
|
141
149
|
BatteryPackagedWithEquipment: 'BATTERY_PACKAGED_WITH_EQUIPMENT',
|
|
142
150
|
};
|
|
151
|
+
export const billingCompanyAccountStanding = {
|
|
152
|
+
Current: 'CURRENT',
|
|
153
|
+
Delinquent: 'DELINQUENT',
|
|
154
|
+
};
|
|
143
155
|
export const billingCompanyAccountType = {
|
|
144
156
|
StripeBillingCustomer: 'STRIPE_BILLING_CUSTOMER',
|
|
145
157
|
StripePaymentsConnectAccount: 'STRIPE_PAYMENTS_CONNECT_ACCOUNT',
|
|
158
|
+
StripePaymentsCustomer: 'STRIPE_PAYMENTS_CUSTOMER',
|
|
146
159
|
StripeThirdPartyBillingCustomer: 'STRIPE_THIRD_PARTY_BILLING_CUSTOMER',
|
|
147
160
|
};
|
|
148
161
|
export const billingCompanyBusinessUnit = {
|
|
149
162
|
Ecommerce: 'ECOMMERCE',
|
|
150
163
|
SupplyChain: 'SUPPLY_CHAIN',
|
|
151
164
|
};
|
|
165
|
+
export const billingCompanyInvoiceProcessor = {
|
|
166
|
+
Stripe: 'STRIPE',
|
|
167
|
+
Zonos: 'ZONOS',
|
|
168
|
+
};
|
|
152
169
|
export const billingOptionCode = {
|
|
153
170
|
DdpAndDdu: 'DDP_AND_DDU',
|
|
154
171
|
ShipperOnly: 'SHIPPER_ONLY',
|
|
@@ -171,6 +188,12 @@ export const carrierAccountApiUsage = {
|
|
|
171
188
|
Label: 'LABEL',
|
|
172
189
|
Rating: 'RATING',
|
|
173
190
|
};
|
|
191
|
+
export const carrierAccountCode = {
|
|
192
|
+
Apc: 'APC',
|
|
193
|
+
Dhl: 'DHL',
|
|
194
|
+
Fedex: 'FEDEX',
|
|
195
|
+
Ups: 'UPS',
|
|
196
|
+
};
|
|
174
197
|
export const carrierAccountIntegrationType = {
|
|
175
198
|
Rest: 'REST',
|
|
176
199
|
Soap: 'SOAP',
|
|
@@ -254,8 +277,11 @@ export const carrierBillingInvoiceStatus = {
|
|
|
254
277
|
};
|
|
255
278
|
export const carrierCode = {
|
|
256
279
|
Apc: 'APC',
|
|
280
|
+
CanadaPost: 'CANADA_POST',
|
|
257
281
|
Dhl: 'DHL',
|
|
258
282
|
DirectLink: 'DIRECT_LINK',
|
|
283
|
+
Ehub: 'EHUB',
|
|
284
|
+
Envia: 'ENVIA',
|
|
259
285
|
Fedex: 'FEDEX',
|
|
260
286
|
Fedexxb: 'FEDEXXB',
|
|
261
287
|
GlobalAccess: 'GLOBAL_ACCESS',
|
|
@@ -345,6 +371,19 @@ export const catalogStatus = {
|
|
|
345
371
|
Disabled: 'DISABLED',
|
|
346
372
|
Enabled: 'ENABLED',
|
|
347
373
|
};
|
|
374
|
+
export const cbpBatchType = {
|
|
375
|
+
Filed: 'FILED',
|
|
376
|
+
Paid: 'PAID',
|
|
377
|
+
};
|
|
378
|
+
export const cbpSubmissionStatus = {
|
|
379
|
+
Failed: 'FAILED',
|
|
380
|
+
Filed: 'FILED',
|
|
381
|
+
Paid: 'PAID',
|
|
382
|
+
Pending: 'PENDING',
|
|
383
|
+
Processing: 'PROCESSING',
|
|
384
|
+
Ready: 'READY',
|
|
385
|
+
Skipped: 'SKIPPED',
|
|
386
|
+
};
|
|
348
387
|
export const checkoutCompanyFieldsStatus = {
|
|
349
388
|
Disabled: 'DISABLED',
|
|
350
389
|
Enabled: 'ENABLED',
|
|
@@ -968,9 +1007,18 @@ export const countryCode = {
|
|
|
968
1007
|
Zm: 'ZM',
|
|
969
1008
|
Zw: 'ZW',
|
|
970
1009
|
};
|
|
1010
|
+
export const countryOfOriginJobStatus = {
|
|
1011
|
+
Completed: 'COMPLETED',
|
|
1012
|
+
Failed: 'FAILED',
|
|
1013
|
+
Parsing: 'PARSING',
|
|
1014
|
+
Processing: 'PROCESSING',
|
|
1015
|
+
ReadyForExport: 'READY_FOR_EXPORT',
|
|
1016
|
+
Received: 'RECEIVED',
|
|
1017
|
+
};
|
|
971
1018
|
export const credentialProvider = {
|
|
972
1019
|
General: 'GENERAL',
|
|
973
1020
|
Organization: 'ORGANIZATION',
|
|
1021
|
+
Partner: 'PARTNER',
|
|
974
1022
|
};
|
|
975
1023
|
export const creditBehaviorTypeCode = {
|
|
976
1024
|
CreditAccount: 'CREDIT_ACCOUNT',
|
|
@@ -1237,6 +1285,10 @@ export const deMinimisType = {
|
|
|
1237
1285
|
Fee: 'FEE',
|
|
1238
1286
|
Tax: 'TAX',
|
|
1239
1287
|
};
|
|
1288
|
+
export const declarationOrderPaymentCapture = {
|
|
1289
|
+
Capture: 'CAPTURE',
|
|
1290
|
+
Ignore: 'IGNORE',
|
|
1291
|
+
};
|
|
1240
1292
|
export const declarationPaymentStatus = {
|
|
1241
1293
|
Open: 'OPEN',
|
|
1242
1294
|
Paid: 'PAID',
|
|
@@ -1252,6 +1304,7 @@ export const declarationStatus = {
|
|
|
1252
1304
|
Open: 'OPEN',
|
|
1253
1305
|
PartiallyShipped: 'PARTIALLY_SHIPPED',
|
|
1254
1306
|
Shipped: 'SHIPPED',
|
|
1307
|
+
Voided: 'VOIDED',
|
|
1255
1308
|
};
|
|
1256
1309
|
export const deleteJobStatus = {
|
|
1257
1310
|
Completed: 'COMPLETED',
|
|
@@ -1343,7 +1396,10 @@ export const emailTemplateType = {
|
|
|
1343
1396
|
CheckoutCollect: 'CHECKOUT_COLLECT',
|
|
1344
1397
|
ClassificationExport: 'CLASSIFICATION_EXPORT',
|
|
1345
1398
|
Custom: 'CUSTOM',
|
|
1399
|
+
DelinquentBillingCompany: 'DELINQUENT_BILLING_COMPANY',
|
|
1346
1400
|
InclusivePriceExport: 'INCLUSIVE_PRICE_EXPORT',
|
|
1401
|
+
InvoiceReady: 'INVOICE_READY',
|
|
1402
|
+
InvoiceReceipt: 'INVOICE_RECEIPT',
|
|
1347
1403
|
ManualClassificationExport: 'MANUAL_CLASSIFICATION_EXPORT',
|
|
1348
1404
|
MerchantOrderConfirmation: 'MERCHANT_ORDER_CONFIRMATION',
|
|
1349
1405
|
OrderCanceled: 'ORDER_CANCELED',
|
|
@@ -1351,6 +1407,8 @@ export const emailTemplateType = {
|
|
|
1351
1407
|
OrderConfirmation: 'ORDER_CONFIRMATION',
|
|
1352
1408
|
OrderReceipt: 'ORDER_RECEIPT',
|
|
1353
1409
|
OrderShipped: 'ORDER_SHIPPED',
|
|
1410
|
+
PrepayCollect: 'PREPAY_COLLECT',
|
|
1411
|
+
ReportExport: 'REPORT_EXPORT',
|
|
1354
1412
|
Unknown: 'UNKNOWN',
|
|
1355
1413
|
};
|
|
1356
1414
|
export const endOfDayBehavior = {
|
|
@@ -1409,6 +1467,11 @@ export const errorType = {
|
|
|
1409
1467
|
Unavailable: 'UNAVAILABLE',
|
|
1410
1468
|
Unknown: 'UNKNOWN',
|
|
1411
1469
|
};
|
|
1470
|
+
export const exchangeRateSource = {
|
|
1471
|
+
Cbp: 'CBP',
|
|
1472
|
+
Fixer: 'FIXER',
|
|
1473
|
+
Static: 'STATIC',
|
|
1474
|
+
};
|
|
1412
1475
|
export const exchangeRateTargetType = {
|
|
1413
1476
|
BillingCompany: 'BILLING_COMPANY',
|
|
1414
1477
|
MerchantBase: 'MERCHANT_BASE',
|
|
@@ -1440,10 +1503,6 @@ export const externalServiceTokenType = {
|
|
|
1440
1503
|
PaypalClientId: 'PAYPAL_CLIENT_ID',
|
|
1441
1504
|
StripePublishableToken: 'STRIPE_PUBLISHABLE_TOKEN',
|
|
1442
1505
|
};
|
|
1443
|
-
export const fdaIndicatorType = {
|
|
1444
|
-
Applies: 'APPLIES',
|
|
1445
|
-
DoesNotApply: 'DOES_NOT_APPLY',
|
|
1446
|
-
};
|
|
1447
1506
|
export const fedExCategoryCode = {
|
|
1448
1507
|
Shipping: 'SHIPPING',
|
|
1449
1508
|
};
|
|
@@ -1611,6 +1670,23 @@ export const invoiceCarrier = {
|
|
|
1611
1670
|
Ups: 'UPS',
|
|
1612
1671
|
Zonos: 'ZONOS',
|
|
1613
1672
|
};
|
|
1673
|
+
export const invoiceCollectionMethod = {
|
|
1674
|
+
ChargeAutomatically: 'CHARGE_AUTOMATICALLY',
|
|
1675
|
+
CheckoutCollect: 'CHECKOUT_COLLECT',
|
|
1676
|
+
CreateOutstanding: 'CREATE_OUTSTANDING',
|
|
1677
|
+
SendInvoice: 'SEND_INVOICE',
|
|
1678
|
+
StripeBillingDraftInvoice: 'STRIPE_BILLING_DRAFT_INVOICE',
|
|
1679
|
+
StripeBillingInvoice: 'STRIPE_BILLING_INVOICE',
|
|
1680
|
+
};
|
|
1681
|
+
export const invoiceDayOfWeek = {
|
|
1682
|
+
Friday: 'FRIDAY',
|
|
1683
|
+
Monday: 'MONDAY',
|
|
1684
|
+
Saturday: 'SATURDAY',
|
|
1685
|
+
Sunday: 'SUNDAY',
|
|
1686
|
+
Thursday: 'THURSDAY',
|
|
1687
|
+
Tuesday: 'TUESDAY',
|
|
1688
|
+
Wednesday: 'WEDNESDAY',
|
|
1689
|
+
};
|
|
1614
1690
|
export const invoiceLanguageCode = {
|
|
1615
1691
|
Bg: 'BG',
|
|
1616
1692
|
Cs: 'CS',
|
|
@@ -1654,6 +1730,19 @@ export const invoiceLanguageCode = {
|
|
|
1654
1730
|
export const invoiceProcessor = {
|
|
1655
1731
|
Stripe: 'STRIPE',
|
|
1656
1732
|
};
|
|
1733
|
+
export const invoiceScheduleGlobalStatus = {
|
|
1734
|
+
Disabled: 'DISABLED',
|
|
1735
|
+
Enabled: 'ENABLED',
|
|
1736
|
+
};
|
|
1737
|
+
export const invoiceScheduleInterval = {
|
|
1738
|
+
Daily: 'DAILY',
|
|
1739
|
+
Monthly: 'MONTHLY',
|
|
1740
|
+
Weekly: 'WEEKLY',
|
|
1741
|
+
};
|
|
1742
|
+
export const invoiceSettingsStatus = {
|
|
1743
|
+
Disabled: 'DISABLED',
|
|
1744
|
+
Enabled: 'ENABLED',
|
|
1745
|
+
};
|
|
1657
1746
|
export const invoiceStatus = {
|
|
1658
1747
|
Received: 'RECEIVED',
|
|
1659
1748
|
Reconciled: 'RECONCILED',
|
|
@@ -1777,6 +1866,8 @@ export const labelCarrierCode = {
|
|
|
1777
1866
|
Apc: 'APC',
|
|
1778
1867
|
Dhl: 'DHL',
|
|
1779
1868
|
DirectLink: 'DIRECT_LINK',
|
|
1869
|
+
Ehub: 'EHUB',
|
|
1870
|
+
Envia: 'ENVIA',
|
|
1780
1871
|
Fedex: 'FEDEX',
|
|
1781
1872
|
Fedexxb: 'FEDEXXB',
|
|
1782
1873
|
Ups: 'UPS',
|
|
@@ -1885,6 +1976,9 @@ export const landedCostBillingRuleDetailCategoryIdCreateType = {
|
|
|
1885
1976
|
CheckoutTransactionPercent: 'CHECKOUT_TRANSACTION_PERCENT',
|
|
1886
1977
|
CollectOrder: 'COLLECT_ORDER',
|
|
1887
1978
|
CollectPercent: 'COLLECT_PERCENT',
|
|
1979
|
+
EtsyGuaranteeOrder: 'ETSY_GUARANTEE_ORDER',
|
|
1980
|
+
EtsyGuaranteePercent: 'ETSY_GUARANTEE_PERCENT',
|
|
1981
|
+
EtsyMerchantFeePercent: 'ETSY_MERCHANT_FEE_PERCENT',
|
|
1888
1982
|
GuaranteeOrder: 'GUARANTEE_ORDER',
|
|
1889
1983
|
ShopifyGuaranteeOrder: 'SHOPIFY_GUARANTEE_ORDER',
|
|
1890
1984
|
ShopifyGuaranteeOrderLegacy: 'SHOPIFY_GUARANTEE_ORDER_LEGACY',
|
|
@@ -1902,14 +1996,17 @@ export const landedCostCalculationMethod = {
|
|
|
1902
1996
|
ZonosConfigured: 'ZONOS_CONFIGURED',
|
|
1903
1997
|
};
|
|
1904
1998
|
export const landedCostEndUse = {
|
|
1999
|
+
Documents: 'DOCUMENTS',
|
|
1905
2000
|
ForResale: 'FOR_RESALE',
|
|
1906
2001
|
Gift: 'GIFT',
|
|
1907
2002
|
NotForResale: 'NOT_FOR_RESALE',
|
|
2003
|
+
Return: 'RETURN',
|
|
1908
2004
|
};
|
|
1909
2005
|
export const landedCostFeeType = {
|
|
1910
2006
|
AdditionalTariffLines: 'ADDITIONAL_TARIFF_LINES',
|
|
1911
2007
|
Adjustment: 'ADJUSTMENT',
|
|
1912
2008
|
Advancement: 'ADVANCEMENT',
|
|
2009
|
+
BondFee: 'BOND_FEE',
|
|
1913
2010
|
BrokerageFee: 'BROKERAGE_FEE',
|
|
1914
2011
|
Buffer: 'BUFFER',
|
|
1915
2012
|
Cod: 'COD',
|
|
@@ -1918,8 +2015,12 @@ export const landedCostFeeType = {
|
|
|
1918
2015
|
Country: 'COUNTRY',
|
|
1919
2016
|
CurrencyConversionFee: 'CURRENCY_CONVERSION_FEE',
|
|
1920
2017
|
DdpServiceFee: 'DDP_SERVICE_FEE',
|
|
2018
|
+
Disbursement: 'DISBURSEMENT',
|
|
2019
|
+
DisbursementFee: 'DISBURSEMENT_FEE',
|
|
2020
|
+
DisbursementProcessing: 'DISBURSEMENT_PROCESSING',
|
|
1921
2021
|
Discount: 'DISCOUNT',
|
|
1922
2022
|
Duty: 'DUTY',
|
|
2023
|
+
DutyFx: 'DUTY_FX',
|
|
1923
2024
|
GuaranteeOrder: 'GUARANTEE_ORDER',
|
|
1924
2025
|
GuaranteePercent: 'GUARANTEE_PERCENT',
|
|
1925
2026
|
InclusivePriceAdjustment: 'INCLUSIVE_PRICE_ADJUSTMENT',
|
|
@@ -1928,6 +2029,13 @@ export const landedCostFeeType = {
|
|
|
1928
2029
|
LandedCost: 'LANDED_COST',
|
|
1929
2030
|
Other: 'OTHER',
|
|
1930
2031
|
PartnerRevShare: 'PARTNER_REV_SHARE',
|
|
2032
|
+
PrepayDisbursement: 'PREPAY_DISBURSEMENT',
|
|
2033
|
+
PrepayDisbursementFee: 'PREPAY_DISBURSEMENT_FEE',
|
|
2034
|
+
PrepayFee: 'PREPAY_FEE',
|
|
2035
|
+
PrepayPercent: 'PREPAY_PERCENT',
|
|
2036
|
+
PrepayPhotoDiscount: 'PREPAY_PHOTO_DISCOUNT',
|
|
2037
|
+
RemittanceAmountRevenueShare: 'REMITTANCE_AMOUNT_REVENUE_SHARE',
|
|
2038
|
+
RemittanceFee: 'REMITTANCE_FEE',
|
|
1931
2039
|
Shipping: 'SHIPPING',
|
|
1932
2040
|
Tax: 'TAX',
|
|
1933
2041
|
Transaction: 'TRANSACTION',
|
|
@@ -1963,9 +2071,12 @@ export const landedCostPaymentProcessor = {
|
|
|
1963
2071
|
export const landedCostQuoteType = {
|
|
1964
2072
|
Api: 'API',
|
|
1965
2073
|
Auditing: 'AUDITING',
|
|
2074
|
+
CarrierPay: 'CARRIER_PAY',
|
|
1966
2075
|
Checkout: 'CHECKOUT',
|
|
1967
2076
|
Collect: 'COLLECT',
|
|
2077
|
+
Draft: 'DRAFT',
|
|
1968
2078
|
Hello: 'HELLO',
|
|
2079
|
+
InclusiveConfiguration: 'INCLUSIVE_CONFIGURATION',
|
|
1969
2080
|
InclusivePrice: 'INCLUSIVE_PRICE',
|
|
1970
2081
|
Invoice: 'INVOICE',
|
|
1971
2082
|
InvoiceCollect: 'INVOICE_COLLECT',
|
|
@@ -2109,6 +2220,32 @@ export const linkType = {
|
|
|
2109
2220
|
AccountOnboarding: 'ACCOUNT_ONBOARDING',
|
|
2110
2221
|
AccountUpdate: 'ACCOUNT_UPDATE',
|
|
2111
2222
|
};
|
|
2223
|
+
export const magentoStockStatus = {
|
|
2224
|
+
InStock: 'IN_STOCK',
|
|
2225
|
+
OutOfStock: 'OUT_OF_STOCK',
|
|
2226
|
+
PartiallyAllocable: 'PARTIALLY_ALLOCABLE',
|
|
2227
|
+
};
|
|
2228
|
+
export const manifestDataSource = {
|
|
2229
|
+
Cardit: 'CARDIT',
|
|
2230
|
+
Precon: 'PRECON',
|
|
2231
|
+
Predes: 'PREDES',
|
|
2232
|
+
Resdit: 'RESDIT',
|
|
2233
|
+
};
|
|
2234
|
+
export const manifestLineEndUse = {
|
|
2235
|
+
Documents: 'DOCUMENTS',
|
|
2236
|
+
ForResale: 'FOR_RESALE',
|
|
2237
|
+
Gift: 'GIFT',
|
|
2238
|
+
NotForResale: 'NOT_FOR_RESALE',
|
|
2239
|
+
Return: 'RETURN',
|
|
2240
|
+
};
|
|
2241
|
+
export const manifestSource = {
|
|
2242
|
+
Api: 'API',
|
|
2243
|
+
Ipc: 'IPC',
|
|
2244
|
+
Other: 'OTHER',
|
|
2245
|
+
Post: 'POST',
|
|
2246
|
+
Upu: 'UPU',
|
|
2247
|
+
Usps: 'USPS',
|
|
2248
|
+
};
|
|
2112
2249
|
export const manualClassificationBulkJobStatus = {
|
|
2113
2250
|
Cancelled: 'CANCELLED',
|
|
2114
2251
|
Completed: 'COMPLETED',
|
|
@@ -2145,6 +2282,10 @@ export const manualClassificationStatus = {
|
|
|
2145
2282
|
Active: 'ACTIVE',
|
|
2146
2283
|
Archived: 'ARCHIVED',
|
|
2147
2284
|
};
|
|
2285
|
+
export const marketProfileContext = {
|
|
2286
|
+
Disabled: 'DISABLED',
|
|
2287
|
+
Enabled: 'ENABLED',
|
|
2288
|
+
};
|
|
2148
2289
|
export const matchType = {
|
|
2149
2290
|
ExactMatch: 'EXACT_MATCH',
|
|
2150
2291
|
NoMatch: 'NO_MATCH',
|
|
@@ -2169,6 +2310,7 @@ export const notificationActiveStatus = {
|
|
|
2169
2310
|
export const onboardSubscriptionType = {
|
|
2170
2311
|
DashboardLite: 'DASHBOARD_LITE',
|
|
2171
2312
|
FreeTrial: 'FREE_TRIAL',
|
|
2313
|
+
PostalOperator: 'POSTAL_OPERATOR',
|
|
2172
2314
|
};
|
|
2173
2315
|
export const orderBillingAdjustmentFeeType = {
|
|
2174
2316
|
AdditionalTariffLines: 'ADDITIONAL_TARIFF_LINES',
|
|
@@ -2222,6 +2364,11 @@ export const orderNoteType = {
|
|
|
2222
2364
|
Shipment: 'SHIPMENT',
|
|
2223
2365
|
Status: 'STATUS',
|
|
2224
2366
|
};
|
|
2367
|
+
export const orderPaymentAuthorizationExpirationBehavior = {
|
|
2368
|
+
Capture: 'CAPTURE',
|
|
2369
|
+
Ignore: 'IGNORE',
|
|
2370
|
+
Void: 'VOID',
|
|
2371
|
+
};
|
|
2225
2372
|
export const orderPaymentStatus = {
|
|
2226
2373
|
Paid: 'PAID',
|
|
2227
2374
|
PartiallyRefunded: 'PARTIALLY_REFUNDED',
|
|
@@ -2251,15 +2398,37 @@ export const orderTransactionBillingMethod = {
|
|
|
2251
2398
|
};
|
|
2252
2399
|
export const orderType = {
|
|
2253
2400
|
Api: 'API',
|
|
2401
|
+
CarrierPay: 'CARRIER_PAY',
|
|
2254
2402
|
Checkout: 'CHECKOUT',
|
|
2255
2403
|
Collect: 'COLLECT',
|
|
2404
|
+
Draft: 'DRAFT',
|
|
2405
|
+
Invoice: 'INVOICE',
|
|
2406
|
+
InvoiceCollect: 'INVOICE_COLLECT',
|
|
2407
|
+
LabelCollect: 'LABEL_COLLECT',
|
|
2408
|
+
PrepayCollect: 'PREPAY_COLLECT',
|
|
2409
|
+
PrepayInvoice: 'PREPAY_INVOICE',
|
|
2256
2410
|
};
|
|
2257
2411
|
export const organizationBusinessUnit = {
|
|
2258
2412
|
Ecommerce: 'ECOMMERCE',
|
|
2259
2413
|
SupplyChain: 'SUPPLY_CHAIN',
|
|
2260
2414
|
};
|
|
2415
|
+
export const organizationFeePricingExclusion = {
|
|
2416
|
+
Document: 'DOCUMENT',
|
|
2417
|
+
QualifiedGift: 'QUALIFIED_GIFT',
|
|
2418
|
+
Return: 'RETURN',
|
|
2419
|
+
ZeroDuty: 'ZERO_DUTY',
|
|
2420
|
+
ZeroFee: 'ZERO_FEE',
|
|
2421
|
+
};
|
|
2422
|
+
export const organizationFeePricingQualifierType = {
|
|
2423
|
+
Organization: 'ORGANIZATION',
|
|
2424
|
+
ParentOrganization: 'PARENT_ORGANIZATION',
|
|
2425
|
+
ParentRevShare: 'PARENT_REV_SHARE',
|
|
2426
|
+
PrepayCollect: 'PREPAY_COLLECT',
|
|
2427
|
+
PrepayCollectPhotoDiscount: 'PREPAY_COLLECT_PHOTO_DISCOUNT',
|
|
2428
|
+
};
|
|
2261
2429
|
export const organizationStatus = {
|
|
2262
2430
|
Active: 'ACTIVE',
|
|
2431
|
+
Archived: 'ARCHIVED',
|
|
2263
2432
|
Churned: 'CHURNED',
|
|
2264
2433
|
Deleted: 'DELETED',
|
|
2265
2434
|
Lead: 'LEAD',
|
|
@@ -2280,6 +2449,7 @@ export const organizationType = {
|
|
|
2280
2449
|
Other: 'OTHER',
|
|
2281
2450
|
Partner: 'PARTNER',
|
|
2282
2451
|
Platform: 'PLATFORM',
|
|
2452
|
+
PlatformVendor: 'PLATFORM_VENDOR',
|
|
2283
2453
|
PostalOperator: 'POSTAL_OPERATOR',
|
|
2284
2454
|
PostalOperatorMerchant: 'POSTAL_OPERATOR_MERCHANT',
|
|
2285
2455
|
};
|
|
@@ -2338,7 +2508,6 @@ export const partyType = {
|
|
|
2338
2508
|
Payor: 'PAYOR',
|
|
2339
2509
|
};
|
|
2340
2510
|
export const paymentProcessorCode = {
|
|
2341
|
-
NotApplicable: 'NOT_APPLICABLE',
|
|
2342
2511
|
Paypal: 'PAYPAL',
|
|
2343
2512
|
Stripe: 'STRIPE',
|
|
2344
2513
|
StripeTransfer: 'STRIPE_TRANSFER',
|
|
@@ -2850,6 +3019,7 @@ export const postalOperatorCode = {
|
|
|
2850
3019
|
Jj00C038: 'JJ00C038',
|
|
2851
3020
|
Jj00C039: 'JJ00C039',
|
|
2852
3021
|
Jj00Cz53: 'JJ00CZ53',
|
|
3022
|
+
Other: 'OTHER',
|
|
2853
3023
|
};
|
|
2854
3024
|
export const priceAdjustmentType = {
|
|
2855
3025
|
Fixed: 'FIXED',
|
|
@@ -2883,6 +3053,21 @@ export const providedHsCodeVisibilityStatus = {
|
|
|
2883
3053
|
NotVisible: 'NOT_VISIBLE',
|
|
2884
3054
|
Visible: 'VISIBLE',
|
|
2885
3055
|
};
|
|
3056
|
+
export const reportExportJobNotificationBehavior = {
|
|
3057
|
+
EmailOnCompletion: 'EMAIL_ON_COMPLETION',
|
|
3058
|
+
None: 'NONE',
|
|
3059
|
+
};
|
|
3060
|
+
export const reportExportJobStatus = {
|
|
3061
|
+
Completed: 'COMPLETED',
|
|
3062
|
+
Error: 'ERROR',
|
|
3063
|
+
Initialized: 'INITIALIZED',
|
|
3064
|
+
Processing: 'PROCESSING',
|
|
3065
|
+
};
|
|
3066
|
+
export const reportExportJobType = {
|
|
3067
|
+
InvoiceDetails: 'INVOICE_DETAILS',
|
|
3068
|
+
InvoiceSummary: 'INVOICE_SUMMARY',
|
|
3069
|
+
RemittanceNotInvoiced: 'REMITTANCE_NOT_INVOICED',
|
|
3070
|
+
};
|
|
2886
3071
|
export const restrictedItemAction = {
|
|
2887
3072
|
Block: 'BLOCK',
|
|
2888
3073
|
BlockAll: 'BLOCK_ALL',
|
|
@@ -2914,6 +3099,19 @@ export const roundingMethod = {
|
|
|
2914
3099
|
Thousandth: 'THOUSANDTH',
|
|
2915
3100
|
Whole: 'WHOLE',
|
|
2916
3101
|
};
|
|
3102
|
+
export const scope = {
|
|
3103
|
+
Default: 'DEFAULT',
|
|
3104
|
+
Stores: 'STORES',
|
|
3105
|
+
Websites: 'WEBSITES',
|
|
3106
|
+
};
|
|
3107
|
+
export const searchAmountDetailTarget = {
|
|
3108
|
+
BillingCompany: 'BILLING_COMPANY',
|
|
3109
|
+
MerchantBase: 'MERCHANT_BASE',
|
|
3110
|
+
MerchantProvided: 'MERCHANT_PROVIDED',
|
|
3111
|
+
MerchantSettled: 'MERCHANT_SETTLED',
|
|
3112
|
+
ShopperPresented: 'SHOPPER_PRESENTED',
|
|
3113
|
+
ZonosBase: 'ZONOS_BASE',
|
|
3114
|
+
};
|
|
2917
3115
|
export const searchIndex = {
|
|
2918
3116
|
Catalog: 'CATALOG',
|
|
2919
3117
|
CatalogRecent: 'CATALOG_RECENT',
|
|
@@ -2946,6 +3144,16 @@ export const serviceLevelCountryDeliveryDuty = {
|
|
|
2946
3144
|
Ddu: 'DDU',
|
|
2947
3145
|
None: 'NONE',
|
|
2948
3146
|
};
|
|
3147
|
+
export const settingsCopyType = {
|
|
3148
|
+
CarrierAccount: 'CARRIER_ACCOUNT',
|
|
3149
|
+
LandedCostBillingRule: 'LANDED_COST_BILLING_RULE',
|
|
3150
|
+
LandedCostGuarantee: 'LANDED_COST_GUARANTEE',
|
|
3151
|
+
LandedCostSettings: 'LANDED_COST_SETTINGS',
|
|
3152
|
+
Rule: 'RULE',
|
|
3153
|
+
ShippingProfile: 'SHIPPING_PROFILE',
|
|
3154
|
+
ShippingZone: 'SHIPPING_ZONE',
|
|
3155
|
+
StoreFeeRule: 'STORE_FEE_RULE',
|
|
3156
|
+
};
|
|
2949
3157
|
export const shipmentAmountType = {
|
|
2950
3158
|
Buffer: 'BUFFER',
|
|
2951
3159
|
Discount: 'DISCOUNT',
|
|
@@ -3132,6 +3340,9 @@ export const storeFeeRuleDetailCategoryIdCreateType = {
|
|
|
3132
3340
|
DdpServiceFee: 'DDP_SERVICE_FEE',
|
|
3133
3341
|
DutyBuffer: 'DUTY_BUFFER',
|
|
3134
3342
|
DutyTaxBuffer: 'DUTY_TAX_BUFFER',
|
|
3343
|
+
EtsyGuaranteeOrder: 'ETSY_GUARANTEE_ORDER',
|
|
3344
|
+
EtsyGuaranteePercent: 'ETSY_GUARANTEE_PERCENT',
|
|
3345
|
+
EtsyMerchantFeePercent: 'ETSY_MERCHANT_FEE_PERCENT',
|
|
3135
3346
|
LandedCostGuaranteeBuffer: 'LANDED_COST_GUARANTEE_BUFFER',
|
|
3136
3347
|
LandedCostGuaranteeSubsidy: 'LANDED_COST_GUARANTEE_SUBSIDY',
|
|
3137
3348
|
MagentoCrossDockingBuffer: 'MAGENTO_CROSS_DOCKING_BUFFER',
|
|
@@ -3169,6 +3380,11 @@ export const stripeBillingFrequency = {
|
|
|
3169
3380
|
Week: 'WEEK',
|
|
3170
3381
|
Year: 'YEAR',
|
|
3171
3382
|
};
|
|
3383
|
+
export const stripeCaptureMethod = {
|
|
3384
|
+
Automatic: 'AUTOMATIC',
|
|
3385
|
+
AutomaticAsync: 'AUTOMATIC_ASYNC',
|
|
3386
|
+
Manual: 'MANUAL',
|
|
3387
|
+
};
|
|
3172
3388
|
export const stripeChargeStatus = {
|
|
3173
3389
|
Failed: 'FAILED',
|
|
3174
3390
|
Pending: 'PENDING',
|
|
@@ -3509,6 +3725,24 @@ export const zonosAttribution = {
|
|
|
3509
3725
|
Disabled: 'DISABLED',
|
|
3510
3726
|
Enabled: 'ENABLED',
|
|
3511
3727
|
};
|
|
3728
|
+
export const zonosInvoiceCollectionMethod = {
|
|
3729
|
+
ChargeAutomatically: 'CHARGE_AUTOMATICALLY',
|
|
3730
|
+
CheckoutCollect: 'CHECKOUT_COLLECT',
|
|
3731
|
+
CreateOutstanding: 'CREATE_OUTSTANDING',
|
|
3732
|
+
SendInvoice: 'SEND_INVOICE',
|
|
3733
|
+
StripeBillingDraftInvoice: 'STRIPE_BILLING_DRAFT_INVOICE',
|
|
3734
|
+
StripeBillingInvoice: 'STRIPE_BILLING_INVOICE',
|
|
3735
|
+
};
|
|
3736
|
+
export const zonosInvoiceJobStatus = {
|
|
3737
|
+
Completed: 'COMPLETED',
|
|
3738
|
+
Failed: 'FAILED',
|
|
3739
|
+
GenerateNew: 'GENERATE_NEW',
|
|
3740
|
+
Initialized: 'INITIALIZED',
|
|
3741
|
+
LandedCost: 'LANDED_COST',
|
|
3742
|
+
SendEmail: 'SEND_EMAIL',
|
|
3743
|
+
UpdateInvoices: 'UPDATE_INVOICES',
|
|
3744
|
+
VoidUnpaid: 'VOID_UNPAID',
|
|
3745
|
+
};
|
|
3512
3746
|
const defaultWrapper = (action, _operationName, _operationType) => action();
|
|
3513
3747
|
export function getSdk(client, withWrapper = defaultWrapper) {
|
|
3514
3748
|
return {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z as zonosStore, c as createStore } from './zonosStore-b434e436.js';
|
|
2
|
-
import { s as storageStore, l as localizationStore, e as getOverridenZCountry, f as filterValidTests, b as storageStoreSetEnabledVariantTestKeys } from './localization-
|
|
3
|
-
import { t as translate } from './translationStore-690c4e04.js';
|
|
2
|
+
import { s as storageStore, l as localizationStore, e as getOverridenZCountry, t as translate, f as filterValidTests, b as storageStoreSetEnabledVariantTestKeys } from './localization-04b05867.js';
|
|
4
3
|
import { f as fallbackApiList, h as handleFetch, g as getIsTestMode, a as getIsStagingMode, s as sendErrorLog, l as logError, j as jsonParse } from './handleFetch-a844cac1.js';
|
|
5
4
|
import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
6
5
|
import { i as isDarkColor } from './isDarkColor-9ddd90cc.js';
|
|
@@ -704,7 +703,10 @@ const { onChange: stripeStoreOnChange, reset: reset$1, state: stripeStore, } = c
|
|
|
704
703
|
const getStripeOptions = ({ clientSecret, overrideBorderRadius, overridePrimaryColor, overrideSecondaryColor, overrideTheme, paypalEnabled, }) => {
|
|
705
704
|
const primaryColor = overridePrimaryColor || zonosStore.appearance.colorPrimary;
|
|
706
705
|
const secondaryColor = overrideSecondaryColor || zonosStore.appearance.colorSecondary;
|
|
707
|
-
const
|
|
706
|
+
const isDark = window.Zonos.isCollect || window.Zonos.isInvoice
|
|
707
|
+
? zonosStore.appearance.theme === 'DARK'
|
|
708
|
+
: primaryColor && isDarkColor(primaryColor);
|
|
709
|
+
const themeBasedColor = isDark ? 'night' : 'flat';
|
|
708
710
|
// if overrideTheme is provided, use it. Otherwise, use theme based on primary color
|
|
709
711
|
const theme = overrideTheme === 'DARK' ? 'night' : 'flat';
|
|
710
712
|
const paypalPaymentType = paypalEnabled ? ['external_paypal'] : [];
|
|
@@ -1239,6 +1241,7 @@ const stripeStoreMessageBasedOnStatus = (status) => {
|
|
|
1239
1241
|
let messages = [];
|
|
1240
1242
|
let isError = true;
|
|
1241
1243
|
const isCollect = window.Zonos.isCollect;
|
|
1244
|
+
const isInvoice = window.Zonos.isInvoice;
|
|
1242
1245
|
// Inspect the PaymentIntent `status` to indicate the status of the payment
|
|
1243
1246
|
// to your customer.
|
|
1244
1247
|
//
|
|
@@ -1253,7 +1256,7 @@ const stripeStoreMessageBasedOnStatus = (status) => {
|
|
|
1253
1256
|
'',
|
|
1254
1257
|
translate("We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time."),
|
|
1255
1258
|
];
|
|
1256
|
-
if (isCollect) {
|
|
1259
|
+
if (isCollect || isInvoice) {
|
|
1257
1260
|
messages = [
|
|
1258
1261
|
translate('Thank you for submitting your payment. We appreciate your prompt attention.'),
|
|
1259
1262
|
'',
|
|
@@ -1461,7 +1464,8 @@ const getCheckoutSessionBody = () => {
|
|
|
1461
1464
|
cartId: window.Zonos.cartId,
|
|
1462
1465
|
currency: ((_a = cartStore.items.find(Boolean)) === null || _a === void 0 ? void 0 : _a.currencyCode) || '',
|
|
1463
1466
|
customerAuthenticationToken: cartStore.customerAuthenticationToken || undefined,
|
|
1464
|
-
isCollect: window.Zonos.isCollect,
|
|
1467
|
+
isCollect: !!window.Zonos.isCollect,
|
|
1468
|
+
isInvoice: !!window.Zonos.isInvoice,
|
|
1465
1469
|
itemsAmount: total,
|
|
1466
1470
|
metadata: [
|
|
1467
1471
|
{
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { e as euCountryCodes, c as countryRequireTaxId } from './TaxId-50d72254.js';
|
|
2
|
-
|
|
3
1
|
const isTextContainsNonLatinChars = (text) => {
|
|
4
2
|
const specialCharacters = /[ʼˮ՚ߴߵ']{1}/u;
|
|
5
3
|
/**
|
|
@@ -20,24 +18,4 @@ const containsNonLatinChars = (params) => {
|
|
|
20
18
|
return nonLatinValueList;
|
|
21
19
|
};
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
return countryRequireTaxId.includes(countryCode);
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Checks if the tax ID input should be rendered based on the company name and country code.
|
|
28
|
-
*/
|
|
29
|
-
const shouldRenderTaxIdInput = ({ companyName, countryCode, }) => {
|
|
30
|
-
// Only show the tax ID input if the country is in the EU and the company name is provided
|
|
31
|
-
if (euCountryCodes.includes(countryCode)) {
|
|
32
|
-
return companyName.trim().length > 0;
|
|
33
|
-
}
|
|
34
|
-
// If country require tax id, show the input
|
|
35
|
-
const isCountryRequireTaxId = isInTaxIdCountry(countryCode);
|
|
36
|
-
if (isCountryRequireTaxId) {
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
// If country doesn't require tax ID, no need to show the input
|
|
40
|
-
return false;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export { containsNonLatinChars as c, isTextContainsNonLatinChars as i, shouldRenderTaxIdInput as s };
|
|
21
|
+
export { containsNonLatinChars as c, isTextContainsNonLatinChars as i };
|
package/dist/esm/index.js
CHANGED
|
@@ -130,7 +130,7 @@ const getZonosQaUrl = () => {
|
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
132
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
133
|
-
const cdnUrl = "https://v1.3.
|
|
133
|
+
const cdnUrl = "https://v1.3.235.js.zonos.com";
|
|
134
134
|
// when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
|
|
135
135
|
if (!qaUrl &&
|
|
136
136
|
(cdnUrl.includes('test.') ||
|
|
@@ -378,10 +378,10 @@ const zonosLoadUrl = (() => {
|
|
|
378
378
|
return null;
|
|
379
379
|
})();
|
|
380
380
|
const startLoadTime = Date.now();
|
|
381
|
-
const ZONOS_URL = "https://v1.3.
|
|
382
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
383
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
384
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
381
|
+
const ZONOS_URL = "https://v1.3.235.js.zonos.com";
|
|
382
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.235";
|
|
383
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.235";
|
|
384
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.235";
|
|
385
385
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
386
386
|
const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
|
|
387
387
|
class Zonos {
|
|
@@ -399,7 +399,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
|
|
|
399
399
|
? new URLSearchParams(window.location.search).get('iframeLogType')
|
|
400
400
|
: null;
|
|
401
401
|
Zonos.isBigCommerce = false;
|
|
402
|
-
Zonos.releaseDate = "
|
|
402
|
+
Zonos.releaseDate = "1759772542349";
|
|
403
403
|
Zonos.isLegacyCheckout = false;
|
|
404
404
|
Zonos.startLoadTime = startLoadTime;
|
|
405
405
|
Zonos.domain = typeof window !== 'undefined'
|
|
@@ -412,6 +412,7 @@ Zonos.showBaseForeign = typeof window !== 'undefined' &&
|
|
|
412
412
|
window.location.search.includes('zonosShowBaseForeign');
|
|
413
413
|
Zonos.overrideUseCustomAddressForm = false;
|
|
414
414
|
Zonos.isCollect = false;
|
|
415
|
+
Zonos.isInvoice = false;
|
|
415
416
|
/**
|
|
416
417
|
* By default, the package will load from npm
|
|
417
418
|
*/
|
|
@@ -419,7 +420,7 @@ Zonos.isNpm = true;
|
|
|
419
420
|
Zonos.zonosQaUrl = null;
|
|
420
421
|
Zonos.zonosQaUrlApi = null;
|
|
421
422
|
Zonos.trackEventLogs = [];
|
|
422
|
-
Zonos.version = `v${"1.3.
|
|
423
|
+
Zonos.version = `v${"1.3.235"}`;
|
|
423
424
|
Zonos.modeAlerted = false;
|
|
424
425
|
Zonos.cartData = null;
|
|
425
426
|
Zonos.paypal = null;
|
|
@@ -743,6 +744,9 @@ Zonos.injectController = ({ config, }) => {
|
|
|
743
744
|
if (window.Zonos.isCollect) {
|
|
744
745
|
void zonosController.initCollectElement(stripe);
|
|
745
746
|
}
|
|
747
|
+
else if (window.Zonos.isInvoice) {
|
|
748
|
+
void zonosController.initInvoiceElement(stripe);
|
|
749
|
+
}
|
|
746
750
|
else {
|
|
747
751
|
void zonosController.initCheckoutElement(stripe);
|
|
748
752
|
}
|