@zonos/elements 1.1.1 → 1.1.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.
Files changed (362) hide show
  1. package/dist/cjs/{cart-108bc407.js → cart-a969ee0b.js} +8 -8
  2. package/dist/cjs/{cart-108bc407.js.map → cart-a969ee0b.js.map} +1 -1
  3. package/dist/cjs/{getBorderRadius-2904800c.js → getBorderRadius-ae52cae1.js} +2 -2
  4. package/dist/cjs/{getBorderRadius-2904800c.js.map → getBorderRadius-ae52cae1.js.map} +1 -1
  5. package/dist/cjs/{isDarkColor-a86b8a05.js → isDarkColor-e1a7bf45.js} +2 -2
  6. package/dist/cjs/{isDarkColor-a86b8a05.js.map → isDarkColor-e1a7bf45.js.map} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{localization-f6a1b679.js → localization-d510574c.js} +200 -12
  9. package/dist/cjs/localization-d510574c.js.map +1 -0
  10. package/dist/cjs/{submitGtag-b1b96579.js → submitGtag-4de4430f.js} +3 -3
  11. package/dist/cjs/{submitGtag-b1b96579.js.map → submitGtag-4de4430f.js.map} +1 -1
  12. package/dist/cjs/zonos-address_2.cjs.entry.js +5 -5
  13. package/dist/cjs/zonos-banner.cjs.entry.js +68 -0
  14. package/dist/cjs/zonos-banner.cjs.entry.js.map +1 -0
  15. package/dist/cjs/zonos-button_2.cjs.entry.js +3 -3
  16. package/dist/cjs/zonos-cart-items_10.cjs.entry.js +12 -12
  17. package/dist/cjs/zonos-checkout.cjs.entry.js +9 -9
  18. package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
  19. package/dist/cjs/zonos-controller.cjs.entry.js.map +1 -1
  20. package/dist/cjs/zonos-country-flag_4.cjs.entry.js +6 -6
  21. package/dist/cjs/zonos-elements.cjs.js +1 -1
  22. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +12 -8
  23. package/dist/cjs/zonos-hello-dialog.cjs.entry.js.map +1 -1
  24. package/dist/cjs/zonos-hello.cjs.entry.js +237 -22
  25. package/dist/cjs/zonos-hello.cjs.entry.js.map +1 -1
  26. package/dist/cjs/zonos-payment.cjs.entry.js +60 -0
  27. package/dist/cjs/zonos-payment.cjs.entry.js.map +1 -0
  28. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  29. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js.map +1 -1
  30. package/dist/cjs/{zonosStore-960e5542.js → zonosStore-d9cdaec6.js} +6 -22
  31. package/dist/cjs/zonosStore-d9cdaec6.js.map +1 -0
  32. package/dist/collection/components/checkout/zonos-checkout/assets/LeftArrow.svg +1 -1
  33. package/dist/collection/components/checkout/zonos-checkout/assets/MessageIcon.svg +1 -1
  34. package/dist/collection/components/checkout/zonos-checkout/assets/RemoveIcon.svg +1 -1
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/assets/InfoIcon.svg +1 -1
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/assets/RemoveIcon.svg +1 -1
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/assets/SuccessIcon.svg +1 -1
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-review/assets/ChevronDownIcon.svg +1 -1
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-review/assets/ChevronUpIcon.svg +1 -1
  40. package/dist/collection/components/common/zonos-banner/zonos-banner.css +6 -1
  41. package/dist/collection/components/common/zonos-banner/zonos-banner.js +1 -1
  42. package/dist/collection/components/common/zonos-banner/zonos-banner.js.map +1 -1
  43. package/dist/collection/components/common/zonos-country-select/assets/arrowLeftBlue.svg +1 -1
  44. package/dist/collection/components/common/zonos-dialog/assets/removeIcon.svg +1 -1
  45. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +1 -1
  46. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js.map +1 -1
  47. package/dist/collection/components/hello/zonos-hello/zonos-hello.css +20 -2
  48. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +135 -20
  49. package/dist/collection/components/hello/zonos-hello/zonos-hello.js.map +1 -1
  50. package/dist/collection/components/hello/zonos-hello-dialog/assets/bagIcon.svg +1 -1
  51. package/dist/collection/components/hello/zonos-hello-dialog/assets/messageIcon.svg +1 -1
  52. package/dist/collection/components/hello/zonos-hello-dialog/assets/moneyIcon.svg +1 -1
  53. package/dist/collection/components/hello/zonos-hello-dialog/assets/removeIcon.svg +1 -1
  54. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/assets/chevronDownIcon.svg +1 -1
  55. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/assets/zonosIcon.svg +1 -1
  56. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +12 -4
  57. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +30 -1
  58. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js.map +1 -1
  59. package/dist/collection/components/store/hello/localization.js +2 -4
  60. package/dist/collection/components/store/hello/localization.js.map +1 -1
  61. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  62. package/dist/collection/components/store/translationStore/strings.arabic.js.map +1 -1
  63. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  64. package/dist/collection/components/store/translationStore/strings.base.js.map +1 -1
  65. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  66. package/dist/collection/components/store/translationStore/strings.chinese.js.map +1 -1
  67. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  68. package/dist/collection/components/store/translationStore/strings.danish.js.map +1 -1
  69. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  70. package/dist/collection/components/store/translationStore/strings.dutch.js.map +1 -1
  71. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  72. package/dist/collection/components/store/translationStore/strings.french.js.map +1 -1
  73. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  74. package/dist/collection/components/store/translationStore/strings.german.js.map +1 -1
  75. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  76. package/dist/collection/components/store/translationStore/strings.hebrew.js.map +1 -1
  77. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  78. package/dist/collection/components/store/translationStore/strings.indonesian.js.map +1 -1
  79. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  80. package/dist/collection/components/store/translationStore/strings.italian.js.map +1 -1
  81. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  82. package/dist/collection/components/store/translationStore/strings.japanese.js.map +1 -1
  83. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  84. package/dist/collection/components/store/translationStore/strings.korean.js.map +1 -1
  85. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  86. package/dist/collection/components/store/translationStore/strings.norwegian.js.map +1 -1
  87. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  88. package/dist/collection/components/store/translationStore/strings.polish.js.map +1 -1
  89. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  90. package/dist/collection/components/store/translationStore/strings.portuguese.js.map +1 -1
  91. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  92. package/dist/collection/components/store/translationStore/strings.russian.js.map +1 -1
  93. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  94. package/dist/collection/components/store/translationStore/strings.spanish.js.map +1 -1
  95. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  96. package/dist/collection/components/store/translationStore/strings.swedish.js.map +1 -1
  97. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  98. package/dist/collection/components/store/translationStore/strings.turkish.js.map +1 -1
  99. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  100. package/dist/collection/components/store/translationStore/strings.vietnamese.js.map +1 -1
  101. package/dist/collection/components/store/zonosStore.js +5 -3
  102. package/dist/collection/components/store/zonosStore.js.map +1 -1
  103. package/dist/collection/components/utils/api/checkItemRestrictions.js +18 -0
  104. package/dist/collection/components/utils/api/checkItemRestrictions.js.map +1 -0
  105. package/dist/collection/components/utils/hello/detectItemRestrictions.js +29 -0
  106. package/dist/collection/components/utils/hello/detectItemRestrictions.js.map +1 -0
  107. package/dist/collection/components/utils/hello/getCurrentHelloLocalePage.js +8 -7
  108. package/dist/collection/components/utils/hello/getCurrentHelloLocalePage.js.map +1 -1
  109. package/dist/collection/components/utils/hello/getProductsOnPage.js +49 -0
  110. package/dist/collection/components/utils/hello/getProductsOnPage.js.map +1 -0
  111. package/dist/collection/components/utils/hello/setZonosCountryUrlParam.js +10 -0
  112. package/dist/collection/components/utils/hello/setZonosCountryUrlParam.js.map +1 -0
  113. package/dist/collection/environment.js +34 -7
  114. package/dist/collection/environment.js.map +1 -1
  115. package/dist/collection/scripts/loadStripe.js +3 -3
  116. package/dist/collection/scripts/loadStripe.js.map +1 -1
  117. package/dist/collection/scripts/stripe.js +3 -3
  118. package/dist/collection/scripts/stripe.js.map +1 -1
  119. package/dist/collection/scripts/zonos.js +83 -30
  120. package/dist/collection/scripts/zonos.js.map +1 -1
  121. package/dist/collection/types/generated/graphql.customer.types.js +34 -0
  122. package/dist/collection/types/generated/graphql.customer.types.js.map +1 -1
  123. package/dist/collection/types/hello/HelloConfig.js.map +1 -1
  124. package/dist/collection/types/hello/Product.js +2 -0
  125. package/dist/collection/types/hello/Product.js.map +1 -0
  126. package/dist/collection/types/hello/RestrictedItem.js +2 -0
  127. package/dist/collection/types/hello/RestrictedItem.js.map +1 -0
  128. package/dist/components/localization.js +198 -11
  129. package/dist/components/localization.js.map +1 -1
  130. package/dist/components/stripe.js +3 -3
  131. package/dist/components/stripe.js.map +1 -1
  132. package/dist/components/zonos-banner2.js +2 -2
  133. package/dist/components/zonos-banner2.js.map +1 -1
  134. package/dist/components/zonos-cart-subtotal2.js +1 -1
  135. package/dist/components/zonos-checkout-finish2.js +2 -2
  136. package/dist/components/zonos-checkout.js +3 -3
  137. package/dist/components/zonos-controller.js +1 -1
  138. package/dist/components/zonos-controller.js.map +1 -1
  139. package/dist/components/zonos-country-select2.js +1 -1
  140. package/dist/components/zonos-dialog2.js +1 -1
  141. package/dist/components/zonos-hello-dialog-footer2.js +2 -2
  142. package/dist/components/zonos-hello-dialog2.js +18 -7
  143. package/dist/components/zonos-hello-dialog2.js.map +1 -1
  144. package/dist/components/zonos-hello.js +247 -22
  145. package/dist/components/zonos-hello.js.map +1 -1
  146. package/dist/components/zonos-review2.js +2 -2
  147. package/dist/components/zonos-shipping-rich-radio2.js +1 -1
  148. package/dist/components/zonos-shipping-rich-radio2.js.map +1 -1
  149. package/dist/components/zonosStore.js +5 -21
  150. package/dist/components/zonosStore.js.map +1 -1
  151. package/dist/{zonos-elements/cart-2f83e048.js → esm/cart-d00e1acb.js} +8 -8
  152. package/dist/esm/{cart-2f83e048.js.map → cart-d00e1acb.js.map} +1 -1
  153. package/dist/{zonos-elements/getBorderRadius-82fbaf25.js → esm/getBorderRadius-e8ad5967.js} +2 -2
  154. package/dist/esm/{getBorderRadius-82fbaf25.js.map → getBorderRadius-e8ad5967.js.map} +1 -1
  155. package/dist/{zonos-elements/isDarkColor-b21326ae.js → esm/isDarkColor-3bb345f4.js} +2 -2
  156. package/dist/{zonos-elements/isDarkColor-b21326ae.js.map → esm/isDarkColor-3bb345f4.js.map} +1 -1
  157. package/dist/esm/loader.js +1 -1
  158. package/dist/{zonos-elements/localization-4a424f49.js → esm/localization-1d92a557.js} +200 -13
  159. package/dist/esm/localization-1d92a557.js.map +1 -0
  160. package/dist/{zonos-elements/submitGtag-fbdb454b.js → esm/submitGtag-85914088.js} +3 -3
  161. package/dist/esm/{submitGtag-fbdb454b.js.map → submitGtag-85914088.js.map} +1 -1
  162. package/dist/esm/zonos-address_2.entry.js +5 -5
  163. package/dist/esm/zonos-banner.entry.js +64 -0
  164. package/dist/esm/zonos-banner.entry.js.map +1 -0
  165. package/dist/esm/zonos-button_2.entry.js +3 -3
  166. package/dist/esm/zonos-cart-items_10.entry.js +12 -12
  167. package/dist/esm/zonos-checkout.entry.js +9 -9
  168. package/dist/esm/zonos-controller.entry.js +6 -6
  169. package/dist/esm/zonos-controller.entry.js.map +1 -1
  170. package/dist/esm/zonos-country-flag_4.entry.js +6 -6
  171. package/dist/esm/zonos-elements.js +1 -1
  172. package/dist/esm/zonos-hello-dialog.entry.js +12 -8
  173. package/dist/esm/zonos-hello-dialog.entry.js.map +1 -1
  174. package/dist/esm/zonos-hello.entry.js +237 -22
  175. package/dist/esm/zonos-hello.entry.js.map +1 -1
  176. package/dist/esm/zonos-payment.entry.js +56 -0
  177. package/dist/esm/zonos-payment.entry.js.map +1 -0
  178. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  179. package/dist/esm/zonos-shipping-rich-radio.entry.js.map +1 -1
  180. package/dist/{zonos-elements/zonosStore-13a7b534.js → esm/zonosStore-1c9c7d76.js} +6 -22
  181. package/dist/esm/zonosStore-1c9c7d76.js.map +1 -0
  182. package/dist/esm-es5/cart-d00e1acb.js +2 -0
  183. package/dist/esm-es5/{cart-2f83e048.js.map → cart-d00e1acb.js.map} +1 -1
  184. package/dist/esm-es5/{getBorderRadius-82fbaf25.js → getBorderRadius-e8ad5967.js} +2 -2
  185. package/dist/esm-es5/{isDarkColor-b21326ae.js → isDarkColor-3bb345f4.js} +2 -2
  186. package/dist/esm-es5/loader.js +1 -1
  187. package/dist/esm-es5/loader.js.map +1 -1
  188. package/dist/esm-es5/localization-1d92a557.js +2 -0
  189. package/dist/esm-es5/localization-1d92a557.js.map +1 -0
  190. package/dist/esm-es5/{submitGtag-fbdb454b.js → submitGtag-85914088.js} +2 -2
  191. package/dist/esm-es5/zonos-address_2.entry.js +1 -1
  192. package/dist/esm-es5/zonos-banner.entry.js +2 -0
  193. package/dist/esm-es5/zonos-banner.entry.js.map +1 -0
  194. package/dist/esm-es5/zonos-button_2.entry.js +1 -1
  195. package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
  196. package/dist/esm-es5/zonos-cart-items_10.entry.js.map +1 -1
  197. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  198. package/dist/esm-es5/zonos-checkout.entry.js.map +1 -1
  199. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  200. package/dist/esm-es5/zonos-controller.entry.js.map +1 -1
  201. package/dist/esm-es5/zonos-country-flag_4.entry.js +1 -1
  202. package/dist/esm-es5/zonos-country-flag_4.entry.js.map +1 -1
  203. package/dist/esm-es5/zonos-elements.js +1 -1
  204. package/dist/esm-es5/zonos-elements.js.map +1 -1
  205. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  206. package/dist/esm-es5/zonos-hello-dialog.entry.js.map +1 -1
  207. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  208. package/dist/esm-es5/zonos-hello.entry.js.map +1 -1
  209. package/dist/esm-es5/zonos-payment.entry.js +2 -0
  210. package/dist/esm-es5/zonos-payment.entry.js.map +1 -0
  211. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  212. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js.map +1 -1
  213. package/dist/esm-es5/zonosStore-1c9c7d76.js +2 -0
  214. package/dist/esm-es5/zonosStore-1c9c7d76.js.map +1 -0
  215. package/dist/scripts/loadStripe.js +6 -6
  216. package/dist/scripts/loadZonos.js +92 -35
  217. package/dist/scripts/stripe.js +5 -5
  218. package/dist/scripts/zonos.js +92 -35
  219. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +24 -1
  220. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +6 -0
  221. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  222. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  223. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  224. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  225. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  226. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  227. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  228. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  229. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  230. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  231. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  232. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  233. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  234. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  235. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  236. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  237. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  238. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  239. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  240. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  241. package/dist/types/components/store/zonosStore.d.ts +1 -1
  242. package/dist/types/components/utils/api/checkItemRestrictions.d.ts +22 -0
  243. package/dist/types/components/utils/hello/detectItemRestrictions.d.ts +14 -0
  244. package/dist/types/components/utils/hello/getCurrentHelloLocalePage.d.ts +2 -1
  245. package/dist/types/components/utils/hello/getProductsOnPage.d.ts +2 -0
  246. package/dist/types/components/utils/hello/setZonosCountryUrlParam.d.ts +2 -0
  247. package/dist/types/components.d.ts +12 -0
  248. package/dist/types/environment.d.ts +9 -0
  249. package/dist/types/scripts/loadStripe.d.ts +1 -1
  250. package/dist/types/scripts/stripe.d.ts +2 -2
  251. package/dist/types/scripts/zonos.d.ts +2 -0
  252. package/dist/types/types/generated/graphql.customer.types.d.ts +75 -1
  253. package/dist/types/types/generated/graphql.customer.types.ts +113 -1
  254. package/dist/types/types/hello/HelloConfig.d.ts +4 -0
  255. package/dist/types/types/hello/Product.d.ts +5 -0
  256. package/dist/types/types/hello/RestrictedItem.d.ts +6 -0
  257. package/dist/zonos-elements/assets/ChevronDownIcon.svg +1 -1
  258. package/dist/zonos-elements/assets/ChevronUpIcon.svg +1 -1
  259. package/dist/zonos-elements/assets/InfoIcon.svg +1 -1
  260. package/dist/zonos-elements/assets/LeftArrow.svg +1 -1
  261. package/dist/zonos-elements/assets/MessageIcon.svg +1 -1
  262. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  263. package/dist/zonos-elements/assets/SuccessIcon.svg +1 -1
  264. package/dist/zonos-elements/assets/bagIcon.svg +1 -1
  265. package/dist/zonos-elements/assets/messageIcon.svg +1 -1
  266. package/dist/zonos-elements/assets/moneyIcon.svg +1 -1
  267. package/dist/zonos-elements/assets/removeIcon.svg +1 -1
  268. package/dist/zonos-elements/cart-c641ddaf.system.js +2 -0
  269. package/dist/zonos-elements/{cart-9780fa28.system.js.map → cart-c641ddaf.system.js.map} +1 -1
  270. package/dist/{esm/cart-2f83e048.js → zonos-elements/cart-d00e1acb.js} +8 -8
  271. package/dist/zonos-elements/{cart-2f83e048.js.map → cart-d00e1acb.js.map} +1 -1
  272. package/dist/zonos-elements/{getBorderRadius-4fbe49de.system.js → getBorderRadius-b59c3ada.system.js} +2 -2
  273. package/dist/{esm/getBorderRadius-82fbaf25.js → zonos-elements/getBorderRadius-e8ad5967.js} +2 -2
  274. package/dist/zonos-elements/{getBorderRadius-82fbaf25.js.map → getBorderRadius-e8ad5967.js.map} +1 -1
  275. package/dist/zonos-elements/{isDarkColor-dc2b7c8f.system.js → isDarkColor-231502d4.system.js} +2 -2
  276. package/dist/{esm/isDarkColor-b21326ae.js → zonos-elements/isDarkColor-3bb345f4.js} +2 -2
  277. package/dist/{esm/isDarkColor-b21326ae.js.map → zonos-elements/isDarkColor-3bb345f4.js.map} +1 -1
  278. package/dist/{esm/localization-4a424f49.js → zonos-elements/localization-1d92a557.js} +200 -13
  279. package/dist/zonos-elements/localization-1d92a557.js.map +1 -0
  280. package/dist/zonos-elements/localization-a6b6a5a5.system.js +2 -0
  281. package/dist/zonos-elements/localization-a6b6a5a5.system.js.map +1 -0
  282. package/dist/zonos-elements/submitGtag-764af8c4.system.js +2 -0
  283. package/dist/{esm/submitGtag-fbdb454b.js → zonos-elements/submitGtag-85914088.js} +3 -3
  284. package/dist/zonos-elements/{submitGtag-fbdb454b.js.map → submitGtag-85914088.js.map} +1 -1
  285. package/dist/zonos-elements/zonos-address_2.entry.js +5 -5
  286. package/dist/zonos-elements/zonos-address_2.system.entry.js +1 -1
  287. package/dist/zonos-elements/zonos-banner.entry.js +64 -0
  288. package/dist/zonos-elements/zonos-banner.entry.js.map +1 -0
  289. package/dist/zonos-elements/zonos-banner.system.entry.js +2 -0
  290. package/dist/zonos-elements/zonos-banner.system.entry.js.map +1 -0
  291. package/dist/zonos-elements/zonos-button_2.entry.js +3 -3
  292. package/dist/zonos-elements/zonos-button_2.system.entry.js +1 -1
  293. package/dist/zonos-elements/zonos-cart-items_10.entry.js +12 -12
  294. package/dist/zonos-elements/zonos-cart-items_10.system.entry.js +1 -1
  295. package/dist/zonos-elements/zonos-cart-items_10.system.entry.js.map +1 -1
  296. package/dist/zonos-elements/zonos-checkout.entry.js +9 -9
  297. package/dist/zonos-elements/zonos-checkout.system.entry.js +1 -1
  298. package/dist/zonos-elements/zonos-checkout.system.entry.js.map +1 -1
  299. package/dist/zonos-elements/zonos-controller.entry.js +6 -6
  300. package/dist/zonos-elements/zonos-controller.entry.js.map +1 -1
  301. package/dist/zonos-elements/zonos-controller.system.entry.js +1 -1
  302. package/dist/zonos-elements/zonos-controller.system.entry.js.map +1 -1
  303. package/dist/zonos-elements/zonos-country-flag_4.entry.js +6 -6
  304. package/dist/zonos-elements/zonos-country-flag_4.system.entry.js +1 -1
  305. package/dist/zonos-elements/zonos-country-flag_4.system.entry.js.map +1 -1
  306. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  307. package/dist/zonos-elements/zonos-elements.system.js +1 -1
  308. package/dist/zonos-elements/zonos-elements.system.js.map +1 -1
  309. package/dist/zonos-elements/zonos-hello-dialog.entry.js +12 -8
  310. package/dist/zonos-elements/zonos-hello-dialog.entry.js.map +1 -1
  311. package/dist/zonos-elements/zonos-hello-dialog.system.entry.js +1 -1
  312. package/dist/zonos-elements/zonos-hello-dialog.system.entry.js.map +1 -1
  313. package/dist/zonos-elements/zonos-hello.entry.js +237 -22
  314. package/dist/zonos-elements/zonos-hello.entry.js.map +1 -1
  315. package/dist/zonos-elements/zonos-hello.system.entry.js +1 -1
  316. package/dist/zonos-elements/zonos-hello.system.entry.js.map +1 -1
  317. package/dist/zonos-elements/zonos-payment.entry.js +56 -0
  318. package/dist/zonos-elements/zonos-payment.entry.js.map +1 -0
  319. package/dist/zonos-elements/zonos-payment.system.entry.js +2 -0
  320. package/dist/zonos-elements/zonos-payment.system.entry.js.map +1 -0
  321. package/dist/zonos-elements/zonos-shipping-rich-radio.entry.js +3 -3
  322. package/dist/zonos-elements/zonos-shipping-rich-radio.entry.js.map +1 -1
  323. package/dist/zonos-elements/zonos-shipping-rich-radio.system.entry.js +1 -1
  324. package/dist/zonos-elements/zonos-shipping-rich-radio.system.entry.js.map +1 -1
  325. package/dist/{esm/zonosStore-13a7b534.js → zonos-elements/zonosStore-1c9c7d76.js} +6 -22
  326. package/dist/zonos-elements/zonosStore-1c9c7d76.js.map +1 -0
  327. package/dist/zonos-elements/zonosStore-e5c545ea.system.js +2 -0
  328. package/dist/zonos-elements/zonosStore-e5c545ea.system.js.map +1 -0
  329. package/package.json +1 -1
  330. package/dist/cjs/localization-f6a1b679.js.map +0 -1
  331. package/dist/cjs/zonos-banner_2.cjs.entry.js +0 -120
  332. package/dist/cjs/zonos-banner_2.cjs.entry.js.map +0 -1
  333. package/dist/cjs/zonosStore-960e5542.js.map +0 -1
  334. package/dist/esm/localization-4a424f49.js.map +0 -1
  335. package/dist/esm/zonos-banner_2.entry.js +0 -115
  336. package/dist/esm/zonos-banner_2.entry.js.map +0 -1
  337. package/dist/esm/zonosStore-13a7b534.js.map +0 -1
  338. package/dist/esm-es5/cart-2f83e048.js +0 -2
  339. package/dist/esm-es5/localization-4a424f49.js +0 -2
  340. package/dist/esm-es5/localization-4a424f49.js.map +0 -1
  341. package/dist/esm-es5/zonos-banner_2.entry.js +0 -2
  342. package/dist/esm-es5/zonos-banner_2.entry.js.map +0 -1
  343. package/dist/esm-es5/zonosStore-13a7b534.js +0 -2
  344. package/dist/esm-es5/zonosStore-13a7b534.js.map +0 -1
  345. package/dist/zonos-elements/cart-9780fa28.system.js +0 -2
  346. package/dist/zonos-elements/localization-3c43290f.system.js +0 -2
  347. package/dist/zonos-elements/localization-3c43290f.system.js.map +0 -1
  348. package/dist/zonos-elements/localization-4a424f49.js.map +0 -1
  349. package/dist/zonos-elements/submitGtag-23ecdc20.system.js +0 -2
  350. package/dist/zonos-elements/zonos-banner_2.entry.js +0 -115
  351. package/dist/zonos-elements/zonos-banner_2.entry.js.map +0 -1
  352. package/dist/zonos-elements/zonos-banner_2.system.entry.js +0 -2
  353. package/dist/zonos-elements/zonos-banner_2.system.entry.js.map +0 -1
  354. package/dist/zonos-elements/zonosStore-13a7b534.js.map +0 -1
  355. package/dist/zonos-elements/zonosStore-77bcd7c0.system.js +0 -2
  356. package/dist/zonos-elements/zonosStore-77bcd7c0.system.js.map +0 -1
  357. /package/dist/esm-es5/{getBorderRadius-82fbaf25.js.map → getBorderRadius-e8ad5967.js.map} +0 -0
  358. /package/dist/esm-es5/{isDarkColor-b21326ae.js.map → isDarkColor-3bb345f4.js.map} +0 -0
  359. /package/dist/esm-es5/{submitGtag-fbdb454b.js.map → submitGtag-85914088.js.map} +0 -0
  360. /package/dist/zonos-elements/{getBorderRadius-4fbe49de.system.js.map → getBorderRadius-b59c3ada.system.js.map} +0 -0
  361. /package/dist/zonos-elements/{isDarkColor-dc2b7c8f.system.js.map → isDarkColor-231502d4.system.js.map} +0 -0
  362. /package/dist/zonos-elements/{submitGtag-23ecdc20.system.js.map → submitGtag-764af8c4.system.js.map} +0 -0
