@zonos/elements 1.5.1 → 1.5.3

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.
Files changed (250) hide show
  1. package/dist/cjs/_isBigCommerceNativeCheckout-3-xbKbAO.js +133 -0
  2. package/dist/cjs/{cart-CiXlehwQ.js → cart-C39TMSgB.js} +27 -13
  3. package/dist/cjs/{collect-Drr8fY-q.js → collect-lF9DenLk.js} +4 -4
  4. package/dist/cjs/{getMissingRequiredShippingFields-DI6qF1z3.js → getMissingRequiredShippingFields-svcnpumn.js} +1 -1
  5. package/dist/cjs/{handleFetch-DQLhurnE.js → handleFetch-DVfjFTYO.js} +181 -71
  6. package/dist/cjs/{hasInclusivePrice-84KS94yH.js → hasInclusivePrice-CEPf3_FG.js} +1 -1
  7. package/dist/cjs/index.cjs.js +158 -47
  8. package/dist/cjs/{invoice-5hVfSXpb.js → invoice-BD3pCr8P.js} +3 -3
  9. package/dist/cjs/{localization-B2mjW0Xa.js → localization-BhNVhLZs.js} +24 -48
  10. package/dist/cjs/{paypal-pd8Nz_R_.js → paypal-Bd1qmwiv.js} +4 -4
  11. package/dist/cjs/{placeTestOrder-DrI8rD9o.js → placeTestOrder-BMQRvX2q.js} +3 -3
  12. package/dist/cjs/{renderCheckoutCurrency-u5q8YdUb.js → renderCheckoutCurrency-DE2p8CT8.js} +2 -2
  13. package/dist/cjs/{shouldShowLanguageSelect-gBg4KeTQ.js → shouldShowLanguageSelect-NOVWOU53.js} +1 -1
  14. package/dist/cjs/{submitGtag-Rc-S3PnH.js → submitGtag-D4sB7w4z.js} +1 -1
  15. package/dist/cjs/{taxIdFields-BrIaPTcd.js → taxIdFields-BKbk2bhi.js} +2 -2
  16. package/dist/cjs/{updateCheckoutSessionAttributes-d0IKpwW8.js → updateCheckoutSessionAttributes-KxwcsKhM.js} +1 -1
  17. package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +6 -6
  18. package/dist/cjs/zonos-address-display_2.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-address_4.cjs.entry.js +4 -4
  20. package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +4 -4
  21. package/dist/cjs/zonos-card_5.cjs.entry.js +5 -5
  22. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +18 -18
  23. package/dist/cjs/zonos-checkout.cjs.entry.js +48 -22
  24. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +3 -3
  25. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +9 -9
  26. package/dist/cjs/zonos-collect.cjs.entry.js +6 -6
  27. package/dist/cjs/zonos-controller.cjs.entry.js +65 -40
  28. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  29. package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
  30. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +3 -3
  31. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  32. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +5 -5
  33. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +9 -9
  34. package/dist/cjs/zonos-invoice.cjs.entry.js +6 -6
  35. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  36. package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +4 -4
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +8 -7
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +14 -4
  39. package/dist/collection/components/main/mountCheckoutWithoutStripe.js +12 -0
  40. package/dist/collection/components/main/zonos-controller.js +26 -10
  41. package/dist/collection/components/store/checkout/cart.js +3 -2
  42. package/dist/collection/components/store/checkout/stripe.js +23 -10
  43. package/dist/collection/components/store/storageStore.js +7 -6
  44. package/dist/collection/components/utils/__tests__/helpers/blockStorage.js +24 -0
  45. package/dist/collection/components/utils/api/getExchangeRate.js +2 -1
  46. package/dist/collection/components/utils/checkout/isBigCommerceCheckoutBypassEnabled.js +2 -1
  47. package/dist/collection/components/utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect.js +32 -12
  48. package/dist/collection/components/utils/handleFetch.js +19 -9
  49. package/dist/collection/components/utils/hello/countryOverrideStorage.js +17 -40
  50. package/dist/collection/components/utils/logging/installConstructorCapture.js +58 -0
  51. package/dist/collection/components/utils/logging/reportBlockedStorage.js +34 -0
  52. package/dist/collection/components/utils/logging/sendErrorLog.js +8 -1
  53. package/dist/collection/components/utils/logging/startZonosInit.js +35 -0
  54. package/dist/collection/components/utils/logging/thrownMessage.js +16 -0
  55. package/dist/collection/components/utils/safeStorage.js +39 -0
  56. package/dist/collection/scripts/_bigcommerceCheckoutPath.js +16 -0
  57. package/dist/collection/scripts/_detectBigCommerceHost.js +12 -0
  58. package/dist/collection/scripts/_getZonosQaUrl.js +3 -2
  59. package/dist/collection/scripts/_isBigCommerceNativeCheckout.js +107 -0
  60. package/dist/collection/scripts/_loadStripe.js +15 -4
  61. package/dist/collection/scripts/_zonosBase.js +46 -33
  62. package/dist/collection/types/generated/graphql.frontend.types.js +0 -16
  63. package/dist/collection/types/generated/graphql.internal.types.js +215 -1
  64. package/dist/esm/_isBigCommerceNativeCheckout-Bb90IMVt.js +128 -0
  65. package/dist/esm/{cart-DmJkjiDE.js → cart-b84n0nhi.js} +26 -14
  66. package/dist/esm/{collect-BV5GTPmh.js → collect-B_AEVONL.js} +4 -4
  67. package/dist/esm/{getMissingRequiredShippingFields-DljgpDZe.js → getMissingRequiredShippingFields-EY10c34-.js} +1 -1
  68. package/dist/esm/{handleFetch-D5GYDF-O.js → handleFetch-BFVO7oAR.js} +178 -72
  69. package/dist/esm/{hasInclusivePrice-DhGXpH2D.js → hasInclusivePrice-DfEiyzw7.js} +1 -1
  70. package/dist/esm/index.js +158 -47
  71. package/dist/esm/{invoice-CO-iqlni.js → invoice-dQ0ONK5Q.js} +3 -3
  72. package/dist/esm/{localization-DHM91diu.js → localization-B5CRzthT.js} +25 -49
  73. package/dist/esm/{paypal-BfW5aLJw.js → paypal-CF_oM0B6.js} +4 -4
  74. package/dist/esm/{placeTestOrder-CyWUFhxD.js → placeTestOrder-BTpfyqPL.js} +3 -3
  75. package/dist/esm/{renderCheckoutCurrency-B31ZNkUv.js → renderCheckoutCurrency-CpeuDWx-.js} +2 -2
  76. package/dist/esm/{shouldShowLanguageSelect-DwSfSHar.js → shouldShowLanguageSelect-CJinx9-m.js} +1 -1
  77. package/dist/esm/{submitGtag-BEFrutel.js → submitGtag-C5xzFHjG.js} +1 -1
  78. package/dist/esm/{taxIdFields-ByEYfsO5.js → taxIdFields-BCyXnc9O.js} +2 -2
  79. package/dist/esm/{updateCheckoutSessionAttributes-B0bQH0uw.js → updateCheckoutSessionAttributes-C9bMKTjz.js} +1 -1
  80. package/dist/esm/zonos-address-completion-dialog_7.entry.js +6 -6
  81. package/dist/esm/zonos-address-display_2.entry.js +2 -2
  82. package/dist/esm/zonos-address_4.entry.js +4 -4
  83. package/dist/esm/zonos-airwallex-payment.entry.js +4 -4
  84. package/dist/esm/zonos-card_5.entry.js +5 -5
  85. package/dist/esm/zonos-cart-items_12.entry.js +18 -18
  86. package/dist/esm/zonos-checkout.entry.js +48 -22
  87. package/dist/esm/zonos-collect-cart-items_3.entry.js +3 -3
  88. package/dist/esm/zonos-collect-finish_6.entry.js +9 -9
  89. package/dist/esm/zonos-collect.entry.js +6 -6
  90. package/dist/esm/zonos-controller.entry.js +65 -40
  91. package/dist/esm/zonos-country-flag.entry.js +2 -2
  92. package/dist/esm/zonos-country-select_4.entry.js +3 -3
  93. package/dist/esm/zonos-hello-dialog.entry.js +3 -3
  94. package/dist/esm/zonos-hello.entry.js +2 -2
  95. package/dist/esm/zonos-invoice-cart-items_2.entry.js +5 -5
  96. package/dist/esm/zonos-invoice-finish_5.entry.js +9 -9
  97. package/dist/esm/zonos-invoice.entry.js +6 -6
  98. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  99. package/dist/esm/zonos-policy-consent_2.entry.js +4 -4
  100. package/dist/esm-es5/_isBigCommerceNativeCheckout-Bb90IMVt.js +40 -0
  101. package/dist/esm-es5/{cart-DmJkjiDE.js → cart-b84n0nhi.js} +59 -59
  102. package/dist/esm-es5/{collect-BV5GTPmh.js → collect-B_AEVONL.js} +2 -2
  103. package/dist/esm-es5/{getMissingRequiredShippingFields-DljgpDZe.js → getMissingRequiredShippingFields-EY10c34-.js} +3 -3
  104. package/dist/esm-es5/handleFetch-BFVO7oAR.js +73 -0
  105. package/dist/esm-es5/{hasInclusivePrice-DhGXpH2D.js → hasInclusivePrice-DfEiyzw7.js} +1 -1
  106. package/dist/esm-es5/index.js +94 -65
  107. package/dist/esm-es5/{invoice-CO-iqlni.js → invoice-dQ0ONK5Q.js} +1 -1
  108. package/dist/esm-es5/{localization-DHM91diu.js → localization-B5CRzthT.js} +7 -10
  109. package/dist/esm-es5/{paypal-BfW5aLJw.js → paypal-CF_oM0B6.js} +1 -1
  110. package/dist/esm-es5/{placeTestOrder-CyWUFhxD.js → placeTestOrder-BTpfyqPL.js} +1 -1
  111. package/dist/esm-es5/{renderCheckoutCurrency-B31ZNkUv.js → renderCheckoutCurrency-CpeuDWx-.js} +5 -5
  112. package/dist/esm-es5/{shouldShowLanguageSelect-DwSfSHar.js → shouldShowLanguageSelect-CJinx9-m.js} +1 -1
  113. package/dist/esm-es5/{submitGtag-BEFrutel.js → submitGtag-C5xzFHjG.js} +1 -1
  114. package/dist/esm-es5/{taxIdFields-ByEYfsO5.js → taxIdFields-BCyXnc9O.js} +1 -1
  115. package/dist/esm-es5/{updateCheckoutSessionAttributes-B0bQH0uw.js → updateCheckoutSessionAttributes-C9bMKTjz.js} +1 -1
  116. package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +2 -2
  117. package/dist/esm-es5/zonos-address-display_2.entry.js +1 -1
  118. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  119. package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
  120. package/dist/esm-es5/zonos-card_5.entry.js +6 -6
  121. package/dist/esm-es5/zonos-cart-items_12.entry.js +127 -127
  122. package/dist/esm-es5/zonos-checkout.entry.js +22 -11
  123. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  124. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  125. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  126. package/dist/esm-es5/zonos-controller.entry.js +21 -12
  127. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  128. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  129. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  130. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  131. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  132. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  133. package/dist/esm-es5/zonos-invoice.entry.js +3 -3
  134. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  135. package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
  136. package/dist/scripts/index.d.ts +22 -0
  137. package/dist/scripts/index.js +1 -1
  138. package/dist/scripts/loadZonos.js +1 -1
  139. package/dist/scripts/zonos.js +1 -1
  140. package/dist/types/components/main/mountCheckoutWithoutStripe.d.ts +8 -0
  141. package/dist/types/components/store/checkout/stripe.d.ts +4 -1
  142. package/dist/types/components/utils/__tests__/helpers/blockStorage.d.ts +3 -0
  143. package/dist/types/components/utils/logging/installConstructorCapture.d.ts +20 -0
  144. package/dist/types/components/utils/logging/reportBlockedStorage.d.ts +16 -0
  145. package/dist/types/components/utils/logging/startZonosInit.d.ts +5 -0
  146. package/dist/types/components/utils/logging/thrownMessage.d.ts +1 -0
  147. package/dist/types/components/utils/safeStorage.d.ts +4 -0
  148. package/dist/types/scripts/_bigcommerceCheckoutPath.d.ts +12 -0
  149. package/dist/types/scripts/_detectBigCommerceHost.d.ts +5 -0
  150. package/dist/types/scripts/_isBigCommerceNativeCheckout.d.ts +21 -0
  151. package/dist/types/scripts/_zonosBase.d.ts +16 -0
  152. package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +5 -0
  153. package/dist/types/types/generated/graphql.frontend.types.d.ts +0 -22
  154. package/dist/types/types/generated/graphql.frontend.types.ts +0 -51
  155. package/dist/types/types/generated/graphql.internal.types.d.ts +270 -1
  156. package/dist/types/types/generated/graphql.internal.types.ts +341 -1
  157. package/dist/zonos-elements/index.esm.js +1 -1
  158. package/dist/zonos-elements/{p-8fa6cfff.entry.js → p-02faff47.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-216a908d.system.entry.js → p-0c68cbbb.system.entry.js} +2 -2
  160. package/dist/zonos-elements/{p-vTIygnHq.system.js → p-1OG3IJgY.system.js} +1 -1
  161. package/dist/zonos-elements/{p-960070d0.system.entry.js → p-1cd2d097.system.entry.js} +3 -3
  162. package/dist/zonos-elements/{p-1e6db427.entry.js → p-255e411a.entry.js} +1 -1
  163. package/dist/zonos-elements/p-2c_UqKJL.system.js +7 -0
  164. package/dist/zonos-elements/{p-DprOoI2W.system.js → p-3AUMK-5E.system.js} +154 -154
  165. package/dist/zonos-elements/{p-d3345b2c.entry.js → p-3ee87d8b.entry.js} +1 -1
  166. package/dist/zonos-elements/{p-cccaad60.system.entry.js → p-42fa5694.system.entry.js} +10 -10
  167. package/dist/zonos-elements/p-49eaaab8.entry.js +1 -0
  168. package/dist/zonos-elements/{p-fda89981.system.entry.js → p-4ce4c49f.system.entry.js} +3 -3
  169. package/dist/zonos-elements/{p-f3d9a380.system.entry.js → p-5622fc50.system.entry.js} +263 -252
  170. package/dist/zonos-elements/{p-5585db86.system.entry.js → p-59457fd9.system.entry.js} +73 -64
  171. package/dist/zonos-elements/{p-65817880.entry.js → p-66398133.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-d8f375da.system.entry.js → p-674323ac.system.entry.js} +1 -1
  173. package/dist/zonos-elements/{p-678b9214.entry.js → p-71d9a5b7.entry.js} +1 -1
  174. package/dist/zonos-elements/{p-189cc594.system.entry.js → p-81780f8f.system.entry.js} +2 -2
  175. package/dist/zonos-elements/{p-6e691736.entry.js → p-821b83a2.entry.js} +1 -1
  176. package/dist/zonos-elements/{p-1fda4aec.system.entry.js → p-877a82d2.system.entry.js} +94 -94
  177. package/dist/zonos-elements/p-8daec112.entry.js +1 -0
  178. package/dist/zonos-elements/{p-46a839d2.system.entry.js → p-93bc75fd.system.entry.js} +13 -13
  179. package/dist/zonos-elements/{p-2ca826b9.system.entry.js → p-976b3bf3.system.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-84e76348.entry.js → p-9a4947a5.entry.js} +1 -1
  181. package/dist/zonos-elements/p-9f7693bf.entry.js +1 -0
  182. package/dist/zonos-elements/p-BIJM2Kj-.js +1 -0
  183. package/dist/zonos-elements/p-BJFa5RwX.js +1 -0
  184. package/dist/zonos-elements/{p-6vSUiBfr.system.js → p-BOh4ifdL.system.js} +51 -54
  185. package/dist/zonos-elements/p-BZAX-HmS.js +1 -0
  186. package/dist/zonos-elements/p-Bb90IMVt.js +1 -0
  187. package/dist/zonos-elements/p-Bu9WCfUC.system.js +1 -1
  188. package/dist/zonos-elements/{p-CbhN65lj.system.js → p-BvoPE_nb.system.js} +1 -1
  189. package/dist/zonos-elements/{p-iAIzUA4k.js → p-C3E55OqH.js} +1 -1
  190. package/dist/zonos-elements/{p-CBUz18kA.system.js → p-C3gF3UV5.system.js} +23 -23
  191. package/dist/zonos-elements/{p-XoQH3S7Z.system.js → p-CD2ahEZn.system.js} +1 -1
  192. package/dist/zonos-elements/p-CEBBLbvF.js +1 -0
  193. package/dist/zonos-elements/{p-CGNVm52g.system.js → p-CEV0O_IQ.system.js} +5 -5
  194. package/dist/zonos-elements/{p-D1e9zNDA.js → p-CJmWr75U.js} +1 -1
  195. package/dist/zonos-elements/{p-DgUrB-1a.system.js → p-CZ-uYiCo.system.js} +1 -1
  196. package/dist/zonos-elements/p-Cn2xE-9t.system.js +256 -0
  197. package/dist/zonos-elements/p-CtvXi9wL.system.js +41 -0
  198. package/dist/zonos-elements/{p-BrQ8n8NS.system.js → p-Cw_Qnyow.system.js} +3 -3
  199. package/dist/zonos-elements/p-CzXNXgyI.js +1 -0
  200. package/dist/zonos-elements/p-D0DkOoAw.system.js +73 -0
  201. package/dist/zonos-elements/p-D9OPKqLg.js +1 -0
  202. package/dist/zonos-elements/{p-ojtNq-r5.system.js → p-DXlojp_Y.system.js} +1 -1
  203. package/dist/zonos-elements/{p-DpwmHU8R.js → p-Df62LRNs.js} +2 -2
  204. package/dist/zonos-elements/{p-CHKKvuiz.js → p-Lsqrpzc5.js} +1 -1
  205. package/dist/zonos-elements/{p-C9XLkmmb.system.js → p-YQFbWtjn.system.js} +1 -1
  206. package/dist/zonos-elements/p-a27f48e4.entry.js +1 -0
  207. package/dist/zonos-elements/{p-941a95a1.system.entry.js → p-a6bb296c.system.entry.js} +7 -7
  208. package/dist/zonos-elements/{p-2b63865a.system.entry.js → p-abb85879.system.entry.js} +3 -3
  209. package/dist/zonos-elements/{p-12b24ebb.entry.js → p-b8653024.entry.js} +1 -1
  210. package/dist/zonos-elements/p-b9d7a3b6.entry.js +1 -0
  211. package/dist/zonos-elements/{p-f5f95990.system.entry.js → p-be067e12.system.entry.js} +15 -15
  212. package/dist/zonos-elements/p-bmrOH9oh.js +1 -0
  213. package/dist/zonos-elements/p-c185bc23.entry.js +1 -0
  214. package/dist/zonos-elements/{p-2d513aa3.entry.js → p-c6e78de2.entry.js} +1 -1
  215. package/dist/zonos-elements/{p-55813e9f.system.entry.js → p-ca97a1cd.system.entry.js} +3 -3
  216. package/dist/zonos-elements/{p-3e705c9b.entry.js → p-cbb96382.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-53eac12f.system.entry.js → p-dbf4d156.system.entry.js} +14 -14
  218. package/dist/zonos-elements/{p-6410fa11.system.entry.js → p-df240119.system.entry.js} +16 -16
  219. package/dist/zonos-elements/{p-1cc42a98.system.entry.js → p-e16e4db6.system.entry.js} +17 -17
  220. package/dist/zonos-elements/{p-064d8829.system.entry.js → p-eb016dd8.system.entry.js} +20 -20
  221. package/dist/zonos-elements/{p-1199baef.system.entry.js → p-eb5c67a0.system.entry.js} +1 -1
  222. package/dist/zonos-elements/{p-ef5344ea.entry.js → p-ed8a7a7f.entry.js} +1 -1
  223. package/dist/zonos-elements/{p-4917b74d.entry.js → p-ef932fda.entry.js} +1 -1
  224. package/dist/zonos-elements/{p-e7fdb2c9.entry.js → p-f792ba5f.entry.js} +1 -1
  225. package/dist/zonos-elements/{p-DiMEP3mh.js → p-fZcKMzE-.js} +1 -1
  226. package/dist/zonos-elements/{p-CMo3ZweU.js → p-fdritVtG.js} +1 -1
  227. package/dist/zonos-elements/p-fffe6376.entry.js +1 -0
  228. package/dist/zonos-elements/p-gEViRqvf.js +1 -0
  229. package/dist/zonos-elements/{p-Dtu_Japy.system.js → p-v8IEjQ2z.system.js} +39 -39
  230. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  231. package/package.json +10 -10
  232. package/dist/esm-es5/handleFetch-D5GYDF-O.js +0 -60
  233. package/dist/zonos-elements/p-107f287b.entry.js +0 -1
  234. package/dist/zonos-elements/p-25eb99d4.entry.js +0 -1
  235. package/dist/zonos-elements/p-46b9f0cf.entry.js +0 -1
  236. package/dist/zonos-elements/p-636b71d4.entry.js +0 -1
  237. package/dist/zonos-elements/p-7dc7f328.entry.js +0 -1
  238. package/dist/zonos-elements/p-8f9d8795.entry.js +0 -1
  239. package/dist/zonos-elements/p-BMPYH-LT.js +0 -1
  240. package/dist/zonos-elements/p-C70h5mKA.js +0 -1
  241. package/dist/zonos-elements/p-CTiqplrr.js +0 -1
  242. package/dist/zonos-elements/p-Ch1w0Lr7.js +0 -1
  243. package/dist/zonos-elements/p-D1SmY_fZ.js +0 -1
  244. package/dist/zonos-elements/p-D6xXnsM_.js +0 -1
  245. package/dist/zonos-elements/p-DE4a-QD5.js +0 -1
  246. package/dist/zonos-elements/p-DQrMfUzi.system.js +0 -227
  247. package/dist/zonos-elements/p-DZdkJHK9.system.js +0 -7
  248. package/dist/zonos-elements/p-U33isUJG.js +0 -1
  249. package/dist/zonos-elements/p-ebe157b5.entry.js +0 -1
  250. package/dist/zonos-elements/p-zVLAvre1.system.js +0 -60
