@zonos/elements 1.5.0 → 1.5.2
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/{TaxId-Q6aDqqWv.js → TaxId-ChhNwG04.js} +36 -0
- package/dist/cjs/{cart-B6Aty-21.js → cart-BJpqPdFU.js} +100 -64
- package/dist/cjs/{collect-DnrvaXUI.js → collect-CyUttsvB.js} +4 -4
- package/dist/cjs/{debounce-Cd2emZPn.js → debounce-BhgA8_3W.js} +2 -2
- package/dist/cjs/{debounce-vY0QYT6o.js → debounce-DRPMxNew.js} +1 -1
- package/dist/cjs/{getBorderRadius-CyYZw4qq.js → getBorderRadius-CJ_95w3o.js} +1 -1
- package/dist/cjs/{getMissingRequiredShippingFields-D03ICqss.js → getMissingRequiredShippingFields-DEbNbRAZ.js} +1 -1
- package/dist/cjs/{handleFetch-DQLhurnE.js → handleFetch-DVfjFTYO.js} +181 -71
- package/dist/cjs/{hasInclusivePrice-CPCoVeU3.js → hasInclusivePrice-CEPf3_FG.js} +1 -1
- package/dist/cjs/index.cjs.js +116 -13
- package/dist/cjs/{invoice-Cj8W7NW0.js → invoice-DzRkkpLu.js} +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-BzNeXeDe.js → localization-BhNVhLZs.js} +725 -89
- package/dist/cjs/{paypal-CuKshRmZ.js → paypal-DCSqbdjW.js} +5 -5
- package/dist/cjs/{placeTestOrder-7czjwkjm.js → placeTestOrder-Bkip4PUT.js} +3 -3
- package/dist/cjs/{renderCheckoutCurrency-BH8t2b2x.js → renderCheckoutCurrency-BDvEZ3Hv.js} +2 -2
- package/dist/cjs/shouldRenderShortAddressCodeInput-gpu_bMfp.js +21 -0
- package/dist/cjs/{shouldShowLanguageSelect-yAbtCmd8.js → shouldShowLanguageSelect-NOVWOU53.js} +1 -1
- package/dist/cjs/{submitGtag-D79e8u6s.js → submitGtag-D4sB7w4z.js} +2 -2
- package/dist/cjs/{throttle-zSVRQLC0.js → taxIdFields-e4OCgr8K.js} +57 -2
- package/dist/cjs/taxIdRules-BBj8kQxJ.js +58 -0
- package/dist/cjs/{updateCheckoutSessionAttributes-jMtfOL2m.js → updateCheckoutSessionAttributes-KxwcsKhM.js} +2 -2
- package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +26 -31
- package/dist/cjs/zonos-address-display_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-address_4.cjs.entry.js +28 -31
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +8 -7
- package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_3.cjs.entry.js +2 -2
- package/dist/cjs/zonos-card_5.cjs.entry.js +9 -8
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +91 -86
- package/dist/cjs/zonos-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/zonos-checkout.cjs.entry.js +15 -14
- package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +7 -6
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +13 -12
- package/dist/cjs/zonos-collect.cjs.entry.js +10 -9
- package/dist/cjs/zonos-controller.cjs.entry.js +10 -9
- package/dist/cjs/zonos-country-flag.cjs.entry.js +3 -3
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +4 -4
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
- package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
- package/dist/cjs/zonos-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +9 -8
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +13 -12
- package/dist/cjs/zonos-invoice.cjs.entry.js +10 -9
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +3 -3
- package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
- package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +8 -7
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
- package/dist/cjs/{zonosStore-Bx9jK82G.js → zonosStore-CDV83QyK.js} +2 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +8 -7
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +4 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +12 -4
- package/dist/collection/components/main/zonos-controller.js +3 -2
- package/dist/collection/components/store/checkout/cart.js +3 -2
- package/dist/collection/components/store/checkout/stripe.js +20 -21
- package/dist/collection/components/store/storageStore.js +7 -6
- package/dist/collection/components/store/translationStore/strings.arabic.js +35 -2
- package/dist/collection/components/store/translationStore/strings.base.js +35 -2
- package/dist/collection/components/store/translationStore/strings.chinese.js +35 -2
- package/dist/collection/components/store/translationStore/strings.danish.js +35 -2
- package/dist/collection/components/store/translationStore/strings.dutch.js +35 -2
- package/dist/collection/components/store/translationStore/strings.french.js +35 -2
- package/dist/collection/components/store/translationStore/strings.german.js +35 -2
- package/dist/collection/components/store/translationStore/strings.hebrew.js +35 -2
- package/dist/collection/components/store/translationStore/strings.indonesian.js +35 -2
- package/dist/collection/components/store/translationStore/strings.italian.js +35 -2
- package/dist/collection/components/store/translationStore/strings.japanese.js +35 -2
- package/dist/collection/components/store/translationStore/strings.korean.js +35 -2
- package/dist/collection/components/store/translationStore/strings.norwegian.js +35 -2
- package/dist/collection/components/store/translationStore/strings.polish.js +35 -2
- package/dist/collection/components/store/translationStore/strings.portuguese.js +35 -2
- package/dist/collection/components/store/translationStore/strings.russian.js +35 -2
- package/dist/collection/components/store/translationStore/strings.spanish.js +35 -2
- package/dist/collection/components/store/translationStore/strings.swedish.js +35 -2
- package/dist/collection/components/store/translationStore/strings.turkish.js +35 -2
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +35 -2
- package/dist/collection/components/store/zonosStore.js +2 -1
- package/dist/collection/components/stripe/zonos-address/zonos-address.css +5 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +37 -22
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.css +5 -0
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +34 -21
- package/dist/collection/components/utils/__tests__/helpers/blockStorage.js +24 -0
- package/dist/collection/components/utils/api/getExchangeRate.js +2 -1
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +24 -35
- package/dist/collection/components/utils/checkout/getCheckoutTaxIdPayload.js +16 -0
- package/dist/collection/components/utils/checkout/getTaxIdFieldState.js +26 -0
- package/dist/collection/components/utils/checkout/resolveTaxIdSelection.js +23 -0
- package/dist/collection/components/utils/checkout/shouldRenderTaxIdInput.js +7 -11
- package/dist/collection/components/utils/checkout/taxIdFields.js +29 -0
- package/dist/collection/components/utils/handleFetch.js +19 -9
- package/dist/collection/components/utils/hello/countryOverrideStorage.js +17 -40
- package/dist/collection/components/utils/logging/installConstructorCapture.js +58 -0
- package/dist/collection/components/utils/logging/reportBlockedStorage.js +34 -0
- package/dist/collection/components/utils/logging/sendErrorLog.js +8 -1
- package/dist/collection/components/utils/logging/startZonosInit.js +35 -0
- package/dist/collection/components/utils/logging/thrownMessage.js +16 -0
- package/dist/collection/components/utils/safeStorage.js +39 -0
- package/dist/collection/components/utils/taxId/taxIdRules.js +44 -0
- package/dist/collection/components/utils/taxIdValidationResult.js +57 -58
- package/dist/collection/index.js +1 -0
- package/dist/collection/scripts/_getZonosQaUrl.js +3 -2
- package/dist/collection/scripts/_zonosBase.js +6 -2
- package/dist/collection/types/checkout/TaxId.js +31 -0
- package/dist/collection/types/generated/graphql.frontend.types.js +0 -16
- package/dist/collection/types/generated/graphql.internal.types.js +215 -1
- package/dist/esm/{TaxId-Cye-evFK.js → TaxId-DMIgN_sT.js} +32 -1
- package/dist/esm/{cart-BoQp8Ema.js → cart-BS5mSI8x.js} +100 -65
- package/dist/esm/{collect-Eo4gtyql.js → collect-B9ZxDDl7.js} +4 -4
- package/dist/esm/{debounce-BR3PaG8X.js → debounce-DHj2iHA1.js} +1 -1
- package/dist/esm/{debounce-CrmpwbEE.js → debounce-DWqMT4lo.js} +2 -2
- package/dist/esm/{getBorderRadius-DYfkeXdx.js → getBorderRadius-BiGd45jw.js} +1 -1
- package/dist/esm/{getMissingRequiredShippingFields-Ks6_tpjn.js → getMissingRequiredShippingFields-BkEV865q.js} +1 -1
- package/dist/esm/{handleFetch-D5GYDF-O.js → handleFetch-BFVO7oAR.js} +178 -72
- package/dist/esm/{hasInclusivePrice-CbEfIhI5.js → hasInclusivePrice-zSvDReDb.js} +1 -1
- package/dist/esm/index.js +106 -13
- package/dist/esm/{invoice-S1KahJ_Z.js → invoice-6iTuS6ek.js} +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{localization-BIh-4pc_.js → localization-CXHiWcJp.js} +725 -89
- package/dist/esm/{paypal-DNfvnuUU.js → paypal-BE_NVBoy.js} +5 -5
- package/dist/esm/{placeTestOrder-CQaMKFOg.js → placeTestOrder-BXA9K9Iy.js} +3 -3
- package/dist/esm/{renderCheckoutCurrency-C2Tw73uR.js → renderCheckoutCurrency-KMa4HlAf.js} +2 -2
- package/dist/esm/shouldRenderShortAddressCodeInput-Bc8k2vN0.js +19 -0
- package/dist/esm/{shouldShowLanguageSelect-CCD7gpSY.js → shouldShowLanguageSelect-BI_ApEsQ.js} +1 -1
- package/dist/esm/{submitGtag-df9AQ2zL.js → submitGtag-C5xzFHjG.js} +2 -2
- package/dist/esm/taxIdFields-BUKnHMaL.js +139 -0
- package/dist/esm/taxIdRules-xYlx7ZXW.js +47 -0
- package/dist/esm/{updateCheckoutSessionAttributes-4Jq6V4pO.js → updateCheckoutSessionAttributes-C9bMKTjz.js} +2 -2
- package/dist/esm/zonos-address-completion-dialog_7.entry.js +24 -29
- package/dist/esm/zonos-address-display_2.entry.js +4 -4
- package/dist/esm/zonos-address_4.entry.js +26 -29
- package/dist/esm/zonos-airwallex-payment.entry.js +8 -7
- package/dist/esm/zonos-badge.entry.js +1 -1
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_3.entry.js +2 -2
- package/dist/esm/zonos-card_5.entry.js +9 -8
- package/dist/esm/zonos-cart-items_12.entry.js +90 -85
- package/dist/esm/zonos-checkbox_2.entry.js +2 -2
- package/dist/esm/zonos-checkout.entry.js +15 -14
- package/dist/esm/zonos-collapse.entry.js +1 -1
- package/dist/esm/zonos-collect-cart-items_3.entry.js +7 -6
- package/dist/esm/zonos-collect-finish_6.entry.js +13 -12
- package/dist/esm/zonos-collect.entry.js +10 -9
- package/dist/esm/zonos-controller.entry.js +10 -9
- package/dist/esm/zonos-country-flag.entry.js +3 -3
- package/dist/esm/zonos-country-select_4.entry.js +4 -4
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +5 -5
- package/dist/esm/zonos-hello.entry.js +5 -5
- package/dist/esm/zonos-input.entry.js +2 -2
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +9 -8
- package/dist/esm/zonos-invoice-finish_5.entry.js +13 -12
- package/dist/esm/zonos-invoice.entry.js +10 -9
- package/dist/esm/zonos-language-select_2.entry.js +3 -3
- package/dist/esm/zonos-logo.entry.js +1 -1
- package/dist/esm/zonos-policy-consent_2.entry.js +8 -7
- package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
- package/dist/esm/zonos-stripe-input.entry.js +2 -2
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +1 -1
- package/dist/esm/{zonosStore-msUlqmSD.js → zonosStore-BXP9FvIt.js} +2 -1
- package/dist/esm-es5/{TaxId-Cye-evFK.js → TaxId-DMIgN_sT.js} +2 -1
- package/dist/esm-es5/{cart-BoQp8Ema.js → cart-BS5mSI8x.js} +42 -31
- package/dist/esm-es5/{collect-Eo4gtyql.js → collect-B9ZxDDl7.js} +1 -1
- package/dist/esm-es5/{debounce-BR3PaG8X.js → debounce-DHj2iHA1.js} +7 -7
- package/dist/esm-es5/debounce-DWqMT4lo.js +1 -0
- package/dist/esm-es5/getBorderRadius-BiGd45jw.js +8 -0
- package/dist/esm-es5/{getMissingRequiredShippingFields-Ks6_tpjn.js → getMissingRequiredShippingFields-BkEV865q.js} +3 -3
- package/dist/esm-es5/handleFetch-BFVO7oAR.js +73 -0
- package/dist/esm-es5/{hasInclusivePrice-CbEfIhI5.js → hasInclusivePrice-zSvDReDb.js} +1 -1
- package/dist/esm-es5/index.js +30 -12
- package/dist/esm-es5/{invoice-S1KahJ_Z.js → invoice-6iTuS6ek.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/localization-CXHiWcJp.js +345 -0
- package/dist/esm-es5/{paypal-DNfvnuUU.js → paypal-BE_NVBoy.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-CQaMKFOg.js → placeTestOrder-BXA9K9Iy.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-C2Tw73uR.js → renderCheckoutCurrency-KMa4HlAf.js} +1 -1
- package/dist/esm-es5/shouldRenderShortAddressCodeInput-Bc8k2vN0.js +8 -0
- package/dist/esm-es5/{shouldShowLanguageSelect-CCD7gpSY.js → shouldShowLanguageSelect-BI_ApEsQ.js} +1 -1
- package/dist/esm-es5/{submitGtag-df9AQ2zL.js → submitGtag-C5xzFHjG.js} +1 -1
- package/dist/esm-es5/taxIdFields-BUKnHMaL.js +46 -0
- package/dist/esm-es5/taxIdRules-xYlx7ZXW.js +6 -0
- package/dist/esm-es5/{updateCheckoutSessionAttributes-4Jq6V4pO.js → updateCheckoutSessionAttributes-C9bMKTjz.js} +1 -1
- package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +253 -254
- package/dist/esm-es5/zonos-address-display_2.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +8 -9
- package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.entry.js +6 -6
- package/dist/esm-es5/zonos-cart-items_12.entry.js +137 -136
- package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +3 -3
- 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 +6 -6
- package/dist/esm-es5/zonos-controller.entry.js +5 -5
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice.entry.js +3 -3
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-policy-consent_2.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-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-msUlqmSD.js → zonosStore-BXP9FvIt.js} +1 -1
- package/dist/scripts/index.d.ts +103 -1
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +4 -0
- package/dist/types/components/store/checkout/stripe.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.base.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.danish.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.french.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.german.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.italian.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.korean.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.polish.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.russian.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +34 -1
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +34 -1
- package/dist/types/components/store/zonosStore.d.ts +2 -1
- package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +4 -1
- package/dist/types/components/stripe/zonos-custom-address/zonos-custom-address.d.ts +4 -1
- package/dist/types/components/utils/__tests__/helpers/blockStorage.d.ts +3 -0
- package/dist/types/components/utils/checkout/getCheckoutTaxIdPayload.d.ts +6 -0
- package/dist/types/components/utils/checkout/getTaxIdFieldState.d.ts +18 -0
- package/dist/types/components/utils/checkout/resolveTaxIdSelection.d.ts +12 -0
- package/dist/types/components/utils/checkout/shouldRenderTaxIdInput.d.ts +2 -1
- package/dist/types/components/utils/checkout/taxIdFields.d.ts +11 -0
- package/dist/types/components/utils/logging/installConstructorCapture.d.ts +20 -0
- package/dist/types/components/utils/logging/reportBlockedStorage.d.ts +16 -0
- package/dist/types/components/utils/logging/startZonosInit.d.ts +5 -0
- package/dist/types/components/utils/logging/thrownMessage.d.ts +1 -0
- package/dist/types/components/utils/safeStorage.d.ts +4 -0
- package/dist/types/components/utils/taxId/taxIdRules.d.ts +37 -0
- package/dist/types/components/utils/taxIdValidationResult.d.ts +8 -2
- package/dist/types/components.d.ts +22 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +5 -0
- package/dist/types/types/checkout/TaxId.d.ts +45 -0
- package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +11 -0
- package/dist/types/types/checkout/api/CreateParty.d.ts +2 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +0 -22
- package/dist/types/types/generated/graphql.frontend.types.ts +0 -51
- package/dist/types/types/generated/graphql.internal.types.d.ts +270 -1
- package/dist/types/types/generated/graphql.internal.types.ts +341 -1
- package/dist/types/types/utils/ZonosSettings.d.ts +5 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/p-08b01c96.entry.js +1 -0
- package/dist/zonos-elements/{p-c961caaf.entry.js → p-0909ef77.entry.js} +1 -1
- package/dist/zonos-elements/{p-23352709.system.entry.js → p-13015d34.system.entry.js} +4 -4
- package/dist/zonos-elements/{p-6c41b00c.entry.js → p-13d5b2f9.entry.js} +1 -1
- package/dist/zonos-elements/{p-5b80aff2.system.entry.js → p-150047b3.system.entry.js} +25 -25
- package/dist/zonos-elements/p-1986cc37.entry.js +1 -0
- package/dist/zonos-elements/{p-CBx5nYet.system.js → p-1OG3IJgY.system.js} +1 -1
- package/dist/zonos-elements/{p-d3d0656a.entry.js → p-1a5acbcd.entry.js} +1 -1
- package/dist/zonos-elements/{p-756d303f.system.entry.js → p-20eb00de.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9c33f7ed.system.entry.js → p-30bf4700.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d168023b.entry.js → p-3466bcba.entry.js} +1 -1
- package/dist/zonos-elements/p-383343c7.entry.js +1 -0
- package/dist/zonos-elements/{p-06030d3b.system.entry.js → p-3a506614.system.entry.js} +54 -54
- package/dist/zonos-elements/p-43c0ebe9.entry.js +1 -0
- package/dist/zonos-elements/{p-acd50b0b.entry.js → p-4612facd.entry.js} +1 -1
- package/dist/zonos-elements/{p-244e0302.system.entry.js → p-4715045c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-4b65f192.entry.js +1 -0
- package/dist/zonos-elements/{p-5967a1c1.system.entry.js → p-573a4e7c.system.entry.js} +6 -6
- package/dist/zonos-elements/p-59fc32af.entry.js +1 -0
- package/dist/zonos-elements/{p-d82fd8a9.system.entry.js → p-5a296dbc.system.entry.js} +117 -116
- package/dist/zonos-elements/{p-193d9722.entry.js → p-61312d5b.entry.js} +1 -1
- package/dist/zonos-elements/{p-6abec43f.system.entry.js → p-68325c5a.system.entry.js} +4 -4
- package/dist/zonos-elements/{p-0b81f8b9.system.entry.js → p-6db7317a.system.entry.js} +6 -6
- package/dist/zonos-elements/{p-51400242.system.entry.js → p-709d1561.system.entry.js} +3 -3
- package/dist/zonos-elements/p-71d29603.entry.js +1 -0
- package/dist/zonos-elements/{p-7bd99479.system.entry.js → p-7214c953.system.entry.js} +21 -21
- package/dist/zonos-elements/p-74659d88.entry.js +1 -0
- package/dist/zonos-elements/{p-55916c90.entry.js → p-7f1bea9b.entry.js} +1 -1
- package/dist/zonos-elements/{p-0fca452b.entry.js → p-7fe83919.entry.js} +1 -1
- package/dist/zonos-elements/{p-1c150f26.entry.js → p-821e413a.entry.js} +1 -1
- package/dist/zonos-elements/{p-c403f004.system.entry.js → p-82e45d0c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1409de3b.system.entry.js → p-88e20e99.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-195f6e38.system.entry.js → p-89a3c4db.system.entry.js} +1 -1
- package/dist/zonos-elements/p-8ac26831.entry.js +1 -0
- package/dist/zonos-elements/{p-a40fd99b.system.entry.js → p-8f9f859f.system.entry.js} +39 -40
- package/dist/zonos-elements/{p-92fe9a1f.system.entry.js → p-902cca23.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0a4a7742.system.entry.js → p-93860183.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b5882fbb.system.entry.js → p-9449b4f4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-31043c2e.system.entry.js → p-96b250d8.system.entry.js} +298 -299
- package/dist/zonos-elements/p-97729873.entry.js +1 -0
- package/dist/zonos-elements/{p-1bac5ac1.system.entry.js → p-990fcf81.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7f031592.system.entry.js → p-9b3668a4.system.entry.js} +155 -155
- package/dist/zonos-elements/{p-249c1ee1.system.entry.js → p-9df31243.system.entry.js} +3 -3
- package/dist/zonos-elements/p-BD-9rD53.js +1 -0
- package/dist/zonos-elements/p-BI6VAB5B.js +1 -0
- package/dist/zonos-elements/p-BJFa5RwX.js +1 -0
- package/dist/zonos-elements/p-BJ_kE5rM.js +1 -0
- package/dist/zonos-elements/{p-Be3Hpms1.system.js → p-BKUlQxBd.system.js} +1 -1
- package/dist/zonos-elements/p-BUfCTQXY.system.js +528 -0
- package/dist/zonos-elements/{p-CZD8WvyY.system.js → p-BnQyot7Y.system.js} +23 -23
- package/dist/zonos-elements/p-Bu9WCfUC.system.js +2 -2
- package/dist/zonos-elements/{p-0mGRBGcf.js → p-C-zdj7MK.js} +1 -1
- package/dist/zonos-elements/p-C5fs3rIR.js +1 -0
- package/dist/zonos-elements/{p-sz4L-ZnB.js → p-CJmWr75U.js} +1 -1
- package/dist/zonos-elements/{p-XDxdMlQl.system.js → p-CMneHjck.system.js} +15 -15
- package/dist/zonos-elements/p-CP7KnfR3.system.js +245 -0
- package/dist/zonos-elements/p-CVRbGFV3.js +1 -0
- package/dist/zonos-elements/p-CYxMfUL7.system.js +1 -0
- package/dist/zonos-elements/p-Cl5yV0ak.js +1 -0
- package/dist/zonos-elements/{p-kaOxUR9u.system.js → p-Cp1IAJvW.system.js} +5 -5
- package/dist/zonos-elements/{p-W82paT5F.js → p-CqB9AfBf.js} +1 -1
- package/dist/zonos-elements/p-CzKlS3E-.system.js +6 -0
- package/dist/zonos-elements/p-D-Lnf8mS.system.js +345 -0
- package/dist/zonos-elements/p-D0DkOoAw.system.js +73 -0
- package/dist/zonos-elements/{p-c9QtIdJX.js → p-D4xpkSsK.js} +1 -1
- package/dist/zonos-elements/p-DATNIakn.js +1 -0
- package/dist/zonos-elements/{p-D4MevhAL.system.js → p-DC1OPJDq.system.js} +3 -3
- package/dist/zonos-elements/{p-8PPEbm_0.system.js → p-DIab60nK.system.js} +12 -12
- package/dist/zonos-elements/p-DKnphvmJ.js +1 -0
- package/dist/zonos-elements/{p-Cye-evFK.js → p-DMIgN_sT.js} +1 -1
- package/dist/zonos-elements/{p-BuU_p5DP.system.js → p-DTgUqgwV.system.js} +2 -2
- package/dist/zonos-elements/p-DW7I0zOF.js +1 -0
- package/dist/zonos-elements/{p-DoEHepOc.system.js → p-DXlojp_Y.system.js} +1 -1
- package/dist/zonos-elements/p-DqVePqqx.system.js +8 -0
- package/dist/zonos-elements/{p-B4Ufchqh.system.js → p-DrS-0mk7.system.js} +3 -3
- package/dist/zonos-elements/{p-7abqRc9V.js → p-DrbN3rPL.js} +2 -2
- package/dist/zonos-elements/{p-Cby4EkFu.system.js → p-DsBuZ6ob.system.js} +2 -1
- package/dist/zonos-elements/{p-DI2vXnXc.system.js → p-Dv5a-V6w.system.js} +1 -1
- package/dist/zonos-elements/p-Dwg61Ft_.js +1 -0
- package/dist/zonos-elements/{p-474e8a92.system.entry.js → p-a1022808.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-17c7ea4a.system.entry.js → p-a3c147d2.system.entry.js} +3 -3
- package/dist/zonos-elements/p-aK18R41t.js +1 -0
- package/dist/zonos-elements/{p-83aa1c8c.entry.js → p-ad04bba2.entry.js} +1 -1
- package/dist/zonos-elements/p-af4ad54b.entry.js +1 -0
- package/dist/zonos-elements/p-af741506.entry.js +1 -0
- package/dist/zonos-elements/{p-a938c174.entry.js → p-b51010b9.entry.js} +1 -1
- package/dist/zonos-elements/{p-6db7c0b1.system.entry.js → p-b540c636.system.entry.js} +2 -2
- package/dist/zonos-elements/p-bac94956.entry.js +1 -0
- package/dist/zonos-elements/{p-69c3e367.system.entry.js → p-bb1b414a.system.entry.js} +9 -9
- package/dist/zonos-elements/{p-b79036fc.entry.js → p-bfa9e32a.entry.js} +1 -1
- package/dist/zonos-elements/{p-dfc87b10.system.entry.js → p-c33b8f6a.system.entry.js} +1 -1
- package/dist/zonos-elements/p-cf6bf7a4.entry.js +1 -0
- package/dist/zonos-elements/{p-CEK_Wk6v.system.js → p-dJcbnNlE.system.js} +1 -1
- package/dist/zonos-elements/p-db40b9c3.entry.js +1 -0
- package/dist/zonos-elements/p-dd003161.entry.js +1 -0
- package/dist/zonos-elements/{p-2603dce0.entry.js → p-e216cc8c.entry.js} +1 -1
- package/dist/zonos-elements/p-e374aaa4.entry.js +1 -0
- package/dist/zonos-elements/{p-155ed3d3.system.entry.js → p-e43470f7.system.entry.js} +21 -21
- package/dist/zonos-elements/p-ebc7ea54.system.entry.js +13 -0
- package/dist/zonos-elements/{p-11defdca.system.entry.js → p-f2ed52bc.system.entry.js} +8 -8
- package/dist/zonos-elements/{p-d4d2b39e.entry.js → p-fddf3556.entry.js} +1 -1
- package/dist/zonos-elements/p-gEViRqvf.js +1 -0
- package/dist/zonos-elements/{p-BpDCLBwW.js → p-n5PZKz1k.js} +1 -1
- package/dist/zonos-elements/{p-C_z9WL8a.js → p-r-YGHhLa.js} +1 -1
- package/dist/zonos-elements/{p-XqkqjeNV.system.js → p-yv7ekcdG.system.js} +2 -2
- package/dist/zonos-elements/{p-DQZncB2d.system.js → p-zsTASoh2.system.js} +3 -3
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/shouldRenderTaxIdInput-TxekHCp7.js +0 -43
- package/dist/esm/shouldRenderTaxIdInput-CKyZ6Zni.js +0 -40
- package/dist/esm/throttle-Cvlvb-dm.js +0 -85
- package/dist/esm-es5/debounce-CrmpwbEE.js +0 -1
- package/dist/esm-es5/getBorderRadius-DYfkeXdx.js +0 -8
- package/dist/esm-es5/handleFetch-D5GYDF-O.js +0 -60
- package/dist/esm-es5/localization-BIh-4pc_.js +0 -348
- package/dist/esm-es5/shouldRenderTaxIdInput-CKyZ6Zni.js +0 -17
- package/dist/esm-es5/throttle-Cvlvb-dm.js +0 -46
- package/dist/zonos-elements/p-06fe2939.entry.js +0 -1
- package/dist/zonos-elements/p-24f3c547.entry.js +0 -1
- package/dist/zonos-elements/p-30b3c9d3.entry.js +0 -1
- package/dist/zonos-elements/p-39ee1558.entry.js +0 -1
- package/dist/zonos-elements/p-3a2da031.entry.js +0 -1
- package/dist/zonos-elements/p-4679f0ec.entry.js +0 -1
- package/dist/zonos-elements/p-4806b264.system.entry.js +0 -13
- package/dist/zonos-elements/p-5873ab8e.entry.js +0 -1
- package/dist/zonos-elements/p-725e29bb.entry.js +0 -1
- package/dist/zonos-elements/p-BGktDPwA.system.js +0 -1
- package/dist/zonos-elements/p-Bi-s0fp_.system.js +0 -17
- package/dist/zonos-elements/p-CFbfEmjN.js +0 -1
- package/dist/zonos-elements/p-CUaf1cEg.js +0 -1
- package/dist/zonos-elements/p-CXxvn4GX.system.js +0 -227
- package/dist/zonos-elements/p-CcJF6xhQ.js +0 -1
- package/dist/zonos-elements/p-Cxuiqv1I.js +0 -1
- package/dist/zonos-elements/p-D-bZg-Pc.js +0 -1
- package/dist/zonos-elements/p-DE4a-QD5.js +0 -1
- package/dist/zonos-elements/p-DOD2I44l.system.js +0 -348
- package/dist/zonos-elements/p-DS-qw_qc.system.js +0 -517
- package/dist/zonos-elements/p-DZ2mevDK.js +0 -1
- package/dist/zonos-elements/p-DnjGkbEy.js +0 -1
- package/dist/zonos-elements/p-FRWZayxL.js +0 -1
- package/dist/zonos-elements/p-Mrz_lnC1.js +0 -1
- package/dist/zonos-elements/p-ad9ff14c.entry.js +0 -1
- package/dist/zonos-elements/p-bb3546c0.entry.js +0 -1
- package/dist/zonos-elements/p-c1cbfdba.entry.js +0 -1
- package/dist/zonos-elements/p-c47ce656.entry.js +0 -1
- package/dist/zonos-elements/p-c9d5d8f1.entry.js +0 -1
- package/dist/zonos-elements/p-clDfq9AL.js +0 -1
- package/dist/zonos-elements/p-d74bc3e8.entry.js +0 -1
- package/dist/zonos-elements/p-d8b312e5.entry.js +0 -1
- package/dist/zonos-elements/p-db87b0dd.entry.js +0 -1
- package/dist/zonos-elements/p-defc2d18.entry.js +0 -1
- package/dist/zonos-elements/p-rVp8hgWw.js +0 -1
- package/dist/zonos-elements/p-zVLAvre1.system.js +0 -60
|
@@ -542,11 +542,19 @@ export const animalDrugApplicationType = {
|
|
|
542
542
|
Unspecified: 'UNSPECIFIED',
|
|
543
543
|
};
|
|
544
544
|
export const answerProvenance = {
|
|
545
|
+
Agent: 'AGENT',
|
|
546
|
+
Copied: 'COPIED',
|
|
545
547
|
Derived: 'DERIVED',
|
|
546
548
|
Inferred: 'INFERRED',
|
|
547
549
|
Manual: 'MANUAL',
|
|
548
550
|
Supplied: 'SUPPLIED',
|
|
549
551
|
};
|
|
552
|
+
export const answerSource = {
|
|
553
|
+
AgentInferred: 'AGENT_INFERRED',
|
|
554
|
+
CatalogData: 'CATALOG_DATA',
|
|
555
|
+
MerchantProfile: 'MERCHANT_PROFILE',
|
|
556
|
+
UserStated: 'USER_STATED',
|
|
557
|
+
};
|
|
550
558
|
export const answerType = {
|
|
551
559
|
Boolean: 'BOOLEAN',
|
|
552
560
|
Checkbox: 'CHECKBOX',
|
|
@@ -742,6 +750,18 @@ export const brokerageAbiMessageType = {
|
|
|
742
750
|
So: 'SO',
|
|
743
751
|
Sx: 'SX',
|
|
744
752
|
};
|
|
753
|
+
export const brokerageAbiSendAction = {
|
|
754
|
+
Add: 'ADD',
|
|
755
|
+
Replace: 'REPLACE',
|
|
756
|
+
Update: 'UPDATE',
|
|
757
|
+
};
|
|
758
|
+
export const brokerageAbiSendApplication = {
|
|
759
|
+
CargoRelease: 'CARGO_RELEASE',
|
|
760
|
+
CargoReleaseWithPga: 'CARGO_RELEASE_WITH_PGA',
|
|
761
|
+
EntrySummary: 'ENTRY_SUMMARY',
|
|
762
|
+
EntrySummaryCargoRelease: 'ENTRY_SUMMARY_CARGO_RELEASE',
|
|
763
|
+
PgaOnly: 'PGA_ONLY',
|
|
764
|
+
};
|
|
745
765
|
export const brokerageBatchChannel = {
|
|
746
766
|
Portal: 'PORTAL',
|
|
747
767
|
Sftp: 'SFTP',
|
|
@@ -815,6 +835,10 @@ export const brokerageCbpStream = {
|
|
|
815
835
|
PeriodicFee: 'PERIODIC_FEE',
|
|
816
836
|
Unknown: 'UNKNOWN',
|
|
817
837
|
};
|
|
838
|
+
export const brokerageConsignmentSource = {
|
|
839
|
+
Api: 'API',
|
|
840
|
+
Csv: 'CSV',
|
|
841
|
+
};
|
|
818
842
|
export const brokerageDocumentEvidenceStatus = {
|
|
819
843
|
Deleted: 'DELETED',
|
|
820
844
|
Found: 'FOUND',
|
|
@@ -867,6 +891,7 @@ export const brokerageDutyDisputeClaimType = {
|
|
|
867
891
|
CountryOfOrigin: 'COUNTRY_OF_ORIGIN',
|
|
868
892
|
DeclaredValue: 'DECLARED_VALUE',
|
|
869
893
|
Description: 'DESCRIPTION',
|
|
894
|
+
DutyExclusion: 'DUTY_EXCLUSION',
|
|
870
895
|
HsCode: 'HS_CODE',
|
|
871
896
|
Quantity: 'QUANTITY',
|
|
872
897
|
Questionnaire: 'QUESTIONNAIRE',
|
|
@@ -918,6 +943,19 @@ export const brokerageDutyDisputeVerdict = {
|
|
|
918
943
|
Denied: 'DENIED',
|
|
919
944
|
Review: 'REVIEW',
|
|
920
945
|
};
|
|
946
|
+
export const brokerageEntryCancelReason = {
|
|
947
|
+
ClearedUnderAnotherEntry: 'CLEARED_UNDER_ANOTHER_ENTRY',
|
|
948
|
+
ClearedUnderInformalEntry: 'CLEARED_UNDER_INFORMAL_ENTRY',
|
|
949
|
+
ClericalError: 'CLERICAL_ERROR',
|
|
950
|
+
Destroyed: 'DESTROYED',
|
|
951
|
+
NonArrival: 'NON_ARRIVAL',
|
|
952
|
+
NotAuthorizedForImport: 'NOT_AUTHORIZED_FOR_IMPORT',
|
|
953
|
+
RefusedByImporter: 'REFUSED_BY_IMPORTER',
|
|
954
|
+
ReplacedByCbpf_7512: 'REPLACED_BY_CBPF_7512',
|
|
955
|
+
ReplacedByFtzAdmission: 'REPLACED_BY_FTZ_ADMISSION',
|
|
956
|
+
Seized: 'SEIZED',
|
|
957
|
+
SystemError: 'SYSTEM_ERROR',
|
|
958
|
+
};
|
|
921
959
|
export const brokerageEntryClearanceStatus = {
|
|
922
960
|
Accepted: 'ACCEPTED',
|
|
923
961
|
Cancelled: 'CANCELLED',
|
|
@@ -936,6 +974,10 @@ export const brokerageEntryType = {
|
|
|
936
974
|
Informal: 'INFORMAL',
|
|
937
975
|
Postal: 'POSTAL',
|
|
938
976
|
};
|
|
977
|
+
export const brokerageFeedMode = {
|
|
978
|
+
Live: 'LIVE',
|
|
979
|
+
Test: 'TEST',
|
|
980
|
+
};
|
|
939
981
|
export const brokerageNatureOfTransaction = {
|
|
940
982
|
Documents: 'DOCUMENTS',
|
|
941
983
|
ForResale: 'FOR_RESALE',
|
|
@@ -949,6 +991,10 @@ export const brokerageOpsNotificationChannel = {
|
|
|
949
991
|
export const brokerageOpsNotificationType = {
|
|
950
992
|
BatchSubmitted: 'BATCH_SUBMITTED',
|
|
951
993
|
};
|
|
994
|
+
export const brokerageOutreachRecipient = {
|
|
995
|
+
PostalOperator: 'POSTAL_OPERATOR',
|
|
996
|
+
Shipper: 'SHIPPER',
|
|
997
|
+
};
|
|
952
998
|
export const brokeragePgaAgency = {
|
|
953
999
|
Other: 'OTHER',
|
|
954
1000
|
UsAtf: 'US_ATF',
|
|
@@ -988,11 +1034,17 @@ export const brokerageTransportationMode = {
|
|
|
988
1034
|
VesselContainer: 'VESSEL_CONTAINER',
|
|
989
1035
|
VesselNonContainer: 'VESSEL_NON_CONTAINER',
|
|
990
1036
|
};
|
|
1037
|
+
export const brokerageWorkOrderEscalationTarget = {
|
|
1038
|
+
Broker: 'BROKER',
|
|
1039
|
+
Engineering: 'ENGINEERING',
|
|
1040
|
+
};
|
|
991
1041
|
export const brokerageWorkOrderEventType = {
|
|
1042
|
+
Assigned: 'ASSIGNED',
|
|
992
1043
|
AutoResolved: 'AUTO_RESOLVED',
|
|
993
1044
|
Cancelled: 'CANCELLED',
|
|
994
1045
|
Claimed: 'CLAIMED',
|
|
995
1046
|
Created: 'CREATED',
|
|
1047
|
+
Escalated: 'ESCALATED',
|
|
996
1048
|
Note: 'NOTE',
|
|
997
1049
|
Released: 'RELEASED',
|
|
998
1050
|
Resolved: 'RESOLVED',
|
|
@@ -1014,16 +1066,29 @@ export const brokerageWorkOrderStatus = {
|
|
|
1014
1066
|
Resolved: 'RESOLVED',
|
|
1015
1067
|
Waiting: 'WAITING',
|
|
1016
1068
|
};
|
|
1069
|
+
export const brokerageWorkOrderSubjectType = {
|
|
1070
|
+
Consignment: 'CONSIGNMENT',
|
|
1071
|
+
ConsignmentGreenLightFinding: 'CONSIGNMENT_GREEN_LIGHT_FINDING',
|
|
1072
|
+
Consolidation: 'CONSOLIDATION',
|
|
1073
|
+
DutyDispute: 'DUTY_DISPUTE',
|
|
1074
|
+
Entry: 'ENTRY',
|
|
1075
|
+
ManifestLine: 'MANIFEST_LINE',
|
|
1076
|
+
};
|
|
1017
1077
|
export const brokerageWorkOrderType = {
|
|
1078
|
+
AdcvdReview: 'ADCVD_REVIEW',
|
|
1018
1079
|
CbpCancelled: 'CBP_CANCELLED',
|
|
1019
1080
|
CbpExam: 'CBP_EXAM',
|
|
1020
1081
|
CbpHold: 'CBP_HOLD',
|
|
1082
|
+
CustomsDescriptionReview: 'CUSTOMS_DESCRIPTION_REVIEW',
|
|
1021
1083
|
DeniedPartyReview: 'DENIED_PARTY_REVIEW',
|
|
1084
|
+
DutyDisputeReview: 'DUTY_DISPUTE_REVIEW',
|
|
1022
1085
|
EntryRejected: 'ENTRY_REJECTED',
|
|
1086
|
+
HsCodeReview: 'HS_CODE_REVIEW',
|
|
1023
1087
|
PgaHold: 'PGA_HOLD',
|
|
1024
1088
|
SubmissionFailed: 'SUBMISSION_FAILED',
|
|
1025
1089
|
Unfileable: 'UNFILEABLE',
|
|
1026
1090
|
ValidationBlocked: 'VALIDATION_BLOCKED',
|
|
1091
|
+
ValueReview: 'VALUE_REVIEW',
|
|
1027
1092
|
};
|
|
1028
1093
|
export const bulkJobStatus = {
|
|
1029
1094
|
Error: 'ERROR',
|
|
@@ -1285,10 +1350,26 @@ export const cashflowEmailType = {
|
|
|
1285
1350
|
InvoiceReady: 'INVOICE_READY',
|
|
1286
1351
|
PostalInvoiceReady: 'POSTAL_INVOICE_READY',
|
|
1287
1352
|
};
|
|
1353
|
+
export const catalogCsvColumnStrategy = {
|
|
1354
|
+
Attribute: 'ATTRIBUTE',
|
|
1355
|
+
Field: 'FIELD',
|
|
1356
|
+
Ignore: 'IGNORE',
|
|
1357
|
+
Metadata: 'METADATA',
|
|
1358
|
+
};
|
|
1359
|
+
export const catalogCsvMappingFieldRequirement = {
|
|
1360
|
+
Optional: 'OPTIONAL',
|
|
1361
|
+
Required: 'REQUIRED',
|
|
1362
|
+
RequiredOneOf: 'REQUIRED_ONE_OF',
|
|
1363
|
+
};
|
|
1288
1364
|
export const catalogItemExportJobAction = {
|
|
1289
1365
|
Email: 'EMAIL',
|
|
1290
1366
|
None: 'NONE',
|
|
1291
1367
|
};
|
|
1368
|
+
export const catalogItemMatchBehavior = {
|
|
1369
|
+
Optional: 'OPTIONAL',
|
|
1370
|
+
Required: 'REQUIRED',
|
|
1371
|
+
RequiredForSubOrgs: 'REQUIRED_FOR_SUB_ORGS',
|
|
1372
|
+
};
|
|
1292
1373
|
export const catalogItemSource = {
|
|
1293
1374
|
Classification: 'CLASSIFICATION',
|
|
1294
1375
|
LegacyMigration: 'LEGACY_MIGRATION',
|
|
@@ -1306,6 +1387,10 @@ export const catalogStatus = {
|
|
|
1306
1387
|
Disabled: 'DISABLED',
|
|
1307
1388
|
Enabled: 'ENABLED',
|
|
1308
1389
|
};
|
|
1390
|
+
export const categorySuggestionApplication = {
|
|
1391
|
+
Never: 'NEVER',
|
|
1392
|
+
WhenWrong: 'WHEN_WRONG',
|
|
1393
|
+
};
|
|
1309
1394
|
export const categoryValidationVerdict = {
|
|
1310
1395
|
Correct: 'CORRECT',
|
|
1311
1396
|
Wrong: 'WRONG',
|
|
@@ -1366,6 +1451,7 @@ export const channelType = {
|
|
|
1366
1451
|
Magento: 'MAGENTO',
|
|
1367
1452
|
Mirakl: 'MIRAKL',
|
|
1368
1453
|
Shopify: 'SHOPIFY',
|
|
1454
|
+
Squarespace: 'SQUARESPACE',
|
|
1369
1455
|
Walmart: 'WALMART',
|
|
1370
1456
|
Walmartca: 'WALMARTCA',
|
|
1371
1457
|
Wix: 'WIX',
|
|
@@ -1422,6 +1508,7 @@ export const checkoutSessionStatus = {
|
|
|
1422
1508
|
export const checkoutSessionType = {
|
|
1423
1509
|
Checkout: 'CHECKOUT',
|
|
1424
1510
|
Collect: 'COLLECT',
|
|
1511
|
+
DeclarationData: 'DECLARATION_DATA',
|
|
1425
1512
|
Invoice: 'INVOICE',
|
|
1426
1513
|
InvoiceCollect: 'INVOICE_COLLECT',
|
|
1427
1514
|
LabelCollect: 'LABEL_COLLECT',
|
|
@@ -1515,6 +1602,7 @@ export const classificationRequestField = {
|
|
|
1515
1602
|
};
|
|
1516
1603
|
export const classifierPromptReplyFormat = {
|
|
1517
1604
|
Position: 'POSITION',
|
|
1605
|
+
Text: 'TEXT',
|
|
1518
1606
|
Value: 'VALUE',
|
|
1519
1607
|
};
|
|
1520
1608
|
export const classifyMissingHsCodesStatus = {
|
|
@@ -1616,6 +1704,8 @@ export const complianceProgramType = {
|
|
|
1616
1704
|
TariffMeasure: 'TARIFF_MEASURE',
|
|
1617
1705
|
};
|
|
1618
1706
|
export const complianceProvenance = {
|
|
1707
|
+
AgentAttested: 'AGENT_ATTESTED',
|
|
1708
|
+
CopiedAttested: 'COPIED_ATTESTED',
|
|
1619
1709
|
InferredAttested: 'INFERRED_ATTESTED',
|
|
1620
1710
|
Manual: 'MANUAL',
|
|
1621
1711
|
};
|
|
@@ -1679,6 +1769,13 @@ export const consignmentGreenLightResolutionOwner = {
|
|
|
1679
1769
|
Operator: 'OPERATOR',
|
|
1680
1770
|
Shipper: 'SHIPPER',
|
|
1681
1771
|
};
|
|
1772
|
+
export const consignmentGreenLightValueJustificationReason = {
|
|
1773
|
+
DamagedOrRepaired: 'DAMAGED_OR_REPAIRED',
|
|
1774
|
+
GiftNotRetail: 'GIFT_NOT_RETAIL',
|
|
1775
|
+
Other: 'OTHER',
|
|
1776
|
+
Sample: 'SAMPLE',
|
|
1777
|
+
UsedSecondHand: 'USED_SECOND_HAND',
|
|
1778
|
+
};
|
|
1682
1779
|
export const consignmentItemReadiness = {
|
|
1683
1780
|
ActionRequired: 'ACTION_REQUIRED',
|
|
1684
1781
|
Pending: 'PENDING',
|
|
@@ -1686,11 +1783,13 @@ export const consignmentItemReadiness = {
|
|
|
1686
1783
|
};
|
|
1687
1784
|
export const consignmentReadinessProfile = {
|
|
1688
1785
|
ComplianceInferred: 'COMPLIANCE_INFERRED',
|
|
1786
|
+
GreenLightInferred: 'GREEN_LIGHT_INFERRED',
|
|
1689
1787
|
Standard: 'STANDARD',
|
|
1690
1788
|
};
|
|
1691
1789
|
export const consignmentStatus = {
|
|
1692
1790
|
Accepted: 'ACCEPTED',
|
|
1693
1791
|
Archived: 'ARCHIVED',
|
|
1792
|
+
Cancelled: 'CANCELLED',
|
|
1694
1793
|
Candidate: 'CANDIDATE',
|
|
1695
1794
|
Draft: 'DRAFT',
|
|
1696
1795
|
Error: 'ERROR',
|
|
@@ -1950,6 +2049,11 @@ export const containerType = {
|
|
|
1950
2049
|
export const contentType = {
|
|
1951
2050
|
Csv: 'CSV',
|
|
1952
2051
|
};
|
|
2052
|
+
export const controlTier = {
|
|
2053
|
+
DualUse: 'DUAL_USE',
|
|
2054
|
+
Munitions: 'MUNITIONS',
|
|
2055
|
+
Uncontrolled: 'UNCONTROLLED',
|
|
2056
|
+
};
|
|
1953
2057
|
export const controlType = {
|
|
1954
2058
|
Carrier: 'CARRIER',
|
|
1955
2059
|
Export: 'EXPORT',
|
|
@@ -2579,6 +2683,7 @@ export const declarationPaymentStatus = {
|
|
|
2579
2683
|
Paid: 'PAID',
|
|
2580
2684
|
};
|
|
2581
2685
|
export const declarationPreClearanceStatus = {
|
|
2686
|
+
ConditionalRequirementsPending: 'CONDITIONAL_REQUIREMENTS_PENDING',
|
|
2582
2687
|
MissingRequirements: 'MISSING_REQUIREMENTS',
|
|
2583
2688
|
Ready: 'READY',
|
|
2584
2689
|
};
|
|
@@ -2762,6 +2867,14 @@ export const draftDetailEventTrigger = {
|
|
|
2762
2867
|
PaymentCapture: 'PAYMENT_CAPTURE',
|
|
2763
2868
|
TrackingNumber: 'TRACKING_NUMBER',
|
|
2764
2869
|
};
|
|
2870
|
+
export const draftExportHsCodePreference = {
|
|
2871
|
+
Classification: 'CLASSIFICATION',
|
|
2872
|
+
Provided: 'PROVIDED',
|
|
2873
|
+
};
|
|
2874
|
+
export const draftHsCodePreference = {
|
|
2875
|
+
Classification: 'CLASSIFICATION',
|
|
2876
|
+
Provided: 'PROVIDED',
|
|
2877
|
+
};
|
|
2765
2878
|
export const drugListingType = {
|
|
2766
2879
|
Finished: 'FINISHED',
|
|
2767
2880
|
Unfinished: 'UNFINISHED',
|
|
@@ -2820,6 +2933,10 @@ export const emailRecordStatusFilter = {
|
|
|
2820
2933
|
SpamReported: 'SPAM_REPORTED',
|
|
2821
2934
|
Suppressed: 'SUPPRESSED',
|
|
2822
2935
|
};
|
|
2936
|
+
export const emailSendingStatus = {
|
|
2937
|
+
Disabled: 'DISABLED',
|
|
2938
|
+
Enabled: 'ENABLED',
|
|
2939
|
+
};
|
|
2823
2940
|
export const emailStatsInterval = {
|
|
2824
2941
|
Day: 'DAY',
|
|
2825
2942
|
Week: 'WEEK',
|
|
@@ -2928,6 +3045,10 @@ export const entryTypeExclusionConditionType = {
|
|
|
2928
3045
|
ItemHsCountry: 'ITEM_HS_COUNTRY',
|
|
2929
3046
|
OrderValue: 'ORDER_VALUE',
|
|
2930
3047
|
};
|
|
3048
|
+
export const epaCertification = {
|
|
3049
|
+
Negative: 'NEGATIVE',
|
|
3050
|
+
Positive: 'POSITIVE',
|
|
3051
|
+
};
|
|
2931
3052
|
export const epaDisclaimCode = {
|
|
2932
3053
|
A: 'A',
|
|
2933
3054
|
B: 'B',
|
|
@@ -2957,6 +3078,14 @@ export const errorType = {
|
|
|
2957
3078
|
Unavailable: 'UNAVAILABLE',
|
|
2958
3079
|
Unknown: 'UNKNOWN',
|
|
2959
3080
|
};
|
|
3081
|
+
export const exchangeRateAmountType = {
|
|
3082
|
+
Discount: 'DISCOUNT',
|
|
3083
|
+
Duty: 'DUTY',
|
|
3084
|
+
Fee: 'FEE',
|
|
3085
|
+
Item: 'ITEM',
|
|
3086
|
+
Shipping: 'SHIPPING',
|
|
3087
|
+
Tax: 'TAX',
|
|
3088
|
+
};
|
|
2960
3089
|
export const exchangeRateSource = {
|
|
2961
3090
|
Cbp: 'CBP',
|
|
2962
3091
|
Ecb: 'ECB',
|
|
@@ -3004,6 +3133,45 @@ export const externalServiceTokenType = {
|
|
|
3004
3133
|
PaypalClientId: 'PAYPAL_CLIENT_ID',
|
|
3005
3134
|
StripePublishableToken: 'STRIPE_PUBLISHABLE_TOKEN',
|
|
3006
3135
|
};
|
|
3136
|
+
export const fccEquipmentAuthorizationInferenceStatus = {
|
|
3137
|
+
ComponentsMatched: 'COMPONENTS_MATCHED',
|
|
3138
|
+
InsufficientInformation: 'INSUFFICIENT_INFORMATION',
|
|
3139
|
+
Matched: 'MATCHED',
|
|
3140
|
+
NoMatch: 'NO_MATCH',
|
|
3141
|
+
NotRegulated: 'NOT_REGULATED',
|
|
3142
|
+
};
|
|
3143
|
+
export const fccEquipmentAuthorizationRelationship = {
|
|
3144
|
+
ComponentOfProduct: 'COMPONENT_OF_PRODUCT',
|
|
3145
|
+
DifferentProduct: 'DIFFERENT_PRODUCT',
|
|
3146
|
+
RelatedProduct: 'RELATED_PRODUCT',
|
|
3147
|
+
SameProduct: 'SAME_PRODUCT',
|
|
3148
|
+
Unknown: 'UNKNOWN',
|
|
3149
|
+
};
|
|
3150
|
+
export const fccEquipmentAuthorizationValidationVerdict = {
|
|
3151
|
+
DefinitelyNotSame: 'DEFINITELY_NOT_SAME',
|
|
3152
|
+
DefinitelySame: 'DEFINITELY_SAME',
|
|
3153
|
+
Indeterminate: 'INDETERMINATE',
|
|
3154
|
+
LikelySame: 'LIKELY_SAME',
|
|
3155
|
+
UnlikelySame: 'UNLIKELY_SAME',
|
|
3156
|
+
};
|
|
3157
|
+
export const fccIdStatus = {
|
|
3158
|
+
Malformed: 'MALFORMED',
|
|
3159
|
+
NotOnRecord: 'NOT_ON_RECORD',
|
|
3160
|
+
OnRecord: 'ON_RECORD',
|
|
3161
|
+
UnknownGrantee: 'UNKNOWN_GRANTEE',
|
|
3162
|
+
};
|
|
3163
|
+
export const fccRadioType = {
|
|
3164
|
+
Cellular: 'CELLULAR',
|
|
3165
|
+
Nfc: 'NFC',
|
|
3166
|
+
Other: 'OTHER',
|
|
3167
|
+
WifiBluetooth: 'WIFI_BLUETOOTH',
|
|
3168
|
+
};
|
|
3169
|
+
export const fccReferenceDataImportStatus = {
|
|
3170
|
+
Failed: 'FAILED',
|
|
3171
|
+
Pending: 'PENDING',
|
|
3172
|
+
Running: 'RUNNING',
|
|
3173
|
+
Succeeded: 'SUCCEEDED',
|
|
3174
|
+
};
|
|
3007
3175
|
export const fdaAffirmationCategory = {
|
|
3008
3176
|
Entity: 'ENTITY',
|
|
3009
3177
|
Product: 'PRODUCT',
|
|
@@ -4367,6 +4535,11 @@ export const landedCostEndUse = {
|
|
|
4367
4535
|
NotForResale: 'NOT_FOR_RESALE',
|
|
4368
4536
|
Return: 'RETURN',
|
|
4369
4537
|
};
|
|
4538
|
+
export const landedCostEntryTypeExclusionCategory = {
|
|
4539
|
+
AntiDumping: 'ANTI_DUMPING',
|
|
4540
|
+
Countervailing: 'COUNTERVAILING',
|
|
4541
|
+
Quota: 'QUOTA',
|
|
4542
|
+
};
|
|
4370
4543
|
export const landedCostFeeType = {
|
|
4371
4544
|
AdditionalTariffLines: 'ADDITIONAL_TARIFF_LINES',
|
|
4372
4545
|
Adjustment: 'ADJUSTMENT',
|
|
@@ -4449,6 +4622,7 @@ export const landedCostQuoteType = {
|
|
|
4449
4622
|
CbpAssessed: 'CBP_ASSESSED',
|
|
4450
4623
|
Checkout: 'CHECKOUT',
|
|
4451
4624
|
Collect: 'COLLECT',
|
|
4625
|
+
DeclarationData: 'DECLARATION_DATA',
|
|
4452
4626
|
Draft: 'DRAFT',
|
|
4453
4627
|
Hello: 'HELLO',
|
|
4454
4628
|
InclusiveConfiguration: 'INCLUSIVE_CONFIGURATION',
|
|
@@ -4459,6 +4633,11 @@ export const landedCostQuoteType = {
|
|
|
4459
4633
|
PrepayCollect: 'PREPAY_COLLECT',
|
|
4460
4634
|
PrepayInvoice: 'PREPAY_INVOICE',
|
|
4461
4635
|
};
|
|
4636
|
+
export const landedCostSettingsEntryTypeExclusionCategory = {
|
|
4637
|
+
AntiDumping: 'ANTI_DUMPING',
|
|
4638
|
+
Countervailing: 'COUNTERVAILING',
|
|
4639
|
+
Quota: 'QUOTA',
|
|
4640
|
+
};
|
|
4462
4641
|
export const landedCostSettingsHsCodeConsolidationType = {
|
|
4463
4642
|
Hs10: 'HS10',
|
|
4464
4643
|
Hs10Coo: 'HS10_COO',
|
|
@@ -4636,6 +4815,14 @@ export const linkType = {
|
|
|
4636
4815
|
AccountOnboarding: 'ACCOUNT_ONBOARDING',
|
|
4637
4816
|
AccountUpdate: 'ACCOUNT_UPDATE',
|
|
4638
4817
|
};
|
|
4818
|
+
export const locationValidationStatus = {
|
|
4819
|
+
PartiallyVerified: 'PARTIALLY_VERIFIED',
|
|
4820
|
+
Unverified: 'UNVERIFIED',
|
|
4821
|
+
Verified: 'VERIFIED',
|
|
4822
|
+
};
|
|
4823
|
+
export const locationVerifier = {
|
|
4824
|
+
Melissa: 'MELISSA',
|
|
4825
|
+
};
|
|
4639
4826
|
export const magentoStockStatus = {
|
|
4640
4827
|
InStock: 'IN_STOCK',
|
|
4641
4828
|
OutOfStock: 'OUT_OF_STOCK',
|
|
@@ -4647,6 +4834,10 @@ export const manifestDataSource = {
|
|
|
4647
4834
|
Predes: 'PREDES',
|
|
4648
4835
|
Resdit: 'RESDIT',
|
|
4649
4836
|
};
|
|
4837
|
+
export const manifestIncotermCode = {
|
|
4838
|
+
Dap: 'DAP',
|
|
4839
|
+
Ddp: 'DDP',
|
|
4840
|
+
};
|
|
4650
4841
|
export const manifestItemMeasurementType = {
|
|
4651
4842
|
AlcoholByVolume: 'ALCOHOL_BY_VOLUME',
|
|
4652
4843
|
Height: 'HEIGHT',
|
|
@@ -4671,6 +4862,10 @@ export const manifestItemUnitOfMeasure = {
|
|
|
4671
4862
|
Pound: 'POUND',
|
|
4672
4863
|
Yard: 'YARD',
|
|
4673
4864
|
};
|
|
4865
|
+
export const manifestLineClearanceOwner = {
|
|
4866
|
+
Brokerage: 'BROKERAGE',
|
|
4867
|
+
Manifest: 'MANIFEST',
|
|
4868
|
+
};
|
|
4674
4869
|
export const manifestLineEndUse = {
|
|
4675
4870
|
Documents: 'DOCUMENTS',
|
|
4676
4871
|
ForResale: 'FOR_RESALE',
|
|
@@ -4678,6 +4873,11 @@ export const manifestLineEndUse = {
|
|
|
4678
4873
|
NotForResale: 'NOT_FOR_RESALE',
|
|
4679
4874
|
Return: 'RETURN',
|
|
4680
4875
|
};
|
|
4876
|
+
export const manifestLineEntryTypeExclusionCategory = {
|
|
4877
|
+
AntiDumping: 'ANTI_DUMPING',
|
|
4878
|
+
Countervailing: 'COUNTERVAILING',
|
|
4879
|
+
Quota: 'QUOTA',
|
|
4880
|
+
};
|
|
4681
4881
|
export const manifestPartyType = {
|
|
4682
4882
|
Destination: 'DESTINATION',
|
|
4683
4883
|
Origin: 'ORIGIN',
|
|
@@ -4693,6 +4893,10 @@ export const manifestSource = {
|
|
|
4693
4893
|
Upu: 'UPU',
|
|
4694
4894
|
Usps: 'USPS',
|
|
4695
4895
|
};
|
|
4896
|
+
export const manifestType = {
|
|
4897
|
+
Brokerage: 'BROKERAGE',
|
|
4898
|
+
Standard: 'STANDARD',
|
|
4899
|
+
};
|
|
4696
4900
|
export const manualClassificationBulkJobStatus = {
|
|
4697
4901
|
Cancelled: 'CANCELLED',
|
|
4698
4902
|
Completed: 'COMPLETED',
|
|
@@ -4936,6 +5140,7 @@ export const orderType = {
|
|
|
4936
5140
|
CarrierPay: 'CARRIER_PAY',
|
|
4937
5141
|
Checkout: 'CHECKOUT',
|
|
4938
5142
|
Collect: 'COLLECT',
|
|
5143
|
+
DeclarationData: 'DECLARATION_DATA',
|
|
4939
5144
|
Draft: 'DRAFT',
|
|
4940
5145
|
Invoice: 'INVOICE',
|
|
4941
5146
|
InvoiceCollect: 'INVOICE_COLLECT',
|
|
@@ -5112,7 +5317,7 @@ export const paymentMethodRemoveType = {
|
|
|
5112
5317
|
};
|
|
5113
5318
|
export const paymentNetworkTokenStatus = {
|
|
5114
5319
|
Active: 'ACTIVE',
|
|
5115
|
-
|
|
5320
|
+
Disabled: 'DISABLED',
|
|
5116
5321
|
Suspended: 'SUSPENDED',
|
|
5117
5322
|
};
|
|
5118
5323
|
export const paymentProcessorCode = {
|
|
@@ -5814,6 +6019,7 @@ export const restrictionCarrier = {
|
|
|
5814
6019
|
export const restrictionCategory = {
|
|
5815
6020
|
Cost: 'COST',
|
|
5816
6021
|
DangerousGoods: 'DANGEROUS_GOODS',
|
|
6022
|
+
Deforestation: 'DEFORESTATION',
|
|
5817
6023
|
DocumentationRequired: 'DOCUMENTATION_REQUIRED',
|
|
5818
6024
|
Information: 'INFORMATION',
|
|
5819
6025
|
PermitRequired: 'PERMIT_REQUIRED',
|
|
@@ -5890,11 +6096,13 @@ export const serviceLevelCountryDeliveryDuty = {
|
|
|
5890
6096
|
export const sessionLineStatus = {
|
|
5891
6097
|
Completed: 'COMPLETED',
|
|
5892
6098
|
InProgress: 'IN_PROGRESS',
|
|
6099
|
+
ReadyForAttestation: 'READY_FOR_ATTESTATION',
|
|
5893
6100
|
};
|
|
5894
6101
|
export const sessionStatus = {
|
|
5895
6102
|
Abandoned: 'ABANDONED',
|
|
5896
6103
|
Completed: 'COMPLETED',
|
|
5897
6104
|
InProgress: 'IN_PROGRESS',
|
|
6105
|
+
ReadyForAttestation: 'READY_FOR_ATTESTATION',
|
|
5898
6106
|
};
|
|
5899
6107
|
export const settingsCopyType = {
|
|
5900
6108
|
CarrierAccount: 'CARRIER_ACCOUNT',
|
|
@@ -6426,9 +6634,11 @@ export const transmissionStatus = {
|
|
|
6426
6634
|
};
|
|
6427
6635
|
export const transmissionType = {
|
|
6428
6636
|
Amendment: 'AMENDMENT',
|
|
6637
|
+
Cancellation: 'CANCELLATION',
|
|
6429
6638
|
CargoRelease: 'CARGO_RELEASE',
|
|
6430
6639
|
Delete: 'DELETE',
|
|
6431
6640
|
EntrySummary: 'ENTRY_SUMMARY',
|
|
6641
|
+
Resend: 'RESEND',
|
|
6432
6642
|
StatusQuery: 'STATUS_QUERY',
|
|
6433
6643
|
};
|
|
6434
6644
|
export const transportationMode = {
|
|
@@ -6566,6 +6776,7 @@ export const webhookType = {
|
|
|
6566
6776
|
CollectPaymentLinkExpired: 'COLLECT_PAYMENT_LINK_EXPIRED',
|
|
6567
6777
|
CollectPaymentLinkOpened: 'COLLECT_PAYMENT_LINK_OPENED',
|
|
6568
6778
|
CollectPaymentSucceeded: 'COLLECT_PAYMENT_SUCCEEDED',
|
|
6779
|
+
ComplianceCollectRequest: 'COMPLIANCE_COLLECT_REQUEST',
|
|
6569
6780
|
InclusivePriceConfigurationChanged: 'INCLUSIVE_PRICE_CONFIGURATION_CHANGED',
|
|
6570
6781
|
InclusivePriceConfigurationCreated: 'INCLUSIVE_PRICE_CONFIGURATION_CREATED',
|
|
6571
6782
|
InclusivePriceConfigurationDeleted: 'INCLUSIVE_PRICE_CONFIGURATION_DELETED',
|
|
@@ -6578,6 +6789,9 @@ export const webhookType = {
|
|
|
6578
6789
|
OrderCanceled: 'ORDER_CANCELED',
|
|
6579
6790
|
OrderCombined: 'ORDER_COMBINED',
|
|
6580
6791
|
OrderCreated: 'ORDER_CREATED',
|
|
6792
|
+
OrderModificationCommitted: 'ORDER_MODIFICATION_COMMITTED',
|
|
6793
|
+
OrderModificationCreated: 'ORDER_MODIFICATION_CREATED',
|
|
6794
|
+
OrderModificationStatusChanged: 'ORDER_MODIFICATION_STATUS_CHANGED',
|
|
6581
6795
|
OrderPayoutDetailsReady: 'ORDER_PAYOUT_DETAILS_READY',
|
|
6582
6796
|
OrderReturnCompleted: 'ORDER_RETURN_COMPLETED',
|
|
6583
6797
|
OrderReturnCreated: 'ORDER_RETURN_CREATED',
|
|
@@ -86,5 +86,36 @@ const shipToTaxIdLabels = {
|
|
|
86
86
|
SI: { friendlyName: 'EORI number', placeholder: 'DE123456789' },
|
|
87
87
|
SK: { friendlyName: 'EORI number', placeholder: 'DE123456789' },
|
|
88
88
|
};
|
|
89
|
+
const isCountryRequireTaxId = (countryCode) => {
|
|
90
|
+
return countryRequireTaxId.some(code => code === countryCode);
|
|
91
|
+
};
|
|
92
|
+
const taxIdTypeOptions = {
|
|
93
|
+
MX: [
|
|
94
|
+
{ label: 'RFC', placeholder: 'XAXX010101000', value: 'RFC' },
|
|
95
|
+
{ label: 'CURP', placeholder: 'AAAA800101HDFRRR09', value: 'CURP' },
|
|
96
|
+
],
|
|
97
|
+
PE: [
|
|
98
|
+
{ label: 'DNI', placeholder: '12345678', value: 'DNI' },
|
|
99
|
+
{ label: 'RUC', placeholder: '20123456789', value: 'RUC' },
|
|
100
|
+
{
|
|
101
|
+
label: 'Carné de extranjería',
|
|
102
|
+
placeholder: '001234567',
|
|
103
|
+
value: 'CE',
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
};
|
|
107
|
+
const checkoutTaxIdTypeValueList = ['CE', 'CURP', 'DNI', 'RFC', 'RUC'];
|
|
108
|
+
/** Every document kind checkout can send. Older clients omit the field. */
|
|
109
|
+
const checkoutTaxIdTypeValues = checkoutTaxIdTypeValueList;
|
|
110
|
+
const peruTaxIdDigitLength = {
|
|
111
|
+
CE: 9,
|
|
112
|
+
DNI: 8,
|
|
113
|
+
RUC: 11,
|
|
114
|
+
};
|
|
115
|
+
const peruTaxIdFormatError = {
|
|
116
|
+
CE: 'Carné de extranjería must be 9 digits.',
|
|
117
|
+
DNI: 'DNI must be 8 digits.',
|
|
118
|
+
RUC: 'RUC must be 11 digits.',
|
|
119
|
+
};
|
|
89
120
|
|
|
90
|
-
export { countryRequireTaxId as c, euCountryCodes as e, shipToTaxIdLabels as s };
|
|
121
|
+
export { checkoutTaxIdTypeValues as a, peruTaxIdFormatError as b, countryRequireTaxId as c, euCountryCodes as e, isCountryRequireTaxId as i, peruTaxIdDigitLength as p, shipToTaxIdLabels as s, taxIdTypeOptions as t };
|