@@ -83,6 +83,12 @@ export declare const stringsHebrew: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsHebrew: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsIndonesian: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsIndonesian: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsItalian: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsItalian: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsJapanese: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsJapanese: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsKorean: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsKorean: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsNorwegian: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsNorwegian: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsPolish: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsPolish: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsPortuguese: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsPortuguese: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsRussian: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsRussian: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsSpanish: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsSpanish: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsSwedish: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsSwedish: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsTurkish: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsTurkish: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -83,6 +83,12 @@ export declare const stringsVietnamese: {
83
83
  'Prepay duties and taxes at checkout': {
84
84
  value: string;
85
85
  };
86
+ 'Restricted item': {
87
+ value: string;
88
+ };
89
+ 'Restricted items found': {
90
+ value: string;
91
+ };
86
92
  'See duty and tax thresholds': {
87
93
  value: string;
88
94
  };
@@ -131,6 +137,9 @@ export declare const stringsVietnamese: {
131
137
  'business days': {
132
138
  value: string;
133
139
  };
140
+ 'click to learn more': {
141
+ value: string;
142
+ };
134
143
  'duty free': {
135
144
  value: string;
136
145
  };
@@ -11,7 +11,7 @@ export type AppearanceConfig = {
11
11
  theme: ElementsUiTheme;
12
12
  zonosAttribution: ZonosAttribution | null;
13
13
  };
14
- type Page = 'home' | 'productList' | 'productDetail' | 'cart';
14
+ export type Page = 'home' | 'productList' | 'productDetail' | 'cart';
15
15
  export type ZonosConfig = {
16
16
  appearance: AppearanceConfig;
17
17
  checkoutSettings: CheckoutConfig;
@@ -0,0 +1,22 @@
1
+ import type { CountryCode } from "../../../types/generated/graphql.customer.types";
2
+ type Item = {
3
+ description: string;
4
+ name: string;
5
+ };
6
+ export declare const checkItemRestrictions: ({ items, shipFrom, shipTo, }: {
7
+ items: Item[];
8
+ shipFrom: CountryCode;
9
+ shipTo: CountryCode;
10
+ }) => Promise<{
11
+ action: import("src/types/generated/graphql.customer.types").ItemRestrictionAction | null;
12
+ id: string;
13
+ itemDescription: string | null;
14
+ itemRestrictions: ({
15
+ hsCode: string;
16
+ id: string;
17
+ note: string;
18
+ sources: (string | null)[] | null;
19
+ type: import("src/types/generated/graphql.customer.types").ItemRestrictionType;
20
+ } | null)[] | null;
21
+ }[]>;
22
+ export {};
@@ -0,0 +1,14 @@
1
+ import type { Product } from "../../../types/hello/Product";
2
+ export declare const detectItemRestrictions: (newProducts: Product[]) => Promise<{
3
+ name: string;
4
+ action: import("../../../types/generated/graphql.customer.types").ItemRestrictionAction | null;
5
+ id: string;
6
+ itemDescription: string | null;
7
+ itemRestrictions: ({
8
+ hsCode: string;
9
+ id: string;
10
+ note: string;
11
+ sources: (string | null)[] | null;
12
+ type: import("../../../types/generated/graphql.customer.types").ItemRestrictionType;
13
+ } | null)[] | null;
14
+ }[]>;
@@ -1 +1,2 @@
1
- export declare const getCurrentHelloLocalePage: () => "" | "home" | "productList" | "cart";
1
+ import { type Page } from "../../store/zonosStore";
2
+ export declare const getCurrentHelloLocalePage: () => Page | '';
@@ -0,0 +1,2 @@
1
+ import type { Product } from "../../../types/hello/Product";
2
+ export declare const getProductsOnPage: () => Product[];
@@ -0,0 +1,2 @@
1
+ import type { CountryCode } from "../../../types/index";
2
+ export declare const setZonosCountryUrlParam: (selectedCountryCode: CountryCode | null) => void;
@@ -14,6 +14,7 @@ import { ContactOption as ContactOption1 } from "./components/store/checkout/str
14
14
  import { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
15
15
  import { LoadZonosParamsConfig } from "./scripts/zonos";
16
16
  import { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
17
+ import { RestrictedItem } from "./types/hello/RestrictedItem";
17
18
  import { AppearanceConfig as AppearanceConfig2 } from "./components.d";
18
19
  import { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
19
20
  import { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
@@ -28,6 +29,7 @@ export { ContactOption as ContactOption1 } from "./components/store/checkout/str
28
29
  export { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
29
30
  export { LoadZonosParamsConfig } from "./scripts/zonos";
30
31
  export { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
32
+ export { RestrictedItem } from "./types/hello/RestrictedItem";
31
33
  export { AppearanceConfig as AppearanceConfig2 } from "./components.d";
32
34
  export { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
33
35
  export { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
@@ -495,6 +497,11 @@ export namespace Components {
495
497
  * @default false
496
498
  */
497
499
  "mobileLocationOverride"?: HelloMobileLocation;
500
+ /**
501
+ * Item restrictions array if any
502
+ * @default []
503
+ */
504
+ "restrictedItems": RestrictedItem[];
498
505
  /**
499
506
  * The function to set the open state
500
507
  * @default () => {}
@@ -1358,6 +1365,11 @@ declare namespace LocalJSX {
1358
1365
  * Close dialog button click
1359
1366
  */
1360
1367
  "onCloseDialog"?: (event: ZonosHelloDialogCustomEvent<void>) => void;
1368
+ /**
1369
+ * Item restrictions array if any
1370
+ * @default []
1371
+ */
1372
+ "restrictedItems"?: RestrictedItem[];
1361
1373
  /**
1362
1374
  * The function to set the open state
1363
1375
  * @default () => {}
@@ -2,22 +2,29 @@ import { z } from 'zod';
2
2
  export declare const isClientSide: boolean;
3
3
  export declare const inProdEnvironment: boolean;
4
4
  export declare const inTestEnvironment: boolean;
5
+ export declare const inStorybook: boolean;
5
6
  export declare const inVercel: boolean;
6
7
  declare const envClientSchema: z.ZodObject<{
7
8
  NEXT_PUBLIC_FLAG_URL: z.ZodString;
8
9
  NEXT_PUBLIC_ZONOS_API_KEY: z.ZodString;
9
10
  NEXT_PUBLIC_ZONOS_CDN_URL: z.ZodString;
11
+ NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: z.ZodString;
10
12
  NEXT_PUBLIC_ZONOS_ROUTE_URL: z.ZodString;
13
+ NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: z.ZodString;
11
14
  }, "strip", z.ZodTypeAny, {
12
15
  NEXT_PUBLIC_FLAG_URL: string;
13
16
  NEXT_PUBLIC_ZONOS_API_KEY: string;
14
17
  NEXT_PUBLIC_ZONOS_CDN_URL: string;
18
+ NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: string;
15
19
  NEXT_PUBLIC_ZONOS_ROUTE_URL: string;
20
+ NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: string;
16
21
  }, {
17
22
  NEXT_PUBLIC_FLAG_URL: string;
18
23
  NEXT_PUBLIC_ZONOS_API_KEY: string;
19
24
  NEXT_PUBLIC_ZONOS_CDN_URL: string;
25
+ NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: string;
20
26
  NEXT_PUBLIC_ZONOS_ROUTE_URL: string;
27
+ NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: string;
21
28
  }>;
22
29
  export interface Env extends z.infer<typeof envClientSchema> {
23
30
  }
@@ -25,7 +32,9 @@ export declare const env: {
25
32
  NEXT_PUBLIC_FLAG_URL: string;
26
33
  NEXT_PUBLIC_ZONOS_API_KEY: string;
27
34
  NEXT_PUBLIC_ZONOS_CDN_URL: string;
35
+ NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: string;
28
36
  NEXT_PUBLIC_ZONOS_ROUTE_URL: string;
37
+ NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: string;
29
38
  };
30
39
  type Keys = keyof typeof env;
31
40
  /**
@@ -1,2 +1,2 @@
1
1
  import { type LoadStripe } from "./stripe";
2
- export declare const loadStripe: LoadStripe;
2
+ export declare const zonosLoadStripe: LoadStripe;
@@ -4,9 +4,9 @@ export interface LoadParams {
4
4
  advancedFraudSignals: boolean;
5
5
  }
6
6
  export type LoadStripe = (...args: Parameters<StripeConstructor>) => Promise<Stripe | null>;
7
- export declare const findScript: () => HTMLScriptElement | null;
7
+ export declare const zonosStripeFindScript: () => HTMLScriptElement | null;
8
8
  export declare const injectScript: (params: null | LoadParams) => HTMLScriptElement | null;
9
- export declare const loadScript: (params: null | LoadParams) => Promise<StripeConstructor | null>;
9
+ export declare const zonosStripeLoadScript: (params: null | LoadParams) => Promise<StripeConstructor | null>;
10
10
  export declare const initStripe: (maybeStripe: StripeConstructor | null, args: [publishableKey: string, options?: import("@stripe/stripe-js").StripeConstructorOptions | undefined], startTime: number) => Stripe | null;
11
11
  export declare const validateLoadParams: (params: {
12
12
  advancedFraudSignals: boolean;
@@ -36,7 +36,9 @@ export declare abstract class Zonos {
36
36
  static displayCurrency: () => void;
37
37
  static showNotification: (notification: NotificationInit) => void;
38
38
  private static injectController;
39
+ private static injectScript;
39
40
  private static injectZonosCdn;
41
+ private static injectStylesheet;
40
42
  private static injectZonosCss;
41
43
  private static injectFonts;
42
44
  }
@@ -123,6 +123,11 @@ export declare const carrierAccountApiUsage: {
123
123
  readonly Rating: "RATING";
124
124
  };
125
125
  export type CarrierAccountApiUsage = (typeof carrierAccountApiUsage)[keyof typeof carrierAccountApiUsage];
126
+ export declare const carrierAccountRateType: {
127
+ readonly Negotiated: "NEGOTIATED";
128
+ readonly Retail: "RETAIL";
129
+ };
130
+ export type CarrierAccountRateType = (typeof carrierAccountRateType)[keyof typeof carrierAccountRateType];
126
131
  export declare const carrierCode: {
127
132
  readonly Apc: "APC";
128
133
  readonly Dhl: "DHL";
@@ -1010,6 +1015,11 @@ export declare const dimensionalUnitCode: {
1010
1015
  readonly Yard: "YARD";
1011
1016
  };
1012
1017
  export type DimensionalUnitCode = (typeof dimensionalUnitCode)[keyof typeof dimensionalUnitCode];
1018
+ export declare const displayCurrency: {
1019
+ readonly DestinationCountry: "DESTINATION_COUNTRY";
1020
+ readonly StoreNative: "STORE_NATIVE";
1021
+ };
1022
+ export type DisplayCurrency = (typeof displayCurrency)[keyof typeof displayCurrency];
1013
1023
  export declare const documentFilingType: {
1014
1024
  readonly Electronic: "ELECTRONIC";
1015
1025
  readonly HardCopy: "HARD_COPY";
@@ -1174,6 +1184,30 @@ export declare const imageSlot: {
1174
1184
  readonly Image_5: "IMAGE_5";
1175
1185
  };
1176
1186
  export type ImageSlot = (typeof imageSlot)[keyof typeof imageSlot];
1187
+ export declare const inclusivePriceHistoryCsvJobStatus: {
1188
+ readonly Error: "ERROR";
1189
+ readonly Processed: "PROCESSED";
1190
+ readonly ReadyForProcessing: "READY_FOR_PROCESSING";
1191
+ readonly ReadyForUpload: "READY_FOR_UPLOAD";
1192
+ readonly Uploading: "UPLOADING";
1193
+ };
1194
+ export type InclusivePriceHistoryCsvJobStatus = (typeof inclusivePriceHistoryCsvJobStatus)[keyof typeof inclusivePriceHistoryCsvJobStatus];
1195
+ export declare const inclusivePriceHistorySource: {
1196
+ readonly Platform: "PLATFORM";
1197
+ readonly UserInput: "USER_INPUT";
1198
+ readonly Zonos: "ZONOS";
1199
+ };
1200
+ export type InclusivePriceHistorySource = (typeof inclusivePriceHistorySource)[keyof typeof inclusivePriceHistorySource];
1201
+ export declare const inclusivePriceSettingAdjustmentStatus: {
1202
+ readonly Excluded: "EXCLUDED";
1203
+ readonly Included: "INCLUDED";
1204
+ };
1205
+ export type InclusivePriceSettingAdjustmentStatus = (typeof inclusivePriceSettingAdjustmentStatus)[keyof typeof inclusivePriceSettingAdjustmentStatus];
1206
+ export declare const inclusivePriceSettingStatus: {
1207
+ readonly Disabled: "DISABLED";
1208
+ readonly Enabled: "ENABLED";
1209
+ };
1210
+ export type InclusivePriceSettingStatus = (typeof inclusivePriceSettingStatus)[keyof typeof inclusivePriceSettingStatus];
1177
1211
  export declare const incotermCode: {
1178
1212
  readonly Cif: "CIF";
1179
1213
  readonly Custom: "CUSTOM";
@@ -2000,6 +2034,32 @@ export type ShipmentRatingFragment = {
2000
2034
  maxTransitAt: string | null;
2001
2035
  minTransitAt: string | null;
2002
2036
  };
2037
+ export type CheckItemRestrictionsMutation = {
2038
+ itemRestrictionApply: {
2039
+ id: string;
2040
+ items: Array<{
2041
+ action: ItemRestrictionAction | null;
2042
+ id: string;
2043
+ itemDescription: string | null;
2044
+ itemRestrictions: Array<{
2045
+ hsCode: string;
2046
+ id: string;
2047
+ note: string;
2048
+ sources: Array<string | null> | null;
2049
+ type: ItemRestrictionType;
2050
+ } | null> | null;
2051
+ } | null>;
2052
+ };
2053
+ };
2054
+ export type BulkClassifyMutation = {
2055
+ classificationsCalculate: Array<{
2056
+ description: string | null;
2057
+ hsCode: {
2058
+ code: string;
2059
+ } | null;
2060
+ name: string;
2061
+ }>;
2062
+ };
2003
2063
  export type CheckoutSessionUpdateMutation = {
2004
2064
  checkoutSessionUpdate: {
2005
2065
  clientSecret: string;
@@ -2269,8 +2329,12 @@ export type ZonosSettingsQuery = {
2269
2329
  organization: string;
2270
2330
  peekMessageBehavior: HelloPeekMessageBehavior;
2271
2331
  peekMessageDelay: number;
2272
- productDetailUrlPattern: string | null;
2332
+ productAddToCartElementSelector: string | null;
2273
2333
  productListUrlPattern: string | null;
2334
+ productDetailUrlPattern: string | null;
2335
+ productDescriptionElementSelector: string | null;
2336
+ productPriceElementSelector: string | null;
2337
+ productTitleElementSelector: string | null;
2274
2338
  restrictionBehavior: HelloRestrictionBehavior;
2275
2339
  updatedAt: string;
2276
2340
  updatedBy: string;
@@ -2346,8 +2410,12 @@ export type HelloSettingFragment = {
2346
2410
  organization: string;
2347
2411
  peekMessageBehavior: HelloPeekMessageBehavior;
2348
2412
  peekMessageDelay: number;
2413
+ productAddToCartElementSelector: string | null;
2414
+ productDescriptionElementSelector: string | null;
2349
2415
  productDetailUrlPattern: string | null;
2350
2416
  productListUrlPattern: string | null;
2417
+ productPriceElementSelector: string | null;
2418
+ productTitleElementSelector: string | null;
2351
2419
  restrictionBehavior: HelloRestrictionBehavior;
2352
2420
  updatedAt: string;
2353
2421
  updatedBy: string;
@@ -2375,9 +2443,15 @@ export type OnlineStoreSettingsQuery = {
2375
2443
  };
2376
2444
  export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
2377
2445
  export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
2446
+ BulkClassify(variables?: {
2447
+ [x: string]: never;
2448
+ } | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<BulkClassifyMutation>;
2378
2449
  CalculateLandedCost(variables?: {
2379
2450
  [x: string]: never;
2380
2451
  } | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<CalculateLandedCostMutation>;
2452
+ CheckItemRestrictions(variables?: {
2453
+ [x: string]: never;
2454
+ } | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckItemRestrictionsMutation>;
2381
2455
  CheckoutSessionCreate(variables?: {
2382
2456
  [x: string]: never;
2383
2457
  } | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSessionCreateMutation>;