@@ -1,12 +1,16 @@
1
1
  var _a;
2
2
  import { createCustomEvent } from "../components/utils/createCustomEvent";
3
3
  import { IframeService } from "../components/utils/iframe/IframeHelpers";
4
+ import { installConstructorCapture } from "../components/utils/logging/installConstructorCapture";
4
5
  import { log } from "../components/utils/logging/log";
5
6
  import { logError } from "../components/utils/logging/logError";
7
+ import { startZonosInit } from "../components/utils/logging/startZonosInit";
8
+ import { safeGetItem } from "../components/utils/safeStorage";
6
9
  import { checkIfLoadVersionDomain } from "./_checkIfLoadVersionDomain";
7
10
  import { getNextFallbackUrl, MAIN_LOAD_CDN_TYPE, } from "./_getNextFallbackUrl";
8
11
  import { getWithTestPublicCredential } from "./_getWithTestPublicCredential";
9
12
  import { getZonosQaUrl } from "./_getZonosQaUrl";
13
+ import { isBigCommerceNativeCheckout, markBigCommerceHostChecked, } from "./_isBigCommerceNativeCheckout";
10
14
  import { zonosLoadStripe } from "./_loadStripe";
11
15
  import { getCartIdFromQueryParam } from "./cart/_getCartIdFromParam";
