@zonos/elements 1.3.183 → 1.3.185

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