12
16
  import { setupCartDataWithSettings } from "./cart/_setupCartDataWithSettings";
@@ -85,6 +89,7 @@ Zonos.zonosController = null;
85
89
  Zonos.loadTimeApiInfoList = [];
86
90
  Zonos.logIntervalId = null;
87
91
  Zonos.init = async (params) => {
92
+ installConstructorCapture();
88
93
  const { appearance, checkoutSettings, currencyConverter, helloSettings, onCountryChange, overrideCurrencyFormat, storeId, zonosApiKey, } = params;
89
94
  _a.cartId = getCartIdFromQueryParam();
90
95
  // Expose the checkout cart callbacks on the global so Stripe loading can be
@@ -96,6 +101,9 @@ Zonos.init = async (params) => {
96
101
  // do nothing if zonos is already initialized
97
102
  return;
98
103
  }
104
+ // Host detection has already copied `isBigCommerce`. Settle the
105
+ // native-checkout answer once, before buttons or Stripe are touched.
106
+ markBigCommerceHostChecked();
99
107
  log(`====== ZONOS DEBUG MODE: on (${_a.version}) ======`);
100
108
  _a.zonosApiKey = zonosApiKey;
101
109
  _a.storeId = storeId;
@@ -120,7 +128,7 @@ Zonos.init = async (params) => {
120
128
  window.Zonos.isLegacyCheckout = _a.isLegacyCheckout;
121
129
  window.Zonos.zonosMode = _a.zonosMode;
122
130
  // call init again after the script is loaded
123
- void window.Zonos.init(params);
131
+ startZonosInit(() => window.Zonos.init(params));
124
132
  });
125
133
  script.addEventListener('error', () => {
126
134
  alert(`[ZONOS - loadZonos] Failed to load "loadZonos.js" from zonosQaUrl: ${zonosQaUrl}`);
@@ -156,7 +164,7 @@ Zonos.init = async (params) => {
156
164
  }
157
165
  }
158
166
  // Check if the stripe client secret is available in the url or session storage, inject hidden button to trigger checkout right away to check status of client secret
159
- const clientSecretUrlParam = new URL(window.location.href).searchParams.get('payment_intent_client_secret') || sessionStorage.getItem('zonos--client-secret');
167
+ const clientSecretUrlParam = new URL(window.location.href).searchParams.get('payment_intent_client_secret') || safeGetItem('session', 'zonos--client-secret');
160
168
  const shouldAttemptImmediatelyOpenCheckout = (_a.cartId && _a.cartData) || !!clientSecretUrlParam;
161
169
  // inject hidden button to body to trigger checkout right away if we have cartData or stripe client secret
162
170
  if (shouldAttemptImmediatelyOpenCheckout) {
@@ -352,47 +360,52 @@ Zonos.injectController = ({ config, }) => {
352
360
  if (document.querySelector('zonos-controller')) {
353
361
  return;
354
362
  }
355
- // if placeOrderAnchor is passed in the config for checkoutSettings, disable the place order button until zonos is initialized
356
- if ((_b = config.checkoutSettings) === null || _b === void 0 ? void 0 : _b.placeOrderButtonSelector) {
357
- const placeOrderButtonSelector = config.checkoutSettings.placeOrderButtonSelector;
358
- _a.disablePlaceOrderButtons({
359
- config,
360
- disable: true,
361
- placeOrderButtonSelector,
362
- });
363
- // create a mutation observer to see if any new elements that match our selector is added to the DOM
364
- const observer = new MutationObserver(() => {
363
+ // Native BigCommerce checkout never calls attachCheckout, which is what
364
+ // marks these buttons handled. Disabling them here would flicker the
365
+ // store's own buttons after every DOM mutation.
366
+ if (!isBigCommerceNativeCheckout()) {
367
+ // if placeOrderAnchor is passed in the config for checkoutSettings, disable the place order button until zonos is initialized
368
+ if ((_b = config.checkoutSettings) === null || _b === void 0 ? void 0 : _b.placeOrderButtonSelector) {
369
+ const placeOrderButtonSelector = config.checkoutSettings.placeOrderButtonSelector;
365
370
  _a.disablePlaceOrderButtons({
366
371
  config,
367
372
  disable: true,
368
373
  placeOrderButtonSelector,
369
374
  });
370
- });
371
- observer.observe(document.body, {
372
- childList: true,
373
- subtree: true,
374
- });
375
- }
376
- // if alwaysTriggerInternationalCheckoutSelector is passed in the config for checkoutSettings, disable the place order button until zonos is initialized
377
- if ((_c = config.checkoutSettings) === null || _c === void 0 ? void 0 : _c.alwaysTriggerInternationalCheckoutSelector) {
378
- const alwaysTriggerInternationalCheckoutSelector = config.checkoutSettings.alwaysTriggerInternationalCheckoutSelector;
379
- _a.disablePlaceOrderButtons({
380
- config,
381
- disable: true,
382
- placeOrderButtonSelector: alwaysTriggerInternationalCheckoutSelector,
383
- });
384
- // create a mutation observer to see if any new elements that match our selector is added to the DOM
385
- const observer = new MutationObserver(() => {
375
+ // create a mutation observer to see if any new elements that match our selector is added to the DOM
376
+ const observer = new MutationObserver(() => {
377
+ _a.disablePlaceOrderButtons({
378
+ config,
379
+ disable: true,
380
+ placeOrderButtonSelector,
381
+ });
382
+ });
383
+ observer.observe(document.body, {
384
+ childList: true,
385
+ subtree: true,
386
+ });
387
+ }
388
+ // if alwaysTriggerInternationalCheckoutSelector is passed in the config for checkoutSettings, disable the place order button until zonos is initialized
389
+ if ((_c = config.checkoutSettings) === null || _c === void 0 ? void 0 : _c.alwaysTriggerInternationalCheckoutSelector) {
390
+ const alwaysTriggerInternationalCheckoutSelector = config.checkoutSettings.alwaysTriggerInternationalCheckoutSelector;
386
391
  _a.disablePlaceOrderButtons({
387
392
  config,
388
393
  disable: true,
389
394
  placeOrderButtonSelector: alwaysTriggerInternationalCheckoutSelector,
390
395
  });
391
- });
392
- observer.observe(document.body, {
393
- childList: true,
394
- subtree: true,
395
- });
396
+ // create a mutation observer to see if any new elements that match our selector is added to the DOM
397
+ const observer = new MutationObserver(() => {
398
+ _a.disablePlaceOrderButtons({
399
+ config,
400
+ disable: true,
401
+ placeOrderButtonSelector: alwaysTriggerInternationalCheckoutSelector,
402
+ });
403
+ });
404
+ observer.observe(document.body, {
405
+ childList: true,
406
+ subtree: true,
407
+ });
408
+ }
396
409
  }
397
410
  const zonosController = document.createElement('zonos-controller');
398
411
  zonosController.config = config;
@@ -665,14 +665,6 @@ export function getSdk(client, withWrapper = defaultWrapper) {
665
665
  variables,
666
666
  }), 'insertOrderImportLock', 'mutation', variables);
667
667
  },
668
- insertReserveOrder(variables, requestHeaders, signal) {
669
- return withWrapper(wrappedRequestHeaders => client.request({
670
- document: '',
671
- requestHeaders: Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders),
672
- signal,
673
- variables,
674
- }), 'insertReserveOrder', 'mutation', variables);
675
- },
676
668
  insertReserveOrderEvent(variables, requestHeaders, signal) {
677
669
  return withWrapper(wrappedRequestHeaders => client.request({
678
670
  document: '',
@@ -713,14 +705,6 @@ export function getSdk(client, withWrapper = defaultWrapper) {
713
705
  variables,
714
706
  }), 'storeVersionSetting', 'query', variables);
715
707
  },
716
- updateReserveOrder(variables, requestHeaders, signal) {
717
- return withWrapper(wrappedRequestHeaders => client.request({
718
- document: '',
719
- requestHeaders: Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders),
720
- signal,
721
- variables,
722
- }), 'updateReserveOrder', 'mutation', variables);
723
- },
724
708
  upsertBigCommerceSettings(variables, requestHeaders, signal) {
725
709
  return withWrapper(wrappedRequestHeaders => client.request({
726
710
  document: '',
@@ -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
- Inactive: 'INACTIVE',
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',